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
Related
Hello, and thanks in advance to anyone that can help me.
I finally got the error.
However, when I entered the first command of "1.bat",
it pushed the files, but this is what I got:
C:\sdk\tools>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\sdk\tools>1.bat
C:\sdk\tools>adb push C:\sdk\tools\android.tether /sdcard/android.tether
push: C:\sdk\tools\android.tether/wireless_tether_2_0_2-pre14.apk -> /sdcard/and
roid.tether/wireless_tether_2_0_2-pre14.apk
failed to copy 'C:\sdk\tools\android.tether/wireless_tether_2_0_2-pre14.apk' to
'/sdcard/android.tether/wireless_tether_2_0_2-pre14.apk': No such file or direct
ory
C:\sdk\tools>adb push busybox /sdcard/busybox
failed to copy 'busybox' to '/sdcard/busybox': Permission denied
C:\sdk\tools>adb push ota.zip /sdcard/update.zip
failed to copy 'ota.zip' to '/sdcard/update.zip': Permission denied
C:\sdk\tools>adb push Superuser.apk /sdcard/Superuser.apk
failed to copy 'Superuser.apk' to '/sdcard/Superuser.apk': Permission denied
C:\sdk\tools>adb push su /sdcard/su
failed to copy 'su' to '/sdcard/su': Permission denied
I can tell you that I did apply the OTA update from Verizon a while back, does this have anything to do with it?
Please advise.... I am glued to this pc now and I will answer any questions that will help me to root as soon as you ask them. Again, thank you.
Did you run the update.zip from the phonerecovery and got the error before you pushed the files?
Didn't run anything. Tried to follow directions from the 10 minute how to video, and after I got the error I pressed the Up-Volume & Power Button. After this I ran the command "1.bat", and got the following output above.
Vol up + power, and select the second option right? umm, can you run adb shell? or are you still getting the error when you do?
Up + Volume, yes. This get's me to the screen where I can apply sd card update. I just watched video again and when he got to this part he selected this option just so that it would error out. I did not perform this step. Maybe that's why permission was denied when I tried to push the files.
Did you run "apply update.zip from SDcard". You need to run that and let it fail!
Then copy the files to your card.
Then run the "apply update" again, this time overwriting the SDcard file as soon as your phone says "verifying"!!
If the .bat file you have is giving you errors, i would suggest, doing it manually. All you havta do is copy and paste commands from the guides.
(welp you already seem to have found your prob )
Understood. Missing that step may have just cost me everything as now I'm not able to get the error again. Thanks for help everyone. Now I have to get back to that step. Will keep you posted....
CafeteriaMan said:
Understood. Missing that step may have just cost me everything as now I'm not able to get the error again. Thanks for help everyone. Now I have to get back to that step. Will keep you posted....
Click to expand...
Click to collapse
if you didnt run the apply sdcard update.zip before running the 1.bat it would error out with permission denied. Trust me i would know, having rooted 20 phones and being the creator of the 10min root video
Understood. Missing that step may have just cost me everything as now I'm not able to get the error again. Thanks for help everyone. Now I have to get back to that step. Will keep you posted....
Click to expand...
Click to collapse
Good luck man, hope you can get it again!
Sent from my ADR6300 using Tapatalk
Shot myself in the foot as I can't get it again. Highly pi***d at myself. Had to call it quits, to frustrated.
The SD card isn't mounted by default in recovery. The step to let the update.zip fail is a way of getting it mounted.
C:\sdk\tools>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\sdk\tools>GOTO TOP
C:\sdk\tools>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\sdk\tools>GOTO TOP
C:\sdk\tools>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
Terminate batch job (Y/N)? y
C:\sdk\tools>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\sdk\tools>1.bat
C:\sdk\tools>adb push C:\sdk\tools\android.tether /sdcard/android.tether
push: C:\sdk\tools\android.tether/wireless_tether_2_0_2-pre14.apk -> /sdcard/and
roid.tether/wireless_tether_2_0_2-pre14.apk
push: C:\sdk\tools\android.tether/fw_bcm4329.bin -> /sdcard/android.tether/fw_bc
m4329.bin
2 files pushed. 0 files skipped.
702 KB/s (559597 bytes in 0.778s)
C:\sdk\tools>adb push busybox /sdcard/busybox
768 KB/s (698452 bytes in 0.887s)
C:\sdk\tools>adb push ota.zip /sdcard/update.zip
935 KB/s (3679537 bytes in 3.840s)
C:\sdk\tools>adb push Superuser.apk /sdcard/Superuser.apk
474 KB/s (38360 bytes in 0.079s)
C:\sdk\tools>adb push su /sdcard/su
337 KB/s (22128 bytes in 0.064s)
C:\sdk\tools>adb push payload-update.zip /sdcard/update.zip
846 KB/s (162175 bytes in 0.187s)
C:\sdk\tools>adb shell
$ su
su
# export PATH=$PATH:/system/bin
export PATH=$PATH:/system/bin
# cat /sdcard/Superuser.apk > /system/app/Superuser.apk
cat /sdcard/Superuser.apk > /system/app/Superuser.apk
# cat /sdcard/su > /system/bin/su
cat /sdcard/su > /system/bin/su
# ln -s /system/bin/su /system/xbin/su
ln -s /system/bin/su /system/xbin/su
# chmod 06755 /system/xbin/su
chmod 06755 /system/xbin/su
# reboot
reboot
C:\sdk\tools>
Booooo-Yaaaaaa..... Got it baby...... YES!!!!!!!!!
Ready for customization....
congrats
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 !
I am following these steps
http://theunlockr.com/2011/07/22/how-to-downgrade-a-gingerbread-t-mobile-g2-so-it-can-be-rooted/
I typed /data/local/tmp/fre3vo -debug -start FBA90000 -end FFFFFFFF
it then says exploiting device and then goes back to C:\androidsdk\tools and I never get the # command prompt. Looking for advice on what to do next.
Thanks in advance.
Did you retry 'adb shell' when it sends you back to C:\androidsdk\tools?
Cause the exploit is meant to kick you out of shell, then you have to go back in it.
-Nipqer
Nipqer said:
Did you retry 'adb shell' when it sends you back to C:\androidsdk\tools?
Cause the exploit is meant to kick you out of shell, then you have to go back in it.
-Nipqer
Click to expand...
Click to collapse
Yes, and I am now following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
obas said:
Yes, and I am now following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
Click to expand...
Click to collapse
i also get this following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
That guide is for removing eng hboot, if you have eng hboot, there would be easier ways to remove it.
You need to get a root shell to proceed.
You could get help faster if you went to the #g2root channel on freenode irc [link]
-Nipqer
Nipqer said:
That guide is for removing eng hboot, if you have eng hboot, there would be easier ways to remove it.
You need to get a root shell to proceed.
You could get help faster if you went to the #g2root channel on freenode irc [link]
-Nipqer
Click to expand...
Click to collapse
I went to that page and got no help . I was wondering if you could look over my steps before I attempt this any further, does this look like it will work.
C:\AndroidSDK\tools>adb push fre3vo /data/local/tmp
adb server is out of date. killing...
* daemon started successfully *
956 KB/s (9796 bytes in 0.010s)
C:\AndroidSDK\tools>adb push misc_version /data/local/tmp/misc_version
1405 KB/s (15837 bytes in 0.011s)
C:\AndroidSDK\tools>adb shell chmod 777 /data/local/tmp/fre3vo
C:\AndroidSDK\tools>adb shell chmod 777 /data/local/tmp/misc_version
C:\AndroidSDK\tools> /data/local/tmp/fre3vo -debug -start FBA90000 -end FFFFFFFF
---- Also if the above process looks good can my next command be the following
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b _26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip ????
Yeah should be working.
If no one responds immediatly in irc just wait a bit. It's not the most active channel, but someone will come along to help.
I'm not sure why it's not working for you.
-Nipqer
Nipqer said:
Yeah should be working.
If no one responds immediatly in irc just wait a bit. It's not the most active channel, but someone will come along to help.
I'm not sure why it's not working for you.
-Nipqer
Click to expand...
Click to collapse
Actually everything worked up till this command
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip
when I did that it said "file not found" I do believe. So I then tried $ adb push PC10IMG.zip /sdcard/PC10IMG.zip and I got the same error.
I have both the PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip and PC10IMG.zip in the androidsdk\tools folder so this should work right? not sure why I am getting file not found.
Thanks for all you help also I am also there I can feel it
You can use the TAB key to auto-complete file names, so you can make sure you're not misspelling anything.
Make sure the adb push command is done in a C:\> prompt, not $/# (push before adb shell)
-Nipqer
Nipqer said:
You can use the TAB key to auto-complete file names, so you can make sure you're not misspelling anything.
Make sure the adb push command is done in a C:\> prompt, not $/# (push before adb shell)
-Nipqer
Click to expand...
Click to collapse
Ok, now I'm confused because this link http://forum.xda-developers.com/showthread.php?t=1178912 has this command under the "downgrade" section.
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip
$ adb reboot bootloader
That seems to me they are saying to do adb push from the $ command.
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 !
Can someone please help me i want to know if im putting the commands correctly...... okay my adb and all that is in a folder called SDK in my C drive so C:\SDK and i put firewater in there i open a command line and enter what?
adb reboot <--important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
chmod 755 /data/local/tmp/firewater
su
/data/local/tmp/firewater
or would i put
adb reboot <--important!!!!
adb wait-for-device push firewater C:/SDK
adb shell
chmod 755 /C:/SDK
su
C:/SDK/firewater
and also would it be / or \ in the terminal ... if can could someone post the exact commands for what i would have to put thank you so much
C:\SDK>adb wait-for-device push firewater /data/local/tmp
3087 KB/s (4347896 bytes in 1.375s)
C:\SDK>adb shell
[email protected]:/ $ su
su
[email protected]:/ # chmod 755 /data/local/tmp/firewater
chmod 755 /data/local/tmp/firewater
[email protected]:/ # /data/local/tmp/firewater
/data/local/tmp/firewater
[email protected]:/ #
all it shows it doesnt do anything after the last command
You are making it way to complicated. Follow instructions in firewater thread and you will be all set.
dnyoe65 said:
C:\SDK>adb wait-for-device push firewater /data/local/tmp
3087 KB/s (4347896 bytes in 1.375s)
C:\SDK>adb shell
[email protected]:/ $ su
su
[email protected]:/ # chmod 755 /data/local/tmp/firewater
chmod 755 /data/local/tmp/firewater
[email protected]:/ # /data/local/tmp/firewater
/data/local/tmp/firewater
[email protected]:/ #
all it shows it doesnt do anything after the last command
Click to expand...
Click to collapse
scott7044 said:
You are making it way to complicated. Follow instructions in firewater thread and you will be all set.
Click to expand...
Click to collapse
If you're not going to helpful, PLEASE don't even bother in posting
When I got mine S-OFF, I used this set of commands:
adb reboot <--important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
chmod 755 /data/local/tmp/firewater
su
/data/local/tmp/firewater
Type them in exactly as they are above chmod first, then su, then run firewater.
At least, that's what worked for me after trying su then chmod like 50 times with no success.