Preparing to use a custom recovery and write_raw_image/flash_image - EVO 4G Android Development

In preparing for the official EVO release, where all us regular ppl will finally get the phone, have a few questions which there might be answers for or there might not yet be.
I know toast posted he is running a custom recovery.
What custom recoveries will work on the EVO? Will all the currently available recoveries need to be updated/modified to run on the EVO?
In creating an update.zip to flash partitions (load a new boot.img) through the custom recovery, is there a flash_image binary (samsung moment style) or are there commands, with partition information hard coded into the recovery, like write_raw_image ? If both exist, is there a preferred method?

I'm curious how we even get to a stock recovery on this phone...any idea?
-------------------------------------
Sent via the XDA Tapatalk App

spurnout said:
I'm curious how we even get to a stock recovery on this phone...any idea?
Click to expand...
Click to collapse
Turn off (completely). Hold volume down while powering on, and keep holding it until the bootloader screen appears. Use volume keys to navigate up/down in the list, and press power button to select "Recovery". It'll take you to a black screen with a red icon in the middle, and shows no menu -- but if you press all three buttons (vol down+vol up+power), it'll show a recovery menu that we're all used to, with blue letters.
This will only work to apply a signed HTC update.

maejrep said:
Turn off (completely). Hold volume down while powering on, and keep holding it until the bootloader screen appears. Use volume keys to navigate up/down in the list, and press power button to select "Recovery". It'll take you to a black screen with a red icon in the middle, and shows no menu -- but if you press all three buttons (vol down+vol up+power), it'll show a recovery menu that we're all used to, with blue letters.
This will only work to apply a signed HTC update.
Click to expand...
Click to collapse
Awesome, thank you very much.

Related

[Q] No Recovery after Root

I just used the Universal Root v4 Live CD for my TF, but I do not have any recovery abilities. If i hold up and power when I turn it on, it just turns the screen black. Nothing else happens. I do have root. I have checked it with many different programs. Any Advice? Thanks in advance
BLarke said:
I just used the Universal Root v4 Live CD for my TF, but I do not have any recovery abilities. If i hold up and power when I turn it on, it just turns the screen black. Nothing else happens. I do have root. I have checked it with many different programs. Any Advice? Thanks in advance
Click to expand...
Click to collapse
In the 1st post of the thread there'a a FAQ:
[Q] How can I reboot in APX/recovery mode?
[A] Do as follows:
VOL UP + POWER BUTTON for ~5sec = boot in APX mode. The screen will stay black as if it is turned off. This mode is used only when you use nvflash to flash boot/recovery/data partition (this is the first step in my script).
VOL DOWN + POWER BUTTON ~5sec = will appear a screen where it says to press vol down again to wipe all data (obviously you don't want to do it now), or press up to enter RCK (recovery mode). If you installed CWM you will see the main menu navigable with vol up / vol down / power button.
If you have the stock recovery you will see a green android with a esclamation mark on a yellow triangle.
[Q] Help! I can't reboot in recovery mode!
[A] I think the main problem here is that it is a bit tricky to get into CWM recovery, once you see the small text come up don't try to read anything, just hit volume up.
Hold volume down plus power until the text in upper left shows,if you let go too early it just boots up and you never see the text. If you wait too long you don't get the option to boot into recovery. Hope that helps..
Thx to ckuke4 for this answer http://forum.xda-developers.com/showpost.php?p=16306342&postcount=60
Click to expand...
Click to collapse
Thank you so much for my incredibly noobish question. That worked exactly. I feel silly

[Q] I can't use Clockwork Recovery - No volume buttons!

Hello all! I was able to get CWR 4 installed on my Augen Gentouch tablet. I booted into it, but then realized I can't move up and down since I have no volume buttons on the device.
None of the buttons do anything, except the power button, which selects the first option (Which is "Shut down" or "Reboot" or the likes)
Any ideas? Is there a magic way to remap keys for this?
I can't even get the stock recovery program back on because CWR 4 has me stuck
Thanks for any help
Same issue!
Got a 8 tablet with samsung S5PV210 ARM A8 Cortex
Three buttons on the front, no volume buttons, so pressing the down volume button and power to get into recovery is not poss? Rom Manager just boots to stock rom even if i press " install rom from SD"
Anyone?
We cant be the only ones who got one of these lol
Cheers
Danny
I am using a version of Clockwork Recovery on my Photon that takes over if you have the charge plugged in when you turn it on.
Sent from my MB855 using xda premium
would love to know the answer to this myself.
Solved!
But now i need a good rom?
2. Update your Tablet, using the recovery console
1.- shut down the Tablet
2.- Press the "HOME" Button, and then press the "Power" button TOGETHER about 2-3 seconds.
3.- The android system will start, and stop at a page with a small android robot, press the "power" Button about 2 seconds, and then press the "HOME" together.
4.- The screen will show the below 4 choices:
1) Reboot system panel now
2) apply update from /sdcard
3) wipe data/factory reset
4) wipe cache partition
Select option 2 by holding down the "Power" button, once complete reboot!
Clockwork Recovery
Kujila said:
Hello all! I was able to get CWR 4 installed on my Augen Gentouch tablet. I booted into it, but then realized I can't move up and down since I have no volume buttons on the device.
None of the buttons do anything, except the power button, which selects the first option (Which is "Shut down" or "Reboot" or the likes)
Any ideas? Is there a magic way to remap keys for this?
I can't even get the stock recovery program back on because CWR 4 has me stuck
Thanks for any help
Click to expand...
Click to collapse
this is very useful
I heard that someone added touch panel support for CWM......
stan_w said:
I heard that someone added touch panel support for CWM......
Click to expand...
Click to collapse
Yeah, that's coming. It has buttons on the screen for navigating the menus. I'm not sure if it's gonna be device-specific though, or if it will be generic enough to include regardless of your device.

