ICS ROM's break root - myTouch 4G Q&A, Help & Troubleshooting

I've been messing with my phone for about 2 days now since I've gotten it. I haven't had any issues and have installed a ton of ROM's. However I keep having one issue. Every time I flash an ICS rom I keep getting denied root access. I've tried every ICS ROM available and every one does it to me. None of the gingerbread ROM's have broken it. It installs just fine, but any time I try to do anything that requires superuser permissions they get denied, but if I flash back to a 2.3.x ROM I'll have complete root access.
It doesn't seem to be an issue for anyone else from what I've been reading. I'm permanently rooted with gfree and have the good eMMc chip. Is this just normal with ICS ROM's or is there a fix I am too blind to find? Sorry if this is a dumb question. I've come from the Motorola Triumph from Virgin Mobile that's practically rooted out of the box.

Sounds like your not fully wiping everything. The ics roms had root problems when they updated to 4.0.4 but was fixed and shouldn't have that problem now. Use 4ext recovery if your not already using it. use the "wipe everything but sd" option and try a ROM again.
Sent from my HTC Glacier using Tapatalk

Well I'm not sure if this would help but when you flash an ics rom go to your apps through the settings, find superuser, click force stop then clear the cache...then try opening up terminal emulator and tryping SU and hit enter and press allow.
Hope this works for you, I remember a long time ago it was a problem with one of the miui roms for the mytouch.
Don't forget to hit thanks if it worked
Sent from my HTC Glacier using xda premium

