Jump to content

[NEW! San Diego root/unroot kit for Linux]


Recommended Posts

Guest glossywhite
Posted (edited)

Looking for a Windows version of this tool? ---> http://www.modaco.com/topic/361877-new-san-diego-rootunroot-kit-for-windows

Hello!

I've just ported the root and unroot script used in rickwyatt's AIO tool, to Linux, to make it cross platform and save you all some bother.

I had better credit the original coders of the Windows version:

"By Bin4ry thanks toGoroh_kun and tkymgr

for the idea Edited by Ricky Wyatt for

Orange San diego"

#### TESTED ON LINUX MINT 13 x64 ####

"root_me.sh"

8630209324_7d76707e6d_b.jpg

"unroot_me.sh"

8629101803_32d002f700_b.jpg

1/ Download the ZIP

2/ Un-ZIP it, and make the scripts executable:



chmod +x root_me.sh unroot_me.sh


That's it! Run the scripts - their titles are self-explanatory.

Thank you :)

>>>> HOW TO ENABLE "USB DEBUGGING" ON YOUR SAN DIEGO, RUNNING ICS <<<<

Click on "Settings", then follow these simple steps:

1:

8638400404_40f01045d5_z.jpg

2:

8637295337_ecb9392c49_z.jpg

3:

8637295273_4c3fdcc392_z.jpg

4:

8637295059_4a21f12302_z.jpg

5:

8637294965_9281a495b8_z.jpg

osd_root_unroot_linux.zip

Edited by glossywhite
Guest glossywhite
Posted

It works like a charm,

thanks :)

Charms don't work, but I'm glad you like it. You're welcome, thank you for the feedback - it means a lot.

  • 1 month later...
Guest dt_matthews
Posted

Howdy - thanks for your work on this, Im having a bit of trouble when trying the root script.

It gets as far as reboot after the fake data restoration, but then it seems like the script is trying to continue before the phone is ready.

Any thoughts?

cheers and thanks again

dan

Guest BlueMoonRising
Posted

Howdy - thanks for your work on this, Im having a bit of trouble when trying the root script.

It gets as far as reboot after the fake data restoration, but then it seems like the script is trying to continue before the phone is ready.

Any thoughts?

cheers and thanks again

dan

If the phone has rebooted then that should be it. Are you rooted or not?
Guest dt_matthews
Posted (edited)

no, def. not rooted - usually it just sits at the prompt presumably waiting for some condition which never occurs, one time it did reboot but then it clearly failed on the commands using the su && bb binaries saying they they werent present (even though the adb push ran)

Edited by dt_matthews
Guest BlueMoonRising
Posted

Hmm, this script was ported by glossy for Linux and then ported back. I've had a look and can't see anything obvious but you might be better off PMing him and asking. I don't think he's on here too much nowadays.

I'm presuming you're not patched by the way?

Guest dt_matthews
Posted

Hmm, this script was ported by glossy for Linux and then ported back. I've had a look and can't see anything obvious but you might be better off PMing him and asking. I don't think he's on here too much nowadays.

I'm presuming you're not patched by the way?

I suspect it might be patched but when I try the fix brick option in AIO I cant seem to get the update pushed to the phone.

I am failing at every turn - I ought to be shot :)

Guest glossywhite
Posted

Hey guys :)

Sorry, I don't take private messages seeking tech support. There's a very competent community of hackers here; if you need help, please post in the forums (which is the whole point of having a forum). All tech support PMs are deleted, so please ask here - I simply don't have the time to sit on a forum all day playing with phones - where would my life go if I did that?

Take care :)

Guest adil.mulleseril
Posted

Howdy - thanks for your work on this, Im having a bit of trouble when trying the root script.

It gets as far as reboot after the fake data restoration, but then it seems like the script is trying to continue before the phone is ready.

Any thoughts?

cheers and thanks again

dan

I tried editing the code..by adding some more time for the program to wait.

but i think the problem is with the following line of the program

./adb shell mount -o remount,rw /dev/block/mmcblk0p2 /system

because when i tried these commands. it get an error message as not permitted.

and hence none of the commands following this works.

all the command lines following the above line needs the "/system" directory to be rw.

Guest BlueMoonRising
Posted

I tried editing the code..by adding some more time for the program to wait.

but i think the problem is with the following line of the program

./adb shell mount -o remount,rw /dev/block/mmcblk0p2 /system

because when i tried these commands. it get an error message as not permitted.

and hence none of the commands following this works.

all the command lines following the above line needs the "/system" directory to be rw.

