[Q] Perma Root CMD problems - G2 and Desire Z Q&A, Help & Troubleshooting

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

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

[Q] Needing help with HTC Desire Z root

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 !

[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 !

Cannot remove revolutionary from phone (hboot?)

I have followed this guide twice now, but when I reboot the phone with Vol Down + Power, I still get the revolutionary screen:
http://forums.androidcentral.com/in...uide-unroot-revolutionary-incredible-2-a.html
Is this the hboot image that revolutionary is using? Why is it still on the phone after running these commands?
C:\Users\Bro\Desktop\unroot>adb push busybox /data/local/
2353 KB/s (1062992 bytes in 0.441s)
C:\Users\Bro\Desktop\unroot>adb push hboot_0.97.0000_336906.nb0 /data/local/
2250 KB/s (1048576 bytes in 0.455s)
C:\Users\Bro\Desktop\unroot>adb shell chmod 777 /data/local/psneuter
C:\Users\Bro\Desktop\unroot>adb shell chmod 777 /data/local/busybox
C:\Users\Bro\Desktop\unroot>adb shell /data/local/psneuter
property service neutered.
killing adbd. (should restart in a second or two)
C:\Users\Bro\Desktop\unroot>adb shell /data/local/busybox md5sum /data/local
/hboot_0.97.0000_336906.nb0
adb server is out of date. killing...
* daemon started successfully *
affe3dc9abe9d3a8c8bb3ba0ee5176ac /data/local/hboot_0.97.0000_336906.nb0
C:\Users\Bro\Desktop\unroot>adb shell dd if=/data/local/hboot_0.97.0000_3369
06.nb0 of=/dev/block/mmcblk0p18
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.275 secs (3813003 bytes/sec)
C:\Users\Bro\Desktop\unroot>adb shell /data/local/busybox md5sum /dev/block/
mmcblk0p18
adb server is out of date. killing...
* daemon started successfully *
affe3dc9abe9d3a8c8bb3ba0ee5176ac /dev/block/mmcblk0p18

Categories

Resources