[Q] cannot root - One (M7) Q&A, Help & Troubleshooting

i just purchased an HTC ONE and was successful in unlocking and installing TWRP..whereas i flashed TWRP via fastboot...
when i rebooted into recovery everything was as good as expected but ran into a problem installing superuser via recovery..
when i start recovery and i come to the start screen,,,i click on install but cannot access the superuser.zip file..it does not find the superuser.zip file...and if i try to browse for that file it will not let me mount the storage,,,it will only let me mount the internal storage where the superuser file is not located...
when i click on "install zip from sdcard" it shows E:cant mount /cache/recovery/command as well as
E:can't mount /external_sd
i have tried to install different recoveries and they seem to work fine but i get the same thing when i try to install superuser.zip
it seems to me that i am not able to access that specific partition where the .zip files reside
hopefully i am just overlooking something simple but i've been round and round and cant seem to work it out..
i have had an evo 3d in the past and successfully unlocked/rooted/and installed ROMs before so i am not what some might call a newbie at this..
BTW,,,,i installed Hansoon2000's HTC One All-In-One Toolkit and started to tinker with that as well..there is an extra where one can sideload a ROM so i figured i'd try that to see if it would load the superuser.zip.
it found the package,,opened it,,,installed it,,copied,fixed permissions,symlinked and showed the installation as complete..but alas no root...
any help would be greatly appreciated

spurfan33 said:
i just purchased an HTC ONE and was successful in unlocking and installing TWRP..whereas i flashed TWRP via fastboot...
when i rebooted into recovery everything was as good as expected but ran into a problem installing superuser via recovery..
when i start recovery and i come to the start screen,,,i click on install but cannot access the superuser.zip file..it does not find the superuser.zip file...and if i try to browse for that file it will not let me mount the storage,,,it will only let me mount the internal storage where the superuser file is not located...
when i click on "install zip from sdcard" it shows E:cant mount /cache/recovery/command as well as
E:can't mount /external_sd
i have tried to install different recoveries and they seem to work fine but i get the same thing when i try to install superuser.zip
it seems to me that i am not able to access that specific partition where the .zip files reside
hopefully i am just overlooking something simple but i've been round and round and cant seem to work it out..
i have had an evo 3d in the past and successfully unlocked/rooted/and installed ROMs before so i am not what some might call a newbie at this..
BTW,,,,i installed Hansoon2000's HTC One All-In-One Toolkit and started to tinker with that as well..there is an extra where one can sideload a ROM so i figured i'd try that to see if it would load the superuser.zip.
it found the package,,opened it,,,installed it,,copied,fixed permissions,symlinked and showed the installation as complete..but alas no root...
any help would be greatly appreciated
Click to expand...
Click to collapse
Try using the toolkit to sideload a Sense-based ROM, they come already rooted.
Sent from my HTC One using xda premium

what is the point in that ,,,,if i wanted to install any rooted apps i would not be able to..
there has to be someone with this same issue..
it seems that i am not able to get superuser to install to the correct partition

spurfan33 said:
what is the point in that ,,,,if i wanted to install any rooted apps i would not be able to..
there has to be someone with this same issue..
it seems that i am not able to get superuser to install to the correct partition
Click to expand...
Click to collapse
My thinking is that you wouldn't have to install superuser.zip - the ROM has it pre-installed already. Where /what folder have you saved the superuser.zip you're trying to install? Also, try clearing cache/davlik cache

All-In-One Toolkit try it again install cwm then permanent root i had your problem that worked for me had to do it 3 times to push super user

jaythenut said:
All-In-One Toolkit try it again install cwm then permanent root i had your problem that worked for me had to do it 3 times to push super user
Click to expand...
Click to collapse
i have tried that several time but keep getting this
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "echo 'boot-reco
ery ' > /cache/recovery/command"
system/bin/sh: can't create /cache/recovery/command: Permission denied
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "echo '--update_
ackage=SDCARD:SuperSU.zip' >> /cache/recovery/command"
system/bin/sh: can't create /cache/recovery/command: Permission denied
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "reboot recovery
Reboot: Operation not permitted
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>pause
Press any key to continue . . .
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>
i have my device unlocked and TWRP successfully installed
i put this file (Android_Revolution_HD_Root_and_BusyBox.zip) on my thumb drive and tried to install it from OTG but with no success..when i do that i lose my recovery and have to reinstall that via fastboot