Did I not see you post somewhere else that you think you've got a patch applied? Typically I can't find it now(if it's true) :wacko:, but if you are you need to downgrade first.

I'm not Linux savvy enough to help with this except to publish Ricky's AIO version for PC which is :-

adb kill-server

adb start-server

adb wait-for-device

adb push C:\SanDiego\tools\flashtool data/local/tmp

C:\SanDiego\tools\adb.exe shell chmod 755 data/local/tmp/flashtool

adb push C:\SanDiego\tools\downgrade data/local/tmp

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i recovery -w data/local/tmp/recovery.img

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i fastboot -w data/local/tmp/fastboot.img

C:\SanDiego\tools\adb.exe reboot boot bootloader

C:\SanDiego\tools\fastboot -i 0x8087 flash update Bricked\update.zip

hopefully you can port this to Linux and use it.

Guest adil.mulleseril
Posted

Did I not see you post somewhere else that you think you've got a patch applied? Typically I can't find it now(if it's true) :wacko:, but if you are you need to downgrade first.

I'm not Linux savvy enough to help with this except to publish Ricky's AIO version for PC which is :-

adb kill-server

adb start-server

adb wait-for-device

adb push C:\SanDiego\tools\flashtool data/local/tmp

C:\SanDiego\tools\adb.exe shell chmod 755 data/local/tmp/flashtool

adb push C:\SanDiego\tools\downgrade data/local/tmp

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i recovery -w data/local/tmp/recovery.img

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i fastboot -w data/local/tmp/fastboot.img

C:\SanDiego\tools\adb.exe reboot boot bootloader

C:\SanDiego\tools\fastboot -i 0x8087 flash update Bricked\update.zip

hopefully you can port this to Linux and use it.

sorry about that..i completely forgot about the patch.I had an update of 37mb. And about the porting of above code to linux i need help with the last four lines.

I think maybe glossywhite can help me on that. I tried a little bit experimenting on the above code myself. But (ofcourse, due to the lack of knowledge) i failed.

Guest z720
Posted

sorry about that..i completely forgot about the patch.I had an update of 37mb. And about the porting of above code to linux i need help with the last four lines.

I think maybe glossywhite can help me on that. I tried a little bit experimenting on the above code myself. But (ofcourse, due to the lack of knowledge) i failed.

I guess after 37mb updated, that's noway to downgrade. Just sit and wait for JB. Hopefully ../\..

Guest BlueMoonRising
Posted

If you're on Linux I can't help but the AIO tool has a couple(well, more than 2 TBH) of typos.

Find C:\SanDiego\tools\SanDiego.bat script, edit it and find :-

:downgrade

adb kill-server

adb start-server

adb wait-for-device

adb push C:\SanDiego\tools\flashtool data/local/tmp

C:\SanDiego\tools\adb.exe shell chmod 755 data/local/tmp/flashtool

adb push C:\SanDiego\tools\downgrade data/local/tmp

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i recovery -w data/local/tmp/reccovery.img

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i fastboot -w data/local/tmp/fastboot.img

C:\SanDiego\tools\adb.exe reboot boot bootloader

C:\SanDiego\tools\fastboot -i 0x8087 flash update Bricked\update.zip

Delete the extra "c" in recovery.img and change fastboot.img to boot.img

I've not tried it myself since I delete the MU app that looks for and installs updates as soon as I'm rooted but hopefully this MAY work.

Guest z720
Posted

If you're on Linux I can't help but the AIO tool has a couple(well, more than 2 TBH) of typos.

Find C:\SanDiego\tools\SanDiego.bat script, edit it and find :-

:downgrade

adb kill-server

adb start-server

adb wait-for-device

adb push C:\SanDiego\tools\flashtool data/local/tmp

C:\SanDiego\tools\adb.exe shell chmod 755 data/local/tmp/flashtool

adb push C:\SanDiego\tools\downgrade data/local/tmp

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i recovery -w data/local/tmp/reccovery.img

C:\SanDiego\tools\adb.exe shell data/local/tmp/flashtool -i fastboot -w data/local/tmp/fastboot.img

C:\SanDiego\tools\adb.exe reboot boot bootloader

C:\SanDiego\tools\fastboot -i 0x8087 flash update Bricked\update.zip

Delete the extra "c" in recovery.img and change fastboot.img to boot.img

I've not tried it myself since I delete the MU app that looks for and installs updates as soon as I'm rooted but hopefully this MAY work.

Downgrade does not work on 37mb patch updated for me so far.. :(

Guest BlueMoonRising
Posted

Downgrade does not work on 37mb patch updated for me so far.. :(

They seem to have got sneaky I'm afraid, I deleted the MU app as soon as I reflashed to make sure there's no accidents. I'm not waiting for JB myself as I've got my phone just as I like it.
Guest oJOK3Rx
Posted

Im having trouble getting this to work im using ubuntu

Guest z720
Posted

Im having trouble getting this to work im using ubuntu

I'm using ubuntu too, just wonder what is your problem here?

Your android version ?

You want to upgrade to what ?

Have you run OTA before ?

  • 5 weeks later...
Guest PM_CZ
Posted (edited)

Just a question - the busybox included in this package is an ARM binary whilst su is a i386 binary. To make this work on ZTE Grand X IN, I had to download correct busybox binary (busybox-i686) from http://busybox.net/d...inaries/latest/ and move and rename it to busybox in the script directory, since the ARM binary was not executable on my device. There is no such problem with Orange San Diego?

Edited by PM_CZ
  • 5 months later...
Posted

it's doesn't work for me . help me plzĀ 

Make a choice: 
1
Normal mode enabled!
Checking if i should run in Normal Mode or special Sony Mode
Please connect device with ADB-Debugging enabled now ...
adb server is out of date.  killing...
* daemon started successfully *
53 KB/s (2284 bytes in 0.041s)
remote object '/system/app/Backup-Restore.apk' does not exist
Normal Mode enabled!
Please connect device with ADB-Debugging enabled now ...
./RunMe.sh: ligne 87: 1 : commande introuvable
Pushing busybox ...
4589 KB/s (1085140 bytes in 0.230s)
Pushing su binary ...
4775 KB/s (973198 bytes in 0.199s)
Pushing Superuser app
4778 KB/s (1468798 bytes in 0.300s)
Pushing ric
1 KB/s (57 bytes in 0.040s)
Making busybox runable ...
./RunMe.sh: ligne 101: 0 : commande introuvable
Now unlock your device and confirm the restore operation.
Please look at your device and click RESTORE!
If all is successful i will tell you, if not this shell will run forever.
Running ...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.