[Q] Issues with unrooting - AT&T, Rogers HTC One X, Telstra One XL

Hi Guys,
I have my HTC with unlocked bootloader and rooted. I unrooted the stock rom by using the facility in supersu. This successfully unrooted it. also i flashed recovery.img. Now the issue is, my phone isnt being detected with adb and hence i can no longer root it. Also it bootloops in recovery which i cannot go into to install the backed-up rooted stock rom.
Any idea how to go about this?

If you want to return to stock unrooted just lock the bootloader via fastboot and install the ruu for your device.
boot into bootloader, run "fastboot oem lock", then run the ruu afterwards

WhatTheAndroid? said:
If you want to return to stock unrooted just lock the bootloader via fastboot and install the ruu for your device.
boot into bootloader, run "fastboot oem lock", then run the ruu afterwards
Click to expand...
Click to collapse
+1. The RUU program is a .exe file (windows only, I believe) that is specific for your device and should be easy to find. Make sure your drivers are fully up to date before running it. Running it and following the steps after re-locking the bootloader with the above step should return your phone to 100% stock, unrooted, bootloader locked.

Related

Help i cant get recovery

I just used the super cid tool to spoof my phone and i used htc dev and everything worked fine until i tried to flash the 1.85 and it didnt work so then i relocked the bootloader by going into adb and typing adb fastboot oem lock and then the ruu update works now i booted and used htc dev again and in bootloader it says unlocked with s-on but i try to flash recovery and now when i do boot into rcovery it just goes blank and restarts
if i understand your steps, you flashed the RUU and unlocked your bootloader. if yes, flashing the RUU also installs stock recovery. now you need to download CWM recovery for the ATT One XL, restart in bootloader mode and then flash CWM (clock work) recovery.
it also says tampered in bootloader
ymcmbforever said:
it also says tampered in bootloader
Click to expand...
Click to collapse
yep, it does. it's an HTC "feature" when you root the phone and/or unlock the bootloader, lol. welcome to the club
Lol i got it working now i own this phone and my att gs2 just like you red5
Sent from my Htc one x using XDA
ymcmbforever said:
I just used the super cid tool to spoof my phone and i used htc dev and everything worked fine until i tried to flash the 1.85 and it didnt work so then i relocked the bootloader by going into adb and typing adb fastboot oem lock and then the ruu update works now i booted and used htc dev again and in bootloader it says unlocked with s-on but i try to flash recovery and now when i do boot into rcovery it just goes blank and restarts
Click to expand...
Click to collapse
Watch this video I made to Flash Recovery successfully and root it and unlocking bootloader. I also flashed a custom ROM to test it out and it works. http://www.youtube.com/watch?v=lX-ptz41p7g

[Q] trouble returning back to stock

Hi,
I recently unlocked my bootloader and installed a custom recovery TWRP.
I am now looking to return my device to 100% stock, but I am currently experiencing a couple of issues flashing the factory image
I get the following message: "Device not unlocked cannot flash or erase"
I have also tried flash oem unlock and it just reboots the boot and returns to custom recovery
Any Idea's guys?
It would appear that your bootloader somehow got locked again. I'm on mobile right now but go into the Android development forum and find the mod tampering bit and flash that in your custom recovery and then proceed to unlock the bootloader. After that, proceed with your fastboot back to stock commands.
Sent from my One using Tapatalk

OnePlus 3 relocking bootloader

I was installed with Twrp and had rooted my oneplus 3.
I unticked root access in supersu.
Booted to bootloader and typed on my pc in command prompt ,"Fastboot oem lock"
This gave a confirmation on my device,I confirmed locking.
And after that my device did not booted up.I managed to get in bootloader again as I was not even able to open the recovery and unlocked the bootloader once again by this my device booted up.
I flashed stock recovery and repeated the relocking process,this time I was able to open recovery also but no able to boot up.
I again unlocked the bootloader and installed twrp back turned my device up.
Then I unchecked oem unlocking under developer options.
Relocked the bootloader once again.
And now I am stuck at bootloader,not able to unlock it even this time as I turned off oem unlocking.
Now I can only open bootloader.
Please help!
hchawla98 said:
I was installed with Twrp and had rooted my oneplus 3.
I unticked root access in supersu.
Booted to bootloader and typed on my pc in command prompt ,"Fastboot oem lock"
This gave a confirmation on my device,I confirmed locking.
And after that my device did not booted up.I managed to get in bootloader again as I was not even able to open the recovery and unlocked the bootloader once again by this my device booted up.
I flashed stock recovery and repeated the relocking process,this time I was able to open recovery also but no able to boot up.
I again unlocked the bootloader and installed twrp back turned my device up.
Then I unchecked oem unlocking under developer options.
Relocked the bootloader once again.
And now I am stuck at bootloader,not able to unlock it even this time as I turned off oem unlocking.
Now I can only open bootloader.
Please help!
Click to expand...
Click to collapse
OEM locking a bootloader on a phone that was rooted is a big mistake.
You'll need to flash stock recovery, then flash the stock ROM via adb sideload.
Can be done with this tool http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
Thanks for reply
Newyork! said:
OEM locking a bootloader on a phone that was rooted is a big mistake.
You'll need to flash stock recovery, then flash the stock ROM via adb sideload.
Can be done with this tool http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
Click to expand...
Click to collapse
with that tool I was only able to wipe cache.
Nothing else is working
It says failed
hchawla98 said:
with that tool I was only able to wipe cache.
Nothing else is working
It says failed
Click to expand...
Click to collapse
Can you access stock recovery?
NO
Newyork! said:
Can you access stock recovery?
Click to expand...
Click to collapse
I can't access it as I am installed with TWRP Recovery as it is also not starting.

Bootloader locked, Can't acess Recovery, No OS installed.

