Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,458 Members 47,367 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Trying to root. Cannot enter recovery (nor Philz nor TWRP): bootloop

Tip us?
 
OldBeurt
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Default [Q] Trying to root. Cannot enter recovery (nor Philz nor TWRP): bootloop

Hi evreyone !

I spent hours trying and reading posts everywhere I could without any success.

I'm trying to follow this rooting guide: http://forum.xda-developers.com/show....php?t=2634196 (Root and Dual Recovery for Locked Bootloader) and I'm stuck in a bootloop at step 10.

I'm using the last Z1C-lockeddualrecovery2.7.117-BETA.installer.zip and I noticed an error during recovery installation (after DEVICE WILL NOW REBOOT!):

Code:
##########################################################
#
# Installing XZDR version 2.7.117 BETA
#
#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.
Copy recovery files to system.
Copy mr wrapper script to system.
Copy chargemon script to system.
Copy dualrecovery.sh to system.
Copy rickiller.sh to system.
Installing NDRUtils to system.
Copy busybox to system.
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event4!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event3!
Speeding up backups.
Make sure firstboot goes to recovery.

=============================================
DEVICE WILL NOW REBOOT!
=============================================

Error type 2
android.util.AndroidException: Can't connect to activity manager; is the system running?
        at com.android.commands.am.Am.run(Am.java:101)
        at com.android.commands.am.Am.main(Am.java:82)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
        at dalvik.system.NativeStart.main(Native Method)
=============================================

REMEMBER THIS:

XZDualRecovery does NOT install any superuser app!!

You can use one of the recoveries to root your device.

=============================================
Waiting for your device to reconnect.
After entering CWM for the first time, reboot to system to complete this installer if you want it to clean up after itself.

=============================================
Installation finished. Enjoy the recoveries!
=============================================
(Note that I'm using Linux... I tried to run the bash script both as a user or as root)

If I continue the rooting process by flashing D5503_14.2.A.1.114_Generic UK.ftf (step 9), I'm stuck at step 10 as I can't boot any recovery. The phone is stuck in a bootloop, and after the green light pressing vol up (ou down) won't do anything...

I tried the whole process (from the begining: docomo) several time and end up everytime with the same result: an error at the end of the recovery installation and a bootloop at step 10 that prevent me from entering any recovery...

I'm out of ideas ! What can I do to manage the installation of the recovery ?
 
XperienceD
Old
#2  
XperienceD's Avatar
Senior Member
Thanks Meter 2,394
Posts: 7,287
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by OldBeurt View Post
What can I do to manage the installation of the recovery ?
Try a newer guide - http://forum.xda-developers.com/show....php?t=2688933
 
OldBeurt
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Thanks for your answer !

Quote:
Originally Posted by XperienceD View Post
Since I don't have access to any recovery, I don't understand how I can follow this guide (step 5: Go to recovery menu[...]).

What did you meant ?
 
XperienceD
Old
#4  
XperienceD's Avatar
Senior Member
Thanks Meter 2,394
Posts: 7,287
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by OldBeurt View Post
I don't understand how I can follow this guide (step 5: Go to recovery menu[...])
Read the requirements and it links to how to root, and if you can't or won't unlock your bootloader then you're going to have to jump through hoops.
 
OldBeurt
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Quote:
Originally Posted by XperienceD View Post
Read the requirements and it links to how to root, and if you can't or won't unlock your bootloader then you're going to have to jump through hoops.
Of course I red the requirements. The root method described is the same (http://forum.xda-developers.com/show....php?t=2642081) than the one I followed (http://forum.xda-developers.com/show....php?t=2634196). And so the result is going to be the same: being stuck in a bootloop after flashing the recovery form the computer (flashing witch returns an error that I quoted above).

I need help to "recover" the recovery, I mean to be able to properly flash the dual recovery on my phone (whether I wish to unlock the bootloader or not is not the point for now, since I need to root with the locked bootloader in the first place).
 
zxz0O0
Old
(Last edited by zxz0O0; 13th April 2014 at 11:54 AM.)
#6  
zxz0O0's Avatar
Senior Member
Thanks Meter 1,231
Posts: 859
Join Date: Apr 2011

 
DONATE TO ME
It's obvious that there is an error while installing dualrecovery. However I don't know what could cause that error. I advise you to try install it on a fresh ubuntu / Windows client.

Edit: You are executing the install.sh script right? Because at first you select option 3, which is missing in your output. It looks like you are simply executing installrecovery.sh which is of course wrong.
 
OldBeurt
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Thanks for your input !

Quote:
Originally Posted by zxz0O0 View Post
It's obvious that there is an error while installing dualrecovery. However I don't know what could cause that error. I advise you to try install it on a fresh ubuntu / Windows client.
I don't know where the error came from, but I tried several times (about 10) and it end up the same way ! I will try on another machine (Linux too).

Quote:
Originally Posted by zxz0O0 View Post
Edit: You are executing the install.sh script right? Because at first you select option 3, which is missing in your output. It looks like you are simply executing installrecovery.sh which is of course wrong.
Yes I'm using install.sh, I just pasted the relevat part of the output, but here I paste all of it:

Code:
Will attempt to get root to install!
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Step1 : Waiting for Device.
=============================================

Succes

=============================================
Step2 : Sending the recovery files.
=============================================

mkdir failed for /data/local/tmp/recovery, File exists
0 KB/s (29 bytes in 0.056s)
362 KB/s (17768 bytes in 0.047s)
325 KB/s (15578 bytes in 0.046s)
11 KB/s (501 bytes in 0.043s)
272 KB/s (11791 bytes in 0.042s)
3186 KB/s (44383 bytes in 0.013s)
70 KB/s (3082 bytes in 0.042s)
9 KB/s (385 bytes in 0.041s)
3645 KB/s (657704 bytes in 0.176s)
3521 KB/s (2597754 bytes in 0.720s)
3936 KB/s (1842873 bytes in 0.457s)
5217 KB/s (2447499 bytes in 0.458s)
193 KB/s (8124 bytes in 0.041s)

=============================================
Step3 : Setup of dual recovery.
=============================================

=============================================
Attempting to get root access for installation using rootkitXperia now.

NOTE: this only works on certain ROM/Kernel versions!

If it fails, please check the development thread on XDA for more details.
=============================================
ro.build.product=C6903
ro.build.id=14.1.G.1.534
search kallsyms...
1 2 3 4 
(kallsyms_addresses=c0899410)
(kallsyms_num_syms=00014df1)
kernel dump...
1 2 3 4 5 6 7 8 9 

prepare_kernel_cred=c00b89f4
commit_creds=c00b8518
ptmx_fops=c0ea365c

Succeeded in getroot!


##########################################################
#
# Installing XZDR version 2.7.117 BETA
#
#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.
Copy recovery files to system.
Copy mr wrapper script to system.
Copy chargemon script to system.
Copy dualrecovery.sh to system.
Copy rickiller.sh to system.
Installing NDRUtils to system.
Copy busybox to system.
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event4!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event3!
Speeding up backups.
Make sure firstboot goes to recovery.

=============================================
DEVICE WILL NOW REBOOT!
=============================================

Error type 2
android.util.AndroidException: Can't connect to activity manager; is the system running?
        at com.android.commands.am.Am.run(Am.java:101)
        at com.android.commands.am.Am.main(Am.java:82)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
        at dalvik.system.NativeStart.main(Native Method)
=============================================

REMEMBER THIS:

XZDualRecovery does NOT install any superuser app!!

You can use one of the recoveries to root your device.

=============================================
Waiting for your device to reconnect.
After entering CWM for the first time, reboot to system to complete this installer if you want it to clean up after itself.

=============================================
Installation finished. Enjoy the recoveries!
=============================================

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Play Music on Android Wear with Stellio Music Player

Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more

Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more

And the Winners in the XDA Pebble Development Challenge Are…

Almost two months ago, we set out with Pebble to findthree amazing … more