[ROOT] Universal root method for all variants.

Status
Not open for further replies.
Search This thread

Exleh

Senior Member
Feb 8, 2011
367
53
Elko, Nevada
I'll give it a try with the Verizon version, but I doubt it'll work considering the luck of the AT&T guy up there...

Sent from my SM-G900V using XDA Premium.
 
  • Like
Reactions: Demiurge7

ecopy

Senior Member
May 12, 2012
77
39
is there a chance that sOme day there will ba a warranty safe method to gain root access for s5?
 

djkinetic

Senior Member
Feb 26, 2011
3,641
1,387
Chicago
LOL might want to change the name of the thread as its not for all variants, ATT & VZW have locked BLs, you can't flash anything but stock images on them through Odin for now.
 

kuronosan

Senior Member
Nov 10, 2008
1,929
638
I too have Verizon, is it possible to push the recovery over an adb shell?

Sent from my GT-P5110 using Tapatalk 2
 

stevey5036

Senior Member
Nov 10, 2008
50
7
This does not work with the Verizon variant since the philztouch recovery cannot be flashed due to the locked bootloader. The title of the topic should be modified.
 

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,308
15,761
Raleigh NC
Title is deceiving, might want to change it to be specific to unlocked devices.

hey guys, this is just a package made with my "Rickys Rom Kitchen", will root any android device with a working custom recovery!
Note: all i did was make this universal and make it a flashable zip.

So, you know the drill, your warranty is now viod, flash at your own risk blah blah.

How to root?
1. Flash philztouch recovery or any supported recovery for your device with odin - INSTRUCTIONS AND DOWNLOAD HERE
2. Make a nandroid backup from within philztouch recovery
3. Flash my universal S5 rootkit INSIDE PHILZTOUCH recovery - DOWNLOAD FROM HERE(PhilzTouch)
4. (OPTIONAL) install busybox from playstore and download my Samsung Tool app and backup EFS! - DOWNLOAD HERE

Thats all.

Credits - Chainfire (for SuperSu and binaries)
 

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,287
7,685
28
Sydney
Nothing prevents the use of the chmod command on s5, can you be more specific?

chmod 775 /sdcard/busybox : permission denied

/sdcard/busybox --help : permission denied

/sdcard/chmod 775 /sdcard/busybox : permission denied

cant do anything without the abillity to set permissions :/
at the moment the only root method I can hope for is using a factory system image, unpacking, rooting, repacking and flashing with odin...
other then that the only solution is looking for a bootloader unlock, and im unable to do that as I dont have the device and needs ALLOOOOT of testing

if you have any suggestions/advice feel free to let me know, its got me wrapped in a ball :/
 
Last edited:
  • Like
Reactions: Demiurge7

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,308
15,761
Raleigh NC
chmod 775 /sdcard/busybox : permission denied

/sdcard/busybox --help : permission denied

/sdcard/chmod 775 /sdcard/busybox : permission denied

at the moment the only root method I can hope for is using a factory system image, unpacking, rooting, repacking and flashing with odin...
other then that the only solution is looking for a bootloader unlock, and im unable to do that as I dont have the device and needs ALLOOOOT of testing



/sdcard/ is not a normal file system, setting such permissions won't work. Place the giles on a normally mounted ext file system, like /data/local/tmp not one mounted using fuse

Repacking won't work due to signature validation during the flashing stage.

"only solution is looking for a bootloader unlock" What, how do you come to such a conclusion? It isn't a valid conclusion.

Please adjust your thread title, it is inaccurate and likely to cause confusion for those that don't know any better.
 

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,308
15,761
Raleigh NC
From what I see, it seems that AT&T is not working?

all the updates are for all cariers but AT&T..

LOL. this will root any ARM device with a working custom recovery, so i think ill keep the thread just the way it is.

Am I missing something here? This is just SuperSu's update.zip with a couple minor additions, it isn't a root kit and roots nothings. the majority of the entire package is straight out of Chainfire's update.zip, which accomplishes the same thing. It certainly won't "root any ARM device", it will certainly install SuperSu on some of them with a custom recovery (but no it will not work on all, even with a custom recovery.


Code:
ui_print("******************************************");  
ui_print("            Installing S5Tools");  
ui_print("******************************************");  
ui_print("    BROUGHT TO YOU BY RICKYS KITCHEN"); 
ui_print("             BY RICKY310711"); 
 
unmount("/system"); 
ui_print("Mounting System"); 
run_program("/sbin/mount", "-t", "auto", "/system"); 
 
ui_print("Executing checkpart"); 
package_extract_file("tmp/chechpartroot", "/tmp/chechpartroot.sh"); 
set_perm(0, 0, 0777, "/tmp/chechpartroot.sh");  
run_program("/tmp/chechpartroot.sh"); 

ui_print("Extracting data"); 
package_extract_dir("system", "/system"); 
 
ui_print("Setting permissions"); 
set_perm(0, 0, 06755, "/system/xbin/su"); 
set_perm(0, 0, 06755, "/system/xbin/daemonsu"); 
set_perm(0, 0, 06755, "/system/bin/.ext/.su"); 
run_program("/system/xbin/su", "--install"); 
 
ui_print("******************************************"); 
ui_print("        Successfully Installed"); 
ui_print("******************************************"); 
set_progress(1.0);

Code:
./system/app:
total 4456
drwxr-xr-x@ 3 jcase  staff      102 Apr 13 20:27 .
drwxr-xr-x@ 7 jcase  staff      238 Apr 16 21:30 ..
-rwxr-xr-x@ 1 jcase  staff  2278361 Apr  4 04:04 Superuser.apk

./system/bin:
total 0
drwxr-xr-x@ 3 jcase  staff  102 Apr 13 20:30 .
drwxr-xr-x@ 7 jcase  staff  238 Apr 16 21:30 ..
drwxr-xr-x@ 3 jcase  staff  102 Apr 13 20:27 .ext

./system/bin/.ext:
total 224
drwxr-xr-x@ 3 jcase  staff     102 Apr 13 20:27 .
drwxr-xr-x@ 3 jcase  staff     102 Apr 13 20:30 ..
-rwxr-xr-x@ 1 jcase  staff  113036 Feb 14 18:34 .su

./system/etc:
total 8
drwxr-xr-x@ 5 jcase  staff  170 Apr 13 20:27 .
drwxr-xr-x@ 7 jcase  staff  238 Apr 16 21:30 ..
-rwxr-xr-x@ 1 jcase  staff    0 Feb 14 18:34 .installed_su_daemon
drwxr-xr-x@ 3 jcase  staff  102 Apr 13 20:30 init.d
-rwxr-xr-x@ 1 jcase  staff  629 Feb 14 18:34 install-recovery.sh

./system/etc/init.d:
total 8
drwxr-xr-x@ 3 jcase  staff  102 Apr 13 20:30 .
drwxr-xr-x@ 5 jcase  staff  170 Apr 13 20:27 ..
-rwxr-xr-x@ 1 jcase  staff   55 Feb 14 18:34 99SuperSUDaemon

./system/xbin:
total 448
drwxr-xr-x@ 4 jcase  staff     136 Apr 13 20:27 .
drwxr-xr-x@ 7 jcase  staff     238 Apr 16 21:30 ..
-rwxr-xr-x@ 1 jcase  staff  113036 Feb 14 18:34 daemonsu
-rwxr-xr-x@ 1 jcase  staff  113036 Feb 14 18:34 su

./tmp:
total 8
drwxr-xr-x@ 3 jcase  staff  102 Apr 13 20:37 .
drwx------@ 6 jcase  staff  204 Apr 16 21:30 ..
-rwxr-xr-x@ 1 jcase  staff  264 Apr 13 20:39 checkpartroot
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    hey guys, this is just a package made with my "Rickys Rom Kitchen", will root any android device with a working custom recovery!
    Note: all i did was make this universal and make it a flashable zip.

    So, you know the drill, your warranty is now viod, flash at your own risk blah blah.

    How to root?
    1. Flash philztouch recovery or any supported recovery for your device with odin - INSTRUCTIONS AND DOWNLOAD HERE
    2. Make a nandroid backup from within philztouch recovery
    3. Flash my universal S5 rootkit INSIDE PHILZTOUCH recovery - DOWNLOAD FROM HERE(PhilzTouch)
    4. (OPTIONAL) install busybox from playstore and download my Samsung Tool app and backup EFS! - DOWNLOAD HERE

    Thats all.

    Credits - Chainfire (for SuperSu and binaries)
    9
    Since this update zip requires a custom recovery, and you need an unlocked device before you can install a custom recovery, it is misleading to advertise this as a way to root a device. It's also unnecessary since the update Chainfire created does the exact same thing.

    The only thing I can find that you created is your "checkpartroot" script that doesn't serve any purpose.

    Thread closed.
    5
    From what I see, it seems that AT&T is not working?

    all the updates are for all cariers but AT&T..

    im working on devices with locked bootloaders..
    2
    @ricky310711

    May also want to look at /mnt/extSdCard directory (if you happen to have a microSD card you can format as exFAT).

    This directory worked on the S4 for one kernel-based exploit (perf_event) where /data/local/tmp did not actually (details).

    Not sure if anything changed with KitKat as far as that directory is concerned but worth a try.
    2
    Title is deceiving, might want to change it to be specific to unlocked devices.

    hey guys, this is just a package made with my "Rickys Rom Kitchen", will root any android device with a working custom recovery!
    Note: all i did was make this universal and make it a flashable zip.

    So, you know the drill, your warranty is now viod, flash at your own risk blah blah.

    How to root?
    1. Flash philztouch recovery or any supported recovery for your device with odin - INSTRUCTIONS AND DOWNLOAD HERE
    2. Make a nandroid backup from within philztouch recovery
    3. Flash my universal S5 rootkit INSIDE PHILZTOUCH recovery - DOWNLOAD FROM HERE(PhilzTouch)
    4. (OPTIONAL) install busybox from playstore and download my Samsung Tool app and backup EFS! - DOWNLOAD HERE

    Thats all.

    Credits - Chainfire (for SuperSu and binaries)