[BETA][5.1.1] CyanogenMod 12.1 by tank0412 [A500CG][A501CG]

Search This thread

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
w071i021M933b419.jpg
Bug list:
  • GPS & FM

What is working:
  • Media (IT IS FIXED) But Youtube can be dead
  • Audio (IT IS FIXED)
  • RIL (baseband) (IT IS FIXED)
  • Touchscreen xD
  • Image decoding
  • MTP
  • Webview
  • Camera
  • Sensors
  • Houdini
  • Wi-FI

Rom features:
  • It was build from fresh CM12.1 source (November stagefright patch is included)
  • I used proprietary files from WW 3.24.40.87
  • I used device tree by quanganh2627 for building so this way community will get all fixes
  • Custom kernel which was built from X Anwar sources so it has underclock, DT2W, million governors and i/o stuff.

How to flash it:

Step 1:
You should download files for flashing:
File with CM12.1 rom:
Google Drive
ADB v1.0.32: Download from Google Drive
TWRP 2.8.7.0 recovery by quanganh2627 (new December build): Download from Google Drive
Step 2:
1) Unpack archive with ADB and put TWRP image there.
2) Copy file with rom and gapps to internal/external memory of your phone.
3) Then you should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash recovery new-zen5-reco.img
Then you should reboot your phone in the recovery mode. (turn off you gadget then press Turn off button and volume - button)
Step 3:
Then you phone will reboot in the recovery. In the recovery you should instal package with rom.
Step 4:
After flashing, you should format (not wipe) data and cache in the TWRP.
Then you should reboot to system.
Bug reporting:​
Attach logcat and detailed describe the issue. Send this to me (tank0412)
Credits:​
@quanganh2627 (i used his device tree for building)

USING MY ROM AS BASE FOR YOUR ROM IS DENIED
IF YOU IGNORE IT, I WILL ASK MODERATOR TO DELETE YOUR THREAD
But you can use my kernel only without any problems.

XDA:DevDB Information
CyanogenMod 12.1 by tank0412, ROM for the Asus Zenfone 5

Contributors
tank0412
Source Code: https://github.com/tank0412/android_device_asus_a500cg-1

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked bootloader
Based On: CM

Version Information
Status: Beta
Current Beta Version: 2.3
Beta Release Date: 2016-03-16

Created 2016-01-04
Last Updated 2016-03-21
 

Attachments

  • Screenshot_2016-03-12-19-30-02.png
    Screenshot_2016-03-12-19-30-02.png
    71 KB · Views: 7,684
  • Screenshot_2016-03-12-19-30-09.png
    Screenshot_2016-03-12-19-30-09.png
    89.2 KB · Views: 7,595
  • Screenshot_2016-03-12-19-30-16.png
    Screenshot_2016-03-12-19-30-16.png
    48.3 KB · Views: 7,247
  • Screenshot_2016-03-12-19-30-36.png
    Screenshot_2016-03-12-19-30-36.png
    172.9 KB · Views: 7,444
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
Changelog(16.03.2016):
Trying to update Stagefright patch
Re-add Google Camera
Fixing writing to external memory card using Pixelmaster Camera.
Changelog(14.03.2016):
Apply vibrator.patch by @quanganh2627
Re-add camera app

