Has anyone successfully rooted the new HTC One? I have unlocked its bootloader, but I can't get it to mount any partitions when I boot into recovery and I'm about to scream.
It works fine when I boot it normally, but I can't write to /sdcard with any file managers (though, for some reason /sdcard/sdcard seems to work just fine ... until I'm in recovery and trying to load the zip.)
This experience is really making me appreciate my GNEX. I love the hardware on the HTC One, but my god is this frustrating (and the stock UI is just gross and annoying).
UPDATE Okay, I'm giving up for the night. I've been at this for close to five hours, and I'm getting nowhere. Thanks for the suggestions and offers to help, everyone.
I haven't tried a root on it yet. I am hesitant. I like the stock, but I don't like bloatware and I don't like being charged if I want to use a hotspot. So I am still running it through my head on if I want to root or not.
There is no SDCARD. Is there actually an sdcard folder on it?
I do agree with the stock UI being gross. It's more than gross. It's annoying. And seriously? Blinkfeed is absolutely useless, annoying, and completely uses up a screen.
I had a problem like that once. I decided to just take the bull by the horns and stop screwing around with file managers. I pulled the SD card out of the phone, put it in my laptop, and copied the file over. I put the SD card back in and--bam!--rooted.
The Android OS is a little Unix (Linux) kernel. Different services probably have their own user space and you have permission to access some while not others. Of course if you root it, you should have control of all devices. This is my guess. I do have a android phone and tablet but I hardly ever mess with them - too old school. Give me a old DOS machine from the 90's or Linux box ;)
How are you finding the two button layout? It's honestly the only thing keeping me from making the jump to the One... it looks like a custom kernel will be able to utilize the HTC logo as a third button, perhaps they can map that to home and the home button to fast task switching and we'll have a usable device...
Sounds like you got a carrier version Wil, should've ponied up for the developer edition straight from HTC. Didn't take me more than an hour to replace the recovery partition. Anyway, here's the guide I followed: http://forum.xda-developers.com/showthread.php?t=2182792 I got to skip a bunch of the steps because I didn't need to go through the process with HTCDev to unlock it first, came that way.
+Leon Wright I tried that, but whenever I try to adb sideload or adb push, it returns an error message, because the storage isn't mounting for some reason.
I've searched xda and the rest of the Internet, and I can't figure out why this device won't mount storage or directories when it's booted into recovery (I've tried clockwork and twrp). It's so frustrating, it's pretty much time for me to just walk away for the night.
+Wil Wheaton Can I ask what sort of SD card it is and if you've formatted it since you got it? A lot of newer higher capacity SD cards come formatted exFAT support is spotty with Open Source stuff (it's possible that HTC added a driver to their ROM).
+Chris Knutson Thanks for that; it's pretty much exactly what I needed to do ... unfortunately, it isn't even showing up when I do adb devices, now. I'm just going to walk away, because the alternative at this point is to start punching myself in the face.
I find it best to never root a phone unless I've done 3 days of research on how to do it, and read at least 4 forums of people saying how easy/hard it is to root the phone. Then I take my phone look at it and think... "Will it be worth it?" Then after I figure out the answer to that question, I put the phone back down and think.. "Nah... not worth it."
+Wil Wheaton Oh.. and if your message is in regards to your mini SD... try taking it out and blowing it out.. like the old nintendo cartridge. Sometimes it's just dust in the wrong place and makes it so the phone doesn't see it right.
For all those talking about SD cards - unless +Wil Wheaton has managed to pick up the Chinese variant of the One, the storage is integrated, Nexus style. There's no removable memory card (or battery, before someone complains about that). I don't have my One yet, so I haven't really looked at the unlockibn/rooting situation...
+Xanamiar Knight It's more fun if you brick it at least twice during the install and still manage to make it work.
I have only had one permabrick and that was from bad factory hardware. (I could have fixed it if I would have taken it into the lab and done a JTAG reset. I wish I would have. The warranty replacement phone was crap.)
Boot into recovery. Click "install zip from sdcard". Hunt around for the zip. It will probably be in /sdcard/0/Downloads or wherever you saved it. (Yes, there's a 0 there. Don't ask. Android 4.0 stuff.)
---- You should be done. But if you can't find the zip, or something doesn't mount. Here's another method to install it. Get ADB setup properly on your computer and use the sideload feature to install the zip from your PC directly using "sideload". Windows may need this driver: http://download.clockworkmod.com/test/UniversalAdbDriverSetup6.msi
Click "install zip from sideload". Then type this command on your PC.
+Wil Wheaton wow you have personal assistance from the famous +Koushik Dutta , that's cool. +Pierre Wheaton what Koush has posted above it the standard way on any handset that has an unlocked boot loader, flash recovery, flash superuser. For phones that don't have an unlocked boot loader, then users who want to root wouldn't be buying them anyway..
I had loads of problems with the HTC One unlocking and flashing recoveries and generally getting root working (international version) - It's the only device that has had me stumped and had to leave it overnight before. Previously had no/little problems with HTC Desire, HTC Desire HD, HTC Sensation, HTC Evo 3D, Sony Xperia Arc S... It does make you appreciate how easy a Google Nexus device is.. My Nexus 4 has been the easiest of all!
I've written a howto do this from a mac on XDA but instructions would be cross compatible with Linux.http://forum.xda-developers.com/showthread.php?t=2245782 which recovery are you using? I know from experience that cwm supports adb push from recovery ./adb push /filename.zip /sdcard/filename.zip should get the supersu.zip to the sd card
+Wil Wheaton, HTC makes such gorgeous hardware, but they're ALWAYS so much harder to root than a Samsung product. There actually was a developer edition of the One that came with the bootloader pre-unlocked.
I had a similar problem when I rooted my wife's HTC one for her. I couldn't install busybox and couldn't get basic commands like mv in a shell. In the end I just used TWRP to flash Cerberus, which was the only thing she wanted anyway.
i don't know how to do this stuff but i wonder if the partitions are missing a properly formatted boot sector? that would allow them to work once the OS is started but not allow them to be booted from
I hope you get it sorted. I can't wait until I get a new phone in November. I had my Motorola Droid X2 - it has been nothing but a pain in the arse. Constant rebooting. Constant App crashes. SD Card works when it feels like it. Rings and Notification sounds work intermittently. I want to take the phone set it on fire, beat it with a sledgehammer, drop it in acid, set it on fire, and then lay it on the railroad tracks near my house for a AMTRACK to speed over it. I hate my phone.
I feel your pain also came from GNex I reinstalled drivers and for some reason the HTC transfer software also helped then I could see the SD card on my PC. .. After multiple tries finally got recovery.
+Wil Wheaton I had a similar issue with the Amaze (HTC 'Ruby', late 2011). For some reason, it mounts the EXTERNAL SD card as /sdcard/ and the internal partitions are untouchable. Can't even be mounted manually (adb shell) like with the Nexus 4 (which, frankly, you should be staying up late at night with). I finally just gave up trying. Oh, and Koush's superuser.zip wouldn't install in CWM on the Amaze until I'd done the firstboot setup. Why? Dunno, maybe /system/ isn't ready until firstboot is done.
HTH. Koush's help is golden, but we'll see how many New York minutes pass before CBS' lawyers bomb him with C&D letters.
+Matthew Pedigo Yes, I found with my Amaze, AFTER I'd unlocked and reset it, I could boot to an external recovery.img. Handy, since I can do backups with CWM, then just reboot and OTA updates will still work with the stock recovery remaining. Not that reflashing with stock recovery is hard, I've done it a few times (the image is in the OTA update .ZIP file :) ).
I rooted the HTC One. I had a bad time of it at first. When you root and get ready to install a rom, "sdcard" disappears. The problem arises from fact that the storage is internal. I literally had the exact same problem. But, i can't remember what I did to fix it, i remember it was on the XDA forums tho. It's something like, format sdcard partition in cwm, on your computer do 'adb push yourfile.zip /sdcard' and then you should have it back. Flash it and be merry.
+Brandon Cook I don't have windows. I just read a script and did it through linux. I think i may have accidentally done something I didn't mean to, but I don't remember. But, I do remember it disappearing. I also remember the lump in my throat when I thought I'd soft bricked it to death when I realized that I made the backup but was in such a hurry i never dumped it off to my computer.
If you have the sprint version, use the "openrecovery-twrp-188.8.131.52-m7wls.img" rather than "openrecovery-twrp-184.108.40.206-m7.img". I was banging my head on the wall until I got that, and I had to go through the team win site to find it.