Rooting G2 "unable to chmod /: read-only file system" - G2 and Desire Z Q&A, Help & Troubleshooting

Hi All,
I am trying to root the G2, but am afraid to continue. I followed the Wiki precisely and got to this step.
adb shell
chmod 755 /data/local/tmp/*
Click to expand...
Click to collapse
but it just returns a error message saying
Unable to chmod /: Read-only file system
Click to expand...
Click to collapse
Here is the wiki I am following: http://wiki.cyanogenmod.com/wiki/TMobile_G2:_Rooting
Thanks in advance for all of your help!

Try the command(s) as a single line:
Code:
adb shell chmod 755 /data/local/tmp/*
Kind Regards,
Kevin
Sent from my T-Mobile G2 using Tapatalk

It still says the same thing unfortunately...

But no errors when you adb push the rooting files to that dir?
Sent from my T-Mobile G2 using Tapatalk

Think I figured it out. You are using this 2.2 root method on a 2.3 ROM? chmod from shell/terminal does not work on 2.3.3/2.3.4 without already having su. Will need to look at other ways to root (several ways posted in this forum) if you are.

kpetrie77 said:
Think I figured it out. You are using this 2.2 root method on a 2.3 ROM? chmod from shell/terminal does not work on 2.3.3/2.3.4 without already having su. Will need to look at other ways to root (several ways posted in this forum) if you are.
Click to expand...
Click to collapse
Thank you, you are probably right. I was just using the wiki and figured it was up to date. Yes I am trying to root post Android 2.3 update.
I will search for other methods now. Thanks again!

kpetrie77 said:
Think I figured it out. You are using this 2.2 root method on a 2.3 ROM? chmod from shell/terminal does not work on 2.3.3/2.3.4 without already having su. Will need to look at other ways to root (several ways posted in this forum) if you are.
Click to expand...
Click to collapse
Thank you so much! After two days I am rooted, what a blast!
Adrenaline due to being afraid of bricking.

what did you use to root?
I am having same issues with read only...

newtybar, which guide u've used? Still searching for solution to downgrade/root Gingerbread OTA on Desire Z.

If you are on Gingerbread you should be using a downgrade guide first found here. Then you can do the rooting and s-off guide found in the wiki. If you have questions you can used IRC (if you're familiar with it) and go to #g2root where they do know what they're doing.

Related

Root for hboot 2.02?

So my wife just purchased an Evo but it came with hboot 2.02, software # 3.30.651.2 and HTC kernel #10
I tried rooting using the one click and the long way which are posted in the development forum. For the life of me I could not get clock work or amon ra to work. Or any roms for that matter.
I do know how to root since I've been doing this to my heros and mine and others Evos, but we're running hboot .97 and below. Any help will be greatly appreciated. Thank you.
Sent from my PC36100 using XDA App
PS I tried the hboot s off method but had no luck.
Sent from my PC36100 using XDA App
Ok, usually I am understanding and forgiving, but this is kind of nuts. Look in the dev section. Like 5 from the top on the front page. One click doesn't work. You need to do it a special manual way. Plz, it takes two seconds to click one forum over and skim the first page.
Oh sorry ignore my last post i didnt read your second comment. your solution,
You need to flash your misc partition with toasts mdt-eng.img. You can find this in his how to root part two guide. You will need to follow basically all the steps. Push flash_image to data local you will also need rageagainstthecage.bin because you aren't rooted yet in data local tmp so chmod 0755 the rage bin and run that first. Then chmod 755 the flash image. Have the mtd on your sdcard. Then use code
/data/local/flash_image misc /sdcard/mtd-eng.img
Then flash the pc36img.zip in the root 2.02 tutorial. Pm me for more detailed instructions or email me (better)at [email protected]
Dk

question about root

i have a new tmobile g2 and im tring to root it and i installed visionary 1.4 and it goes through like it tring to temp root and when finish i see super user app but when i try to per root it says i need to temp root first and i though i done that already,any help thanks
Don't use visionary!
Go to the development forum and do the rage + gfree method!
+1
I only used visionary for temp root. I used rage to get permanent root, which is stupid easy to get. Copy & Paste.
Considering you have adb.
ddgarcia05 said:
+1
I only used visionary for temp root. I used rage to get permanent root, which is stupid easy to get. Copy & Paste.
Considering you have adb.
Click to expand...
Click to collapse
what is adb?
hightechlive said:
what is adb?
Click to expand...
Click to collapse
Sorry, I meant assuming you have adb.
ADB allows you to push files, remove files, uninstall file, and work on your phone off your computer using the command prompt.
http://forum.xda-developers.com/showthread.php?t=834228
http://forum.xda-developers.com/showthread.php?t=801206
read the stickies/guides first. As a newb it is our responsibility to do some background research before asking questions
hightechlive said:
what is adb?
Click to expand...
Click to collapse
Check out this guide on adb - http://forum.xda-developers.com/showthread.php?t=865685

[Q] Alternate method of flashing CWM3

Is there a method of flashing CWM3 via update.zip in samsung recovery? I don't have a functional USB cable to use with the One Click method :/. Sorry if this has already been answered, I couldn't find an answer through searching. Thanks in advance!
No, but luckily USB cables are dirt cheap these days, I'm sure you can find one for < $5, or if worst comes to worst go to Sprint and beg a rep to replace your cable.
Lost the one that came with the phone, only have one which I stole from another charger and the device isn't recognized at all (tried it on multiple pcs). I really don't want to buy one as I never use it except for the CWM flash. I have a SD card reader to eliminate the need for cables.
Well, you need one if you're going to flash CWM, if anything just think of it as making your life easier in the long run, no more taking the SD card out just to put files on it.
Frankly I wouldn't mind if there were a way to do it manually in terminal.
*bump* Anyone have any ideas for a method of using terminal to do this?
it can be done in terminal, just open the batch file and read what it does via adb and do that in terminal
I started to do that but cant get past the exploit (rageagainstthecage). I get permission errors and can't even copy the file to /data/local/tmp. Any ideas?
EDIT: It's because the data partition cannot be modified without root access. Somehow adb bypasses this.
Adb runs with root access i suppose... let me look at something..
I basically need a method of obtaining temporary root on the device without using a computer. If i can do that, I can flash cwm using redbend_ua and then flash a rom/kernel for perm root. If it helps, i'm on OTA EC05
EDIT: Does redbend_ua require root access?
EDIT2: Nevermind. I tried running redbend_ua to flash the recovery image and got an error about /data/local/fota missing.
does z4root work on froyo?
http://forum.xda-developers.com/showthread.php?t=833953
if it does.. then
Code:
su
cp /sdcard/redbend_ua /data/local
chmod 755 /data/local/redbend_ua
cp /sdcard/zImage /data/local/tmp/zImage
/data/local/redbend_ua restore /data/local/tmp/zImage /dev/block/bml8
chris41g said:
does z4root work on froyo?
http://forum.xda-developers.com/showthread.php?t=833953
if it does.. then
Code:
su
cp /sdcard/redbend_ua /data/local
chmod 755 /data/local/redbend_ua
cp /sdcard/zImage /data/local/tmp/zImage
/data/local/redbend_ua restore /data/local/tmp/zImage /dev/block/bml8
Click to expand...
Click to collapse
I thought of z4root, and no it doesnt work on froyo, not since eb13 it appears :/. I then thought "if ONLY i hadn't updated to ec05 (my phone came with di18)". Is there a way to get back to di18 without odin or custom recovery? Thanks for all your efforts thus far by the way.
trobertson said:
Is there a way to get back to di18 without odin or custom recovery?
Click to expand...
Click to collapse
No. invisible text
063_XOBX said:
No. invisible text
Click to expand...
Click to collapse
Is there another method of rooting I can do manually? That's the real problem here. I need root to run redbend_ua and from there i can do everything using clockwork. OR some other way to flash clockwork that doesnt require root but it seems that doesn't exist.
Well previously koush had an update.zip that would run in stock recovry and install cwm.. but it stopped working as of froyo, I'm assuming the recovery signature changed. Maybe contact him via twitter or something and see if he ever made a new one..
Sent from my SPH-D700 using XDA App
chris41g said:
Well previously koush had an update.zip that would run in stock recovry and install cwm.. but it stopped working as of froyo, I'm assuming the recovery signature changed. Maybe contact him via twitter or something and see if he ever made a new one..
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Thanks for the heads up, I PM'd koush. Crossing my fingers on this one >.<!
trobertson said:
Thanks for the heads up, I PM'd koush. Crossing my fingers on this one >.<!
Click to expand...
Click to collapse
Doesn't look like he's going to answer me. I tried getting him on IRC as well and was simply ignored :/.
I don't think he checks these forums often
Sent from my SPH-D700 using XDA App

[Q] Possible root? Please read

I was browsing around XDA and came across this thread:
http://forum.xda-developers.com/showthread.php?t=1296916
Can this root our phones? Can someone clarify if this can or can't?
Why don't you try it out yourself and clarify it for the rest of us
Sent from my R800a using XDA App
I don't know how, that's why I am asking...
I would say no as I think it uses the same exploit as Gingerbreak and it got patched in 2.3.3. So I would say it works on 2.3.2 and down. Even more someone is reporting it not to work on 2.3.5.
But go ahead and try
Regards Dousan...
I'm on 2.3.3 R800x, I would like to try it, but I don't know how. Noob question here, how do you perform this?
Sent from my R800x using XDA App
I don't believe it will work. Isn't this just for HTC phones? Or phones with S-OFF?
e: balls. maybe i should read the entire thing next time.
Its Android wide, according to the thread.
Sent from my R800x using XDA App
I'll try it once I get home (gimme 30 minutes)
Sent from my R800x using XDA App
HTC reset my Nexus One to stock 2.3.4 unrooted after an off-warranty repair. zergRush worked for local root and then I was able to remount, push Superuser etc. Thanks!
Click to expand...
Click to collapse
Should work... *,* 2.3.4 nordic, I'm coming!
Tried and failed
I tried it 3x on my 2.3.3 R800x to no avail
Does anybody know if flash tools works on Ubuntu? I'm willing to rollback the update and see if 2.3.2 works with this one...
paxChristos said:
I tried it 3x on my 2.3.3 R800x to no avail
Does anybody know if flash tools works on Ubuntu? I'm willing to rollback the update and see if 2.3.2 works with this one...
Click to expand...
Click to collapse
Confirmed 2.3.3 as well as 2.3.2 wont work.
Sent from my R800x using XDA App
Damn, this sucks, I thought I had something Oh well...
EDIT: I keep getting permission denied
Cl8rs said:
Damn, this sucks, I thought I had something Oh well...
EDIT: I keep getting permission denied
Click to expand...
Click to collapse
did you do chmod??
Android is based off linux, and chmod is what's used to set permissions for files you don't own
chmod 755 (or chmod 777) should fix this
Does anybody know if flash tools works on Ubuntu? I'm willing to rollback the update and see if 2.3.2 works with this one...
Click to expand...
Click to collapse
You can use a Windows VM inside Ubuntu, with USB capabilities. It needs Oracle's VirtualBox software.
Thank you, Logseman
Sent from my R800x using Tapatalk
paxChristos said:
did you do chmod??
Android is based off linux, and chmod is what's used to set permissions for files you don't own
chmod 755 (or chmod 777) should fix this
Click to expand...
Click to collapse
I'm not sure what you mean, I am on Windows 7 though...
Cl8rs said:
I'm not sure what you mean, I am on Windows 7 though...
Click to expand...
Click to collapse
adb shell (in laymen's terms is) linux terminal (command prompt) after you push the file, cd to /data/local, them run "chmod 755 zergRush" it'll work.
Sent from my R800x using XDA App
So in other words, if I was running Linux, I could root my phone?
No, Android is linux based, what hes saying is in adb you use linux commands, in this case changing the permissions on the file to run it in the first place, but from what Ive read even if it does run its not working for us ATM
Thanks for the clarification. So are they fixing/updating it to work with our phones?

[Help] HTC Desire Z downgrade

Hello there iam new here ,and i need some help
I Have a HTC Desire z with firmware 2.3.3 and i want to downgrade to make root
I try to follow this tutorial .
http://forum.xda-developers.com/showthread.php?t=1178912
I follow the entire tutorial but I'm stuck at the very end
I Take a foto its the some problem:
Uploaded with ImageShack.us
i dont know what i doing wrong ,
i thing it was the Stock Rom for my device i select the :
Vision_DZ_1.34.405.5_PC10IMG.zip (its that for me or not and i must put in scard like this PC10IMG.zip or like this PC10IMG )
but i dont know if was that the problem
Any solution
Thank you
Make sure sd is formatted to fat32, file is on root of sdcard (not in any folder) if windows is set. To hide file extention just name it PC10IMG and windows will add the .zip
Personally I say the fastboot method is better in a lot of ways but may be tricky if your unfimiliar
Sent from my HTC Vision using xda premium
Hey thanks for the help i just edit the PC10IMG.ZIP to PC10IMG and it works
Now i have firmware 2.2
With this firmware can i Root my phone
Were can i get the most simple tutorial to root my HTC Desire Z
Thankxx
Use either the xda wiki or strawmetals pdf guide, a quick google search will turn up bith
Sent from my HTC Vision using xda premium
can you give me the link that you mean
i found some confsue tutorial
thankx
.....XDA WIKI STRAWMETALS PDF CM WIKI
all of these are essentially the same guide just written differently, read through them, find the one that seems best for you, then follow it exactly and dont skip any steps
and next please use the search button or at least google for this, not trying to be a d*ck here just it makes life easier for everyone
Ok .thanks for the link
i just follow the tutorial and i downgrade to 2.2 now i want to root
I in this part:
PERMANENT ROOT
Theres a line that says :
There is a Readme.txt file in the platform-tools folder. Follow that and then enter the following commands taking care that you have typed correctly
But in the platform-tools folder i just have a NOTICE file, its that can i proced the rest of tutorial
thankx
Yeah the read me isn't needed, just follow steps
Sent from my SGH-T839 using Tapatalk 2
demkantor said:
Yeah the read me isn't needed, just follow steps
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
>adb push psneuter /data/local/tmp/
>adb push gfree /data/local/tmp/
>adb push busybox /data/local/tmp/
>adb push hboot-eng.img /data/local/tmp/
>adb push root_psn /data/local/tmp/
>adb push su /sdcard/
>adb push Superuser.apk /sdcard/
>adb shell chmod 755 /data/local/tmp/*
when i put the last line >adb shell chmod 755 /data/local/tmp/* showme:
C:\Users\Fabolous>adb shell chmod 755 / C:\Program Files\Android\android-sdk\pla
tform-tools*
Unable to chmod /: Read-only file system
what its wrong .
Right before the last command try adding this command
adb shell rm /data/local/tmp/sh
Sent from my SGH-T839 using Tapatalk 2
demkantor said:
Right before the last command try adding this command
adb shell rm /data/local/tmp/sh
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
What last command that you say i stuck in here
After you push the superuser but before chmod add the line
Sent from my SGH-T839 using Tapatalk 2
demkantor said:
After you push the superuser but before chmod add the line
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
I already able to make the whole process Superuser show me in the menu
Now what can I do from here
I can not update my mobile phone?
My version of Android its 2.2,what can i do to put a best firmware or custom firmware without losing root?
PS: MARKET dont work
Thankx for the help
You have to finish the rooting process
Sent from my Nexus 7 using xda premium
demkantor said:
You have to finish the rooting process
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
But i finish the root process,i install the emulator Tiger Arcade and work
but i in 2.2 android firmware can i install Android 2.3 Gingerbread on my HTC Desire Z or i lose the ROOT
What i do next?
Sent from my Nexus 7 using xda premium
Sorry didn't get you question, well I'm glad you finished the guide, easy huh?
Rizzoizzo made a great guide on flashing the first rom for beginers, check out the general section and it will be within the first few pages. Pretty much just pick a rom, put on sd and boot to recovery, there you will flash it, then reboot
Now that you are rooted there are many new tweaks and mods to do but first grab a custom rom, you will find those in the developers section
Sent from my SGH-T839 using Tapatalk 2
demkantor said:
Sorry didn't get you question, well I'm glad you finished the guide, easy huh?
Rizzoizzo made a great guide on flashing the first rom for beginers, check out the general section and it will be within the first few pages. Pretty much just pick a rom, put on sd and boot to recovery, there you will flash it, then reboot
Now that you are rooted there are many new tweaks and mods to do but first grab a custom rom, you will find those in the developers section
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
i see the tutorial:
http://forum.xda-developers.com/showthread.php?t=1874787.
Comparate to ROOT i think its more easy,then i go to see the rooms in here.
http://forum.xda-developers.com/forumdisplay.php?f=758
But i dont know what its best for me (Noob)
can you tell me one great that everythings works (camera,bluethoot,etc)
PS: the room comes with language Portuguese iam from Portugal
Thanks again
Yep that's the right thread, be sure to thank rizzoizzo
There are many many roms that everything works so its hard to pick one for you, it all depends on you. If you like sense they tend to be slower than cm and other aosp roms but may be prettier
If you need 100% no issues the closest would be something with a gingerbread base but newer roms work damn near perfect too. Try some out and see where it gets you
Happy flashing
Sent from my SGH-T839 using Tapatalk 2
demkantor said:
Sorry didn't get you question, well I'm glad you finished the guide, easy huh?
Rizzoizzo made a great guide on flashing the first rom for beginers, check out the general section and it will be within the first few pages. Pretty much just pick a rom, put on sd and boot to recovery, there you will flash it, then reboot
Now that you are rooted there are many new tweaks and mods to do but first grab a custom rom, you will find those in the developers section
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
demkantor said:
Yep that's the right thread, be sure to thank rizzoizzo
There are many many roms that everything works so its hard to pick one for you, it all depends on you. If you like sense they tend to be slower than cm and other aosp roms but may be prettier
If you need 100% no issues the closest would be something with a gingerbread base but newer roms work damn near perfect too. Try some out and see where it gets you
Happy flashing
Sent from my SGH-T839 using Tapatalk 2
Click to expand...
Click to collapse
O thankx
I installed this Room:
CyanogenMod 7 with success
If i want to change to another the process its the same
Yep, do a complete wipe then flash anew. Also I suggest doing a nandroid backup before each wipe/flash so you can easily go back to if you so desire
Sent from my SGH-T839 using Tapatalk 2

Categories

Resources