[ROM][GPE][SENSIFIED] Google Play Edition Port for the CDMA M8 - Android 6.0

Captain_Throwback

Recognized Developer
Aug 22, 2008
20,107
22,384
203
The Nothing
Code:
[CENTER]*** Disclaimer ***

All flashing is done at your own risk!
While nothing from this thread [I]should[/I] break your device,
don't come back here blaming anyone if it does![/CENTER]

Questions should be posted in the Q&A thread.
This is a ROM development/discussion thread!

---------------------------------------------------------------------​

Welcome to Google Play Edition for the CDMA M8!​

From HTC One (M8) Google Play edition on the Play Store:
Google Play edition.

The latest in Android.
Optimized for the latest apps, more storage for your content and a fast, clean user experience all come standard.

Google Maps, Chrome, YouTube, Gmail, Google Now - it’s all just there.
Never get lost, surf the web, stream videos and stay on top of your inbox with Google apps. The HTC One (M8) also comes with the Google Now Launcher pre-installed to make Google Now one swipe away. From your primary home screen, swipe right to access Google Now cards that give you just the right information, at just the right time.

Apps, games, music and more.
The HTC One (M8) includes Google Play, your one-stop-shop for digital entertainment. With over 1,000,000 apps and games -- plus music, movies and more -- keep your favorite digital entertainment in your pocket and always at your fingertips.
Port Features:
Ported for CDMA from the latest release for the Google Play Edition (GPE) - Software version 5.07.1700.12, Android 6.0.
  • Rooted
  • HTC FM Radio included
Installation Instructions:
Prerequisites - Unlocked or S-OFF Sprint M8, custom recovery (TWRP Recommended) & 5.0.2 or 6.0 official firmware from Sprint
  • Download ROM.
  • Verify md5sum.
  • Boot into custom recovery.
  • Wipe/Factory Reset.
  • Flash ROM.
  • Reboot device.
  • ??????
  • Profit!
Changelog:
Code:
Current changelog: 21 April 2016
[LIST]
[*]Added BeyondStockᵀᴹ Edition ROM - see [URL="http://forum.xda-developers.com/showthread.php?p=66478490"]here[/URL] for details[/LIST]

changelog: 20 April 2016
[LIST]
[*]Rebased on 5.07.1700.12 (includes [URL="http://source.android.com/security/bulletin/2016-04-02.html"]April 2, 2016 Google Security Updates[/URL])
[*]Rooted version only - includes f2fs support in ramdisk (but no custom f2fs kernel) & HTC FM Radio[/LIST]
Older changelogs:
Code:
changelog: 16 March 2016
[LIST]
[*]Rebased on 5.07.1700.11 (includes [URL="http://source.android.com/security/bulletin/2016-03-01.html"]March 1, 2016 Google Security Updates[/URL])
[*]Added unrooted, completely stock version (except for edits necessary for CDMA compatibility)
[*]Rooted version now includes stock HTC FM Radio, f2fs support & BeyondStockᵀᴹ kernel by default[/LIST]

changelog: 23 February 2016
[LIST]
[*]Rebased on 5.07.1700.10 (includes [URL="http://source.android.com/security/bulletin/2016-02-01.html"]February 1, 2016 Google Security Updates[/URL])[/LIST]

changelog: 12 January 2016
[LIST]
[*]Added "Sensified" version - details [URL="http://forum.xda-developers.com/showthread.php?p=64780089#post64780089"]here[/URL][/LIST]

changelog: 6 January 2016
[LIST]
[*]Rebased on 5.07.1700.9 (includes [URL="http://source.android.com/security/bulletin/2016-01-01.html"]January 1, 2016 Google Security Updates[/URL])
[*]Added rooted version ([URL="http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344/post64161125"]SuperSU v2.66[/URL], systemless)[/LIST]

changelog: 21 December 2015
[LIST]
[*]Added Verizon-compatible "CDMA Edition" (allows install on Verizon devices, but not sure about full functionality - need feedback)[/LIST]

changelog: 14 December 2015
[LIST]
[*]Rebased to 5.07.1700.8 (includes [URL="http://source.android.com/security/bulletin/2015-12-01.html"]December 1, 2015 Google security updates[/URL])
[*]Root removed for now, as there are multiple options that can be flashed via recovery (see: [URL="http://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394"]seSuperuser[/URL] & [URL="http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344/post64161125"]SuperSU[/URL])
[*]Busybox not included (Flashable version available by @osm0sis that supports SuperSU systemless root [URL="http://forum.xda-developers.com/showthread.php?t=2239421"]here[/URL])
[*]f2fs support added
[*]BeyondStockᵀᴹ kernel added by default - supports MultiROM and f2fs
[*]ROM changed to sparse_dat format (thanks @SuperR. for [URL="http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296"]SuperR's Kitchen[/URL])[/LIST]

changelog: 17 November 2015 (v3)
[LIST]
[*][Fix] adb offline error (v2)
[*][Add] Bind mount script for bind mounting files from /su to /system (currently used for CDMA GPS config) (v3)[/LIST]

changelog: 15 November 2015
[LIST]
[*]Rebased to 5.07.1700.6
[*]Uses [URL="http://forum.xda-developers.com/htc-one-m8/development/kernelgoogle-pay-edition-6-0-kernel-m8-t3249193"]@sun_dream's GPE kernel[/URL]
[*][URL="http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344"]System root[/URL] (standard) and [URL="http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344/post63197935"]systemless root[/URL] (experimental) options available via SuperSU
[*]Busybox only available on systemless root version (binary only, applet symlinks not installed)
[*]Sprint-specific blobs currently unavailable
[*][URL="http://forum.xda-developers.com/htc-one-m8/general/root-root-marshmallow-gpe-supersu-t3242210"]wp_mod[/URL] to disable system write protection[/LIST]

changelog: 8 October 2015
[LIST]
[*]Rebased to 4.04.1700.10
[*]BeyondStock kernel & f2fs compatibility added
[*]Added Sprint-specific blobs and props to base[/LIST]

changelog: 11 September 2015
[LIST]
[*]Rebased to 4.04.1700.9 (includes fix for stagefright vulnerability)
[*]Removed extra symlink for external SD (causes issues w/Google Play Music)
[*]Removed BeyondStock kernel & f2fs compatibility (was anyone even using this?)
[*]Removed Play Store compatibility for Sense apps (Xposed + Sensify can do this)
[*]Added support for RingPlus and Ting MVNOs to APNs[/LIST]

changelog: 20 July 2015
[LIST]
[*]Added Play Store compatibility for Sense apps (can be installed, but may not work - for Sense Home, use [URL="http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979"]Xposed[/URL] + [URL="http://forum.xda-developers.com/showthread.php?t=3162975"]Sensify[/URL])
[*]Reduced size of dtb in boot.img (back-end fix)[/LIST]

changelog: 9 July 2015
[LIST]
[*]Rebased to 4.04.1700.6
[*]Added F2FS compatibility for /cache, /data & /system
[*]Added BeyondStock kernel as default (for MultiROM and f2fs support)
[*]Fixed SMS/MMS issues (hopefully!)
[*]Fixed tethering (if dirty flashing, you must delete telephony database as described [URL="http://forum.xda-developers.com/showthread.php?p=61781520"]here[/URL])
[*]Added Sprint VVM (is uninstallable)[/LIST]

changelog: 23rd May 2015
[LIST]
[*]updated to Android 5.1[/LIST]

changelog: 26-Jun-2014
[LIST]
[*]Base updated to Android 4.4.4 (Software version: 2.12.1700.1)
[*]Updated GravityBox to latest version[/LIST]

Changelog: 16-Jun-2014
[LIST]
[*]Added Sprint VVM
[*]Deodexed only (now ART-compatible)
[*]Added latest GravityBox
[*]Updated to latest SuperSU
[*]SIM card error[/LIST]
IMPORTANT NOTES:
  • As of the 14 December 2015 ROM, Busybox has been removed (Marshmallow includes toybox)

Bugs:
  • Pressing the "Carrier Settings" option in Cellular network settings causes the phone app to force close and briefly disconnects mobile network
    [*]Voicemail number in Phone Settings is not preset

Downloads:
M8 CDMA GPE Port - 5.07.1700.12 - BeyondStockᵀᴹ Edition - Android 6.0 - ROOTED
M8 CDMA GPE Port - 5.07.1700.12 - Android 6.0 - ROOTED

M8 CDMA Sensified GPE Port - 5.07.1700.9 - Android 6.0 - ROOTED | Mirror (BasketBuild)


Older Downloads:
Mods:
ROM Modifications
MULTI-Window
To gain native experimental multi-window mode add the following edit to build.prop:
(Original entry)ro.build.type=user
(Edit entry to show)ro.build.type=userdebug
Boot to recovery, wipe caches, reboot system.
Then enable the option under developer options and Enjoy!!!

Native systemUI tuner
To gain systemUI tuner press and hold the settings gear icon in notifications drop down verify that gear is spinning. Hold for 2-3 seconds and let go...wolla you should now see systemUI tuner in the settings menu.

(for prior builds)


ROM Fixes
None for current build

(for prior builds)
Updated APNs (4.4.3) - This will install the Nexus 5 APNs to the device (along with the CM APNs for eHRPD/LTE) and delete the telephony database. These APNs are built into the framework of the latest version.
Gray Background Fix (4.4.3) - This fixes the light gray background for the volume display, power menu & other dialog boxes that were discolored. This fix is built into the latest version.
Framework/Data Fix (4.4.2) - Fixes phone calls and mobile network settings on original ROM. This file will not work on the latest version, but this fix has been incorporated into the latest version.
Frequently Asked Questions (FAQ):
Q: I just got an OTA update notification. Can/should I take it?
A: No! This ROM is a port - which means it is already modified just so it will work on our devices. Even if the OTA didn't fail because you have a custom recovery (which it will), it wouldn't boot as-is anyway. Wait until the ROM base is updated into a flashable format by the ROM maintainer, and then flash it - that's the only way to have the latest software. What you CAN do which would be very helpful is to capture a copy of the OTA zip. This file is typically named "update.zip" and usually downloads to /cache or /sdcard/Download. Then the ROM maintainer can use that file to update the base.

Q: How do I update profile/PRL on this ROM?
A: Profile and PRL can only be updated on a Sense ROM. Since GPE is a port from GSM, it doesn't include these features. The easiest way to update Profile/PRL is to nandroid your current setup, restore a Sense nandroid (or flash a stock rooted Sense ROM), update those items, and then restore your GPE nandroid. MultiROM is also an option.

Q: I can't find Developer options. Where are they?
A: Google has them hidden by default. To activate them, navigate to Settings -> About phone, scroll to the bottom, and tap "Build number" seven times.

Q: I toggled Mobile Network in the Quick Settings and now I have no data connection. How to fix?
A: First of all, there is no Mobile Network toggle in the ROM by default - if you have one, it means you're using GravityBox (GB). If you're going to use the toggle from GravityBox, you have to set it to "Use CDMA network modes" in the GB settings (Statusbar Tweaks -> QuickSettings management -> Tile specific settings -> Network mode tile settings). If you toggle it before you change that setting, you will end up on a GSM Network mode, and thus have no data connection. To get back to a working connection, follow the instructions at the bottom of this post. This post also has some additional information for a fully working GravityBox toggle.


4.4.x-specific questions:

Q: I tried switching to ART in Developer options, but when it rebooted, it was set back to Dalvik. How do I get ART to stick?
A: Disable the Xposed framework. Xposed is currently incompatible with ART. More information here.

Q: Can I use a custom kernel with this ROM?
A None of the existing custom GPE M8 kernels will work as-is. However, I was able to modify flar2's ElementalX GPE test kernel build for 4.4.3 to work on this ROM. It can be downloaded here. That is currently the only custom kernel that will work with this ROM.
Credits:
Code:
[user=3537886]@graffixnyc[/user] for the [URL="http://forum.xda-developers.com/showthread.php?t=2708589"]GPE RUU[/URL]
[user=3400685]@digitalhigh[/user] for general help & [URL="http://forum.xda-developers.com/showthread.php?t=2716306"]his Verizon port[/URL]
[user=2735242]@tjeeeeee[/user] for early testing and initially creating the thread
[user=1164313]@williamfold[/user] for figuring out [URL="http://forum.xda-developers.com/showthread.php?p=53163333"]camera lag fix[/URL]
CM team for [URL="https://github.com/CyanogenMod/android_kernel_htc_msm8974"]kernel source[/URL] for working camera
[user=631273]@Chainfire[/user] for [URL="http://forum.xda-developers.com/showthread.php?t=1538053"]SuperSU[/URL]
[user=1335872]@Stericson[/user] for [URL="https://play.google.com/store/apps/details?id=stericson.busybox"]Busybox[/URL]
[user=5161352]@JustArchi[/user] for Archidroid init.d and [URL="http://forum.xda-developers.com/showthread.php?t=2597220"]ArchiKitchen[/URL]
[user=4544860]@osm0sis[/user] for [URL="http://forum.xda-developers.com/showthread.php?t=2073775"]Android Image Kitchen[/URL]
[user=4419114]@rovo89[/user] for [URL="http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401"]Xposed framework/installer[/URL]
[user=5008415]@C3C076[/user] for [URL="http://forum.xda-developers.com/xposed/modules/app-gravitybox-v3-1-5-tweak-box-android-t2554049"]GravityBox[/URL]
[user=2322613]@craigacgomez[/user] for [URL="https://github.com/craigacgomez/platform_packages_apps_Email"]thunderkat source for Exchange security mod[/URL]
[user=4684315]@flar2[/user] for [URL="http://forum.xda-developers.com/showthread.php?p="]ElementalX GPE kernel[/URL]
[user=4316709]@savoca[/user] for help to build a custom dtb image
[user=2154897]@MTsol[/user] for uploading the 4.4.4 OTA file


XDA:DevDB Information
CDMA M8 GPE Port, ROM for the Sprint HTC One (M8)

Contributors
Captain_Throwback, tuxattack80, tjeeeeee, digitalhigh, graffixnyc, HolyAngel
Source Code: https://github.com/CaptainThrowback/kernel_htc_m8gpe

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 5.0.2 Sense
Based On: M8 Google Play Edition

Version Information
Status: Stable
Current Stable Version: 5.07.1700.12
Stable Release Date: 2016-04-20

Created 2014-06-07
Last Updated 2017-02-10
 

Attachments

Last edited:

mjs2011

Senior Member
May 25, 2011
5,014
1,870
113
Once this baby is stable, it might be my reason for finally rooting!

Will I need to be s-off to flash/run this?

Sent from my 831C using Tapatalk
 
  • Like
Reactions: cmorrice

EVOuser94

Senior Member
Aug 6, 2012
1,404
665
0
Bloomsdale
Niceeeee been waiting for this release! :)

