FORUMS

Material and Material Dark Hit Samsung’s Theme Store

The latest version of Touchwiz, launched alongside the Galaxy S6 and S6 Edge, … more

Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone’s life where you must part ways with your … more

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw … more

Sprint Reacts To Jab From T-Mobile

America’s cellular network space has always been a battle of the big four: Verizon, AT&T, … more

[Q] OneClick stuck on "chmod psneuter"

427 posts
Thanks Meter: 80
 
Post Reply Subscribe to Thread Email Thread
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
Last edited by gdanko; 24th February 2011 at 02:49 AM. Reason: SOLVED
 
 
23rd February 2011, 10:35 PM |#2  
shawnbuck's Avatar
Retired Recognized Developer
NY
Thanks Meter: 88
 
More
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.
23rd February 2011, 10:49 PM |#3  
OP Senior Member
Flag San Diego, CA
Thanks Meter: 80
 
Donate to Me
More
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?
Last edited by gdanko; 23rd February 2011 at 10:54 PM.
The Following User Says Thank You to gdanko For This Useful Post: [ View ]
23rd February 2011, 10:49 PM |#4  
Member
Flag Chicago
Thanks Meter: 2
 
More
Quote:
Originally Posted by shawnbuck

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
23rd February 2011, 10:59 PM |#5  
OP Senior Member
Flag San Diego, CA
Thanks Meter: 80
 
Donate to Me
More
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
23rd February 2011, 11:03 PM |#6  
shawnbuck's Avatar
Retired Recognized Developer
NY
Thanks Meter: 88
 
More
Quote:
Originally Posted by gdanko

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.
Last edited by shawnbuck; 5th March 2011 at 02:59 AM.
23rd February 2011, 11:08 PM |#7  
OP Senior Member
Flag San Diego, CA
Thanks Meter: 80
 
Donate to Me
More
Ubuntu 10.10 x64
23rd February 2011, 11:16 PM |#8  
OP Senior Member
Flag San Diego, CA
Thanks Meter: 80
 
Donate to Me
More
Quote:
Originally Posted by shawnbuck

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
23rd February 2011, 11:19 PM |#9  
OP Senior Member
Flag San Diego, CA
Thanks Meter: 80
 
Donate to Me
More
Quote:
Originally Posted by shawnbuck

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: [ View ]
23rd February 2011, 11:22 PM |#10  
shawnbuck's Avatar
Retired Recognized Developer
NY
Thanks Meter: 88
 
More
Quote:
Originally Posted by gdanko

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

# 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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes