[Q] Needing help with HTC Desire Z root - G2 and Desire Z Q&A, Help & Troubleshooting

Hey everyone
Lately i've been trying to downgrade/root my phone the HTC Desire Z,
but once i came across step 15 some problem ocurred. Once i pasted this command below in the cmd.
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/
Then i received this as result.
C:\androidsdk\tools>adb install AndroidTerm.apk
1380 KB/s (49478 bytes in 0.035s)
pkg: /data/local/tmp/AndroidTerm.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
C:\androidsdk\tools>adb push busybox /data/local/tmp/
1716 KB/s (1926944 bytes in 1.096s)
C:\androidsdk\tools>adb push gfree /data/local/tmp/
1874 KB/s (134401 bytes in 0.070s)
C:\androidsdk\tools>adb push rage /data/local/tmp
752 KB/s (5392 bytes in 0.007s)
C:\androidsdk\tools>adb push root /data/local/tmp/
112 KB/s (575 bytes in 0.005s)
C:\androidsdk\tools>adb shell chmod 0755 /data/local/tmp/*
Unable to chmod /data/local/tmp/misc_version: Operation not permitted
C:\androidsdk\tools>adb push su /sdcard/
failed to copy 'su' to '/sdcard//su': Permission denied
C:\androidsdk\tools>adb push Superuser.apk /sdcard/
failed to copy 'Superuser.apk' to '/sdcard//Superuser.apk': Permission denied
Does anyone know what the exact problem is? , because i cant get further through the tutorial now.
The one i'm using atm is the http://forum.xda-developers.com/showthread.php?t=905261
but translated in dutch.
Hopefully someone can help me !

Related

[Q] problem downgrading my DHD(1.84)

this is the error i m facing(in bold):
E:\Setup\android\root\Downgrade>adb push misc_version /data/local/tmp
1104 KB/s (15837 bytes in 0.014s)
E:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/psneuter
E:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/misc_version
E:\Setup\android\root\Downgrade>adb shell /data/local/tmp/psneuter
mmap() failed. Operation not permitted
what should i do?
Well you did not push psneuter there, so you cannot run it You just pushed misc_version.
jkoljo said:
Well you did not push psneuter there, so you cannot run it You just pushed misc_version.
Click to expand...
Click to collapse
i did it its just that i missed it while copying the the text from cmd. here it is:
e:\Setup\android\root\Downgrade>adb push psneuter /data/local/tmp
1661 KB/s (557962 bytes in 0.328s)
e:\Setup\android\root\Downgrade>adb push misc_version /data/local/tmp
1189 KB/s (15837 bytes in 0.013s)
e:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/psneuter
e:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/misc_version
e:\Setup\android\root\Downgrade>adb shell /data/local/tmp/psneuter
mmap() failed. Operation not permitted
phone connected to Windows7 in charge only mode with usb debugging enabled.
hey,
I am facing the exact same problem, I live in India and my DHD isn't carrier branded or anything.
Earlier when i tried to downgrade, I was getting CID failed...so i did a goldcard and now I am getting the exact same error as mentioned above...can anyone plz help?
Yea, i got that error when i was trying to downgrade too, just a week ago!
my phone was branded, and when i didn't do the GoldCard, i didn't get the error.
but as soon as i did the goldcard, then the error came twice.
what i did was restart the phone, the computer and formatted the SD card and did the whole process again, then i typed
>adb shell /data/local/tmp/psneuter
and i got the error again. I waited like 3-6 seconds and tried the above command again, and it worked.
honestly, i dont know where the problem comes from. but good luck
wrong n missing image files error in bootloader
after the temp root.. when it goes in bootloader , it does say that the image files are missing and wrong image fileā€¦
m running on htc desire hd 1.84 stock rom unlocked.
please help me out

Need help with my T-Mobile G2 Root

I am currently reading the root guide, firstly my PC properly detects my phone, do I still need the USB Driver installed? If so how? I already downloaded it.
Secondly "The HTC Desire Z with a firmware version higher than 1.34 and the Desire HD with a firmware version higher then 1.32 have to be downgraded "
Is that speaking of the Android version, If so I am currently "2.2"? Or the build? If so then mine is "1.22.5".
http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
That's about the current questions I have, new to this.
DroidStation said:
I am currently reading the root guide, firstly my PC properly detects my phone, do I still need the USB Driver installed? If so how? I already downloaded it.
Secondly "The HTC Desire Z with a firmware version higher than 1.34 and the Desire HD with a firmware version higher then 1.32 have to be downgraded "
Is that speaking of the Android version, If so I am currently "2.2"? Or the build? If so then mine is "1.22.5".
http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
That's about the current questions I have, new to this.
Click to expand...
Click to collapse
If your computer detects your device and, when you run 'adb devices' it shows, then you should be all set. The Desire Z/HD is referring to a different device, the G2 is an HTC Vision.
Sent from my HTC Vision using XDA App
Okay, so that is no to the downgrade I assume, next question.
I downloaded all the files required (4 of them) Do I extract them and add the folders with the files to the phone? Or the files from inside the folders to the phone?
Hi, you just need to extract the files to a temp folder on your computer and run the adb commands from that folder.
One folder? Or leave them in each folder when I extracted them?
Also I downloaded the drivers, because my PC detected everything except the adb, so I assigned the drivers files for the adb.
DroidStation said:
One folder? Or leave them in each folder when I extracted them?
Also I downloaded the drivers, because my PC detected everything except the adb, so I assigned the drivers files for the adb.
Click to expand...
Click to collapse
If you installed the android sdk(which you should of) place any files you plan on using adb with and put in "platform-tools" folder located in the android-sdk-windows folder that your installation should of created. If you want to leave the unzipped files in individual folders it will add a lot of extra time to the process. If everything is in platform-tools you don't need to quit changing the path. At least that's how I do it..easier and quicker
dont send me pm's crying about how i hurt your feelings in a thread
Alright, I am back, No offense taken, thanks for posting.
I am almost done to do the root I have setup the android sdk and it's filling working.
I would like a little more clarification on the files though, the "4" files that I downloaded. Now from the post mentioned above you said to place the files in the "platform-tools" folder, zipped or unzipped?
Well, I placed all the files, clockwork, etc.. Into the "platform-tools" folder located on my "C:\android-sdk-windows\platform-tools"
Now when I run adb I get these errors.
C:\Users\Frank>adb push psneuter /data/local/tmp/
cannot stat 'psneuter': No such file or directory
C:\Users\Frank>adb push psneuter /data/local/tmp/
cannot stat 'psneuter': No such file or directory
C:\Users\Frank>adb push gfree /data/local/tmp/
cannot stat 'gfree': No such file or directory
C:\Users\Frank>adb push busybox /data/local/tmp/
cannot stat 'busybox': No such file or directory
C:\Users\Frank>adb push hboot-eng.img /data/local/tmp
cannot stat 'hboot-eng.img': No such file or director
C:\Users\Frank>adb push root_psn /data/local/tmp/
cannot stat 'root_psn': No such file or directory
C:\Users\Frank>adb push flash_image /data/local/tmp/
cannot stat 'flash_image': No such file or directory
C:\Users\Frank>adb push su /sdcard/
cannot stat 'su': No such file or directory
C:\Users\Frank>adb push Superuser.apk /sdcard/
cannot stat 'Superuser.apk': No such file or director
C:\Users\Frank>adb shell chmod 755 /data/local/tmp/*
Click to expand...
Click to collapse
Run the adb command from the platform tool folder.
C:\android-sdk-windows\platform-tools"\adb push psneuter ...
So for example..
C:\android-sdk-windows\platform-tools adb push psneuter /data/local/tmp/ ?
Is that correct, can you write a line for example please? Sorry if I am asking for much, just want to make sure that I get this right.
almost:
C:\android-sdk-windows\platform-tools\adb push psneuter /data/local/tmp/
Now I receive this.
C:\Users\Frank>C:\android-sdk-windows\platform-tools\adb push psneuter /data/loc
al/tmp/
cannot stat 'psneuter': No such file or directory
Click to expand...
Click to collapse
I entered this command.
C:\android-sdk-windows\platform-tools\adb push psneuter /data/local/tmp/
At the command prompt, type:
Code:
cd C:\android-sdk-windows\platform-tools
Then type the adb push commands...
I do apologize for being difficult but I still run into these issues.
C:\android-sdk-windows\platform-tools>adb push psneuter /data/local/tmp/
cannot stat 'psneuter': No such file or directory
C:\android-sdk-windows\platform-tools>adb push gfree /data/local/tmp/
cannot stat 'gfree': No such file or directory
C:\android-sdk-windows\platform-tools>adb push busybox /data/local/tmp/
cannot stat 'busybox': No such file or directory
C:\android-sdk-windows\platform-tools>adb push hboot-eng.img /data/local/tmp/
cannot stat 'hboot-eng.img': No such file or directory
C:\android-sdk-windows\platform-tools>adb push root_psn /data/local/tmp/
cannot stat 'root_psn': No such file or directory
C:\android-sdk-windows\platform-tools>adb push flash_image /data/local/tmp/
cannot stat 'flash_image': No such file or directory
C:\android-sdk-windows\platform-tools>adb push su /sdcard/
cannot stat 'su': No such file or directory
C:\android-sdk-windows\platform-tools>adb push Superuser.apk /sdcard/
cannot stat 'Superuser.apk': No such file or directory
C:\android-sdk-windows\platform-tools>adb shell chmod 755 /data/local/tmp/*
Click to expand...
Click to collapse
Do I unzip the ".zip" files?
Okay, well I decided to use a different directory with just the required files and here are my results from running the commands all at once.
C:\Users\Frank\Desktop\G2>adb push psneuter /data/local/tmp/
push: psneuter/psneuter.c -> /data/local/tmp/psneuter.c
push: psneuter/psneuter -> /data/local/tmp/psneuter
2 files pushed. 0 files skipped.
1657 KB/s (561954 bytes in 0.331s)
C:\Users\Frank\Desktop\G2>adb push gfree /data/local/tmp/
cannot stat 'gfree': No such file or directory
C:\Users\Frank\Desktop\G2>adb push busybox /data/local/tmp/
cannot stat 'busybox': No such file or directory
C:\Users\Frank\Desktop\G2>adb push hboot-eng.img /data/local/tmp/
cannot stat 'hboot-eng.img': No such file or directory
C:\Users\Frank\Desktop\G2>adb push root_psn /data/local/tmp/
cannot stat 'root_psn': No such file or directory
C:\Users\Frank\Desktop\G2>adb push flash_image /data/local/tmp/
push: flash_image/flash_image -> /data/local/tmp/flash_image
1 file pushed. 0 files skipped.
1511 KB/s (68108 bytes in 0.044s)
C:\Users\Frank\Desktop\G2>adb push su /sdcard/
cannot stat 'su': No such file or directory
C:\Users\Frank\Desktop\G2>adb push Superuser.apk /sdcard/
cannot stat 'Superuser.apk': No such file or directory
C:\Users\Frank\Desktop\G2>adb shell chmod 755 /data/local/tmp/*
Perhaps I need to change the file names on the commands?
These are the files/folders on the directory.
flash_image
gfree_05
gfree_root_psn
psneuter
vision.hboot-0.76.2000
recovery-clockwork-3.0.2.4-vision
Put the files you want to push in the same directory as adb.exe
Well, now I only get some errors, are you sure the commands are using the correct file names?
C:\android-sdk-windows\platform-tools>adb push psneuter /data/local/tmp/
adb server is out of date. killing...
* daemon started successfully *
push: psneuter/psneuter.c -> /data/local/tmp/psneuter.c
push: psneuter/psneuter -> /data/local/tmp/psneuter
2 files pushed. 0 files skipped.
1270 KB/s (561954 bytes in 0.432s)
C:\android-sdk-windows\platform-tools>adb push gfree /data/local/tmp/
cannot stat 'gfree': No such file or directory
C:\android-sdk-windows\platform-tools>adb push busybox /data/local/tmp/
cannot stat 'busybox': No such file or directory
C:\android-sdk-windows\platform-tools>adb push hboot-eng.img /data/local/tmp/
cannot stat 'hboot-eng.img': No such file or directory
C:\android-sdk-windows\platform-tools>adb push root_psn /data/local/tmp/
cannot stat 'root_psn': No such file or directory
C:\android-sdk-windows\platform-tools>adb push flash_image /data/local/tmp/
push: flash_image/flash_image -> /data/local/tmp/flash_image
1 file pushed. 0 files skipped.
468 KB/s (68108 bytes in 0.142s)
C:\android-sdk-windows\platform-tools>adb push su /sdcard/
cannot stat 'su': No such file or directory
C:\android-sdk-windows\platform-tools>adb push Superuser.apk /sdcard/
cannot stat 'Superuser.apk': No such file or directory
C:\android-sdk-windows\platform-tools>adb shell chmod 755 /data/local/tmp/*
Click to expand...
Click to collapse
Here are the commands I am running.
adb push psneuter /data/local/tmp/
adb push gfree /data/local/tmp/
adb push busybox /data/local/tmp/
adb push hboot-eng.img /data/local/tmp/
adb push root_psn /data/local/tmp/
adb push flash_image /data/local/tmp/
adb push su /sdcard/
adb push Superuser.apk /sdcard/
adb shell chmod 755 /data/local/tmp/*
Click to expand...
Click to collapse
Here are the file names I have.
flash_image
gfree_05
gfree_root_psn
psneuter
vision.hboot-0.76.2000
recovery-clockwork-3.0.2.4-vision
Okay, I finally ran all the commands fine, needed to have them as the actual files.
I ran this command, but nothing happened.
"adb shell chmod 755 /data/local/tmp/*"
I that normal or do I need to change the "*" to something?
Because when I try to run the temp root command I receive this.
C:\android-sdk-windows\platform-tools>adb shell /data/local/tmp/psneuter
/data/local/tmp/psneuter: permission denied
The "*" means everything in that folder so no you are fine there.
Sent from my HTC Vision using XDA App

[Q] Perma Root CMD problems

using this guide http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
On a 2.2(1.34) Desire Z,I get this error
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\RaRemoz>cd \DZ-G2 Downgrade-Rooting Tools
C:\DZ-G2 Downgrade-Rooting Tools>adb push psneuter /data/local/tmp/
2697 KB/s (557962 bytes in 0.202s)
C:\DZ-G2 Downgrade-Rooting Tools>abd push gfree /data/local/tmp/
'abd' is not recognized as an internal or external command,
operable program or batch file.
C:\DZ-G2 Downgrade-Rooting Tools>adb push gfree /data/local/tmp/
1965 KB/s (716548 bytes in 0.356s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push busybox /data/local/tmp/
2102 KB/s (1926944 bytes in 0.895s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push hboot-eng.img /data/local/tmp/
1729 KB/s (1048576 bytes in 0.592s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push root_psn /data/local/tmp/
110 KB/s (564 bytes in 0.005s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push su /sdcard/
134 KB/s (26264 bytes in 0.191s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push Superuser.apk /sdcard/
1900 KB/s (196521 bytes in 0.101s)
C:\DZ-G2 Downgrade-Rooting Tools>adb shell 755 /data/local/tmp/*
755: permission denied
C:\DZ-G2 Downgrade-Rooting Tools>adb shell chmod 755 /data/local/tmp/*
Unable to chmod /data/local/tmp/sh: Operation not permitted
C:\DZ-G2 Downgrade-Rooting Tools>
Click to expand...
Click to collapse
the bold is where it screws up.
Thought i was making good progress after downgrading but nope.
thanks in advance
try 'adb shell rm /data/local/tmp/sh'
then retry the chmod command.
-Nipqer
Nipqer said:
try 'adb shell rm /data/local/tmp/sh'
then retry the chmod command.
-Nipqer
Click to expand...
Click to collapse
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\RaRemoz>cd /DZ-G2 Downgrade-Rooting Tools
The system cannot find the path specified.
C:\Users\RaRemoz>cd \DZ-G2 Downgrade-Rooting Tools
C:\DZ-G2 Downgrade-Rooting Tools>adb push psneuter /data/local/tmp/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
1681 KB/s (557962 bytes in 0.324s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push gfree /data/local/tmp/
1698 KB/s (716548 bytes in 0.412s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push busybox /data/local/tmp/
1887 KB/s (1926944 bytes in 0.997s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push hboot-eng.img /data/local/tmp/
1783 KB/s (1048576 bytes in 0.574s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push root_psn /data/local/tmp/
110 KB/s (564 bytes in 0.005s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push su /sdcard/
1508 KB/s (26264 bytes in 0.017s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push Superuser.apk /sdcard/
2702 KB/s (196521 bytes in 0.071s)
C:\DZ-G2 Downgrade-Rooting Tools>adb shell rm /data/local/tpm/sh
rm failed for /data/local/tpm/sh, No such file or directory
C:\DZ-G2 Downgrade-Rooting Tools>adb shell chmod 755 /data/local/tmp/*
Unable to chmod /data/local/tmp/sh: Operation not permitted
so does that mean something is not there that should be?
Can you join the #G2ROOT irc channel on freenode?
It'll be easier/faster to help you there.
-Nipqer
Nipqer said:
Can you join the #G2ROOT irc channel on
It'll be easier/faster to help you there.
-Nipqer
Click to expand...
Click to collapse
I can in about half an hour when class has finished

[Q] Rooting, pushed file not found?!?

Hey all! Desperately seeking help here: I'm rooting my MyTouch 3g slide, and have successfully completed all the steps up to this point where I need to run "rageagainstthecage-arm5.bin" from the devices "/data/local/tmp/" folder. The previous steps are as follows from cyanogen's wiki page:
"On the computer, open terminal and run the following commands:"
Code:
adb push rageagainstthecage-arm5.bin /data/local/tmp/
adb shell
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
/data/local/tmp/rageagainstthecage-arm5.bin
Click to expand...
Click to collapse
All of these with the exception of the last line are successful. After running chmod 755, I typed the following:
Code:
ls -l /data/local/tmp/
I get the following result:
Code:
-rwxr-xr-x 1 root root 5392 Aug 25 2010 rageagainstthecage-arm5
.bin
but finally, entering
Code:
/data/local/tmp/rageagainstthecage-arm5.bin
I get
Code:
/sbin/sh: /data/local/tmp/rageagainstthecage-arm5.bin: not found
It's there. I don't get it. Heeeelllpp meeeeeeee
Here's a log:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push rageagainstth
ecage-arm5.bin /data/local/tmp/
292 KB/s (5392 bytes in 0.018s)
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
~ # chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
~ # /data/local/tmp/rageagainstthecage-arm5.bin
/data/local/tmp/rageagainstthecage-arm5.bin
/sbin/sh: /data/local/tmp/rageagainstthecage-arm5.bin: not found
~ # ls -l /data/local/tmp/
ls -l /data/local/tmp/
-rwxr-xr-x 1 root root 5392 Aug 25 2010 rageagainstthecage-arm5
.bin
~ #

[Q] HTC DESIRE Z ROOT help

Hi i'm trying to root my HTC DESIRE Z , i've rooted it before but after i broke it i sent it to a local htc service to fixit it ofcourse they unrooted me so now i'm running on 2.3.3 Android version , Sense 2.1 (Like before when i succeeded in rooting ) . So the problem is here
C:\>cd c:\android-sdk-windows\platform-tools
c:\android-sdk-windows\platform-tools>adb push busybox /data/local/tmp
2450 KB/s (1926944 bytes in 0.768s)
c:\android-sdk-windows\platform-tools>adb push gfree /data/local/tmp/
2338 KB/s (739858 bytes in 0.309s)
c:\android-sdk-windows\platform-tools>adb push hboot-eng.img /data/local/tmp
2522 KB/s (1048576 bytes in 0.406s)
c:\android-sdk-windows\platform-tools>adb push psneuter /data/local/tmp/
2487 KB/s (557962 bytes in 0.219s)
c:\android-sdk-windows\platform-tools>adb push recovery-clockwork-3.0.2.4-vi
.img /data/local/tmp/recovery.img
2399 KB/s (4573184 bytes in 1.861s)
c:\android-sdk-windows\platform-tools>adb push root_psn /data/local/tmp/
137 KB/s (564 bytes in 0.004s)
c:\android-sdk-windows\platform-tools>adb push su /sdcard/
918 KB/s (26324 bytes in 0.028s)
c:\android-sdk-windows\platform-tools>adb push Superuser.apk /sdcard/
2455 KB/s (196120 bytes in 0.078s)
c:\android-sdk-windows\platform-tools>adb shell
$ chmod 755 /data/local/tmp/*
chmod 755 /data/local/tmp/*
$ cd /data/local/tmp/psneuter$ /data/local/tmp/psneuter
/data/local/tmp/psneuter
Failed to set prot mask (Inappropriate ioctl for device)
$
Click to expand...
Click to collapse
C:\>cd c:\android-sdk-windows\platform-tools - Doing it because can't add platform-tools in my variables .. so i just go in to that directory .. i'm folowing cyanogedmod guide
If Anyone have any suggestions please help .
Sorry about my bad English.
Thanks !
You gotta downgrade first, http://forum.xda-developers.com/showthread.php?t=1178912
-Nipqer
Nipqer said:
You gotta downgrade first, http://forum.xda-developers.com/showthread.php?t=1178912
-Nipqer
Click to expand...
Click to collapse
Umm don't remember downgrading my phone last time .. but if i do so , it will help ?
last time you would've rooted it before the gingerbread update, so there was no need to downgrade.
but now that you're on a gingerbread rom, you have to downgrade to root.
If it didn't help, I wouldn't of posted it.
-Nipqer
Nipqer said:
last time you would've rooted it before the gingerbread update, so there was no need to downgrade.
but now that you're on a gingerbread rom, you have to downgrade to root.
If it didn't help, I wouldn't of posted it.
-Nipqer
Click to expand...
Click to collapse
Thanks , will try !

Categories

Resources