• 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

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
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
 

Attachments

  • Screenshot_2016-03-10-19-04-33.png
    Screenshot_2016-03-10-19-04-33.png
    91 KB · Views: 9,112
  • Screenshot_2016-03-10-19-04-38.png
    Screenshot_2016-03-10-19-04-38.png
    47.2 KB · Views: 8,946
  • Screenshot_2016-03-10-19-05-00.jpg
    Screenshot_2016-03-10-19-05-00.jpg
    46.7 KB · Views: 8,919
  • Screenshot_2016-03-10-19-04-56.png
    Screenshot_2016-03-10-19-04-56.png
    147.7 KB · Views: 8,827
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
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
 
Last edited:

baszu

Senior Member
Jan 1, 2007
328
59
May I ask some stupid question?
What's great of 5.1 compare to 5.0?
Why don't you aim for AOSP 5.0, it the same as Asus stock. Maybe, it is easier and/or we don't need to unlock bootloader so everyone can enjoy?
 

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
May I ask some stupid question?
What's great of 5.1 compare to 5.0?
Why don't you aim for AOSP 5.0, it the same as Asus stock. Maybe, it is easier and/or we don't need to unlock bootloader so everyone can enjoy?
Main target for me now is fix RIL and Camera on my AOSP rom.
When i do this, i can try to compile AOSP based on 5.0.2 but on this moment i do not plan to do this because i have not any screen freezes.
 

tank0412

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

no_name

Inactive Recognized Developer
Sep 16, 2014
1,164
2,122

X AnwarMov

Senior Member
Feb 17, 2015
193
649
Bandung
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
 
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
  • Like
Reactions: gusbalaa

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