[Q] HELP!! Samsung Nexus S Crashed, Cant do anything

Hi
I have a Samsung Nexus S for past 5 months. I recently upgraded to the ICS. Last week, I was listening songs on my phone and all of a sudden out of nowhere the phone re-started.
After couple of minutes, saw a message on screen saying “encryption unsuccessful, you have lost all your data. This phone will now need to rebooted”.
Underneath this message, there was only 1 option of REBOOT NOW. I had to press the button since I had no other option.
After this the phone restarted but never went past the start up animation screen. After couple of days, I gave it another shot and after going past the welcome screen, it gave me the option to register the phone again. But as soon as that screen comes up, I get all these small messages saying, email has stopped, music has stopped, android process has stopped, calendar has stopped................ at this point the phone virtually hangs itself and I can’t do anything.
Can someone please advise what is wrong with my phone and how can I fix it?
Any help would be very much appreciated.
Try this, power the phone off, now press and hold the volume up & power botton at the same time, a menu should appear, now use the volume up/down buttons till "RECOVERY" is highlighted green, now press the power button, the phone will now reboot and in to recovery and show an android on the screen, at this point you need to press and hold the power button then press volume up briefly, a menu should appear, use the volume up/down buttons to highlight "wipe data/factory reset" and press the power button, now use the volume up/down buttons to highlight "Yes -- delete all user data" once this is done select "reboot system now", this process will wipe the phone and put it back to factory settings, it won't delete usb storage though so you may need erase usb storage once you're up and running again.
d.chatten said:
Try this, power the phone off, now press and hold the volume up & power botton at the same time, a menu should appear, now use the volume up/down buttons till "RECOVERY" is highlighted green, now press the power button, the phone will now reboot and in to recovery and show an android on the screen, at this point you need to press and hold the power button then press volume up briefly, a menu should appear, use the volume up/down buttons to highlight "wipe data/factory reset" and press the power button, now use the volume up/down buttons to highlight "Yes -- delete all user data" once this is done select "reboot system now", this process will wipe the phone and put it back to factory settings, it won't delete usb storage though so you may need erase usb storage once you're up and running again.
Click to expand...
Click to collapse
I would wipe cache while you're in there too.
Sent from my Nexus S using xda premium
i tried doing that. i cant get into recovery mode, when I press volume \up and power i get into that screen where it displays all the options such as recovery, bootloader etc etc. I select recovery (I dont see a android exclamation sign instead for a split second I see android and a triangle) and press volume down/up + power button, nothing happens. after some time it reboots and hangs itself at the animation screen..........any suggestions? your help is much appreciated.
puriaditya1234 said:
i tried doing that. i cant get into recovery mode, when I press volume \up and power i get into that screen where it displays all the options such as recovery, bootloader etc etc. I select recovery (I dont see a android exclamation sign instead for a split second I see android and a triangle) and press volume down/up + power button, nothing happens. after some time it reboots and hangs itself at the animation screen..........any suggestions? your help is much appreciated.
Click to expand...
Click to collapse
I think that you have to push clockworkmod recovery image like when you root your device.
Sent from my Nexus S using Tapatalk
is there any 'how to' guide to do that?
puriaditya1234 said:
is there any 'how to' guide to do that?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1007782
Check this thread.
Sent from my Nexus S using Tapatalk
yeah, try using clockwork recovery.
that's much more usfeul than the stock one
i tried doing clockwork recovery, I cant unlock the bootloader, i did all the steps ie installed android drivers, went to command prompt, typed the command, I can see the option of unlocking bootloader on android but when I select yes, it still says locked. I guess I will have to give up on this phone.
puriaditya1234 said:
i tried doing clockwork recovery, I cant unlock the bootloader, i did all the steps ie installed android drivers, went to command prompt, typed the command, I can see the option of unlocking bootloader on android but when I select yes, it still says locked. I guess I will have to give up on this phone.
Click to expand...
Click to collapse
Try using one click root v6 by shabbypenguin. That will work for you. Its what I used and its so easy. Just look for it here on xda
Sent from my Nexus S using xda premium

