• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][NOUGAT][XT907][XT905][JBBL][UNOFFICIAL]AOKP-DiamondJohnDroid-EXTREME

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
[ROM][NOUGAT][XT907][XT905][JBBL][UNOFFICIAL]AOKP-DiamondJohnDroid-EXTREME


DISCLAIMER:
You need to have an unlocked bootloader to use this ROM & kernel. Also I or any contributor in the software DOES NOT take responsibility of damages, data loss or hair loss caused to your phone or person due to downloading this ROM, flashing this ROM or even thinking about this ROM.


0. MAKE ANANDROIID of your existing setup
1. Wipe data, cache/factory reset your phone
2. FORMAT DATA PARTITION AS F2FS
2. Flash ROM zip via TWRP
3. Flash OpenGapps ARM 7.1 zip
4. Reboot and enjoy. NB: ROM is pre-rooted


TWRP: https://forum.xda-developers.com/droid-razr-m/general/twrp-3-1-1-xt907jbbl-t3652141
ROM: https://www.dropbox.com/s/1plx63nw7...-12-11_1306-DiamondJohnDroid-EXTREME.zip?dl=0
Gapps: http://opengapps.org 7.1, ARM


Check out the ROM source on github. Open source, in the spirit of community kangage.

Device Tree:- https://github.com/LineageOS/android_device_motorola_xt897
Kernel Source:- https://github.com/LineageOS/android_kernel_motorola_msm8960-common

People:
https://github.com/orgs/AOKP/people

Video Overview: https://www.youtube.com/watch?v=GdtYxCJljN4

KERNEL:
Kernel in this ROM is based on LOS:
Some items that are different from stock LOS:
  • Overclocked CPU (1.728GHz from stock 1.512GHz)
  • Underclocked CPU (96KHz down from stock 384KHz)
  • Extra CPU Governors

    Code:
    Default:
    [COLOR="Blue"]	msm-dcvs
    	ondemand
    	interactive
    	conservative
    	powersave
    	performance
    [/COLOR]
    Added:
    	[COLOR="Green"]dyninteractive
    	lagfree
    	Lionheart
    	lulzactive
    	minmax
    	pegasusq
    	Scary
    	smartassv2 (also optimised to step up a little less aggressively and be more inclined to step down)
    	tripndroid
    	wheatley[/COLOR]
    [*]Overclocked GPU (480MHz from stock 400MHz)
  • Extra IO Govenors
    Code:
    Default:
    	[COLOR="Blue"]noop
    	deadline
    	row
    	cfq
    	bfq
    	sio[/COLOR]
    Added:	
    [COLOR="Green"]	sioplus
    	zen
    	tripndroid
    	vr[/COLOR]

For an explanation of the different CPU and IO gov's see:
https://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
https://forum.xda-developers.com/showthread.php?t=1767797
https://forum.xda-developers.com/nexus-4/general/guide-android-governors-explained-t2017715

NO OTA:


XDA:DevDB Information
[ROM][NOUGAT][XT907][XT905][JBBL][UNOFFICIAL]AOKP-DiamondJohnDroid-EXTREME, ROM for the Motorola Droid RAZR M

Contributors
DiamondJohn
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: JBBL, Data Partition formatted as F2FS
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 2017-12-11
Stable Release Date: 2017-12-11

Created 2017-12-11
Last Updated 2017-12-18
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
Reserved

You may notice I have capped the OC down to 1.7GHz from the 1.998GHz, as I think it was too much of a drain on our failing batteries; when overlain with the device kernel bug that forced the CPU to run at the highest clock speed, regardless of what it was set at.
 
Last edited:

faisala66

Member
Dec 3, 2017
22
0
0
looking great rom

You may notice I have capped the OC down to 1.7GHz from the 1.998GHz, as I think it was too much of a drain on our failing batteries; when overlain with the device kernel bug that forced the CPU to run at the highest clock speed, regardless of what it was set at.
I am downloading it. Thanks!
 

faisala66

Member
Dec 3, 2017
22
0
0
can't see sim contacts. And youtube streaming in default browser not working. working in other browsers but i like this default browser. that i am facing problem all the nougat roms.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
can't see sim contacts. And youtube streaming in default browser not working. working in other browsers but i like this default browser. that i am facing problem all the nougat roms.
Are you seeing ALL your listed issues with ALL Nougat ROMs? and when you say "all nougat" ROMs are you only talking specifically on this device? or on other devices as well? I actually have another two devices with official ROMs on them (crDroid and RR) so if you have a link I could try? just out of interest.

But, in general, I am a single guy (not a member of the ROM team), with only a single (xt905) phone, and am actually running the RR ROM as my daily, so if it isn't affecting me directly, it wont be looked at.;) I kinda just built this ROM due to AOKP's historic reputation, and I liked the roid-raged unicorn:eek:
and because I could.;)
 

faisala66

Member
Dec 3, 2017
22
0
0
tested on two xt907

---------- Post added at 09:19 AM ---------- Previous post was at 09:14 AM ----------

Are you seeing ALL your listed issues with ALL Nougat ROMs? and when you say "all nougat" ROMs are you only talking specifically on this device? or on other devices as well? I actually have another two devices with official ROMs on them (crDroid and RR) so if you have a link I could try? just out of interest.

But, in general, I am a single guy (not a member of the ROM team), with only a single (xt905) phone, and am actually running the RR ROM as my daily, so if it isn't affecting me directly, it wont be looked at.;) I kinda just built this ROM due to AOKP's historic reputation, and I liked the roid-raged unicorn:eek:
and because I could.;)
which link sir? :) this is rr your post link: [ https://forum.xda-developers.com/dro...xt905-t3697567 ] ?
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
tested on two xt907

---------- Post added at 09:19 AM ---------- Previous post was at 09:14 AM ----------


which link sir? :) this is rr your post link: [ https://forum.xda-developers.com/dro...xt905-t3697567 ] ?
The link you posted does not work (You appear to have copied the shortened text and not the actual link). I was talking about a link to a web page with an inline video that does not play within the default browser. I'd just like to check if it works in the browser I personally use; ie Via.
 

faisala66

Member
Dec 3, 2017
22
0
0
The link you posted does not work (You appear to have copied the shortened text and not the actual link). I was talking about a link to a web page with an inline video that does not play within the default browser. I'd just like to check if it works in the browser I personally use; ie Via.
m.youtube.com/watch?v=lbpjVpOt1n0
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
can't see sim contacts.
I just tested on a spare device (N5 Running Nougat crDroid) which has no SIM card installed, and when I tried to create a new contact, it asked if I wanted to save it "internally" (remember no SIM) or in my google account. When I tried the same thing on my daily (running RR and also has a SIM), it didnt ask me where, but simply saved it directly to my google account. Personally, I havent saved a contact to the SIM since the "good-old days" before I started using smartphones/android (ie google account) (my first one was actually a windows based device). Doing a quick web search showed this behavior is not uncommon (even maybe a "feature" of Android see https://android.stackexchange.com/q...contacts-on-my-sim-card-with-an-android-phone), and the first one I read suggested using the import feature (in contacts app) to access the SIM contacts.

What happens when you try to save a new contact? does it give you the option? Another thing I also noticed on my spare phone was that it went through a number of security requests before it allowed access to actually save the contact. I don't actually think it will fix your issue, but also check in "Settings/Apps/Contacts/Permissions". Other than that, it may simply be the way the ROM works. Without testing on another device running the same ROM and similar build dates, its hard to say.

And youtube streaming in default browser not working. working in other browsers but i like this default browser. that i am facing problem all the nougat roms.
I tried using the web version of youtube on my phone, and it would only play for about 1/4 of a second then stop. However, it worked fine on my other device (running crDroid with Jelly browser) Without a logcat, my guess would be the difference in memory between devices. I also noticed that crDroid uses the "frameworks_av" code directly from LOS while all the others I checked use their own versions, which may not have included any bug fixes by LOS. And there have been quite a few, even in the last few days (https://download.lineageos.org/xt897/changes/ eg Fix Memory Leaks)
 
Last edited:

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
I tried the ROM and it works perfect. I look forward to some compilation of android oreo 8.0. Keep it up !!
I would not expect Oreo to happen. I can build these xt907/xt905 Nougat builds as there is an official LineageOS 14.1 build for the XT897. As such, there is the source code for the motorolla msm8960 kernel, vendor and device. The XT897 is not planned to be getting LineageOS 15 :(, and therefore there will be no source for our device for me to use. From what I have read thus far, there are specific changes to the kernel (at least) that need to be made to compile Oreo. I have no plans to do such :rolleyes:.
 
  • Like
Reactions: faisala66

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
I also noticed that crDroid uses the "frameworks_av" code directly from LOS while all the others I checked use their own versions, which may not have included any bug fixes by LOS. And there have been quite a few, even in the last few days (https://download.lineageos.org/xt897/changes/ eg Fix Memory Leaks)
My mistake:eek:. I checked, and it appears that most of the changes in LineageOS appear to be automatically merged into other source. ie the Bug Fixes to lineage DID make their way into the source for this ROM; if the changes were made before my compilation date (less the few hours it takes to download the updated source, prepare the build process and run the actual build):highfive:
 
  • Like
Reactions: faisala66

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,482
3,531
113
Sydney
In case anyone has been wondering whats been happening regarding these Nougat builds, I am sad to say that my device has finally died, and therefore I have stopped doing my private builds.