• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root CM12.1 UNOFFICIAL RC5

hroark13

Android Expert
Recognized Developer
Jul 15, 2011
3,280
4,113
Cyanogen MOD 12.1 (Android 5.1.1) for ZTE ZMAX

You need to be rooted and have TWRP installed (normally, not switched up)

CURRENT RC5
https://www.mediafire.com/?t29pq0nbmwf6a4i
md5sum 389345d082548cdf7d7729d876c615a6

INSTRUCTIONS (all done in TWRP with out restarting)
DO A BACKUP IF HAVE NOT DONE ONE YET
FACTORY WIPE
INSTALL ROM
INSTALL GAPPS
this is the gapps zip I use
https://github.com/cgapps/vendor_google/raw/builds/arm/gapps-5.1-2015-06-02-15-19.zip

do not restore data in TWRP from another ROM or older version, the DATA partition has a lot of OS related system stuff in it, use a backup and restore utility like Titanium Backup, to just back up you apps, app data, messages, call log, etc, etc,

If you have sensor issues (the screen goes black when you receive a phone call)
see this thread for the fix
http://androidforums.com/threads/cm12-1-sensors.922452/

fix if you flashed cm12.1 and went back to stock and have messed up rotation sensors
https://www.mediafire.com/?csh937g28vrbql1

Working
it boots
audio
bluetoothe
camera
wifi
camcorder
RIL
GPS
WIFI hotspot
sensors

Needs fixing
you tell me

Old Versions

OLD RC4 NO ODEX VERSION
https://www.mediafire.com/?113149p0dwbniu7
md5sum 070104fbcdd60986ffe0beb27c46c5cf
OLD ODEXED VERSION RC3
http://www.mediafire.com/download/3axl05lhz2l2e7m/cm-12.1-20150620-UNOFFICIAL-draconis.zip
md5sum c7572a04c07a70aa5a0ada68bb37c362
OLD RC2
https://www.mediafire.com/?gzrif112ud260kt
md5sum 455fbf41d80f2edba3245832602a36e5
OLD RC1
https://www.mediafire.com/?0qloe9a1ybkl7a7
md5sum d3b0c6685de1724e7c2036a88c26035c
OLD BETA 2
https://www.mediafire.com/?lps6pmjy10feu4j
md5sum 37c59fb0bc5aef465640911f965dd023
OLD BETA 1
https://www.mediafire.com/?jv9adn9sdrxk8oa
md5sum 670a07b8e2246d7ceb0cd9189e14303e

SOURCE CODE
ANDROID
https://github.com/CyanogenMod
KERNEL
https://github.com/hroark13/android_kernel_zte_draconis
DEVICE TREE
https://github.com/hroark13/android_device_zte_draconis




SYSTEM WRITE PROTECTION IS STILL ACTIVE, I MADE CHANGES TO THE KERNEL THAT STOPS THAT ERROR WHEN YOU TRY TO REMOUNT AS R/W

IF YOU TRY TO MAKE MODS TO /SYSTEM IT WILL LOOK LIKE IT WORKED, BUT IT IS ONLY IN THE BUFFER, ONCE YOU REBOOT THOSE CHANGES ARE GONE

SYSTEM WRITE PROTECTION WILL NOT BE OVERCOME WITH OUT A BOOT LOADER UNLOCK OR SOME TYPE OF HACK


If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.

If you would like to buy me a beer , you can click on the PayPal button




I would like to thank the following people for their donations

Waxysdargle
cclebeaux
dabluze
Dhlongfellow
Masterchief87
syph0r
danny
Jbird5047
intrdrgn
luis

shlickwilly


if I missed anyone, sorry








.hK
 
Last edited:
@hroark13 I am not a dev but I will help in any way I can... I can test on mine. I've got r/w and your twrp. I also have an extra 1.5tb drive I could... Not donate, but lend until we have everything going... I could also set up a number of email accounts, and sign up for mega cloud storage (50gb for free per email).

If there is ANY other way I can help, let me know. I will do anything I can.
 
  • Like
Reactions: EshVel
Upvote 0
i would
I've been itching to get my hands on this so I could help you out. I'll flash and get back to you with fixes and stuff


we need to debloat this, I added a lot of files from the stock rom that may not be need, we need to figure out which files we can get rid of

here is a list
https://github.com/hroark13/android_device_zte_draconis/blob/cm12.1/proprietary-files.txt


also I prefer not to do any hacky type fixes if possible

the ultimate goal is to produce a kernel and tree that builds a 100 percent functional rom
 
Upvote 0
i would



we need to debloat this, I added a lot of files from the stock rom that may not be need, we need to figure out which files we can get rid of

here is a list
https://github.com/hroark13/android_device_zte_draconis/blob/cm12.1/proprietary-files.txt


also I prefer not to do any hacky type fixes if possible

the ultimate goal is to produce a kernel and tree that builds a 100 percent functional rom
And on a scale of one to ten how much did you have to modify the kernel to make this boot?
 
  • Like
Reactions: 9h0s7 and FateZero
Upvote 0
also the install scripts says to install gapps but you do not have too
Okay. Now I just eliminating the obvious things like u helped me do with butternoob. Does the updater script give proper permissions? Is the build prop missing anything? And were these blobs pulled from the phone during the build process or were they added to the zip after you built the ROM?
 
  • Like
Reactions: FateZero
Upvote 0
And on a scale of one to ten how much did you have to modify the kernel to make this boot?

the majority of the changes are for getting OMX to build

https://github.com/hroark13/android...mmit/0266fb03585ab4e1f823b6e4e48ad57496bffd8e


the other changes like adding a config, and getting it to build dont really cont

zte did not release source code that builds with out modding it a little, unless they are using some other tool chain I am unaware of that work with what they have
 
Upvote 0
Okay. Now I just eliminating the obvious things like u helped me do with butternoob. Does the updater script give proper permissions? Is the build prop missing anything? And were these blobs pulled from the phone during the build process or were they added to the zip after you built the ROM?

permissions should be good
build prop needs help

all blobs listed in https://github.com/hroark13/android_device_zte_draconis/blob/cm12.1/proprietary-files.txt
are from Shady545's TWRP backup of his 444 rom

all blobs in this folder
https://github.com/hroark13/android_device_zte_draconis/tree/cm12.1/prebuilts

are from a different phone the peregrine
 
Upvote 0
permissions should be good
build prop needs help

all blobs listed in https://github.com/hroark13/android_device_zte_draconis/blob/cm12.1/proprietary-files.txt
are from Shady545's TWRP backup of his 444 rom

all blobs in this folder
https://github.com/hroark13/android_device_zte_draconis/tree/cm12.1/prebuilts

are from a different phone the peregrine
I was going to ask if you had tried pulling files from a moto g device tree. Okay, I'll play around with some stuff and get back to you.
 
  • Like
Reactions: FateZero
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones