[Q] can't cd to /sdcard/root - myTouch 4G Q&A, Help & Troubleshooting

So this is my first Android phone..
And I am wanting to use it to its full extent..
I have the 2.2.1 Version Mytouch 4g..
Downloaded..
Astro..
Terminal Emulator..
Visionary r11..
Also the root.rar file..
I extracted the root.rar file..
And got the Root folder..
Placed it into the root of my sd card..
And when I go to Terminal Emulator..
After running Visionary for root access..
I type in the Command..
"cd /sdcard/root"
And I get..
"cd: can't cd to /sdcard/root
What am I doing wrong..?..
Any pointers would be much appreciated..
Thank you in advance..

Syph3r03 said:
So this is my first Android phone..
And I am wanting to use it to its full extent..
I have the 2.2.1 Version Mytouch 4g..
Downloaded..
Astro..
Terminal Emulator..
Visionary r11..
Also the root.rar file..
I extracted the root.rar file..
And got the Root folder..
Placed it into the root of my sd card..
And when I go to Terminal Emulator..
After running Visionary for root access..
I type in the Command..
"cd /sdcard/root"
And I get..
"cd: can't cd to /sdcard/root
What am I doing wrong..?..
Any pointers would be much appreciated..
Thank you in advance..
Click to expand...
Click to collapse
Make sure phone is not connected to computer via usb cable.
Sent from my HTC Glacier using XDA App

Phone is not connected by usb..
Has been ejected and unplugged from computer upon adding root file..
One thing to Mention is..
In my application block I have the superuser Icon..
And I can select it and use it..
But if I go to Terminal emulator, and type su..
I get permission denied..
Although when I did try to Root the phone..
I went thru Visionary..
Checked the r/w box did the root.. on r11..
Then went to type the..
"cd /sdcard/root"
And that is when i got the..
"can't cd to /sdcard/root"

Try using Visionary 14, I was having the same issue reading the SD card figured it had to do with something with the root. I'm sure you can find the link in the forums
Sent from my HTC Glacier using XDA App

Syph3r03 said:
So this is my first Android phone..
And I am wanting to use it to its full extent..
I have the 2.2.1 Version Mytouch 4g..
Downloaded..
Astro..
Terminal Emulator..
Visionary r11..
Also the root.rar file..
I extracted the root.rar file..
And got the Root folder..
Placed it into the root of my sd card..
And when I go to Terminal Emulator..
After running Visionary for root access..
I type in the Command..
"cd /sdcard/root"
And I get..
"cd: can't cd to /sdcard/root
What am I doing wrong..?..
Any pointers would be much appreciated..
Thank you in advance..
Click to expand...
Click to collapse
I had that same trouble rooting my phone. My problem was that I didn't realize that the .rar was a different type of compression and needed a different extractor. I suggest uninstall visionary and superuser. Remove the battery and reboot. Then install visionary and temp root. Then try "su" in terminal again. That should work. Make sure you are using visionary r11+ also. I made the mistake of downloading just plane r11 that doesn't have the options that are necessary to permaroot.

skidooman said:
I had that same trouble rooting my phone. My problem was that I didn't realize that the .rar was a different type of compression and needed a different extractor. I suggest uninstall visionary and superuser. Remove the battery and reboot. Then install visionary and temp root. Then try "su" in terminal again. That should work. Make sure you are using visionary r11+ also. I made the mistake of downloading just plane r11 that doesn't have the options that are necessary to permaroot.
Click to expand...
Click to collapse
Thank you all for your continued support..
I am starting to feel as if my phone is unable to be rooted.. lol..
I have tried using r11+ and r14+ in order to root my phone..
Each and every time I get to the Terminal Emulator and input the first command I get the error message..
Maybe using winzip to extract the root file, is not the correct software to use..?..

If anyone still needs an answer to this question, I might have one. This issue just occurred for me on my mt4g, it was a real palmslap to the forehead when I realized what I had done. I put the files from the "root" folder into the root of the sdcard. So when it said "can't cd to /sdcard/root" it was because the folder root didn't exist and /sdcard/ held the files I wanted. In other words, put the entire folder named root onto your sd card and not just the files.
Hopefully this might help someone who made the same foolish mistake I did.

skidooman said:
I had that same trouble rooting my phone. My problem was that I didn't realize that the .rar was a different type of compression and needed a different extractor. I suggest uninstall visionary and superuser. Remove the battery and reboot. Then install visionary and temp root. Then try "su" in terminal again. That should work. Make sure you are using visionary r11+ also. I made the mistake of downloading just plane r11 that doesn't have the options that are necessary to permaroot.
Click to expand...
Click to collapse
After SU...
Type cd(space)/sdcard/root
Then do the rest
Smile when it starts to work

After SU...
Type cd(space)/sdcard/root
Then do the rest
Smile when it starts to work
im still having the same problem any suggestions?
I type in the Command..
"cd /sdcard/root"
And I get..
"cd: can't cd to /sdcard/root

formeka909 said:
After SU...
Type cd(space)/sdcard/root
Then do the rest
Smile when it starts to work
im still having the same problem any suggestions?
I type in the Command..
"cd /sdcard/root"
And I get..
"cd: can't cd to /sdcard/root
Click to expand...
Click to collapse
First try to cd to /sdcard. If that works type ls that is LS but lowercase. Look for root in the response. If it is not there, the directory doesn't exist.
If you can't change to /sdcard try cd /mnt/sdcard
My phone's directory structure is /mnt/sdcard.
Edit:
Just tried /sdcard, it worked. Then I tried to cd to a folder by not using proper caps, that worked too. Last I tried to cd to a folder that didn't exist and got the same error. You are telling terminal to change to a directory that does not exist, meaning, there is no folder named root on the sdcard.
Sent from my HTC Glacier using XDA App

1) download the root.rar file
2) unzip to the sdcard
3) make sure the folder name is "root"
4) make sure the folder named "root" is actually in the SDcard
5) open terminal emulator
6)
Code:
su
cd /sdcard/root
sh root.sh
BEFORE DOING ANY OF THIS, YOU MUST HAVE ALREADY TEMP ROOTED USING VISIONARY. and when you use visionary to root, MAKE SURE USB DEBUGGING IS ON OR IT WILL NOT WORK!!
IF NOTHING WORKS FOR YOU, THEN TRY THING GFREE METHOD HERE: http://forum.xda-developers.com/showthread.php?t=858996

the files u copied from the zip folder...save it on sdcard with the folder named root...
cd (space) sdcard/root
.sh root.sh

Related

Help, I can't root my phone. HELP!

I have been trying to root my phone but it keeps saying "sh file type not found"
Can someone help me please.
Sent from my HTC Glacier using XDA App
Did you unzip it and put it in root of your sdcard? Which method did you use? Anyways follow my instructions below.
HKM said:
Well since you are up to the PermROOT I take it you have TempROOT, if so as you saying you have root.sh in root dir inside /sdcard so it would look like /sdcard/root/root.sh for the absolute path. Also you have console right? If not go download Terminal Emulator. Then type in "su" and press enter SU=Super User or @wheel,root permission base. Then use "cd /sdcard/root" press enter CD = Change Directory. Then do "sh root.sh" and press enter as sh is shall execute command. So it would look like this below:
su
cd /sdcard/root
sh root.sh
Click to expand...
Click to collapse
Sent from my HTC Glacier
I tried the only two methods I know of, using the command prompt, and the file explorer. I did put it in the root of my sd card. And I tryied several times and get the same reponse.
Sent using my T-mobile MyTouch 4G (unrooted).
dnlgorz said:
I tried the only two methods I know of, using the command prompt, and the file explorer. I did put it in the root of my sd card. And I tryied several times and get the same reponse.
Sent using my T-mobile MyTouch 4G (unrooted).
Click to expand...
Click to collapse
Follow the video from TheUnlockr then exactly step by step.
tempROOT> http://www.youtube.com/watch?v=gylaXOCNzqU
permROOT> http://www.youtube.com/watch?v=Sy_aqKoeev4
If that don't work here is the one by grankin01.
http://forum.xda-developers.com/showthread.php?t=858996

permanent root help

