Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,816 Members 39,275 Now Online
XDA Developers Android and Mobile Development Forum

Reboot in recovery.

Tip us?
 
paolotheking
Old
(Last edited by paolotheking; 23rd February 2014 at 08:15 PM.) Reason: missed some informations
#1  
paolotheking's Avatar
Member - OP
Thanks Meter 13
Posts: 72
Join Date: Oct 2013
Default Reboot in recovery.

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
I have cwm 6.0.4.5...
The Following User Says Thank You to paolotheking For This Useful Post: [ Click to Expand ]
 
glfsd
Old
(Last edited by glfsd; 23rd February 2014 at 09:30 PM.)
#2  
glfsd's Avatar
Senior Member
Thanks Meter 63
Posts: 113
Join Date: Jul 2011
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:
Select 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:
Select 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!
 
Ben36
Old
#3  
Ben36's Avatar
Senior Member
Thanks Meter 1572
Posts: 5,716
Join Date: Jun 2012
Are you both running cwm? Could that be the issue?

Sent from my Nexus 5 using Tapatalk
 
Fladder72
Old
#4  
Senior Member
Thanks Meter 91
Posts: 241
Join Date: Feb 2012
Install "Xposed Framework" and "Advanced Power Menu" to get your wanted options...
LGE 4X HD Tegra Variant 0, the weak one...
Primary ROM: NamelessROM 4.4.2 Nightlys | Kernel: Iodak v10 @ 1700
Secondary ROM:Vanir 4.4.2 Nuclear Mistake | Kernel: Iodak v10 @ 1700
Secondary ROM:JellyFishHD 1.3 (Stock based V20b Euro Open) | Kernel: Iodak v10 @ 1700
 
glfsd
Old
#5  
glfsd's Avatar
Senior Member
Thanks Meter 63
Posts: 113
Join Date: Jul 2011
Quote:
Originally Posted by Ben36 View Post
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?

Quote:
Originally Posted by Fladder72 View Post
Install "Xposed Framework" and "Advanced Power Menu" to get your wanted options...
I dont want "Xposed Framework", I want to fix my problem
The Following User Says Thank You to glfsd For This Useful Post: [ Click to Expand ]
 
paolotheking
Old
#6  
paolotheking's Avatar
Member - OP
Thanks Meter 13
Posts: 72
Join Date: Oct 2013
Quote:
Originally Posted by glfsd View Post
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?


I dont want "Xposed Framework", I want to fix my problem
Me too
 
IcanhasLG
Old
#7  
Account currently disabled
Thanks Meter 226
Posts: 105
Join Date: Feb 2014
Quote:
Originally Posted by paolotheking View Post
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
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
Old
#8  
Omario-242's Avatar
Senior Member
Thanks Meter 232
Posts: 805
Join Date: Feb 2011
Location: Munich
Quote:
Originally Posted by IcanhasLG View Post
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
----------------------------------------------------------------------------------------------------------------------------
||
|| LG Optimus 4X HD (P880)
|| Android Version 4.4.4 Kitkat
|| Recovery TeamWin Recovery Project 2.7.0.0
|| Kernel Iodak v10 Beta
|| Rom Version Vanir maintained by Laufersteppenwolf

||
----------------------------------------------------------------------------------------------------------------------------
 
paolotheking
Old
#9  
paolotheking's Avatar
Member - OP
Thanks Meter 13
Posts: 72
Join Date: Oct 2013
Quote:
Originally Posted by Omario-242 View Post
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
Old
#10  
glfsd's Avatar
Senior Member
Thanks Meter 63
Posts: 113
Join Date: Jul 2011
Quote:
Originally Posted by Omario-242 View Post
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

Quote:
Originally Posted by Omario-242 View Post
...Maybe try to grab a log from boot if you tried to reboot to recovery.
how to do it? I tried with adb
Code:
Select Code
adb logcat > log.txt
or
Code:
Select 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 ..... but i think the problem is due to cwm

sorry for my poor english
Attached Files
File Type: 7z log.7z - [Click for QR Code] (64.8 KB, 2 views)
File Type: 7z logcat.7z - [Click for QR Code] (80.1 KB, 2 views)
File Type: 7z last_log.7z - [Click for QR Code] (2.0 KB, 2 views)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes