ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Temp root for apps required root access (for s-on IS)

OP jrywu

17th April 2011, 03:46 PM   |  #1  
OP Junior Member
Flag Taipei
Thanks Meter: 11
 
6 posts
Join Date:Joined: Jun 2008
More
Psneuter exploit is working on IS, but because /system is locked on s-on phones, we can't copy su and superuser.apk into /system, apps required root access can't work.
The following procedure uses psenuter exploit to gain adb shell root, and then copy su (without privilege control ) and busybox into /sbin (which is on rootfs and in the global PATH list) to gain root access for apps.
The procedure:
1. Unzip the attached .zip into a directory (like c:\adb)
2. Open a command prompt and cd to the directory where you extracted the .zip (like cd \adb)
3. run pushroot.bat (simply type pushroot)
4. adb shell /data/local/tmp/getroot
5. adb shell
6. you are now in # prompt. Type /data/local/tmp/pushroot

You have to redo steps 4,5,6 once you reboot your phone.

The procedure will have all apps gaining root access.
!!USE ON YOUR OWN RISK!!

Known working programs: Root explorer, Titanium backup, gscript lite, trasproxy 2.04, ...
Some apps check existence of su in /system/xbin , and reject to proceed if the su binary is not exist (like transproxy 3.08). For this kind of apps, this procedure won't help.
Last edited by jrywu; 17th April 2011 at 05:51 PM. Reason: wrong spelling
The Following 11 Users Say Thank You to jrywu For This Useful Post: [ View ]
17th April 2011, 04:05 PM   |  #2  
Hawkysoft's Avatar
Senior Member
Flag Rotterdam
Thanks Meter: 168
 
738 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Nice but old news mate...

Sent from my HTC Incredible S using XDA Premium App
The Following User Says Thank You to Hawkysoft For This Useful Post: [ View ]
17th April 2011, 04:23 PM   |  #3  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Nov 2006
More
Good job...thanks
17th April 2011, 04:43 PM   |  #4  
vido.ardes's Avatar
Recognized Developer
Flag Kent, UK
Thanks Meter: 1,620
 
1,643 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Thanks for writing this up, might quell the thirst for S-OFF a little longer
17th April 2011, 04:56 PM   |  #5  
Hawkysoft's Avatar
Senior Member
Flag Rotterdam
Thanks Meter: 168
 
738 posts
Join Date:Joined: Jul 2010
Donate to Me
More
/system/ is writeable btw, if you remount it, but after reboot everything u done will be changed to the way it were before.

so a temp root in xbin is possible also, only it will be gone afterwards (atleast i never tried this, but should work also...)
17th April 2011, 05:10 PM   |  #6  
OP Junior Member
Flag Taipei
Thanks Meter: 11
 
6 posts
Join Date:Joined: Jun 2008
More
Yes. /system could be remount in rw with root. However, the files you wrote will be gone after you remount ro, and then you won't be able to copy the same filename into the same location again before next reboot ( I don't know why, actually!!). This is why I put su in sbin instead of /system/xbin.
Last edited by jrywu; 18th April 2011 at 01:03 AM.
18th April 2011, 03:00 AM   |  #7  
bl4ckluna's Avatar
Member
Flag Beijing
Thanks Meter: 15
 
72 posts
Join Date:Joined: Dec 2010
Donate to Me
More
thanks to your files 非常感谢你的工作。
18th April 2011, 01:06 PM   |  #8  
Member
Thanks Meter: 4
 
49 posts
Join Date:Joined: Jan 2005
Does anyone know whether steps 4, 5 and 6 can be run from the device itself?

Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?
18th April 2011, 01:17 PM   |  #9  
itandy's Avatar
Senior Member
Hong Kong
Thanks Meter: 1,065
 
1,730 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by faf

Does anyone know whether steps 4, 5 and 6 can be run from the device itself?

Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?

I believe you can do it from a terminal emulator but haven't got the chance to try it myself though.

Sent from my HTC Incredible S using Tapatalk
18th April 2011, 02:55 PM   |  #10  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Apr 2006
pushroot error
c:/adb>adb shell ln /data/local/tem/busybox /data/local/tmp/cp
Link failed File exists
and
c:/adb>adb shell /data/local/tmp/getroot
mmap<> failed. operation not permitted
Why??THX....
Last edited by sky1212; 18th April 2011 at 03:22 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes