So i have adb connected with my g2 and i am trying to root using http://forum.xda-developers.com/showthread.php?t=855764
but i dont get this step
On your computer's terminal/command line, navigate to where the gfree file is, and then..
Click to expand...
Click to collapse
.
do i use cd? or what
zbrah said:
So i have adb connected with my g2 and i am trying to root using http://forum.xda-developers.com/showthread.php?t=855764
but i dont get this step .
do i use cd? or what
Click to expand...
Click to collapse
yes
10char
EdKeys said:
yes
10char
Click to expand...
Click to collapse
what does 10char mean?
what command do i type in cd and then the gfree file location
10char is a forum meme where you reply to a post in under 10 characters. Yes, you cd to the directory the gfree is in.
ok so do i just say where the file is or do i put the file name too
like cd downloads/gfree_02
or cd downloads/gfree_02/gfree
The directory.
after it says adb is not recongnized as an internal or external command, operable program or batch file
i dont why it says because i have to adb setup
zbrah said:
after it says adb is not recongnized as an internal or external command, operable program or batch file
i dont why it says because i have to adb setup
Click to expand...
Click to collapse
Are you cd'ing to the folder that has adb.exe in it? that might be it.
edit to add: an easy way to do it is to right click on the folder while you hold down on the shift key. Then select "open command window here". adb.exe is most likely in the SDK tools folder
http://i516.photobucket.com/albums/u322/amarbrah/snipe.jpg
what am i doing wrong?
.... do you have the Android SDK installed?
i set up adb using second method of this thread http://forum.xda-developers.com/showthread.php?t=865685 if that helps at all
legendaryxm90 said:
.... do you have the Android SDK installed?
Click to expand...
Click to collapse
do i need it? i just set up adb using without it
zbrah said:
http://i516.photobucket.com/albums/u322/amarbrah/snipe.jpg
what am i doing wrong?
Click to expand...
Click to collapse
adb is not going to work if you don't have it (adb.exe) in that gfree_02 folder that you are cd'ing to
As stated before, you have to be in the directory where adb.exe (so the directory you created when you extracted the ADB files from the other thread).
Then place the files you are trying to push in that directory as well. Alternatively, you can setup the location as ADB in your path environment variable (as explained in first part of the guide you linked to).
EdKeys said:
adb is not going to work if you don't have it (adb.exe) in that gfree_02 folder that you are cd'ing to
Click to expand...
Click to collapse
http://i516.photobucket.com/albums/u322/amarbrah/wtf.jpg
now i got this
all the adb and gfree files are in one folder now
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
heres a pic of the folder im cd'ing
There's no gfree file in that directory... You might want to extract the gfree zip file again.
is this what am i suppose to have
ianmcquinn said:
There's no gfree file in that directory... You might want to extract the gfree zip file again.
Click to expand...
Click to collapse
i have gfree in it now
Related
I just tried to adb push a file into system\customize\resource folder (for custom bootanimation) and got a "failed to copy" message saying it is a read only file system... does this mean im not fully rooted?
Thanks in advance and sorry if this is the wrong forum or anything, this is my first post on here...
run adb shell, if the prompt looks like this
Code:
#
youre rooted. the problem is that the root filesystem, or / , is set to readonly after the system as booted. if you want to push into root, you need to remount it as read write, or push the file while youre in recovery.
yeah i have the # when i run shell.... thanks for the quick response! i was able to push the file after that =)
glad i can help, work is slow today
nenn said:
run adb shell, if the prompt looks like this
# youre rooted. the problem is that the root filesystem, or / , is set to readonly after the system as booted. if you want to push into root, you need to remount it as read write, or push the file while youre in recovery.
Click to expand...
Click to collapse
New guy here trying to use the search to get an answer to my question.....sorry for bumping an older thread. What is the command to "remount it as read write"
Also, I'm booted into recovery (Amon RA), but still can't seem to write to the system folder. Coincidentally, I too am toying with a custom boot animation.
Thanks to anyone who can help!
erikivy said:
Also, I'm booted into recovery (Amon RA), but still can't seem to write to the system folder. Coincidentally, I too am toying with a custom boot animation.
Click to expand...
Click to collapse
If you're booted into recovery, the filesystem usually mounted on /system isn't mounted. That's kinda the point.
So if you need to write to it, mount it first.
posguy99 said:
If you're booted into recovery, the filesystem usually mounted on /system isn't mounted. That's kinda the point.
So if you need to write to it, mount it first.
Click to expand...
Click to collapse
Thanks for your speedy reply. I'm sorry to be a dunce, but once again, what is the command to "mount it?" I'm guessing I do it via ADB, right?
I think you are looking for the command: remount rw
elegantai said:
I think you are looking for the command: remount rw
Click to expand...
Click to collapse
Thanks! Headed off to try it now.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
edit: YES! It's the simple things that bring so much joy. It worked perfectly, Bro. Thanks again.
So I have a rooted Evo and am wondering how the heck do I open up a shell? I'm trying to see if I my Evo is properly rooted and it says I need to open up a shell so I can check for this. I'm guessing it's like opening a Linux terminal but I have no idea how to do this on my phone and it seems like it's a fairly common thing. Should I have access to an adb shell after rooting? I am new to all of this so please go easy on me...
PC-48 said:
So I have a rooted Evo and am wondering how the heck do I open up a shell? I'm trying to see if I my Evo is properly rooted and it says I need to open up a shell so I can check for this. I'm guessing it's like opening a Linux terminal but I have no idea how to do this on my phone and it seems like it's a fairly common thing. Should I have access to an adb shell after rooting? I am new to all of this so please go easy on me...
Click to expand...
Click to collapse
Just try downloading an app that requires root... like Titanium backup or wifi tether... all on the market...
or goto your tools folder from the SDK..with your phone plugged into your computer...on charge mode.... from a command prompt type "adb shell" and then if you get a "#" you are rooted.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
that is for the terminal emulator for your phone. Or just grab it from the market:
'Android Terminal Emulator' by Jack Palevich
Ok so I downloaded that app using the barcode scanner and it runs so I must be properly rooted. I'm just wondering what the SDK is that apristel mentioned. I'm guessing Software Development Kit but I don't have one of those that I am aware of. I used the Terminal Emulator and typed in adb shell and it responded with "adb: permission denied". I'm just trying to learn about how all of this stuff works, Thank you for your help so far.
PC-48 said:
Ok so I downloaded that app using the barcode scanner and it runs so I must be properly rooted. I'm just wondering what the SDK is that apristel mentioned. I'm guessing Software Development Kit but I don't have one of those that I am aware of. I used the Terminal Emulator and typed in adb shell and it responded with "adb: permission denied". I'm just trying to learn about how all of this stuff works, Thank you for your help so far.
Click to expand...
Click to collapse
http://developer.android.com/sdk/index.html
After you install that you will be able to open command prompt (windows) and type adb shell (when device is pluged in and in usb mode) to get shell access via your pc.
Ahh! Ok it's all starting to make sense now. By "usb mode" do you mean the Disk drive option or is it the Charge only option? I'm talking about the Connect to PC options...
I think he means usb debugging mode and charge only.
vbyt said:
I think he means usb debugging mode and charge only.
Click to expand...
Click to collapse
Yeah thats exactly what i meant. thanks for clearing that up.
hi! im one of those G2 users that was unlocked but no network signal.. i know that this has been fixed.. just want to ask since im really not familiar with all the terms..
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
what exactly means " You will need to download a program called gfree that will first copy partition 7 of the phone, then patch it, then reflash back to your phone"
im using mac.. download already sdk.. my phone already recognized.. i just dont know what exactly to do with the gfree_02 zip file or how do i open it. thanks.
You need a tool on your Mac that can recognise ZIP files and un-zip them. I had a quick Google and found loads. I don't know whether there's anything built-in though, I know very little about Macs.
All you need to do is to extract the contents of gfree_02.zip to your Mac, then you can follow the rest of the instructions. I assume you have got adb working, based on what you've said.
You can probably just double click it to unzip it or, maybe right click and open with Archive Utility.
What version OS are you running on your Mac? 10.5? 10.6? etc..
unzip files, place in the platform-tools older where your adb is, open up terminal and push the files to your phone then run terminal emulator and follow this wiki article.
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
m0bstar said:
unzip files, place in the platform-tools older where your adb is, open up terminal and push the files to your phone then run terminal emulator and follow this wiki article.
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
Click to expand...
Click to collapse
hi! thanks for the quick response i tried doing but when i typed adb push gfree /data/local it says (gfree folder is in the platform tools folder)
cannot stat 'gfree': No such file or directory
or
when i type in adb push /Users/xxxxxx/Desktop/gfree_02 it says (gfree is in desktop)
Android Debug Bridge version 1.0.26 - (and shows all the commands)
all i need is to push gfree right? but i cant do the right command.. pls help thanks
It's hard to say, but it seems like you haven't unzipped the .zip file yet. Can you see the files? There should be about 9 files, mostly ending in .c and .h You only need the one called gfree (with no extension).
if you did unzip and gfree in on the desktop - you can see the file, not just the enclosing folder, then try:
adb push /Users/xxxxxx/Desktop/gfree
now it says:
$ adb push /Users/xxxxxxx/Desktop/gfree
adb: permission denied
is there like a step by step on how to do it?
Did you put in the target location? The /data/local/ bit at the end
Adb push /users.../desktop/gfree_02/gfree /data/local/
Sent from my CyanogenMod Vision
accons said:
now it says:
$ adb push /Users/xxxxxxx/Desktop/gfree
adb: permission denied
is there like a step by step on how to do it?
Click to expand...
Click to collapse
Are you typing that on your phone (terminal emulator) or on your PC/Mac ? It needs to be on your PC/Mac, not the phone.
You need to unzip the gfree files and place them individually in the platform-tools folder not as /plantform-tools/gfree/.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
make sure type in terminal "cd /computer-name/sdk-folder-location/platform-tools/"
then follow through with "./adb"
and then start pushing the gfree files with "./adb push gfree"
thanks for all your reply!
im done with these:
make sure type in terminal "cd /computer-name/sdk-folder-location/platform-tools/"
then follow through with "./adb"
and then start pushing the gfree files with "./adb push gfree"
and then i typed ./adb shell as mentioned on the wiki:
On your computer's terminal/command line, navigate to where the gfree file is, and then…
adb push gfree /data/local
adb shell
but when i tried the next step on wiki
This copies gfree to your phone, then puts you in your phone's terminal. Then (IN THE ADB SHELL) do this:
su
cd /data/local
chmod 777 gfree
./gfree -f
sync
when i typed su --it says
su: permission denied
what happened? thanks.
sounds like you arent temp rooted, you sure you temp rooted first?
i havent temp root my phone yet.. coz when i type
$ adb push su /sdcard/su
when i hit enter it will reply
cannot stat 'su': No such file or directory
i need the right command for my mac and also the right path for my g2 terminal emulator.. coz the initial command is export PATH+/data/local/bin:$PATH
is this correct or do i need to change the directory or my command.
all i really need is to "unlock" my phone..
thank you..
accons said:
i havent temp root my phone yet.. coz when i type
$ adb push su /sdcard/su
when i hit enter it will reply
cannot stat 'su': No such file or directory
i need the right command for my mac and also the right path for my g2 terminal emulator.. coz the initial command is export PATH+/data/local/bin:$PATH
is this correct or do i need to change the directory or my command.
all i really need is to "unlock" my phone..
Click to expand...
Click to collapse
Your PATH is ok because it is finding the "adb" command ok.
What isn't ok is that it can't find "su" when you try to use adb to copy (push) it to the phone. You need to do a "cd" to change directory to wherever you unzipped the files that you are trying to push.
e.g. if "su" and the other files are in /tmp on your Mac, then you need to do "cd /tmp" and then run the adb commands.
Hi,
I don't know how but my RSA key is missing from Winmax RSA key checker. no wonder I couldn't connect to my 4G network. I did make a backup using RA a while ago just to backup the Winmax key and nothing else. I located the folder on my SD and could view it from my RA recovery. But when I try to restore it...it says opps something went wrong and check your log file.
I don't know where is my log file and I don't know how to restore this key..any help would be greatly appreciate.
Thank you
place the wimax.img file on the root of your sdcard, open terminal, type
su
then type
flash_image wimax /sdcard/wimax.img
reboot, check for keys
Hi,
I did place the image file on my root under the sdcard and type "flash_image /sdcard/wimax.img"
but it says not found
i also created another folder called wimax and copy and paste my wimax.img in there as well and tried "flash_image /sdcard/wimax/wimax.img"
its also not found
i'm using terminal emulator if that helps
thank you
the file is named wimax.img? it is caps specific so if its named Wimax.img it will error
either change the name or type its exact name with caps etc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my PC36100 using Tapatalk
your second flash attempt the flash_image wimax /sdcard/wimax/wimax.img you had the file in the folder then?
It looks like you don't have the flash_image command on there.
See if this helps, it's instructions on getting flash_image onto your phone: http://wiki.cyanogenmod.com/index.php?title=Flash_image
Clarification: the "not found" error you're getting is in reference to flash_image. Notice that you got the same "Not found" message when you typed "dir", since there is no dir command in that shell.
NewZJ said:
your second flash attempt the flash_image wimax /sdcard/wimax/wimax.img you had the file in the folder then?
Click to expand...
Click to collapse
YES and still not found
jesuspgt said:
It looks like you don't have the flash_image command on there.
See if this helps, it's instructions on getting flash_image onto your phone: http://wiki.cyanogenmod.com/index.php?title=Flash_image
Click to expand...
Click to collapse
I downloaded the flash_image.zip from the site above..can i flash it via recovery to install it to my phone? thanks
hmm. used to have flash_image included. when did it change?
TommyNgo215 said:
I downloaded the flash_image.zip from the site above..can i flash it via recovery to install it to my phone? thanks
Click to expand...
Click to collapse
You really should follow the instructions on that link, they tell you exactly how you need to do this.
NewZJ said:
hmm. used to have flash_image included. when did it change?
Click to expand...
Click to collapse
Not really sure, I kinda figured it would be included within busybox. But I guess it might depend on the rom. Or it could just be a one-off weird scenario here.
jesuspgt said:
Not really sure, I kinda figured it would be included within busybox. But I guess it might depend on the rom. Or it could just be a one-off weird scenario here.
Click to expand...
Click to collapse
oh i don't have busybox i'm using Terminal Emulator. may that's why?
FIXED
download android terminal emulator, jack palevich author
it works in that one
Edit: not fixed
NewZJ said:
FIXED
download android terminal emulator, jack palevich author
it works in that one
Click to expand...
Click to collapse
Yea thats why i have...i downloaded that one Android Terminal Emulator by Jack Palevich but it doesn't work for me for some reason ((
TommyNgo215 said:
oh i don't have busybox i'm using Terminal Emulator. may that's why?
Click to expand...
Click to collapse
busybox isn't a terminal, it's the name given to the collection of command applications (for lack of a better term), that are used in a linux shell (terminal). Here's a wiki about it: http://en.wikipedia.org/wiki/BusyBox
If you don't want to use ADB, you can try just unzipping http://cyanogen-files.carneeki.net/flash_image.zip
It should just be flash_image in there. Stick flash_image into the root of the sdcard. after that, you should (hopefully) be able to begin using that command.
Edit: that zip file is not one that is flashed via recovery. It's just a plain old zip file. You just need to extract the file inside of it to the root of your sd card
its not that I don't want to use ADB but my knowledge is very limited. I got so confused from reading it and more confused from reading it again. SDK i don't have SDK i don't know what it is and then ADB i'm stupid. its crazy that i have an image here but i can't flash it using RA recovery.
ok i extracted..and still not found..it didn't install that to the phone. oh my what have i done
ADB is really not as complicated as it seems at first.
To get the SDK, go here: http://developer.android.com/sdk/index.html and install whichever flavor applies to you.
Assuming you're in Windows, just load up command prompt and navigate to the folder that the SDK installed to.
Plug your phone in, make sure that debugging is enabled in the USB settings on the phone, and then just follow the instructions step-by-step from that link. Those instructions focus at the end towards flashing a recovery image, but you will just need to substitute wimax in instead.
Hi Guys, Im attempting to gain root for the first time on my (Telus Desire HD). I am well aware that I need to downgrade but cant get, dont understand the following...
B.a Downgrade Process
1- Copy the PD98IMG.zip file from the "Step 1 - PD98IMG" folder and put it on the root of your SD card (i.e. not in any folders). Do NOT rename this file.
2- Go to the "Common files" folder and double click Start Here.
3- Copy the files in "Step 3 - Downgrade" to the "Common files" folder.
4- In the new command window that opens, type the following commands (you shouldn't get any errors. hit enter after each):
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[/B]
When asked to copy the files in step 3- "Downgrade" to the common files folder... where was I supposed to locate this??? is it supposed to b on my computer C drive where it was downloaded to was I supposed to copy that too to the phone external drive.
Plain & simple the 4th step the new command window doesnt open & attempting to re-open after copying the files to the common folder doesnt give the "#" symbol when im finnished. Tried multiple times. Also phone is set to usb debugging... but should it be mounted, charge only, or htc sync?
Thanks any help greatly appreciated.
Not wanting to quite & keep trying I attempted to find out @ which step the cmd stopped working or responding. when entering the...
adb shell chmod 777 /data/local/tmp/psneuter portion of the above task this is the message that came back.
Failed to set prot mask (inappropriate ioctl for device)
I also noticed that htc sync stopped working after the first of 5 lines.
Also being a noob, I need to complete 10 replies before asking those in the development portion ss yeah sorry.
Another note: to which led me to the need to get root access soon is that telus just released an OTA update that doesnt work, so much that did work now doesnt or fails every 10 seconds.
Still no luck today, same responses as above.
All of the telus related posts I have read suggest using the same method but I havent read anyone getting stuck at this simple step so early on.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is what I get. I have also tried from other locations and I get the same result. Please help.
The attached is a pic of what i get in the cmd
the common folder is in the telus desire hd folder after you have extracted the package.
Thanks, I was aware of that. I think mabey the whole issue has something to do with the lame OTA update i just installed. It Changed my software # to 2.43.661.1
As I have been made aware by other topics... Version 2.3 + can not yet be downgraded.
Would be quite interested in knowing when I can downgrade version 2.43.661.1
Learn how to predict the future then Because nobody knows.
Sent from my Desire HD using Tapatalk