Hey guys, i have a problem, my Bootloader is locked and i can't access my recovery, and there is no rom installed, what should i do now? i can't access Developer options to Allow OEM unlock because there is no OS.
am i screwed? or there is something i can do?
Iago Duarte said:
Hey guys, i have a problem, my Bootloader is locked and i can't access my recovery, and there is no rom installed, what should i do now? i can't access Developer options to Allow OEM unlock because there is no OS.
am i screwed? or there is something i can do?
Click to expand...
Click to collapse
Did you ever enable developer options and allow USB debugging? If so, and you can connect to ADB on a PC, you can flash stock firmware back onto the phone.
or try this:
As I didn't have USB debugging enabled I couldn't connect to the phone via ADB, but if you put it into recovery mode you can use Fastboot. Hold down the power key to turn the device off and turn it on while holding down Vol Down to load up recovery mode.
Click to expand...
Click to collapse
However, with locked bootloader there is no room for error in flashing firmware via ADB or you will brick the phone. You have to flash the correct firmware exactly for your phone, with the same level of bootloader you already have or newer. You can't flash Mexico over Brazil or Lollipop over Marshmallow. Has to be exactly what was made for your phone, either what you already had or newer (if it exists).
What OS was installed before?
But WHY is there no ROM installed? What did you do?
The OS installed before was the most recent Stock MM Brazil, i installed the stock rom, it worked, then i wanted to go back to stock recovery, it it worked too, then i wanted to locked my bootloader, i locked, after that i couldn't enter recovery, neither boot to OS.
Iago Duarte said:
The OS installed before was the most recent Stock MM Brazil, i installed the stock rom, it worked, then i wanted to go back to stock recovery, it it worked too, then i wanted to locked my bootloader, i locked, after that i couldn't enter recovery, neither boot to OS.
Click to expand...
Click to collapse
You wanted to re-lock your bootloader? Unlocked bootloader = God mode.
Did you ever have TWRP? You said you wanted to go back to "stock recovery" (not sure why, it's mostly useless compared to TWRP custom recovery.)
I'm not sure why re-locking the bootloader would wipe the OS...
But you can boot to the bootloader screen using the volume and power button and re-flash the stock firmware, using ADB. Here's the link to the newest Brazil Marshmallow for XT1225:
http://ftpeil.eil.com.br/vip/motoro...S24.107-70.2-7_cid12_subsidy-DEFAULT_CFC.xml/
This guy below got out of a jam because he had an unlocked bootloader, which is very forgiving. Locked bootloader is harder.
https://forum.xda-developers.com/moto-maxx/help/maxx-xt1225-br-hard-brick-help-please-t3661803
Yeah, i don't know what happened either, why the **** did my OS got Wiped?
Can i flash the stock rom with the bootloader locked via ADB? how?
Iago Duarte said:
Yeah, i don't know what happened either, why the **** did my OS got Wiped?
Can i flash the stock rom with the bootloader locked via ADB? how?
Click to expand...
Click to collapse
You have to boot to the bootloader screen manually, using the volume + power button trick.
Once on the bootloader screen, when you plug you phone into a PC with ADB installed, it should recognize it.
Then, flash the full stock firmware, from the link above. It's Brazil Marshmallow firmware with December 2016 Security Update. I don't know of any newer right now. You have Brazil XT1225, so that Brazil firmware is compatible with your phone.
But with locked bootloader you have to flash exact same version or newer made for your phone, and you have to enter the commands correctly or you may brick your phone. (When I flashed from Puerto Rico Kitkat to India Lollipop, I messed up. But since my bootloader was unlocked, I just reflashed again, when I realized my mistake.)
If you are not sure of the steps, google Motorola firmware ADB. Here's a couple of excellent tutorials:
How to Manually Official Firmware on any Motorola Device
https://forum.xda-developers.com/dr...force-how-to-manually-flash-official-t3282077
I use this one above. IGNORE where it says you need an unlocked bootloader, because he's talking about cross-region flashing which you are NOT doing. You are flashing your own region firmware.
This one below is by rootjunky and he while he also discusses RSDLite, later in the article he says ADB/fastboot are best as RSDLite can stall.
Motorola Firmware Restore Plus Unbrick
http://www.rootjunky.com/motorola-firmware-restore/
If you get your phone running again, I suggest you unlock the bootloader. There are ways to hide an unlocked bootloader (like Magisk), if that's why you locked it back... But an unlocked bootloader + root makes it YOUR phone and much easier to recover from disasters.
Thanks a lot Chazz, it worked, thanks for the help, really appreciate it, thanks for all the useful tips too.

locking Bootloader again?

I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Toni Moon said:
I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Click to expand...
Click to collapse
Locking you bootloader while TWRP and Magisk are installed will give you a guaranteed brick. Use a Fastboot Rom to return to stock, then you can lock it
If you want to keep TWRP and root, do not lock the bootloader. As the user mentioned above, you'll brick your device.
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
majidshahab091 said:
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
Click to expand...
Click to collapse
If you flash a full stock rom then yes. All you do is use the fastboot rom we talked about earlier, let the phone boot up (don't bother completing the setup process, just let the phone boot up), restart to bootloader, and use the following command from the command prompt on your pc:
Fastboot oem lock
It will give you a menu on your pone asking if you want to lock the bootloader. Tell it yes. It will then lock the bootloader, factory reset the phone, and then boot up normally with the bootloader locked. It's that easy.
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
I did it through twrp, worked just fine. Make sure to wipe beforehand though, don't want to risk bricking your phone
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
Doing it with a Fastboot Rom will guarantee that things needing wiped will get wiped. When returning to full stock I will always recommend the Fastboot Rom just because of how it completely handles everything it does flawlessly. I imagine flashing a full rom in TWRP will work but I have never tried to return to stock this way
i did try stock using twrp and it was perfect
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
Use msm download tool to be sure. It will however wipe all.
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
You can, but if you are selling the phone I would still use a fastboot rom just to be sure everything is wiped and no data sensitive to you is being sold along with the phone.
Thanks a lot for the shared info here. This is just what I need and had been asking myself for quite some time now.??
So never lock bootloader with twrp and magisk installed.

Categories

Resources