5,595,000 Members 39,414 Now Online
XDA Developers Android and Mobile Development Forum

[Q] OneClick stuck on "chmod psneuter"

Tip us?
 
gdanko
Old
(Last edited by gdanko; 24th February 2011 at 02:49 AM.) Reason: SOLVED
#1  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
Question [Q] OneClick stuck on "chmod psneuter"

How to manually root. Download and unzip the SuperOneClick zip file and...

This should work:

./adbmac push psneuter /data/local/tmp
./adbmac push su-v2 /data/local/tmp
./adbmac push busybox /data/local/tmp
./adbmac shell
$ busybox chmod +x /data/local/tmp/psneuter
$ /data/local/tmp/psneuter
# exit
$ exit

./adbmac remount
./adbmac shell

# busybox mv /data/local/tmp/su-v2 /system/xbin/su
# busybox chmod 06755 /system/xbin/su
# busybox chown 0.2000 /system/xbin/su
# busybox ln -s /system/xbin/su /system/bin/su

# busybox cp /data/local/tmp/busybox /system/xbin
# busybox chmod 0755 /system/xbin/busybox
# busybox chown 0.2000 /system/xbin/busybox
# exit
$ exit
./adbmac install Superuser.apk
./adbmac reboot
 
shawnbuck
Old
#2  
shawnbuck's Avatar
Recognized Developer
Thanks Meter 88
Posts: 190
Join Date: Feb 2011
Location: NY
What OS and software are you running? I had the same problem on Ubuntu 10.10 x64, but was able finish the process by completing it by hand. If your brave enough to use the command line to do the process, I can provide the steps.
 
gdanko
Old
(Last edited by gdanko; 23rd February 2011 at 10:54 PM.)
#3  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
Please do, I have most of it down.
su, busybox, Superuser are installed and permissions set, but I still get permission denied when I type "su". What am I missing?
The Following User Says Thank You to gdanko For This Useful Post: [ Click to Expand ]
 
chbearsrock
Old
#4  
Member
Thanks Meter 2
Posts: 87
Join Date: Mar 2008
Location: Chicago
Quote:
Originally Posted by shawnbuck View Post
What OS and software are you running? I had the same problem on Ubuntu 10.10 x64, but was able finish the process by completing it by hand. If your brave enough to use the command line to do the process, I can provide the steps.

Could you? I have this same problem trying to root on my mac.

Sent from my MB860 using XDA App
 
gdanko
Old
#5  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
I basically have this:

./adbmac push psneuter /data/local/tmp
./adbmac push su-v1 /sdcard/
./adbmac push su-v2 /sdcard/
./adbmac push busybox /sdcard/
./adbmac push Superuser.apk /sdcard/
./adbmac shell
$ busybox chmod +x /data/local/tmp/psneuter
$ /data/local/tmp/psneuter
# exit

./adbmac remount
./adbmac shell

(the following 3 steps may fail which is OK)
# mv /system/bin/su /system/bin/su.bak
# mv /system/xbin/su /system/xbin/su.bak
# mv /system/xbin/busybox /system/xbin/busybox.bak

# busybox cp /sdcard/su-v* /system/xbin
# cd /system/xbin

(try to execute both su-v*, whichever works keep and renamed to su. For this example we'll assume su-v2 is the correct su)
# rm /system/xbin/su-v1
# mv /system/xbin/su-v2 /system/xbin/su
# busybox cp /sdcard/Superuser.apk /system/app
# busybox cp /sdcard/busybox /system/xbin
# busybox chmod 06755 /system/xbin/su
# busybox chown 0.2000 /system/xbin/su
# busybox chmod 0755 /system/xbin/busybox
# busybox chown 0.2000 /system/xbin/busybox
# busybox ln -s /system/xbin/su /system/bin/su
 
shawnbuck
Old
(Last edited by shawnbuck; 5th March 2011 at 02:59 AM.)
#6  
shawnbuck's Avatar
Recognized Developer
Thanks Meter 88
Posts: 190
Join Date: Feb 2011
Location: NY
Quote:
Originally Posted by gdanko View Post
Please do, I have most of it down.
su, busybox, Superuser are installed and permissions set, but I still get permission denied when I type "su". What am I missing?
In this steps you put up previously, you missed remount the /system partition rw.

Also, what OS & software are you guys using? I'm curious to find out what is causing this problem, so we can correct it in SuperOneClick.
 
gdanko
Old
#7  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
Ubuntu 10.10 x64
 
gdanko
Old
#8  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
Quote:
Originally Posted by shawnbuck View Post
In this steps you put up previously, you missed remount the /system partition rw.


# mount -o remount,rw -t yaffs2 /system
# mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p12 /system
 
gdanko
Old
#9  
Senior Member - OP
Thanks Meter 39
Posts: 366
Join Date: Oct 2010
Quote:
Originally Posted by shawnbuck View Post
In this steps you put up previously, you missed remount the /system partition rw.

# busybox mv /data/local/tmp/su /system/xbin
# busybox mv /data/local/tmp/su-v2 /system/xbin/su
The Following User Says Thank You to gdanko For This Useful Post: [ Click to Expand ]
 
shawnbuck
Old
#10  
shawnbuck's Avatar
Recognized Developer
Thanks Meter 88
Posts: 190
Join Date: Feb 2011
Location: NY
Quote:
Originally Posted by gdanko View Post
Please do, I have most of it down.
su, busybox, Superuser are installed and permissions set, but I still get permission denied when I type "su". What am I missing?
Quote:
Originally Posted by gdanko View Post
# mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p12 /system
Whoops, that slipped by. In any case, you can check what /system is mounted on by checking /etc/mtab.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes