1. Download our Official Android App: Forums for Android!

Root CM12.1 UNOFFICIAL RC5

Discussion in 'Android Devices' started by hroark13, May 21, 2015.

  1. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    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

    [​IMG]


    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

     

    Advertisement

    #1 hroark13, May 21, 2015
    Last edited: Jun 21, 2015
    totlth, HOD1234, hammerdroid and 30 others like this.
  2. totlth

    totlth Android Enthusiast
    Rank:
     #107
    Points:
    143
    Posts:
    559
    Joined:
    Oct 2, 2011

    Oct 2, 2011
    559
    388
    143
    Male
    Saint Petersburg, Florida
    I'm not a dev but I've built CM before for the ZTE Avid. In the process of setting up a build box. I can help if wanted or needed.
     
  3. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    so I can use people who are good at troubleshooting, looking at logcats, trying different prop settings, any one who wants to help

    the more people we have looking at this the faster it gets fixed
    anyone else interested ?
     
  4. tonylc74

    tonylc74 Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    371
    Joined:
    Oct 7, 2011

    Oct 7, 2011
    371
    45
    43
    Male
    i am a master operator of heavy equipment for wast
    nw.georgia
    I would love to help but I don't have a PC, or would that matter?
     
  5. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    well pretty soon I am going to upload my tree and a build

    you can help if you want
     
    Masterchief87 and tonylc74 like this.
  6. auburn2eugene

    auburn2eugene Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    164
    Joined:
    Aug 19, 2012

    Aug 19, 2012
    164
    61
    93
    Male
    Eugene Oregon
    @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.
     
    EshVel likes this.
  7. tonylc74

    tonylc74 Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    371
    Joined:
    Oct 7, 2011

    Oct 7, 2011
    371
    45
    43
    Male
    i am a master operator of heavy equipment for wast
    nw.georgia
    Ok sounds great glad to be a part of this.
     
    EshVel likes this.
  8. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    updated OP
     
    Masterchief87 and master odysues like this.
  9. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    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
     
  10. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    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
     
    FateZero and Masterchief87 like this.
  11. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    And on a scale of one to ten how much did you have to modify the kernel to make this boot?
     
    9h0s7 and FateZero like this.
  12. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    also the install scripts says to install gapps but you do not have too
     
  13. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    FateZero and Masterchief87 like this.
  14. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    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?
     
    FateZero likes this.
  15. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    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
     
    FateZero and Masterchief87 like this.
  16. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    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
     
  17. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    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.
     
    FateZero likes this.
  18. Vyrus69

    Vyrus69 Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    299
    Joined:
    Aug 29, 2011

    Aug 29, 2011
    299
    96
    53
    Male
    Miami, FL
    You guys are animals.

    One request, while you guys are working on this, how difficult would it be to get the 4.4.4 stock kernel and modding it a little bit, adding some other CPU governers and voltage control?
     
  19. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    Unless a miracle happens or a Dev outside of hroark or myself takes it on, pretty difficult
     
  20. Vyrus69

    Vyrus69 Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    299
    Joined:
    Aug 29, 2011

    Aug 29, 2011
    299
    96
    53
    Male
    Miami, FL
    Challenge......accepted
     
    9h0s7, auburn2eugene and EshVel like this.
  21. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483

    OK so anything yet, would like to know what your trying ,so we dont end up fixing the same thing
     
    Masterchief87 likes this.
  22. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    I tried to send you a message but your messaging is disabled I think, check your XDA inbox
     
  23. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    we should get a irc channel started
     
    9h0s7 and Masterchief87 like this.
  24. MonDillinger

    MonDillinger Well-Known Member
    Rank:
    None
    Points:
    88
    Posts:
    200
    Joined:
    Feb 11, 2015

    Feb 11, 2015
    200
    218
    88
    Cool, u starting it or am I starting it?
     
  25. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    ill start it
     
    9h0s7, kardeef and Masterchief87 like this.
  26. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #47
    Points:
    483
    Posts:
    3,287
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,287
    4,118
    483
    derp
     
    #99 hroark13, May 29, 2015
    Last edited: May 30, 2015
Tags:

Share This Page

Loading...