hi, i just did exactly what on the guide to permanent root my touch 4g, i ran visionary and do everything what suppose to do, when i open terminal i typed "su" it granted me access, but when i typed....cd/sdcard/root and hit enter, it said....NOT FOUND, can someone please help me
lam824 said:
hi, i just did exactly what on the guide to permanent root my touch 4g, i ran visionary and do everything what suppose to do, when i open terminal i typed "su" it granted me access, but when i typed....cd/sdcard/root and hit enter, it said....NOT FOUND, can someone please help me
Click to expand...
Click to collapse
what method did you use?
i download the two file= wpx and hboot. download astro, visionary 11 and android terminal emulator. i changed the fast boot off,usb dedugging checked, unknown sources checked. both downloaded file were on the astro sdcard at the place it suppose to be,checked r/w before ran visionary and temporary root my device, open terminal typed SU+ enter it grand me access, typed cd/sdcard/root....and it show CANT and DONT FOUND
lam824 said:
i download the two file= wpx and hboot. download astro, visionary 11 and android terminal emulator. i changed the fast boot off,usb dedugging checked, unknown sources checked. both downloaded file were on the astro sdcard at the place it suppose to be,checked r/w before ran visionary and temporary root my device, open terminal typed SU+ enter it grand me access, typed cd/sdcard/root....and it show CANT and DONT FOUND
Click to expand...
Click to collapse
okay. you need a total of three file. in the folder.
Do this,
1) use the Astro manager and go to /mnt/sdcard and create a folder. And name that folder "root" (all lower case). Or you can create a folder via a mounting the SDcard and using a computer.
2) Then download This File.
3) Once you download that extract the file. In that file are three scripts.
4) Move those three scripts to the folder that folder you created in step one.
5) then try your command again.
The reason it's not finding /sdcard/root is because it's simply not there. It cannot find what doesn't exist.
Also make sure its CD / not cd/

[Q] problems rooting new mt4g

