Reboot in recovery.

Search This thread

paolotheking

Senior Member
Oct 23, 2013
233
52
34
Bari
Hi. I have a stock based rom, deodexed. I cant' reboot in recovery with the shoutdown menù. I tried also with apps like rom manager, recovery boot does not works, every time goes in normal reboot. Anyone can give me some suggestions?

Although the power button + vol- button work as normal, but i want to set the "recovery reboot" in the menù, also reboot in fastboot and bootloader boot :D
I have cwm 6.0.4.5...
 
Last edited:
  • Like
Reactions: glfsd

glfsd

Senior Member
Jul 31, 2011
586
1,271
www.androidfanzone.forumfree.it
It happens to me too!

I have deodexed Stock ROM 4.1.2 and I wanted to add advanced power menu with 4 -Way Reboot: Reboot, Hot Boot, Bootloader and Recovery.
I have followed many guides and in particular this (here my post)

Now all reboots work, except Recovery Reboot:
when I select "Recovery" the phone restart normally!!

After several tests, I tried to use some scripts to reboot into Recovery!
First Script:

Code:
#!/system/bin/sh

echo "boot-recovery" | /system/bin/dd of=/dev/block/mmcblk0p5 bs=1 count=13

When I run this script, the phone reboot into Recovery only the first time and any option I selected, the phone always restarts in Recovery! Why?

Second Script:

Code:
#!/system/bin/sh

rm /cache/recovery/command ; echo 'boot-recovery' | dd of=/dev/block/mmcblk0p5 bs=1 count=13 ; reboot ;

When I run this script, the phone reboot into Recovery immediately!

Now I would like know how I can fix this Problem!
And those scripts serve to reboot the phone into recovery via Advanced Power Menu?
I tried everything and I do not know where I'm wrong!
 
Last edited:

Ben36

Senior Member
Jun 8, 2012
8,254
2,868
Are you both running cwm? Could that be the issue?

Sent from my Nexus 5 using Tapatalk
 

glfsd

Senior Member
Jul 31, 2011
586
1,271
www.androidfanzone.forumfree.it
  • Like
Reactions: paolotheking

IcanhasLG

Senior Member
Feb 27, 2014
132
300
Hi. I have a stock based rom, deodexed. I cant' reboot in recovery with the shoutdown menù. I tried also with apps like rom manager, recovery boot does not works, every time goes in normal reboot. Anyone can give me some suggestions?

Although the power button + vol- button work as normal, but i want to set the "recovery reboot" in the menù, also reboot in fastboot and bootloader boot :D
I have cwm 6.0.4.5...

You have to edit the frameworks to add the option, you'll need the android kitchen for that.

The fastboot reboot won't work, the fastboot boot option will work somewhat if you add "-c "androidboot.mode=normal"" as in fastboot boot [kernel.img] -c "androidboot.mode=normal"

It will have some problems but it'll work.
 

Omario-242

Senior Member
Feb 18, 2011
1,132
389
Munich
Google Pixel 6 Pro
You have to edit the frameworks to add the option, you'll need the android kitchen for that.

The fastboot reboot won't work, the fastboot boot option will work somewhat if you add "-c "androidboot.mode=normal"" as in fastboot boot [kernel.img] -c "androidboot.mode=normal"

It will have some problems but it'll work.

I think he means that he isn't able to reboot to recovery with the option from the shutdown menu, not that there isn't one.
As he wrote he can't boot to recovery with ROM Manager either.

I had such problems back in the beginning of 4.3 development but and on stock too.

Maybe try to grab a log from boot if you tried to reboot to recovery.

Sent from my LG-P880 using XDA Premium 4 mobile app
 

paolotheking

Senior Member
Oct 23, 2013
233
52
34
Bari
I think he means that he isn't able to reboot to recovery with the option from the shutdown menu, not that there isn't one.
As he wrote he can't boot to recovery with ROM Manager either.

I had such problems back in the beginning of 4.3 development but and on stock too.

Maybe try to grab a log from boot if you tried to reboot to recovery.

Sent from my LG-P880 using XDA Premium 4 mobile app

Rom Manager Free does not reboot in recovery, like other app, but Rom Manager Premium works...
 

glfsd

Senior Member
Jul 31, 2011
586
1,271
www.androidfanzone.forumfree.it
I think he means that he isn't able to reboot to recovery with the option from the shutdown menu, not that there isn't one.
exactly ;)

...Maybe try to grab a log from boot if you tried to reboot to recovery.
how to do it? I tried with adb
Code:
adb logcat > log.txt
or
Code:
adb logcat -v long > logcat.txt
but there are too much informations and I can not find the problem

I attach also "last_log" found in /cache/recovery/

..I do not know :confused:..... but i think the problem is due to cwm

sorry for my poor english :eek:
 

Attachments

  • log.7z
    64.8 KB · Views: 4
  • logcat.7z
    80.1 KB · Views: 3
  • last_log.7z
    2 KB · Views: 3

paolotheking

Senior Member
Oct 23, 2013
233
52
34
Bari
exactly ;)


how to do it? I tried with adb
Code:
adb logcat > log.txt
or
Code:
adb logcat -v long > logcat.txt
but there are too much informations and I can not find the problem

I attach also "last_log" found in /cache/recovery/

..I do not know :confused:..... but i think the problem is due to cwm

sorry for my poor english :eek:

maybe is a cwm problem, anyone can help us?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi. I have a stock based rom, deodexed. I cant' reboot in recovery with the shoutdown menù. I tried also with apps like rom manager, recovery boot does not works, every time goes in normal reboot. Anyone can give me some suggestions?

    Although the power button + vol- button work as normal, but i want to set the "recovery reboot" in the menù, also reboot in fastboot and bootloader boot :D
    I have cwm 6.0.4.5...
    1
    Are you both running cwm? Could that be the issue?

    Sent from my Nexus 5 using Tapatalk
    I have tried many Recovery: TWRP 2.3.6.0, CWM 6.0.3.1 and 6.0.4.5, PhilZ Touch.
    What do you suggest?

    Install "Xposed Framework" and "Advanced Power Menu" to get your wanted options... ;)
    I dont want "Xposed Framework", I want to fix my problem :)