mustk1ll20 said:
Sounds like your not fully wiping everything. The ics roms had root problems when they updated to 4.0.4 but was fixed and shouldn't have that problem now. Use 4ext recovery if your not already using it. use the "wipe everything but sd" option and try a ROM again.
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
This was actually the first thing I tried. I use 4ext and I have always used the wipe all (but sd card) option. I also didn't use Titanium backup to restore apps or anything like that so I'm not sure what it could be.
707BeastMode707 said:
Well I'm not sure if this would help but when you flash an ics rom go to your apps through the settings, find superuser, click force stop then clear the cache...then try opening up terminal emulator and tryping SU and hit enter and press allow.
Hope this works for you, I remember a long time ago it was a problem with one of the miui roms for the mytouch.
Don't forget to hit thanks if it worked
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
After doing this I have the same issue I have every time I've tried to check my root status through the terminal emulator. It always says "Permission Denied" and it won't even bring up the superuser box.
(Superuser is still in my applications though, and when I open it up it has been logging the denied attempts in terminal emulator.
This happened on Ice Cold Insomnia.

Huh, idk what the problem is, maybe try re-rooting the phone with a different method? What method did you use?
Sent from my HTC Glacier using xda premium

gfree

Try changing su app to automatically allow su permissions instead of prompt to see if su is even granting access.
Sent from my HTC Glacier using Tapatalk 2

707BeastMode707 said:
Huh, idk what the problem is, maybe try re-rooting the phone with a different method? What method did you use?
Click to expand...
Click to collapse
The rooting method has absolutely nothing to do with root privileges on custom ROMs flashed through custom recovery.
Actually, the rooting method doesn't even matter. All that matters is S-OFF. And since the OP has S-OFF, no re-rooting will possibly do him any good.
OP, many of ICS ROMs moved to SuperSU instead of Superuser app. Maybe that causes you problems.

eqjunkie829 said:
Try changing su app to automatically allow su permissions instead of prompt to see if su is even granting access.
Sent from my HTC Glacier using Tapatalk 2
Click to expand...
Click to collapse
Same problem, Permission Denied.
Jack_R1 said:
The rooting method has absolutely nothing to do with root privileges on custom ROMs flashed through custom recovery.
Actually, the rooting method doesn't even matter. All that matters is S-OFF. And since the OP has S-OFF, no re-rooting will possibly do him any good.
OP, many of ICS ROMs moved to SuperSU instead of Superuser app. Maybe that causes you problems.
Click to expand...
Click to collapse
So would I just install SuperSU then? I downloaded it but it didn't make a difference.
EDIT: I flashed Zips Creamed Glacier and SU is working fine. I guess I'll just stick with this one. Thank you to everyone for your suggestions.

Related

[Q] Stuck in a limbo between being rooted / unrooted, not sure where to turn

Essentially the situation is that about a week ago I rooted my new glacier phone using the Terminal Emulator method outlined in this post .
Everything worked fine, my phone was rooted and worked perfectly.
A few days ago I decided that i needed to clean up my phone because my SD card was full. I went about deleting files and folders which I thought were simply images taken from my camera and audio / video files. Obviously I made a mistake and deleted something I shouldn't have because immediately following the "clean up" I typed su into my Android terminal and was greeted with the response:
"link_image[1995]: failed to link su CANNOT LINK EXECUTABLE"
Since then I've tried several things to get my root privileges back, including:
Factory Resetting the Phone
Rerunning the same procedure I used to gain root in the first place
I tried and failed to simply flash a new ROM to the phone, whenever I go into recovery and apply a .zip I get the error: "Can't open /sdcard/zipfile.zip (bad) Installation Aborted"
The Super user app does tell me that there is an update that it needs to apply, I have a gut feeling that it's trying to fix the error that I made in deleting whatever file I deleted. But when I try to apply the update the Super user app tells me to apply the update in recovery mode. When i go into recovery mode to apply the zip I get the same errors reported above.
My s=off currently so I can't get stock OTA updates and my "su" privileges are not working so I'm stuck in a bit of a limbo. Not sure where to turn at this point and would greatly appreciate any and all advice from the Android Dev Community.
Cheers!
How about restoring your original backup via clockwork? It only backs up the phones flash, not the sd card though.
Not sure what superuser would need from the sd card.
Sent from my HTC Glacier using XDA App
Sounds like u should have just reinstalled superuser. If u still have s off, download maybe iced glacier Rom and flash it thru Rom manager. Usually comes pre everything
Sent from my HTC Glacier using XDA App
I'll certainly try your advice but I'm 90% sure that I'm gonna run into the problem that even though my phone is s=off, for all intensive purposes it isn't rooted because I can't run any programs that require su permissions.
Sent from my HTC Glacier using XDA App
smirkis said:
Sounds like u should have just reinstalled superuser. If u still have s off, download maybe iced glacier Rom and flash it thru Rom manager. Usually comes pre everything
Sent from my HTC using XDA App
Click to expand...
Click to collapse
Thanks for your advice. I tried it and sure enough Iced Glacier installed without a hitch.
Cheers!

Working Superuser for TB Sense

This is actually relevant to more than just the Thunderbolt. It fixes Superuser problems with numerous newer Sense releases.
http://forum.xda-developers.com/showthread.php?t=886999
My su binary is already being provided via the root thread but the matching Superuser is not. Without the matching patched Superuser, you'll see FCs when apps request root if the Superuser app itself is open.
Just apply the update zip from the aforementioned thread to fix it. ROM builders should use my patched version as well.
Please update to this, I will be fixing the tutorial as soon as I can, and noting it here.
Rafi, good to see you on the bolt. Looks like we will get a virtuous Rom too. Ran your Rom on the inc till I got run over by the desire z, hd craze.
Sent from my Thunderbolt!
Hmm, not sure if I should do this. I ran fix permissions in Rom Manager and it seemed to take care of all the problems. Everything's been working fine since then. What do you guys suggest?
i see no reason to mess with it if your set up is currently working
jacobk said:
i see no reason to mess with it if your set up is currently working
Click to expand...
Click to collapse
I agree - however, in my case, nothing was solving the FC's - so I put in this SU and all is right with the world.
I think it's worth trying if all other permissions methods are failing - it certainly "feels" more stable.
This fixes su issues while the superuser app is open.
Flash it.
Thank you rmk & jcase
even aftere re rooting fix my su issue i ran this and i feel su runs wayyyyy smoother now for apps that need su.
jacobk said:
i see no reason to mess with it if your set up is currently working
Click to expand...
Click to collapse
There is simply no way any newer Sense ROM works correctly without this patched version. You *will* ultimately encounter issues.
Don't believe me, try this. Open up the Superuser app itself, connect via adb shell, su system, su root. Observe hang. This is just an example, there are numerous other ways to have the issue occur.
RafficaX said:
even aftere re rooting fix my su issue i ran this and i feel su runs wayyyyy smoother now for apps that need su.
Click to expand...
Click to collapse
Good. maybe you can apologize now in the debloat rom thread instead of trying to smear my name.
can you just post it in here...i dont like guessing games...i see 2 links to pull requests on github...i dont know wtf that means. some of us dont speak computer 120% fluently..
MYxdaUSERNAME said:
can you just post it in here...i dont like guessing games...i see 2 links to pull requests on github...i dont know wtf that means. some of us dont speak computer 120% fluently..
Click to expand...
Click to collapse
Haha scroll down the page!! There's a flashable zip
sent from my Thunderbolt
for christ's sake...big blue letters. i thought that was the top of his sig..but he lost me at github.
good to go...i do remember a few force closes that never amounted to anything serious last night...
doodoostains said:
Hmm, not sure if I should do this. I ran fix permissions in Rom Manager and it seemed to take care of all the problems. Everything's been working fine since then. What do you guys suggest?
Click to expand...
Click to collapse
This was working for me until I rebooted. Once I did, everything was back to how it was.
I just applied the patch, restarted. VOILA! SU is working again. Thanks rmk40!
Superuser is acting up after working fine earlier. How can i boot into clockwork without rom manager anyone? thanks
frodsteamin2 said:
Superuser is acting up after working fine earlier. How can i boot into clockwork without rom manager anyone? thanks
Click to expand...
Click to collapse
Turn off phone. Hold volume down when booting up.
Sent from my ADR6400L using XDA App
Was able to get into CWR after a reboot, flashed. Thank you!
Edit * this fixed all my issues. . Thanks again
evilmunkeh said:
Turn off phone. Hold volume down when booting up.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Thank you for the response, my newbness was the problem as there was a file on sd card that keep trying to install when trying what you mentioned above.
Still getting FC's in SU after flashing... Did I miss something?
Never mind, fixed after running a program that required root.
Thanks!
Sent from my ADR6400L using XDA App

Rooting the new OTA 4.5.91 Update

I'm curious if anyone who installed the OTA update has successfully rooted their device.
I was on a fully stock unrooted phone when I applied the 4.5.91 OTA update yesterday, wondering if anyone else is in the same scenario and has rooted their device after the new update
Yes, it was fairly simple using the preinstall method in the development thread
Link is in my signature as many people don't know what the "pre-install" method is/was.
I updated using Ken's safe images and used the preinstall method. Worked like a charm. Here you go:
http://forum.xda-developers.com/showthread.php?t=1138204
phobos512 said:
Link is in my signature as many people don't know what the "pre-install" method is/was.
Click to expand...
Click to collapse
How do you clear superuser app data? Do you mean within the superuser app itself in settings that says clear logs?
I just rooted my Atrix with the preinstall method also. I updated to GB OTA from stock Froyo 2.2.2.
demandarin said:
How do you clear superuser app data? Do you mean within the superuser app itself in settings that says clear logs?
Click to expand...
Click to collapse
Settings >> Applications >> Manage Applications >> scroll to Superuser >> Clear App Data button
Without doing this I was getting tons of FCs from the Superuser app and had to root again. I read about this fix on the EVO 4G forum.
Also, the Superuser apk included in the preinstall image is not current - after you install go to the Market and you'll find there's a new version. Once it installs run SU and it'll say there's an updated su binary available. Click ok, yes, whatever, give the app root permission, and you'll be updated and rooted.
phobos512 said:
Settings >> Applications >> Manage Applications >> scroll to Superuser >> Clear App Data button
Without doing this I was getting tons of FCs from the Superuser app and had to root again. I read about this fix on the EVO 4G forum.
Click to expand...
Click to collapse
Thanks, really appreciate it.
Sent from my MB860 using XDA App
phobos512 said:
Link is in my signature as many people don't know what the "pre-install" method is/was.
Click to expand...
Click to collapse
Thanks, you make my life easier with your explain.
Do you lose data/settings if you use the briefmobile method? (e.g. the old gingerbreak method wipes your internal storage)
Also just to be totally clear : does the briefmobile method works fine with 100% stock unrooted no BL-unlock OTA 2.3? (i.e. did not use any sbf, cwm , nothing pure stock with OTA gingerbread). For example I read the preinstall thread and it seems to be guys talking about flashing sbfs. Then there are a million warnings not to flash sbfs if you've gone OTA gingerbread. So confused
There's just so much info floating around and its quite daunting TBH even for someone like me who's custom ROMmed Samsungs and HTCs before.
wintermute000 said:
Do you lose data/settings if you use the briefmobile method? (e.g. the old gingerbreak method wipes your internal storage)
Also just to be totally clear : does the briefmobile method works fine with 100% stock unrooted no BL-unlock OTA 2.3? (i.e. did not use any sbf, cwm , nothing pure stock with OTA gingerbread). For example I read the preinstall thread and it seems to be guys talking about flashing sbfs. Then there are a million warnings not to flash sbfs if you've gone OTA gingerbread. So confused
There's just so much info floating around and its quite daunting TBH even for someone like me who's custom ROMmed Samsungs and HTCs before.
Click to expand...
Click to collapse
No you don't lose any files from the method I've posted about. Also, Gingerbreak didn't have that effect for everyone - I didn't lose anything when I did that on 4183.
And yes, it works on stock Motorola provided Gingerbread. That's what I have.
Sent from my MB860 using XDA App
phobos512 said:
No you don't lose any files from the method I've posted about. Also, Gingerbreak didn't have that effect for everyone - I didn't lose anything when I did that on 4183.
And yes, it works on stock Motorola provided Gingerbread. That's what I have.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
cheers thanks
phobos512 said:
Link is in my signature as many people don't know what the "pre-install" method is/was.
Click to expand...
Click to collapse
I'm trying that method and it keeps saying "command not found"
so I tried this method here
http://www.atrixforums.com/forum/motorola-atrix-hacks/3039-root-2-3-4-using-fastboot.html
and it's telling me there is no space when I type "cp /preinstall/su /system/bin/su"
any idea?
hi guys! was the latest update of Atrix 4g is also applicable for International version?please advise...sorry for OT...
viper98 said:
I'm trying that method and it keeps saying "command not found"
so I tried this method here
http://www.atrixforums.com/forum/motorola-atrix-hacks/3039-root-2-3-4-using-fastboot.html
and it's telling me there is no space when I type "cp /preinstall/su /system/bin/su"
any idea?
Click to expand...
Click to collapse
You can ignore that first command not found and just continue through the rest of the steps. Worked for me.
BigWopHH said:
You can ignore that first command not found and just continue through the rest of the steps. Worked for me.
Click to expand...
Click to collapse
well I did that
and it said it was successful
and super user is installed
but it's not giving me super user access. It's not popping up and asking me whenever I try to run a root app
viper98 said:
well I did that
and it said it was successful
and super user is installed
but it's not giving me super user access. It's not popping up and asking me whenever I try to run a root app
Click to expand...
Click to collapse
Were you rooted before updating?
I was rooted prior to this update and used the preinstall method to gain root again. Apps were not asking for root permissions.
ive never been rooted before. once i do the fastboot reboot and get loaded back up. I try the adb shell command and i get cant find device. What am i doing wrong?
I just uninstalled and reinstalled Superuser from the Market instead of clearing the app data.
dantes5823 said:
ive never been rooted before. once i do the fastboot reboot and get loaded back up. I try the adb shell command and i get cant find device. What am i doing wrong?
Click to expand...
Click to collapse
Did you go into settings - applications - development - and check USB debugging?
Sent from my MB860 using XDA Premium App

Latest miui.us lost root?

Dunno what happened but I installed latest miui.us with the -wipe command and apparently titanium backup and superuser say I don't have root. What to do D:? Fastboot shows I still have s-off tho
Sent from my HTC Glacier using XDA App
your busybox probably got messed up. no big deal. just reflash the rom.
wipe data to be safe.
aznanimedude said:
Dunno what happened but I installed latest miui.us with the -wipe command and apparently titanium backup and superuser say I don't have root. What to do D:? Fastboot shows I still have s-off tho
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Go in to tools, select superuser, then settings,allow root access. same problem for me also.
From my fist to your face, enjoy.
aznanimedude said:
Dunno what happened but I installed latest miui.us with the -wipe command and apparently titanium backup and superuser say I don't have root. What to do D:? Fastboot shows I still have s-off tho
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
The ROOT Permissions need to be enabled via SuperUser app (Superuser app is found in Tools folder).
While in SuperUser app, go to Settings by pressing menu button, then turn on ROOT Permissions.
That's all....................don't worry about the root access..........
Oh lololololol that it is. Thanks guys
Sent from my HTC Glacier using XDA App
After turn on ROOT Permissions, I do a reboot and that do the trick
when I first read this I thought about the super user from the app store. I dont know who posted this suggestion but yesterday I had the same problem. I didnt know that the superuser came with the ROM.
So for the newbs, like me, that are still having problems make sure to go to the "tools" folder which should be on the left wall screen. I wasnt used to folders cause I used CM7 for a while.
Short story:
go to "tools" folder on left wall after 1st install to find super user.
funny thing is i knew that since i'd installed miui before but switched to faux rom. musta also forgotten to read that from the OP in miui thread :|, good learning experience
you live, you learn.....READ CAREFULLY bro lol

Root Questions/Help

Sorry if this has been covered before, but I searched up and down XDA and google for a solution. Here is the deal; Im trying to root my phone and Im having some issues. Im getting unknown user root in Terminal when I try to run the commands from this thread.I have both versions of Visionary and I believe I have temp rooted the phone. This is where it starts to get strange. Superuser.apk is installed, but Im never prompted for SU permissions. The only app that requested it was Visionary when I tried the permaroot option. Also, I got the system to be r/w via visionary, so I tried to delete some bloat. I used root explorer to do so. But the apks I deleted are still in the app drawer, and after reboot, are still in system/app. Im really super confused by all of this, and hope you guys can give me a hand. This is a little bit different then rooting my vibrant lol.
Dan_Brutal said:
Sorry if this has been covered before, but I searched up and down XDA and google for a solution. Here is the deal; Im trying to root my phone and Im having some issues. Im getting unknown user root in Terminal when I try to run the commands from this thread.I have both versions of Visionary and I believe I have temp rooted the phone. This is where it starts to get strange. Superuser.apk is installed, but Im never prompted for SU permissions. The only app that requested it was Visionary when I tried the permaroot option. Also, I got the system to be r/w via visionary, so I tried to delete some bloat. I used root explorer to do so. But the apks I deleted are still in the app drawer, and after reboot, are still in system/app. Im really super confused by all of this, and hope you guys can give me a hand. This is a little bit different then rooting my vibrant lol.
Click to expand...
Click to collapse
what's your android version? 2.3.4?
saranhai said:
what's your android version? 2.3.4?
Click to expand...
Click to collapse
My bad, 2.2.1. I just got this phone yesterday. Its really nice. I cant wait to get some CM goodness on it!
Dan_Brutal said:
My bad, 2.2.1. I just got this phone yesterday. Its really nice. I cant wait to get some CM goodness on it!
Click to expand...
Click to collapse
hm, try using the gfree root method
http://forum.xda-developers.com/showthread.php?t=858996
saranhai said:
hm, try using the gfree root method
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
I still get unknown user root in terminal.
Go to theunlockr.com and find the mytouch write ups there. They are root.sh method and garanteed to work. There both how to gain root and s-off write ups there.
Its what I used and is super simple. I've rooted countless mytouch with the same write up.
Sent from my HTC Glacier using xda premium
coupetastic-droid said:
Go to theunlockr.com and find the mytouch write ups there. They are root.sh method and garanteed to work. There both how to gain root and s-off write ups there.
Its what I used and is super simple. I've rooted countless mytouch with the same write up.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Im still getting unknown user root in terminal.
Posting here the exact step and command that you're typing when receiving the unexpected response would be the first necessary step for people to help you.
Jack_R1 said:
Posting here the exact step and command that you're typing when receiving the unexpected response would be the first necessary step for people to help you.
Click to expand...
Click to collapse
I type su and I get the unknown user root message.
Dan_Brutal said:
I type su and I get the unknown user root message.
Click to expand...
Click to collapse
Are you temp or perm rooted?
Sent from my HTC Glacier using Tapatalk
BRKotucs said:
Are you temp or perm rooted?
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
Im trying to permaroot and s-off. I believe that Im temprooted right now.
Do you run Visionary+ before typing "su" in Terminal Emulator?
Does it complete successfully?
Can you try to run any other root program (like Titanium Backup) to verify that you actually have root access?
Jack_R1 said:
Do you run Visionary+ before typing "su" in Terminal Emulator?
Does it complete successfully?
Can you try to run any other root program (like Titanium Backup) to verify that you actually have root access?
Click to expand...
Click to collapse
yes
yes
and I tried with setcpu, no root was detected.
Try another version of Visionary+, because the current version doesn't root you.
Make sure that you are indeed on 2.2.1, because if you're on 2.3.4 - Visionary can't root at all.
Jack_R1 said:
Try another version of Visionary+, because the current version doesn't root you.
Make sure that you are indeed on 2.2.1, because if you're on 2.3.4 - Visionary can't root at all.
Click to expand...
Click to collapse
Its 2.2.1. I have tried both visionaryplus r11 and r12, also tried the regular visionary, super one click, and z4root. I still get unknown user root in terminal. Im starting to get frustrated.
Dan_Brutal said:
Its 2.2.1. I have tried both visionaryplus r11 and r12, also tried the regular visionary, super one click, and z4root. I still get unknown user root in terminal. Im starting to get frustrated.
Click to expand...
Click to collapse
I had the same problem last week when trying to root my replacement phone after downgrading it to 2.2.1. The visionary app that I used before didn't work this time. I had to download it again and this time it worked. Before deleting the current visionary app make sure to clear it's data prior to uninstalling it then reboot the phone then try again. That worked for me!
Since you've already tried rooting it with so many methods, I'll suggest you restore the phone to factory settings and start over.
Sent from my HTC Glacier using Tapatalk
BRKotucs said:
Since you've already tried rooting it with so many methods, I'll suggest you restore the phone to factory settings and start over.
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
No dice, I have tried a reset 4 or 5 times now.
Haza! I have S-Off. I followed CM Wikis guide and it took a few times, but it worked. Thanks for all your help guys!
Dan_Brutal said:
Haza! I have S-Off. I followed CM Wikis guide and it took a few times, but it worked. Thanks for all your help guys!
Click to expand...
Click to collapse
Glad to hear that! Good luck flashing...
Sent from my HTC Glacier using Tapatalk

Categories

Resources