[Q] Best way to preserve Sense for easy switching between GPE and Sense - One (M8) Q&A, Help & Troubleshooting

Hi All,
I just pulled the trigger on a M8 this morning and have been reading up how to root, s-off etc.
I intend, pretty much right off the bat, to flip over to the GPE. My reasoning for this is that its what i've ended up running on whatever phone i've had ever since i got my HTC desire way back.
But - just in case - i'd like to take a nandroid of the sense ROM and store in on my PC should i ever wish to go back - because - tinkering
My intention is to first root and install TWRP on the phone then backup before moving the backup to my PC.
At this point i'll S-OFF, full wipe, then convert to the GPE edition.
Now here is where things get a little muddy for me. My understanding according to the reversion thread here is that I can then flip between GPE and Sense via backup should i wish.
To quote that thread - "This does not apply if you have installed a GPE ROM. You can flash as normal through recovery. (using instructions of new rom)"
First off - is that correct? If so when do the partitions get resized to the point that you need to follow the instructions in that thread?
Is it when installing a non GPE AOSP ROM like Cyanogenmod etc - that doesn't feel correct to me?
I guess what im asking is - during what process do the partitions get resized to the point that I'd need to follow the instructions in the reversion thread linked above?

Hello Raja,
I would use SunShine to S-Off. Even if it cost 25$, it will unlock the bootloader during the process aswell. This way HTC won't know that you ever unlocked if it should come to warranty issues. On the other Hand the preload folder will be wiped by the HTCDev unlock process and thus you won't have the stock calculator as well as the stock flashlight installed, after doing the unlock with HTCDev.
After this you could
first: rund the "fastboot getvar all" command
second: download stock firmware for the show version-main in the output given by the above mentioned command
third: install the knewest TWRP 2.8.0.1 and perform a backup of the Sense ROM.
fourth: follow the RUU GPE conversion thread to perform a full GPE conversion (including Firmware!!)
fifth: follow this thread to get back to Sense

HTCNerdYoda said:
Hello Raja,
I would use SunShine to S-Off. Even if it cost 25$, it will unlock the bootloader during the process aswell. This way HTC won't know that you ever unlocked if it should come to warranty issues. On the other Hand the preload folder will be wiped by the HTCDev unlock process and thus you won't have the stock calculator as well as the stock flashlight installed, after doing the unlock with HTCDev.
After this you could
first: rund the "fastboot getvar all" command
second: download stock firmware for the show version-main in the output given by the above mentioned command
third: install the knewest TWRP 2.8.0.1 and perform a backup of the Sense ROM.
fourth: follow the RUU GPE conversion thread to perform a full GPE conversion (including Firmware!!)
fifth: follow this thread to get back to Sense
Click to expand...
Click to collapse
On point 3, does TWRP make backup of stock recovery now? I haven't used TWRP for a while now, it won't boot for me and I'm not going to flash it just to check that...
If it doesn't make a backup of stock recovery it would probably be better for him to rather BOOT Philz and make backup of device including stock recovery BEFORE he flashes a custom recovery. That is of course assuming that he has a version which isn't available in the collection thread.

HTCNerdYoda said:
Hello Raja,
I would use SunShine to S-Off. Even if it cost 25$, it will unlock the bootloader during the process aswell. This way HTC won't know that you ever unlocked if it should come to warranty issues. On the other Hand the preload folder will be wiped by the HTCDev unlock process and thus you won't have the stock calculator as well as the stock flashlight installed, after doing the unlock with HTCDev.
After this you could
first: rund the "fastboot getvar all" command
second: download stock firmware for the show version-main in the output given by the above mentioned command
third: install the knewest TWRP 2.8.0.1 and perform a backup of the Sense ROM.
fourth: follow the RUU GPE conversion thread to perform a full GPE conversion (including Firmware!!)
fifth: follow this thread to get back to Sense
Click to expand...
Click to collapse
Hi,
Im not bothered about HTC warranty as the phone i'm buying is a refurbished one from eBay so the warranty is long gone other than the one given by the seller (who has around 1.7M feedbacks (yes that's million)).
Regarding your method above - whilst helpful, it doesn't answer the question i posed in my post which actually links to the thread given above - when does the partition sizes change so that i have to follow that thread to return to sense? As that thread seems to suggest that I DON'T need to do it if i convert to GPE, see the quote posted above.
Also, why do i need to download the firmware for the version shown in the version-main output if i backup in step 3? Just so i have a copy?
Thanks for your help though. :good:

BerndM14 said:
On point 3, does TWRP make backup of stock recovery now? I haven't used TWRP for a while now, it won't boot for me and I'm not going to flash it just to check that...
Click to expand...
Click to collapse
The newest version doesn't make a backup of stock recovery. Thus I wrote him to download the full firmware for his devise, as the stock recovery is integrated in that
TheBlueRaja said:
Regarding your method above - whilst helpful, it doesn't answer the question i posed in my post which actually links to the thread given above - when does the partition sizes change so that i have to follow that thread to return to sense? As that thread seems to suggest that I DON'T need to do it if i convert to GPE, see the quote posted above.
Also, why do i need to download the firmware for the version shown in the version-main output if i backup in step 3? Just so i have a copy?
Click to expand...
Click to collapse
The partition sizes are changed during the ruu installation,in my first link thus you would have to change time back to go back to Sense. This is explained in my second link, as no Sense based ROMs can be installed after the ruu process.
The backup done by TWRP is just the ROM (OS) backup. But the firmware, such as hboot, recovery, radio and so on are not included, which is why you should run this command first and download the stock HTC firmware first. Following this way, you got a full backup of all needed files to revert back to Sense.
Mit Tapatalk von meinem One M8.

Great - thanks for the info.

Related

[Q] Troubles at UnRooting M8

Hello there!
I know there are many threads and questions about unrooting, but I haven't found anything useful to me (or I just don't understand them) and also I'm new to the whole root/unroot thing.
Here is the story. I rooted my device via TWRP Recovery. Then I tried to get S-OFF using Firewater. When I wasted like a few days trying to get this done I discovered that my device is "Patched by HTC" so I cannot use Firewater anymore to get this S-OFF.
The whole thing was to convert my M8 into a GPE version. Now I'm trying to revert my phone back to stock ver. because I have no need in root.
So is it possible to unroot my phone?
My CID is HTC_622
Software number is 1.60.708.2
Thanks in advance!
Funky_Noises said:
Hello there!
I know there are many threads and questions about unrooting, but I haven't found anything useful to me (or I just don't understand them) and also I'm new to the whole root/unroot thing.
Here is the story. I rooted my device via TWRP Recovery. Then I tried to get S-OFF using Firewater. When I wasted like a few days trying to get this done I discovered that my device is "Patched by HTC" so I cannot use Firewater anymore to get this S-OFF.
The whole thing was to convert my M8 into a GPE version. Now I'm trying to revert my phone back to stock ver. because I have no need in root.
So is it possible to unroot my phone?
My CID is HTC_622
Software number is 1.60.708.2
Thanks in advance!
Click to expand...
Click to collapse
just flash stock then flash stock recovery and your done
but bootloader will still say tampered
jaythenut said:
just flash stock then flash stock recovery and your done
but bootloader will still say tampered
Click to expand...
Click to collapse
Thanks for the reply.
I wish there was more detail in your post: like what software should I use to flash stock?
Should I download some rom for that?
As I said, I'm really new to the whole thing.
1. Flash your backup in TWRP
2. Once restored and confirmed working, flash the stock recovery image for your software version in fastboot the same way you flashed TWRP (fastboot flash recovery <nameofrecovery>.img
3419
EddyOS said:
1. Flash your backup in TWRP
2. Once restored and confirmed working, flash the stock recovery image for your software version in fastboot the same way you flashed TWRP (fastboot flash recovery <nameofrecovery>.img
Click to expand...
Click to collapse
I see! Thanks a lot!
Will try that.
Damn, I wish I could do S-OFF and convert my phone into GPE ;|
stock recovery
EddyOS said:
1. Flash your backup in TWRP
2. Once restored and confirmed working, flash the stock recovery image for your software version in fastboot the same way you flashed TWRP (fastboot flash recovery <nameofrecovery>.img
Click to expand...
Click to collapse
Hey I've been googling for hours for this too.I know this is an old post.
I am one of the unfortunate people do get a 1.60 up
Update on CID HTC__622
I have surfed the page with the list of nandroids, however there is no stock recovery that begins with 1.60. From other research it states that the first two numbers are the most important whilst flashing recoveries.
Any information would be really helpful
Thanks

[Q] M8 Dev Conversion

I have read multiple guides and posts after getting my M8 about 12 hours ago. What I don't understand, though, is about the RUU's that are on the download page at http://www.htcdev.com/devcenter/downloads.
The developer version RUU is listed as Brightstar US under "carrier" and WWE under "region". Trying to do some looking online, I found this page about using a RUU to flash a dev edition RUU.
So my question is: could I use that RUU (after changing my CID) to flash 2.22.1540.4 Developer Edition RUU to my AT&T One M8? It almost seems to easy if so.
[EDIT]: I also found this post (#2 - but for the M7) that seems to indicate that after flashing my M8 and changing the CID I could get OTA's and have a Developers Edition without carrier bloat. Thoughts?
Thanks in advance,
toonhead
Don't worry about the RUU, just use the nandroid backup. I did the conversion in under an hour, and it went fine - had full OTA update access too.
This is a Cliff's Notes version of the process:
0) Got all the drivers setup for ADB and Fastboot access. (see almost any thread pertaining to this) Make sure you test both ADB and Fastboot.
1) Copied DE nandroid backup for TWRP onto my SD-card, and had a copy of the DE stock recovery handy on the PC. Note that you have to get the name exactly right or TWRP can't find the backup. I missed this the first time.
2) Used Sunshine to S-off/bootloader unlock.
3) I booted into fastboot mode to change change my CID to the BS_US002 (to match the nandroid backup) and install TWRP
4) Restarted into TWRP to "restore" the nandroid backup for Developer Edition. I probably could have skipped this step by booting, rather than installing, TWRP and doing it in step 6.
5) Restarted into fast-boot to upload the DE stock recovery,
6) From fastboot, booted (not installed) TWRP to root the ROM image, clear caches, etc. You could probably restore the nandroid backup in this step too.
7) Rebooted into the OS for setup and OTA updates.
Since I literally only booted the AT&T OS twice, I went ahead and did a full factory reset from TWRP prior to the conversion.
I'll give it a go this weekend. Thanks for the reply!
toonhead85 said:
I'll give it a go this weekend. Thanks for the reply!
Click to expand...
Click to collapse
also see my guide
exocetdj said:
also see my guide
Click to expand...
Click to collapse
Thanks - I guess my question is what the difference between restoring a dev edition nand in a custom recovery and flashing the 2.22.1540.4 Developer Edition from htcdev in recoveryRUU is??
In the end, I don't think it matters or am I wrong?
Thanks again,
toonhead

