I am returning my HTC One, and am trying to put it as close to stock as I can. I have followed other peoples advice, flashing a stock rom and recovery, then relocking the bootloader through fastboot, but once I do that, it wont boot into the rom anymore. It will only boot into HBOOT. Once I unlock the bootloader again, it will boot right into the rom again. What am I doing wrong?
JIM2004 said:
I am returning my HTC One, and am trying to put it as close to stock as I can. I have followed other peoples advice, flashing a stock rom and recovery, then relocking the bootloader through fastboot, but once I do that, it wont boot into the rom anymore. It will only boot into HBOOT. Once I unlock the bootloader again, it will boot right into the rom again. What am I doing wrong?
Click to expand...
Click to collapse
Looks like after relocking you need the Stock ATT RUU to flash it before you can boot the phone which is currently not available . So at this point you wont be able to relock the bootloader , i learnt about it just yesterday when i was trying to exchange my phone.
JIM2004 said:
I am returning my HTC One, and am trying to put it as close to stock as I can. I have followed other peoples advice, flashing a stock rom and recovery, then relocking the bootloader through fastboot, but once I do that, it wont boot into the rom anymore. It will only boot into HBOOT. Once I unlock the bootloader again, it will boot right into the rom again. What am I doing wrong?
Click to expand...
Click to collapse
rom needs to be completely stock and a rooted ROM is not.
gunnyman said:
rom needs to be completely stock and a rooted ROM is not.
Click to expand...
Click to collapse
Hi Gunnyman
although i exchanged my device , just wanted to understand
i got the rooted ODEX rom , unroot it and flash stock recovery and then relocked bootloader but the phone dint get out of the bootloader . you are saying that i should be able to boot into the ROM after relocking without the Stock RUU ?
anilkuj said:
Hi Gunnyman
although i exchanged my device , just wanted to understand
i got the rooted ODEX rom , unroot it and flash stock recovery and then relocked bootloader but the phone dint get out of the bootloader . you are saying that i should be able to boot into the ROM after relocking without the Stock RUU ?
Click to expand...
Click to collapse
yes.
I'm working on getting a stock unrooted nandroid to help folks out
gunnyman said:
yes.
I'm working on getting a stock unrooted nandroid to help folks out
Click to expand...
Click to collapse
thanks for your work
Related
I bricked my DX when i installed Sense.Revolution.R5 and then i installed all ****s that can install and my phone was laggy and buggy.But that isn't the problem.I try it to back on stock rom and my phone is dead now.I have RUU_PROTO_U_ICS_40A_HTC_Europe_1.18.401.1_Radio_10.21.40.06U_1.10.40.23_release_295191_signed and i read that i need to remove root accses and lock boothloader...But when i lock it my phone can't turn on anymore...And to back on stock Need to be on...What to do now ?!?!!??!
mefistoreyon said:
I bricked my DX when i installed Sense.Revolution.R5 and then i installed all ****s that can install and my phone was laggy and buggy.But that isn't the problem.I try it to back on stock rom and my phone is dead now.I have RUU_PROTO_U_ICS_40A_HTC_Europe_1.18.401.1_Radio_10.21.40.06U_1.10.40.23_release_295191_signed and i read that i need to remove root accses and lock boothloader...But when i lock it my phone can't turn on anymore...And to back on stock Need to be on...What to do now ?!?!!??!
Click to expand...
Click to collapse
Did you reinstall Stock Recovery before you locked the Bootloader?
No...The first time i install it and the relocked boothloader and then was tottaly dead cuz cant boot and i cant use recovery to flash anything...And i forgot but im afraid cuz if i cant turn on phone and use recovery...So i need to flash stock recovery and relock bootloader and all will be ok ?!
mefistoreyon said:
No...The first time i install it and the relocked boothloader and then was tottaly dead cuz cant boot and i cant use recovery to flash anything...And i forgot but im afraid cuz if i cant turn on phone and use recovery...So i need to flash stock recovery and relock bootloader and all will be ok ?!
Click to expand...
Click to collapse
You need to have an unlocked bootloader in order to flash the recovery. Can you boot into your bootloader screen? If so, you should be able to unlock your bootloader again and then you can flash the stock recovery, relock the bootloader and then run the RUU.
God...Thanks man! You save my DX x10 Youre right...I do what you told me...I was following steps that says phone must be on...Now everything is ok Thank you
One more question...Now everything is stock right ?!?! I can recive and install updates ?
mefistoreyon said:
God...Thanks man! You save my DX x10 Youre right...I do what you told me...I was following steps that says phone must be on...Now everything is ok Thank you
One more question...Now everything is stock right ?!?! I can recive and install updates ?
Click to expand...
Click to collapse
Glad to hear it! :highfive: If you followed those steps you should be back to stock and will be able to receive updates, etc.
I unlocked my phone, rooted and installed custom Rom e.g. elegancia's ROM. Now I want to relock, when I use fastboot oem lock to relock it after flashing stock recovery or leaving custom recovery. In both cases my phone does not go beyond boot loader, if i reboot it remains on boot loader does go and boot ahead, till I unlock it again using Unlock_code.bin from HTC dev. And unlocking wipes off all the settings and applications as expected.
So how can I relock the phone but it boots normally.
I previously had HTC Legend, I rooted and installed cyanogenmod and then relocked as well but it works fine. What I am doing wrong with my Desire X?
muhammad.bilal said:
I unlocked my phone, rooted and installed custom Rom e.g. elegancia's ROM. Now I want to relock, when I use fastboot oem lock to relock it after flashing stock recovery or leaving custom recovery. In both cases my phone does not go beyond boot loader, if i reboot it remains on boot loader does go and boot ahead, till I unlock it again using Unlock_code.bin from HTC dev. And unlocking wipes off all the settings and applications as expected.
So how can I relock the phone but it boots normally.
I previously had HTC Legend, I rooted and installed cyanogenmod and then relocked as well but it works fine. What I am doing wrong with my Desire X?
Click to expand...
Click to collapse
The security system might have changed since the legend. Why do u need to relock the bootloader??? Just asking.
BTW, u from pakistan?
Regards
Yasir
neXus PRIME said:
The security system might have changed since the legend. Why do u need to relock the bootloader??? Just asking.
BTW, u from pakistan?
Regards
Yasir
Click to expand...
Click to collapse
Yes, from Lahore
The other day, I set about installing Cyanogenmod 11 on my Xperia Z2 D5603. I was already rooted on the stock rom 4.4.4 Kitkat 23.0.1.A.0.167. I used flashtool to downgrade to 4.4.2 17.1.2.A.0.314, rerooted it, and installed dualrecovery from this link: http://forum.xda-developers.com/showthread.php?t=2785598
But upon choosing reboot after flashing the custom ROM via TWRP, the phone went dark, and wouldn't turn on. The only response I got was a quick vibration every second or two if I hold down the power button. I could not access recovery either.
I was able to revive it by using flashtool to reflash 4.4.2 17.1.2.A.0.314. I tried the same procedure with AOKP ROM, which had the same result. After trying many different things, I realized that factory reset, or wiping 'system' under advanced wipe would cause this to happen. Flashing without factory reset either returns an error, or finishes, but doesn't actually flash the ROM (stock ROM boots)
How to I flash a ROM without this happening? Any help is appreciated.
Have you unlocked your bootloader? It doesn't sound like it.
These roms require another kernel and you need to unlock your bootloader to install it.
o0 Matt 0o said:
Have you unlocked your bootloader? It doesn't sound like it.
These roms require another kernel and you need to unlock your bootloader to install it.
Click to expand...
Click to collapse
I thought that the fact that it was successfully rooted meant that the bootloader was unlocked. Is this not the case?
How do I unlock the bootloader and install whatever kernel I need?
ljapplebaum said:
I thought that the fact that it was successfully rooted meant that the bootloader was unlocked. Is this not the case?
How do I unlock the bootloader and install whatever kernel I need?
Click to expand...
Click to collapse
Hmm no.
Root ! = unlocked bootloader.
Go to the sony website ( http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader) to get instructions to unlock your bootloader.
But with your first assumption in mind, I suggest you read up about it first. Understand the risks and limitations.
o0 Matt 0o said:
Hmm no.
Root ! = unlocked bootloader.
Go to the sony website to get instructions to unlock your bootloader.
But with your first assumption in mind, I suggest you read up about it first. Understand the risks and limitations.
Click to expand...
Click to collapse
Perfect! I unlocked the bootloader by using the instructions on sony's website. It did the trick, and CM11 is running successfully.
Thanks so much!
Please bear with me since I'm not too experienced on this and did research on XDA to the best I could before asking. I'm planning on returning my device to stock, but I'm worried I might brick it. I'm currently running the Skydragon 9.0 rom (http://forum.xda-developers.com/att-htc-one-m8/development/rom-sd-4-0-sense7-port-sdkernel-t3062367) and toggled on quite a lot of things. Mainly, I remember allowing it to overwrite my current kernel.
My device has S-ON from what I saw on HBOOT, is using the Skydragon custom kernel, and I'm using TWRP custom recovery. I still have the RUU I downloaded from AT&T to return my device to stock 5.0.2 firmware. My question is, shall I just run the RUU and it will all be back to stock? Should I flash the stock recovery first? Should I relock the bootloader first? and if any of those are true, in what order?
The guide which seemed the most similar to me was this one http://forum.xda-developers.com/showthread.php?t=2751011 but that required S-OFF which I don't have and don't think it's a good thing to have. Could anyone point me in the right direciton? thanks!
First of all, what is your intent in returning to stock: to sell or give away the phone? Or return for warranty service?
sarxion said:
Please bear with me since I'm not too experienced on this and did research on XDA to the best I could before asking. I'm planning on returning my device to stock, but I'm worried I might brick it.
Click to expand...
Click to collapse
You won't brick the phone with s-on. You just won't.
You might screw something up, and temporarily render the phone unable to boot. But that can easily be fixed with the right knowledge; and that is not a brick.
sarxion said:
I'm currently running the Skydragon 9.0 rom (http://forum.xda-developers.com/att-htc-one-m8/development/rom-sd-4-0-sense7-port-sdkernel-t3062367) and toggled on quite a lot of things. Mainly, I remember allowing it to overwrite my current kernel.
Click to expand...
Click to collapse
On this device, flashing a custom ROM always overwrites the kernel. What you selected when you flashed the ROM, is to flash the custom SD kernel instead of flashing the "stock" HTC kernel that came with the ROM base (that Skydragon 9 is based on).
None of that matters, once you return to stock, the custom ROM (including kernel) and any other settings, tweaks, etc. will be returned to their "stock" condition.
sarxion said:
My question is, shall I just run the RUU and it will all be back to stock?
Click to expand...
Click to collapse
Will "all" be back to stock? No. The bootloader will still say RELOCKED instead of the original LOCKED condition. You need s-off to make it say LOCKED.
Also bear in mind that HTC has a record of you unlocking the bootloader, if you did it via HTCDev.com (which is most likely the case). Nothing will change that fact, and it should be disclosed to potential buyers if selling/trading the phone (that it was bootloader unlocked and modded, then returned to near-stock condition).
But everything else will be back to stock after RUU: Stock ROM, stock kernel, stock recovery, and the user data will be wiped.
sarxion said:
Should I flash the stock recovery first? Should I relock the bootloader first? and if any of those are true, in what order?
Click to expand...
Click to collapse
No need to flash stock recovery.
You will need to relock the bootloader to RUU.
Backup (move) anything you want to keep (personal photos, etc.) to your computer, etc. before RUU, as RUU will wipe the phone.
sarxion said:
The guide which seemed the most similar to me was this one http://forum.xda-developers.com/showthread.php?t=2751011 but that required S-OFF which I don't have and don't think it's a good thing to have.
Click to expand...
Click to collapse
As I've mentioned, s-off is only needed if you want to return the phone to LOCKED (instead of RELOCKED). I will agree its probably not necessary to spend $25 for s-off just to do that.
Further, the guide is very old (May 2014 - right after the phone was released) and probably before any RUU was available. It follows a much more complicated path to "return to stock" and needlessly so.
Just relock the bootloader and run the RUU, is my recommendation.
redpoint73 said:
First of all, what is your intent in returning to stock: to sell or give away the phone? Or return for warranty service?
You won't brick the phone with s-on. You just won't.
You might screw something up, and temporarily render the phone unable to boot. But that can easily be fixed with the right knowledge; and that is not a brick.
On this device, flashing a custom ROM always overwrites the kernel. What you selected when you flashed the ROM, is to flash the custom SD kernel instead of flashing the "stock" HTC kernel that came with the ROM base (that Skydragon 9 is based on).
None of that matters, once you return to stock, the custom ROM (including kernel) and any other settings, tweaks, etc. will be returned to their "stock" condition.
Will "all" be back to stock? No. The bootloader will still say RELOCKED instead of the original LOCKED condition. You need s-off to make it say LOCKED.
Also bear in mind that HTC has a record of you unlocking the bootloader, if you did it via HTCDev.com (which is most likely the case). Nothing will change that fact, and it should be disclosed to potential buyers if selling/trading the phone (that it was bootloader unlocked and modded, then returned to near-stock condition).
But everything else will be back to stock after RUU: Stock ROM, stock kernel, stock recovery, and the user data will be wiped.
No need to flash stock recovery.
You will need to relock the bootloader to RUU.
Backup (move) anything you want to keep (personal photos, etc.) to your computer, etc. before RUU, as RUU will wipe the phone.
As I've mentioned, s-off is only needed if you want to return the phone to LOCKED (instead of RELOCKED). I will agree its probably not necessary to spend $25 for s-off just to do that.
Further, the guide is very old (May 2014 - right after the phone was released) and probably before any RUU was available. It follows a much more complicated path to "return to stock" and needlessly so.
Just relock the bootloader and run the RUU, is my recommendation.
Click to expand...
Click to collapse
Thank you very much for your quick answer. I'm returning it to stock firmware to sell the device. Is it safe to lock the bootloader while Skydragon is on my device? and after that, just run the AT&T RUU and I'm done, right?
Also, do you by any chance have any resource on how to relock the bootloader? I've searched for guides on this but I the guides I find don't look very trustworthy, or don't apply, such as this one that requires S-OFF http://forum.xda-developers.com/showthread.php?t=2708571
sarxion said:
Thank you very much for your quick answer. I'm returning it to stock firmware to sell the device. Is it safe to lock the bootloader while Skydragon is on my device? and after that, just run the AT&T RUU and I'm done, right?
Click to expand...
Click to collapse
Correct. It doesn't matter what ROM is on the device when you relock the bootloader. The phone will be rendered unable to boot (may even wipe OS) when you relock.
sarxion said:
Also, do you by any chance have any resource on how to relock the bootloader? I've searched for guides on this but I the guides I find don't look very trustworthy
Click to expand...
Click to collapse
I don't know what you mean by "trustworthy". But you won't fine a "guide" because its a single fastboot command: fastboot oem lock
redpoint73 said:
Correct. It doesn't matter what ROM is on the device when you relock the bootloader. The phone will be rendered unable to boot (may even wipe OS) when you relock.
I don't know what you mean by "trustworthy". But you won't fine a "guide" because its a single fastboot command: fastboot oem lock
Click to expand...
Click to collapse
Thank you very much. So I can run the RUU with my M8 on bootloader mode? Because after relocking the bootloader, I'm asuming it probably won't even boot since it's running a custom ROM and kernel. (I'll be running the exact same RUU version I ran before installing the custom rom)
sarxion said:
So I can run the RUU with my M8 on bootloader mode?
Click to expand...
Click to collapse
The RUU will run with the phone in bootloader-fastboot mode, yes.
sarxion said:
Because after relocking the bootloader, I'm asuming it probably won't even boot since it's running a custom ROM and kernel.
Click to expand...
Click to collapse
That is correct. And in fact, as far as I know, the phone is rendered unable to boot into OS after relocking the bootloader, even if you were on the stock ROM.
OP,
Were you able to go back to stock?
Hello,
situation ist this:
Cyanogen Recovery is installed and there is no rom on the phone. But it won't install a new one through apply update. So I tried installing twrp through fast boot. But it failed with:
FAILED (remote: Device not unlocked cannot flash or erase)
So i tried to unlock it which gave me:
FAILED (remote: oem unlock is disabled)
oem devices gave me tampered = false and unlocked = false
What can I do.
Would appreciate help
Morishno
Flash stock recovery and try unlock again.
Dumb Question but how exactly do I do that?
Just flash it via fast boot? And where do i get it?
Morishno said:
Dumb Question but how exactly do I do that?
Just flash it via fast boot? And where do i get it?
Click to expand...
Click to collapse
You can get it from oneplus downloads section, if you cant find it ask me... Yes you have to flash official stock recovery through fastboot
Exodusche said:
Flash stock recovery and try unlock again.
Click to expand...
Click to collapse
cva_kabil said:
You can get it from oneplus downloads section, if you cant find it ask me... Yes you have to flash official stock recovery through fastboot
Click to expand...
Click to collapse
Not really, OP reports that the unlock command gave him FAILED (remote: oem unlock is disabled)
Hey OP, did you enable OEM Unlocking from Developer options ?
Joshwin Aranha said:
Not really, OP reports that the unlock command gave him FAILED (remote: oem unlock is disabled)
Hey OP, did you enable OEM Unlocking from Developer options ?
Click to expand...
Click to collapse
If not is there any other way?
cva_kabil said:
If not is there any other way?
Click to expand...
Click to collapse
I'm sorry but i do not know any other method that works without flipping that switch in Developer Options.
Joshwin Aranha said:
I'm sorry but i do not know any other method that works without flipping that switch in Developer Options.
Click to expand...
Click to collapse
You dont need to be sorry, thats okay i jus asked... Maybe OP didnt enable oem unlocking.
I didnt enable oem unlocking because it wasnt necessary. The device was unlocked and twrp and cyanogenmod were installed. But somehow cyanogen recovery was installed. Super user was away and I tried to reinstall it. Not knowing the recovery had changed I chose twrp/cwm to install it what resulted in a boot loop. No problem I thought just flash a ROM which didn't worked. No problem just flash a proper recovery it didn't worked. And somehow the device is locked again..
Sorry I was little brief when I said flash stock recovery. I believe if you revert back completely stock you can start the process from the beginning again. That would mean fastboot flash stock recovery then any firmware of OnePlus X. I'm not sure how a bootloader can relock itself.
Exodusche said:
Sorry I was little brief when I said flash stock recovery. I believe if you revert back completely stock you can start the process from the beginning again. That would mean fastboot flash stock recovery then any firmware of OnePlus X. I'm not sure how a bootloader can relock itself.
Click to expand...
Click to collapse
But I couldn't flash twrp.. Is it possible to flash the stock recovery with a locked boot loader? I don't have access to the phone at the moment and i want to gather as much information possible thats why i'm asking
Morishno said:
But I couldn't flash twrp.. Is it possible to flash the stock recovery with a locked boot loader? I don't have access to the phone at the moment and i want to gather as much information possible thats why i'm asking
Click to expand...
Click to collapse
I'm not sure but this has been addressed many times. Comb the threads you will find the information you need.
Exodusche said:
I'm not sure but this has been addressed many times. Comb the threads you will find the information you need.
Click to expand...
Click to collapse
Found a hard brick guide. You mean that?
So I just remembered something was able to help someone else with a similar issue. If you can boot Into something and your rooted download the app Rashr. With it you can flash stock recovery and be back in business.
The problem is i dont have anything to Boot
//UPDATE: So I tried booting with fastboot boot but it said cannot boot device isn't unlocked.
Edited
So i managed to save the Phone using the Hard Brick Guide. Thanks everyone!
Thank goodness for the hard brick guide. ?
Exodusche said:
I think your gonna have to go through the hard bricked guide.
Click to expand...
Click to collapse
Yeah i did that and it worked thank you