Edit: I really don't want to sign up for that mega site, can you post a mirror?

Sent from my 831C using XDA Premium 4 mobile app
 
Last edited:
  • Like
Reactions: CalebDEV

tjeeeeee

Senior Member
Jul 10, 2010
890
661
0
I never gave you the version that wasn't based on the Verizon port? I guess I'll have to upload that one.

I should have some time later today if the wife isn't hogging the computer.
Yeah didn't get that one been trying to work on the port but won't be able to till tonight/tomorrow, starting my weekend

Sent from my 831C using Tapatalk
 

mjs2011

Senior Member
May 25, 2011
5,014
1,870
113
Very nice release =P I can't wait to see the data fixed =P such a lightweight rom =P with basically everything working so far =P
Glad to see someone try it. Would you say the data issue is enough to keep it from being a daily driver? Have you found a workaround by chance?

Sent from my 831C using Tapatalk
 

EVOuser94

Senior Member
Aug 6, 2012
1,404
665
0
Bloomsdale
Glad to see someone try it. Would you say the data issue is enough to keep it from being a daily driver? Have you found a workaround by chance?

Sent from my 831C using Tapatalk
It's definitely not a daily driver for that reason alone... I was able to get wish washy data by pulling down status bar and toggling data on and off, it is like idle time is this Roms worst enemy, you get roughly 30seconds to do something with data or you lose it, once data problems are resolved, I believe that this ROM will become a daily driver for many people, at least those that don't want HTC SENSE on their phones and not going all the way to Cyanogenmod/AOSP/AOKP ROMS...

Sent from my 831C using XDA Premium 4 mobile app
 

Demo3827

Senior Member
Jul 20, 2011
302
138
73
winchester
Data/MMs

i guess i can fix the data/mms problem... the (apns-conf.xml) that you have dont have sprint APN on it and im not sure if the Framework.apk is missing that data ill try to fix it tonight by the way Thank you for port this ROM you did the BIG part good job :good:
if you need beta tester here I'm... have agood day everyone