I am currently in the process of rooting my G2 and when i have to enter this command, (adb shell chmod 755 /data/local/tmp/* and adb shell /data/local/tmp/psneuter) i get no such file or directory everytime. All other commands enter in without a problem. What is chmod 775 anyway. it is the only thing not previously included in the rooting process. Can anyone please give me some feedback on what is going wrong here
thanks
What ever you are doing stop now.
You're doing that the hard way. Here's what u do goto theunlockr.com and then click how to's, then goto the g2 picture then u want to do the how to get temp root first then once that is completed do the permanent root tutotrial. Everything on theunlockr has a video and text so u can't f up.
My best wishes and if u need help like asap jus send a pm or email me [email protected] gmail
gamestar21 said:
I am currently in the process of rooting my G2 and when i have to enter this command, (adb shell chmod 755 /data/local/tmp/* and adb shell /data/local/tmp/psneuter) i get no such file or directory everytime. All other commands enter in without a problem. What is chmod 775 anyway. it is the only thing not previously included in the rooting process. Can anyone please give me some feedback on what is going wrong here
thanks
Click to expand...
Click to collapse
What guide are you following?
Sent from my T-Mobile G2 using XDA App
I'm stuck in the same place. I get operation denied every time...
Please help
A lot of people say its because you haven't set up the path correctly to the abd folder or haven't put the root files in the right abd folder.
Sent from my HTC Vision using XDA Premium App
Where to find 'chmod' answers
I had to exchange my G2. The one T-Mo sent is running Gingerbread(?) ver 2.3.4
I've been to theunlocker.com and in the procedure to downgrade so that I can root, http://theunlockr.com/2011/07/22/how-to-downgrade-a-gingerbread-t-mobile-g2-so-it-can-be-rooted/ two of the steps are to enter in terminal:
chmod 777 /data/local/tmp/fre3vo
and
chmod 777 /data/local/tmp/misc_version
When I do this I get 'chmod' is not recognized as an internal or external command, operable program or batch file
I have spent several hours in the forums and can't find where I've gone wrong or where to find 'chmod'
Someone please help me
SOLVED, use this link http://forum.xda-developers.com/showthread.php?t=1178912 and also (from one noob to another) it helps to type 'adb shell chmod....' if that is one of the issues you're having
You don't seem to be in the directory that you have adb installed. Change directory to there and you should be good
Sent from my Bulletproof G2
I've searched my entire hard drive, both mac & xp. It's not there. I've downloaded the SDK twice, I can't find it anywhere.
Sent from my T-Mobile G2 using XDA App
noflopscott said:
I've searched my entire hard drive, both mac & xp. It's not there. I've downloaded the SDK twice, I can't find it anywhere.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
On my xp it installed to c:/program files/android/android-sdk/platform-tools/ automatically, maybe try there. If you can't find it try downloading just the adb program and putting it in your adk platform-tools folder. You did also download the android development package right?
Sent from my Bulletproof G2
I went ahead and downloaded the ENTIRE sdk, from 1.5 to 3.3, did a hard drive search, still nowhere to be found :-c. Any other ideas?
Sent from my T-Mobile G2 using XDA App
noflopscott said:
I went ahead and downloaded the ENTIRE sdk, from 1.5 to 3.3, did a hard drive search, still nowhere to be found :-c. Any other ideas?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Are you even installing the SDK? Follow this guide to get ADB up and running: http://forum.xda-developers.com/showthread.php?t=865685
Sent from my HTC Vision using XDA App
This method worked http://forum.xda-developers.com/showthread.php?t=1178912
Followed it letter by letter and I was downgraded from 2.3.4 to 2.2 in just a few minutes :-D
Related
Ive seen this asked several times on this forum but with no answer. Following the procedure to root the new version for the Mytouch slide, I get down to the "chmod 0755 exploid" point and it gives me a "permission denied" message. Everything up until this point works fine with no errors. Why? Please help
Is phone in charge only?
Did you get a transfer status line when you tried to push exploid file?
Did you adb shell?
Did you cd /sqlite_stmt_journals?
If you cant say yes to all the above, start over.
Sent from my T-Mobile myTouch 3G Slide using XDA App
whenever I have encountered this I typically reboot the phone and I'm good
kronickhigh said:
whenever I have encountered this I typically reboot the phone and I'm good
Click to expand...
Click to collapse
This didn't work for me, but I'm getting:
Unable to chmod: no such file or directory
...
Any ideas?
what does no one have an answer to this because im having the same issue no such file or directory doesnt anyone have some know how on this
Ok solved exploid must be in sdk tools
Sent from my PC36100 using XDA App
So after 7 attempts, i decided i should seek help.
I've been trying to root my g2 using VISIONary r14.
1. I installed visionary r14 [i have usb debugging on] i leave all the check boxes unchecked and hit temp root
2. after temp root is finished, i hit attempt perm root.
phone reboots. i see superuser permission in the app drawer, all seems to be
fine.
3. Now I plug my phone to my PC via usb [i have the androidSDK and all drivers installed properly]
i change directory to C:\AndroidSDK\tools\
check adb devices and my device is listed.
then i shoot the following commands
adb push wpthis-OTA.ko /data/local/wpthis-OTA.ko
adb push hboot_7230_0.84.2000_100908.nb0/data/local/hboot_7230_0.84.2000_100908.nb0
adb shell
su
and this returns permission denied.
Ive searched everywhere and everyone says when the superuser prompt shows up check "Remember" and click yes. However this does not show up for me, at all.
I even go into terminal and try it, terminal also gives me 'Permission Denied'
any help anyone?
I'd just do it using the rage method. You obviously understand how to use some simple commands in adb, it's just that there's a few (read: not many) more. It's stickied in the development section.
Sent from my T-Mobile G2 running Cyanogenmod.
Yes rage way is the way to go. I think its a total of about 4 lines you need to enter
Sent from my HTC Vision using XDA App
yeah i ended up using the rage method, it was a lot easier than i thought it would be.
I did it using visionary r13 and terminal emulator. No pc. Go to youtube look up Blackprince310 he made a video on it. If it it doesn't work try permroot option on r13.
Sent from my T-Mobile G2 using XDA App
I would love to go the rage way, but I cannot get any permissions to do so...
Visionary r14 gives me a parsing error and does not install....
I've spent about 8 hours today trying to get this done!!! sigh!
Crey23 said:
I would love to go the rage way, but I cannot get any permissions to do so...
Visionary r14 gives me a parsing error and does not install....
I've spent about 8 hours today trying to get this done!!! sigh!
Click to expand...
Click to collapse
What steps have you taken? The rage way does not require visionary at all.
Sent from my HTC Vision using XDA App
shortlived said:
What steps have you taken? The rage way does not require visionary at all.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
right!!! I've been sitting at my pc for about 8 or 9 hours trying to root.
I continue to get adb: permission denied message no matter what I try. I follwed the adb for dummies guide that didnt work. I tried the VISONary r14 apk, I can't even open it.....
I'm beggining to wonder if I should run recovery first, get back to stock, and then try to root....how will that affect all my apps? Will it work?
Well you can always back them up with titanium backup. But yea i think you should do a factory reset then try the rage method. Follow the guide word for word. If you still got problems post em here i will try to help as much as i can. The whole process should take around 5min.
Sent from my HTC Vision using XDA App
I dont know how to link to a post with the xda app so here is the guide quoted
trigeek said:
There's already a guide here for obtaining permanent root using VISIONary, but some folks in #G2ROOT are having issues with the way that VISIONary modifies parititons. Using rage directly is a bit cleaner, since you know exactly what it's going to touch at each step of the way. I did NOT come up with any of this on my own, I'm building completely off of work that others have done. Speaking of which-
None of this would be possible without the tireless work that scotty2 put in. He stayed with the project for well over a month, through lots of smashed hopes and dead ends, until the solution was finally found. Were it not for his work, as well as the help of a few other key folks- we wouldn't be here. He deserves our thanks and some donations! We're talking hundreds of hours of work here, a couple bucks is not too much for that. His paypal is:
[email protected]Send him some love! I'm not asking for anything myself, because I spent a half hour putting this together, and that doesn't deserve any donations!
[size=+2]G2 ROOT INSTRUCTIONS[/size]
=================================================
These are modified instructions based on the ones posted at http://bit.ly/g2root that use Visionary. A number of people have run into issues with the way that Visionary juggles around temporary partitions, and using the original root exploit is a much easier, and cleaner method for achieving permanent root. This tutorial will walk you through the rooting process by first achieving temporary root, and moving on to permanent root.
[size=+1]REQUIREMENTS[/size]
=================================================
Visionary disabled at boot or uninstalled completely
Android Terminal Emulator app
ADB
vision-combined-root.zip (Attached to this post, OR these two files: )
G2TempRoot.zip (http://forum.xda-developers.com/showthread.php?t=797042) NOTE: only download the files! Don't follow these instructions yet
vision-perm-root.zip (http://forum.xda-developers.com/showthread.php?t=833965) NOTE: again, just download the files from the thread.
In the commands to run below, $ or # represent the prompt and should NOT be entered as part of the commands.
[size=+2]VERY IMPORTANT![/size]Visionary has caused filesystem corruption for some users during the rooting process. Before attempting the instructions below, make sure that you have "auto run on boot" turned OFF, and reboot your system. Since you will not need visionary anyway after this, you might as well just uninstall visionary and reboot NOW before doing anything.
[size=+1]TEMP ROOT[/size]
=================================================
ON YOUR PC:
Unzip the G2TempRoot files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
Code:
$ 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 shell chmod 0755 /data/local/tmp/*
ON YOUR PHONE:
Launch Terminal Emulator
/data/local/tmp/rage
Wait for the message: "Forked #### childs."
Menu > Reset Term - Terminal Emulator will exit.
Launch Terminal Emulator, it Force Closes. Launch a second time, and you'll have a root shell
**NOTE**: in the original directions from the XDA thread, you are instructed to run the /data/local/tmp/root script here. DON'T do this
just yet. Leave the terminal window open.
[size=+1]PERM ROOT[/size]
=================================================
ON YOUR PC:
unzip the vision-perm-root.zip and navigate to that folder. There will be four files. You will need to push two of these to your phone- hboot-eng.img, and one of the wpthis-[..].ko files.
If you HAVE applied the OTA update, push wpthis-OTA.ko.
If you HAVE NOT applied the OTA update, push wpthis-pre-OTA.ko.
Code:
$ adb push hboot-eng.img /data/local
$ adb push wpthis-OTA.ko /data/local
ON YOUR PHONE:
You should still have terminal emulator up, at a root prompt. Now run:
Code:
# insmod /data/local/wpthis-OTA.ko
You should see:
Code:
init_module 'wpthis-OTA.ko' failed (Function not implemented)
That means it worked. This next step is CRUCIAL. You must make sure that you are writing to the proper partition here or you could brick your phone. To be absolutely clear- the partition is mmcblk(zero)p(one)(eight)
Code:
dd if=/data/local/hboot-eng.img of=/dev/block/mmcblk0p18
You should see some messages indicating that it was written. Next, run:
Code:
# /data/local/tmp/root
This will lock in root, and give you 'su' access in the future. Next, run:
Code:
# sync
Now wait at least a minute, just to be safe. After waiting, reboot your phone using the power button. After it finishes starting up, launch the terminal emulator, and type 'su'. You should get the prompt asking you to grant permissions. If you got the prompt, congratulations! You have permanent root!
Click to expand...
Click to collapse
Sent from my HTC Vision using XDA App
Sent from my HTC Vision using XDA App
i need help, i perm rooted my phone now it got stuck at the HTC start up! what should i do?? pls reply ASAP!
I apologize if this is already answered somewhere. I searched everywhere and could not find anything, but I might be using the wrong wording.
Anyways I am attempting to root my G2. I have managed to get adb onto the computer and it recognizes my phone. However, the next step in the wiki says to:
ON YOUR PC: Unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
$ 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 shell chmod 0755 /data/local/tmp/*
However, it gives me error messages such as 'adb' is not recognized. I'm sure I am missing stupid but I cannot figure it out. Thanks in advance.
Just use visionary, it is much easier. Click temp root and when it is done perm root
http://android.modaco.com/content/h...m/320722/19-nov-r14-visionary-one-click-root/
Sent from my HTC Desire using XDA Premium App
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
o0olove said:
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
I used visionary and it worked just fine, but you do what you feel best with
Sent from my HTC Desire using XDA Premium App
bradley_e_smith said:
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
I checked the path a few times because I thought that was the problem. However, it all looks good. I'm going to try on another computer tonight and see if that helps.
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
I used visionary and terminal emulator and haven't had any problems at all.
_________________________________
Sent from my CM7 T-Mobile G2 using XDA app
tazz9690 said:
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
Click to expand...
Click to collapse
Yes it shows my phone when I type 'ADB Devices' That's what's causing my confusion. I've reinstalled all the drivers that are needed. From what I am seeing it SHOULD work.
Hi I have followed this guide exactly (http://forum.xda-developers.com/showthread.php?t=905003) and when i open command prompt and navigate to the downgrade folder i get stuck on the command:
"adb shell chmod 777 /data/local/tmp/GingerBreak"
I get the following error message "adb shell chmod 777 /data/local/tmp/GingerBreak: permission denied"
I have looked around for solutions but still cant find any way to fix it, help is very much appreciated!
Usually that would only happen to me if gingerbreak was already pushed to phone. Have you tried rebooting your phone and starting over?
Sent from my HTC Desire HD using XDA Premium App
hi, yes i have restarted my phone and now i get stuck on the command:
"adb push GingerBreak /data/local/tmp"
and get the error message "cannot open 'GingerBreak' : no such file or directory'
But when I go into my downgrade folder it is definetly there...
What software version are you currently using, is it one that can actually be downgraded at this time?
If GingerBreak is transfered try running it.
adb shell
./data/local/tmp/GingerBreak
what happens then?
alternatively try this guide instead, it helped me: http://forum.xda-developers.com/showthread.php?t=1152233
Hi thanks for the reply, when i do the command "adb shell /data/local/tmp/GingerBreak" i get the message "ermission denied"
hope this helps, will look at the link you posted
also my version of software is 2.36.405.8
Yeah follow the guide given above (http://forum.xda-developers.com/showthread.php?t=1152233)
also re-download the downgrade tools. If you running windows 7 make sure you dont extract them directly to the c drive. first extract to some d drive or so and then copy paste to c drive or directly given the d drive path in the cmd.
Also make sure you are logged in as admin in the system. and run the cmd after right clicking and selecting run as administrator .
and also you are deleting the older PD98IMG zip file and doing all the cmd stuff after downloading the stock PD98IMG zip file and putting it in the sd card.
Make sure you check the md5sum of the file you downloaded so that its integrity is intact.
See if it works after all this. Do post your results.
All the best
Cheers!
abhisahara said:
Make sure you check the md5sum of the file you downloaded so that its integrity is intact.
All the best
Cheers!
Click to expand...
Click to collapse
Hi how do you do this please ?
Thank you
Stephen
sbsshadow said:
Hi how do you do this please ?
Click to expand...
Click to collapse
Total Commander can do it under Windows. Else see http://www.google.com/search?hl=en&...=Google+Search&aq=f&aqi=g10&aql=&oq=&gs_rfai=
Hi thanks for the help, when i go to extract the downgrade folder into my D drive i get the following message:
"You need permission from the computers administrator to make changes to this file"
and underneath that it has displays the GingerBreak file and its details. The downgrade folder appears in the D drive but without the GingerBreak, misc version or psneuter file.
Your help is very much appreciated!
Lanky09 said:
also my version of software is 2.36.405.8
Click to expand...
Click to collapse
http://driphter.com/index.php?topic=3867.0
Start at step 2.
bump - still need help on downgrading!
I created the pathways needed to open files in command prompt and set the pathways to C:\Android-sdk\tools and C:\Android-sdk\platform-tools. I have unzipped and installed everything and placed the files in the platform-tools folder, but i cannot access the files through prompt. it tells me C:\android-sdk\platform-tools is not recognized as and internal or external command. Please someone help... i havent worked with DOS since i was in high school 14+yrs ago.
So you changed your PATH environment variable to include 'C:\Android-sdk\tools' and platform-tools?
That just lets cmd run exe's from those folders regardless of where it is pointed, it will not let you access other files from those folders.
You still need to either change where cmd is pointed (using the 'cd' command) or you can move the files to where cmd is currently pointed (probably C:\Users\Username>')
-Nipqer
Still need some assistance, when starting to downgrade from gingerbread its telling me that i dont have a device detected. I have USB debugging on, so i dont know what i should do; any ideas
PvtJoker said:
Still need some assistance, when starting to downgrade from gingerbread its telling me that i dont have a device detected. I have USB debugging on, so i dont know what i should do; any ideas
Click to expand...
Click to collapse
Hello noob.
Did you install the USB drivers ( HTC Sync software )?
shared_ptr said:
Hello noob.
Did you install the USB drivers ( HTC Sync software )?
Click to expand...
Click to collapse
Im not sure if i installed the USB drivers. I installed everything that the wiki guide said to. I am gonna try again once i get home.
PvtJoker said:
Im not sure if i installed the USB drivers. I installed everything that the wiki guide said to. I am gonna try again once i get home.
Click to expand...
Click to collapse
I faced the same problem. My Windows PC didn't recognize the attached Android-device (Check Windows Device Manager).
After following the instructions as described in the following thread it suddenly worked and I could successfully root my device:
[Tutorial] Adb Driver Android 1.0 Install
Cheers
pemphix
Please help
Well i got the USB driver installed and ran adb Devices.... it picked up my phone but now when im running adb push fre3vo /data/local/tmp i get the message "cannot stat "fre3vo" no such file or directory". Am i suppose to be in C:\users\name\Android-sdk\platform-tools\ to run the adb push?
If so, need some help with command prompt. Im running windows 7,
need to either edit the path in environmental variables or make sure all the files needed and adb.exe are in the same folder and change directories to there, i have a guide to setup fastboot (and adb is the same setup for the most part) HERE
Ok, Well i got Command prompt to start working. i remembered how to path in dos but my first go round with commands didnt work so i have to try another line to exploit.. wish me luck:fingers-crossed:
I will keep that in mind.. right now im trying to get the exploit to work.. i have gone through 1 thru 3 and got nothing yet...
so you successfully downgraded to 2.2 and are now trying to temp root? maybe like the guide you are using so we know what steps 1 through 3 are and explain what isnt working if you have issues
xda wiki, cyanogen wiki and strawmetals pdf guide are simple easy and trust worthy. i hope one of these is the guide you are using
In process of downgrading
demkantor said:
so you successfully downgraded to 2.2 and are now trying to temp root? maybe like the guide you are using so we know what steps 1 through 3 are and explain what isnt working if you have issues
xda wiki, cyanogen wiki and strawmetals pdf guide are simple easy and trust worthy. i hope one of these is the guide you are using
Click to expand...
Click to collapse
I have gotten as far as "# dd if=/dev/block/mmcblk0p17 bs=1 skip=160 count=10 1.00.000.010+0 records in 10+0 records out 10 bytes transferred in 0.001 secs (10000 bytes/sec)". Now the next step is to downgrade. the command line is:
> adb push su /data/local/tmp/
> adb push busybox /data/local/tmp/
> adb push fixsu.sh /data/local/tmp/
> adb install SuperUser.apk
> adb shell chmod 755 /data/local/tmp/fixsu.sh
> adb shell /data/local/tmp/fixsu.sh
but my command prompt is still # what do i do to
skip that, thats just for temp root which is pretty unnecessary. just downgrade and move on
I know i sound really stupid, but where is the Root of my SD card??? Please dont tell me its just the card itself...
yup, dont put files in a folder is what that means
Ok, now im in Hboot, but i dont understand what im suppose to do next. How do i work bootloader to downgrade. Once in bootloader i see; fastboot, recovery, factory reset, simlock and image crc
if the PC10IMG.zip is on the root of sd card and is named properly it will do it for you, just boot into hboot and let it do its thing.
if you want to do it the fastboot way (my preference but both work fine) then follow setherios guide to do it that way
---------- Post added at 05:01 PM ---------- Previous post was at 05:00 PM ----------
oh and always check md5sums when flashing firmware, its a good habit to have
Now here is an important question. If i had to turn off my phone before the Hboot took, do i have to go thru the entire process again? or can i just do the reboot bootloader?
well i just tried to fastboot flash zip StockRom.zip and it said cannot load StockRom.zip any ideas how to get it to work??
are you using window? if so know that it may be hiding the file extentions, so pc10img.zip should be named pc10img
etc, this may be your issue other than that you will have to copy and paste your issues so I can see what you are doing and why its failing
Sent from my HTC Vision using xda premium