• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
@tank0412 can you help me with bootloader unlock tool because i can't unlock it via official app ( i'm on 5.0 lollipop and it says " the device model is not supported" ) and can i ask for the link of manual unlocking ( if you can't resolve the device not supported issue ) i want to try this ROM but i lost my bootloader unlocker files ,please ?
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
@tank0412 can you help me with bootloader unlock tool because i can't unlock it via official app ( i'm on 5.0 lollipop and it says " the device model is not supported" ) and can i ask for the link of manual unlocking ( if you can't resolve the device not supported issue ) i want to try this ROM but i lost my bootloader unlocker files ,please ?
Downgrade to KItkat and this way you will be able to use official tool for unlock by Asus.
 

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
One Problem maybe two

@tank0412
first , I Just Installed an app called Brave Frontier ( just so you know it ) i can't even log in it's just freeze at touch the screen and suddenly is a popup says has stopped working but other apps just fine , so i went ahead to report to you and i kinda what to attach logcat ( just in case ) now second one happened

second , i try to get logcat ( for my first problem ) but when i connect my usb to my phone it won't connect to my pc just charge and nothing happened

i was thinking that maybe somebody here know how to fix it especially you and sorry for making reply 3 times in a row

Thanks,
Revan Ephys
 
  • Like
Reactions: tank0412

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
@tank0412
first , I Just Installed an app called Brave Frontier ( just so you know it ) i can't even log in it's just freeze at touch the screen and suddenly is a popup says has stopped working but other apps just fine , so i went ahead to report to you and i kinda what to attach logcat ( just in case ) now second one happened

second , i try to get logcat ( for my first problem ) but when i connect my usb to my phone it won't connect to my pc just charge and nothing happened

i was thinking that maybe somebody here know how to fix it especially you and sorry for making reply 3 times in a row

Thanks,
Revan Ephys
Thx for bug reporting. I think that it can happen due to kernel. I will look at it later.
 
  • Like
Reactions: RevanEphys

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
Use this:
https://drive.google.com/open?id=0B-Fin8UxrD6Pa1ZGSzFldi04ZXM
ADB and MTP is working. If it does not work, something wrong with drivers on your PC or you must enable USB=debuggind on your phone.

@tank0412 well it's fixed now after i flash your newest kernel i managed to fixed it even though first didn't ( because i plug it on my laptop's USB 3.0 and right now at my laptop's USB 2.0 and works like usual ) now i just attach the logcat

the proses i open the game while it's hang it's like this ( open the app > touch screen [which doesn't work] > a popup says app crashed > choose wait > touch it again [still doesn't work] > popup again > choose close / ok > app closes )
it's logcat.txt inside the logcat.zip file just because of upload limitation

Thanks
Revan Ephys
 

Attachments

  • logcat.zip
    85.3 KB · Views: 19
  • Like
Reactions: tank0412

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
@tank0412 i would like to report 1 or 2 problem ( but really not much of a big problem )

1. Browser problem : i've browsing lately an error called ERR_NETWORK_CHANGED always there but i solve it just by refresh the page

2. Google play store : when i was downloading app an error code always shows ( error code 963 ) which blocking me from installing but i managed to solve it by un-mount SD Card then reinstall the app , then after the app installed mount back the SD Card Again

Sorry for so many replies by me because some creation always needs fixing :)

Regards
Revan Ephys
 

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
@tank0412 well it's fixed now after i flash your newest kernel i managed to fixed it even though first didn't ( because i plug it on my laptop's USB 3.0 and right now at my laptop's USB 2.0 and works like usual ) now i just attach the logcat

the proses i open the game while it's hang it's like this ( open the app > touch screen [which doesn't work] > a popup says app crashed > choose wait > touch it again [still doesn't work] > popup again > choose close / ok > app closes )
it's logcat.txt inside the logcat.zip file just because of upload limitation

Thanks
Revan Ephys

Yet Many days Passed and I finally found the problem
@tank0412 I've found the problem where app get crashed even though you did nothing , it's called like this
" ANR Input dispatching timed out (Waiting to send non-key event because the touched windows has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 2. Wait queue head age: 5612.0ms.) "
that's what caused by maybe you know how to fix that ? or maybe anybody ?

and sorry for making too much post since i'm just reporting problem :D

Thanks
Revan Ephys
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
Yet Many days Passed and I finally found the problem
@tank0412 I've found the problem where app get crashed even though you did nothing , it's called like this
" ANR Input dispatching timed out (Waiting to send non-key event because the touched windows has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 2. Wait queue head age: 5612.0ms.) "
that's what caused by maybe you know how to fix that ? or maybe anybody ?

and sorry for making too much post since i'm just reporting problem :D

Thanks
Revan Ephys
I think that i have already seen this string of log. Hmm. It is interesting. Maybe blobs of 3.24.4078-87 firmwares is incomplete. More research is needed.
 
  • Like
Reactions: RevanEphys

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://forum.xda-developers.com/showpost.php?p=64726142&postcount=37
    http://forum.xda-developers.com/showpost.php?p=64725989&postcount=178
    http://forum.xda-developers.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.