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

[BETA][5.1.0][LMY47l] AOSP Lollipop by tank0412 [A500CG][A501CG]

Search This thread

quanganh2627

Senior Member
Aug 13, 2013
353
1,256
New build is released.
Changelog:
Hardware butttons was re-fixed
Fixing video recording using camera app
Using AICP device tree by @quanganh2627 with my bring up to AOSP
Use new kernel. (Minimum frequency was set to 800 mhz to avoid lag)
Default governor of ntw kernel is wheatley
@tank0412 look at your device's overlay/framework/.../config.xml to fix hardware/virtual keys problems. Must correct with keyevents defined in framework/base

Sent from my ASUS_Z00AD using Tapatalk
 
  • Like
Reactions: tank0412

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
@tank0412 look at your device's overlay/framework/.../config.xml to fix hardware/virtual keys problems. Must correct with keyevents defined in framework/base

Sent from my ASUS_Z00AD using Tapatalk
Thank you a lot.
But i made many experiments with this stuff and i found that it was a fault of vendor folder. (Yeah, it is strange)
If i use your vendor folder, all is OK.
But if i use vendor folder by dhadelha, i get a dead hardware buttons because he deleted few vital libs. (IMHO)
Anyway i have already fixed it. ( I created my blobs mix for AOSP)
 

quanganh2627

Senior Member
Aug 13, 2013
353
1,256
Thank you a lot.
But i made many experiments with this stuff and i found that it was a fault of vendor folder. (Yeah, it is strange)
If i use your vendor folder, all is OK.
But if i use vendor folder by dhadelha, i get a dead hardware buttons because he deleted few vital libs. (IMHO)
Anyway i have already fixed it. ( I created my blobs mix for AOSP)
Place here link to that vendor or list all of its files,then I'll see what can i do ? Maybe missing some idc/ keylayout files or some oem's ime libs etc...., not sure, i have to see in fact

Sent from my ASUS_Z00AD using Tapatalk
 
  • Like
Reactions: tank0412

tank0412

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

cyberangel22k

Senior Member
Jan 20, 2012
523
291
Cauayan CIty
Xiaomi Poco X3 Pro
Been using this ROM for a whole day now. I think it's better than the official stock rom. My battery dies out at more than 2 hours on the latest stock rom (more than 3 hours Screen on time on this ROM). I also have issues on my wifi. That keeps disconnecting. In this rom, it's stable. Too bad GPS doesn't work (I always use GPS when i'm travelling so I won't get lost). I can live without it. :D:D:D

Thank you guys. Keep up the good work. :good::good::good:

PS:
I don't know about this but i'm using Google Maps right now and it locks my location properly. Does GPS work if there is a connectivity? I have not tested it offline yet.

EDIT:
Tested it offline and it still locks my position properly. I will try next time when i'm travelling to test further. Thank you very much @tank0412 and all contributors to this fantastic ROM.:eek:
 
Last edited:
  • Like
Reactions: Ale uto

RevanEphys

Senior Member
Oct 20, 2015
249
42
Malang
@tank0412 I Would Like To report ( and I know you maybe not working on this ROM anymore / maybe less and it's been long time since the latest update ) MTP and ADB Doesn't working just like your CM 12.1 ROM like I report about and doesn't have a file manager ? it's like why are you doing this :D *lol but it's not a big deal just install from playstore and done ...... but I still concern about MTP and ADB

Regards
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
@tank0412 I Would Like To report ( and I know you maybe not working on this ROM anymore / maybe less and it's been long time since the latest update ) MTP and ADB Doesn't working just like your CM 12.1 ROM like I report about and doesn't have a file manager ? it's like why are you doing this :D *lol but it's not a big deal just install from playstore and done ...... but I still concern about MTP and ADB

Regards
OK. I will publish boot.img which maybe will fix it.
But i have no time to test it.
 
  • Like
Reactions: RevanEphys

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    p0u1O0p0g373K8i6.jpg

    What is AOSP?
    The Android Open Source Project is the original unmodified version of android. It's the base ROM that all other ROM's work on. There are a few changes from CAF (code aurora forums) and cyanogenmod to get this working for non-nexus devices like ours.
    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 (stable)
    • Wi-Fi

    Rom features:
    • First Lollipop AOSP rom
    • 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

    How to flash it:

    Step 1:
    You should download files for flashing:
    File with AOSP rom (aosp-a500cg-userdebug-20032016.zip) :
    http://forum.xda-developers.com/devdb/project/?id=13245#downloads
    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 AICP device tree with my bring up for OMNI)
    @X AnwarMov (help for booting + this rom has a kernel which was built by me from X Anwar source)
    morrey from 4PDA. (THis guy helped to fix RIL)

    USING MY ROM AS BASE FOR YOUR ROM IS DENIED
    IF YOU IGNORE IT, I WILL ASK MODERATOR TO DELETE YOUR THREAD

    XDA:DevDB Information
    AOSP Lollipop by tank0412, ROM for the Asus Zenfone 5

    Contributors
    tank0412
    Source Code: https://github.com/tank0412/aosp_device_asus_a500cg

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

    Version Information
    Status: Beta
    Current Beta Version: 2.2
    Beta Release Date: 2016-03-20

    Created 2016-01-01
    Last Updated 2016-03-20
    9
    Changelog (20032016):
    Hardware butttons was re-fixed
    Fixing video recording using camera app
    Using AICP device tree by @quanganh2627 with my bring up to AOSP
    Use new kernel. (Minimum frequency was set to 800 mhz to avoid lag)
    Default governor of ntw kernel is wheatley
    Changelog (10032016):
    Audio is fixed
    Media is fixed (but you can have troubles with Youtube)
    RIL and hardware buttons is OK.
    Changelog (29022016):
    RIL WAS FIXED
    Thx morry from 4PDA
    Changelog (17022016):
    Minor fixes and improvements
    Changelog (06022016):
    Trying to fix RIL. (EXPERIMENTAL)
    Thx @dgadelha for his tip. (i used his stock RIL.java decompiled with JADX)
    I plan to build few another builds with differrent stock RIL.java which was decompiled using different tools)
    Changelog (04022016):
    Using blobs files from WW V3.24.40.87
    And more
    Changelog (07012016):
    Houdini was fixed
    Rom become much stable
    Camera was totally fixed
    Minor fixes for audio
    Removed many apps from Asus stock.
    Changelog (04012016):
    Wi-Fi was fixed.
    Using another Houdini source.
    Unfortunately, RIL stay dead and rom is unstable.
    Changelog(02012016):
    Houdini was enabled
    Bluetooth was fixed
    Camera was fixed
    Sensors was fixed
    New custom kernel is added
    New bugs:
    Wi-Fi is dead
    System is less stable
    All launchers are dead
    Changelog (01012016):
    initial release
    8
    BUGS:
    RIL (works partically)
    Audio (libs was removed for booting)
    Camera (libs was removed for booting)
    GPS & FM

    rill fix from here
    cd hardware/ril && git fetch http://review.cyanogenmod.org/CyanogenMod/android_hardware_ril refs/changes/25/102725/1 && git cherry-pick FETCH_HEAD

    include here from your boardconfig.mk
    BOARD_RIL_SUPPORTS_MULTIPLE_CLIENTS := true
    BOARD_RIL_CLASS := ../../../$(LOCAL_PATH)/ril

    inclede here from your device.mk
    PRODUCT_PROPERTY_OVERRIDES += \
    ro.telephony.ril_class=AsusRIL

    see attactment
    6
    Guys, i just compiled AOSP 5.1.0 build with audio & media fixes but this build is dead.
    i can not figure out why because i used same device tree to build AOSP 5.0.2. and it was OK.
    After booting it show a black sreen only. I just tried many different kernel to get logcat. It looks that something wrong with drm && selinux or Houdini
    So it will take more time than i expect to release new build with audio and media fixes. Sorry, guys.
    5
    GUYS, major update is released.
    Changelog:
    RIL WAS FIXED
    Thx morrey from 4PDA