yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] enewman17:
You know what it was my fault, I was trying to test the lazy way. Seems I needed a data wipe, everything is fine.

Updated the H9 RUU with a cleaned up system.img All the empty folders are gone, HTC should learn to use "delete_recursive"
[One (M8) Android Development] d9vx:
enewman17, One thing I miss from the "Doppelkanger" GPE ROM is the Moto X Camera.

I have tried to extract it from the Zip file and load it into System Apps but it just will not install. Can you point me in the direction of where the camera originally came from? As there are quite a number of MotoX Apk's out there.

Many thanks
[One (M8) Android Development] thelangosta:
Here one I just found with a quick search.

http://xdaforums.com/showthread.php?t=3172783
[One (M8) Android Development] chamilun:
dirty flashed the r9 zip. Went great. Thanks again to the OP!
[One (M8) Android Development] qf19910623:
RUU_CLEAN_HTC_One_M8_GPe_Marshmallow-6.0_MRA58K.H9_5.07.1700.9_0p6bdiag.zip

what does it mean for CLEAN ?
[One (M8) Android Development] alex2693836:
I flash the sense camera 7 for MM but nothing happen :(
[One (M8) Android Development] DROITURK182:
Do you have the extra sense partitions to flash it? Or did you do the RUU and completely go to conversion route?
[One (M8) Android Development] alex2693836:
How can i make it work , i dont have any coversions im on sense firmware LP
[One (M8) Android Development] enewman17:
HTC's install script for all the OTA's left a bunch of empty folders in the /system. I deleted them now the system image is clean...
[One (M8) Android Development] alex2693836:
And I didn't do any RUU :)
[One (M8) Android Development] DROITURK182:
Flash these two zip files in recovery, the permissive.zip and then the sense camera and gallery zip in that order.

https://www.dropbox.com/sh/lrkm8meyrlafzcj/AADcuL1hlSGoaC6_-V0vLhnCa?dl=0
[One (M8) Android Development] chamilun:
I flashed only the camera and fixed permissions manually. Works fine, but doesnt save photos to the gallary (little icon in lower right of camera).
[One (M8) Android Development] exist2resist:
Question if I want to go back to sense and Telus(Canada) is my carrier should I use international or US firmware?

All I want to do is flash back so I can carrier unlock my phone, then flash back to GPE as I'll be switching carriers.
[One (M8) Android Development] enewman17:
Doesn't look like HTC has ruu for telus but you could use either or. I might try US firmware for AT&T. But honestly i don't think it matters too much.
[One (M8) Android Development] DROITURK182:
I think you have to grant the camera app to use sd storage permissions, open settings, go to apps, find sense camera and grant it permission to use sd storage, or just erase data and cache and open app for first time again and it should ask for those permissions again.
[One (M8) Android Development] fBx:
I have a question,

you know I have this bug that I need to select carrier on every reboot. Well not on every reboot but most of the time.

This can be fixed apparently by flashing GPE firmware but I'm not s-off.

Somewhere I read it can also be fixed by going back to RUU and update it through to latest official version, so that firmware gets updated again, and then install GPE again. Will that work to fix my carrier issue? Or do I absolutely have to flash the firmware with s-off?

Thinking of resetting again and installing newest build clean to get my phone up on speed again, so I could also RUU through before, doesn't make that much of a difference.
[One (M8) Android Development] exist2resist:
It does, I used the European RUU.exe and now the OTAs fail.

Let's hope I can carrier unlock it, because that it the only reason for going back to Sense for me.

As soon as that happens I'm going back to GPE anyways.

EDIT: The Network Carrier Unlock worked. Back to GPE.
[One (M8) Android Development] DROITURK182:
One thing that worked for me is once the phone reboots and ask for carrier choose automatic not manual.
[One (M8) Android Development] enewman17:
Do not disturb, priority mode fix

If you've probably noticed priority mode is broken... Thanks to [MENTION=3390735]kbitz[/MENTION] for the fix

Do Not Disturb, Priority Mode Fix https://www.androidfilehost.com/?w=files&flid=47731

If you want your Messaging app to sound notifications you need to allow it priority notifications. Settings > Sound & notification > App notificaions

original thread
[One (M8) Android Development] fishluke:
Does installing the RUU update the firmware to GPE edition?
[One (M8) Android Development] thelangosta:
Yes, an RUU updates everything. It will also wipe your internal storage and remove root. Your phone will be stock GPE.

Edit: and it changes your partitions to GPE so you will have a much smaller system partition if you are currently on sense.

Edit2: there are easier ways to update the firmware if that's all you need. Enewman has firmware files on afh.
[One (M8) Android Development] FIFATG:
Great ROM with cool new features.

Thanks again for all the work, graffixnyc!
[One (M8) Android Development] lesterinidad:
Can I run the RUU posted on the OP while having sense 4.16.401.13 and s-on?? I want to update my firmware to MM by stock using ruu but idk how to do it ;(
[One (M8) Android Development] enewman17:
All your answers are in the OP
[One (M8) Android Development] rbouza1:
Yeah he's retired, credit [MENTION=2972841]enewman17[/MENTION] for the work now.
[One (M8) Android Development] DROITURK182:
How do we get systemless root on this ROM [MENTION=2972841]enewman17[/MENTION]
[One (M8) Android Development] Daedalus1116:
This thread: http://xdaforums.com/htc-one-m8/general/root-root-marshmallow-gpe-supersu-t3242210
[One (M8) Android Development] FIFATG:
Thanks enewman17!
[One (M8) Android Development] enewman17:
In the op under the ruu or rom tab I have links to the newest su, should be 2.66. Its automated now so the su zip will modify the boot for systemless root. You need to be on the non rooted build because you need a boot image that doesn't have any modifications to sepolicy
[One (M8) Android Development] therock11:
I've been running GPe now for months and now my notification bar pulls down but not the second time to get to settings. I also cannot get an IP address on WiFi or notifications. Any thoughts before I wipe to factory?
[One (M8) Android Development] DROITURK182:
Thanks for the info, I have systemless root now fingers crossed that I can get Android pay to work with it, I want my 10 taps for a free chrome cast.
[One (M8) Android Development] thodibhen:
I have it working with systemless root. As long as Xposed is not installed (keep install/uninstall zips on phone)

Does anyone have problems with MMS with Marshmallow? I have to reboot the phone atleast once a day, otherwise MMS will repeatedly fail. Kinda weird because no other setting is changed. Changing the network type to LTE/3g/2g doesn't help either; nothing but actual reboot :\

Running full RUU converted phone
[One (M8) Android Development] DROITURK182:
Well just tried to use Android pay and it didn't work, using systemless root, but have xposed installed.
[One (M8) Android Development] thodibhen:
Having Xposed installed will cause SafetyNet checks to fail AFAIK
[One (M8) Android Development] DROITURK182:
Going to try it again today, but first going to flash the uninstall xposed zip that I have and see if I can get it work.
[One (M8) Android Development] enewman17:
FYI, if your using the new google keyboard from the Playstore and you flash the New Emoji you will get all the new emoji from 6.0.1

If anyone is interested and hates the blue dialer as much as me, Teal Phone and Contacts. I'm not taking requests for other colors just thought I'd share what I did.

Uninstall Phone and Contacts updates then flash. These are the newest Phone and Contacts apps from the store.
[One (M8) Android Development] ryanjgillies:
I've been trying to change my CID to GOOGL001, but I keep getting the following error:

(bootloader) SecuritySDInit: counter = 1
(bootloader) m8_init_sd, SD card already power on
(bootloader) [SPEW] GPIO 0 status is 0
(bootloader) sdhci_open: id=0
(bootloader) Initializing MMC host data structure and clock!
(bootloader) mmc slot#2 clock enabled
(bootloader) sdhci_set_clock: slot 2, freq 192000000
(bootloader) GPLL0 is enabled
(bootloader) clock_update_cfg_sd is done
(bootloader) sd clock set done
(bootloader) sdhci_set_bus_width: bus width 0
(bootloader) sdhci_clk_supply: freq 400000
(bootloader) Decoded CID fields:
(bootloader) Manufacturer ID: 83
(bootloader) OEM ID: 0x4e43
(bootloader) Product Name: NCard
(bootloader) Product revision: 0.2
(bootloader) Product serial number: 49F025D7
(bootloader) Manufacturing date: 4 2015
(bootloader) sdhci_clk_supply: freq 50000000
(bootloader) sdhci_set_bus_width: bus width 1
(bootloader) Done initialization of the card
(bootloader) erase_grpsize: -16777216
(bootloader) erase_grpmult: 261077976
(bootloader) wp_grpsize: 0
(bootloader) wp_grpen: 0
(bootloader) perm_wp: 0
(bootloader) temp_wp: 0
[B][COLOR="Red"](bootloader) [Tuxera][Error] Failed to open a file '//SMART_IO.CRD', err
(bootloader) ENOENT
(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find[/COLOR][/B]
OKAY [ 0.271s]
finished. total time: 0.273s

Does anyone have any thoughts?
[One (M8) Android Development] therock11:
I fixed my issue by adding a new user, switching users and then going back to the primary. I have no idea why this reset the notifications bar but it worked. One thing I have noticed is that my google accounts are not syncing until I enter the corresponding apps. Does anyone know if there is a general location for selecting sync time as there was with previous Android versions? The only place I can find to choose sync is under account but its already set to sync automatically but its not working.
[One (M8) Android Development] DROITURK182:
Does anybody have a problem soft rebooting this ROM on there htc one m8? I'm rooted, S off, bootloader unlocked, etc. The works..
[One (M8) Android Development] enewman17:
Yes it causes issues. Gestures will stop woking amongst lots of other things. Even gravity box makes a note about soft reboot. All it does is restart the shell and since 5.0 doing a soft reboot has always caused issues for me.
[One (M8) Android Development] DROITURK182:
Well that sucks, it's the only way to apply the themes from layers manager app on the play store. Anybody have any luck using those themes from layers manager and applying them on this ROM?
[One (M8) Android Development] Captain_Throwback:
Um, the ROM doesn't support Layers. If it did, it wouldn't matter if you soft rebooted or full rebooted - it would just work.
[One (M8) Android Development] DROITURK182:
Marshmallow supports rro layers theming, people have been using it on there 5x, 6p stock roms lately. I just can't soft reboot at all.
[One (M8) Android Development] Captain_Throwback:
I didn't say Marshmallow doesn't support it; I said this ROM doesn't. This isn't a Nexus - this is GPE. It's not the same. And again, if the ROM supported it, it wouldn't matter if soft reboot works - Layers install just fine after a full reboot on a supported ROM.
[One (M8) Android Development] Viper4713:
I usually don't like to ask for help because I usually know how to find things and figure it out my self but I am confused on this one.

But how does one get HTC FM Radio app to work on GPE? I have ElementalX 6.03 which flar2 has stated this new version will allow fm radio and an other user confirmed it does work with HTC FM app but they won't answer my question on how to get it working, I moved FM Radio Service and App to my system partition from a Sense Stock rom and all it says when I press the play button is "FM Radio Service has stopped".

Apparently FM Radio works and is included in lyapota's GPE ROM but I wish to stay on this ROM for guaranteed stability, does anyone know of a zip somewhere that adds FM radio and maybe some sort of dependency besides the FMRadioService.apk I don't know about?

EDIT: Also I know about Spirit2, but also that app while it works is not so pleasing in user experience, app feels old and a bit buggy.
[One (M8) Android Development] Captain_Throwback:
If you have a boot.img that includes the necessary ramdisk changes and FM Radio and FM Radio Service from stock Sense Marshmallow, then FM Radio should work, provided you installed those things prior to first boot. When I tried adding them later, FM Radio Service kept crashing. But when added prior to first boot, FM Radio seems to work fine.

P.S. You also need libaudioflinger.so from Sense Marshmallow to have working audio in FM Radio.

P.P.S. And the apps need to be installed in /system in the same folders in which they're located in Sense (one is in app, the other in priv-app, I believe).
[One (M8) Android Development] Viper4713:
Thank you! I had them placed correctly in system folders I do not however have libaudioflinger.so, I don't think, haven't checked yet, I do have ElementalX 6.03 and like I said it has the correct ramdisk edits to make it work but like you said, maybe I need to clean flash my rom so I can have a first boot again? idk, tonight I am a bit busy so I will surely try again later to get it working, thank you! :good:

Its just dumb that almost half the stations here in Dallas Texas are not on iheartradio, and NextRadio doesn't even work on a Sense ROM, its ridiculous lol
[One (M8) Android Development] domohan:
I was wondering if this is based off of MM 6.0 or 6.0.1? I understand 6.0.1 finally resolves the MMS bug related to Google Messenger database. .. If not, hopefully HTC will release a 6.0.1 build.
[One (M8) Android Development] Isotopes:
This is based on M 6.0 ... I hope 6.0.1 still comes :fingers-crossed: ... but I don't believe it :confused:
[One (M8) Android Development] david.degraw54:
If you're completely converted and stock you will receive 6.0.1 update with January security patches ?

Sent from my Nexus 5X
[One (M8) Android Development] Isotopes:
not really ... update with January security patches is already being rolled out ;)
[One (M8) Android Development] Captain_Throwback:
We already have January security patches, and it's still 6.0 :rolleyes:.
[One (M8) Android Development] david.degraw54:
:rolleyes: oops its my brothers phone I guess I assumed it was 6.0.1 since it came out this month lol.
[One (M8) Android Development] ryanjgillies:
Been running GPE for a few days now, loving it, performance on my handset is far superior to what it used to be.

Two quick questions:

None of the screenshot button combinations appear to work anymore (Power + Home / Power + VolDown) - anyone know what combo I need to use?

I have a 64GB SD Card installed, apps are definitely installing on it as if I remove it half of my apps stop functioning. However Android nor any third party storage management apps can see it, they all insist I have only 10GB of space. Is this a known GPE issue or something else?
[One (M8) Android Development] Doc Moody:
volume down plus power button works fine for me?

The issue with the SD Card is odd. Have you formatted it as internal storage or as a "usual" sd card? If the apps data is being stored on the SD Card, it shouldn't suprise you that the apps stop working once their data is missing. Does your computer detect the card properly?
[One (M8) Android Development] BiggTeddy26:
Ok After I S off and I already rooted and unlocked my bootloader

My next step is changing the CID

Then Flashing the RUU.zip using ADB

then is that all ? I will get Google stock recovery and be able to recieve ota ?
[One (M8) Android Development] BiggTeddy26:
does this support MicroSD ?" that only reason I did it.
[One (M8) Android Development] Doc Moody:
Unroot, then you can take the OTA Updates. Yes, your phone will be like you "bought it online on the google store". I did the same thing because I don't like sense and HTC takes forever to push out updates.

Yes it does. I have a 128 Gig card installed and formatted as internal storage.
[One (M8) Android Development] klaust58:
Does it work well? Any pitfalls?

I'm considering to try this too.

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Android Development] Doc Moody:
I can't complain. I only did this because I use spotify a lot and need the space.But I don't play games or anything like that. Totally depends on your card though in terms of writing and reading speed.
[One (M8) Android Development] LowPoly:
Hi guys, um I would like to flash the GPe ROM, but I just installed the Sense 7 M OTA update with the 6.12.401.4 firmware, so it means I can't, right? Since this rom has the 5.07.1700.9 firmware..

Even if I've read the first post I don't fully understand everything so yeah, if someone can answer me, thanks!
[One (M8) Android Development] rbouza1:
you'll be fine, if chance you have wifi or data issues then flash the gpe firmware.

edit. you can find the modded firmware thru enewman17s afh . I believe it has no hboot and no recovery
[One (M8) Android Development] LowPoly:
Yeah but this means that I'll have to turn S-OFF right? And I can't so :/
[One (M8) Android Development] rbouza1:
just flash the ROM then. 99% sure you're ok
[One (M8) Android Development] enewman17:
Your good to go just flash the rom. You shouldn't encounter any issues by just flashing the rom. You don't need to mess with your firmware, just leave that stuff alone.
[One (M8) Android Development] LowPoly:
Okay! But then if I want to go back to stock, can I use a 4.16.401.10 RUU ? Will it work ?
[One (M8) Android Development] Viper4713:
Or just flash a Stock Sense Rom or Custom by choice.
[One (M8) Android Development] fronc:
So if we go into "Settings" and type a search for "call" we will see Wi-Fi Calling options available. In fact, we can even switch on wifi calling, however it doesn't actually do it. When you back out of that menu, and go back to it, it is switched off again.

Any possibility of enabling this hidden feature for the m8?
[One (M8) Android Development] BiggTeddy26:
ok

I changed CID was so easy and then right away I flashed the RUU.zip via ADB Perfect Installation i never bothered to un root but i am running stock recovery so
[One (M8) Android Development] BiggTeddy26:
Ok One Last Question ! How do I root the HTC ONe M8 after I converted successfully to GPE edition. .I want root enable multiwindow but i also want easiest way to unroot so i can get OTA
[One (M8) Android Development] enewman17:
With systemless root you won't need to unroot before taking an OTA

Root:

Systemless Root Simply flash the newest SuperSU in a custom recovery. http://xdaforums.com/showpost.php?p=64161125&postcount=3

Important! Do not let TWRP or Philz root your device when prompted before reboot.

SuperSU 2.67 is the newest.

Install TWRP then flash supersu. Reinstall the stock recovery if desired.

Recoveries. Put on your ext sdcard, rename to 0p6bimg and flash via hboot.

TWRP https://www.androidfilehost.com/?fid=24269982086999517

GPE recovery https://www.androidfilehost.com/?fid=24369303960685804
[One (M8) Android Development] mykenyc:
Is all GPE roms deodexed?
[One (M8) Android Development] BiggTeddy26:
If the recoveries on sd card how do I use Hboot to flash them. I am lost.
[One (M8) Android Development] klaust58:
Maybe with Flashify.

Or from the PC with fastboot.

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Android Development] BiggTeddy26:
OK I know how to use fast boot I have it set up. Oh screw it. I dk even know what su in supposed to download can I take updates even tho I have Twrp
[One (M8) Android Development] enewman17:
Yes, I assume they are deodex for space reasons. Having the rom odexed would add another 100+ Mb. HTC made a mistake when they limited the /system space to 1 gig on the gpe devices.

*External / mircoSD card*

1. Rename the recovery 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. Make sure to delete or rename the Op6bimg.zip on your external sdcard when your finished or the next time you boot into hboot you will have to deal with the file loading and wanting to flash.

Or you could extract the recovery.img from the zip and install Flashify from the market. Flashify will flash the recovery while booted in the rom.

Or you could extract the recovery.img from the zip and use adb shell or a terminal emulator with su permission.

dd if=/path_to_image/recovery.img of=/dev/block/platform/msm-sdcc.1/by-name/recovery
[One (M8) Android Development] BiggTeddy26:
Do I just flash SU in TWRP are all those versions systemless
[One (M8) Android Development] enewman17:
Post above with directions on how to flash the recovery.

In the post above with the link to Super SU 2.67 is the one you want. It is systemless root, yes they are all systemless. It will modify the boot.img on its own and install some magic in the data partition for root. Traditional root requires a modified boot.img too but if you want traditional root the rooted rom in the OP is what you want. https://www.androidfilehost.com/?fid=24352994023707448

With the OTA you will need the stock recovery installed. After an OTA you will have to flash TWRP then root again, then restore the stock recovery... everytime.

Either way... if you want to just keep TWRP and not deal with the OTA's I stay on top of it and usually have the updated ROM posted that evening.
[One (M8) Android Development] BiggTeddy26:
Do I just need SU 2.67 no other file just that one zip
[One (M8) Android Development] enewman17:
Yes, that's it
[One (M8) Android Development] BiggTeddy26:
OK so basically.

