Hi, I'm new to the android community and this has probably already been solved but how do I unlock the bootloader and root an AT&T HTC One which is running android 4.4.2 with Sense 5.5. I want to root my phone but am worried of accidentally bricking my phone. Thanks.
From htcdev.com, you need to get the Unlock_code.bin file. While getting this file, you will also get detailed instructions about how to use that file to unlock your bootloader.
Once you have unlocked your bootloader, flash any custom recovery of your choice (twrp or cwm).
Then through that custom recovery you can flash super user.zip.
I had my Moto G rooted for a few days, borked an attempt to flash to a new rom (Carbon), had to re-flash back to stock. From this point I am no longer able to root my phone. I have tried to flash SuperSU.zip to no avail (worked originally). What happens is after an apparently successful flash of SuperSU and reboot, I get stuck in the unlocked bootloader screen. I've tried SuperSU 2.46, 2.62, 2.79 and all lead to getting stuck in the unlocked bootloader screen. I've had to reflash my stock system each time.
Why would I be able to root once but never again? The first time I did select (in TWRP) to make system files RW instead of read-only, which is what I did originally when it worked. Do I suddenly need to set the system directories as read-only now?
Using h830 device running stock as primary and encountering an error when flashing patched zip for tmobile. It says that my device is h1 and that it can not complete the flashing. It fails in twrp altogether. I tried patching with the h850 variant selected and it fails in tarp but passes in the app. After reboot from application flashing I get stuck in a twrp loop and have to flash the stock image over again to restore my device. Any thoughts?
my device is s-off & UNLOCK Htc m9 sprint marshmallow 3.41.651.4 .. after flashing twrp and super su its continiously restarting...i wiped deviac case & case data,changed twrp nothing is working..i used 3.2.2.0 and few older twrp too... can anyone help me in this situation
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
robburne said:
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
Click to expand...
Click to collapse
The best way to root the lg g5 is to use lg up to restore it back to stock 7.0 20a. Then use adb and fastboot to flash twrp. Then magisk for root (optional). The best roms are currently lineage 16.0 and 17.0.
Thanks - but before I flash any images (stock or custom) I want to do a nandroid backup. I am not sure how to install TWRP without root access, and root access requires flashing!
You have to first find which model you have (for example h850) and see if its possible to unlock the bootloader.
This is necessary if you want to install custom roms/recovery.
On the h850 you can find a tutorial on xda called Official LG G5 H850 Bootloader Unlock.
After you unlock the bootloader you need to flash twrp recovery, after that you need to boot into the recovery and flash magisk for root.
Good luck
Thanks, I do have a European model H850. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet because it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
robburne said:
Thanks, I do have a European model H350. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet becasue it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
Click to expand...
Click to collapse
You would have to use a third party back up app either on your phone or PC.
I did try the Titanium app but it required root access I wasn't aware of any PC tools but will take a look now, thanks.
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
Did you root with magisk? Try flashing either a rom or boot into download mode and restore your phone.
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
robburne said:
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
Click to expand...
Click to collapse
So you first must find a rom for your variant of the g5 since it's a European version it's most likely an h850 then, boot into twrp wipe system, art chache, chache, data. Installing magisk is the same as super su
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
robburne said:
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
Click to expand...
Click to collapse
Whatever you prefer should work the best way to get back to stock is threw download mode
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
robburne said:
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
Click to expand...
Click to collapse
I don't know if you can restore an xml file.