Boot android emulator into recovery? - Android Software Development

Is it possible to boot the Android emulator into recovery?

Related

Can u flash a diff rom with android Recovery

Hey i was following the idiot proof guide to rooting but the step to install clockwork recovery.zip is missing the dl. U need the .zip to flash the recovery to with android recovery so u can avoid adb (which for some reason i cannot get to work on this pc But it did work perfect on my other pc but its power supply just went out so at the moment i can not adb) and avoid SU ways.. the rom dosent have su in it after rooting. So i cannot use terminal app or adb.
my question is when i boot holding down vol and get to that white screen then goto recovery it takes me the the "!" screen i then hold up vol and power and i get to android recovery... If i factory reset and wipe cache cam i change a rom.zip to update.zip and flash it that way to get a rom with su so i can install clockwork recovery?
So basically i am asking can i use android recovery(not clockwork or recovery RA) to flash a new rom with su?
lgevo said:
Hey i was following the idiot proof guide to rooting but the step to install clockwork recovery.zip is missing the dl. U need the .zip to flash the recovery to with android recovery so u can avoid adb (which for some reason i cannot get to work on this pc But it did work perfect on my other pc but its power supply just went out so at the moment i can not adb) and avoid SU ways.. the rom dosent have su in it after rooting. So i cannot use terminal app or adb.
my question is when i boot holding down vol and get to that white screen then goto recovery it takes me the the "!" screen i then hold up vol and power and i get to android recovery... If i factory reset and wipe cache cam i change a rom.zip to update.zip and flash it that way to get a rom with su so i can install clockwork recovery?
So basically i am asking can i use android recovery(not clockwork or recovery RA) to flash a new rom with su?
Click to expand...
Click to collapse
No you can't.
Clockwork recovery doesn't work properly when wiping. Use toasts method in the sticky. The recovery is also there.

cant install recovery

i cant boot to recovery mod its stuck on bootload (the green screen)
and i want to wipe and update to 6.0.0 stable
the phone work ok but with allot FC.
so i try to recovery with terminal app
Code:
su
flash_image recovery /sdcard/recovery-clockwork-2.5.0.1-sapphire.img after enter show read error at 0x00000000(out of memory)
i close all app with advanced task killer
i have cm 6.0.0 ds3,my touch3g(t mobile)

Able to boot to Recovery from Bootloader?

I am not able to.
I can boot into recovery from the system menu, and I can boot into it from within apps...but not from within the bootloader.
In order to get to the recovery if I'm stuck i need to reflash (and boot) the recovery from fastboot
fastboot flash recovery ****.img
fastboot boot ****.img
I don't know about recovery by boot loader, but I believe the command to get into recovery is adb reboot recovery. You might have to use it from fast boot too
Sent from my Nexus 7 using xda app-developers app
plug in via usb while in the bootloader, then press recovery. you should be able to get in then. its a bug that some are experiencing.
If you are not near a computer... there's an app for that.
https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot
allows you to boot directly to Recovery, bootloader etc... without an attached computer.
You can also use a terminal and do it from within the device, but this is just a simple button that works.
bongostl said:
I am not able to.
I can boot into recovery from the system menu, and I can boot into it from within apps...but not from within the bootloader.
In order to get to the recovery if I'm stuck i need to reflash (and boot) the recovery from fastboot
fastboot flash recovery ****.img
fastboot boot ****.img
Click to expand...
Click to collapse
I had the same issue with my recovery. Everytime I tried to get into recovery via fastboot it was just showing the nexus logo and then freezing on that. I flashed CWM and now that was the only way I could get into it.
there are too many apps that do it. plus you can type reboot recovery in the terminal emulator.
simms22 said:
there are too many apps that do it. plus you can type reboot recovery in the terminal emulator.
Click to expand...
Click to collapse
Yes--thank you everyone...I am already aware of the many ways to get into recovery.
The issue is getting into recovery in a situation where you can't fully boot into android (boot loop, etc...)
In such cases, it is really nice to be able to select recovery from the bootloader.
However, right now I need to be near a computer so I can flash the recovery all over again

Installing CWM Recovery on Unlocked RAZR M via terminal emulator