i just tried the AIO toolkit again to reinstall TWRP and to have it install the superuser files...
everything goes as planned but after the TWRP install it reboots onto fastboot where i am supposed to enter recovery,,,but when i do it says that i am entering recovery but never does,,,therefore it will not install the superuser files..
the only other way i can get a successful recovery install is if i flash one via fastboot,,,but then i cant find a way to install superuser ,,once i enter recovery when i click to install a superuser.zip file i cannot find the one i placed on my phone ...
in the video tutorials it shows that when i chose to install the superuser.zip file i navigate to the download folder,,,,but there is not such folder.
i placed the superuser.zip file on a thumb drive and navigated to it and clicked on it to install,,,it said that it installed but it didnt,,,i assume thats because it needs to be placed in a system folder

FINALLY !!!!
OK,,,i finally got it all wroking,,,i think,,,,,LOL
i followed the instructions here http://forum.xda-developers.com/showthread.php?t=2236620
come to find out that the partitions needed are hidden and are set so where one cannot write to them...
alot of digging allowed me to stumble across this...
thank you to everyone for all the help and patience

Related

[Solved] Can't flash Clockwork Recovery.

I've read the guides, tried manual and the simple download from the Android Market. Here's what happens:
I've rooted my Thrill with SuperOneClick 2.1.1. It was a successful root from what I can tell, it added Superuser into my apps, and I was able to download Rom Manager from the Android Market.
If I try using Rom Manager and click "Flash ClockworkMod Recovery" It appears to install. But when I hit "Reboot into Recovery" it just reboots like normal.
If I try to manually get into recovery mode by holding volume down and the 3D button it just boots into the stock recovery mode.
When I try to manually install Clockwork and copy recovery.img to /data with cmd I get this:
failed to copy recovery.img permission denied
Click to expand...
Click to collapse
Thanks for any help, I'm hoping it's just a small little step I missed.
mikeeey said:
I've read the guides, tried manual and the simple download from the Android Market. Here's what happens:
I've rooted my Thrill with SuperOneClick 2.1.1. It was a successful root from what I can tell, it added Superuser into my apps, and I was able to download Rom Manager from the Android Market.
If I try using Rom Manager and click "Flash ClockworkMod Recovery" It appears to install. But when I hit "Reboot into Recovery" it just reboots like normal.
If I try to manually get into recovery mode by holding volume down and the 3D button it just boots into the stock recovery mode.
When I try to manually install Clockwork and copy recovery.img to /data with cmd I get this:
Thanks for any help, I'm hoping it's just a small little step I missed.
Click to expand...
Click to collapse
This is covered in the cwm thread in development section you need to use a file explorer that has root access and change permissions to the /data folder. You can use es file explorer, its free. Open it go into settings then browse as root... not really sure exact steps but they are in the came thread.
O my such a small step I missed! Thank you! Ill try this later today.
Permissions of /data are set to R/W but I still get the same error..
I'm starting to wonder if the cause of this is because I tried using Rom Manager to flash clockwork, THEN tried the adb method. Maybe it already being there is causing the permission denied?
edit: so it looks like it was as simple as me looking over the permissions and thinking I saw everything was checked, but really the two checks from the left under "other" were grayed out lol, checking those fixed it.

CWM/RUU Error, everything is formated