P.S. I applyed patch but i do not know is it work. (hardware of vibrator is dead on my phone)
Changelog(13.03.2016):
Camera was fixed so it can make video without any problem
More fixes for media
Changelog(12.03.2016):
Audio was fixed
Media was fixed (but you can have few troubles with Youtube)
Changelog(04.02.2016):
Using blobs files from WW V3.24.40.87
And more
Changelog(10.01.2016):
DT2W was enabled
Unsuccessful attempt to totally fix Camera
Unsuccessful attempt to fix audio & media
Anyway, i am working on it.
Changelog(06.01.2016):
Latest fixes from quanganh2627s repo were applyed (commit #b953942e748b4d88f27b202abfc318dbd49161ea)
Changelog(05.01.2016):
Using fresh CM12.1 source
Minor fixes and improvements for audio, (i built libtinycompress and libtinyalsa libs from source, but audio is stay partly dead.)
Removed trash from Asus stock (only Asus Camera is included)
A tonn tweaks by @TecnoTailsPlays was added. (commit #56f91ca1fd3dc3e58d02d48b136a97c3a62567a1 )
Chagelog(04.01.2016):
Initial release
 
Last edited:

ShuviterDjogja

Senior Member
Oct 5, 2012
129
30
edited:

Anyone review?


Sent from my ASUS_T00J using Tapatalk
69cf25d18bbfe84f6043d428e3b7cf9c.jpg


Running on Recreated Remix Ultra 7.2
Dont know,this is the most suitable CM 12.1 based for me,after trying almost all of cm12.1 rom here.
Less freeze after few days using...
Just 3 or 4 times freeze while charging
 
Last edited:

baszu

Senior Member
Jan 1, 2007
338
60
Thanks for this. I assume this is compiled from the latest source code (as of 2016-01-03), right?
Would you mind putting this on the OP, especially when you has an update version in the future.
I haven't tried this rom, waiting for audio fixed.

One thing that I don't understand, I see other offical cm12.1 rom size is about 250MB, but why zen5 get double size?
Firstly, I thought we will get a very small minimum rom size but it seems not that much different to Asus stock (after remove bloatware).
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
Thanks for this. I assume this is compiled from the latest source code (as of 2016-01-03), right?
Would you mind putting this on the OP, especially when you has an update version in the future.
I haven't tried this rom, waiting for audio fixed.

One thing that I don't understand, I see other offical cm12.1 rom size is about 250MB, but why zen5 get double size?
Firstly, I thought we will get a very small minimum rom size but it seems not that much different to Asus stock (after remove bloatware).

I could not download latest CM source so it was built from October source.
Many trash from Asus stock were added by quanganh2627's device tree.
I agree that this trash must be removed.
 

gusbalaa

Senior Member
Aug 16, 2014
1,431
345
Klungkung, Bali
Xiaomi Pad 6
I could not download latest CM source so it was built from October source.
Many trash from Asus stock were added by quanganh2627's device tree.
I agree that this trash must be removed.

why you can't download the lastest CM source ?
i wait for the bug fixed, and will download this ROM. But right now is to much CM12.1 build for Zenfone 5 so i'm confused which one i must flash on my devices.
 

Parliamert

Senior Member
May 9, 2014
253
72
Istanbul
Is it really that hard to fix GPS and FM Radio for AOSP based ROMs?

I'm dying for a clean AOSP based ROM but I can't flash it in these circumstances; no audio and no GPS :/
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
why you can't download the lastest CM source ?
i wait for the bug fixed, and will download this ROM. But right now is to much CM12.1 build for Zenfone 5 so i'm confused which one i must flash on my devices.
Threre are only THREE CM12.1 builds. First build was made by Tran Huu Tin, second build was made by KnoneNull and third build was compiled by me.
If you find build by other author, you must understand that it was not built from source. It is a just modificated build by Knone or Tran Huu Tin with a minor changes.
So it is an easy choice.

By the way, i can not download latest source due to my Internet provider. I mean i can not use repo tool to sync sources due to it.
 
Last edited:
  • Like
Reactions: aymanz and Ale uto

gusbalaa

Senior Member
Aug 16, 2014
1,431
345
Klungkung, Bali
Xiaomi Pad 6
Threre are only THREE CM12.1 builds. First build was made by Knone, second build was made by KnoneNull and third build was compiled by me.
If you find build by other author, you must understand that it was not built from source. It is a just modificated build by Knone or Tran Huu Tin with a minor changes.
So it is an easy choice.

By the way, i can not download latest source due to my Internet provider. I mean i can not use repo tool to sync sources due to it.

Okay thanks, so i will prepared for download your build if stable versions is released, with fixed bugs.

But what about this one ?
http://xdaforums.com/showthread.php?p=63910968
 
Last edited:

baszu

Senior Member
Jan 1, 2007
338
60
Threre are only THREE CM12.1 builds. First build was made by Tran Huu Tin, second build was made by KnoneNull and third build was compiled by me.
If you find build by other author, you must understand that it was not built from source. It is a just modificated build by Knone or Tran Huu Tin with a minor changes.
So it is an easy choice.

By the way, i can not download latest source due to my Internet provider. I mean i can not use repo tool to sync sources due to it.

I'm confused now. Do you mean your compile is also based on Tran's and Knone's source.
If this the case, it is not different to those then.

For sync source code, do you mean your internet provider block github or it is too slow to download latest source?
If it is latter, maybe, someone can help sync source and upload it to other website?
 
  • Like
Reactions: gusbalaa

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
I'm confused now. Do you mean your compile is also based on Tran's and Knone's source.
If this the case, it is not different to those then.

For sync source code, do you mean your internet provider block github or it is too slow to download latest source?
If it is latter, maybe, someone can help sync source and upload it to other website?
I denied using my build as base for other custom roms. So nobody will use my build as base for their custom rom.
My build was really compiled from CM source like Knones build or Tran Huu Tins build.
My provider block repo tool so i can not use it. If somebody upload latest CM12.1/AOSP 5.1.1 code to other website, i will download it and this way i will use it for custom rom building.
 
  • Like
Reactions: Ale uto

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    w071i021M933b419.jpg
    Bug list:
    • GPS & FM

    What is working:
    • Media (IT IS FIXED) But Youtube can be dead
    • Audio (IT IS FIXED)
    • RIL (baseband) (IT IS FIXED)
    • Touchscreen xD
    • Image decoding
    • MTP
    • Webview
    • Camera
    • Sensors
    • Houdini
    • Wi-FI

    Rom features:
    • It was build from fresh CM12.1 source (November stagefright patch is included)
    • I used proprietary files from WW 3.24.40.87
    • I used device tree by quanganh2627 for building so this way community will get all fixes
    • Custom kernel which was built from X Anwar sources so it has underclock, DT2W, million governors and i/o stuff.

    How to flash it:

    Step 1:
    You should download files for flashing:
    File with CM12.1 rom:
    Google Drive
    ADB v1.0.32: Download from Google Drive
    TWRP 2.8.7.0 recovery by quanganh2627 (new December build): Download from Google Drive
    Step 2:
    1) Unpack archive with ADB and put TWRP image there.
    2) Copy file with rom and gapps to internal/external memory of your phone.
    3) Then you should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
    Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
    Code:
    fastboot flash recovery new-zen5-reco.img
    Then you should reboot your phone in the recovery mode. (turn off you gadget then press Turn off button and volume - button)
    Step 3:
    Then you phone will reboot in the recovery. In the recovery you should instal package with rom.
    Step 4:
    After flashing, you should format (not wipe) data and cache in the TWRP.
    Then you should reboot to system.
    Bug reporting:​
    Attach logcat and detailed describe the issue. Send this to me (tank0412)
    Credits:​
    @quanganh2627 (i used his device tree for building)

    USING MY ROM AS BASE FOR YOUR ROM IS DENIED
    IF YOU IGNORE IT, I WILL ASK MODERATOR TO DELETE YOUR THREAD
    But you can use my kernel only without any problems.

    XDA:DevDB Information
    CyanogenMod 12.1 by tank0412, ROM for the Asus Zenfone 5

    Contributors
    tank0412
    Source Code: https://github.com/tank0412/android_device_asus_a500cg-1

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Unlocked bootloader
    Based On: CM

    Version Information
    Status: Beta
    Current Beta Version: 2.3
    Beta Release Date: 2016-03-16

    Created 2016-01-04
    Last Updated 2016-03-21
    13
    Changelog(16.03.2016):
    Trying to update Stagefright patch
    Re-add Google Camera
    Fixing writing to external memory card using Pixelmaster Camera.
    Changelog(14.03.2016):
    Apply vibrator.patch by @quanganh2627
    Re-add camera app

    P.S. I applyed patch but i do not know is it work. (hardware of vibrator is dead on my phone)
    Changelog(13.03.2016):
    Camera was fixed so it can make video without any problem
    More fixes for media
    Changelog(12.03.2016):
    Audio was fixed
    Media was fixed (but you can have few troubles with Youtube)
    Changelog(04.02.2016):
    Using blobs files from WW V3.24.40.87
    And more
    Changelog(10.01.2016):
    DT2W was enabled
    Unsuccessful attempt to totally fix Camera
    Unsuccessful attempt to fix audio & media
    Anyway, i am working on it.
    Changelog(06.01.2016):
    Latest fixes from quanganh2627s repo were applyed (commit #b953942e748b4d88f27b202abfc318dbd49161ea)
    Changelog(05.01.2016):
    Using fresh CM12.1 source
    Minor fixes and improvements for audio, (i built libtinycompress and libtinyalsa libs from source, but audio is stay partly dead.)
    Removed trash from Asus stock (only Asus Camera is included)
    A tonn tweaks by @TecnoTailsPlays was added. (commit #56f91ca1fd3dc3e58d02d48b136a97c3a62567a1 )
    Chagelog(04.01.2016):
    Initial release
    7
    Thanks for this. I assume this is compiled from the latest source code (as of 2016-01-03), right?
    Would you mind putting this on the OP, especially when you has an update version in the future.
    I haven't tried this rom, waiting for audio fixed.

    One thing that I don't understand, I see other offical cm12.1 rom size is about 250MB, but why zen5 get double size?
    Firstly, I thought we will get a very small minimum rom size but it seems not that much different to Asus stock (after remove bloatware).

    I could not download latest CM source so it was built from October source.
    Many trash from Asus stock were added by quanganh2627's device tree.
    I agree that this trash must be removed.
    6
    He has no right to even prevent you from doing a remake as you did to build the knone ... You can use the will
    Ok. Lets dot the i's and cross the t's.
    I forbid using every my rom as base because i i spent a lot of hours to create at least bootable build. If somebody just modify my build, he will spend a less then half of hour! And this way he will get all credits/thanks. And i got NOTHING this way.
    Of course, you can disagree with this but it was just my wish.
    If somebody wants to create his own CM12.1 build, he can compile it from source without any problems.
    Be honest, i knew almost nothing about rom developing before this protest by quanganh2627 where he protested that i just published his rom and did nothing. It is a truth but i considered to change this situation. And i did not ask any question. I just used my brain to build more roms. And you know what? After two weeks of cooperation with Google, i compiled my first bootable AOSP rom. So you if you know nothing about rom building, you just need two weeks of hard work and you will succeed. It is much better then just modify build by other developers.

    We just talked about me so lets talk about YOU. Why you did spam same messages again and again?
    http://xdaforums.com/showpost.php?p=64726142&postcount=37
    http://xdaforums.com/showpost.php?p=64725989&postcount=178
    http://xdaforums.com/showpost.php?p=64725983&postcount=4194

    It is a very bad, my friend. Why are you ignoring XDA rules?
    5
    Is it really that hard to fix GPS and FM Radio for AOSP based ROMs?

    I'm dying for a clean AOSP based ROM but I can't flash it in these circumstances; no audio and no GPS :/
    I plan to fix audio but nobody can fix GPS because Broadcom and Asus have not published enough source code for this yet.