I ran the boot loader unlock exploit successfully. Had troubles flashing recovery. I don't own a computer. Hence my dilemma. Is it possible to flash custom recovery with terminal emulator? I have searched other forums and sites for hours now. I've tried the flash_image command. And just about any other options that I've found. What am I doing wrong? Its it even possible on the RAZR M? Do I have to use fastboot? Any help would be appreciated.
Here are some flashable recoveries. I have not tried them out, but I heard they work.
http://batakang.com/ftp/?dir=devs/mhous33/XT907/recovery-flashable_recoveries
You need to use the dd command and the full /by-name path to the recovery partition in terminal from root shell.
If you download the latest TWRP recovery image for scorpion-mini and rename it to twrp.img for simplicity then place it on the root of the sdcard then you would use the following commands to write the file with dd in the terminal emulator.
su
dd if=/storage/sdcard1/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery bs=4096
I strongly recommend backing up the current stock recovery first because without access to a PC you may need it to restore yours in the event of a problem.
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/storage/sdcard1/recovery_original.img bs=4096
That will save your stock recovery and you can restore it using the first command and that file as if.

Can't boot into TWRP

After unlocking the boot loader I installed twrp recovery 3.0.2 and it installed successfully and rooted the phone too. I got bored as till now there was no nougat update for my phone so I flashed resurrection remix 5.7.4 and it flashed successfully but when I tried to boot in recovery mode it booted into normal mode. I installed back miui rom but then also I couldn't boot to recovery. So, I installed twrp recovery once again and it booted to recovery but once again when i tried to boot into recovery mode it booted into normal mode. So everytime when i had to boot to recovery i had to flash the recovery using my laptop. Please help me.
Suraaj Vashisht said:
After unlocking the boot loader I installed twrp recovery 3.0.2 and it installed successfully and rooted the phone too. I got bored as till now there was no nougat update for my phone so I flashed resurrection remix 5.7.4 and it flashed successfully but when I tried to boot in recovery mode it booted into normal mode. I installed back miui rom but then also I couldn't boot to recovery. So, I installed twrp recovery once again and it booted to recovery but once again when i tried to boot into recovery mode it booted into normal mode. So everytime when i had to boot to recovery i had to flash the recovery using my laptop. Please help me.
Click to expand...
Click to collapse
You can't directly boot to recovery. To do that just power off your device and press vol+, vol- and power button to get to recovery.
arceuss said:
You can't directly boot to recovery. To do that just power off your device and press vol+, vol- and power button to get to recovery.
Click to expand...
Click to collapse
I can do boot into recovery directly by updater app or by the reboot into recovery option in Resurrection Remix. Yeah also by your method too and I have tried by every method.
Did you format data after installing recovery from fast boot?
First download the attached file and place at sdcard (internal memory) at the root.
Then if you don't have Terminal emulator app installed on your device, go and grab it first. On installation, open up the app and type at prompt exactly as below.
su
dd if=/sdcard/1.img of=dev/block/bootdevice/by-name/aboot
reboot
Be careful to type aboot not boot in the above commands, otherwise you will enter into boot loop.
After this, you will be able to boot into custom recovery either by emulator or any other app capable of booting the device into recovery mode.
Edit: Another pre-condition - you must have rooted your device before proceeding with above method.
shankar_vl said:
First download the attached file and place at sdcard (internal memory) at the root.
Then if you don't have Terminal emulator app installed on your device, go and grab it first. On installation, open up the app and type at prompt exactly as below.
su
dd if=/sdcard/1.img of=dev/block/bootdevice/by-name/aboot
reboot
Be careful to type aboot not boot in the above commands, otherwise you will enter into boot loop.
After this, you will be able to boot into custom recovery either by emulator or any other app capable of booting the device into recovery mode.
Edit: Another pre-condition - you must have rooted your device before proceeding with above method.
Click to expand...
Click to collapse
Thanks bro it worked
shankar_vl said:
First download the attached file and place at sdcard (internal memory) at the root.
Then if you don't have Terminal emulator app installed on your device, go and grab it first. On installation, open up the app and type at prompt exactly as below.
su
dd if=/sdcard/1.img of=dev/block/bootdevice/by-name/aboot
reboot
Be careful to type aboot not boot in the above commands, otherwise you will enter into boot loop.
After this, you will be able to boot into custom recovery either by emulator or any other app capable of booting the device into recovery mode.
Edit: Another pre-condition - you must have rooted your device before proceeding with above method.
Click to expand...
Click to collapse
nice guide bro ...

Categories

Resources