Hi, i've a problem, but i'm sure there's any solution.
I wanted to update CWM to 5.8.3.1 (recovery_1.28.img). But there are lots of errors. It can't open or mount /cache and it can't also mount USB.
I installed lots of custom ROMs before, and everytime i'm installing one, I format EVERYTHING and mount the USB Storage and copy a ROM.zip to sdcard.
But i can't mount it and now i've a "empty" phone. I can relock or unlock the bootloader, can go into the bootloader/fastboot/recovery.
When I'm installing a RUU, there's a Bootloader Version Error 140. I think that's because it's a 2.3.5 RUU. (..Runnymede_O2_DE)
What can I do? How can I do it?
Flash it via fastboot, recovery adb?
Downgrade HBoot?
Sometimes there was a "Remote: signature verify fail" error.
Please help me.
Rachorid said:
Hi, i've a problem, but i'm sure there's any solution.
I wanted to update CWM to 5.8.3.1 (recovery_1.28.img). But there are lots of errors. It can't open or mount /cache and it can't also mount USB.
I installed lots of custom ROMs before, and everytime i'm installing one, I format EVERYTHING and mount the USB Storage and copy a ROM.zip to sdcard.
But i can't mount it and now i've a "empty" phone. I can relock or unlock the bootloader, can go into the bootloader/fastboot/recovery.
When I'm installing a RUU, there's a Bootloader Version Error 140. I think that's because it's a 2.3.5 RUU. (..Runnymede_O2_DE)
What can I do? How can I do it?
Flash it via fastboot, recovery adb?
Downgrade HBoot?
Sometimes there was a "Remote: signature verify fail" error.
Please help me.
Click to expand...
Click to collapse
Adb the ROM.zip to your SD card. And then flash it
Sent from my HTC One S using xda premium
Thank you for your answer
But,
how can i move it? (i can only use adb recovery)
I just clicked on "choose zip from sdcard" and CWM says "E: Can't mount /sdcard/"
I'm sure it worked three hours before, but i tried out so many and nothing worked, i wipe everything again, if something happen i'll get back
Rachorid said:
Thank you for your answer
But,
how can i move it? (i can only use adb recovery)
I just clicked on "choose zip from sdcard" and CWM says "E: Can't mount /sdcard/"
I'm sure it worked three hours before, but i tried out so many and nothing worked, i wipe everything again, if something happen i'll get back
Click to expand...
Click to collapse
In recovery with your phone plugged onto The PC. Rename your ROM zip file you want to flash just name it ROM and then Copy it to adb directory on your PC. The in command prompt CD to your adb directory and type 'adb push ROM.zip /sdcard/'
It will sit there for a while. But be patient. Once its done find the ROM.zip under the choose zip from SD card choice in cwm.
Here is a thread to explain what I mean. Has screenshots too. Although this is for the one s. The principle is the same.
http://forum.xda-developers.com/showthread.php?t=1667929
Sent from my HTC One S using xda premium
Thank you
I think that's the solution, but it can't mount /sdcard
It can mount cache, data & system...
I've a CWM Backup from March, can I use it??
Unless your on the ICS hboot, you should use older recovery.
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
I don't know why, but finally my SXL works!!
I used this http://forum.xda-developers.com/showthread.php?t=1680572
I already tried it, but it didn't work. Now it works, i don't know why...
But thank you

Issues with recovery on Sprint HTC ONE (Resolved)