Install 4.4.3 on rooted HTC One M8

Hi,
I did a few searches but didn't find a solution.I have a developer M8 rooted and S-off. It's running 4.4.2. How do I go about installing the 4.4.3 OTA HTC apdate? Would I loose root and S-off in the process? Do I need to go back to stock to apply this update or do I need to take the update at all. I'm looking to flash the latest Viper rom and just wanted to check before I do. Sorry if this question was ask before.
When your target is to flash a custom ROM based on 4.4.3; you don't really need all those going back to stock and apply OTA stuff
What you need is flash the 4.4.3 firmware of device version then install ROM ... that's all
bammyman said:
Hi,
I did a few searches but didn't find a solution.I have a developer M8 rooted and S-off. It's running 4.4.2. How do I go about installing the 4.4.3 OTA HTC apdate? Would I loose root and S-off in the process? Do I need to go back to stock to apply this update or do I need to take the update at all. I'm looking to flash the latest Viper rom and just wanted to check before I do. Sorry if this question was ask before.
Click to expand...
Click to collapse
ckpv5 said:
When your target is to flash a custom ROM based on 4.4.3; you don't really need all those going back to stock and apply OTA stuff
What you need is flash the 4.4.3 firmware of device version then install ROM ... that's all
Click to expand...
Click to collapse
Sup ckpv5, are you able to point me in the right direction to accomplish this?
bammyman said:
Sup ckpv5, are you able to point me in the right direction to accomplish this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=54408500&postcount=9592
bammyman said:
Sup ckpv5, are you able to point me in the right direction to accomplish this?
Click to expand...
Click to collapse
First make sure you do have the developer M8 as I find many said the same thing but in actual fact they are not.
If yes ... I have the untouched 2.22.1540.4_firmware.zip here : http://sourceforge.net/projects/htconem8/files/2.22.1540.4_firmware.zip/download
then follow either this guide : http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
or this guide : http://forum.xda-developers.com/htc-one-m8/development/firmware-flashing-panic-attacks-t2824048
on how to flash the firmware zip
As the firmware is untouched, it will restore the stock recovery to your device.
So after successfully flashed the firmware, you should flash the custom recovery of your choice again in order to flash the intended custom ROM.
I'm gathering from the OP's location and past devices, that AT&T is the carrier.
If so, I would recommend flashing the 2.23.502.3 posted here: http://forum.xda-developers.com/att-htc-one-m8/development/att-4-4-3-2-22-1540-3-debloated-sense-6-t2837365
This contains the latest AT&T firmware (including newest AT&T radio). Then flash whatever 4.4.3 custom ROM you want.
On the 2.22.1540 firmware, I was getting some random data drops on AT&T. After flashing the 2.23.502 firmware, everything is working perfectly for me.
EDIT: My bad, I somehow completely missed the critical point that the OP has the Dev Edition. ckpv5 is correct for the Dev Edition, 1540 firmware is what you want (the firmware released with the latest Dev Edition OTA).
That's why I said that he need to confirm whether he really has developer edition M8.
If it is At&T .. I will not recommend the Dev Edition firmware (in fact I will not get involve as I don't know much about At&T device)
ckpv5 said:
First make sure you do have the developer M8 as I find many said the same thing but in actual fact they are not.
If yes ... I have the untouched 2.22.1540.4_firmware.zip here : http://sourceforge.net/projects/htconem8/files/2.22.1540.4_firmware.zip/download
then follow either this guide : http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
or this guide : http://forum.xda-developers.com/htc-one-m8/development/firmware-flashing-panic-attacks-t2824048
on how to flash the firmware zip
As the firmware is untouched, it will restore the stock recovery to your device.
So after successfully flashed the firmware, you should flash the custom recovery of your choice again in order to flash the intended custom ROM.
Click to expand...
Click to collapse
Appreciated your help here. I can confirm the phone came with a unlock bootloader and my CID number is BS_US002. Does this mean I got the developer version of the M8?
If so, do I just follow the guide you post above, and do I need to change my CID to the super 11111111?
bammyman said:
Appreciated your help here. I can confirm the phone came with a unlock bootloader and my CID number is BS_US002. Does this mean I got the developer version of the M8?
If so, do I just follow the guide you post above, and do I need to change my CID to the super 11111111?
Click to expand...
Click to collapse
BS_US002 is Dev Ed.
There is no need to change to SuperCID when flashing the firmware meant for your device version; no CID and MID change is needed.
ckpv5 said:
BS_US002 is Dev Ed.
There is no need to change to SuperCID when flashing the firmware meant for your device version; no CID and MID change is needed.
Click to expand...
Click to collapse
This part below, my phone freezes on the HTC logo. Do I repeat the entire step from beginning when it freezes or that specific command it freezes on? See below.
fastboot oem rebootRUU
Note: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots.
Then, repeat the steps above again.
bammyman said:
This part below, my phone freezes on the HTC logo. Do I repeat the entire step from beginning when it freezes or that specific command it freezes on? See below.
fastboot oem rebootRUU
Note: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots.
Then, repeat the steps above again.
Click to expand...
Click to collapse
Major thanks to you sir. I use the second guide you provide above after multiple fail with adb and all seems to be working fine. So if I understand you correctly, as long as I flash the latest firmware which I now have and regain recovery, there is no need to take the OTA from HTC to move from 4.4.2 to 4.4.3? So I can now flash roms base on 4.4.3 like Viper?
Yes...now you can flash 4.4.3 Sense based ROM like viper.
If you ever need the stock ROM, just follow the Stock Backup link in my sig.

[Q] 2.10.401.1 RUU.exe or how to get back to full Stock ROM

Hi Folks,
Well, I'm S-OFF and running ViperROM with 2.10.401.1 firmware (from sneakyghost thread) and TWRP Recovery on an international device with unlocked bootloader and SuperCID.
Now I want to play again with a full fresh and clean stock experience. How to accomplish this?
The easiest way would be to run a 2.10.401.1 RUU exe, but I couldn't find one. I guess it's not available and maybe never will be.
So, after reading threads I would assume the way I have to go is to run an 1.32 RUU exe and then I should get the 2.10 OTA
Is that right or do I have to relock the bootloader to get stock OTAs ? (Cos of S-OFF)
Hope you could help me out on that one and point me in the right direction.
Thx
You have to be 100% stock to get OTAs successfully. Since you're s-off, just running an earlier RUU exe should do it, but you may need to relock.
Under no circumstances should you go back to s-on.
DroidShift79 said:
Hi Folks,
Well, I'm S-OFF and running ViperROM with 2.10.401.1 firmware (from sneakyghost thread) and TWRP Recovery on an international device with unlocked bootloader and SuperCID.
Now I want to play again with a full fresh and clean stock experience. How to accomplish this?
The easiest way would be to run a 2.10.401.1 RUU exe, but I couldn't find one. I guess it's not available and maybe never will be.
So, after reading threads I would assume the way I have to go is to run an 1.32 RUU exe and then I should get the 2.10 OTA
Is that right or do I have to relock the bootloader to get stock OTAs ? (Cos of S-OFF)
Hope you could help me out on that one and point me in the right direction.
Thx
Click to expand...
Click to collapse
Hi
Did you check this thread...
http://forum.xda-developers.com/one-m9/development/firmware-t3068243
MAX 404 said:
Hi
Did you check this thread...
http://forum.xda-developers.com/one-m9/development/firmware-t3068243
Click to expand...
Click to collapse
Yes, did that. But the full ZIP that is there doesn't touch the /system partition, so it's not the clean way I want to go.
THX anyway.
DroidShift79 said:
Yes, did that. But the full ZIP that is there doesn't touch the /system partition, so it's not the clean way I want to go.
THX anyway.
Click to expand...
Click to collapse
Hi
I see....guess the only way for now is as you point out earlier RUU and upgrade from there.
good luck
MAX 404 said:
Hi
I see....guess the only way for now is as you point out earlier RUU and upgrade from there.
good luck
Click to expand...
Click to collapse
Thought of this,
just not sure if I need to relock bootloader to get official otas
DroidShift79 said:
Thought of this,
just not sure if I need to relock bootloader to get official otas
Click to expand...
Click to collapse
If you're S-OFF you don't need to relock to get OTAs. I converted my carrier handset to unbranded and received OTA updates after flashing a RUU without relocking.
Sent from my HTC One M9 using Tapatalk
THX kingvortex. I just do it and report back.
Thanks all of you.
DroidShift79 said:
Thought of this,
just not sure if I need to relock bootloader to get official otas
Click to expand...
Click to collapse
kingvortex said:
If you're S-OFF you don't need to relock to get OTAs. I converted my carrier handset to unbranded and received OTA updates after flashing a RUU without relocking.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
hi mates
I do not think S-OFF , S-ON or locked bootloaders are much of an issue to get OTA, check points 8, 9 and 10 from this thread
EDIT : kingvortex you are right oem locked is necessary with s-on
http://forum.xda-developers.com/one...ery-twrp-touch-recovery-t3066720/post59745198
8. How do I restore stock system so that I can accept an OTA?
Check the "Mount system as read-only" box in the Mount menu.
Restore stock "System Image" backup (This will only work if you've made a System Image backup prior to making any modifications to /system like root it). As of the official 2.8.6.1 version, it is no longer necessary to fastboot flash the stock system image.
NOTE: If you made a stock system backup with one of the Beta TWRP versions, you will have to rename the backup file in the backup folder manually from "system.emmc.win" to "system_image.emmc.win" for the new official TWRP to see it as a "System Image" backup rather than a "System" backup. Otherwise, you'll get an error that the backup can't be restored because system is read-only.
Fastboot flash stock recovery (fastboot flash recovery recovery_signed.img)
NOTE: It is also possible to restore stock recovery via the TWRP GUI. Rename the stock recovery file to "recovery.emmc.win" and place in the backup folder with the stock system image. Recovery will then show as a restore option. MAKE SURE YOU REALLY WANT TO DO THIS, AS TWRP WILL BE GONE WHEN YOU REBOOT OUT OF RECOVERY!!
Reboot to system, install OTA.
9. What if I have an RUU? Do I need to worry about all this OTA nonsense?
Not if you don't care about losing all your data. If you're S-ON and have an RUU available for your exact variant (model ID and CID must match) and software number (main version must be the same or newer), then you can get back to a fully stock state by relocking (fastboot oem lock) and flashing an RUU. However, if you'd prefer to take an OTA to keep your data intact, the method stated above is how to do so. Or, you can just run a custom ROM and wait for your ROM chef to update their ROM to the latest software (though you'll still have to find a way to update your firmware if you're not S-OFF)
10. After I go through all this and successfully apply an OTA, how do I make sure I have a clean starting point again?
After the OTA is applied and TWRP is flashed, it will once again detect an untouched system, which will mount system read-only and allow you to make a fully stock backup and start the process over again, this time with the new base.
Well, what I did so far, was to use the 1.32.401.17 ruu.exe
Flash went fine, but no OTA did show up.
So I wanted to flash the 1.32.401.8 ruu zip.
But putting it on sdcard or using fastboot flash zip failed.
Wonder why!?
Later on I'll try Max 404 find.
MAX 404 said:
hi mates
I do not think S-OFF , S-ON or locked bootloaders are much of an issue to get OTA, check points 8, 9 and 10 from this thread
EDIT : kingvortex you are right oem locked is necessary with s-on
http://forum.xda-developers.com/one...ery-twrp-touch-recovery-t3066720/post59745198
8. How do I restore stock system so that I can accept an OTA?
Check the "Mount system as read-only" box in the Mount menu.
Restore stock "System Image" backup (This will only work if you've made a System Image backup prior to making any modifications to /system like root it). As of the official 2.8.6.1 version, it is no longer necessary to fastboot flash the stock system image.
NOTE: If you made a stock system backup with one of the Beta TWRP versions, you will have to rename the backup file in the backup folder manually from "system.emmc.win" to "system_image.emmc.win" for the new official TWRP to see it as a "System Image" backup rather than a "System" backup. Otherwise, you'll get an error that the backup can't be restored because system is read-only.
Fastboot flash stock recovery (fastboot flash recovery recovery_signed.img)
NOTE: It is also possible to restore stock recovery via the TWRP GUI. Rename the stock recovery file to "recovery.emmc.win" and place in the backup folder with the stock system image. Recovery will then show as a restore option. MAKE SURE YOU REALLY WANT TO DO THIS, AS TWRP WILL BE GONE WHEN YOU REBOOT OUT OF RECOVERY!!
Reboot to system, install OTA.
9. What if I have an RUU? Do I need to worry about all this OTA nonsense?
Not if you don't care about losing all your data. If you're S-ON and have an RUU available for your exact variant (model ID and CID must match) and software number (main version must be the same or newer), then you can get back to a fully stock state by relocking (fastboot oem lock) and flashing an RUU. However, if you'd prefer to take an OTA to keep your data intact, the method stated above is how to do so. Or, you can just run a custom ROM and wait for your ROM chef to update their ROM to the latest software (though you'll still have to find a way to update your firmware if you're not S-OFF)
10. After I go through all this and successfully apply an OTA, how do I make sure I have a clean starting point again?
After the OTA is applied and TWRP is flashed, it will once again detect an untouched system, which will mount system read-only and allow you to make a fully stock backup and start the process over again, this time with the new base.
Click to expand...
Click to collapse

Restore HTC M8 back to Factory settings.

Is it possible to totally restore the phone back to as when it was new?
Currently has cyanogenmod on it,
any help appreciated.
thanks.
mancboy1 said:
Is it possible to totally restore the phone back to as when it was new?
Click to expand...
Click to collapse
Yes you can restore the device to it's stock ( factory ) condition by using RUU or by restore the stock backup and flash the stock recovery
Either way you need the appropriate version for your device
Post the result of fastboot getvar all after removing serialno and imei
some one will give you the links to the files and how to
Sent from my HTC M8 using XDA Labs
Depends on if you really mean "totally".
1) If the goal is simply to return to the stock ROM, for purpose of your own use, you can just install the stock TWRP backup (and if you want, the stock recovery) per the following thread: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
1a) Alternately, relock the bootloader and install RUU (if you M8 version has one).
2) If the purpose is to make the phone appear untampered, for HTC warranty service (which is unlikely for most M8 devices, as the warranty is typically for 1 year), then the only way to go "completely" stock requires s-off in order to make the bootloader say LOCKED. With s-on, it will only ever say RELOCKED once its been unlocked. More info on how to make the bootloader LOCKED is here: http://forum.xda-developers.com/showthread.php?t=2735235
But again, this isn't necessary for most needs. Approaches 1 or 1a above are fine for most folks.

Categories

Resources