2.1 Root Method - XPERIA X10 Android Development

ROOT achieved for 2.1 FW.
Sometimes the first method isn't always the best:
*edit*
A new app has appeared on the market called "z4root". This seems to root in one click.
Details are here.
Install this from the Market, press Root and you're away.
Old Methodm should it still be required:
This requires you to have 2.1 already (either Nordic, or other generic, or using Bin4ry's flashtool version here.
instructions and files as below.

Download the SuperOneClick (files attached) or original post here

Updated Superoneclick version 1.5.4
v1.5.4
Fixed superuser install issue
Added a prompt to tell you to allow superuser on your phone, for the test.
Fixed unroot.
It can take a while to ROOT - looks as though it is stuck in a loop. I thought it wasnt working but waited about 10mins and it worked.
If you wait longer and it still doesn't work, try untick/retick USB debug while it's running
Hey Presto - ROOT !
Thanks CVCHETAN for adding the attachments & tidying it up.. it was late
Remember you will probably want Busybox too - click Problems from within Titanium to download.
NOTE: If you're having no luck with this, it seems the PDANet client might install different drivers which help the process. If you're struggling this might be worth a try. Also ticking Unknown Applications allows it to send the SuperUser.apk has reported to help some users.
PdaNet Client is here.
Pre-requisites not mentioned in this post:
Working 2.1 X10
Drivers must be installed for X10 Debug mode - try adb manually to check
Some virus checkers might flag these files - this is because an exploit can be a security risk, but 100% virus free
You run this all on your PC - it connects to your phone and roots it from there.

Doesnt work for me, get failed! No ~~FU GOO~~ or something
Tried different versions of the app

Hmmm Barnacle isn't working quite as expected (even after setting athwlan0), but Titanium is definitely giving root...
will post a pic in a bit, have another x10 to update / root first

None of them work for me.

XperiaX10iUser said:
None of them work for me.
Click to expand...
Click to collapse
for titanium to work, update the busybox from titanium menu...

cvchetan said:
for titanium to work, update the busybox from titanium menu...
Click to expand...
Click to collapse
The problem was getting rooted in the first place, but here's how I got it working with yours and awojtas help...
Download the SuperOneClick.
Copied these three from my SDK tools folder...
adb
AdbWinApi.dll
AdbWinUsbApi.dll
...and replaced the ones in the SOCR folder.
Ran it, but when it was looping did this...
awojtas said:
then you may need to untick/retick USB debug while it's running
Click to expand...
Click to collapse
Then got...
Running rageagainstthecage...
ROOTED
Getting mount path...
/dev/block/mtdblock2
OK
Remounting system with read-write access...
OK
Pushing su...
1424 KB/s (26264 bytes in 0.018s)
OK
Pushing superuser.apk...
820 KB/s (196521 bytes in 0.234s)
OK
chmod su...
OK
Remounting system with read-only access...
OK
Click to expand...
Click to collapse
...and installed Titanium to confirm!

XperiaX10iUser said:
The problem was getting rooted in the first place, but here's how I got it working with yours and awojtas help...
Download the SuperOneClick.
Copied these three from my SDK tools folder...
adb
AdbWinApi.dll
AdbWinUsbApi.dll
...and replaced the ones in the SOCR folder.
Ran it, but when it was looping did this...
Then got...
...and installed Titanium to confirm!
Click to expand...
Click to collapse
awesome brother....
cheers to the root...
enjoy!!

SDK? Where did you get an SDK?

Jaxxer86 said:
SDK? Where did you get an SDK?
Click to expand...
Click to collapse
SE site..
wait ill zip it nd upload it

i didnt need to swap any files..
i downloaded the package on that link, it looked like it was stuck in a loop but i left it 10mins came back and it said worked.
only difference is that first time i did shell root - then i did a proper root afterwards, not sure if this makes a difference
very happy here..

Thanks mate!

thread moved to dev section and stickied..

should also say i had to download busybox in titanium.. click problems on the front screen.
Veryyyy happy.. not only is it rooted now but I get very slight credit for it.
If you've got the loop leave it running, about to do another handset now so will see whats different

Still cant get it to work, can anyone who got this to work write a step by step please?

it's very easy
you yust start the exe click on root now it tooks al very long times
(<10 mins) and in this time the programm try very often to root the device
then a message come up
and your device is rooted

I'm getting "Waiting for device..."

make sure you've got USB debugging turned on
after installing 2.1 it will default to off

It's turning on.

sweet thank you very much.
right, now to get rid of that blue....

According to Kaspersky Antivirus 2011, both the Superclicks contain trojans...

Related

Help With Root

hey guys, been a short term fan of android, and i recently (or what i thought so) rooted my X10i with the original RB..20 Firmware.
Today i updated to the new R2BA026 firmware. and my device appears routed but it not, how do i go about rooting this firmware to remove the annoying Moxier apps etc.
Plz Plz Plz Help
http://forum.xda-developers.com/showthread.php?t=740240
Read this thread !!!
I just found it Lol
Thank you for telling me anyhow.
im really stuck on rooting it even with the instructions. im in the CMD.exe and all im getting is it cannot find the files even though they are directly on my C drive and also it IS connected via USB / Development mode
hellllllllllllllllp!
do you have adb installed ?
I prefer this method - forum.xda-developers.com, having tried the other today it's a bit more complicated afterwards imo trying to run adb.
the other way you said to me i tried on my unlocked X10i, but it wont work on this build as its already above the 24 build.
Ive downloadd the SDK and i have the ADB.exe in the kit but am i looking at the wrong thing? how would i install it if it just runs a cmd.exe?
With this method you can root any regional firmware, atleast up to 026 and you will get updates from seus, root will be gone but its hopefully just to root the new firmware again.....
Saw somewhere a full script with adb inside no need to install it on the computer but atm i can find it
ok well, erm, which method would be better, ?? shall i do the original root procedure i did before flashing the files on to the phone?
fkofilee said:
the other way you said to me i tried on my unlocked X10i, but it wont work on this build as its already above the 24 build.
Ive downloadd the SDK and i have the ADB.exe in the kit but am i looking at the wrong thing? how would i install it if it just runs a cmd.exe?
Click to expand...
Click to collapse
extract the exploid_x10 to a folder with the same name directly under C:
then put the adb.exe, AdbWinApi.dll,AdbWinUsbApi.dll into same folder
then cd to that folder with command promt and then run runme.cmd
that should do it
ok well so far so goo most of the files are moving on to the SD card BUT...
c:\exploid_x10mini>adb push su /sdcard/su
failed to copy 'su' to '/sdcard/su': Permission denied
thats what im getting on my Cmd panel.
Sorry, adb.exe, AdbWinApi.dll,AdbWinUsbApi.dll should be put into Exploid_x10/FILES folder.........
so do i have to create a folder inside the exploid_x10mini? because the files are already there
fkofilee said:
so do i have to create a folder inside the exploid_x10mini? because the files are already there
Click to expand...
Click to collapse
nah then u got the right one, your sdcard shouldnt be mounted to pc
and you have to turn wifi off and on when program tells you to
usb debugging should be enables on the phone aswell
all good till running rootshell when it comes back saying...
$ rootshell
rootshell
rootshell: permission denied
sorted YEY!!!
Thank you for all your help. Im not a complete noob ith computers, i know quite a bit but, dealing with android is a bit of a new experience.
fkofilee said:
ok well, erm, which method would be better, ?? shall i do the original root procedure i did before flashing the files on to the phone?
Click to expand...
Click to collapse
It's personal preference I guess.
I rooted... now what?
How do I remove the Timescape and other crap after rooting with this method? If you didn't guess, I am a complete noob with Android.

Trying to root, hitting roadblocks.

So here's the deal, I'm with AT&T and attempting to root my X10.
I've tried SuperOneClick to absolutely no avail, it looped RATC, I did the debug off/on/off method and it hung at the end. Tried it several more times with the same outcome and eventually gave up on it.
Next method is trying to sideload UniversalAndrood using the Sideload Wonder Machine.
The problem I'm getting with SWM is that it isn't recognizing my phone. The area showing List of Devices Attached is blank.
I've got the Android SDK installed, I'm running windows 7, so USB drivers shouldn't be a problem from everything I've read, but even still I've uninstalled em using USBDeview and had windows reinstall them automatically. USB debugging has been on the whole time, and I don't think it's ADB issues seeing as the SDK is fully updated.
Anyone have any ideas or suggestions? I'm tired of sitting on 1.6.
http://forum.xda-developers.com/showthread.php?t=863549
Get 2.1
X10Flash 2.1 final & 2.1 Firmware (Update Flasher 14.11.2010)
read carefully
(when ask for connect phone take a battery for 10s the keep back space when connect usb do not release and press enter in keyboard)
there is a instruction
http://forum.xda-developers.com/showthread.php?t=827065
link to download
http://www-stud.uni-due.de/~sfanmakr...0Flash-2.1.zip
1 unzip
2 open
3 run it
4 root
5 run z4root in the phone
then
Attachment
Download a file in attachment
install superuser
unzip
download busybox
unzip
install busybox open busybox then install (accept for permittion superuser)
if it done good if not install the rootexplorer (accept for permittion superuser) in the top corner is a reamout to rw
then do it again with busybox
Download X10 mod file
unzip
open
Carefull!!! Superuser need to ask for permittion allow. Watch X10 screen If not try again
Congratulation
Then when you want to use just reamount to rw in rootexplorer and have a fun
Let me clarify. I'm on 1.6 trying to update to 2.1. I'm trying to root 1.6 and can't seem to get it. It appears as though you're both directing me towards how to root on 2.1, but if I'm mistaken, please correct me.
Just download z4root, its been taken away from the market, but you should be able to find the apk via Google fairly easily.
since your on 1.6 i suppose you could try x10root, google it and download, worked for me, however im on orange in the UK
vengeance1990 said:
since your on 1.6 i suppose you could try x10root, google it and download, worked for me, however im on orange in the UK
Click to expand...
Click to collapse
Android X10 1.6 root, X10Root 1.0.8:
http://forum.xda-developers.com/showpost.php?p=7913568&postcount=338

[GUIDE] Android 2.1 to Custom ROM 2.2 on X10 - for newbies

I was excited about the rollout of Android 2.1 on X10 last November (it finally arrived...), then I was able to install more apps and experience more fun with upgraded os. However, here also comes the problem, I only had 40MB left in my internal memory, and App2sd can only be done with millions of steps...
So I was thinking.. if I have to put in so much effort just to get App2sd working, why not just spend the effort to install a custom ROM with Android 2.2 (where App2sd becomes a build-in capability, and I will be able to do voice actions too!)
Honestly, it was easier than I thought, but there are some details you probably want to pay attention to in the process, so I am writing this comprehensive guide here that can be easily followed (even for newbies!).
[All credits go to the CyanogenMod dev team for the custom ROM, zdzihu for xRecovery, Androxyde and Bin4ry for FlashTool, ShortFuse for SuperOneClick, Froshed Blue for themes.
Thank you all for the incredible work to make this possible! And sorry if I missed anyone...
NOTE: I WILL NOT BE RESPONSIBLE IF ANYTHING GOES WRONG.
1. Back up all your data.
- Use apps in the market such as MyBackupPro to back up all contacts, sms, call log etc. If your phone is rooted, you can also back up app+data with it (so you won't lose your progress on games or apps).
- OR you can sync your contacts etc via your Google account, and back up all apps with Astro.
- DO NOT use the backup & restore app with the stock 2.1, after you flash to 2.2, this app won't be available anymore, and there is no way you could retrive the data from the .sbf file generated by it!
UPDATE: SE Backup & Restore is now available here in the Extras section. I haven't tested it yet but if you want you can give it a try.​
2. If you have already updated your phone to baseband 2.1.54 or 2.1.55, skip this step.
- Otherwise, go to here to find and download the most updated firmware (I used X10a _2_1_A_0_435 with DualTouch).
- Download FlashTool v0.29, copy the firmware you downloaded earlier to the firmware folder in FlashTool.
- Now flash your phone with this firmware, follow the instructions on the screen.​
3. Root your phone.
- Download SuperOneClick v1.7 from shortfuse.org.
- Root with one simple click.​
4. Install Busybox and xRecovery.
- Get Busybox from the market, once it's opened, it will tell you that your phone is rooted, install the newest version into /bin.
- Download xRecovery, rename the apk file to xRecovery.Zip.
- Unpack the file, find ./res/raw folder with 3 files - chargemon, busybox, xrecovery.tar).
- Copy these 3 files into /system/bin using app Root Explorer. (Note: this is the manual installation method, which I found more stable, or you can just use automatic install with the xRecovery.apk downloaded earlier.)​
5. Copy the files for ROM installation (CM 6.1.3 V4, Google Apps Pack, and new Android market) onto your SD card.
UPDATE: CM 6.1.3 V4.5.7 is out with Camcorder working, in this step, you will copy CM 6.1.3 V4.5, CM 6.1.3 V4.5.7 instead of V4.
6. Install custom ROM.
- Reboot your phone.
- Right after the SE white text appears, press the back button a few times until xRecovery comes on (if it doesn't work, try one more time or reinstall xRecovery using the manual method if you didn't.)
- In xRecovery, use volume button to move up and down, home to enter.
- Do a Factory Reset, Wipe Cache Partition, Advance Options> Wipe Dalvik Cache, Wipe Battery Stats.
- Then install Custom Zip and choose CM6.1.3-V4.zip (or V4.5) for your SD card for the ROM. (If you are installing V4.5, install Custom Zip - V4.5.7 after this step.)
- Install Custom Zip and choose CM-V4Gapps.zip (or V4.5.7) for Google Apps.
- Reboot your phone, go to programs>sysctl, set the parameters to the following:
vm.min_free_kbytes = 16284
vm.dirty_ratio = 90
vm.dirty_background_ratio = 55
vm.vfs_cache_pressure = 20
oom kill checked​- Login to market once, reboot your phone to xRecovery again, install Custom Zip and choose NewMarket.zip.​
If you want more selections of theme, check out this thread.
Post Actions
- Restore all your information and apps.
- Get App2SD from market to easily move apps to SD or internal memory, or you can do it manually in settings>application settings>manage application. (Note: if you want to display a widget of an app, keep the app on the phone, DO NOT move it to SD as widget will not be available for apps moved to the SD.)
- MIUI Camera is included with the ROM, or you can use Camera360 (tested working). If you want camera flashlight, use Vigenette.
UPDATE: MIUI Camcorder is working on v4.5.
- Go to settings>cyanogenmod settings and settings>ADWLauncher for more tweaks.
UPDATE: ADWLauncher is been replaced by another launcher (I forgot the name) in V4.4+​
_______________________________________________________________________
Read my blog for more reviews and guides of Android - http://baimandy.wordpress.com
Follow me on Twitter: MandyBai
Thanks! This kind of combined all the guide together makes it so much clearer~
Thanks man, that's the guide I was looking for.
One small question, please. If after that i decide (for any reason) to go back to SE android 2.1, is it possible? Using factory reset and plug to PC Companion?
Thank you again
Sent from my X10i using XDA App
mjrabhi said:
Thanks man, that's the guide I was looking for.
One small question, please. If after that i decide (for any reason) to go back to SE android 2.1, is it possible? Using factory reset and plug to PC Companion?
Thank you again
Sent from my X10i using XDA App
Click to expand...
Click to collapse
You can find the stock firmware in the forum and use FlashTool to flash back to android 2.1 (just like step 2 here).
4androidonly said:
You can find the stock firmware in the forum and use FlashTool to flash back to android 2.1 (just like step 2 here).
Click to expand...
Click to collapse
Thank you much much
This ROM is really great, thanks for all the devs, been using this for more than a week now. My only concern is the color of the LED while charging, seems like its over burning or something is there a way to change LED charging color? been searching a lot but in vain.
thanx ... good guide
I was forever feeling hesitant to install custom roms and stuff but after reading your guide I decided to go ahead with it and as u said it was much easier than I thought..
But i prefer Freex10 to CM 6.1.3 , I really dont like CM 6.1.3 interface it does not look good
Thanks a lot mate
gil2004xp said:
This ROM is really great, thanks for all the devs, been using this for more than a week now. My only concern is the color of the LED while charging, seems like its over burning or something is there a way to change LED charging color? been searching a lot but in vain.
Click to expand...
Click to collapse
Hmmm ... never thought of that since it doesn't concern me but if you want to change LED notification color for different apps, you can do it at CMsettings-user interface.
wasiimabbas said:
I was forever feeling hesitant to install custom roms and stuff but after reading your guide I decided to go ahead with it and as u said it was much easier than I thought..
But i prefer Freex10 to CM 6.1.3 , I really dont like CM 6.1.3 interface it does not look good
Thanks a lot mate
Click to expand...
Click to collapse
the rom is just personal preferences~ i am glad the guide helped~
i've done all the said guides and installed 2.2 with cam fix.
but have one problem again, my phone and my computer cant read my sdcard..
how to fix this one? is this really the problem on installing this 2.2 rom?
xriel said:
i've done all the said guides and installed 2.2 with cam fix.
but have one problem again, my phone and my computer cant read my sdcard..
how to fix this one? is this really the problem on installing this 2.2 rom?
Click to expand...
Click to collapse
really? I am not sure how to fix it since I never experienced this. But I do notice with the new 2.2 rom, it takes some time to recognize all the data on SD card at the initial start (both on the phone and on the computer).
The first time I connect to computer (USB storage mode) it took 5 mins for the computer to recognized it, and the phone was kind of froze for a while, but after that it's all fine.. maybe just try to wait a bit?
Mehn thanks for this. Soooooo easy.
becknise said:
Mehn thanks for this. Soooooo easy.
Click to expand...
Click to collapse
you're welcome
I'm just in the process of running through the guide now. Can't wait!!!
I have got a problem with completing Step 4. I have downloaded and install BusyBox from the MarketPlace but when I open it up all I get is a blank OK message and the Status: Looking for BusyBox...
Any ideas??
Also I can open xRecovery but if I click on the "Install xRecovery" button I get the little magnify glass change to a red stop circle.
Any ideas??
This is also I post of the Root Log
SuperOneClick v1.7.0.0
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Pushing psneuter...
1466 KB/s (585731 bytes in 0.390s)
OK
chmod psneuter...
OK
Running psneuter...
OK
***IF IT KEEPS LOOPING, TRY DISABLING USB DEBUGGING NOW***
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Running psneuter...
ROOTED
Pushing busybox...
1614 KB/s (1062992 bytes in 0.643s)
OK
chmod busybox...
OK
Getting mount path...
/dev/block/mtdblock2
OK
Reading OS Version properties...
Version: 2.0
OK
Remounting system with read-write access...
OK
Pushing su-v2...
1282 KB/s (26264 bytes in 0.020s)
OK
chmod su...
OK
Creating /system/xbin...
mkdir failed for /system/xbin, File exists
OK
Copying busybox (/system/xbin/)...
OK
chmod busybox (/system/xbin/)...
OK
Installing busybox (/system/xbin/)...
OK
Pushing Superuser.apk...
1760 KB/s (196521 bytes in 0.109s)
OK
Remounting system with read-only access...
OK
Running a SU test...
Success!
Thanks
Thank you!!! Your guide was very helpful to me! Sorry for my bad English
Please ignore my last post as I have now figured out what I was doing wrong. I didn't know there was two different BusyBox downloads.
Anyway, I now have it installed, however I cannot figure out where to set the following parms.
If you could point me in the right direction it would be much appericated.
Thanks again
Thanks for this. Quick question, it may seem dumb but what do you mean when you say to :
"Reboot your phone, go to programs>sysctl, set the parameters to the following:
vm.min_free_kbytes = 16284
vm.dirty_ratio = 90
vm.dirty_background_ratio = 55
vm.vfs_cache_pressure = 20
oom kill checked"
Where in the menu do I find "programs" exactly?
NM... I didnt realize Sysctl was an App from the market. When I first completed it, I didnt have service so I couldnt use the Market. Flashed again and it works.
Thanks!
Testsubjec said:
Please ignore my last post as I have now figured out what I was doing wrong. I didn't know there was two different BusyBox downloads.
Anyway, I now have it installed, however I cannot figure out where to set the following parms.
If you could point me in the right direction it would be much appericated.
Thanks again
Click to expand...
Click to collapse
Are you referring to the parms for sysctl? if you go to the list of all applications, there is a pre-installed app called sysctl config (it's like a penguin icon), then you will be able to set the parameters there. hopefully this answers your question!

[Q] can't get token id on htc desire x

hi guys, i'm new in this forum, and i'm new to android too, i just bought a htc desire x and want it to be root, but i have problem when trying to get token id in hasoon2000 HTC Desire X All-In-One Toolkit V2.0 [1-1-2013], it says C:\ Document is not recognized as an internal or external command openable program or batch file.
usb debugging is already connected, please any one kindly fixing my problem, thx
sorry for my bad english. btw i'm from indonesia
Did you follow these steps?
How To Use. THIS IS FOR THE PC ONLY. No plans ever for Mac or Linux. Sorry.
1. Download the toolkit DO NOT RENAME THE FOLDER
2. Download Winrar from here. Install it after you download it
3. Extract the folder anywhere.
4. Run the program.
thx for replying so quick, after i downloaded then i extract to desktop and just run the program by clicking the symbol written as desire, am i doing it right?
Try to unpack it somewhere else on a root of some partition of your PC, try to unpack it to non system partition.
ok thx, i'll try it tomorrow, i'm sorry i've to go home coz it's 11.41pm already in my town, and i'm still on friend's house.
thx anyway for your reply, i'll let you know the progress
hi nlooooo, i did what u told me to do and it worked, i unpacked to (Cdrive, but another problem came on my device when i clicked get token id.
here is the picture shows the problem
@nlooooo.....i just tried your way on rooting this device, and same problem came up on step 8 when getting token id, still it says C:\ Document is not recognized as an internal or external command openable program or batch file, i've found out my device still locked, is it because of the device still lock? here's the image shown
problem solved
hi nlooooo......i've rooted my device, just try to put all the downloaded file to C:drive, and followed your tutorial on your thread, and i succeeded, at least i saw superuser on my device, thx alot for your tutorial.
No problem, that's why we're here. If you see it then it should be it. Try to install some app that requires root privileges (Titanium Backup for ex) and see if it can get SU rights.
hi.....any recommendation of apps or what to do after this rooting? cos i really a noob in android and root things. thx
uso_diario said:
hi.....any recommendation of apps or what to do after this rooting? cos i really a noob in android and root things. thx
Click to expand...
Click to collapse
Yeah install AdFree, and get rid of the ads
ayyu3m said:
Yeah install AdFree, and get rid of the ads
Click to expand...
Click to collapse
Well, it works for me with wifi but not with mobile data, it's configured over APN IP.
nlooooo.....sorry to bother you again, but i think my dx still not rooted, cos when i installed titanium backup root it comes like this, what do i hv to do?
ayyu3m said:
Yeah install AdFree, and get rid of the ads
Click to expand...
Click to collapse
heyyy........thank you
uso_diario said:
nlooooo.....sorry to bother you again, but i think my dx still not rooted, cos when i installed titanium backup root it comes like this, what do i hv to do?
Click to expand...
Click to collapse
Go and open Superuser app, swipe to first screen and see if the binary is installed. Then go and clear data for Titanium and open it again.
If you still have the problem use some root explorer to check folder system/bin if there is a file named su.
nlooooo said:
Go and open Superuser app, swipe to first screen and see if the binary is installed. Then go and clear data for Titanium and open it again.
If you still have the problem use some root explorer to check folder system/bin if there is a file named su.[/QUOTyes..there is binary installed, but it says outdated binary notification ticked
Click to expand...
Click to collapse
That's ok it should be like that. For me Titanium is working fine I have no problems.
nlooooo said:
That's ok it should be like that. For me Titanium is working fine I have no problems.
Click to expand...
Click to collapse
hi nlooooo........finally i got it fixed by start it all over again today........i'm new in this forum, don't know whether i can click your thanks button or not, but i will try it anyway, thx a lot
ps: i think it clicked
uso_diario said:
hi nlooooo, i did what u told me to do and it worked, i unpacked to (Cdrive, but another problem came on my device when i clicked get token id.
here is the picture shows the problem
Click to expand...
Click to collapse
I've got the same screen too, nothing is happening. What did you do to make it work?
i am getting stuck at last step i am always getting this message sending 'unlocktoken' (0kb) .
i have not installed htc sync app but just directly installed the drivers for unlocking purpose.
the boot loader is recognizing the usb connection as Fastboot usb.
using windows 7 32 bit operating system.
tried putting the unlock_code in c drive and desktop but it doesnt work.
the file is just a 1kb file.
the default view is shown as a vlc player file.
any help will much appreciated. this is my 1st htc mobile and am not used to this kind of rooting. previously owned a samsung so was using odin a lot.

VRoot to SuperSU Installer

VRoot Cleanup Tool - Easily replace VRoot with SuperSU
From your Windows PC​
OK everyone, here's the deal. I did the VRoot the toher day on my phone and it worked great. The problem is that it can be tricky to get the old Chinese Superuser app and SU binaries updated to SuperSU. As a result I decided to put this tool together to help update the VRoot files to SuperSU, and get rid of the old VRoot ones. What this means is that you can now clean up the Chinese Super User app and completely install SuperSU with a single click, from your Windows PC.
How to use:
Download Root Cleanup from here: https://www.dropbox.com/s/sto74q58uq4r1bj/root_cleaner.zip
Extract it to a folder on your computer.
Open the new folder and double click the clean_root.bat file.
Follow the directions.
** You will want to make sure that USB debugging is on (which it should be from VROOT) and that VRoot is closed when you run this. **
Also note I only have one phone to test with, and it worked great on the one I have. Please let me know if you have any other issues and I will try my best to help. Also, as always, not responsible for problems . <3
Edit: I just got asked via PM if this is to be run after freezing VRoot, etc. So I wanted to add here in case anyone else wondered. With this tool you do not need to freeze VRoot, delete any files, etc. My script will literally take care of everything for you. So, run VRoot and the phone will reboot. You can immediately close VRoot on your computer and run this to completely replace VRoot with SuperSU, and remove VRoot files.
This is my first time writing something like this, but so far I have a lot of people who told me it works fine. Please let me know if you have issues and Ill do my best to help! I went ahead and created this thread at the request of some people who have had good success with this on the other thread here: http://forum.xda-developers.com/showthread.php?t=2511815&page=29
Update: V4 is up - this version makes sure that ADB is accessible. Thank you @k1mu for helping me with this!
I want to ask you, why do you think the process on i9505 hangs on the line "cleaning up files" and does not automatically reboot the phone? You need to manually reboot it.
For the rest it works great!
Thank you
fabrilas said:
I want to ask you, why do you think the process on i9505 hangs on the line "cleaning up files" and does not automatically reboot the phone? You need to manually reboot it.
For the rest it works great!
Thank you
Click to expand...
Click to collapse
My guess would be these lines:
adb shell "su -c 'rm /dev/com.mgyun.shua.su'"
adb shell "su -c 'rm /dev/com.mgyun.shua.su.daemon'"
adb shell "su -c 'rm -rf /dev/com.mgyun.shua.su'"
adb shell "su -c 'rm -rf /dev/com.mgyun.shua.su.daemon'"
The issue is that I cant remember if com.mgyun.shua.su and com.mgyun.shua.su.daemon are directories or files. If you could confirm for me which they are then I will be happy to fix my tool!
Thx
Angie
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Works also with Galaxy S4 Italy Gt-i9505 :good:
ComputerBro2 said:
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Click to expand...
Click to collapse
If you are getting device not found that typically means that ADB is not able to access or find the phone. I would make sure that you close the VRoot tool as it will keep the debugging bridge tied up, and give you a device not found error. After you root you need make sure VRoot is closed before running my tool.
ComputerBro2 said:
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Click to expand...
Click to collapse
That "adb is not recognized.. " is because the batch file is not running with it's current directory in the folder where you extracted it.
@LilTechPrincess -
adding "cd %~dp0"
at the start of the clean_root.bat will ensure that it's able to find the files that it needs since that'll CD to the drive and path where the clean_root.bat was extracted.
LilTechPrincess said:
If you are getting device not found that typically means that ADB is not able to access or find the phone. I would make sure that you close the VRoot tool as it will keep the debugging bridge tied up, and give you a device not found error. After you root you need make sure VRoot is closed before running my tool.
Click to expand...
Click to collapse
okay i just needed to update my drivers witch is odd cause i just did it yesterday hmm. Anyway now it runs fine but it wont prompt me on my phone to allow root access to adb
ComputerBro2 said:
okay i just needed to update my drivers witch is odd cause i just did it yesterday hmm. Anyway now it runs fine but it wont prompt me on my phone to allow root access to adb
Click to expand...
Click to collapse
So did it fix your root to SuperSU?
Also, does anyone know how I can prompt root to ADB easier than this? Currently I am doing this to try and force the Superuser prompt:
adb shell "su -c 'touch /sdcard/invoke-root'"
If anyone knows how to do this better please let me know!
k1mu said:
That "adb is not recognized.. " is because the batch file is not running with it's current directory in the folder where you extracted it.
@LilTechPrincess -
adding "cd %~dp0"
at the start of the clean_root.bat will ensure that it's able to find the files that it needs since that'll CD to the drive and path where the clean_root.bat was extracted.
Click to expand...
Click to collapse
Thank you very much for the help! Im still a newb! haha Anyhow, I updated my tool with your suggestion.
LilTechPrincess said:
So did it fix your root to SuperSU?
Also, does anyone know how I can prompt root to ADB easier than this? Currently I am doing this to try and force the Superuser prompt:
adb shell "su -c 'touch /sdcard/invoke-root'"
If anyone knows how to do this better please let me know!
Click to expand...
Click to collapse
No the adb won't start on my phone
It say to me
rm failed for /sdcard/install-recovery.sh, No such file or directory
And now ? xD
Does it also say no device found?
Sent from my SCH-I545 using Tapatalk
Bfitz26 said:
Does it also say no device found?
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
No it freze on this
rm failed for /sdcard/install-recovery.sh, No such file or directory
when i disconnect the pone say not found for 4 or 5 times and finish
---------- Post added at 08:49 PM ---------- Previous post was at 08:28 PM ----------
I tri 3 times
try to wipe all data.
Next try is to reinstall last firmware update whit odin or it trip my knox 0x0 to 0x1 ?
MexyHKR said:
It say to me
rm failed for /sdcard/install-recovery.sh, No such file or directory
And now ? xD
Click to expand...
Click to collapse
Thats not a big deal. Basically, I removed the /sdcard/install-recovery.sh from the script earlier and forgot to not try and delete a file that doesnt exist... Ill fix that! haha That doesnt hurt anything at all. Sowwy!
Ok now im freeze on Cleaning Up Files....
Your link is down
Tomsgt said:
Your link is down
Click to expand...
Click to collapse
The link has 2 hh's in the http
eklipz3 said:
The link has 2 hh's in the http
Click to expand...
Click to collapse
thanks did notice that
Finaly dont work on my GS4
PDA: I9505XXUEMJ7
MODEM: I9505XXUEMJ7
CSC: I9505ITVEMJ8
Try 2 times after full wipe and emergency firmware restore.
Freeze on Cleaning etc...
Now need to go sleep 1:06AM in italy
Good night and sorry for bad speak
I speak like a fish trying to speak Russian

Categories

Resources