FORUMS

[Root] How to root z1s and get it to stick on reboot.

91 posts
Thanks Meter: 64
 
By Tactic13, Member on 15th June 2014, 03:23 PM
Post Reply Email Thread
Z1s Root+Reovery+Deodex Android 4.3 Updated 6/18/14


This was put together by @ayuready1989 and @Tactic13

This Not A Rom "Do NOT WIPE ANYTHING JUST FLASH AS IS"
This is a Patch to keep root on reboot as well as deodex your current rom.[

NO LONGER USED



Please use Root 4.4.4 on z1s
Once you have recovery you can flash this instead of using the script it does not require you to make the script.


First of all we would like to thank @jcase for getting the initial root, @[NUT] for the recovery @xsacha for the ta backup and @RyokoN for some of the tools, if we forgot someone just send us a message.


Okay now for the fun part.


Make sure that you have usb debugging enabled.
  1. Root with jcase method.
    Install SuperSU from market reboot.
    Run adb shell su -c "/system/xbin/kill_ric.sh"
    Then adb shell su -c "mount -o remount,rw /system"
  2. Install Recovery But use the one for the z1 Locked boatloader.
  3. Finaly Flash Deodex + Root Devhost Minor

Optional
Backup Ta image. Ta Backup

We will keep working on this as well as start working on a rom just wanted to get this out to you guys.

You assume all the stand disclaimers when you flash this that not is to say that we wont help you.
The Following 10 Users Say Thank You to Tactic13 For This Useful Post: [ View ] Gift Tactic13 Ad-Free
15th June 2014, 03:24 PM |#2  
OP Member
Flag El Paso
Thanks Meter: 64
 
More
Mine Just in case i need it.
15th June 2014, 03:32 PM |#3  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by Tactic13

Mine Just in case i need it.

+1
The Following User Says Thank You to ayuready1989 For This Useful Post: [ View ] Gift ayuready1989 Ad-Free
15th June 2014, 03:41 PM |#4  
bjermane1's Avatar
Member
Thanks Meter: 2
 
More
This is what i get when trying to install recovery. Supersu working fine. I just used it for TB. Should I try SuperUser instead?






==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= Maintained by [NUT] =
= =
= For Many Sony Xperia Devices =
= =
==============================================

[ 1. Installation on ROM rooted with SuperSU ]
[ 2. Installation on ROM rooted with SuperUser ]
[ 3. Installation on unrooted ROM ]
[ 4. Exit ]
Please choose install action. [1,2,3,4]?1
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found


=============================================
Step2 : Sending the recovery files.
=============================================
9 KB/s (29 bytes in 0.003s)
3847 KB/s (15759 bytes in 0.004s)
244 KB/s (501 bytes in 0.002s)
2880 KB/s (11798 bytes in 0.004s)
5030 KB/s (56662 bytes in 0.011s)
1504 KB/s (3082 bytes in 0.002s)
187 KB/s (385 bytes in 0.002s)
5489 KB/s (657704 bytes in 0.117s)
5318 KB/s (2875482 bytes in 0.528s)
5240 KB/s (2581087 bytes in 0.481s)
5347 KB/s (1845510 bytes in 0.337s)
384 KB/s (8658 bytes in 0.022s)

=============================================
Step3 : Setup of dual recovery.
=============================================
Look at your device and grant supersu access
Press any key to continue AFTER granting root access.
-rwxr-xr-x 1 shell shell 657704 Apr 30 05:38 /data/local/tmp/recovery/busybox
Press any key to continue . . .

################################################## ########
#
# Installing XZDR version 2.7.123 BETA
#
#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.
mount: permission denied (are you root?)
blockdev: applet not found
mount: permission denied (are you root?)
Copy recovery files to system.
cp: can't create '/system/bin/recovery.twrp.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.cwm.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.philz.cpio.lzma': Read-only file system
chmod: /system/bin/recovery.twrp.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.cwm.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.philz.cpio.lzma: No such file or directory
Rename stock mr
mv: can't rename '/system/bin/mr': Read-only file system
Copy mr wrapper script to system.
cp: can't create '/system/bin/mr': File exists
chmod: /system/bin/mr: Read-only file system
Rename stock chargemon
mv: can't rename '/system/bin/chargemon': Read-only file system
Copy chargemon script to system.
cp: can't create '/system/bin/chargemon': File exists
chmod: /system/bin/chargemon: Read-only file system
Copy dualrecovery.sh to system.
cp: can't create '/system/bin/dualrecovery.sh': Read-only file system
chmod: /system/bin/dualrecovery.sh: No such file or directory
Copy rickiller.sh to system.
cp: can't create '/system/bin/rickiller.sh': Read-only file system
chmod: /system/bin/rickiller.sh: No such file or directory
Installing NDRUtils to system.
cp: can't create '/system/app/NDRUtils.apk': Read-only file system
chmod: /system/app/NDRUtils.apk: No such file or directory
Copy disableric to system.
cp: can't create '/system/xbin/disableric': Read-only file system
chmod: /system/xbin/disableric: No such file or directory
Creating /system/.XZDualRecovery to store a backup copy of busybox.
mkdir failed for /system/.XZDualRecovery, Read-only file system
Copy busybox to system.
cp: can't create '/system/xbin/busybox': File exists
cp: can't create '/system/.XZDualRecovery/': Is a directory
chmod: /system/xbin/busybox: Read-only file 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 TRY A DATA SAFE REBOOT!
=============================================


=============================================
Your installation has already cleaned up after itself if you see the install.bat/install.sh exit.
=============================================


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

Press any key to continue . . .
15th June 2014, 03:48 PM |#5  
OP Member
Flag El Paso
Thanks Meter: 64
 
More
Re run the root as well as the second set of commands and on your phone it should ask you to grant root access to adb. But i installed SuperSu and used option 1.
15th June 2014, 04:42 PM |#6  
Senior Member
Thanks Meter: 16
 
More
same here, supersu and option 1,but make sure /sbin/xbin/kill_ric.sh is ran before u install recovery a couple times(2-3) just to make sure.

this is the specific one i used, for winblows V4
http://forum.xda-developers.com/show....php?t=2426739
15th June 2014, 10:30 PM |#7  
themacman1000's Avatar
Senior Member
Flag Portland
Thanks Meter: 124
 
More
So last night jcase remotely tested the exploit and rooted my Z1s. I installed the recovery this morning as instructed here and then flashed the deodex and root zip. Now my phone cannot achieve root via the adb commands or by itself. Furthermore the su binary that supersu had installed is gone and supersu cannot install it again. Any ideas what happened?

EDIT: Hmm, i installed the updated root method from the OP and that appears to have fixed it. Now to see if root sticks.
15th June 2014, 10:55 PM |#8  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by themacman1000

So last night jcase remotely tested the exploit and rooted my Z1s. I installed the recovery this morning as instructed here and then flashed the deodex and root zip. Now my phone cannot achieve root via the adb commands or by itself. Furthermore the su binary that supersu had installed is gone and supersu cannot install it again. Any ideas what happened?

EDIT: Hmm, i installed the updated root method from the OP and that appears to have fixed it. Now to see if root sticks.

cool. if asked to fix root after cwm flash it seems safe to always chose to fix it
15th June 2014, 10:57 PM |#9  
themacman1000's Avatar
Senior Member
Flag Portland
Thanks Meter: 124
 
More
Quote:
Originally Posted by ayuready1989

strange, the zip doesnt touch /system/xbin/su .. try the su fix that cwm asks for when trying to reboot after flashing a zip . ive selected yes and no, still the same result. still had root.. but flash via cwm and apply the fix root fix it asks, dont disable flash recovery though

Oh. When I first installed the deodex via philztouch it asked if i wanted to disable flashing of stock recovery. I said yes... That must have been my problem. However, everything works now, even rebooting holds root and system r/w. Also, can you link me to how you installed xposed? Edit: Nevermind, found out how myself
15th June 2014, 11:04 PM |#10  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by themacman1000

Oh. When I first installed the deodex via philztouch it asked if i wanted to disable flashing of stock recovery. I said yes... That must have been my problem. However, everything works now, even rebooting holds root and system r/w. Also, can you link me to how you installed xposed?

alrighty, nice to know it works, thanks for actually giving feedback @themacman1000 now time for the modules and tweaks :P
The Following User Says Thank You to ayuready1989 For This Useful Post: [ View ] Gift ayuready1989 Ad-Free
15th June 2014, 11:36 PM |#11  
Senior Member
Thanks Meter: 49
 
More
Quote:
Originally Posted by themacman1000

Oh. When I first installed the deodex via philztouch it asked if i wanted to disable flashing of stock recovery. I said yes... That must have been my problem. However, everything works now, even rebooting holds root and system r/w. Also, can you link me to how you installed xposed? Edit: Nevermind, found out how myself


I installed this apk.

http://dl-count.xposed.info/modules/...v32_de4f0d.apk



Sent from my iPad using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes