Cannot get root after unlocking and installing custom recovery!!! - One (M7) Q&A, Help & Troubleshooting

I have tried every toolkit and manually pushing it and flashing it from recovery and no go. With TWRP it says failed. with CWM it says it installed. But when I reboot and try and run a app that requires root, it says that I do not have root.
Stock Tmo 4.4.2 ROM, S-On, Unlocked
What am I doing wrong?

What file are you flashing with TWRP for root?
sent from my mobile device

I have tried multiple SU.zips as well as Superuser-3.1.3-arm-signed.zip. Is there a different one I should be using?
SaHiLzZ said:
What file are you flashing with TWRP for root?
sent from my mobile device
Click to expand...
Click to collapse

http://forum.xda-developers.com/showthread.php?t=1538053
Flash this in twrp
sent from my mobile device

I downloaded the UPDATE-SuperSU-v1.93.zip and pushed it to the phone and booted into TWRP and chose install and browsed to the sdcard and clicked on the zip file and it says:
Error FLashing zip /sdcard/UPDATE-SuperSU-v1.93
Updating Partition details
E: Unable to mount ./cache'
E: Unable to mount '/data'
E: Unable to mount internal storage
Failed
SaHiLzZ said:
http://forum.xda-developers.com/showthread.php?t=1538053
Flash this in twrp
sent from my mobile device
Click to expand...
Click to collapse

Huh.. Interesting. Perhaps mount data partition from advanced? Not sure right now
sent from my mobile device

I think I fixed it. I updated TWRP to 2.6.3.3 and it did not say fail when I flashed it. Unfortunately Google is re-installing 100 apps and I have to wait for something to be installed that needs root.
I will report back soon.
SaHiLzZ said:
Huh.. Interesting. Perhaps mount data partition from advanced? Not sure right now
sent from my mobile device
Click to expand...
Click to collapse

It worked!
Thanks for pointing me in the right direction!

Awesome

Related

Please help unbrick a Telus HTC One

Hi everyone.
I unlocked the bootloader and rooted a Telus HTC One. But the latest flash went wrong and I went into bootloop. Somehow, I seem to have gotten myself into a situation where there's no ROM installed. I can still get into Bootloader and Recovery. When I try to start the phone, it's stuck at "HTC Quietly Brilliant" screen.
I've tried factory resetting, wiping everything, relocking the bootloader and loading the Factory RUU Zip using the All-In-One tool kit by Hasoon, and sideloading a ROM. Nothing seems to work. I also managed to push a ROM to the phone using the adb push command. When I try to install it using TWRP, I get an error msg "Unable to open zip file." It failed using CWM recovery as well.
When I plug the phone into a computer, it recognizes something is plugged in. But I can't open the drive at all. I get error msgs when I try to mount sdcard, system, data, anything. Things don't seem to be mounting/recognized at all. HTC sync and drivers are installed.
Experts, what else can I try?
Try downloading a Telus clean nandroid backup. Then go back into recovery (depends of what nandroid you get, make sure you have the right recovery, so if you download a CWM nandroid use CWM).
G-Bus said:
Try downloading a Telus clean nandroid backup. Then go back into recovery (depends of what nandroid you get, make sure you have the right recovery, so if you download a CWM nandroid use CWM).
Click to expand...
Click to collapse
Thanks for the suggestion. Not having any luck finding a Telus nandroid. Would it make matters worse if I try to restore from a non-Telus nandroid? My phone can't mount the /sdcard right now. Suppose I'll have to adb push it to the phone again?
runlsd said:
Thanks for the suggestion. Not having any luck finding a Telus nandroid. Would it make matters worse if I try to restore from a non-Telus nandroid? My phone can't mount the /sdcard right now. Suppose I'll have to adb push it to the phone again?
Click to expand...
Click to collapse
You don't mount the sdcard in HTC One you mount the data partition.
Also what happens if you sideload a ROM?
PHP:
adb sideload <ROM>
Have you tried erasing cache after installing a ROM if successful?
Riyal said:
You don't mount the sdcard in HTC One you mount the data partition.
Also what happens if you sideload a ROM?
PHP:
adb sideload <ROM>
Have you tried erasing cache after installing a ROM if successful?
Click to expand...
Click to collapse
When I sideloaded, It said
Can't Open /sdcard/rom.zip" (bad).
Installation aborted
Sideloading now gives me this error
failed to open driver control: No such file or directory
Restarting adbd
hmm, okay. I thought since recovery says "Install zip from sdcard" i thought /sdcard needed to be mounted. /data is mounted at the moment. No connectivity between computer and the phone unless through the All-in-one kit.
Riyal said:
Have you tried erasing cache after installing a ROM if successful?
Click to expand...
Click to collapse
And I haven't had successfully installed a ROM since I bricked the phone.
Install a custom ROM and kernel on your USB from the computer, mount the USB in Twrp using the otg cable. Flash ROM, if it doesnt boot, flash the kernel.
Flashing the kernel fixed it for me.
Another way is to use an adb pusher app and transfer thevfiles to your SD card.
Sent from my Nexus 10 using XDA Premium HD app
Thanks everyone. Somehow it sideloaded when I tried for the twentieth time.

[Q] Can only access bootloader. Soft brick?

Hey guys,
Today I attempted to root my HTC One. I successfully unlocked it and successfully flashed twrp 2.5 onto my phone. Without creating a backup and after flashing superuser and arhd 11.0 my phone would only boot into bootloader. Then I found I had trouble going back into recovery. I tried reflashing twrp and it worked and led me back into recovery. I was unable to find any of the ROMs I put into the internal memory and I get an error that says I am unable to mount data. I've tried flashing cwm recovery, which only lead to booting into bootloader, and then back to twrp which worked at first, but now I can't get either to work. I've been at this for hours. Hope any of you guys could help me out. Thanks in advance!
Also, I think my problem began by trying to flash arhd 11.0 from stock without doing a full wipe.
Update: Was able to get twrp to work again by clearing cache, but still unable to mount data.
This is an error i see inside twrp.
E : Unable to mount '/data'
E : Unable to recreate /data/media folder.
Updating partition details...
E : Unable to mount '/cache'
E : Unable to mount '/data'
E : Unable to mount internal storage.
E : Unable to mount /data/media during GUI startup
E : Unable to mount '/cache'
E: TWFunc : : Copy_Log -- Can't open destination
etc...
Click to expand...
Click to collapse
Update: SOLVED. Tried flashing Viper Rom and it worked great.
I believe that you install ARHD 11 from a 4.1 based rom, right? If that's the case, moving from 4.1 to 4.2 will mess up your data structure a bit. Because you have flashed arhd 11, all the rom files you had put earlier on 4.1 will be at other folder. My advice is you boot into twrp, open adb sideload (advance menu). On your computer use "adb sideload rom.zip" (rom.zip is the name of the rom you wanna flash). After it loaded the rom to the sd card, reboot to bootloader and you should see a file named sideloaded.zip. flash it. After finish, clear cache and reboot system.
or you can search in media/0
hope it helps
ryryzz said:
I believe that you install ARHD 11 from a 4.1 based rom, right? If that's the case, moving from 4.1 to 4.2 will mess up your data structure a bit. Because you have flashed arhd 11, all the rom files you had put earlier on 4.1 will be at other folder. My advice is you boot into twrp, open adb sideload (advance menu). On your computer use "adb sideload rom.zip" (rom.zip is the name of the rom you wanna flash). After it loaded the rom to the sd card, reboot to bootloader and you should see a file named sideloaded.zip. flash it. After finish, clear cache and reboot system.
or you can search in media/0
hope it helps
Click to expand...
Click to collapse
So I should sideload and flash a 4.1 based rom or a 4.2?
I've tried sideloading ARHD 11 and it brings me into the same bootloader loop. Could you send me a link to a ROM that may work?
Here's the steps I am taking if it helps;
1. fastboot erase cache
2. fastboot flash recovery twrp.img
3. go into recovery
4. adb sideload arhd11
5. reboot into recovery
6. flash sideload
7. reboot system
8. gives me a message saying my phone is not rooted would I like to install SuperSU now?
9. regardless of if i put 'do not install' or 'swipe to install' phone reboots into bootloader and I start over with the same problem
Click to expand...
Click to collapse
zasuncion said:
So I should sideload and flash a 4.1 based rom or a 4.2?
I've tried sideloading ARHD 11 and it brings me into the same bootloader loop. Could you send me a link to a ROM that may work?
Here's the steps I am taking if it helps;
Click to expand...
Click to collapse
Can you access recovery?
If yes, adb push name_of_rom.zip /sdcard/
rom will now be on your sdcard after the transfer. install it.
all roms using aroma installer crash sometimes, just keep trying.
edit: IF you can't find it, select install zip from sideload in recovery and command
adb sideload name_of_rom.zip
after the transfer it will begin to install automatically - you shouldn't need to reboot after a sideload.
redbull123 said:
Can you access recovery?
If yes, adb push name_of_rom.zip /sdcard/
rom will now be on your sdcard after the transfer. install it.
all roms using aroma installer crash sometimes, just keep trying.
Click to expand...
Click to collapse
Yes, I can access recovery. Just tried this. After flashing ARHD11 again I am still rebooting into bootloader.
Maybe it's just the ROM itself that I'm having trouble with? Could anyone direct me to one that will work for sure in my case?
Also after every flash, when I choose to reboot, twrp gives me a message saying my phone is not rooted and if I should install SuperSU. Should I say yes or not install? or is there a problem with flashing the ROM?
zasuncion said:
Yes, I can access recovery. Just tried this. After flashing ARHD11 again I am still rebooting into bootloader.
Maybe it's just the ROM itself that I'm having trouble with? Could anyone direct me to one that will work for sure in my case?
Also after every flash, when I choose to reboot, twrp gives me a message saying my phone is not rooted and if I should install SuperSU. Should I say yes or not install? or is there a problem with flashing the ROM?
Click to expand...
Click to collapse
So ARHD goes through and installs (as in gets to 100% in aroma) then reboots to bootloader?
Sent from my HTC One using xda premium
redbull123 said:
So ARHD goes through and installs (as in gets to 100% in aroma) then reboots to bootloader?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Yes. And the only way to get back into recovery from there is to reflash. I also can't use cwm, I can only use twrp. If that means anything.

Help. Htc one brick

please help me..
I try to format sdcard on my htc one and i got some problem. the problem my h1 can't process RUU. always error during installation. please help me.
kAskAdu said:
please help me..
I try to format sdcard on my htc one and i got some problem. the problem my h1 can't process RUU. always error during installation. please help me.
Click to expand...
Click to collapse
flash a custom recovery onto your phone then sideload or use otg cable to get a rom back onto your phone
your device is not bricked as long as you are s-on. it's almost impossible to brick it with s-on. follow ratcoms instructions and it should work again.
ratcom said:
flash a custom recovery onto your phone then sideload or use otg cable to get a rom back onto your phone
Click to expand...
Click to collapse
but if i try adb sideload <filename>. i got problem my devices not found.
kAskAdu said:
but if i try adb sideload <filename>. i got problem my devices not found.
Click to expand...
Click to collapse
you know that you have to actually boot to recovery and choose install zip via sideload to sideload right?
George_Mn said:
you know that you have to actually boot to recovery and choose install zip via sideload to sideload right?
Click to expand...
Click to collapse
but, i confused with my internal storage ( 0 mb ) on my h1. i can't access everything i just on recovery mode
stuck on same problem, but loaded the rom via adb push command to /sdcard
but cant flash as it keeps saying
Error flashing zip /sdcard/cm101.zip
Updating partition details
E:Unable to mount /cache
E:Unable to mount /data
E:Unable to mount internal storage
moloch said:
stuck on same problem, but loaded the rom via adb push command to /sdcard
but cant flash as it keeps saying
Error flashing zip /sdcard/cm101.zip
Updating partition details
E:Unable to mount /cache
E:Unable to mount /data
E:Unable to mount internal storage
Click to expand...
Click to collapse
moloch,
You can't mount anything in recovery because you locked your bootloader. I sent you a PM.
kAskAdu said:
but if i try adb sideload <filename>. i got problem my devices not found.
Click to expand...
Click to collapse
Did you actually boot into recovery and select the sideload mode? What recovery are you using? Try "adb devices" once in sideload it should return "serial number sideload".
AT&T HTC One
BaadNewz's InsertCoin 3.0-7
Flar2's Bulletproof 3.4
Same issue
crushalot said:
moloch,
You can't mount anything in recovery because you locked your bootloader. I sent you a PM.
Click to expand...
Click to collapse
I'm having the same issue but my bootloader does say it's unlocked. Trust me when I say I have been searching on the topic for hours. Any help would be greatly appreciated.