hello! i am hoping someone can figure out what i am doing wrong. I am completely new to rooting phones.read lots about it but this is my first attempt.i have had help from a friend that has rooted several phones (including his mt4g) Now i just got this phone yesterday so its new with only the required apps for rooting on it.
both my friend and i have tried several times this method:
6. Run visionary to gain temp root.
7. Open terminal emulator on your device, type “su”, and hit enter to gain root privileges.
8. Type “cd /data/local” and hit enter.
9. Now type “chmod 777 gfree” and hit enter to make the program executable.
10. Type “./gfree” and hit enter.
11. Wait for the program to finish and then reboot into HBoot to see if S=Off. Also, check your bootloader version. If it says s=off and has bootloader version 0.86.0000 it worked
then hit a brick wall with this step '10. Type “./gfree” and hit enter.' we get a permission denied error.
i have also tried this method several times:
5. open android terminal emulator
type in "su" then click entet (without " mark)
it will probably say permission is denied
type in "su" again, then click enter
supper user will pop up asking for permission click "allow"
type in "cd /sdcard/root" then click enter
type in "sh root.sh" then click enter
give a min or two when it says turn off and go into recovery to check if s is on or off, exit out of emulator
6. turn off the phone, then reboot into hboot by holding volume down and power button
7. it should say S=OFF
but after the reboot in step 6 it is still s-on
hboot-0.86.0000
hoping someone can help
oh and i followed the steps to a T, thanks for any info
So you are able to temproot? Does typing "su" in terminal emulator give you superuser privileges (if the prompt symbol changes to a # instead of a $, it worked)?
If so, make sure you've downloaded the gfree files and copied them to the proper place. You want the files themselves to be in /data/local on the phone. You do NOT want a folder named "gfree" containing these files. The commands should work exactly as written.
I'm the one that was helping the op. Does the gfree folder need to be renamed or does the files need to be moved out of the folder and placed in /data/local directly? I rooted with the above method in like 5 minutes but when I tried with the op we got ./gfree permission denied as stated above. Thanks for your help it's much appreciated and we'll post back with results.
that worked perfectly!! had to take the files out of the gfree and put them directly in local and rename the gfree folder something else. Thanks!
okay we got it figured out and s-off. For those wondering if you manually add the files through root explorer copy the files in the gfree folder and drag them to /data/local and paste. Do not put the gfree folder in /data/local. Thanks again jdkoren for the help!
would it work if you just put the files on your sd card instead? Also its a brand new mytouch 4g correct? Meaning bought in 2011? I just bought one and the unlockr method didnt work. Im going to try the method you guys did next and i saw a video in which the guy did the same thing (gfree version) but just changed data local to sdcard. Im just wondering because im about to root soon. Thanks.
Yes it was bought in 2011. Use the guide found here briefmobile just make sure to use root explorer and copy all the files inside the gfree folder and paste them to /data/local.

[Q] Rooting MTG4 can't cd to /sdcard/root

When I type in cd /sdcard/root to the terminal emulator it comes back saying
cd: can't cd to /sdcard/root
Anyone else have this problem?
afrothundah said:
When I type in cd /sdcard/root to the terminal emulator it comes back saying
cd: can't cd to /sdcard/root
Anyone else have this problem?
Click to expand...
Click to collapse
you need to have Super User (su) permission.
Download VISIONart r14 root the phone (with Set system to r/w checked, and run visionary.sh checked)
temp root the phone then try your commands via Term Emulator.
Make sure to type "su" first. The "$" should change to a "#".
If you've done all that and you still are having problems you might not have the folder system
Download the root.sh .zip from The unlocker
extract the folders on the computer.
plug in the phone via the USB cable
Create a new folder on the SDcard called root
Then drag the three files from the extracted .zip to the new folder
you dont need root permissions to browse your sdcard.
type it like this
cd /sdcard/root/
option94 said:
you dont need root permissions to browse your sdcard.
type it like this
cd /sdcard/root/
Click to expand...
Click to collapse
I guess I worded that oddly. Yea I am aware of that. But one must rooted for the script to stick.
Sent from my HTC Glacier using Tapatalk

[Q] Questions galore on rooting MT4G!

Hi everyone,
I have a MT4G, 2.2.1, kernel 2.6.32.21-g899d047. I am using Windows 7 Ultimate 32-bit.
I want to root the phone but I am meeting a lot of permission issues.
I have been following this guide: http://wiki.cyanogenmod.com/index.php?title=TMobile_myTouch_4G:_Full_Update_Guide
At the very beginning, I had problems with su and Superuser.apk.
I have used 'adb devices' to check that my phone is indeed detected.
I put su and Superuser.apk into the same directory as
When I use 'adb push su /sdcard/su', I receive an error saying 'Failed to copy 'su' to '/sdcard/su': Permission denied. Same error for Superuser.apk.
I looked further down the guide and noticed that I would not actually be using the su and Superuser.apk at all and simply copied it over to the SD card itself when I plug the phone into my computer.
I then go into terminal emulator on the phone and I run rage and received the 'Forked #### childs' message, after which I reset term.
I assume I have root shell at this point because I am no longer on $, but instead on #.
At this point, I am able to adb push gfree (the one file gfree) into /data/local. I am able chmod 777 from adb.
When I go into terminal emulator again, I run '/data/local/gfree -f' but it gives me the error message of '/data/local/gfree: permission denied'
What am I doing wrong? I used 'ls -l' inside the directory of /data/local and I have complete rights for gfree (drwxrwxrwx).
----
I have also attempted to use VISIONary+ (R14) but all it does is flash a couple of times then go back to the app page where you choose to temproot. I check my app drawer and Superuser is indeed there, but if I tried to go into terminal, I am met with $. I tried entering 'su' but it would say unknown user root.
----
PLEASE HELP! THANKS!
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Are you temp rooting with visionary before entering the commands in terminal?
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
i can haz 10 char
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
As mentioned in OP, I am using the rage file to give me temporary root. I am currently not using VISIONary because (also included in OP) I am not getting root shell at all with VISIONary. I click temproot in VISIONary and the superuser app shows up but I am unable to su in Terminal.
Try to find visionary 11, people have alot of problems with 14.
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
Having trouble at step 1..
'adb push gfree /data/local'
Met with the error 'Failed to copy 'gfree' to '/data/local/gfree': Is a directory'
I extracted the files into platform-tools.
Didn't you already put gfree on your phone from the first attempt?
lowandbehold said:
Didn't you already put gfree on your phone from the first attempt?
Click to expand...
Click to collapse
Yes but I was attempting to follow a whole new guide. Regardless, I have shell root but I am still unable to run gfree. It still shows permission denied (again, using ls -l, I can see that gfree is drwxrwxrwx).
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
before you attempt a new rooting method please pull the battery and let the phone sit for a few moments. Since your s-on it will delete any unwanted files that you may of tried to push to the phone.
and type in
Code:
adb kill-server
adb start-server
That will refresh the adb server on your computer.
you'll also need to change the directory to the folder where you stored the gfree files.
double post...sorry
lowandbehold said:
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
Click to expand...
Click to collapse
Yeah, I'm using visionary 11. Still no good.
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
lowandbehold said:
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
Click to expand...
Click to collapse
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
itzbilly said:
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
Click to expand...
Click to collapse
RUN VISIONARY.SH : Yes
root on boot : no
neidlinger said:
RUN VISIONARY.SH : Yes
root on boot : no
Click to expand...
Click to collapse
Tried with those settings and now I've lost root shell. I'm on $ and entering su gives me unknown user root.
VISIONary says device is rooted when I try to run it again.
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
lowandbehold said:
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
Click to expand...
Click to collapse
Do i uncheck and then reboot or just uncheck and go straight into terminal?
check everything including the root on boot. Reboot the phone. Then you can go straight into terminal or uncheck it and go into terminal..doesn't matter. Just make sure before you reboot a second time that root on boot is not checked.

Categories

Resources