---------- Post added at 02:34 AM ---------- Previous post was at 02:32 AM ----------

What I do is download the GPE and TWRP Rename then to that name 1 and 2 so every time I want to update to 6.0.3 or 6.1 I flash Stock recovery Hboot same way and keep doing that.
[One (M8) Android Development] BiggTeddy26:
Can I use Xposed ? Will it affect me. And OTAS
[One (M8) Android Development] BiggTeddy26:
Can I flash the Rooted Stock GPE Rom ? over top the RUU ? or no
[One (M8) Android Development] enewman17:
You can use xposed but it will break ota's because the ota usually checks the sha1 sum of app_process

You can flash the rooted rom on top of the ruu... It's the same rom, just rooted.
[One (M8) Android Development] BiggTeddy26:
Ok
[One (M8) Android Development] thodibhen:
If you dont mind using a few adb/fastboot commands, instead of reflashing recoveries, just keep the stock recovery.

Also keep the adb commands to lock/unlock the bootloader in a file somewhere( http://xdaforums.com/showthread.php?t=2708571 ); download twrp recovery .img file and keep it on your pc; unlock bootloader with the command, and in cmd/terminal:

adb reboot bootloader

fastboot boot /path/to/twrp.img

and it will boot into twrp (be patient, 10-15 seconds) without touching stock recovery. I dont use recovery everyday...maybe twice a month. Useful to keep latest xposed install + uninstall zips on root of sdcard also. I set the bootloader back to locked when I'm done making changes, good security feature why not use it.

S-OFF obviously required...
[One (M8) Android Development] BiggTeddy26:
I got it to work np ONE QUESTION can someone please post files for XPosed that i need for 6.0 HTC ONE M8 also I have a Nvidia Shield LTE US running 5.1.1 Rooted which Xposed do i need for that one.. I don't plan on updating ether of these devices unless 6.1.1 has multi window or something to make me want to switch ! so doesn't matter please help me.
[One (M8) Android Development] hosein.metro:
i'm on android 6 gpe how i can back to sense and flash sense 7 android 6 ?

(my phone is att i want install internatioal rom.

and my phone is s-off)

which frimware i should dl to install the lastest sense 7 rom?
[One (M8) Android Development] PaddyUK:
Does anyone know how to sim unlock the M8 after you've converted it? The code my carrier gave me doesn't work (I'm guessing because of the CID/MID change). I changed to the GOOGL001 CID when converting.