I am S-OFF Unlocked
I went into the bootloader fastboot
http://forum.xda-developers.com/showthread.php?t=2173863
Flashed the touch clockwork recovery
When I go to recovery phone reboots...
Tried no touch clockwork
same issue
Gave up on clockwork moved to TWRP
http://forum.xda-developers.com/showthread.php?t=2173870
Installed..
I can boot into recovery.... BUT
I go to install trying to find the superuser zip file
The file is not present.....
In fact the directory structure TWRP sees is nothing like what I see in Root Explorer... Directories and files are missing...
My goal is to flash superuser...
Is this phone with integrated SD card causing some issue?
************EDIT RESOLUTION**************
Sprint HTC ONE is picky about its recovery.
For Sprint go here
http://forum.xda-developers.com/showthread.php?t=2244060
Download the pack of sprint goodies and you should be good.
*************************************************
Yeah, I think so, although I haven't noticed any problems yet. I had the same experience with CWM.
/sdcard may now be /sdcard/0 due to multiuser features.
BenPope said:
Yeah, I think so, although I haven't noticed any problems yet. I had the same experience with CWM.
/sdcard may now be /sdcard/0 due to multiuser features.
Click to expand...
Click to collapse
I am still lost...
In twrp I chose install. Under sdcard I have:
Audio
Gpu
mms
twrp
Video
weather
nothing else.
Twrp for HTC one is already configured for multi user and won't access /sdcard/
You have to put anything you want to flash into /sdcard/0/ (or, if you're as anal as I am, /sdcard/0/download/)
----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 5.6
Bulletproof 1.10
Tetsumi06 said:
Twrp for HTC one is already configured for multi user and won't access /sdcard/
You have to put anything you want to flash into /sdcard/0/ (or, if you're as anal as I am, /sdcard/0/download/)
----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 5.6
Bulletproof 1.10
Click to expand...
Click to collapse
I do not have a 0 directory in sdcard (IN TWRP)
Also in root explorer the path shows as:
storage/sdcard0
However in TWRP NO storage directory exists. (NOR an SDCARD0 directory)
Where am I going wrong?
tws101 said:
I do not have a 0 directory in sdcard (IN TWRP)
Also in root explorer the path shows as:
storage/sdcard0
However in TWRP NO storage directory exists. (NOR an SDCARD0 directory)
Where am I going wrong?
Click to expand...
Click to collapse
Update
in ADB
I can go to the data/media folder and find all SDCARD content
in TWRP listed in the same directory are only those 6 directories listed here:
Audio
Gpu
mms
twrp
Video
weather
I am starting to think the TWRP file explorer is drunk....
Attempted to install clockwork again and got into a boot loop. I went back to TWRP bootloop fixed....
Still can't get TWRP to see any files I place on the phone........
Unresolved
tws101 said:
Update
in ADB
I can go to the data/media folder and find all SDCARD content
in TWRP listed in the same directory are only those 6 directories listed here:
Audio
Gpu
mms
twrp
Video
weather
I am starting to think the TWRP file explorer is drunk....
Attempted to install clockwork again and got into a boot loop. I went back to TWRP bootloop fixed....
Still can't get TWRP to see any files I place on the phone........
Unresolved
Click to expand...
Click to collapse
Issue resolved
For Sprint phones use the sprint recoveries.
http://forum.xda-developers.com/showthread.php?t=2244060
tws101 said:
Issue resolved
For Sprint phones use the sprint recoveries.
http://forum.xda-developers.com/showthread.php?t=2244060
Click to expand...
Click to collapse
Which recoveries are you referring to? Forgive the noob question, but I bought my HTC One from Sprint last night, and am having this exact issue (I cant browse to any of the files I see when I plug the phone into my computer).
Ive gotten to the last step of this process, but as the user above described, I cant browse to any of the files, and thus cant find the .zip.
For reference, I followed the steps here: http://www.cultofandroid.com/26527/rooting-the-htc-one-the-right-way-how-to/
Edit: When I hit the log button in TWRP I see the following:
Updating partition details...
E:Unable to mount '/cache'
E:unable to mount '/system'
E:Unable to mount '/cache'
E:TWFunc: :Copy_Log -- Can't open destination lo [cut off]
E:Unable to mount '/cache'
I resolved this issue by re-installing TWRP. The version I obtained in the original set of instructions was not correct, but when I followed bigdaddy's instructions, I was successful. I just needed to re-flash TWRP.
Thanks!!
jarontest said:
I resolved this issue by re-installing TWRP. The version I obtained in the original set of instructions was not correct, but when I followed bigdaddy's instructions, I was successful. I just needed to re-flash TWRP.
Thanks!!
Click to expand...
Click to collapse
Yes for the Sprint phones all the recoveries in Bigdaddy's post I have working.... While none of the other recoveries (NON Sprint) would work on my Sprint HTC ONE.
SO IF ANYONE ELSE NEEDS HELP ON THIS
For Sprint go here
http://forum.xda-developers.com/showthread.php?t=2244060
Download the pack of sprint goodies and you should be good.

sdcard wiped, Rom in loop

Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
when I had that problem, I ended up wiping everything and then rebooted to recovery and it finally worked.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try what @JudgeFutta said. The error's most likely due to corrupt partitions.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try to get in Recovery and from mount option mount system and then try it will work or try this
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit andvanced and find Sideload
3. Swipe to start Sideload
4. Open a CMD Prompt window and Change Directories to where your adb.exe is
5. type adb devices and it should show your device conntected and say sideload
6. Your ZIP file should already be in your adb folder
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip
9. Wait until it says 100% and reboot back into recovery to flash the ROM
10. If hitting power does not make the screen come one, type adb reboot recovery
11. if adb reboot recovery does not work, hold power and volume down until it reboots to fastboot then go to recovery
ADB Push from Recovery - If Sideload Fails For You
adb push rom.zip /data/media/0/
Be sure u r in Recovery when using ADB Push command.
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
p1mpin said:
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
Click to expand...
Click to collapse
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
User420s said:
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
Click to expand...
Click to collapse
@p1mpin Can vouch for that ROM, it's amazing. Might also want to flash Kangaroo Kernel while you're at it. It'll give you great battery life.

Cannot install Xposed in Z3Compact? Read this.

Good Night,
First of all, I hope this will be of use to someone
I own a Z3 Compact which I rooted yesterday. I followed the steps detailed in here, and today I was getting ready to start using XPosed but I am unable to install it, since I am getting a nice :
SD Card: /storage/emulated/0/Android/data/de.robv.android.xposed.installer/files
Copying Xposed-Disabler-Recovery.zip...
Mounting /system writable...
mount: permission denied (are you root?)
Could not mount /system writable
Trying to continue anyway...
cp: can't create '/system/bin/
app_process.orig': Read-only file system
Failed to create a backup of /system/bine/app_process
Click to expand...
Click to collapse
I followed every step, even flashed the part specified at the FAQ that asks me to flash RICDefeat.zip
FAQ
- Some root apps don't work, because /system can't be remounted rw, what's up with that?
Sony has a special in kernel protection that disallow remounting /system read-write, even for root. Flash this in recovery (copy it to the sdcard and reboot in recovery with volume UP pressed, then install it): https://github.com/dosomder/SonyRICD.../RICDefeat.zip
Click to expand...
Click to collapse
So since I could not get through, even after following every step, opted for a different Installation Mode, to see if I could avoid that by flashing stuff instead
Installation Mode
Classical (write to /system directly)
Recovery (flash zip automatically)
Recovery (write zip to SD card, flash manually)
Click to expand...
Click to collapse
I've tried all three methods
- The first one throws that error
- The second reboots the phone without flashing a thing,
- The third one ... well, it says the following
SD card: /storage/emulated/0/Android/data/de.robv.android.xposed.installer/files
Copying Xposed-Disabler-Recovery.zip...
Copying Xposed-Installer-Recovery.zip...
Copying XposedBridge.jar...
Please flash Xposed-Installer-Recovery.zip from the SD card to complete the operation.
Click to expand...
Click to collapse
So then you just have to reboot in recovery, dig to that same folder and find in there the zip to flash.
Anyway, just posting this in case anyone has that same problem, because it has driven me crazy not being able to fix that /system non writable problem with Sony. geez....
Cheers
Thank you so much. It works for my Z3C Docomo (already flashed with US ROM - D5803_23.0.1.A.5.77_US.ftf).
Thanks!
I had another Z3c that broke and the installation was as smoth as possible, but i had unlocked bootloader and rooted by the old method (that needed BU).
I got a new phone from assistence and did the root without UB.. and got the same problem .. thanks for the "tutorial"
Alright so this fixes some issue you had with the actual flashing of xposed in TWRP? I'm assuming it doesn't fix the bootloop problem that happens if you don't wipe the cache between every restart?
I'm not sure I follow your original thread,or what you actually did to resolve whatever issue it is that you were having...
NeLk said:
Installation Mode
Classical (write to /system directly)
Recovery (flash zip automatically)
Recovery (write zip to SD card, flash manually)
I've tried all three methods
- The first one throws that error
- The second reboots the phone without flashing a thing,
- The third one ... well, it says the following
So then you just have to reboot in recovery, dig to that same folder and find in there the zip to flash.
Anyway, just posting this in case anyone has that same problem, because it has driven me crazy not being able to fix that /system non writable problem with Sony. geez....
Click to expand...
Click to collapse
I'm currently being driven crazy by Sony's ridiculous R/W restriction, so I'd like to be able to lift it. If I understand correctly, your thread is partially about that. I'm having trouble flashing RICDefeat from recovery.
I don't understand the difference between flashing a zip automatically and flashing it manually. The only method I know is copying to SD/internal memory, booting into recovery and install/flash zip from there. Which recovery did you use?
Thanks.
The latest XPosed Installer is missing last option, but I found the file downloaded at /sdcard/Android/data/de.robv.../cache/downloads/framework

Categories

Resources