[Q] Abnormal Circumstance Rooting

I successfully rooted my phone and got to the android system recovery screen where I need to press my home button to reboot my system, well my home button does not work...
now I am stuck with a phone that I can not reboot. is there any advise to fix this or reboot without the use of my home button?
use adb:
Code:
adb reboot
dswilson777 said:
I successfully rooted my phone and got to the android system recovery screen where I need to press my home button to reboot my system, well my home button does not work...
now I am stuck with a phone that I can not reboot. is there any advise to fix this or reboot without the use of my home button?
Click to expand...
Click to collapse
power button doesn't work either? I thought that functioned as the 'enter' button... Imnuts' post will work for sure, but I have to ask why are you in the stock android recovery? unless you meant CWM?
Thanks imnuts, what is the easiest way to adb reboot?
My screen is showing similar to the attached photo but the trackball statement it instead says: [Enter: Home Key, Select : Vol UP / Vol Down
Its asking me to use the home key for my enter but my home key is not functioning. But if you know of an alternative I am happy to hear what your thoughts are.
dswilson777 said:
My screen is showing similar to the attached photo but the trackball statement it instead says: [Enter: Home Key, Select : Vol UP / Vol Down
Its asking me to use the home key for my enter but my home key is not functioning. But if you know of an alternative I am happy to hear what your thoughts are.
Click to expand...
Click to collapse
ADB (Android Debug Bridge, I think) is tethering your phone to your pc and pushing/pulling files or forcing commands to your phone using the command terminal... it doesn't work right away as you need the latest android sdk files, java/jdk files, and altered C:/ path directory (assuming you're running windows, I think thats how it works if anyone can help me out here )
does the power button work as a 'select' button though? also can't you just battery pull and restart the phone or does it restart right into that recovery? just an FYI that is the stock android recovery which you can't (or rather shouldn't) be doing anything in, CWM is recommended... I vaguely recall there being another button that would work like the search button but I'm not sure
Thanks for the advise anoninja118, I appreciate the help.
So last night I tried ADB but was not successful at it, maybe ill look into that more. Unfortunately my phone does not allow the power button to work as the 'select' button. Yeah and pulling the battery leads me back to the same recovery screen. What is CWM?
dswilson777 said:
Thanks for the advise anoninja118, I appreciate the help.
So last night I tried ADB but was not successful at it, maybe ill look into that more. Unfortunately my phone does not allow the power button to work as the 'select' button. Yeah and pulling the battery leads me back to the same recovery screen. What is CWM?
Click to expand...
Click to collapse
CWM is Clockwork Mod, its the custom version of that recovery that will allow you to flash files and change options: http://forum.xda-developers.com/showthread.php?t=1112804
you can flash superuser (what gives you root access) easily in there and just reboot and presto you're rooted... I haven't seen any tutorials on how to use CWM since its fairly easy, to boot into it just hold power+volume up+home until 'Samsung' appears then let go of power and hold the other two until it comes up, then use volume keys and power button to navigate and select
Odin is required to install CWM first though and this thread gives a little info on that: http://forum.xda-developers.com/showthread.php?t=1160580
blazing through on my Acer A500 via XDA app

Download mode

Hello.
What kind of combination of keys enter the "download mode" mode?
Vol down plus power does not work on the off U12 +, and under the system it even diminishes in dignity despite pressing "power".
Vol UP and power also does not work.
Boot to Bootloader and than select Download Mode with volume buttons (working for me).
From system you can try:
adb reboot download
Click to expand...
Click to collapse
(not checked)
Since u12+ has no physical button,and the edge sense doesn't support combine key,the method to enter the bootloader is special.
STEP.1 Press POWER button for 10s to hard reboot,you should feel a long vibration.
STEP.2 When you feel the vibration,press the VOL DOWN button immediately.Keep pressing it until you enter the bootloader.
STEP.3 Use VOL UP&DOWN to switch,POWER to enter
neoncloud4399 said:
STEP.1 Press POWER button for 10s to hard reboot,you should feel a long vibration.
STEP.2 When you feel the vibration,press the VOL DOWN button immediately.Keep pressing it until you enter the bootloader.
Click to expand...
Click to collapse
Thank you
regards
q
qriozum said:
Hello.
What kind of combination of keys enter the "download mode" mode?
Vol down plus power does not work on the off U12 +, and under the system it even diminishes in dignity despite pressing "power".
Vol UP and power also does not work.
Click to expand...
Click to collapse
Hi, you can use this from pc for a lot of devices!
https://forum.xda-developers.com/on...ol-tool-one-driversunlocktwrpfactory-t3706840
neoncloud4399 said:
Since u12+ has no physical button,and the edge sense doesn't support combine key,the method to enter the bootloader is special.
STEP.1 Press POWER button for 10s to hard reboot,you should feel a long vibration.
STEP.2 When you feel the vibration,press the VOL DOWN button immediately.Keep pressing it until you enter the bootloader.
STEP.3 Use VOL UP&DOWN to switch,POWER to enter
Click to expand...
Click to collapse
Thank you, for me step 3 is VOL UP. I tested it again and it is confirmed.
An other method for me is POWER OFF and then restart with POWER BUTTON pressed until vibration and then press VOL UP.
neoncloud4399 said:
Since u12+ has no physical button,and the edge sense doesn't support combine key,the method to enter the bootloader is special.
STEP.1 Press POWER button for 10s to hard reboot,you should feel a long vibration.
STEP.2 When you feel the vibration,press the VOL DOWN button immediately.Keep pressing it until you enter the bootloader.
STEP.3 Use VOL UP&DOWN to switch,POWER to enter
Click to expand...
Click to collapse
Any tips on getting into recovery without pc?
mdxdave said:
Boot to Bootloader and than select Download Mode with volume buttons (working for me).
From system you can try:
(not checked)
Click to expand...
Click to collapse
Adb works fine also, I did this way to HTC unlock the device.
---------- Post added at 09:05 AM ---------- Previous post was at 09:02 AM ----------
XperiaNexus333 said:
Any tips on getting into recovery without pc?
Click to expand...
Click to collapse
Good question. I am missing a twrp developing thread as there are already guys testing, but they only posted in the ordering threads:crying:
It works a little bit different on all treble A/B enabled devices. Those got two boot images, boot_a and boot_b, and don't have a recovery partition any more, as it got incorporated into the boot partitions, and is thus sharing it's space with the kernel. All previous device as well as treble A-only ones still had a separate recovery partition. But that very fact changed with such devices as the U12+ which got full treble support with seamless updates.
Sent from my HTC U12+ using XDA Labs
5m4r7ph0n36uru said:
It works a little bit different on all treble A/B enabled devices. Those got two boot images, boot_a and boot_b, and don't have a recovery partition any more, as it got incorporated into the boot partitions, and is thus sharing it's space with the kernel. All previous device as well as treble A-only ones still had a separate recovery partition. But that very fact changed with such devices as the U12+ which got full treble support with seamless updates.
Sent from my HTC U12+ using XDA Labs
Click to expand...
Click to collapse
Thank you for your helpful answer. I did not know this A/B thing and so am waiting what more clever people than me can find out to make cusrom rom / kernel flashing possible!??????
guidogsbn said:
Thank you for your helpful answer. I did not know this A/B thing and so am waiting what more clever people than me can find out to make cusrom rom / kernel flashing possible!??????
Click to expand...
Click to collapse
It will all fall in place during the upcoming weeks
Sent from my HTC U12+ using XDA Labs
Has anyone succeed to run the stock recovery?
After booting in recovery mode I see a red triangle and cannot get any further. Power+VolUp and any other key combinations seems doesn't work.
ITom said:
Has anyone succeed to run the stock recovery?
After booting in recovery mode I see a red triangle and cannot get any further. Power+VolUp and any other key combinations seems doesn't work.
Click to expand...
Click to collapse
The haptic keys don't work in combination, only one-at-a-time, so there must be some other way.
ITom said:
Has anyone succeed to run the stock recovery?
After booting in recovery mode I see a red triangle and cannot get any further. Power+VolUp and any other key combinations seems doesn't work.
Click to expand...
Click to collapse
Lol, I take it this is your first Android phone? That's the normal stock Recovery. As it was said before, combination of buttons do not work. In Bootloader and Download Mode the volume buttons are switching selections and power selects the highlighted option.
schmeggy929 said:
Lol, I take it this is your first Android phone? That's the normal stock Recovery. As it was said before, combination of buttons do not work. In Bootloader and Download Mode the volume buttons are switching selections and power selects the highlighted option.
Click to expand...
Click to collapse
On the older HTC's you could hold volume up and down then press power to enter the stock recovery options. I remember doing this with the M8 I think, it's been quite a while. Lets see if I remember how to embedd images, lol
Nope, lol
Granite1 said:
On the older HTC's you could hold volume up and down then press power to enter the stock recovery options. I remember doing this with the M8 I think, it's been quite a while. Lets see if I remember how to embedd images, lol
Nope, lol
Click to expand...
Click to collapse
Yes I understand that part for combo buttons to enter recovery, bootloader and download. Now it is power down and restart holding down volume down button. However there is nothing to do while in stock recovery.
:
schmeggy929 said:
Yes I understand that part for combo buttons to enter recovery, bootloader and download. Now it is power down and restart holding down volume down button. However there is nothing to do while in stock recovery.
Click to expand...
Click to collapse
I didn't explain fully, my bad. When you accessed the stock recovery with the red triangle with the exclamation mark, that's when you held power down, up and press power to access the screen shot I attached before. Those were the stock recovery options.
It's irrelevant at this point since I don't think they include those options anymore for the newer stock recoveries. I could be wrong though.
I haven't tried to boot into the stock recovery in years so I haven't checked if it was included in the latest phones. I'm supposed to get my 12 today, I'll try to play around and see if it's included in this one, but I'm not holding my breath.
Edit: I love your themes BTW.
Granite1 said:
On the older HTC's you could hold volume up and down then press power to enter the stock recovery options. I remember doing this with the M8 I think, it's been quite a while. Lets see if I remember how to embedd images, lol
Nope, lol
Click to expand...
Click to collapse
This works on all HTC devices prior to 12+. The question is only about the subj phone.
Easiest way - From powered off state, hold Vol down button and connect the usb cable to either power outlet or a PC, will boot to download/recovery/ etc .
digitalmonkey said:
Easiest way - From powered off state, hold Vol down button and connect the usb cable to either power outlet or a PC, will boot to download/recovery/ etc .
Click to expand...
Click to collapse
There is no problem to boot into FastBoot mode and then choose any other option: Download/Recovery/System.
The issue is that I can't pass Recovery Red Triangle. HTC support also recommends to hold Power while pressing VolUP, but this does not work on U12+ with the haptic buttons.

Categories

Resources