[RUU] & [ROM] M8 Google Play Edition | Marshmallow 6.0 MRA58K.H15 | 7/27/2016 - One (M8) Android Development

Please view this thread in a web browser
M8 Google Play Edition RUU and Flashable Stock ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
7/27/2016 - Android 6.0 - Build MRA58K.H15 - Firmware version 5.07.1700.15​
*Disclaimers*​
* There is always a chance things may go wrong. As always, you take responsibility for what you do with your device, you should know what your getting yourself into. If you don't, STOP! Please do not flash this! You need to READ, READ, READ the OP and these forums until you feel confident enough to do so.
* This is not a general discussion thread. This thread is to support the RUU and ROM. So keep your chatter to a minimum. Again... this is not a general discussion thread, please refer to the Q&A, Help & Troubleshooting or General section and post your questions there.
* This is not a custom ROM. These are stock unaltered images. If there are bugs in the OS, please report them to Google and HTC, these are things I can not fix.
Special Notes
1. I suggest you try the flashable ROM first before using the RUU to "convert" your device. *Flashable ROM is S-ON compatible.
Remember, you DO NOT need to use or "convert" to any GPe firmware to boot the ROM, it works fine with Sense firmware. There have been users reporting issues with false battery % reporting and might shut off around 10 percent or you might see a sudden 10% drop or spike in the battery percentage. Firmware could be the issue... I just don't know, only it doesn't seem to happen on converted devices.
2. The RUU is meant for restoring GPe devices and for those who want to "convert" their device to GPe. *Must be S-Off
3. There is a bug starting with MRA58K.H15 with Google account backup. On a clean install of the ROM or RUU you will get an error when trying to restore your account, you also won't be able to add an account from the Settings>Backup & reset.
Flash this fix before first boot, if you decide to flash this fix with the RUU it is important to know it will break OTA's as the bug is from HTC/Google so when the OTA verifies the sha1 of the services.jar it will fail.
MRA58K.H15 services.jar Backup account fix, also includes the DND priority mode fix
https://www.androidfilehost.com/?fid=24686680535467942
Prerequisites for flashing RUU's and firmware
1. Must have knowledge of adb and fastboot plus a working setup on your PC, Linux or Mac.
Note: Mac and Linux users, the fastboot and adb commands presented in the instructions below must include ./ so it would be ./fastboot or ./adb but you already knew that.
If you have issues flashing anything with fastboot that was packaged with the Android SDK try HTC's version. PC HTC fastboot, Mac HTC fastboot, Linux HTC fastboot.
2. HTC drivers installed. HTC sync should be uninstalled or make sure it doesn't launch when your phone is connected.
3. A microSD card
4. Must be S-Off
GPe RUU
*Please do not convert your phone if you don't understand what your getting yourself into.
*Anytime you flash an RUU it will wipe /data /cache & internal storage.
*GPe device or not, the RUU is not signed with HTC's special keys so you must be S-Off.
*About using the RUU to convert to GPe*
*GSM Devices Only! Verizon and Sprint / CDMA devices are not compatible. Dual SIM M8's are also not compatible.
*Converting to GPe, you must be S-Off.
*Converting to GPe will partition your /system to 1 gig. The Sense partition is 2.62 gig, you will have to convert back to flash Sense ROMs again.
*When receiving OTA updates, it is likely they will fail if you have made any /system alterations like removing or adding apps. When the script verifies the /system it checks every single app, framework and bin files
*The latest SuperSU.zip is safe, systemless root doesn't modify the system so accepting OTA updates while rooted with this method isn't an issue.
Changing the CID
All these CID and MID's will be accepted for the update, including superCID 11111111
"This is whats in the android-info.txt in the firmware part of the OTA"
Code:
modelid: 0P6B10000
modelid: 0P6B12000
modelid: 0P6B13000
modelid: 0P6B11000
modelid: 0P6B15000
modelid: 0P6B16000
modelid: 0P6B17000
cidnum: GOOGL001
cidnum: 11111111
cidnum: CWS__001
cidnum: T-MOB010
mainver: 5.07.1700.14
btype:0
aareport:1
hbootpreupdate:3
Make note of your original CID and MID. If your MID isn't listed in that list then you probably don't have a GSM device. If your device is indeed a GSM device you should not have to change your MID.
How to check:
adb shell or terminal emulator: getprop ro.boot.cid in 6.0 use getprop ro.cid and getprop ro.boot.mid or getprop ro.mid
In fastboot: fastboot getvar all
If your MID is one of the following please stop and do not use the RUU, you have a CDMA device and this RUU is not compatible.
Verizon 0P6B20000
Sprint 0P6B70000
Europe M8 Dual sim 0P6B64000 <--- It is a GSM device but still not compatible.
Changing the CID
1. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
3. fastboot oem writecid GOOGL001 or superCID 11111111 "press enter"
4. fastboot reboot-bootloader "press enter"
Changing the MID. *Optional* Google MID is 0P6B17000
If you have a GSM device you may choose to change the MID to match the Google version so you know OTA's don't fail but so far it's not necessary since HTC has been nice enough to include all the GSM MID's in the android-info.txt in the firmware part of the update and updater scripts.
Refer to this thread. http://forum.xda-developers.com/showthread.php?t=2708581
Flashing the RUU
Method 1
*ADB / Fastboot*
First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Rename the RUU.zip to something short and easy like RUU.zip
2. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
3. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
4. fastboot flash zip RUU.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
5. fastboot flash zip RUU.zip "press enter"
6. fastboot reboot-bootloader "press enter"
7. Select hboot, Do a factory reset in recovery. To enter the recovery menu when greeted by the Android with an exclamation, Hold Power button and click Volume UP.
8. Done, reboot system
Method 2
*External / mircoSD card*
1. Rename the RUU.zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Reboot then remove your sdcard. Hold Power and Volume UP until it reboots then Hold Power and Volume down until you get back to hboot.
9. Do a factory reset in recovery. To enter the recovery menu when greeted by the Android with an exclamation, Hold Power button and click Volume UP.
10. Done, reboot system
If you followed the steps above and it hasn't booted within 15-20 minutes, try booting TWRP or Philz and do a factory reset from there, it has worked for others.
Did you know you can boot TWRP or Philz without flashing it. If you downloaded twrp or philz in a zip extract the image first.
1. Hold Power and Volume Up til your device reboots then immediately Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot boot twrp-3.0.2-0-m8.img "or whatever the recovery.img is called" "press enter" Don't freak!, it will say "downloading 'boot.img'..." TWRP or Philz will start in a few seconds.
Root
Systemless Root Simply flash the SuperSU.zip with a custom recovery.
TWRP 3: Official TWRP image download
SuperSU Beta: Always the newest release. http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
SuperSU Stable: http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
You can still flash TWRP if you prefer... but, since you did the RUU I bet you want to keep the stock recovery for OTA's.
Did you know you can boot TWRP without flashing it...?
1. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot boot twrp-3.0.2-0-m8.img "press enter" Don't freak it will say "downloading 'boot.img'..." TWRP will start in a few seconds.
3. Now you can flash SuperSU and your stock recovery will still be there after rebooting to accept OTA's
NOTE: OTA updates should work without issue with systemless root but you will have to re-root after every update.
Xposed
Xposed will cause OTA's to fail a system integrity check. Xposed will break Android Safety Net.
1. Flash the framwork with TWRP. xposed-vXX-sdk23-arm.zip http://dl-xda.xposed.info/framework/sdk23/arm/
2. Install the Material design Xposed app http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Gravitybox for Marshmallow. (Best collection of tweaks and mods for AOSP based ROMs)
http://repo.xposed.info/module/com.ceco.marshmallow.gravitybox
Sense Camera and Gallery
*Simply install these apks. https://www.androidfilehost.com/?w=files&flid=94923
1. The Camera app com.htc.camera-6.70.858966-762001572.apk has all the features your expecting, HTC removed a lot with the newer updates. If your wanting the newest app search apkmirror.
2. Gallery app com.htc.album_9.51.755029-862171354.apk
3. To play Videos... install com.htc.video-7.0.493811-660011498.apk
6.0.1 Dex2oat
This will break OTA's, will interfere if installed after Xposed... Xposed uses it's own dex2oat file
This will drastically improve first boot time and boot time after wiping caches, app installations will also be super quick.
http://forum.xda-developers.com/showpost.php?p=69685151&postcount=5147
Download
AFH Repository
DevDB
Graffixnyc Repository
Flashable GPe ROM
Update to TWRP 3 Official TWRP image download
Special notes:
[*] Compatible with all M8 variants except Dual SIM
[*] Builds use the AROMA installer. Options include...
Stock-No Root, Traditional Root or System-less Root.
Magisk with SuperSU, Magisk with Phh Superuser
Google account bug fix and Do Not Disturb (DND) Priority mode stared contact bug fix
FM radio
6.0.1 emoji
more...
[*] Nothing special it's a stock ROM, flash it in a custom recovery like any other ROM out there.
[*] S-ON compatible
[*] There have been users reporting issues with false battery % reporting and might shut off around 10 percent or you might see a sudden 10% drop or spike in the battery percentage. Firmware could be the issue... I just don't know, only it doesn't seem to happen on converted devices.
Install: using TWRP 3
1. Perform a data / factory reset if coming from a different ROM *If your updating this ROM no wipe is necessary.
2. Flash ROM.
3. Reboot and Enjoy!
4. First boot will take 5 to 10 minutes, on average I've noticed it takes about 7.
Changelog
12-22-16
Updated SuperSU to 2.79 R1
Fixed install script error with CDMA devices on stock install
12-4-16
Added options for:
1. Google Account fix *.H15 introduced a bug with Google backup account.
2. FM Radio *Full Wipe must be done to enable module, if module is already enabled and radio is working dirty flashing is fine
3. dex2oat mod *Xposed, systemless or official will overwrite this mod with their own dex2oat files.
4. 6.0.1 emoji's *Works with Google keyboard maybe others... but I only use Google keyboard
5. Xposed v87
6. Magisk universal systemless interface *Note: Magisk_Manager_v2.5.apk will be copied to sdcard, please install after ROM set up
7. Phh superuser with Magisk install
8. Magisk systemless Xposed v87
9. Restore stock recovery on GSM devices when stock install is selected to restore device for OTA's if needed.
10. Updated SuperSU to 2.78 SR4
6.0.1 Dex2oat
Will interfere if installed after Xposed... Xposed uses it's own dex2oat file
This will drastically improve first boot time and boot time after wiping caches, app installations will also be super quick.
http://forum.xda-developers.com/showpost.php?p=69685151&postcount=5147
Sense Camera and Gallery
*Simply install these apks. https://www.androidfilehost.com/?w=files&flid=94923
1. The Camera app com.htc.camera-6.70.858966-762001572.apk has all the features your expecting, HTC removed a lot with the newer updates. If your wanting the newest app search apkmirror.
2. Gallery app com.htc.album_9.51.755029-862171354.apk
3. To play Videos... install com.htc.video-7.0.493811-660011498.apk
Xposed
1. Flash the framwork with TWRP. xposed-vXX-sdk23-arm.zip http://dl-xda.xposed.info/framework/sdk23/arm/
2. Install the Material design Xposed app http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Gravitybox for Marshmallow. (Best collection of tweaks and mods for AOSP based ROMs)
http://repo.xposed.info/module/com.ceco.marshmallow.gravitybox
AT&T users please read.
If you have updated your device to firmware version 6.20.502.5 you will probably have no phone service while connected to LTE.
In the recent update, AT&T added Voice over LTE or HD voice to the M8. GPE doesn't support VOLTE so you will not receive calls.
Options to fix this
1. Call AT&T and get them to turn off the VOLTE service,
2. Disable LTE in "Settings>More>Cellular network settings>Preferred network type" and only use 3g or HPSA
3. Convert the device to GPE, DevEdition or WWE. * Could also try rolling your device back to AT&T firmware version 4.28.502.2
A users post about this issue. http://forum.xda-developers.com/showpost.php?p=67955540&postcount=4913
Download
AFH Repository
DevDB
* There is a bug starting with MRA58K.H15 with Google account backup. On a clean install you will get an error when trying to restore your account, you also won't be able to add an account from the Settings>Backup & reset. Flash this fix after the rom but before first boot.
MRA58K.H15 services.jar Backup account fix, also includes the DND priority mode fix
https://www.androidfilehost.com/?fid=24686680535467942
Firmware
What is firmware you ask. By most peoples definition here on XDA it would be any other software that does not pertain to the OS and kernel. Usually there are two essential pieces of software that are needed to run the device and OS. The first is working drivers, in Android it would be the kernel and modules which is the software that lets your OS talk to the hardware. The second is firmware, which is a small piece of code that is flashed directly to the device for it to function correctly. Firmware is a way of programming the hardware inside the device itself.
*Must be S-Off to flash these firmware files. The firmware.zips are not signed with HTC's special keys so they will fail if your S-On. The zips do not contain a boot.img or recovery.img, you can flash them over any ROM without issue.
*If the GPe ROM booted and your not having any major issues I suggest you leave your firmware alone... but if you choose to you could flash the GPe firmware without hboot (hboot is the booloader). This will give you parts of the GPe firmware like radio and adsp while retaining your Sense partition of 2.62gig, plus your internal storage won't get wiped in this process. Then if you decide to flash a Sense ROM later you don't have to go through the hassle of converting back. Sense ROMs work perfectly fine with the GPe firmware without hboot, but if you want to get back to your carriers original firmware its a simple matter of flashing a firmware zip.
*Depending on device and firmware one might experience false battery % reporting and might shut off around 10 percent. Converting or flashing GPe firmware without hboot should fix the issue
Flashing instructions
Method 1
*External / mircoSD card*
1. Rename the firmware zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Make sure to delete or rename the Op6bimg.zip on your external sdcard when your finished
Method 2
*ADB / Fastboot*
First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Rename the firmware.zip to something short and easy like firmware.zip
2. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
3. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
4. fastboot flash zip firmware.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
5. fastboot flash zip firmware.zip "press enter"
6. fastboot reboot-bootloader "press enter"
Download
Latest firmware zips, GPe, Sense, Recoveries, TWRP
AFH Repository
Returning to Sense after GPe conversion
While directions are provided here, this is not a support thread for how to return to sense. Directions are basic and straight forward which include, flashing stock firmware and recovery, doing a factory reset, flashing TWRP, doing another factory reset and then flashing a ROM or RUU. Original return to Sense thread.
* First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Refer to "Restoring your CID and MID" below and change your CID to 11111111
2. You use this firmware package. 1.54.401.5 https://www.androidfilehost.com/?fid=23329332407589439
If that doesn't work, download one of the firmware packages that includes the stock recovery and boot.img https://www.androidfilehost.com/?w=files&flid=42101
* You can flash the firmware zips with the sd card method if you prefer, once your done proceed to step 9
3. Rename the firmware.zip to something short and easy like firmware.zip
4. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
5. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
6. fastboot flash zip firmware.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
7. fastboot flash zip firmware.zip "press enter"
8. Done. fastboot reboot-bootloader "press enter"
9. Do a factory reset in recovery. If you boot into recovery and the menu doesn't appear and your greeted by a "red triangle with an exclamation" hold volume up and click power, if that doesn't work reverse the button combo.
*Alternatively, do a factory reset from the Hboot menu.
10. Reboot back into the bootloader
11. Flash TWRP 2.7.0.2, Fastboot method: fastboot flash recovery twrp-2.7.0.2-m8.img or Ext. SD card method.
12. Boot into TWRP
13. Perform a full factory reset
14. Reboot recovery
15. Install a Sense ROM, restore a backup or flash an RUU
* Below in the "Flashing the RUU" tab the latest Sense MM and LP RUU.zips are available.
Restoring your CID and MID
Your CID and MID must match the RUU you want to flash. Chances are you never messed with the MID but if you did you should probably change it back. Refer to this thread if you did change your MID. http://forum.xda-developers.com/showthread.php?t=2708581
How to check:
adb shell or terminal emulator: getprop ro.boot.cid and getprop ro.boot.mid
In fastboot: fastboot getvar all
Not sure what your CID & MID was originally? Here is a list.
If you don't remember try using Super CID 11111111
Code:
CID MID Carrier
CWS__001 0P6B12000 AT&T
T-MOB010 0P6B13000 T-Mobile
GOOGL001 0P6B17000 Google Play Edition
BS_US001 0P6B12000 Developer edition
BS_US002 0P6B13000 Developer edition
HTC__023 0P6B11000 Australia
HTC__032 0P6B10000 Europe
HTC__001 0P6B10000
HTC__J15 0P6B10000
HTC__E11 0P6B10000
HTC__203 0P6B10000
HTC__102 0P6B10000
HTC__405 0P6B10000
HTC__Y13 0P6B10000
HTC__A07 0P6B10000
HTC__304 0P6B10000
HTC__016 0P6B10000
HTC__M27 0P6B10000
HTC__K18 0P6B10000
HTC__002 0P6B10000
HTC__A48 0P6B10000
1. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
3. fastboot oem writecid XXXXXXXX "press enter" replace xxxxxxxx with a cidnum
4. fastboot reboot-bootloader "press enter"
Flashing the RUU
First option RUU.exe from HTC. Simply run the RUU.exe from your PC to return to stock.
http://www.htc.com/us/support/rom-downloads.html
UK and international users. 4.16.401.10 RUU.exe
https://www.androidfilehost.com/?fid=24052804347849198
---------------------------------------------------------------------------------------------------
Second option. RUU.zip
These RUUs were made by decrypting the official HTC RUU.exe's using this tool
NOTE: Flash these with the external sd card method. Fastboot from the Android SDK will fail with an error saying the system.img is to big. If you want to flash these with fastboot you will need to use HTC's fastboot which are linked in the top of the OP under Prerequisites for flashing RUU's and firmware.
Latest Sense Marshmallow 6.0 RUU's
* WWE International * DevEdition * AT&T * TMOUS *
https://www.androidfilehost.com/?w=files&flid=41675
Flashing the RUU.zip
Method 1
*External / mircoSD card*
1. Rename the RUU.zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Reboot then remove your sdcard. Hold Power and Volume UP until it reboots then Hold Power and Volume down until you get back to hboot.
9. Do a factory reset in recovery. To enter the recovery menu when greeted by a "red triangle with an exclamation", Hold Volume UP and click Power.
10. Done, reboot system
FAQs & Issues
FAQs
Q. Can I take OTA updates?
A. If you did the non rooted RUU and your /system is unaltered, you have the stock recovery and you have changed the CID to GOOGL001 then YES, yes you can.
Q. Is this compatible with my device?
A. The ROM and RUU are only compatible with GSM devices. If you got your phone through Verizon or Sprint then No you can't use this. Dual SIM M8's are also not compatible.
Q. Do I have to be S-Off to use the flashable stock ROM?
A. No
Q. Do I have to convert or use GPe firmware to use the flashable stock ROM?
A. No. If your phone had Sense 6 5.0.1 out of the box or you had taken that OTA, your bootloader is unlocked and have TWRP installed then your good to flash the stock ROM.
Q. I can't get RRO layers to work, what am I doing wrong?
A. Nothing, RRO Layers was not included by HTC. So in short it doesn't work nor will it ever! Don't even ask!
Q. How do I enable the SystemUI Tuner in 6.0?
A. Pull down the notification shade, Long press the settings gear. It's hard to see but the gear will spin under your finger. Press and hold, this may take a long time and may take multiple attemps but you will get a toast saying the "SystemUI Tuner is active". The menu will appear in the settings under About phone.
Q. How do I enable multi window in 6.0
A. You need to edit the build.prop, look for ro.build.type=user change it to ro.build.type=userdebug save the file and reboot. If you haven't already you need to enable developer options. In About phone you have to tap the build number several times to enable. In developer options you'll find the multi window switch about 3/4ths the way the down the settings list.
Q. Does the duo camera Ufocus and 3D effects work on GPe?
A. Yes it does. Google camera supports the duo effect. HTC FX editor is a stock feature of GPe so Ufocus and 3D effects all work.
Q. I don't see Trusted face in Smart lock, am I missing something?
A. Trusted face was removed in 5.0.1, probably to make room in the /system. Trusted face for (M8) GPe Marshmallow. Ported from the Nexus 6
Q. I can't get Titanium Backup to work with my sd card, I keep getting an insufficient free storage error.
A. Take a look at this post. http://forum.xda-developers.com/showpost.php?p=64064833&postcount=3714
Q. I'm having Ext. SD card permission issues with ***** app. It can't write to my external microSD card.
A. In Lollipop and Marshmallow your app needs to be granted permissions to the root of the Ext. SD card by DocumentsProvider Storage.
1. The app may need updated. Usually the app will open the DocumentsProvider so you can select your card.
2. Make sure when you selected the Ext. SD card in DocumentsProvider that you were in the root directory.
Issues
* MRA58K.H15 Backup account fix, also includes the DND priority mode fix
https://www.androidfilehost.com/?fid=24686680535467942
* WiFi may drop out when the screen is off. This issue involves more then just firmware. 5.0.1 and 5.1 used new DHCP protocols, 6.0's protocols are updated and work better on legacy devices but you may have less or no drop out issues with newer WiFi routers.
* Do not disturb / Priority mode is broken... HTC added some code from sense that has broken your notifications from starred contacts when DND is enabled. When DND is enabled with "Priority Only" and a starred contact sends you a text or phone call the ringer should sound and vibrate depending on what your configuration is, but what happens is when the contact is validated its looking for a column "VIP" in the contacts.db, well "VIP" doesn't exist in Google contacts only in Sense contacts... so it doesn't validate and you don't get the notification. Flashable fix.
Thanks to @kbitz for the fix.
* Android 6.0 has an MMS bug that will require you to reboot your phone every couple of days or sending and receiving MMS will become proplematic. Issue tracker on the subject.
Special thanks
loserskater
Captain_Throwback
Chainfire: Root
obtained
pasker17
fcukmayank
DwadeCham
TheStaticVoid
original op
XDA:DevDB Information
Google Play edition, ROM for the HTC One (M8)
Contributors
graffixnyc, enewman17
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 5.07.1700.15
Version Information
Status: Stable
Current Stable Version: MRA58K.H15
Stable Release Date: 2016-07-27
Created 2015-11-07
Last Updated 2017-03-31

Reserved

How to go back to Sense
SUPPORT THREAD FOR GOING BACK TO SENSE CAN BE FOUND HERE
No support for going back to sense will be provided in this thread. Please do NOT post in the thread asking about how to get back to sense. That's not what this thread is for. Thanks

Deleted... OLD

I literally just Supercid... Downloading now.
Sent from my HTC One_M8 using Tapatalk

have mercy, i love this device!

charlieb620 said:
I literally just Supercid... Downloading now.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Me too! Here we go.....

Ummm should I take my external card and sim out?
Sent from my HTC One_M8 using Tapatalk

and...... done!

charlieb620 said:
Ummm should I take my external card and sim out?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
I took external sd card out to be safe. The internal one will be wiped.. I didn't want to take any chances. I'll add that to the op. Didn't have that issue with the m7

graffixnyc said:
I took external sd card out to be safe. The internal one will be wiped.. I didn't want to take any chances. I'll add that to the op. Didn't have that issue with the m7
Click to expand...
Click to collapse
Dully noted lol.
Alright I'm going in.
Sent from my HTC One_M8 using Tapatalk

Tikerz said:
Me too! Here we go.....
Click to expand...
Click to collapse
how do you supercid?

fix-this! said:
how do you supercid?
Click to expand...
Click to collapse
fastboot oem writecid 11111111