Can't install anything not even stock ROM

I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
UPDATE 1:
I was able to repair the SDCARD mounting error by following the steps from here: http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Sirricharic said:
I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
Click to expand...
Click to collapse
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Konfuzion said:
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
I tried that with the encrypted rom thats supposedly stock and a few others all of them return :
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: closed
Click to expand...
Click to collapse
elvisypi said:
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Click to expand...
Click to collapse
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: device not found
Click to expand...
Click to collapse
Sirricharic said:
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
Click to expand...
Click to collapse
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
lafomamone said:
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
Click to expand...
Click to collapse
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Sirricharic said:
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Click to expand...
Click to collapse
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Sirricharic said:
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Click to expand...
Click to collapse
UPDATE:
I was able to flash the Ecliptic One Rom however it doesn't receive a signal nor does it recognize my IMEI

failed to mount /data (Invalid argument)

Hi,
I just installed Huawei P9 [ROM][6.0] fRomFuture - NewWorld V2 and the phone boots and works fine, but I cant update Su binary because of this error in TWRP ( I have unlocked bootloader and root):
failed to mount /data (Invalid argument)
Just clear the notification on each restart, don't try and update the SU Binary. It's a known issue
See the rom's thread
And re the TWRP issue, are you using the latest one from @paulobrien? 3.0.2.0 RC3?
colthekid said:
Just clear the notification on each restart, don't try and update the SU Binary. It's a known issue
See the rom's thread
And re the TWRP issue, are you using the latest one from @paulobrien? 3.0.2.0 RC3?
Click to expand...
Click to collapse
Thank you, nope I was using the one from SRK TOOL. Do you know how to install TWRP via Paul, its a img file (i'll have a hunt for his copy)
In twrp, go install, choose install image, choose file, select partition recovery and done
Other method with pc-fastboot command -> fastboot flash recovery blabla.img this method need root with stock rom. Custom roms already rooted so dont worry
Milamber said:
Thank you, nope I was using the one from SRK TOOL. Do you know how to install TWRP via Paul, its a img file (i'll have a hunt for his copy)
Click to expand...
Click to collapse
Don't know if the Tool is using the latest version. Paul's is here ... http://forum.xda-developers.com/p9/development/wip-twrp-support-t3372331 still has some issues backing up, but best we have at the mo.
you can either flash as @master' suggests or via adb
adb reboot-bootloader
fastboot flash recovery twrp-3.0.2-0-eva-modaco-rc3.img
fastboot reboot
edit: beaten to it! :highfive:
colthekid said:
Don't know if the Tool is using the latest version. Paul's is here ... http://forum.xda-developers.com/p9/development/wip-twrp-support-t3372331 still has some issues backing up, but best we have at the mo.
you can either flash as @master' suggests or via adb
adb reboot-bootloader
fastboot flash recovery twrp-3.0.2-0-eva-modaco-rc3.img
fastboot reboot
edit: beaten to it! :highfive:
Click to expand...
Click to collapse
Thanks to both of you from Australia!
Hi. when I try backup system ihad message : "createTarFork () process ended with error :255"
What`s wrong?
Last messages from log
I:addFile '/data/hw_init/system/emui' including root: 0
==> set selinux context: ubject_r:system_data_file:s0
I:addFile '/data/hw_init/system/emui/base' including root: 0
I:Error adding file '/data/hw_init/system/emui/base' to '/external_sd/TWRP/BACKUPS/MWS0216C19000719/2017-03-15--12-38-32//data.f2fs.win'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/external_sd/TWRP/BACKUPS/MWS0216C19000719/2017-03-15--12-38-32/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup
Click to expand...
Click to collapse
ok. I changed SD card ,formated it in phone and did backup by TWRP-3.0.2-0-eva. Now I think all done good. Last question is what about this red alert at the end of log?
Unmounting main partitions...
Failed to unmount '/system' (Device or resource busy)
Click to expand...
Click to collapse

Categories

Resources