Related
hey. i have no clue why but my g1 isnt get rooted. ive did everything in the unlockrs step if you go to theunlockr.com. everything went successful and exactly what his did but when i go to terminal and type su it says permission denied.when i power on using camera and end it goes to android on skateboards(i doont not that matters). anyone have any ideas
mr.johnsexydavis911 said:
hey. i have no clue why but my g1 isnt get rooted. ive did everything in the unlockrs step if you go to theunlockr.com. everything went successful and exactly what his did but when i go to terminal and type su it says permission denied.when i power on using camera and end it goes to android on skateboards(i doont not that matters). anyone have any ideas
Click to expand...
Click to collapse
I followed the unlockr's steps to help David test out his new guides, and I never had a problem. If your going into terminal and typing "su" and getting the permission denied message, that means everything DIDN'T go successfully. The skating androids when in bootloader means that you have an SPL that allows you to upload custom ROMs but says nothing about whether you have root. Follow the steps again paying particular attention to each one.
If you really want to root your phone easily and without problems or confusion, follow this guy's instructions:
http://www.youtube.com/watch?v=xOo2V9qCauc
Hello all,
I'm kind of a newbie, but able to follow step-by-step instructions.
I've tried two different methods of rooting my phone, the password method (android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/310737/how-to-root-your-lg-gt540) and using Z4 Root. I assumed the first one had worked, but somehow not. When I tried with Z4, it installed Super User and gave me the option to "un-root", but testing it in adb and terminal emulator inevitably ended with a "failed to link su CANNOT LINK EXECUTABLE" message. Apps like Titanium Backup won't work either. I tried factory reset, and when I restarted it Super User was still there, but when I opened it, it gave a message saying that there was a new su update. I okayed it to install but it failed and said it was placed on the SD card. Super User instructed me to reboot in recovery mode and install it from there, but I wouldn't know what to do with it.
Anyone know where I went wrong, or have a foolproof method of actually getting my phone rooted? Thanks so much!
laurengirl said:
Hello all,
I'm kind of a newbie, but able to follow step-by-step instructions.
I've tried two different methods of rooting my phone, the password method (android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/310737/how-to-root-your-lg-gt540) and using Z4 Root. I assumed the first one had worked, but somehow not. When I tried with Z4, it installed Super User and gave me the option to "un-root", but testing it in adb and terminal emulator inevitably ended with a "failed to link su CANNOT LINK EXECUTABLE" message. Apps like Titanium Backup won't work either. I tried factory reset, and when I restarted it Super User was still there, but when I opened it, it gave a message saying that there was a new su update. I okayed it to install but it failed and said it was placed on the SD card. Super User instructed me to reboot in recovery mode and install it from there, but I wouldn't know what to do with it.
Anyone know where I went wrong, or have a foolproof method of actually getting my phone rooted? Thanks so much!
Click to expand...
Click to collapse
What version of android version u r running with?
It's a 1.6 :/
The password one should work for 1.6
Sent from my GT540 using XDA App
Universal Androot?
laurengirl said:
Hello all,
I'm kind of a newbie, but able to follow step-by-step instructions.
I've tried two different methods of rooting my phone, the password method (android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/310737/how-to-root-your-lg-gt540) and using Z4 Root. I assumed the first one had worked, but somehow not. When I tried with Z4, it installed Super User and gave me the option to "un-root", but testing it in adb and terminal emulator inevitably ended with a "failed to link su CANNOT LINK EXECUTABLE" message. Apps like Titanium Backup won't work either. I tried factory reset, and when I restarted it Super User was still there, but when I opened it, it gave a message saying that there was a new su update. I okayed it to install but it failed and said it was placed on the SD card. Super User instructed me to reboot in recovery mode and install it from there, but I wouldn't know what to do with it.
Anyone know where I went wrong, or have a foolproof method of actually getting my phone rooted? Thanks so much!
Click to expand...
Click to collapse
You obviously know I don't have this phone =], but read something somewhere about Universal Androot from market. I don't know if you got this on my FB or whatnot. GL
Thanks, but same message:
link_image[1638]: 1841 could not load needed library 'libbinder.so' for 'su' (load_library[984]: Library 'libbinder.so' not found)CANNOT LINK EXECUTABLE
Titanium backup still cannot acquire privileges. I've tried universal androot now as well.
laurengirl said:
It's a 1.6 :/
Click to expand...
Click to collapse
why don't you upgrade to 2.1 or 2.2
Check whether u have file libbinder.so in ur system/lib folder.
If u don't have
Exatract it from .zip and change the name to libbinder.so then past this folder in system/lib
I am not sure whether it will work or not. it is kind of workaround
Thanks, I ended up unrooting it with z4, doing a factory reset and formatting the sd, and then rerooting with androot and now it works! No idea why it worked this time and not the three or four times before... I guess tenacity pays off. I appreciate the help!!
Hello there fellow Glacier owners.
Let me start off by saying I have rooted 2 Glaciers very recently, and I am very familiar with the process. One of them was swapped at the store because I had one of the Taiwanese screens, and it was driving me nuts. I have been trying to root the new one.
I've gone through the gfree, adb, and Visionary+ methods already, and now an issue has cropped up.
Now, when I run Visionary, pop open the terminal, and type 'su' I get an 'unknown user root' error.
When I try to use the adb/gfree method and run 'rage', I now get a 'rage: applet not found' error.
During my previous attempt, I did not get this error. I have tried a reset to factory through stock hboot, I have tried loading the 2.2.1 PD15IMG.zip, through stock hboot (didn't help, wasn't expecting it to). I've even tried switching out and formatting mSD cards on the off chance it might help.
If anyone has any advice or help they can offer me, I would greatly appreciate it.
Thanks
Any way you can post a video of your step by step? I've always used grankin's guide and I've never had an issue, not once, on 6 HTC Glaciers.
Thus far, I've only seen a few reasons why people can't root their phone:
- They aren't on 2.2.1
- They didn't put files in the correct location/follow directions to the T
I don't think I've ever seen a legit, "your device is defective" post, but it's been suggested.
I use visionaryplus.r14.apk each time and my employee has rooted a handful of HTC Glaciers using the same.
I think a video would really help expose any possible oversights. It's either your steps or the device is just "bad" and I'm thinking video footage would help reveal which it is.
Here is a link to my video using the Visionary+ method. I can upload a video for the adb if you want as well.
www.youtube.com/watch?v=qb3HIvXiF74
Replace DOT with .
I should also note that I was able to run the 'su' command at one point successfully, but this is no longer the case.
Awesome, great vid and thanks for that. Can you get a screen shot (or pic) of your About Phone > Software Information?
Thanks! Here is the requested pic...
I should note that this phone came with 2.2.1, where the other two I have rooted did not.
Awesome, thanks for the quick pic. I've had six Glaciers, two of which came with 2.2.1 pre-installed, the rest came with 2.2 and then 2.2.1 came down once I checked-in. So that alone (2.2.1 pre-installed) shouldn't be an issue.
The difficult part is, there have been multiple "processes" attempted on this device, so I can't attest to the state of the device/ROM. Is this attempt with Visionary coming from a clean install/factory reset? I'd sort of like to "take it back to basics" and have a factory reset device THEN try ONLY the Visionary method.
I saw someone mention that a dev though there could be a hardware issue causing this (I can't remember which thread or which dev mentioned it), but it was only speculative.
It seems pretty clear you know what you're doing and you're quick AND we're not even to the .sh portion (where a lot of people end up with /root/root directories).
Keep me posted...
If you could, please supply me with some detailed factory reset instructions.
I want to make sure we are troubleshooting this appropriately, and I may not be wiping it correctly.
Please let me know.
Thanks.
It should just be Menu > Settings > SD & phone storage > Factory data reset...
Ok, it's running through now.
What would my next step be?
EDIT: Wipe finished. I installed Visionary, ran Temproot, still get the 'su: unknown user root' error.
May be heading to my local T-Mobile to replace the device.
K, so once it's finished you'll get to the TMO setup wizard where you enter your Google account info, etc. Once you get through that and get to the home screen, stop and don't do anything else. That's our home base.
Let me know once you get to the home screen for the first time after factory reset and we'll go from there...
I appreciate your patience and willingness to go through everything in baby steps.
Youch, k, there we go. That's exactly what the next step would've been and it sounds like you're truly not missing anything.
Does anyone else out there have anything to offer? I think you're probably best at cutting your losses and just getting another device. It really should be a very simple process, as you've seen before.
Keep us posted on the new device!
Woops, went a little too far then. I'll re-wipe.
What's the next step?
EDIT: Didn't do this, nevermind.
Ok, I got the new phone. Attempted to root through Visionary, everything looked good, but then I did not have root. Here is what I did...
From factory, out of the box (confirmed 2.2.1), ran Visionary - Temproot.
In terminal, 'su' works properly.
Ran root.sh
Appeared to work, rebooted the phone manually, S was still on.
Ran Visionary Temproot.
Ran Visionary Permroot.
S is still on.
Are there other steps I should take? Or did I perhaps do something wrong.
Please let me know.
Ok, unless there's some silly oversight, I think we might have a different issue here. Anything 'special' about these newer HTC Glaciers? All the specs you posted look identical the devices I've had from November, December, etc.
I hope there's no issue with me posting a link to Visionary.
Visionary R14:
http://deancasey.net/android/apps/visionaryplus.r14.apk
Just for giggles, can you try that APK? I know you said you have the same version, but there's obviously some difference between what you have (hardware, software, etc.) Other than that, it's either process or device. You seem pretty knowledgeable and it's not some silly mistake like not finding the .sh script.
Has anyone else tried to root using Visionary R14 on a newly-acquired MT4G? I'm just wondering if ANYTHING is different about the newer devices.
Still not working.
Should I try the gfree method? I will also note, that the last 2 I did gave me a real hard time rooting them. I bounced around a bunch of threads/methods before I got it to work, and I really don't recall what I had to do.
Yeah, it's just something that's really weird to me. I've been a "tech," professionally, for nearly 15 years. I worked as a Project Manager for a software company for 7 years, so I was solely responsible for testing our new releases. I also did all the 'lite' work like the database patches, installer scripts, etc.
Working closely with a smart developer, you start to get really good at testing and removing your own opinions from the loop. So there's pretty much always a finite reason why something isn't working as expected.
So that side of me wants to know what the variable is. Six of these devices and I've rooted them all without issue, using that .apk and Grankin's .sh script. So it's like, ok, I know this works. I've seen it not work for people who weren't on 2.2.1, who didn't follow the directions, etc. It looks like we can rule out the user with you so now it's a matter of what is unique about your device(s)?
Try the gfree method and report back, but I'd definitely like to see if anyone smarter than you and I has any input on what could be different about the newer devices you have.
Ok, I got the new phone. Attempted to root through Visionary, everything looked good, but then I did not have root. Here is what I did...
From factory, out of the box (confirmed 2.2.1), ran Visionary - Temproot.
In terminal, 'su' works properly.
Ran root.sh
Appeared to work, rebooted the phone manually, S was still on.
Ran Visionary Temproot.
Ran Visionary Permroot.
S is still on.
Are there other steps I should take? Or did I perhaps do something wrong.
Please let me know.
Click to expand...
Click to collapse
I was under the impression that you had to turn S off before you can perm-root this device. The way I did it is here: http://forum.xda-developers.com/showthread.php?t=858996
I used only Gfree and Visionary (both can be obtained in the link). No separate rage exploit. If I follow you correctly, I don't see where you used gfree after temp-rooting, which is what actually turns S on or off from my understanding. Visionary is what puts the binaries in place and executes the exploit to do so. I only used these two tools and I have S off with perm-root verified. Try it this way:
1. Fresh MT4G, stock bootloader, recovery, etc.
2. Ensure USB debugging is on
3. Install a terminal emulator
4. Install Visionary
5. Temp-root with Visionary
6. Push gfree to your phone as described in the link above using adb
7. Open your terminal and run gfree as described in the link above
8. Reboot
9. Run Visionary again, but this time ensure you check the box to have it mount system R/W after temp-root
10. Temp-root through Visionary
11. With Visionary still open, attempt to perm-root the device; it should reboot
These are the steps that I remember following and it worked perfectly. The key was using gfree to turn S off in order to get it to stick, then going back to Visionary and rooting. I think it is possible to get perm-root with the engineering bootloader and not really turning S off, but I am not %100 sure about the new stock bootloaders and having to turn S off or not. But, this method worked on more than one MT4G on which I tried it. Hope it helps.
The method outlined in Grankin's post gets you S-Off.
totalentropy is getting stuck before we can even get to the next steps. He's just trying to get Temp Root and then get su. You won't have S-Off at this point in the process and you don't need to have it off at this point. You won't get S-Off until you run the root.sh script...
*Crappy iPod Touch camera
total, have you tried the 'Alternative Root Process' outlined in Grankin's post? He wants you to remove the Visionary and Super User apps before proceeding with that method.
kmdub, that didn't work for me.
schlongwoodian, I did try that, and it seemed to be working. After the last rage, it soft reboots to the MyTouch logo, 5 seconds later flashes back to the MyTouch logo, then boots normally. I checked S after that, and it is still on. This is the same behavior that my other two exhibited when I was trying to root them.
Here is some additional info that may be helpful.
For all 3 Glaciers, I could not push su or Superuser.apk to the phone normally. I could only push them right when the phone booted with the USB plugged in, right after the USB debugging mode message appears. Any other time and I get access denied.
When I run gfree, with the -f switch, I get an error with input file, sometime a different error that I cannot remember off the top of my head. On one Glacier, I could run gfree with the -s off switch, which did work. I tried that on this current one, and it did not help.
For all 3 Glaciers, I could not push su or Superuser.apk to the phone normally.
Click to expand...
Click to collapse
Push via? ADB? Why is Superuser.apk being pushed to the phone? That's part of another root process I'm guessing? That's not part of Grankin's root process. Now, the Superuser.apk does get installed (Visionary), but never does Superuser.apk have to be manually copied over.
Those are good points that you mentioned. Can you clarify if you pushed Superuser.apk to your phone earlier? The process should be:
- Factory reset or start with clean device
- Copy visionaryplus.r14.apk to your microSD card (I put mine in a folder named _appz)
- Copy Grankin's 'root' folder to the root of your microSD card
- Run Visionary to gain temp root
- Run Terminal and type su
It's interesting that you're getting the 'unknown user' error right when you type 'su' and you also have manually copied over a Superuser.apk. Can you start the process over again - factory reset - and do nothing once you boot the phone for the first time? Wait and don't copy a thing over, nada. Just wait and post back here. And make sure there truly is nothing on your microSD card - nothing that you've put there that is, not until we can start this over again.
I hope we're onto something...
Hello, I bought my Nexus 4 about a year ago and was always hesitant on trying to "root" it. I am completing new to this and have no idea what to do. The only thing I have come close to this sort of thing was jailbreaking an old iPhone. It was extremely straight forward, I download & install 'X' app. Reboot, app runs and I simply follow the instructions on screen (a series of button pressing). The Nexus 4 seems more complicated but with all the feedback, I'm really curious to see what can be done with a rooted android.
I've read through a few threads but I'm still unsure whether I've successfully completed each step properly. The mainly followed the "Ultimate Nexus 4 Root guide"
1. I installed the ADK onto my computer. (Have no touched the folder ever since)
2. Unlocked bootloader using the no-data-wipe method.
3. Done every step until the "install custom recovery"
It feels like most of the guides are a little outdated because I can't seem to fully follow each step. One example is when I was installing towelroot, the next step is supposed to reboot my device. However, the towelroot app itself indicated my device was succesfully rooted despite not having anything appear on my screen or my device restarting.
Basically, can anyone help/provide a step-by-step guide for a brainless monkey like myself? A video would be a lot better so I could pinpoint where my mistakes are exactly.
It's right that your phone is rooted now, with the latest version of Towelroot it's no longer necessary to reboot the device (afaik). If you want to have a step by step guide check out my guide on how to root the device without wiping data, you may find the link in the stickies
There are plenty of apps on the playstore to check if your N4 is rooted or still not, you can download and try this one https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck
UPDATE Thanks to @thjubeck for testing this, it seems that this userdebug kernel actually works on all devices running antirollback v0 and running Marshmallow! I only have the Sprint variant, so be careful!!! Enjoy root guys
A bit of a disclaimer is that this is root through adb. dm-verity is off and system is rw, so you can install apps as root, get a hotspot hack to work, and anything through a shell but I am having trouble installing SuperSU. Please try yourself though as I am probably doing something wrong! If there are any bugs you have found please post them, as this phone is my backup and not my daily driver.
So okay, here is the guide:
PLEASE MAKE SURE YOU HAVE A WAY TO GO BACK INCASE THINGS GO WRONG. DO NOT ATTEMPT TO ROOT THIS WITHOUT HAVING A KDZ/TOT FOR YOUR DEVICE THAT YOU KNOW YOU CAN FLASH BACK TO. I AM NOT RESPONSIBLE FOR THINGS GOING WRONG.
1. Download this zip
2. Install Terminal Emulator from the Play Store
(This is modified from the V20 bootloader unlock, HUGE thanks to all of those devs for sharing their dirtysanta code with me and allowing me to modify it!)
3. Copy all the files from inside the "dirtysanta-boot" and paste it into your active ADB directory
4. Plug your device into the computer and verify ADB is working. Then;
On Windows, double-click "RUNMEFIRST.bat, DO NOT CLOSE THE LOG WINDOW THAT OPENS, then double-click "Step1.bat"
On Linux/MacOS ("#" Signifies a comment below)
Code:
./RUNMEFIRST.sh
# OR
bash ./RUNMEFIRST.sh
Open a Separate Terminal next to the RUNMEFIRST terminal, then type:
Code:
./Step1.sh
# OR
bash ./Step1.sh
(When you run The sh or Bat files there may be a Permission denied error on 2 files: Flatland and Flatland64. This is normal and nothing to worry about.)
5. Wait for a shell prompt, then type (or copy):
Code:
run-as con
chmod 0777 /storage/emulated/0/*
6. Open Up Terminal Emulator on your phone
Type:
Code:
id
Check if context is "Untrusted_app". If it is then we're good to go!
7. Type into Terminal Emulator:
Code:
applypatch /system/bin/atd /storage/emulated/0/dirtysanta
8. Watch the RUNMEFIRST dialog for when it tells you to run Step2 (we don't have a step 2)
9. Reboot the phone into recovery mode and wipe data again
BOOM! Now the you have a userdebug kernel running on a userdebug system Time to turn off dm-verity, otherwise you will have a red triangle on reboot (Your device is corrupt. It cannot be trusted and may not boot) and cannot edit /system.
1. Finish setting up the phone and enable USB Debugging in developer options (you should know how to do this)
2. Plug the phone into your computer, and run these commands
Code:
adb root
adb disable-verity
3. Reboot the phone
4. Run
Code:
adb root
adb shell
mount -o rw,remount,rw /system
Bam. Enjoy your FULL UNLIMITED root shell with system set to rw and dm-verity off!!! Just make sure to type "adb root" before "adb shell"
If you ever want to go back, just flash your stock TOT/KDZ with UPPERCUT and you'll be all good!
BUY ME A PIZZA FOR THE HARD WORK: BTC 197ct1uti4zutJu76bYAW51H8NZ6zXeoEV PayPal: [email protected]
THANKS:
@tungkick for the userdebug boot and helping me with the ZV4 TOTs
@autoprime for UPPERCUT
@me2151 @glitschi667 @EMSpilot @elliwigy for their AMAZING work on the V20 and sharing their code!
Thanks for the mention. Since you didnt say anything else i thought you bricked. Glad it works for you guys
I'm assuming this won't work if I'm on nougat, is that right?
fenguepay said:
I'm assuming this won't work if I'm on nougat, is that right?
Click to expand...
Click to collapse
Nougat is the latest update (ZV8 I think), this only works on ZV4.
Glad I stayed on ZV3 since July.
Happy this is out now. There was some sass going on in another thread but it seems there's still some civility among us. I'll check this out and report anything of note. I'm most interested in a viable hotspot mod, so if I can figure out how to modify the APN settings I'll be quite happy. Will donate as soon as I figure out how.
SilverZero said:
Nougat is the latest update (ZV8 I think), this only works on ZV4.
Glad I stayed on ZV3 since July.
Happy this is out now. There was some sass going on in another thread but it seems there's still some civility among us. I'll check this out and report anything of note. I'm most interested in a viable hotspot mod, so if I can figure out how to modify the APN settings I'll be quite happy. Will donate as soon as I figure out how.
Click to expand...
Click to collapse
Lucky you! Make sure you flash the stock ZV4 TOT before trying this
An unlimited Hotspot is definitely possible. I'm on mobile right now but I'll see what I can do when I get home.
Honestly Annoying said:
Lucky you! Make sure you flash the stock ZV4 TOT before trying this
An unlimited Hotspot is definitely possible. I'm on mobile right now but I'll see what I can do when I get home.
Click to expand...
Click to collapse
I'd be first in line to give this a whirl in the real world but I'm leaving in the morning for a week or so on the road. Maybe I'll be able to do some playing around at the hotel. Hotspot is the brass ring, adblock is a close second. I've survived this long, so hopefully a few days of testing and squashing bugs won't kill me. I do want to be of service to the community if possible. It will be interesting to see how these new developments affect the development of the various G5 variants.
My apologies if I insinuated that I'm at all peeved with anybody working on this device or just offering encouragement. I know there are some conflicting personalities in the mix right now, so I hope everybody benefits and sees the value in what you're potentially onto with this.
SilverZero said:
I'd be first in line to give this a whirl in the real world but I'm leaving in the morning for a week or so on the road. Maybe I'll be able to do some playing around at the hotel. Hotspot is the brass ring, adblock is a close second. I've survived this long, so hopefully a few days of testing and squashing bugs won't kill me. I do want to be of service to the community if possible. It will be interesting to see how these new developments affect the development of the various G5 variants.
My apologies if I insinuated that I'm at all peeved with anybody working on this device or just offering encouragement. I know there are some conflicting personalities in the mix right now, so I hope everybody benefits and sees the value in what you're potentially onto with this.
Click to expand...
Click to collapse
I will absolutely be in touch with you for an adblock and hotspot hack, PM me your Skype
I think I found a way to get the hotspot hack, waiting for a tester...
I'm on z5, can I still follow this guide on the dot and flash z4?
btw, gratz and great job on your achievement!
bigid said:
I'm on z5, can I still follow this guide on the dot and flash z4?
btw, gratz and great job on your achievement!
Click to expand...
Click to collapse
Thank you!
Unfortunately ZV5 has antirollback enabled, so you can't downgrade to ZV4. If you really want to try it you can attempt to flash the ZV4 userdebug boot without the userdebug system (just follow the guide past the TOT steps) but I believe it will bootloop. I have not personally tried this so I have no way of saying for sure, but it'll probably bootloop.
Honestly your name does you justice! Thanks for your hard work
So bummed that I updated...
Sent from my LGLS992 using XDA-Developers mobile app
Honestly Annoying said:
Thank you!
Unfortunately ZV5 has antirollback enabled, so you can't downgrade to ZV4. If you really want to try it you can attempt to flash the ZV4 userdebug boot without the userdebug system (just follow the guide past the TOT steps) but I believe it will bootloop. I have not personally tried this so I have no way of saying for sure, but it'll probably bootloop.
Click to expand...
Click to collapse
so should i just update to nougat now?
EDIT: No items in the Google Drive folder? Am I missing something?
I'm definitely hoping to spend some time testing this out, but it's bad timing that I just got the family out on vacation. Hopefully I'll spend some time tonight or tomorrow, and quite likely after the 25th I'll have some time.
Meanwhile, I've got to figure out a solution to getting ADB working on my MacBook. It's EFI locked so I can't install the full SDK, and my windows VM isn't working either. Since I'm pretty sure I need a windows environment that will be my first hurdle. I wish I could sit down right now and just try it out for the community's benefit, but hopefully we'll get there soon.
Man I feel like buying a G5 just to try this on nougat! Does this also unlock the boot loader or allow twrp to be flashed?
chippinganimal said:
Man I feel like buying a G5 just to try this on nougat! Does this also unlock the boot loader or allow twrp to be flashed?
Click to expand...
Click to collapse
It only works if you still have version ZV4 or lower, so forget about nougat. At best you'll be rooted on ZV4 forever with a wonky system.
It will not unlock the bootloader since it's just a user-debug upgrade for tinkerers, but nonetheless useful to some.
Wait. Where did you get the userdebug build for G5?
Plug your device into the computer and verify ADB is working
Could this be a means for (or a step closer to) getting full root, or is that basically off the table?
Sent from my LGLS992 using XDA-Developers mobile app
Error: Error Code = 0x2000 when trying to flash.