djkinetic said:
fastboot oem writecid 11111111
Click to expand...
Click to collapse
thanks, that was easy. will convert to the GPE tomorrow night. time for bed.

No ringtones?

camera, not good. didnt wipe sd either

charlieb620 said:
No ringtones?
Click to expand...
Click to collapse
You don't have any? I have them

rbouza1 said:
camera, not good. didnt wipe sd either
Click to expand...
Click to collapse
It didn't wipe your internal card? That's odd. It wiped mine and it always did on the m7

internal yes, sd card nope . i restored backup. fully converted ! what a great weekend for m8 !

graffixnyc said:
It didn't wipe your internal card? That's odd. It wiped mine and it always did on the m7
Click to expand...
Click to collapse
my internal SD wasnt wiped either. but i'm not having issues.

Related

Need to unroot both HTC one and S3 (GT-i9300)

Im really struggling to carry out an unroot on both my HTC one and S3. I want to sell the devices but need to return them to standard rom.
I have looked and read so many differnt threads that I'm totally confused about which method to use and which files to use.
My HTC is rooted with a TEAM recovery, I've looked at the bootloader and it tells me its s-on. All I want to do is return to stock O/S so the phone can update to the latests release. I don't need any of the settings keeping, infact it's best for it to be completely clean.
Is there an easy to follow guide I can use that points me to all the files I need etc?
If anyone can help me out I would very much appreciate it.
thanks all.
uktivo said:
Im really struggling to carry out an unroot on both my HTC one and S3. I want to sell the devices but need to return them to standard rom.
I have looked and read so many differnt threads that I'm totally confused about which method to use and which files to use.
My HTC is rooted with a TEAM recovery, I've looked at the bootloader and it tells me its s-on. All I want to do is return to stock O/S so the phone can update to the latests release. I don't need any of the settings keeping, infact it's best for it to be completely clean.
Is there an easy to follow guide I can use that points me to all the files I need etc?
If anyone can help me out I would very much appreciate it.
thanks all.
Click to expand...
Click to collapse
Did you read this http://forum.xda-developers.com/showthread.php?t=2358738 this is the guide you are looking for.... and this is the 2nd sticky on this forum....
and btw you should ask your question in the q&a, help and troubleshooting forum next time, not in general forum
Apologies for the wrong position of posting.. I have read this sticky but there are lots of conflicting information in there. Perhaps my geekness is just not what it supposed to be.
Sent from my Z30 using Tapatalk
Sorry hit enter to quickly.
I think in general I'm unsure of some of the terminology used. It also mentions about certain firmware not having touch panel working after unroot etc. So as a non geek type, it does sort of scare you into not doing anything at all. I've looked on YouTube and there are loads of video tutorials but again, most of the links to the correct ruu are broken or old.
Hence my question. Is there an updated thread giving noob step by step instructions.. hope that makes sense?
Sent from my Z30 using Tapatalk
Reboot your phone in bootloader, Select fasboot, then connect phone to pc via usb. Go to your fastboot/adb folder of your computer and start a cmd prompt from there. Type "fastboot getvar all" copy paste info here. Dont paste imei and s/n.
Sent from my HTC One using xda app-developers app
alray said:
Reboot your phone in bootloader, Select fasboot, then connect phone to pc via usb. Go to your fastboot/adb folder of your computer and start a cmd prompt from there. Type "fastboot getvar all" copy paste info here. Dont paste imei and s/n.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
That alone had helped. I completely forgot you need to start the command prompt from the adb folder. I've been trying to navigate to it with little success
Sent from my Z30 using Tapatalk
alray said:
Reboot your phone in bootloader, Select fasboot, then connect phone to pc via usb. Go to your fastboot/adb folder of your computer and start a cmd prompt from there. Type "fastboot getvar all" copy paste info here. Dont paste imei and s/n.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Thanks for your support so far. Please see attached. If you could point me in the right direction please that would be greatly appreciated.
UPDATE.
I've gained s-off using revone system and I believe I've found the right RUU for my firmware 1.28.401.7 which is this one:
http://www.htc1guru.com/dld/ruu-zip...1-27_10-31-1131-05_release_310878_signed-zip/
How do i know flash this ruu.zip file to the phone? I've tried the steps in the mentioned thread above but keep getting errors.
uktivo said:
Thanks for your support so far. Please see attached. If you could point me in the right direction please that would be greatly appreciated.
UPDATE.
I've gained s-off using revone system and I believe I've found the right RUU for my firmware 1.28.401.7 which is this one:
http://www.htc1guru.com/dld/ruu-zip...1-27_10-31-1131-05_release_310878_signed-zip/
How do i know flash this ruu.zip file to the phone? I've tried the steps in the mentioned thread above but keep getting errors.
Click to expand...
Click to collapse
Now that you are s-off:
1 -I would recommend you tu use the .EXE RUU and not the .ZIP RUU. Will be much easier for you :
RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13. 3231.27_10.31.1131.05_release_310878_signed.exe
http://www.htc1guru.com/dld/ruu_m7_ul_jb_50_htc_europe_1-28-401-7_radio_4a-13-3231-27_10-31-1131-05_release_310878_signed-exe/ just place the .exe on your desktop
2- put your phone back in fastboot mode (reboot using power and vol -, select fastboot, connect to usb computer)
3- open a cmd prompt from your adb/fastboot folder
4- change your cid to supercid by pushing this command:
Code:
fastboot oem writecid 11111111
5- check that your cid changed properly:
Code:
fastboot oem readcid
it should reply something like this:
Code:
(bootloader) cid: 11111111
OKAY [ 0.010s]
finished. total time: 0.011s
6- keep phone connected to pc and reboot it, check you have a good battery charge. launch the ruu.exe and follow instruction from the utility.
7- now your phone is back to stock, you are not rooted anymore and your bootloader is locked. you need the change back your cid to HTC__001 if you want to receive OTA updates.
-put your phone back in fastboot mode (reboot using power + vol -, select fastboot, connect to usb computer)
-open a cmd prompt from your adb/fastboot folder
-
Code:
fastboot oem writecid HTC__001
-check that your cid changed properly:
Code:
fastboot oem readcid
it should reply something like this:
Code:
(bootloader) cid: HTC__001
OKAY [ 0.010s]
finished. total time: 0.011s
8- boot your phone normally, go trough the setup procedure, then download and install all ota updates.
9- factory reset your phone
10- you are rdy to sell it, its now 100% stock, updated and s-off (dont go back to s-on!)
alray said:
Now that you are s-off:
1 -I would recommend you tu use the .EXE RUU and not the .ZIP RUU. Will be much easier for you :
RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13. 3231.27_10.31.1131.05_release_310878_signed.exe
http://www.htc1guru.com/dld/ruu_m7_ul_jb_50_htc_europe_1-28-401-7_radio_4a-13-3231-27_10-31-1131-05_release_310878_signed-exe/ just place the .exe on your desktop
2- put your phone back in fastboot mode (reboot using power and vol -, select fastboot, connect to usb computer)
3- open a cmd prompt from your adb/fastboot folder
4- change your cid to supercid by pushing this command:
Code:
fastboot oem writecid 11111111
5- check that your cid changed properly:
Code:
fastboot oem readcid
it should reply something like this:
Code:
(bootloader) cid: 11111111
OKAY [ 0.010s]
finished. total time: 0.011s
6- keep phone connected to pc and reboot it, check you have a good battery charge. launch the ruu.exe and follow instruction from the utility.
7- now your phone is back to stock, you are not rooted anymore and your bootloader is locked. you need the change back your cid to HTC__001 if you want to receive OTA updates.
-put your phone back in fastboot mode (reboot using power + vol -, select fastboot, connect to usb computer)
-open a cmd prompt from your adb/fastboot folder
-
Code:
fastboot oem writecid HTC__001
-check that your cid changed properly:
Code:
fastboot oem readcid
it should reply something like this:
Code:
(bootloader) cid: HTC__001
OKAY [ 0.010s]
finished. total time: 0.011s
8- boot your phone normally, go trough the setup procedure, then download and install all ota updates.
9- factory reset your phone
10- you are rdy to sell it, its now 100% stock, updated and s-off (dont go back to s-on!)
Click to expand...
Click to collapse
Could not have done this with out your help.. VERY MUCH appreciated.
uktivo said:
Could not have done this with out your help.. VERY MUCH appreciated.
Click to expand...
Click to collapse
No problem, i'm just doing what somebody else here on xda did for me a couple weeks ago.
alray said:
No problem, i'm just doing what somebody else here on xda did for me a couple weeks ago.
Click to expand...
Click to collapse
Only me again. lol.
I'm all updated now thanks. BUT. I noticed my recovery has now gone. I used to use team recovery but I'm happy to install any (easiest). Don't suppose you know how to do this please?
thanks again.
uktivo said:
I noticed my recovery has now gone. I used to use team recovery but I'm happy to install any (easiest).
Click to expand...
Click to collapse
Your recovery isnt gone, The ruu process replaced your custom twrp recovery with the stock recovery of htc. If you want to re-install twrp recovery you have to re-unlock your bootloader trough htcdev.com and then download the twrp.zip and flash it to the recovery partition of your phone.
uktivo said:
All I want to do is return to stock O/S so the phone can update to the latests release. I don't need any of the settings keeping, infact it's best for it to be completely clean.
Click to expand...
Click to collapse
With a custom recovery (like twrp), you will NOT be stock and you will NOT receive future OTA updates. (you will see them but you won't be able to install them because you need stock recovery to install ota)
if you still want to install twrp for some reasons follow those steps:
1- re-unlock your bootloader trough HTCdev.com
refer to this xda video tutorial : http://www.youtube.com/watch?v=xuIq0gmYpFA
2- download lastest version of twrp (openrecovery-twrp-2.6.3.0-m7.img) recovery: http://goo.im/devs/OpenRecovery/m7/
3- place the .img file inside your adb/fastboot folder of your computer
4- reboot phone in bootloader, then select fastboot and connect usb cable
5- open cmd prompt from you fastboot folder
6- type this command to flash twrp:
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
7- type this command to reboot into bootloader:
Code:
fastboot reboot bootloader
8- now you can enter the custom recovery
alray said:
Your recovery isnt gone, The ruu process replaced your custom twrp recovery with the stock recovery of htc. If you want to re-install twrp recovery you have to re-unlock your bootloader trough htcdev.com and then download the twrp.zip and flash it to the recovery partition of your phone.
With a custom recovery (like twrp), you will NOT be stock and you will NOT receive future OTA updates. (you will see them but you won't be able to install them because you need stock recovery to install ota)
if you still want to install twrp for some reasons follow those steps:
1- re-unlock your bootloader trough HTCdev.com
refer to this xda video tutorial : http://www.youtube.com/watch?v=xuIq0gmYpFA
2- download lastest version of twrp (openrecovery-twrp-2.6.3.0-m7.img) recovery: http://goo.im/devs/OpenRecovery/m7/
3- place the .img file inside your adb/fastboot folder of your computer
4- reboot phone in bootloader, then select fastboot and connect usb cable
5- open cmd prompt from you fastboot folder
6- type this command to flash twrp:
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
7- type this command to reboot into bootloader:
Code:
fastboot reboot bootloader
8- now you can enter the custom recovery
Click to expand...
Click to collapse
Sorry for my delayed thanks but I've been away on business for the last few days and not had chance to catch up on this thread. Thanks again.
Sent from my Z30 using Tapatalk

[Q] HTC__044 Stock ROM

I'm new to flash and RUU 's
I'm a little confused, even reading guides .
I would leave my htc one as stock and make updates over the air .
I value help for this.
Currently my OS is ViperOne6.2.1 and my recovery is TRWP 2.6.3.3
--------------
UNLOCKED
S -OFF
--------------
> fastboot getvar all
( bootloader ) version: 0.5
( bootloader ) version- bootloader : 1.56.0000
( bootloader ) version- baseband : 4A.23.3263.28
( bootloader ) version- cpld : None
( bootloader ) version- microp : None
( bootloader ) version- main: 4.20.707.7
( bootloader ) version- misc : PVT SHIP S -OFF
( bootloader ) SerialNo : xxxxxxxxxxxxx
( bootloader ) imei : xxxxxxxxxxxxxx
( bootloader ) meid : 00000000000000
( bootloader ) product : m7_u
( bootloader ) platform: HBOOT - 8064
( bootloader ) modelid : PN0711000
( bootloader ) cidnum : HTC__044
( bootloader ) battery- status : good
( bootloader ) battery- voltage : 3790mV
( bootloader ) partition - layout : Generic
( bootloader ) security : off
( bootloader ) build -mode : SHIP
( bootloader ) boot -mode: fastboot
( bootloader ) commitno - bootloader : dirty - 59adc32b
( bootloader ) hbootpreupdate : 11
( bootloader ) gencheckpt : 0
I downloaded the
"RUU Zip M7_U_JB_50_hTC_Asia_WWE_1.29.707.4_R_Radio_4A.14.3250.13_10.33.1150.01_release_312087_signed_2_4_decrypted.zip"
and
"Guru_Reset_M7_3.63.707.4.zip"
but not sure if that's correct.
And now , what are the specific steps for my case ?
I really appreciate any help
Thank you!
Site is back up now, look for your rom, you want to look for ?.??.707.?
you will need to look for stock rom guru reset roms, yours is in this list, make sure MID and CID etc match first, also check the file size, although the site is working, im still having problems downloading a file from the site, it says its finished and should be 780mb but is only downloading 45mb
http://www.htc1guru.com/downloads/stock-rom-downloads/
The details are:
Guru Reset M7 3.63.707.4
File Size: 1.1 GiB - Downloads: 27498
MD5: 6aba67e56889124c4ab5188bba15a569
Comments: Stock Asia/India (World Wide English) ROM 3.63.707.4 with graphical aroma installer. Includes the ability to flash the Stock Recovery and also Stock Radio.
Future OTA Updates will work when available.
modelid: PN0711000
modelid: PN0714000
cidnum: HTC__044
cidnum: HTC__038
Copy the file to your phone, easiest way is to rename it to rom.zip, and then flash it in recovery as you would do with any other rom, if you want your phone to be completely stock then select flash radio and recovery in the installer.
Seanie280672 said:
Site is back up now, look for your rom, you want to look for ?.??.707.?
you will need to look for stock rom guru reset roms, yours is in this list, make sure MID and CID etc match first, also check the file size, although the site is working, im still having problems downloading a file from the site, it says its finished and should be 780mb but is only downloading 45mb
http://www.htc1guru.com/downloads/stock-rom-downloads/
The details are:
Guru Reset M7 3.63.707.4
File Size: 1.1 GiB - Downloads: 27498
MD5: 6aba67e56889124c4ab5188bba15a569
Comments: Stock Asia/India (World Wide English) ROM 3.63.707.4 with graphical aroma installer. Includes the ability to flash the Stock Recovery and also Stock Radio.
Future OTA Updates will work when available.
modelid: PN0711000
modelid: PN0714000
cidnum: HTC__044
cidnum: HTC__038
Copy the file to your phone, easiest way is to rename it to rom.zip, and then flash it in recovery as you would do with any other rom, if you want your phone to be completely stock then select flash radio and recovery in the installer.
Click to expand...
Click to collapse
Good afternoon, Seannie!
I did exactly as mandated by the rules.
The phone was relocked and as "Not Tampered". Without the superuser.
When I tried to update it over the air, accused the phone that I'm using a modified version and can not update the system. = [
andrekerplunk said:
Good afternoon, Seannie!
I did exactly as mandated by the rules.
The phone was relocked and as "Not Tampered". Without the superuser.
When I tried to update it over the air, accused the phone that I'm using a modified version and can not update the system. = [
Click to expand...
Click to collapse
Did you flash the stock recovery when you installed the ROM ? there should of been 2 tick boxes, 1 says flash stock radio and the other says flash stock recovery just before the rom installs, I selected both when I ran it.
Seanie280672 said:
Did you flash the stock recovery when you installed the ROM ? there should of been 2 tick boxes, 1 says flash stock radio and the other says flash stock recovery just before the rom installs, I selected both when I ran it.
Click to expand...
Click to collapse
Yes, I marked them both! And...
you could try this, when you download the OTA, select install later, then plug you phone into your computer, and find the OTA on your internal storage, its just a zip file, open it with something like WinRAR and look for Firmware.zip, open that and extract recovery.img, you will see other things in there too like HBOOT etc, just ignore those, you only want the recovery for now.
Place the recovery that you just extracted into your fastboot folder and reboot your phone to fastboot mode, then flash it:
fastboot flash recovery recovery.img
It may be that the rom you flashed just has an out of date recovery in it and needs updating.
Once your phone is back on, check for updates again and see if it will install.
The trouble with OTAs is everything must be the same, if anything is disabled or missing that the OTA wants to update then it will fail, most of the time its down to an out of date recovery.
---------- Post added at 08:06 PM ---------- Previous post was at 07:19 PM ----------
You could always try manually updating if the above fails, link below is for the OTA, and the instruction on how to install it are at the top of the page.
OTA M7 U K44 SENSE55 MR HTC Asia WWE 4.20.707.7-3.63.707.4 Release 350432vv58wn1jy1a88n9h
Download
http://www.htc1guru.com/dld/ota_m7_...-63-707-4_release_350432vv58wn1jy1a88n9h-zip/
Instructions at the top of the page here:
http://www.htc1guru.com/downloads/ota-downloads/
The first set of numbers is what your rom will be updated too: 4.20.707.7
The second set of numbers is the rom version you are currently running: 3.63.707.4
K44 SENSE55 this bit means you will get KitKat 4.4 with Sense 5.5
Seanie280672 said:
you could try this, when you download the OTA, select install later, then plug you phone into your computer, and find the OTA on your internal storage, its just a zip file, open it with something like WinRAR and look for Firmware.zip, open that and extract recovery.img, you will see other things in there too like HBOOT etc, just ignore those, you only want the recovery for now.
Place the recovery that you just extracted into your fastboot folder and reboot your phone to fastboot mode, then flash it:
fastboot flash recovery recovery.img
It may be that the rom you flashed just has an out of date recovery in it and needs updating.
Once your phone is back on, check for updates again and see if it will install.
The trouble with OTAs is everything must be the same, if anything is disabled or missing that the OTA wants to update then it will fail, most of the time its down to an out of date recovery.
---------- Post added at 08:06 PM ---------- Previous post was at 07:19 PM ----------
You could always try manually updating if the above fails, link below is for the OTA, and the instruction on how to install it are at the top of the page.
OTA M7 U K44 SENSE55 MR HTC Asia WWE 4.20.707.7-3.63.707.4 Release 350432vv58wn1jy1a88n9h
Download
http://www.htc1guru.com/dld/ota_m7_...-63-707-4_release_350432vv58wn1jy1a88n9h-zip/
Instructions at the top of the page here:
http://www.htc1guru.com/downloads/ota-downloads/
The first set of numbers is what your rom will be updated too: 4.20.707.7
The second set of numbers is the rom version you are currently running: 3.63.707.4
K44 SENSE55 this bit means you will get KitKat 4.4 with Sense 5.5
Click to expand...
Click to collapse
With this "Guru_Reset_M7_3.63.707.4" my software number is 3.63.707.3 not 3.63.707.4
Should I try anyway?
andrekerplunk said:
With this "Guru_Reset_M7_3.63.707.4" my software number is 3.63.707.3 not 3.63.707.4
Should I try anyway?
Click to expand...
Click to collapse
That's strange ????, you are s-off right ?
That's probably the mis-match you are getting.
Seanie280672 said:
That's strange ????, you are s-off right ?
That's probably the mis-match you are getting.
Click to expand...
Click to collapse
Yes, I'm s-off
Also found it strange when downloading something and another appears.
Now I do not know what to do, since I have not the correct stock file.
3.63.707.3 = M7_UL (4g)
3.63.707.4 = M7_U (Non 4G)
Is your phone the 4g version or the non 4g version ? your output in the first post says non 4g (M7_U), but im wondering if at some point you changed your firmware to do that, don't want you flashing the 4g firmware if you don't have the 4g phone, it may brick it.
Seanie280672 said:
3.63.707.3 = M7_UL (4g)
3.63.707.4 = M7_U (Non 4G)
Click to expand...
Click to collapse
i'm M7U but guruRESET send me a wrong. I don't understand. And Now? =T
andrekerplunk said:
i'm M7U but guruRESET send me a wrong. I don't understand. And Now? =T
Click to expand...
Click to collapse
Yes, lots of people having the same problem in India, here is how to fix it: http://forum.xda-developers.com/showthread.php?t=2669217
Post 5 has the answer, you will have to download the RUU zip they linked and flash that instead, its for your MID and CID, I already checked, you will probably have to put TWRP recovery back on your phone first to flash that zip, you should get working OTA's then, but if you don't then refer to post 8 and what he did to get OTA's
Seanie280672 said:
Yes, lots of people having the same problem in India, here is how to fix it: http://forum.xda-developers.com/showthread.php?t=2669217
Post 5 has the answer, you will have to download the RUU zip they linked and flash that instead, its for your MID and CID, I already checked, you will probably have to put TWRP recovery back on your phone first to flash that zip, you should get working OTA's then, but if you don't then refer to post 8 and what he did to get OTA's
Click to expand...
Click to collapse
And how I install this rom 'RUU Zip M7_U_JB_50_hTC_Asia_WWE_1.29.707.4_R_Radio_4A.14.3250.13_10.33.1150.01_release_312087_signed_2_4_decrypted.zip"
Now I do not have TWRP, my bootloader say LOCK, s-off, hboot 1:44
Can you guide me?
andrekerplunk said:
And how I install this rom 'RUU Zip M7_U_JB_50_hTC_Asia_WWE_1.29.707.4_R_Radio_4A.14.3250.13_10.33.1150.01_release_312087_signed_2_4_decrypted.zip"
Now I do not have TWRP, my bootloader say LOCK, s-off, hboot 1:44
Can you guide me?
Click to expand...
Click to collapse
It shouldn't matter that your bootloader is locked as you are s-off.
Just download TWRP, put your phone in fastboot mode and then fastboot flash recovery (filename).zip to flash the new recovery, then transfer the rom RUU zip to your phone and flash it in recovery as normal.
Seanie280672 said:
It shouldn't matter that your bootloader is locked as you are s-off.
Just download TWRP, put your phone in fastboot mode and then fastboot flash recovery (filename).zip to flash the new recovery, then transfer the rom RUU zip to your phone and flash it in recovery as normal.
Click to expand...
Click to collapse
where I download TRWP
andrekerplunk said:
where I download TRWP
Click to expand...
Click to collapse
http://techerrata.com/browse/twrp2/m7
Download 2.6.3.3 then put it in your fastboot folder on your computer and rename it to recovery.img for ease later on
Reboot your phone into fastboot mode
Then plug into your computer, it should now say fastbootUSB on your phone
Then open command promt, easiest way is inside your fastboot folder on your computer, hold control + shift + right mouse click and select open command window here
then type fastboot flash recovery recovery.img and press enter (it only take a few seconds)
reboot your phone and copy the rom RUU zip to the phone storage
When finished, uplug your phone from the computer and boot to recovery
select wipe first and swipe to factory reset
then select install and choose the rom RUU zip in the list, swipe to begin the install.
Seanie280672 said:
http://techerrata.com/browse/twrp2/m7
Download 2.6.3.3 then put it in your fastboot folder on your computer and rename it to recovery.img for ease later on
Reboot your phone into fastboot mode
Then plug into your computer, it should now say fastbootUSB on your phone
Then open command promt, easiest way is inside your fastboot folder on your computer, hold control + shift + right mouse click and select open command window here
then type fastboot flash recovery recovery.img and press enter (it only take a few seconds)
reboot your phone and copy the rom RUU zip to the phone storage
When finished, uplug your phone from the computer and boot to recovery
select wipe first and swipe to factory reset
then select install and choose the rom RUU zip in the list, swipe to begin the install.
Click to expand...
Click to collapse
ok...but...
"Updating partition details...
Formatting Cache using make_ext4fs function
Wiping data without wiping /data/media...
Done.
Updating partition details...
Installing '/sdcard/ruuasia.zip'...
Cheching for MD5 file...
Skipping MD5 check: no MD5 file found.
Error flashing zip '/sdcard/ruuasia.zip'
Updating partition details...
Failed"
oh pants, I was hoping we wouldn't have to do it this way, its a bit more complicated, put your phone in fastboot mode and put rom RUU.zip in your fastboot folder on your computer and open a command promt.
From fastboot you need to first re-lock your bootloader
fastboot oem lock
Once locked it will boot back into bootloader
fastboot oem rebootRUU
Now your booted to the black HTC screen. Make sure your Rom.zip file is in your adb/fastboot folder
fastboot flash zip (filename).zip
This takes a couple minutes and you will most likely get a error
(pre-hboot update: please flush immediately)
Make sure device is still in ruu mode(black HTC screen).
now simply reflash the rom.zip
fastboot flash zip (filename).zip
Let it run and it should finish this time
It will reboot to a fully stock build.
just remember, anytime you get a "flush immediately" error, just make sure your still in ruu mode and reflash the zip.
---------- Post added at 11:28 PM ---------- Previous post was at 11:00 PM ----------
I have to go offline now, but i'll check up on you in the morning, but this should work for you now as long as you follow those instructions.
Seanie280672 said:
oh pants, I was hoping we wouldn't have to do it this way, its a bit more complicated, put your phone in fastboot mode and put rom RUU.zip in your fastboot folder on your computer and open a command promt.
From fastboot you need to first re-lock your bootloader
fastboot oem lock
Once locked it will boot back into bootloader
fastboot oem rebootRUU
Now your booted to the black HTC screen. Make sure your Rom.zip file is in your adb/fastboot folder
fastboot flash zip (filename).zip
This takes a couple minutes and you will most likely get a error
(pre-hboot update: please flush immediately)
Make sure device is still in ruu mode(black HTC screen).
now simply reflash the rom.zip
fastboot flash zip (filename).zip
Let it run and it should finish this time
It will reboot to a fully stock build.
just remember, anytime you get a "flush immediately" error, just make sure your still in ruu mode and reflash the zip.
---------- Post added at 11:28 PM ---------- Previous post was at 11:00 PM ----------
I have to go offline now, but i'll check up on you in the morning, but this should work for you now as long as you follow those instructions.
Click to expand...
Click to collapse
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]WP,rcdata,0
(bootloader) ...... Successful
OKAY [218.237s]
finished. total time: 257.516s
thats ok...but the green line not complete in phone!
What do I do?
when its finished it should reboot itself, but I did read somewhere that the progress bar doesn't reach the top, just leave it to do its thing, but looks good so far, its working, you should get OTA's now and matching firmware, if the OTA's don't work have a look at post 8 in that thread I linked earlier on how to fix it.

[Q] Tutorial in order to update to the latest firmware 6.09.401.5 of HTC One S-ON???

Hello guys,
I have an HTC One S-ON and I want to try the new ROM with 4.4.3. In order to use those new ROMs, all the developers recommended to update first the firmware. Sadly, many of you have an S-OFF phone where are lots of tutorials that can help you. So, I've read a lot and made a short tutorial. If anyone of you can help me if a confirmation or not of this will be great and could help me to upgrade my phone to the latest firmware!!!
How to flash?
(bootloader needs to be relocked)
1.Re-lock your bootloader (this will most probably wipe content of your device)(Type in “fastboot oem lock”)
2.Copy downloaded .zip(from this site https://www.androidfilehost.com/?fid=23622183712460395) to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
3.Re-name .zip file to firmware.zip
4.Open command prompt
5.Boot your device in fastboot mode (vol down + power ===> fastboot)
6.Connect device to the PC
7.In command prompt cd to fastboot.exe location
8.Make sure you have correct modeid and cidnum (type: fastboot getvar all)(I've checked my phone with apk CID Getter and saw that I have modelid: PN0710000 and cidnum: HTC__032 and I think it is ok to flash the firmware)
9.Type: fastboot oem lock (if your device is not relocked yet)
10.Type: fastboot oem rebootRUU and wait for device to reboot(Is there a RUU file that should I download? This is the only trick part that I don't understand . I found this the latest http://www.htc1guru.com/dld/ruu_m7_u...igned_2-1-exe/ RUU file..but I'm not sure what to do with or if I really have to use it )
11.Type: fastboot flash zip firmware.zip and wait for process to complete
12.Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.
13.Type: fastboot flash zip firmware.zip and wait for process to complete
14.Type: fastboot reboot
15.Unlock your bootloader and flash custom recovery if you are going to use custom ROM(Like the usual way using http://www.htcdev.com/bootloader and after that to change the stock Recovery with TWRP)
I hope I've understand everything and all will be right!
Thanks @mike1986. for the beginning tutorial. I've just updated it in order to uderstand the whole process.
Floare said:
Hello guys,
I have an HTC One S-ON and I want to try the new ROM with 4.4.3. In order to use those new ROMs, all the developers recommended to update first the firmware. Sadly, many of you have an S-OFF phone where are lots of tutorials that can help you. So, I've read a lot and made a short tutorial. If anyone of you can help me if a confirmation or not of this will be great and could help me to upgrade my phone to the latest firmware!!!
How to flash?
(bootloader needs to be relocked)
1.Re-lock your bootloader (this will most probably wipe content of your device)(Type in “fastboot oem lock”)
2.Copy downloaded .zip(from this site https://www.androidfilehost.com/?fid=23622183712460395) to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
3.Re-name .zip file to firmware.zip
4.Open command prompt
5.Boot your device in fastboot mode (vol down + power ===> fastboot)
6.Connect device to the PC
7.In command prompt cd to fastboot.exe location
8.Make sure you have correct modeid and cidnum (type: fastboot getvar all)(I've checked my phone with apk CID Getter and saw that I have modelid: PN0710000 and cidnum: HTC__032 and I think it is ok to flash the firmware)
9.Type: fastboot oem lock (if your device is not relocked yet)
10.Type: fastboot oem rebootRUU and wait for device to reboot you will see a black screen with a silver HTC logo(Is there a RUU file that should I download? This is the only trick part that I don't understand . I found this the latest http://www.htc1guru.com/dld/ruu_m7_u...igned_2-1-exe/ RUU file..but I'm not sure what to do with or if I really have to use it )
11.Type: fastboot flash zip firmware.zip and wait for process to complete
12.Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.
13.Type: fastboot flash zip firmware.zip and wait for process to complete
14.Type: fastboot reboot
15.Unlock your bootloader and flash custom recovery if you are going to use custom ROM(Like the usual way using http://www.htcdev.com/bootloader and after that to change the stock Recovery with TWRP)
I hope I've understand everything and all will be right!
Click to expand...
Click to collapse
Basically the flashing the firmware steps when you are S-ON or S-OFF are the same. The only difference is if you are S-ON you must have a locked bootloader, the firmware version must be the same or higher and it must be signed.
Step 10 - You want the device in RUU mode to accept the firmware.
Step 11 - The flashing of the firmware the first time is to set up the device to accept the firmware. It should fail the first time.
Step 12/13 - Exact same code as step 11
majmoz said:
Basically the flashing the firmware steps when you are S-ON or S-OFF are the same. The only difference is if you are S-ON you must have a locked bootloader, the firmware version must be the same or higher and it must be signed.
Step 10 - You want the device in RUU mode to accept the firmware.
Step 11 - The flashing of the firmware the first time is to set up the device to accept the firmware. It should fail the first time.
Step 12/13 - Exact same code as step 11
Click to expand...
Click to collapse
@majmoz Thank you very much for your help! I did it in the end! I was calm and the target was hit..like I could say!
The moderators could close this thread. Thank you guyz for your hard work!

[GUIDE] Return to Stock with hboot 1.56+ (M7) - Telstra Australia (no ruu avail)

Due to the massive inconvenience/time this has caused me, having little experience initially with android devices and coupled with the fact Telstra Australia will not release an RUU to make things easy, I thought I would document my method for those currently on hboot 1.5x+ who are wanting to roll their device back to complete stock. This process is specifically for people who want a Telstra branded rom for warranty and does require sunshine if you have hboot 1.57. This is for the HTC one M7 although I suspect the process is the same on the M8..
This method was performed in Windows 7 as Windows 8 seems to have issue with fastboot commands. If you have a different carrier, are performing this on Mac or plan to use a Nandroid please see nkk71’s superguide for more details. Unfortunately the only 2 Telstra Nandroids I could find both failed for me.
*Please make sure fastboot is unchecked and usb debugging is turned on in developer options
I have packaged all of the tools needed including the RUU.zip I used in the link below. The Guru files are hosted separately.
http://1drv.ms/1AVZvMF
The Guru files are hosted here, you will need both of these.
Stock Rom – Guru Reset
http://www.htc1guru.com/dld/guru_reset_m7_2-24-841-1-zip/ - download
http://www.htc1guru.com/downloads/stock-rom-downloads/ - info
Bootloader to remove tamper/lock bootloader
http://www.htc1guru.com/dld/guru_bootloader_reset_1-0-zip/ - download
http://forum.xda-developers.com/showthread.php?t=2527194 - info
1. S-off must be achieved. If you have it already you are in luck, proceed. This table also appears in nk771's superguide showing what you can or cannot achieve with S-off for reference.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Methods:
a) If you’re on hboot 1.44 use revone -
http://forum.xda-developers.com/showthread.php?t=2314582
http://revolutionary.io/
b) If you are hboot 1.54/1.55 you can attempt rumrunner
http://forum.xda-developers.com/showthread.php?t=2488772
http://rumrunner.us/
c) If you are in hboot 1.56/1.57 you will need sunshine for $25usd as I did. As far as I am aware there is currently no way around it. However I am very happy with this application and support. Firewater is discontinued.
http://theroot.ninja/
2. Reboot into bootloader/fastboot usb and perform getvar
fastboot getvar all
Note the following:
version-bootloader: 1.57.0000– hboot version
cidnum: TELST001 - CID
modelid: PN0714000 – MID
version-main: 5.11.841.9 – firmware
All Telstra devices should have a modelid of PN0714000. If for some reason you do not have this MID see nkk71’s superguide for different MID/CID RUUs and download a different version.
BOOT LOOP
The firmware will be reset to a 1.29.x base when you flash the RUU which is fine for OTA updates. If you have previously experienced boot loop it is because the firmware coming out in the OTA updates is lower than the firmware already installed on your device. Firmware can only be upgraded not downgraded by OTAs.
3. Provided your MID is PN0714000 proceed to change your CID to match RUU CID. The CID associated with the RUU provided is HTC__044
fastboot oem writecid HTC__044
fastboot reboot-bootloader
*confirm CID is now HTC__044 – see bootloader or getvar
4. Flash the RUU.
fastboot oem rebootRUU (silver htc will appear)
fastboot flash ruu.zip (it will report failed flush, repeat command)
fastboot flash ruu.zip (success)
fastboot reboot-bootloader
*bootloader should now read hboot 1.44
5. Change CID back to stock (TELST001)
fastboot oem writecid TELST001
fastboot reboot-bootloader
6. Mount and Launch TWRP custom recovery
fastboot boot openrecovery-twrp-2.8.4.0-m7
7. Once in TWRP your phone become available as a mass storage device. Run an ADB command to check the phone is being recognized in windows and then push the guru reset rom to the device.
adb devices
adb push Guru_Reset_M7_2.24.841.1.zip /data/media
If your device does not display a serial number executing an adb devices command you will need to install the drivers in device manager, it is likely an unrecognized device post RUU flash. See nk771s FAQ for instructions.
8. In TWRP recovery hit install, navigate to the data/media folder and select the Guru_Reset_M7_2.24.841.1.zip
Run through the installer and select the options as seen in this video
https://www.youtube.com/watch?v=Gqfly8XVw6w
When complete hit – do not add root and reboot the device. If it gives option to wipe cache, do so.
9. Boot your phone as normal into the now stock 4.2.2 Rom, set up wireless and install the first two small OTA updates to confirm they are working. If successful uncheck fastboot/enable usb debugging again and reboot phone back into boot loader with adb command.
abd reboot bootloader
10. In fastboot USB mount/launch TWRP recovery then adb push the Guru Boot Loader tool to the device.
fastboot boot openrecovery-twrp-2.8.4.0-m7
adb push Guru_Bootloader_Reset_1.0.zip /data/media
11. Hit Install, Navigate to the folder and launch Guru_Bootloader_Reset_1.0.zip. Run through the wizard and select remove tamper and lock function then wipe cache. Video here for clarification.
https://www.youtube.com/watch?v=yimzmt23E6Q
12. Reboot the phone a few times into bootloader to make sure lock/tamper does not return
fastboot reboot-bootloader
If unlocked/tamper returns or the installer fails you may have to use the manual method, exercise caution. See nk771's FAQ for instructions.
13. Set S-on
fastboot oem writesecureflag 3
fastboot reboot-bootloader
Fastboot into bootloader a few times to make sure everything is fine before proceeding to final OTA updates.
14. Boot phone normally and proceed to do all of the remaining OTA updates to bring your software/firmware up to latest version. Sometimes the phone will boot into stock recovery mode first time after S-on, just reboot it, it will come good.
If you would prefer to use a Nandroid backup (although I am not sure why), start from step 7 and restore it via TWRP or CWM (depending on the backup type) in place of Guru Reset. After this is complete you can proceed with the remaining steps.
This all came about from Telstra being unwilling to repair my purple haze issue (which is clearly a sensor/camera module hardware defect) while having my bootloader unlocked/tampered. The purple haze issue occurred when my device was factory locked. I understand unlocking the boot loader voids warranty but this issue is hardware related which happens on stock software/firmware. I find it a little dishonest that HTC/Telstra want to charge me to have my unit replaced/repaired when it's a known hardware defect unless I am willing to go back through the process of making this device look like it's stock. I hope this can help some of the Telstra customers in the same position as RUU/Nandroids are almost non existent. Thank god for guru!
Swattysin said:
This table shows what you can or cannot achieve with S-off for reference. Cannot remember exactly where I found this.
Click to expand...
Click to collapse
its also from nkk71's guide
http://forum.xda-developers.com/showpost.php?p=52135024&postcount=2 "not so FAQ 2)"
and also here: http://forum.xda-developers.com/showpost.php?p=49832723&postcount=388
alray said:
its also from nkk71's guide
http://forum.xda-developers.com/showpost.php?p=52135024&postcount=2 "not so FAQ 2)"
and also here: http://forum.xda-developers.com/showpost.php?p=49832723&postcount=388
Click to expand...
Click to collapse
Ohh rad, cheers , I will update. The second post is where I saw it
Swattysin said:
I have packaged all of the tools needed including the RUU.zip I used in the link below. The Guru files are hosted separately.
http://1drv.ms/1AVZvMF
Click to expand...
Click to collapse
Hey Swattysin. Do you still have the RUU.zip? I couldnt get your link to work.
Thanks for your guide!
I checked the file on my onedrive and it appears to be fine. Does the rar fail to open once downloaded or you cannot download the link period?
Try this one
http://1drv.ms/1AVZvMF
If downloading that file fails let me know and I will upload it to dropbox instead
Deuser said:
Hey Swattysin. Do you still have the RUU.zip? I couldnt get your link to work.
Thanks for your guide!
Click to expand...
Click to collapse
Swattysin said:
Try this one
http://1drv.ms/1AVZvMF
Click to expand...
Click to collapse
Thanks for that Swattysin. Looks like it was just my computer, tried the link on another computer and it worked fine!
Thanks again!
Swattysin said:
4. Flash the RUU.
fastboot oem rebootRUU (silver htc will appear)
fastboot flash ruu.zip (it will report failed flush, repeat command)
fastboot flash ruu.zip (success)
fastboot reboot-bootloader
Click to expand...
Click to collapse
Cheers for the instructions, still going through it but one correction, the command fastboot flash ruu.zip needs to be fastboot flash zip ruu.zip
chrysilis said:
Cheers for the instructions, still going through it but one correction, the command fastboot flash ruu.zip needs to be fastboot flash zip ruu.zip
Click to expand...
Click to collapse
Will recommend you to directly follow instructions from nkk71's superguide to return stock (linked in my sig).

[ROM] & [RUU] HTC One M8 Google Play Edition | Marshmallow 6.0 MRA58K.H11

M8 Google Play Edition RUU and Flashable Stock ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
March 16th 2016 - Android 6.0 - Build MRA58K.H11 - Firmware version 5.07.1700.11​
*Disclaimers*​
There is always a chance things may go wrong. As always, you take responsibility for what you do with your device, you should know what your getting yourself into. If you don't, STOP! Please do not flash this! You need to READ, READ, READ the OP and these forums until you feel confident enough to do so.
Directions for flashing the ROM or RUU are laid out step by step. Read them! If you read them there should be no issues and you will have a good day. If you don't and decide to skip over things then you will have a bad day. I'm sorry but do not report your issues if you cannot be bothered to read and follow directions. Experience, knowledge and common sense is required.
Special Notes
1. The RUU is meant for restoring GPe devices and for those who want to "convert" their device to GPe. *Must be S-Off
2. Before using the RUU to "convert" your device to GPe, I suggest you try the flashable ROM first. *Flashable Stock ROM is S-ON compatible.
Remember, you DO NOT need to use or "convert" to any GPe firmware to boot the Flashable Stock ROM.
Prerequisites for flashing RUU's and firmware
1. Must have knowledge of adb and fastboot plus a working setup on your PC, Linux or Mac.
Note: Mac and Linux users, the fastboot and adb commands presented in the instructions below must include ./ so it would be ./fastboot or ./adb but you already knew that.
If you have issues with fastboot that came in the Android sdk try this version. PC HTC fastboot, Mac HTC fastboot, Linux HTC fastboot.
2. HTC drivers installed. HTC sync should be uninstalled or make sure it doesn't launch when your phone is connected.
3. A microSD card
4. Must be S-Off
GPe RUU
*Know your skill level, don't do this if don't understand what your doing.
*Anytime you flash an RUU it will wipe /data /cache & internal storage.
*GPe device or not, the RUU is not signed with HTC's special keys so you must be S-Off.
*About using the RUU to convert to GPe*
*GSM Devices Only! Verizon and Sprint / CDMA devices are not compatible. Dual SIM M8's are also not compatible.
*Converting to GPe, you must be S-Off.
*Converting to GPe will partition your /system to 1 gig. The Sense partition is 2.62 gig, you will have to convert back to flash Sense ROMs again.
*When receiving OTA updates it is likely they will fail if you are rooted or have made any other /system alterations. When the script verifies the /system, /bin/app_process32 is checked. Root and Xposed both modify this file.
Changing the CID
All these CID and MID's will be accepted for the update. While the updater script will flash using supercid 11111111 the firmware will fail because these are the only CID and MID's that are in the android-info.txt
Code:
modelid: 0P6B10000
modelid: 0P6B12000
modelid: 0P6B13000
modelid: 0P6B11000
modelid: 0P6B15000
modelid: 0P6B16000
modelid: 0P6B17000
cidnum: GOOGL001
Make note of your original CID and MID. If your MID isn't listed in that list then you probably don't have a GSM device. If your device is indeed a GSM device you should not have to change your MID. If you have a GSM device you may choose to change the MID to match the Google version so you know OTA's don't fail but so far it's not necessary since HTC has been nice enough to include all the GSM MID's in the android-info.txt in the firmware part of the update and updater scripts.
If your MID is one of the following please stop and do not use the RUU, you have a CDMA device and this RUU is not compatible.
Verizon 0P6B20000
Sprint 0P6B70000
Europe M8 Dual sim 0P6B64000 <--- It is a GSM device but still not compatible.
How to check:
adb shell or terminal emulator: getprop ro.boot.cid in 6.0 use getprop ro.cid and getprop ro.boot.mid or getprop ro.mid
In fastboot: fastboot getvar all
Changing the CID
1. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
3. fastboot oem writecid GOOGL001 "press enter"
4. fastboot reboot-bootloader "press enter"
Changing the MID refer to this thread. Google MID is 0P6B17000 http://forum.xda-developers.com/showthread.php?t=2708581
Flashing the RUU
1. If you can, flash it via fastboot method.
2. If you can't use fastboot then try the Ext. SD card method. For Marshmallow rename the file 0p6bdiag.
3. If you followed the steps below and your still stuck in an infinite loop try flashing TWRP or Philz and do a factory reset from there, it has worked for others.
Method 1
*ADB / Fastboot*
First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Rename the RUU.zip to something short and easy like RUU.zip
2. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
3. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
4. fastboot flash zip RUU.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
5. fastboot flash zip RUU.zip "press enter"
6. fastboot reboot-bootloader "press enter"
7. Select hboot, Do a factory reset in recovery. To enter the recovery menu when greeted by the Android with an exclamation, Hold Power button and click Volume UP.
8. Done, reboot system
Method 2
*External / mircoSD card*
1. Rename the RUU.zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Reboot then remove your sdcard. Hold Power and Volume UP until it reboots then Hold Power and Volume down until you get back to hboot.
9. Do a factory reset in recovery. To enter the recovery menu when greeted by the Android with an exclamation, Hold Power button and click Volume UP.
10. Done, reboot system
Root
Systemless Root Simply flash the newest SuperSU in a custom recovery.
Important! Update to TWRP 3 Official TWRP image download
Stable: http://forum.xda-developers.com/showthread.php?t=1538053
Beta: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Download
AFH Repository
DevDB
Graffixnyc Repository
Do Not Disturb, Priority Mode Starred Contact Fix
Flashable Stock GPe ROMs
Update to TWRP 3 Official TWRP image download
Special notes:
[*] Builds now use AROMA installer with Stock, Traditional Root and Systemless Root installs.
[*] Nothing special it's a stock ROM, flash it in a custom recovery like any other ROM out there.
[*] S-ON compatible
Install: using TWRP 3
1. Perform a data / factory reset if coming from a different ROM *If your updating this ROM no wipe is necessary.
2. Flash ROM.
3. Reboot and Enjoy!
4. First boot will take 5 to 10 minutes, on average I've noticed it takes about 7.
Download
AFH Repository
DevDB
Graffixnyc Repository
Verizon Port
Sprint Port
Firmware
What is firmware you ask. By most peoples definition here on XDA it would be any other software that does not pertain to the OS and kernel. Usually there are two essential pieces of software that are needed to run the device and OS. The first is working drivers, in Android it would be the kernel and modules which is the software that lets your OS talk to the hardware. The second is firmware, which is a small piece of code that is flashed directly to the device for it to function correctly. Firmware is a way of programming the hardware inside the device itself.
*Must be S-Off to flash these firmware files. The firmware.zips are not signed with HTC's special keys so they will fail if your S-On. They are modified in a sense as they do not contain a boot.img or recovery.img anymore, this is why they are not signed. Now you can flash them over any OS without having to restore your boot.img and recovery. Stock recoveries are available as a separate flash.
*If the GPe ROM booted and your not having any major issues I suggest you leave your firmware alone.... but if you choose to you can flash the GPe firmware without hboot (hboot is the booloader). This will give you the benifits of the GPe firmware while retaining your Sense partition of 2.62gig, plus your internal storage won't get wiped in this process. Then if you decide to flash a Sense ROM later you don't have to go through the hassle of converting back. Sense ROMs work perfectly fine with the GPe firmware without hboot, but if you want to get back to your carriers original firmware its a simple matter of flashing a firmware zip.
Flashing instructions
Method 1
*External / mircoSD card*
1. Rename the firmware zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Make sure to delete or rename the Op6bimg.zip on your external sdcard when your finished
Method 2
*ADB / Fastboot*
First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Rename the firmware.zip to something short and easy like firmware.zip
2. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
3. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
4. fastboot flash zip firmware.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
5. fastboot flash zip firmware.zip "press enter"
6. fastboot reboot-bootloader "press enter"
Latest firmware zips, GPe and Sense
AFH Repository
Return to Sense after conversion
This is not a support thread for how to return to sense. Do not report issues or ask for help here.
1. Refer to Changing the CID below and change it to super CID 11111111
2. Download this firmware package. http://www.androidfilehost.com/?fid=23329332407589439
If it doesn't end up working for you use a different firmware zip. All the packages available in the firmware section have everything you need except you will need to download the corresponding recovery zip as well. Either flash the recovery file separately after the firmware zip or simply extract the recovery.img from the zip and add it to the firmware zip before proceeding. If you need a zip utility I use 7zip
3. It's recommended you use fastboot method as described in step 4, but you can flash the firmware zips with the sd card method if you prefer, once your done proceed to step 10.
4. Rename the firmware.zip to something short and easy like firmware.zip
5. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
6. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
7. fastboot flash zip firmware.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
8. fastboot flash zip firmware.zip "press enter"
9. Done. fastboot reboot-bootloader "press enter"
10. Do a factory reset in recovery. If you boot into recovery and the menu doesn't appear and your greeted by a "red triangle with an exclamation" hold volume up and click power, if that doesn't work reverse the button combo.
11. Reboot back into the bootloader
12. Flash TWRP, Fastboot method: fastboot flash recovery twrp-3.0.0-1-m8.img or Ext. SD card method. If the current TWRP doesn't boot for you use 2.7.0.2
13. Boot into TWRP
14. Perform a full factory reset
15. *Important: Reboot recovery
16. Install a Sense ROM or use an RUU.exe
17. Flash an updated firmware package, the one you downloaded in step 2 is really old. If you flashed an RUU then there is no need to perform this step.
Original thread..
Sense RUU's.
Changing the CID
Your CID and MID must match the RUU you want to flash. Chances are you never messed with the MID but if you did you should probably change it back. Refer to this thread if you did change your MID. http://forum.xda-developers.com/showthread.php?t=2708581
How to check:
adb shell or terminal emulator: getprop ro.boot.cid and getprop ro.boot.mid
In fastboot: fastboot getvar all
Not sure what your CID & MID was originally? Here is a list.
If you don't remember try using Super CID 11111111
Code:
CID MID Carrier
CWS__001 0P6B12000 AT&T
T-MOB010 0P6B13000 T-Mobile
GOOGL001 0P6B17000 Google Play Edition
BS_US001 0P6B12000 Developer edition
BS_US002 0P6B13000 Developer edition
HTC__023 0P6B11000 Australia
HTC__032 0P6B10000 Europe
HTC__001 0P6B10000
HTC__J15 0P6B10000
HTC__E11 0P6B10000
HTC__203 0P6B10000
HTC__102 0P6B10000
HTC__405 0P6B10000
HTC__Y13 0P6B10000
HTC__A07 0P6B10000
HTC__304 0P6B10000
HTC__016 0P6B10000
HTC__M27 0P6B10000
HTC__K18 0P6B10000
HTC__002 0P6B10000
HTC__A48 0P6B10000
1. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
*Alternatively, Power off device then Hold Power and Volume Down, select fastboot, plug phone into PC
2. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
3. fastboot oem writecid XXXXXXXX "press enter" replace xxxxxxxx with a cidnum
4. fastboot reboot-bootloader "press enter"
Flashing the RUU
First option and the one you should use. RUU.exe from HTC. Simply run the RUU from your PC to return to stock.
http://www.htc.com/us/support/rom-downloads.html
UK and international users. 4.16.401.10 RUU.exe
https://www.androidfilehost.com/?fid=24052804347849198
---------------------------------------------------------------------------------------------------
Second option. RUU.zip
These RUUs were made by decrypting the official HTC RUU.exe's using this tool
* WWE International * DevEdition * AT&T * TMOUS *
https://www.androidfilehost.com/?w=files&flid=41675
---------------------------------------------------------------------------------------------------
RUU flashing
Method 1
*ADB / Fastboot*
First, make sure you have the path to adb and fastboot setup in your system environment variables
When you open a command prompt, open it in the folder the zip is in. Hold shift, Left Mouse click, open command prompt here.
1. Rename the RUU.zip to something short and easy like RUU.zip
2. adb reboot bootloader "press enter" Wait till phone reboots into fastboot
3. fastboot oem rebootRUU "press enter" Wait till the phone is in RUU mode (black screen with HTC logo)
4. fastboot flash zip RUU.zip "press enter"
*You will get the following message: FAILED (remote: 90 hboot pre-update! please flush image again immediately)
*RUU mode will reboot,
*Now run the same command again,
5. fastboot flash zip RUU.zip "press enter"
6. fastboot reboot-bootloader "press enter"
7. Select hboot, Do a factory reset in recovery. To enter the recovery menu when greeted by a "red triangle with an exclamation", Hold Volume UP and click Power.
8. Done, reboot system
Method 2
*External / mircoSD card*
1. Rename the RUU.zip to "0p6bimg" or "0p6bdiag" Note: the name is not case sensitive
2. Place the zip in the root of your external SD card
3. Power off the phone
4. Boot into Hboot (hold volume down as you power on the device)
5. The zip will automatically load and ask you if you would like to proceed
6. Select "Yes"
7. Wait, the zip will load the hboot first, it will then reboot and continue
8. Reboot then remove your sdcard. Hold Power and Volume UP until it reboots then Hold Power and Volume down until you get back to hboot.
9. Do a factory reset in recovery. To enter the recovery menu when greeted by a "red triangle with an exclamation", Hold Volume UP and click Power.
10. Done, reboot system
FAQs & Issues
FAQs
Q. Can I take OTA updates?
A. If you did the non rooted RUU and your /system is unaltered, you have the stock recovery and you have changed the CID to GOOGL001 then YES, yes you can.
Q. Is this compatible with my device?
A. The ROM and RUU are only compatible with GSM devices. If you got your phone through Verizon or Sprint then No you can't use this. Dual SIM M8's are also not compatible.
Q. Do I have to be S-Off to use the flashable stock ROM?
A. No
Q. Do I have to convert or use GPe firmware to use the flashable stock ROM?
A. No. If your phone had Sense 6 5.0.1 out of the box or you had taken that OTA, your bootloader is unlocked and have TWRP installed then your good to flash the stock ROM.
Q. Do not disturb, priority mode doesn't seem to work...
A. Thanks to @kbitz for the fix Do Not Disturb, Priority Mode Fix http://forum.xda-developers.com/showpost.php?p=64809811&postcount=4041
Q. I can't get RRO layers to work, what am I doing wrong?
A. Nothing, RRO Layers was not included by HTC. So in short it doesn't work nor will it ever! Don't even ask!
Q. How do I enable the SystemUI Tuner in 6.0?
A. Pull down the notification shade, Long press the settings gear. It's hard to see but the gear will spin under your finger. Press and hold, this may take a long time and may take multiple attemps but you will get a toast saying the "SystemUI Tuner is active". The menu will appear in the settings under About phone.
Q. How do I enable multi window in 6.0
A. You need to edit the build.prop, look for ro.build.type=user change it to ro.build.type=userdebug save the file and reboot. If you haven't already you need to enable developer options. In About phone you have to tap the build number several times to enable. In developer options you'll find the multi window switch about 3/4ths the way the down the settings list.
Q. Does the duo camera Ufocus and 3D effects work on GPe?
A. Yes it does. Google camera supports the duo effect. HTC FX editor is a stock feature of GPe so Ufocus and 3D effects all work.
Q. I don't see Trusted face in Smart lock, am I missing something?
A. Trusted face was removed in 5.0.1, probably to make room in the /system. Trusted face for (M8) GPe Marshmallow. Ported from the Nexus 6
Q. I can't get Titanium Backup to work with my sd card, I keep getting an insufficient free storage error.
A. Take a look at this post. http://forum.xda-developers.com/showpost.php?p=64064833&postcount=3714
Q. I'm having Ext. SD card permission issues with ***** app. It can't write to my external microSD card.
A. In Lollipop and Marshmallow your app needs to be granted permissions to the root of the Ext. SD card by DocumentsProvider Storage.
1. The app may need updated. Usually the app will open the DocumentsProvider so you can select your card.
2. Make sure when you selected the Ext. SD card in DocumentsProvider that you were in the root directory.
Issues
1. WiFi may drop out when the screen is off. This issue involves more then just firmware. 5.0.1 and 5.1 used new DHCP protocols, 6.0's protocols are updated and work better on legacy devices but you may have less or no drop out issues with newer WiFi
routers.
2. Do not disturb / Priority mode is broken... HTC added some code from sense that has broken your notifications from starred contacts when DND is enabled. When DND is enabled with "Priority Only" and a starred contact sends you a text or phone call the ringer should sound and vibrate depending on what your configuration is, but what happens is when the contact is validated its looking for a column "VIP" in the contacts.db, well "VIP" doesn't exist in Google contacts only in Sense contacts... so it doesn't validate and you don't get the notification. Flashable fix.
XDA:DevDB Information
HTC One M8 Google Play Edition, ROM for the HTC One (M8)
Contributors
enewman17
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 5.07.1700.11
Based On: GPe
Version Information
Status: Stable
Current Stable Version: MRA58K.H11
Stable Release Date: 2016-03-16
Created 2016-02-28
Last Updated 2016-04-06
reserved
I just wanted to confirm, I can flash this over Graffix's H9 GPE rom to update my phone?
Zabalba said:
I just wanted to confirm, I can flash this over Graffix's H9 GPE rom to update my phone?
Click to expand...
Click to collapse
Yes, but to be fair I made that H9 build.
enewman17 said:
Yes, but to be fair I made that H9 build.
Click to expand...
Click to collapse
Thanks for confirming, and my apologies. I missed adding the word "thread".
Those of us that still rock this HTC One appreciate the time you take to update our devices.
Thanks for picking up the project! Also, do you think I could flash this over Grafix's H4 Build or would there be errors. Hopefully Marshmallow comes soon. Once again, thanks!
Masterguy635 said:
Thanks for picking up the project! Also, do you think I could flash this over Grafix's H4 Build or would there be errors. Hopefully Marshmallow comes soon. Once again, thanks!
Click to expand...
Click to collapse
You'll be fine dirty flashing.
Sent from my HTC One_M8 using Tapatalk
Does the stock rooter rom work ok on sense m8s? I am S-on and don't want to S-off.
tlazar4 said:
Does the stock rooter rom work ok on sense m8s? I am S-on and don't want to S-off.
Click to expand...
Click to collapse
Says it right there if you click the button for the stock rom.
"You do not need to be S-Off just make sure you are on the latest Sense firmware for your device and a custom recovery"
Click the link, check the names. The first in the list is HTC_One_M8_Lollipop_5.1_LMY47O.H10.zip -- that's the one you want to download and flash.
Yes i have seen that, but in other XDA threads are talking about different partition sizes, some also say that stock android runs very laggy on sense m8 so i wonder if someone has tried it already?
tlazar4 said:
Does the stock rooter rom work ok on sense m8s? I am S-on and don't want to S-off.
Click to expand...
Click to collapse
tlazar4 said:
Yes i have seen that, but in other XDA threads are talking about different partition sizes, some also say that stock android runs very laggy on sense m8 so i wonder if someone has tried it already?
Click to expand...
Click to collapse
No...
All ROMs made for M8 won't work on M8S
M8S is completely different device
i apologise i forgot the apostrohpe i ment m8's it is a m8 sense edition
Thank you @enewman17 for opening this thread and continueing with your work on GPE!
Just a question, is it better to be on GOOGL001 cid than on 11111111 cid before RUU-ing GPE RUU?
And is it possible that you add your steps for converting back to SENSE from GPE in the OP? The "converting back" thread is old and very confusing. That's the only reason I'm holding back not to RUU GPE.
I just want to be sure. If I'm updating from H9 to H10 no wiping is needed? No bugs will occur?
tlazar4 said:
Yes i have seen that, but in other XDA threads are talking about different partition sizes, some also say that stock android runs very laggy on sense m8 so i wonder if someone has tried it already?
Click to expand...
Click to collapse
The partition size doesn't matter, you actually probably want to stay on a sense partition since its larger especially if you want to add mods. And the rest of the firmware doesn't matter either, least from my experience. I still use the sense hboot to keep sense partition while I do use the rest of the GPE firmware I never noticed any difference to be honest.
enel_ said:
Thank you @enewman17 for opening this thread and continueing with your work on GPE!
Just a question, is it better to be on GOOGL001 cid than on 11111111 cid before RUU-ing GPE RUU?
And is it possible that you add your steps for converting back to SENSE from GPE in the OP? The "converting back" thread is old and very confusing. That's the only reason I'm holding back not to RUU GPE.
Click to expand...
Click to collapse
If you want to convert and take OTA's then I would use the Google cid but if I remember correctly super cid number is in the OTA script so it should also work. If you don't care about the OTA as much I wouldn't convert. In the firmware section there is GPE firmware without hboot that will retain sense partition while utilizing the rest of the firmware.
I'll add steps for returning to sense in the op...
FIFATG said:
I just want to be sure. If I'm updating from H9 to H10 no wiping is needed? No bugs will occur?
Click to expand...
Click to collapse
Obviously make a backup first, but yes you'll be fine.
Sent from my HTC One_M8 using Tapatalk
So glad you started this thread, as I literally converted to GPE just a few days ago. Have been hemming and hawing about it for about a month and finally took the plunge. Forgot how fast and fluid the M8 can be!
While I'm running the latest H10 release, I am thinking of going back to KitKat GPE. Reasons are just personal, kind of just like the interface a bit more. My question is to stop the OTA to upgrade after I go back and flush the KitKat RUU. What are the best ways to stop the lollipop ota notification without causing wakelocks? Does autostarts still do the job in blocking the google play service receivers? I know I want to truly stop the OTA, and not just disable the notification as i know that will still cause wakelocks. Any advice would be appreciated.
Set DPI to 430
Use Nova Laumcher
Reduced navigation size to 32
Enable AmbientDisplay
Dont used Xposed, this is all I used on this rom. Fast as hells
Love this GPE rom - Only one GPE I used. Sense always LeeDroid rom
Sitback and wait M come to our M8 :good:
---------- Post added at 10:59 PM ---------- Previous post was at 10:40 PM ----------
And one question: option HTC Weather in Settings use for what?
blackbuffalo said:
And one question: option HTC Weather in Settings use for what?
Click to expand...
Click to collapse
HTC Dot view
@enewman17 would you mind posting your modified firmware to the OP? I would like to try it. Thank you in advance.
Thank you @enewman17 for opening this new thread sense the other one is closed, I have been using your AFH to get firmware updates and this ROM updated regardless sense the last 2 updates.

Categories

Resources