[ROOT] Saferoot: Root for VRUEMJ7, MK2, and Android 4.3

Surge1223

Recognized Contributor
Nov 6, 2012
2,603
7,395
203
Florida
Didn't work on mine :(



Sent from my Galaxy S4
What happens if you type this in terminal

Code:
cd /data/local/tmp
./getroot
I should note that in order for this to work you have to adb push "getroot" to /data/local/tmp and chmod 755 /data/local/tmp/getroot. These steps have to be done with adb shell

Sent from my SCH-I545 using XDA Premium 4 mobile app
 

k1mu

Senior Member
Apr 11, 2011
1,945
1,620
0
Virginia
It's Exfat see screenshot
After thinking about this, that's not the problem. SE Android is keeping you from writing to /data/local/tmp, which is critical for this root technique, when you're using the terminal emulator.
It works when you have adb running and use the adb shell, which has slightly different permissions.

I may have to give up on the sdcard method and just include the "adb" program with the script. That'll bloat it, unfortunately.
I'll consider how to update this to make it more robust tomorrow.
 
  • Like
Reactions: Bait-Fish

k1mu

Senior Member
Apr 11, 2011
1,945
1,620
0
Virginia
Still getting permission errors with new upload
So that means that you'll need to use the adb technique for now. Apparently you can't write to the target from the terminal emulator shell.
(unfortunately, my phone can now, so I can't debug this. yea root!).

I'll work on adding adb.exe to the root script and delete the "install.sh" as clearly that's an epic fail and won't work.
 

Cdubzz20

Member
Sep 22, 2011
21
0
0
So that means that you'll need to use the adb technique for now. Apparently you can't write to the target from the terminal emulator shell.
(unfortunately, my phone can now, so I can't debug this. yea root!).

I'll work on adding adb.exe to the root script and delete the "install.sh" as clearly that's an epic fail and won't work.
I'm the guy that needs a step by step guide on how to complete this process? When I run the batch file, it says ADB cannot be found? How2FixPlox?
 

Surge1223

Recognized Contributor
Nov 6, 2012
2,603
7,395
203
Florida
At least the first part must be done with adb (actually just pushing the files to /data/local/tmp and setting their permissions), after that you can just run getroot. I just fully unrooted and after rebooting (to complete the unrooting process) I just typed a few things in to terminal and bang rooted again. See attached pic.

Sent from my SCH-I545 using XDA Premium 4 mobile app
 

Attachments

Last edited:
  • Like
Reactions: Bait-Fish

trueagle

Senior Member
Jun 11, 2011
157
14
0
this just root my phone. make sure java and adb installed properly, move files and two script to adb folder, run and bingo in work after three time of doing it with out proper java. I had to erase adb permissions in android development under adb check and grant permission when running abd devices. thanks man im root on new update you guys rock
 

tyson10

Member
Nov 27, 2008
23
4
0
something weird with mine. I pushed to phone - ran the te script - gave rights to su. rebooted phone. check su app - it shows te w/ permissions, but says binarys not installed