Need your help to get a custom recover img - Droid Eris Android Development

I'll be at work all day and won't have much time to do this. But here is what we need.
Amon_RA said:
Hi,
In order to create a recovery I would need a bit of information.
MTD-info :
Could you please provide the output of the following adb command on your Eris :
Code:
cat /proc/mtd
Key scancodes :
Please install this application on the Eris and provide the scancodes of :
Code:
DPAD_UP
DPAD_DOWN
DPAD_LEFT
DPAD_RIGHT
DPAD_CENTER
VOLUME_UP
VOLUME_DOWN
BACK
HOME
GREEN
RED
POWER
Thanks,
RA
Click to expand...
Click to collapse

Code:
# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 00500000 00020000 "recovery"
mtd2: 00280000 00020000 "boot"
mtd3: 0aa00000 00020000 "system"
mtd4: 08200000 00020000 "cache"
mtd5: 09f80000 00020000 "userdata"
and...
Code:
19 - 0 - false - DPAD_UP
20 - 0 - false - DPAD_DOWN
21 - 0 - false - DPAD_LEFT
22 - 0 - false - DPAD_RIGHT
23 - 0 - false - DPAD_CENTER
24 - 115 - false - VOLUME_UP
25 - 114 - false - VOLUME_DOWN
4 - 158 - false - BACK
5 - 231 - false - CALL (green)
I can't seem to get scancodes for Home or the End call button though. Maybe someone else can figure out how to grab em?
This is from a rooted 2.1 btw.

Are you interested in having someone (me) do this w/ the leaked 2.1 also?

Could someone please try this test-recovery ?
Ext-3 and 4 will probably not work... I just want to see if the navigation + screen works ok.
Thanks

http://flashrecovery.net/mtd1.tar.bz2
^ The kernel from the root rom, if anyone cares.
Amon_RA,
I might be able to test it later, I am swamped today, or we can find someone else to.
jcase

Amon can I get an md5hash of that file, before I have someone flash it?

354d30c38c59b442340c8b72aa9f547e recovery.img
that be the md5sum

Amon_RA said:
Could someone please try this test-recovery ?
Ext-3 and 4 will probably not work... I just want to see if the navigation + screen works ok.
Thanks
Click to expand...
Click to collapse
Navigation/screen working.

GrdLock said:
Navigation/screen working.
Click to expand...
Click to collapse
any other features work? like nandroid backup or wipe? maybe even ext3?

Thanks for testing.
Could someone try a normal nandroid backup and restore?
A screenshot would be nice too...
All the other features should work, just not ext3 + 4 stuff as it's not in the stock kernel.
I'll remove the ext3 + 4 options from the menu until we have the Eris kernel source.

Nandroid backup works.
ext3 doesn't work.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

GrdLock said:
Click to expand...
Click to collapse
Damn... no care bear

New version
I removed all ext related stuff until we have the kernel source.
Would be nice if someone could test this so I can release it ;-)

toastcfh said:
Damn... no care bear
Click to expand...
Click to collapse
I was thinking that as well.
Amon_Ra, include the care bear and that'll make my day!
Droid Eris source can be found on the HTC developers website. http://developer.htc.com

apreichner said:
I was thinking that as well.
Amon_Ra, include the care bear and that'll make my day!
Droid Eris source can be found on the HTC developers website. http://developer.htc.com
Click to expand...
Click to collapse
Arrggg!! I should have checked http://developer.htc.com before... lol
Ok, I'll try to compile a kernel with ext3 + 4 support and add the functions back to the recovery.

Does it matter that source is for 1.5 and not 2.1?

Amon, they dont have the source for the root img. We have a different kernel.
Your new recovery works, well atleast it boots into it.
jcase

binny1007 said:
Does it matter that source is for 1.5 and not 2.1?
Click to expand...
Click to collapse
The source on the htc site is for kernel version 2.6.27. That means that ext4 is experimental...
What do you guys prefer?
A recovery with full experimental ext4 features or one without?

I doubt I'd use the ext4 myself, but I'm sure some people would love it.

Related

[APP]Auto sign multiple APKs and ZIPs v1.2.2 (08/08/2011)

Hello, XDA-members
I have created a GUI application (based on signapk.jar) which sign multiple APKs and ZIPs very quickly, in one clic!
INSTALLATION INSTRUCTIONS:
1. Extract Archive 'Sign+.zip'
2. Launch 'Sign+.exe'
3. Choose files (APKs and ZIPs together it's possible and clic on "Sign files"
SCREENSHOOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CHANGELOG :
08/08/2011 v1.2.2 :
- Fixed deleting of dirs that should be not removed
08/07/2011 v1.2.1 :
- Fixed bugs with files's names
03/05/2011 v1.2 :
- Add the "Change keys function",
- Works with ANDROIDD files,
- Some bugs are now fixed
18/03/2011 v1.1 :
- Add the drag and drop function
17/03/2011 v1.0 :
- Initial Release
Download v1.2.2 : here or here
Download v1.2.1 : here or here
Download v1.2 : here or here
Download v1.1 : here (in this moment the link is down, but I don't know why! )
To follow the application update, follow me on Twitter : here
Sorry, I have few time, in this moment, to make any update of this software, but if you get bugs, please report me them and I fix them when I'll have time.
You can make new key with openssl command (just change NAME and PASSWORD):
Code:
openssl genrsa -3 -out NAME.pem 2048
openssl req -new -x509 -key NAME.pem -out NAME.x509.pem -days 10000 \
-subj "/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/[email protected]"
openssl pkcs8 -in NAME.pem -topk8 -outform DER -out NAME.pk8 -passout PASSWORD
Thanx for this.
This will be a very, very handy tool. Definitely trying this out when I get home.
Just 2 questions-
Is drag and drop possible?
Also how about signing with different keys like signaptic?
The drag and drop is not possible for the moment I try to add in the next version!
For signing with other I don't know the application use signapk.jar with privatekey.pk8 and publickey.x509.pem so if you want to use another keys just replace the two key file and rename it with the same name (privatekey.pk8 and publickey.x509.pem)
Thx for this
Sent from HTC Knight using MikShift..because CM7 got overrated like CWM
Can you also make this for a mac (Osx 10.x) ?
Thanj you.
I don't know if I make this for OS X and Linux too! Maybe in few week!
is this supported to sign ROM?
i use this to sign CM7.0.0 ROM after i remove some media files (notification/ringtone) and install to HTC Desire, all is good, but whenever i try to flash UOT theme zip, my phone stuck at static boot screen.
is there anything about signing will cause this problem? or the problem is about something else?
anyone have a mirror for the files? fileserve shows as file not there. thx!
Thanks for this and fixing the links.
Very nice tool, this will come in handy!
Other DL links maybe ? This one is not working for me
Flawless. Thanks. I will be following you on Twitter for updates.
Error
when i try to apply sing for my apk file unsigned...the program said " 0 operation(s) success on1 ".
What's happens???? any solution please???
Not signing zip file
stefanoccio said:
when i try to apply sing for my apk file unsigned...the program said " 0 operation(s) success on1 ".
What's happens???? any solution please???
Click to expand...
Click to collapse
Apk was signed (not yet tested), but same error when trying to sign a zip file
Awesome! Been signing my update.zips without problem
Sent from my HTC Hero using XDA App
stefanoccio said:
when i try to apply sing for my apk file unsigned...the program said " 0 operation(s) success on1 ".
What's happens???? any solution please???
Click to expand...
Click to collapse
same problem here
stefanoccio said:
when i try to apply sing for my apk file unsigned...the program said " 0 operation(s) success on1 ".
What's happens???? any solution please???
Click to expand...
Click to collapse
I'm getting the same error. Any solutions?
I noticed the developer hasn't been active lately. Is this project still active?
I'm not active for the moment but I have noticed the bug and I release a new version in few weeks!
Release updated in 1.2.1, fixed the bugs with file's name
malware found when i tried to extract it and run it....
3. Choose files (APKs and ZIPs together it's possible and clic on "Sign files"
What that mean?
Apk is from original file?
And Zip is from apk that was adited?
I new here and need more detail.
Thank

[Request] Boot animation Port

Hey!
Could someone port this particular bootanimation for the Optiomus one?
Its Steel's 3rd boot animation (the blue droid eye)
Original post -- here
At least, if someone could tell me how to port it, I'll give it a try.
I already opened the zip and resized the images to 480x320 but it refused to show up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
blueren said:
At least, if someone could tell me how to port it, I'll give it a try.
I already opened the zip and resized the images to 480x320 but it refused to show up.
Click to expand...
Click to collapse
Post the content of the desc.txt file.
400 800 16
p 1 0 part0
p 0 0 part1
I forgot to mention, i also edited this file to 320*480 with 30 (as the older boot animation had 30) it failed.
When i load the file unaltered, it works. however its damn slow and super large.
I also tried to place the resized gifs in another bootimage.zip file (an already working one) but that also failed.
looks very nice ! if you can port to optimus, please share it,
blueren said:
400 800 16
Click to expand...
Click to collapse
Well, that is obviously wrong. Also, about slow - the last figure is FPS. If the images are large (I mean kBs, not the resolution) and FPS high then it obviously will be slow.
For testing, you can just push it to /data/local/bootanimation.zip and run this:
Code:
adb shell bootanimation
(Abort by CTRL+C).
Finally worked. But only the images in part 0 plays. How do I Get the part 1 to play as well?
blueren said:
Finally worked. But only the images in part 0 plays. How do I Get the part 1 to play as well?
Click to expand...
Click to collapse
You need to attach what you produced.
doktornotor said:
You need to attach what you produced.
Click to expand...
Click to collapse
I know that! I'm still experimenting with it. I'm also trying out other nice boot animations too. Once I'm done with it, i'll be more than happy to post it here
blueren said:
I know that! I'm still experimenting with it. I'm also trying out other nice boot animations too. Once I'm done with it, i'll be more than happy to post it here
Click to expand...
Click to collapse
That will be wonderful of course - but meanwhile you need to attach the (non-working) one for debugging if you need help.
doktornotor said:
That will be wonderful of course - but meanwhile you need to attach the (non-working) one for debugging if you need help.
Click to expand...
Click to collapse
thanks, i will if i need to. I figured it out..
now how exactly do I make a gif preview image so that i can add it here?
Edit-- nevermind. I Think i know how.
Niice boot animation

How to find /boot mount point?

Ok, so I know for the Nexus S the mount point for /boot is:
/dev/block/mtdblock2
But that's only from looking at BM's rom wiper tool. I tried running "mount" under terminal emulator, but it doesn't list the /boot mount point.
I'm hoping to find the mount point on a kindle fire is why I ask. The cyanogen fastboot wiki mentions that it's mtdblock2, but I don't know if this is the case for all android devices.
Any help is appreciated, thanks!
EDIT - spoke to one dev and he said that /boot and /system should never be wiped. Now I'm confused, maybe it's differences due to it being a different device?
Have you tried to ask the question in kindle fire forum?
Sent from my Nexus S 4G using xda premium
shabgard said:
Have you tried to ask the question in kindle fire forum?
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
This question isn't really device specific. The reason I haven't asked it there just yet is because there are more devs floating around in the NS forums.
That and the community there is different. Every other thread is a "bricked" thread, where it seems that a lot of users have no idea what fastboot or adb is. =p
"df" doesn't list it for me, so i doubt it is. However, if you do a fresh boot and type in "dmesg" it'll tell you where it's located right up the top (at least on the Nexus S).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Damn it looks different on the KF:
I'm not sure if that's what I need. I don't know if boot partition 2 = /dev/block/mtdblock2.
Ahh, I'm a super newb at this too.
Thanks for the help though.
Never done (or needed to do) any work with locations like this, especially with android. Sorry i can't help further, but maybe someone else around here can shed some more light for you.
Harbb said:
"df" doesn't list it for me, so i doubt it is. However, if you do a fresh boot and type in "dmesg" it'll tell you where it's located right up the top (at least on the Nexus S).
Click to expand...
Click to collapse
/factory doesn't show with df either, although it shows on GN I think...
Sent from my ice cream powered Nexus S
mount won't show the boot partition, because it's not mounted to the file system afaik.
Try
Code:
cat /proc/mtd
On the NS, it is mtd2, aka /dev/mtd/mtd2.
Boot is where the kernel and ramdisk are stored. If you erase boot, your phone will not boot (go figure).
Then I'm confused, what does the format/ boot function in CWM actually wipe?
erikikaz said:
Then I'm confused, what does the format/ boot function in CWM actually wipe?
Click to expand...
Click to collapse
The kernel
Sent from my ice cream powered Nexus S
DarkhShadow said:
The kernel
Sent from my ice cream powered Nexus S
Click to expand...
Click to collapse
OH! Shoot, so is there any way to manually wipe that?
the kernel is in the boot.img

[Q] Turn off proximity sensor on CM Roms

Hello!
I've got a Defy with a faulty proximity sensor - the "trick" with loosening the screw does not help, I've also dissasembled the Defy several times, to see, if there are any damages - nothing.
So, the problem is that the Defy is hard to use in this state (I would like to have a CM9 oder CM7 Rom) - so is there any possibility to turn off the proximity sensor on CM9 or CM7 Roms, like you can do it on Miui oder Stock?
Questions go in the Q&A section
Step666 said:
Questions go in the Q&A section
Click to expand...
Click to collapse
OK!
Can somebody move it, please?
Finally I found a solution for this problem...
I did it like described in this post: http://forum.xda-developers.com/showpost.php?p=8641376&postcount=11
-Copy "sensors.jordan.so" to your pc, it can be found in "/system/lib/hw" either on the device or in an update.zip.
- Open it with a hex-editor
- Search for "/dev/isl29030.als.ISL29030P"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- rename it to "/dev/isl29031.als.ISL29030P" (or whatever you like ;-) )
- push the file back to your phone
Now the screen should stay awake while making a call.
It also works with: https://play.google.com/store/apps/details?id=tuba.tools&feature=search_result so you don't need a pc and you don't need to push the files around.
coolfranz said:
Finally I found a solution for this problem...
I did it like described in this post: http://forum.xda-developers.com/showpost.php?p=8641376&postcount=11
-Copy "sensors.jordan.so" to your pc, it can be found in "/system/lib/hw" either on the device or in an update.zip.
- Open it with a hex-editor
- Search for "/dev/isl29030.als.ISL29030P"
- rename it to "/dev/isl29031.als.ISL29030P" (or whatever you like )
- push the file back to your phone
Now the screen should stay awake while making a call.
It also works with: https://play.google.com/store/apps/details?id=tuba.tools&feature=search_result so you don't need a pc and you don't need to push the files around.
Click to expand...
Click to collapse
Thank you very, very much for this solution!
I tried everything you can imagine to solve this and nothing but your solution solved!
Thank you! :good:
Great solution idea - but I actually cannot replace the file while the system is running. Have not tried via adb, yet.
ROM: CM10 Quarx2k/Defy+++ Jelly Bean Cannon 6.2.1 (Android 4.1.2)
Defy proximity prob
did it like u said, sometimes it works,some times not.
then changed the "ISL29030P"(only) in whole file. it lasted some more time.
but at end same prob is there
After doing the changes, did you update your rom?
coolfranz said:
After doing the changes, did you update your rom?
Click to expand...
Click to collapse
i just edited the file with hex on my pc,then replace it with one on the phone.
then immediately dialed a no.
i didn't do a extra step from above all.
pls tell me about this"update your rom"
i just edited the file with hex on my pc,then replace it with one on the phone.
then immediately dialed a no.
Click to expand...
Click to collapse
You need to reboot your phone first.
pls tell me about this"update your rom"
Click to expand...
Click to collapse
If you are using any CM Rom that gets updates (mostly Nightlys) then the "fix" must be applied after every update.
you are a No.1, good !!!
Thank you very, very much for this solution!, I fixed my defy.
Thanks again
zjwrm said:
Thank you very, very much for this solution!, I fixed my defy.
Thanks again
Click to expand...
Click to collapse
cheers and beers!
same problem here but solved it:
i actually didn't find that editing helpful.
i solved the problem by flashing the file attached while being on latest cm7.2. 0 nightly.
now my phone never goes off while dialing. a bit annoying when touching the " hold" button but that can be disabled
hope this helps!

[Q] help translating the following images?

can someone tell me say the following images
only a program which are
functions that allows you to defy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
here is the program's original post:http://bbs.mfunz.com/thread-182204-1-1.html
here is the link of the program:http://www.mediafire.com/?m6v1slzydq69hez
beforehand
thanks
regards
Interesting! What on earth is that? We have to find out! Would be a bit more helpful if you could share a link to the site you found the pictures, though... We need some chinese magician to translate this to english... We have a few in the defy forum. We just need to track them down and send them a PM.
Only the green text CLI part is translated:
Motorola_Android Universal Patch Pack V2.4.25i
SCRIPT. BY LONYII
Blog:LONYII.SINAAPP.COM
---
Caution - After applying a patch, you must return to the menu and press "[A] - Apply patch" for it to be effective. Make sure to backup.
---
[1] - Backup recovery. Supports custom recoveries, automatically generates Recovery pack
[2] - One step patch. DEODEX and JAVA not required, only ROOT is required.
[3] - Shutdown menu, Screenshot/Reboot/Sleep with any combinations and/or coexistance (original method)
[4] - System theming, resource changing, extensions, resource packs are updated frequently, feel free to provide some.
[5] - Volume key to wake, universal for all DEODEX systems
[6] - Vibration related, auto brightness patch, notification bar customization ----NEW!
[7] - [Some guy's name?]'s advanced configurations, with alot of advanced configurations integrated, can customize "long-press home" action
[8] - Modify Motorola 2.3 right-hand corner shortcut
[9] - Clear temporary files, configuration frame
[T] - Basic environment test, it is suggested to run this test at first use
[A] - Apply patch
[R] - Reset configurations
[P] - External script
- Check for updates, feedback & comments
---
[H] - Help/Description
[L] About universial code editor - LOPRT.EXE
[O] - Exit from script
- Change to local zip editing - Current: Cellphone
---
Select:
Click to expand...
Click to collapse
Questions go in the Q&A section
fiskenigaten said:
Interesting! What on earth is that? We have to find out! Would be a bit more helpful if you could share a link to the site you found the pictures, though... We need some chinese magician to translate this to english... We have a few in the defy forum. We just need to track them down and send them a PM.
Click to expand...
Click to collapse
links attached
regards

Categories

Resources