[Droid RAZR M Android Development] DiamondJohn:
New Build

Ok new build. Still not "there" but closer.

You CAN flash GApps and connect to the store; if you do it in the followiing order.

Download the latest PICO OpenGApps from the web For [ ARM, 7.1, PICO ]. Otherwise you have to wait for the store to lazily update itself before you can use it

MAKE A NANDROID

Wipe dalvik-cache, cache, data, system

Flash ROM zip

Boot the ROM (do not install gapps yet!))

Connect your WiFi (optionally download your hosts with AdAway and set root)

Boot to recovery, and Flash Open GApps PICO

Boot to the ROM

In settings, go to accounts, and click "+ Add account"

Select Google (and then wait....) and then simply follow the prompts

Open the play store.

I noticed the first time I started Play, it seemed to hang on me, so I simply pressed back (after 30s) and restarted it, and looked good.

Some apps downloaded will work, some will fail and others will fail after some time.

If you reboot, it will no longer work (you can wipe the dalvik to try and have another play)

Installing apps/booting takes time as I have tried to make it run/install apps in a more thorough way. Which slows down their install and their first start up.

It is possible that the ROM is actually good, but the build.prop's are not correct for our phone. If you edit the following lines in /system/build.prop file (ensure permissions are 644 or higher), you may actually help in making this ROM a possible daily.

I edit build.prop on my computer, transfer to usb (numerous options/variations), flash the ROM,use TWRP filemanager to copy across my new build prop into /system/ then set the permissions in TWRP to 755, flash GApps, then reboot. There are too many combinations of the below for me to test.

dalvik.vm.image-dex2oat-filter=everything
dalvik.vm.dex2oat-filter=everything
pm.dexopt.first-boot=everything
pm.dexopt.shared-apk=everything
pm.dexopt.boot=everything
pm.dexopt.install=everything

Changing "everything" to one of the following; and they don't all need to be the same. NB: you may need to add new entries OR simply update the existing value. If you find something that works, LET US ALL KNOW!!

verify-none
verify-at-runtime
verify-profile
interpret-only
time
space-profile
space
balanced
speed-profile
speed
everything-profile
everything

If you download a kernel controller app (such as Kernel Adiutor and yes, that's how it is spelled), you may see all the different CPU gov's and the few IO Gov's I have added

BUT DO NOT SELECT lulzactiveq for CPU Gov, it will reboot your phone! (i need to remove it from the options)

CPU Govs (added to standard govs eg interactive):

dyninteractive
lagfree
Lionheart
lulzactive
minmax
pegasusq
scary
smartassv2
tripndroid
wheatley

IO Govs

sioplus
zen
tripndroid
vr

You will also notice that it can be overclocked to 1.98GHz (as opposed to the standard 1.5GHz)

The problems:

Its best to boot the rom once before installing Gaps. ie the google initializer crashes before you can finish

its not there yet, but closer. Not too sure what to try next.

Play store randomly just disapears every now and then

Some apps downloaded from playstore will crash on startup (but some don't! try a wipe of dalvik)

Oh, and the link...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx