Related
I am having a bit of difficulty rooting my g2. I am not sure if its related to my os or not but i can not get it to work.
I have followed this and tried it all kinds of different ways.
addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/[/url]
I can get to my run command after doing all of that and it shows my serial number after typing adb devices but after that i can't enter any info in the sdk run command promt.
I have not been able to gain temp root yet because it won't let me enter the commands. I went to try to re-install java/sdk manager yet again and now it says java is not in the right path.
Any help?
If you're having troubles with ADB, why use it? You don't need ADB anymore to root the G2. It can all be done by placing the files on the SD card and running Terminal Emulator on the phone. You can run any of the prompts from ADB in the phone instead. I rooted my first G2 this way. It took some getting used to coming from a phone with a 1-click root, but it wasn't hard.
Check the Wiki, pretty sure it outlines this method as well.
martonikaj said:
If you're having troubles with ADB, why use it? You don't need ADB anymore to root the G2. It can all be done by placing the files on the SD card and running Terminal Emulator on the phone. You can run any of the prompts from ADB in the phone instead. I rooted my first G2 this way. It took some getting used to coming from a phone with a 1-click root, but it wasn't hard.
Check the Wiki, pretty sure it outlines this method as well.
Click to expand...
Click to collapse
Do you have a link for that method i would be glad to try it but i am not sure what to search for, cant find it under rooting g2 with sd card
Also i am trying to gain permanent root if possible
901-Memphis said:
Do you have a link for that method i would be glad to try it but i am not sure what to search for, cant find it under rooting g2 with sd card
Also i am trying to gain permanent root if possible
Click to expand...
Click to collapse
Yep let me grab a link for you (theres actually a video tutorial I wanna try and find). But basically instead of using ADB to push the files to the correct location, you just have to manually put the files in the right locations on the SDcard, which is where ADB pushes them anyways.
K so I followed this method: http://www.youtube.com/watch?v=tU9zn_BEth4
The files he refers to are in this thread: http://forum.xda-developers.com/showthread.php?t=833965
Now different people have had different issues with this. I personally had some issues where it tells you to run #sync, because my perm root wouldn't stick properly after reboot. If this doesn't work properly, I'm sure someone can help you with your drivers to get ADB working.
I should also say that you don't necessarily have to do this method with the initial temp root via visionary, you can simply do the one outlined in the Wiki for rooting (aka http://forum.xda-developers.com/showthread.php?t=834228 ), but just place the files manually and run the commands in terminal emulator.
If you got the adb devices command to work you are actually in good shape. You are supposed to enter all of the commands from what you are calling the "run command" prompt anyway (the one you used for adb devices).
martonikaj said:
I should also say that you don't necessarily have to do this method with the initial temp root via visionary, you can simply do the one outlined in the Wiki for rooting (aka http://forum.xda-developers.com/showthread.php?t=834228 ), but just place the files manually and run the commands in terminal emulator.
Click to expand...
Click to collapse
Unfortunately this won't work (if you don't want to use ADB, Visionary must be used to get temp root). ADB is needed in order to push the files directly to the phone. If you try copying the files to the SD card first, you won't have the correct permissions to copy the files to the phone in Terminal. You are also not allowed to execute programs directly from the SD card (mounted as noexec), so you can't try to obtain temp root from there. If you want to use the gfree method of rooting without using ADB, I made a guide using Visionary for the temp root here: http://forum.xda-developers.com/showthread.php?t=928160.
But the OP actually has ADB working, so he should be able to use any of the guides.
This is the error i get now if i try to enter anything in the sdk manager run prompt box. Is there some place else i should be entering the commands?
Uploaded with ImageShack.us
901-Memphis said:
This is the error i get now if i try to enter anything in the sdk manager run prompt box. Is there some place else i should be entering the commands?
Click to expand...
Click to collapse
You are supposed to be using the regular command prompt (I think you referred to it as the "run command prompt" earlier). It is the prompt in which you successfully ran the "adb devices" command. That is the only prompt you need to use.
Do i enter commands 1 at a time or all at once?
901-Memphis said:
Do i enter commands 1 at a time or all at once?
Click to expand...
Click to collapse
First off, Yes you enter each line as you see it.
Second just to make sure you are in the right area to enter these commands, to get to command prompt you can either search for it from the start menu or hold the "windows button + R".
That opens your run command from there type in "cmd" and that opens command prompt.
Next make sure your current directory is the one you installed adb into. To get to that you can type "cd C:/...... whatever folder you installed it to."
To make sure my adb is working I usually type "adb devices" and see if my phone shows up.
Good luck
Glad to see someone else from the good ole 901 around here =)
Sent from my HTC Vision using XDA App
Okay does anyone have a better guide to rooting?
I got all the way to pushing all the files on the sd card and running the terminal emulator where it shows forked children, reboots the terminal emulator and then i can not enter /data/local/gfree -f
sync
It wont find that file
901-Memphis said:
Okay does anyone have a better guide to rooting?
I got all the way to pushing all the files on the sd card and running the terminal emulator where it shows forked children, reboots the terminal emulator and then i can not enter /data/local/gfree -f
sync
It wont find that file
Click to expand...
Click to collapse
try pushing the file to that folder again
Re-Tried everything at least 3 times, including pushing the files that didn't go.
I give up Ive spent so much time on this only to have it fail at the most unlikely times.
Will wait for another method to root come available
You could try downloading and installing Droid Explorer. It installs adb and fastboot files in its install folder.
Are you sure you actually pushed all of the needed files to your phone correctly (i.e., no errors appeared when doing so)? Which guide are you following and what were the specific errors you are getting? Once you have temp root, running gfree and obtaining permanent root only takes a few more minutes...
Also, did you try any other guides (like the one I linked to earlier)? If you are waiting for a new method of rooting, you might be waiting for a while (since the existing methods work, I don't know how actively people are working on new methods).
ianmcquinn said:
Are you sure you actually pushed all of the needed files to your phone correctly (i.e., no errors appeared when doing so)? Which guide are you following and what were the specific errors you are getting? Once you have temp root, running gfree and obtaining permanent root only takes a few more minutes...
Also, did you try any other guides (like the one I linked to earlier)? If you are waiting for a new method of rooting, you might be waiting for a while (since the existing methods work, I don't know how actively people are working on new methods).
Click to expand...
Click to collapse
Using this guide
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
I get an error when i attempt to enter this into the emulator on my phone
adb shell chmod 777 /data/local/gfree
and it doesn't do anything
901-Memphis said:
Using this guide
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
I get an error when i attempt to enter this into the emulator on my phone
adb shell chmod 777 /data/local/gfree
and it doesn't do anything
Click to expand...
Click to collapse
You are supposed to do that command from your computer. (The instructions state "On the computer, open terminal and type the following commands".) Here, terminal means the command prompt that you've been running all of you other ADB commands from.
If you wanted to run the command from terminal on your phone, you would just type "chmod 777 /data/local/gfree".
You don't need ADB for G2s.
trance2315 said:
You don't need ADB for G2s.
Click to expand...
Click to collapse
Can someone link me a better guide for my G2 so that i can try this 1 more time ?
Maybe a link to the top choices for versions of android to run once i get it rooted?
Hey All.
I have a new Aria with a stock 2.2 build, and the associated Bootloader but I want to get root access to see if I can address my Bluetooth issues
All evidence points to me needing to edit /system/etc/bluetooth/audio.conf but without getting root access I can’t even read the file let alone edit it, so this is still a guess.
Any way we have lots of dodgy little phone shops around Melbourne, and odds on at least one will have an XTC clip. So what is it I actually want them to do?
I know I need to end up with a copy of su in system/bin, Is that what I am asking for? Or am is that not what is required?
FALCON-LORD said:
Hey All.
I have a new Aria with a stock 2.2 build, and the associated Bootloader but I want to get root access to see if I can address my Bluetooth issues
All evidence points to me needing to edit /system/etc/bluetooth/audio.conf but without getting root access I can’t even read the file let alone edit it, so this is still a guess.
Any way we have lots of dodgy little phone shops around Melbourne, and odds on at least one will have an XTC clip. So what is it I actually want them to do?
I know I need to end up with a copy of su in system/bin, Is that what I am asking for? Or am is that not what is required?
Click to expand...
Click to collapse
You would like them to turn security off on the phone and put it in a S-OFF state. With S-OFF, you would be able to flash a custom recovery and gain root access.
So does this mean I can't just insert the binaries i require into the existing OS?
There appear to be some one touch solutions for some ROMs (Universal Androot) wouldn't this indicate that you can just apply the binaries?
FALCON-LORD said:
So does this mean I can't just insert the binaries i require into the existing OS?
There appear to be some one touch solutions for some ROMs (Universal Androot) wouldn't this indicate that you can just apply the binaries?
Click to expand...
Click to collapse
The problem with temporary root on the Aria is the Security Flag (S-ON). As long as that is enabled, you cannot mount the /system partition in Read/Write mode so that you can push new binaries. With the Aria you need to mount the /system partition from ClockworkMod in order to push new binaries to it.
tpbklake said:
The problem with temporary root on the Aria is the Security Flag (S-ON). As long as that is enabled, you cannot mount the /system partition in Read/Write mode so that you can push new binaries. With the Aria you need to mount the /system partition from ClockworkMod in order to push new binaries to it.
Click to expand...
Click to collapse
O.K. So from that statement am I right to assume that you set S-Off, apply your ROM (Or push your binaries) then set S-On so that you can mount it and boot.
How does Universal Androot work then? It would have to push the binaries on without setting S-Off?
FALCON-LORD said:
O.K. So from that statement am I right to assume that you set S-Off, apply your ROM (Or push your binaries) then set S-On so that you can mount it and boot.
How does Universal Androot work then? It would have to push the binaries on without setting S-Off?
Click to expand...
Click to collapse
Once you s-off your phone you would leave it s-off, no need to put it back to s-on and why would you want too?
My phone is s-off, I can flash the official 2.2.2 rom and then turn around and easily get back to a different rooted rom any time I want by flashing a custom recovery followed by the rom of choice.
FALCON-LORD said:
O.K. So from that statement am I right to assume that you set S-Off, apply your ROM (Or push your binaries) then set S-On so that you can mount it and boot.
How does Universal Androot work then? It would have to push the binaries on without setting S-Off?
Click to expand...
Click to collapse
You cannot set the security flag on the Aria with HBOOT 1.02 via any software method. That is the reason why you cannot gain permanent root using Unrevoked anymore. On HBOOT 1.02 you can only turn S-OFF by using the XTC Clip hardware. As A$$h5t pointed out, once you get S-OFF, you do not want to turn security back on.
What I was trying to say was even if Universal Androot could get you temporary root on the Aria HBOOT 1.02, it would not be able to turn security off so and mount the /system partition in Read/Write mode.
tpbklake said:
You cannot set the security flag on the Aria with HBOOT 1.02 via any software method. That is the reason why you cannot gain permanent root using Unrevoked anymore. On HBOOT 1.02 you can only turn S-OFF by using the XTC Clip hardware. As A$$h5t pointed out, once you get S-OFF, you do not want to turn security back on.
What I was trying to say was even if Universal Androot could get you temporary root on the Aria HBOOT 1.02, it would not be able to turn security off so and mount the /system partition in Read/Write mode.
Click to expand...
Click to collapse
O.K. I think I have it now.
So you used to be able to mount the system partition on the phone with S-OFF, the change they made in HBOOT 1.02.000 is what stops it. Thus Universal doesn’t work, and you can’t play on the system partition in the same way. So not only do you now need the XTC Clip, but the options open to you even with that are still more limited than they were…
Is that about right?
[EDIT]
O.K. After re-reading I see that assessment is wrong.
It is that The Clip sets S-Off, which mounts system as rw, then anding su is a separate issue…
Wouldn’t this mean that Universal could theroeticaly work on a system where s-off has been set?
[/EDIT]
FALCON-LORD said:
O.K. I think I have it now.
So you used to be able to mount the system partition on the phone with S-OFF, the change they made in HBOOT 1.02.000 is what stops it. Thus Universal doesn’t work, and you can’t play on the system partition in the same way. So not only do you now need the XTC Clip, but the options open to you even with that are still more limited than they were…
Is that about right?
Click to expand...
Click to collapse
Almost.
Prior to HBOOT 1.02, with ClockworkMod recovery installed, it was able to temporary turn security off and on to mount the /system partition. On the Aria we were never able to get permanent S-OFF via a software solution like some of the other HTC models.
With the XTC Clip, you can now get permanent S-OFF on the Aria which will give you more options, not less options than before. With S-OFF, you are able to mount both the /system and the /recovery partition in Read/Write mode, so you can not only install new ROMs, but also different custom recovery.
FALCON-LORD said:
O.K. I think I have it now.
[EDIT]
O.K. After re-reading I see that assessment is wrong.
It is that The Clip sets S-Off, which mounts system as rw, then anding su is a separate issue…
Wouldn’t this mean that Universal could theroeticaly work on a system where s-off has been set?
[/EDIT]
Click to expand...
Click to collapse
Yes and yes.
O.K. So with that in mind, I go an get the Droid Clipped, it will now be S-Off, which means /system will be set to rw.
Now I need to get su into system/bin, which I won’t have permissions for, that is the next challenge right?
So is there a way to do that without using an entirely custom ROM?
FALCON-LORD said:
O.K. So with that in mind, I go an get the Droid Clipped, it will now be S-Off, which means /system will be set to rw.
Now I need to get su into system/bin, which I won’t have permissions for, that is the next challenge right?
So is there a way to do that without using an entirely custom ROM?
Click to expand...
Click to collapse
I believe once you are s-off you can just adb push it to /system/bin.
Also, there are 2.2.2 roms out there which are basically the stock rom already rooted and ATT crap removed if you want to stay close to stock.
A$$h4t said:
I believe once you are s-off you can just adb push it to /system/bin.
Also, there are 2.2.2 roms out there which are basically the stock rom already rooted and ATT crap removed if you want to stay close to stock.
Click to expand...
Click to collapse
The copy I have doesn’t have all the AT&T Crap, it is a generic unlocked build.
That then means the next question is where do I get a adb to push in su?
[EDIT]
O.K. Further research shows that my question makes no sense…
How do I get a copy of su to push onto the phone using adb
Any quick link to a guide to set up a dev environment and adb?
[/EDIT]
[RE-EDIT]
O.K. I now have ADB Sorted and am punting around on the phones system.
Now what?
Obviously get the phone clipped to make the system volume RW.
But that still doesn't give me the rights to push a file onto the phone, so then what? (And where do i get the file to push?)
I note that originally a version of su was on the phones that only worked from adb. for my current purposes this would suffice
[/RE-EDIT]
FALCON-LORD said:
The copy I have doesn’t have all the AT&T Crap, it is a generic unlocked build.
That then means the next question is where do I get a adb to push in su?
[EDIT]
O.K. Further research shows that my question makes no sense…
How do I get a copy of su to push onto the phone using adb
Any quick link to a guide to set up a dev environment and adb?
[/EDIT]
[RE-EDIT]
O.K. I now have ADB Sorted and am punting around on the phones system.
Now what?
Obviosly get the phone clipped to make the system volume RW.
But that still doesn't give me the rights to push a file onto the phone, so then what? (And where do i get the file to push?
[/RE-EDIT]
Click to expand...
Click to collapse
With the system in an S-OFF state, you can use HBOOT to flash a custom rooted ROM or custom recovery (ClockworkMod) by copying the associated ZIP file to the root of your microSD card and name it LIBEIMG.zip. Next time you boot into HBOOT, it will find the zip file and attempt to install it.
Once you get the Aria clipped, I would pay a visit to the Aria IRC chat room for more specifics and questions. These guys will be able to assist you on the best steps to take.
http://webchat.freenode.net/?channels=#liberatedAria
Follow the directions in this post: http://forum.xda-developers.com/showpost.php?p=13650005&postcount=67
(Not the quoted part, the part that attn1 says to do.) This should install Clockwork on your phone.
Oh, and adb is in the platform-tools folder of the Android SDK and fastboot is in tools folder.
FALCON-LORD said:
O.K. So with that in mind, I go an get the Droid Clipped, it will now be S-Off, which means /system will be set to rw.
Now I need to get su into system/bin, which I won’t have permissions for, that is the next challenge right?
So is there a way to do that without using an entirely custom ROM?
Click to expand...
Click to collapse
S-OFF alone does not make system r/w. You will still have a secure boot image.
The next step will be installing custom recovery, which is a snap once you have S-OFF. From there, you can install whatever you want on system, or flash rooted stock ROMs, or just root routines.
FYI, most people are not happy with just root access; they eventually will want basic busybox services and the ability to customize on the fly.
Come into the IRC channel in my sig if you have questions.
With Radio S-OFF fastboot flash image won't work directly, but this will work to install clockworkmod simply and easily:
Prerequisites:
HTC android usb device driver (if you use windows)
adb and fastboot utilities for your platform
Code:
adb reboot bootloader
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip clockwork2501.zip
fastboot reboot
Download:
MD5: 5d01f06af3ce99f27d23cf8a2df47926 clockwork2501.zip
Thanks tpbklake, drumist & attn1, I think I am getting close to feeling ready to do this.
So as I see it have to do the following.
Prerequisite items
Install HTC Sync (USB Driver)
Install Oracle JDK (Prerequisite for SDK)( http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html )
Install SDK (for ADB) (http://developer.android.com/sdk/index.html )
Get copy of clockwork.zip ( http://forum.xda-developers.com/attachment.php?attachmentid=591945&d=1305031790 )
So Once I have all of the ingredients perform the following actions
Find somewhere with an XTC clip to set S-Off
Go home and plug the phone into the PC
Copy clockwork.zip to the root of SD Card
Open a cmd prompt at adb directory (C:\Program Files\Android\android-sdk\platform-tools and enter the following commands
Code:
adb reboot bootloader
cd C:\Program Files\Android\android-sdk\tools
Code:
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip clockwork2501.zip
fastboot reboot
So from my reading it appears doing this means I can now load things onto the system partition, by copying them as a zip package onto the SD and then booting into CWM and selecting “install zip from sdcard” and this will allow me to install su.
Is that about the length of it?
So I still need a zip with su in it and then I am able to raise my privileges?
A few corrections:
1) You don't have to install the Oracle JDK for what you are doing, you can skip that step completely.
2) Don't place the clockwork.zip on the SD card. You need to have it on your computer, and it will copy the file over to your phone when you issue the fastboot command. You will want to place it in the tools folder.
3) Before you run the adb/fastboot commands, type the following at the command prompt:
Code:
path %PATH%;C:\Program Files\Android\android-sdk\platform-tools
After doing this you can run all commands from the \tools folder, including adb, until you close that command line box.
4) I believe you need the HBOOT drivers installed on your system (this is in addition to the HTC Sync drivers). Follow the installation directions here: http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
drumist said:
A few corrections:
1) You don't have to install the Oracle JDK for what you are doing, you can skip that step completely.
2) Don't place the clockwork.zip on the SD card. You need to have it on your computer, and it will copy the file over to your phone when you issue the fastboot command. You will want to place it in the tools folder.
3) Before you run the adb/fastboot commands, type the following at the command prompt:
Code:
path %PATH%;C:\Program Files\Android\android-sdk\platform-tools
After doing this you can run all commands from the \tools folder, including adb, until you close that command line box.
4) I believe you need the HBOOT drivers installed on your system (this is in addition to the HTC Sync drivers). Follow the installation directions here: http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
Click to expand...
Click to collapse
Thanks Drumist.
The SDK package wouldn’t install without the JDK installed, so that is why I have added that in, I have changed my steps for where to put clockwork, thanks for the line on path (I should have done that initially…)
Once I have done all of this then I take it I follow some instructions like these?
http://geeknizer.com/how-to-root-motorola-droid/
can I use the su package they have linked there? It looks like these instructions were written for a much earlier droid release.
I take it if that is correct it will look more like this..
Code:
cd C:\Program Files\Android\android-sdk\platform-tools
adb push su /data/local
adb shell su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin mv su osu
cat /data/local/su > su
chmod 6755 su
I'm not sure what the best method is to root an unrooted ROM. My personal recommendation is to just install one of the ROMs from this site that already have root. You can always make a Nandroid backup first in case you don't like the subtle differences between those ROMs and the one you're using now.
Hey guys, i rooted my Desire Z with these Tutorials out there and i recognized not everything is that clear and easy to understand if you are a noob like me with this stuff. First i want to say that im from austria and so please ignore when my english is not that good.
Now just start here. When you are done with that all you can have any rom running on youre phone, but i recommend the ones designed for the desire z.
>>> Click here to read the full tutorial on my website with fast download links. ;D
!!! BEFORE YOU START YOU MUST CREATE A BACKUP OF ALL YOR DATA YOU HAVE ON YOUR PHONE !!!
Don't worry, youre friut ninja scores are still on feint.
1. First you will have to install ADB. If you have it skip that part.
Just head over here: http://developer.android.com/sdk/index.html
Download the .zip archive and extract "android-sdk-windows" to C:\
Now run SDK Manager.exe and let it install everything. This could take looooong hours...
2. Now you have to check the infocid of your Desire Z. Make sure the developement mode is turned on (USB-Debugging).
Open up a cmd window on your PC (Windows Key + R and type "cmd") and type:
Code:
cd C:\android-sdk-windows\platform-tools
adb reboot bootloader
fastboot oem boot
If your INFOCID doesnt match the following you'll need a goldcard to continue (Get it here: http://forum.xda-developers.com/showthread.php?t=832503 ).
Code:
HTC__001
HTC__032
HTC__E11
HTC__203
HTC__Y13
HTC__102
HTC__405
HTC__304
HTC__A07
HTC__N34
HTC__J15
3. So now you have to download 3 Files:
>>> http://wede.devftw.com/downloads/psneuter
>>> http://www.multiupload.com/A9PNGVBWBE
>>> http://www.multiupload.com/9L618DJVR6
Broken link? Click here: W3D3 @ devFTW
IMPORTANT! When you save psneuter remove the txt file extention, it should hav none!
4. Extract the file misc_version from misc_version_01.zip (just downloaded in step 3). Just ignore the rest. Put that file to C:\android-sdk-windows\platform-tools.
5. Get the PC10IMG.zip from here: http://www.multiupload.com/GH26HXLLES
6. Now you open the cmd again and type following commands: (type cd C:\android-sdk-windows\platform-tools first if youve closed the window)
Code:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell
7. Congrats if you now see a #! You now have root access.
If you see a $ something went wrong here. Just go back to step 1 and check youve done everything right.
8. Beside the # type:
Code:
/data/local/tmp/misc_version -s 1.33.405.5
exit
9. Now copy the 1.34.405.5_PC10IMG.zip to youre phone's SD card (Download in step 5) and rename it PC10IMG.zip
10. Now boot youre phone's bootloader with following commands:
Code:
adb reboot bootloader
Or you can just switch youre phone off. Switch it on again while you press the power button and the trackpad together.
You now see the bootloader screen with the 3 android skaters on the bottom.
11. Select BOOTLOADER.
Wait a few seconds.
Then the Bootloader will load our PC10IMG.zip
When asked for update press VOL UP to confirm.
Now wait and restart your phone when prompted.
12. When you check your version at your phone now it should say "1.34". Youre desire z is now downgroaded.
13. Enable USB-Debugging again.
14. Extract the contents in root.zip to the platform-tools folder.
15. Now type that in cmd:
Code:
adb install AndroidTerm.apk
adb push busybox /data/local/tmp/
adb push gfree /data/local/tmp/
adb push rage /data/local/tmp
adb push root /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/*
adb push su /sdcard/
adb push Superuser.apk /sdcard/
16. Start the new app "Terminal Emulator" on your phone and type:
Code:
/data/local/tmp/rage
After a while you'll see the message: "Forked [number] childs"
Press MENU > reset terminal
The terminal will close.
Start it again. It will force close.
Start it again. You should see the # sign again.
Beside it write following:
Code:
/data/local/tmp/gfree -f
After that type:
Code:
/data/local/tmp/root
sync
This will root your phone. When you get that message "mkdir: /system/xbin already exists", don't worry everything is ok.
After that restart your phone.
17. Install ROM Manager from market. Install The ClockworkMod Recovery.
After that you should go to "restart to recovery-system"(or similar) and from there you chose Backup/Restore and create a backup from your current rom.
(Note that you chose with the trackpad in Clockwork and not with the power button like in the bootloader)
When that's done you can come back to that status everytime you want.
(How to Restore when something isnt working:
- Start the device with trackpad holded.
- Chose Fastboot in Bootmanager. (if he asks for update again you forgot to remove the PC10IMG.zip from your SD)
- Chose Recovery
- ClockworkMod Recovery will show up
- Go to Backup/Restore and chose your Backup to restore
- Done. )
18. In RomManager chose Download ROM or install from SD card when you've found a ROM you like.
19. When it's done loading and there is a small window with 3 points make sure the 3rd AND the 2nd is chosen! if you forget to chose the 2nd point youre phone will make bootloops!
ENJOY your rooted DESIRE Z!
(Credits go to g4rb4g3 for the great solution of downgroading)
Please hit Thanks if you liked the Tut.
i recommend visionary/gfree no adb but to each his own
pimped out g2
The visionary-gfree no-adb method is awesome.. used it myself. But doesn't really apply to the Desire-Z, which is what the OP has.
killswitch11 said:
The visionary-gfree no-adb method is awesome.. used it myself. But doesn't really apply to the Desire-Z, which is what the OP has.
Click to expand...
Click to collapse
Yes it does, i have one, and it worked perfect for me
oh snap!! my bad..all i saw was g2 root...score 1 for killswitch
pimped out g2
I heard that there is a high brick risk using visonary?
Sent from my HTC Vision using XDA Premium App
only for permroot
pimped out g2
I permrooted my desire z with the tutorial above and everything is working fine - i tried visionary before but didn't worked for me.
Sent from my HTC Vision using XDA Premium App
Thanks, rooted my bell desire z with this guide.
pretty exhausting explanation. A big thank you....
How different is this from the guide in the wiki?
slapshot30 said:
How different is this from the guide in the wiki?
Click to expand...
Click to collapse
Hi!
It's similar to the wiki method but uses older versions of the tools and some tools and procedures are redundant (i.e. using psneuter for temp-root to downgrade but rage for temp-root during the gfree procedure).
If you know how to use adb, follow the wiki, if not follow the visionary temp-root plus gfree guide that is somewhere around here.
Have fun - Guhl
backarelli said:
pretty exhausting explanation. A big thank you....
Click to expand...
Click to collapse
Infact, it is a concise tutorial
You dont need to open many links just to know how to root.. unlike the time before this thread exist
Thanks to the OP
Glad you all like it
Sent from my HTC Vision using XDA Premium App
Hi,
I got a question before I jump off the bridge and root/flash/stress.
My phone is still on the branded bellmobility firmware, but it is unlocked. Since I only want to get rid of bell stuff and install an official HTC WWE ROM, do I have to follow your guide and root the phone to flash it ? Or can I follow only the flash part and flash an official ROM without rooting ?
Thx
I was able to root my girlfriend's G2 that was still on 2.2 by using this method:
http://archive.rootzwiki.com/index.php/Smartphones/HTC-Corporation/HTC-Desire-Z/G2.html
My coworker recently got a replacement G2 and it shipped back to her with 2.3 on it. We're just wondering if we're able to use the same perm root process that we used for my girlfriend's G2 (2.2)
If u dont want to permroot but u want roms I suggest u at least temp root using visionary, z4root, or one of the othrr one click methodz. If u browse the forums people have gottin into trouble not bein rooted. Then if u dont like it u can reboot and itll go back
ElNiNi0 said:
Hi,
I got a question before I jump off the bridge and root/flash/stress.
My phone is still on the branded bellmobility firmware, but it is unlocked. Since I only want to get rid of bell stuff and install an official HTC WWE ROM, do I have to follow your guide and root the phone to flash it ? Or can I follow only the flash part and flash an official ROM without rooting ?
Thx
Click to expand...
Click to collapse
You can also use temproot which means that you can use all the root functions (flashing included) till you reboot.
I thought of that method before but when you wanna play around with the different roms to find out which is the best permroot would be great. (Look @ the guide)
I dont know much about temproot so just head over to another thread in xda to find out more about that method.
Its your choise.
Sent from my HTC Vision using XDA Premium App
letsgophillyingeneral said:
...
My coworker recently got a replacement G2 and it shipped back to her with 2.3 on it. We're just wondering if we're able to use the same perm root process that we used for my girlfriend's G2 (2.2)
Click to expand...
Click to collapse
Hi!
No, the 2.3.3 version that T-Mobile/HTC are shipping as replacement (by accident) are not rootable at all (at the moment).
There is currently no published temp-root method for this release and therefor it can also not be S-OFFed or perm-rooted.
Have fun - Guhl
Sent from my HTC Vision using XDA App
I have been thinking about rooting my desire z for a while now, just made a backup.
got the android sdk, and adb working, but i cant get the infocid, "fastboot oem boot" doesn't work? why? what to do?
well just skipped the part, worked just fine whit out goldcard. i'm rooted now
Hi all,
I appreciate this forum is cram packed with info, but for me as a newb...I can't see the woods for the trees :-(
I have a stock Orange D-HD ( A2.3.3 with sense 2.1 ) and basically just want to unlock it to use an O2 sim.
I have previously flashed WM6 cooked roms onto Kaisers / Hermes & Himyies so do understand the basic principle. And I grasp the basic point about rooting as I have flashed a Superpad device too.
http://forum.xda-developers.com/showthread.php?t=964996
So I started to follow the above tutorial thread and downloaded Visionary+ and S-OFF etc.
But even though I set USB root debugging, when I run Visionary+ to temp-root, my DHD just runs the triange message a few seconds and then just goes blank.
Is there an alternative way to root instead of visionary+ ???
Someone pls help me get past the first hurdle and root my device
Thanks
I got stuck too but...
Did u try ticking the 'root on startup or reboot' option? then restart. it may take a few goes, u'll probably notice Superuser has been installed then Temproot should happen next reboot. Permroot's the same, may take a few times to stick. To test if ur root has worked try installing Titanium Backup from market, u'll need it once ur rooted.
If you have a Stock HTC with Android 2.3.3 you need to downgrade the software version first before you can use visionary.
[GUIDE] How to downgrade 1.7x/1.8x/2.x to 1.32.405.6
ahh ok, will do.
None of this was mentioned in the guide link I mentioned in the original post. It would be worthwhile for that guide to be modded to reflect the fact a downgrade is needed.
"Open up a cmd and go to Downgrade folder"...is this done on the PC or the phone??? don't understand...
hey, have you created a goldcard mentioned in section 1 of the tutorial?
ermm,, nope
I wasn't sure I needed to as it seemed to be related to branded phones. Mine is locked to orange at present....but it doesn't have an orange splash screen or any orange logo on the phone casing. Thought if my 'build' number had '405' in the middle...that this meant I didn't need a goldcard creating...
wrong or right peeps??
ebod said:
None of this was mentioned in the guide link I mentioned in the original post.
Click to expand...
Click to collapse
Ehem......
wid0w said:
If your Desire HD is running stock firmware 1.7x, please check this guide in order to downgrade:
http://forum.xda-developers.com/showthread.php?t=905003
Click to expand...
Click to collapse
and
wid0w said:
Basic Setup
...
- Desire HD with lower than 1.7x stock ROM
...
Click to expand...
Click to collapse
I think the guide captures every detail.
for3st said:
Ehem......
and
I think the guide captures every detail.
Click to expand...
Click to collapse
All very well if you understand what a rom is. My software page is full of 2.50 , 2.6 type numbers and nothing below 1.7....hence my comment.
Also, I've made a goldcard out of a spare 1gb sd, and copied PD98img.zip to it. So for the next bit....do I now put that goldcard in my HTC and connect to the PC whilst set in USB debugging enabled mode.
Then do I put this lot below into the win-xp pc 'run' box line by line or one whole lump?:-
adb push misc_version /data/local/tmp
adb push fre3vo /data/local/tmp
adb shell chmod 777 /data/local/tmp/fre3vo
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
./data/local/tmp/fre3vo -debug -start FBB00000 -end FFFFFFFF
ebod said:
All very well if you understand what a rom is. My software page is full of 2.50 , 2.6 type numbers and nothing below 1.7....hence my comment.
Also, I've made a goldcard out of a spare 1gb sd, and copied PD98img.zip to it. So for the next bit....do I now put that goldcard in my HTC and connect to the PC whilst set in USB debugging enabled mode.
Then do I put this lot below into the win-xp pc 'run' box line by line or one whole lump?:-
adb push misc_version /data/local/tmp
adb push fre3vo /data/local/tmp
adb shell chmod 777 /data/local/tmp/fre3vo
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
./data/local/tmp/fre3vo -debug -start FBB00000 -end FFFFFFFF
Click to expand...
Click to collapse
one by one......
I dont use Visionary+ , it just dont work in my phone,end me up using manual method. Plus S-off and Engineering S-off.
First of all, DOWNGRADE UR PHONE TO 1.32
Gaining Radio S-OFF:
This method will get you the Radio S-OFF flag while SIM-unlocking it and setting up SuperCID, which means
1. This method will root your phone for the process if it isn’t already rooted. If you just want to permanently root your phone
2. Make sure you have ADB installed on your computer. Also, if you have previously installed VISIONary on your phone in order to root it, uninstall it first before proceeding.
3. Download Desire HD S-OFF Toolkit and unzip its contents to your computer. Put it in your adb folder
4. Enable USB Debugging on your phone from Settings > Applications > Development.
5. Connect your phone to your computer via USB.
6. Launch a Command Prompt/Terminal window on your computer, navigate to the folder where you extracted the files in Step 3 and enter the following commandsne by one , press enter after each line
adb push su /sdcard/su
adb push Superuser.apk /sdcard/Superuser.apk
adb push rage /data/local/tmp/rage
adb push busybox /data/local/tmp/busybox
adb push root /data/local/tmp/root
adb push gfree /data/local
adb shell chmod 0755 /data/local/tmp/*
adb shell chmod 777 /data/local/gfree
7. Install Terminal Emulator app on your phone from the Android Market and launch it.
8. Enter the following command in Terminal Emulator on your phone:
/data/local/tmp/rage
9. In a while, you will see the output “Forked #### childs”. Now press ‘Menu’ and tap ‘Reset Term’ to exit Terminal Emulator.
10. Launch Terminal Emulator again. You will notice that it force-closes. Don’t worry and just launch it again, and you should have a root shell indicated by the # prompt instead of $.
11. Now enter the following commands in Terminal Emulator:
/data/local/gfree -f
sync
/data/local/tmp/root
sync
If you get a ‘mkdir: /system/xbin already exists’ error during the process, ignore it and proceed.
12. Wait patiently while the process finishes. Once it is complete, reboot your phone.
You should now have Radio S-OFF, SIM-unlock and SuperCID all set on your phone. If you just want to install ClockworkMod recovery and custom ROMs etc., you are all good to go and do not need to gain Engineering S-OFF. You may simply install ClockworkMod Recovery, find a custom ROM of your choice and flash it to your phone from recovery.
Gaining Engineering S-OFF:
You should attempt to gain Engineering S-OFF if and only if you want to gain absolute access to your Desire HD including the ability to flash a radio or edit all your phone’s partitions the way you want. If you are not absolutely sure what you are about to do, we recommend that you do NOT proceed.
1. Make sure you have already gained radio S-OFF by following the above-mentioned steps.
2. Download the Engineering HBoot for HTC Desire HD and extract the contents of the zip files.put in adb folder
3. Enable USB debugging (if not already enabled) and connect your phone to the computer.
4. On your computer, launch Command Prompt/Terminal, navigate to the folder where you extracted the files in Step 2 and enter these commands:
adb push hboot-eng.img /data/local
5. Finally, launch Terminal Emulator on your phone and enter these commands, being EXTREMELY careful not to make any mistake here:
su
dd if=/data/local/hboot-eng.img of=/dev/block/mmcblk0p18
Make sure to allow when Super User access is requested. Wait till the process is finished and you’re done!
You now have the Engineering S-OFF HBoot installed and with this, you have absolute control over your HTC Desire HD. You can now flash radios of your choice to your phone and have access to modify all its partitions as well as unbrick it in certain circumstances where no other method would revive your device.
Click to expand...
Click to collapse
rohithksaj said:
one by one......
Click to expand...
Click to collapse
...but I get lost here : "•Open up a cmd and go to Downgrade folder, execute commands:"i.e. I don't understand a 'cmd' is an where I open it from..
EDIT : okay finally at 1.32 & rooted ( yey!)
wanting to check whether the S-OFF info is right but having a mare trying to get bootloader screen to stop from tripping to HBOOT and running the PD98IMG ( even though I took out the goldcard ).
Is there some specific combination to hold vol-down and power for a set number of seconds? I've tried 10+ times and can't stop it going onto the HBOOT update thingy :-(
Ok folks...back to my painful rooting excercise
I'm still in this thread
http://forum.xda-developers.com/showthread.php?t=964996
..trying to eastablish whether or not my S-OFF info is correct before proceeding further. The thread says :-
"Testing Eng S-off and Radio S-OFF
1. Power Down Your Device
2. Go to Bootloader
3. If it says Ace PVT ENG S-OFF your phone is ENG S-OFF.
4. use Volume down to get to system info and tap power button to select
5. check CID for CID-11111111 (if you have this all is done 100%)
6. Reboot
"
how can I check my "CID-11111111" info ? where is it displayed?
DOH STUPID STUPID STUPID!!!!!
Before I made my goldcard I put a copy of pd98img.zip on my SD card....and although I took out the goldcard...when I put the normal SD back in, I neglected to recall it had a copy of pd98img.zip still sat on it.
Thats why I couldn't access bootloader.
Anyways, I have the right S-OFF info so its now onwards the next step
Does anyone here have any tools or guides on how I can achieve root on my Verizon LG G2 on my mac in terminal or via a tool like this one which seems to only be windows based: http://forum.xda-developers.com/showthread.php?t=2448887
I don't have access to a windows machine at home that I can use to get root on my LG G2. I would really appreciate it if someone could make a guide (Text or Youtube even better) or a root tool like the one I linked to above. I'm not trying to be a mac snob which I'm not...I just do a lot of design work and photo editing and have used Mac's since I find that most of the studios I deal with all use them and I need to be able to exchange files that are compatible. I would really appreciate some help with regards to doing this on my MAC. Thanks for listening and I hope someone can point me in the right direction.
Thanks again.
I'm also looking for a Mac solution. I'm a long time Android user but have a Macbook. Hoping someone comes up with Mac version.
I used the method by thecubed in the development section. I unzipped it and followed the adb commands in the .bat file (right click that file, open with text editor). Don't forget the part about unplugging the USB cable and disabling and then enabling debugging.
mjdupuis said:
I used the method by thecubed in the development section. I unzipped it and followed the adb commands in the .bat file (right click that file, open with text editor). Don't forget the part about unplugging the USB cable and disabling and then enabling debugging.
Click to expand...
Click to collapse
But, did you do it on a Mac?
Thank you Devs. From my LG G2.
Yes, all through terminal.
I can post the specifics, but I'm not a developer and most likely could not help you if you or I happen to mess something up.
That would be great if you could post the specifics. Would really love to see how you did it.
WARNING! This is just what worked for me, and it's just the adb commands from thecubed's program. All credit goes to him, I didn't do any of this, just took the info from it.
Here's the thread: http://forum.xda-developers.com/showthread.php?t=2448887
Download it, unzip it, and then take a moment to go back and thank him if you didn't do that.
You are not actually using his program, just the files and commands. Everything is done using Terminal and the Finder. You must have ADB working, look elsewhere for instructions on setting that up.
The files used here are the Verizon versions of the files, which I used for my phone. They are also specific to the OTA'd Verizon software, "11A" so there are different files if you haven't installed the OTA. These commands are correct, but the files being pushed aren't all the same between different carrier models and do not work with any other carrier. All the right stuff for other carriers is contained in thecubed's program.
The bold sections are files you need to send over adb, you can manually enter the file pathway or drag the files from finder into terminal after the adb commands (and before you type the destinations).
One more warning; if this is your first time using adb or terminal, I don't recommend this as your first try. It's super easy to screw something up in terminal.
Your phone must have developer options enabled and usb debugging on. plug in your phone via usb and select "Internet" and then "Ethernet."
adb push ytiruces_1a_vzw /sdcard/ytiruces_1a
Unplug usb, disable USB debugging and then re-enable it. Plug USB back in.
adb shell "mount -o remount,rw /system"
adb push su /system/xbin/su
adb shell "chown 0.0 /system/xbin/su;chmod 06755 /system/xbin/su;sync;mount -o remount,ro /system"
adb install superuser.apk
exit
thanks for this.
I used parallels installed Windows 7 I could have drove home and grabbed my laptop but that would have been to easy lol.
But now my mom is happy to see Windows android and osx lion on a 2009 MacBook pro I was surprised how well it went I thought I was going to have driver issues or something would go wrong but it was like I was using a straight up Windows 7 laptop. If that program was available for ubuntu a lot if people would be happy campers ?
Sent from my LG-D800 using XDA Premium 4 mobile app
I thought it would be a nightmare as obviously lg doesn't provide USB drivers for Mac. Color me surprised Mac doesn't need drivers!
Although I'm still not rooted, but that's phone version related
Sent from my LG-F320L using XDA Premium 4 mobile app
back to stock
I am needing to flash this thing back to stock so I can take it to the Verizon Store for an exchange. All I really have is a Mac.... I'd really like to know how to flash it back to stock, unrooted. I have some experience, but please be very clear as I really don't want to mess up. Thanks in advance for anyone willing to help.
mjdupuis said:
WARNING! This is just what worked for me, and it's just the adb commands from thecubed's program. All credit goes to him, I didn't do any of this, just took the info from it.
Here's the thread: http://forum.xda-developers.com/showthread.php?t=2448887
Download it, unzip it, and then take a moment to go back and thank him if you didn't do that.
You are not actually using his program, just the files and commands. Everything is done using Terminal and the Finder. You must have ADB working, look elsewhere for instructions on setting that up.
The files used here are the Verizon versions of the files, which I used for my phone. They are also specific to the OTA'd Verizon software, "11A" so there are different files if you haven't installed the OTA. These commands are correct, but the files being pushed aren't all the same between different carrier models and do not work with any other carrier. All the right stuff for other carriers is contained in thecubed's program.
The bold sections are files you need to send over adb, you can manually enter the file pathway or drag the files from finder into terminal after the adb commands (and before you type the destinations).
One more warning; if this is your first time using adb or terminal, I don't recommend this as your first try. It's super easy to screw something up in terminal.
Your phone must have developer options enabled and usb debugging on. plug in your phone via usb and select "Internet" and then "Ethernet."
adb push ytiruces_1a_vzw /sdcard/ytiruces_1a
Unplug usb, disable USB debugging and then re-enable it. Plug USB back in.
adb shell "mount -o remount,rw /system"
adb push su /system/xbin/su
adb shell "chown 0.0 /system/xbin/su;chmod 06755 /system/xbin/su;sync;mount -o remount,ro /system"
adb install superuser.apk
exit
Click to expand...
Click to collapse
you wouldnt happen to know which files in there are for the tmobile g2 would you? im also trying to root on mac.
You'll have to look in the .bat file, it will show which file needs to be used for T-Mobile.
mjdupuis said:
WARNING! This is just what worked for me, and it's just the adb commands from thecubed's program. All credit goes to him, I didn't do any of this, just took the info from it.
Here's the thread: http://forum.xda-developers.com/showthread.php?t=2448887
Download it, unzip it, and then take a moment to go back and thank him if you didn't do that.
You are not actually using his program, just the files and commands. Everything is done using Terminal and the Finder. You must have ADB working, look elsewhere for instructions on setting that up.
The files used here are the Verizon versions of the files, which I used for my phone. They are also specific to the OTA'd Verizon software, "11A" so there are different files if you haven't installed the OTA. These commands are correct, but the files being pushed aren't all the same between different carrier models and do not work with any other carrier. All the right stuff for other carriers is contained in thecubed's program.
The bold sections are files you need to send over adb, you can manually enter the file pathway or drag the files from finder into terminal after the adb commands (and before you type the destinations).
One more warning; if this is your first time using adb or terminal, I don't recommend this as your first try. It's super easy to screw something up in terminal.
Your phone must have developer options enabled and usb debugging on. plug in your phone via usb and select "Internet" and then "Ethernet."
adb push ytiruces_1a_vzw /sdcard/ytiruces_1a
Unplug usb, disable USB debugging and then re-enable it. Plug USB back in.
adb shell "mount -o remount,rw /system"
adb push su /system/xbin/su
adb shell "chown 0.0 /system/xbin/su;chmod 06755 /system/xbin/su;sync;mount -o remount,ro /system"
adb install superuser.apk
exit
Click to expand...
Click to collapse
Haven't used adb before, but I'm no noob to rooting /flashing. I got adb installed and working on my computer now (running Ubuntu). After I launch adb in the terminal, then I just type these commands? (copy paste?)
You could only copy and paste if you have a Verizon g2 with the ota update, if it's any other version you'll be using different files than the ones I have used.
Yeah, I have the Verizon g2 and I guess it's got the ota... There are no pending updates right now
Two problems on mac
I'm getting two error messages. The first is a line 2 error on the g2 security. The second is 'operation not permitted' for a mount command. Anyone have any solutions?
elcapitano21 said:
I'm getting two error messages. The first is a line 2 error on the g2 security. The second is 'operation not permitted' for a mount command. Anyone have any solutions?
Click to expand...
Click to collapse
does anyone know how to fix the device offline error whenever i try in input the first command?
Bump
Sent from my VS980 4G using XDA Premium 4 mobile app