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

[BETA][5.0.2][LRX22G] 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:
  • The main target of this rom is to provide opportunity to use custom roms for people, who have a screen freezes after bootloader unlock. (My AOSP rom use stock kernel)
  • First Lollipop AOSP rom
  • I used proprietary files from WW V3.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:
IMG file to flash it via drodiboot: (system_20032016.img)
XDA
Stock boot.img (boot_3.24.40.87.img)
http://forum.xda-developers.com/devdb/project/dl/?id=16818
ADB v1.0.32
https://drive.google.com/file/d/0B-Fin8UxrD6PUmN6SkVPMXR3UTA/view
Step 2:
1) Unpack archive with ADB and put image with rom and kernel there.
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:
Code:
fastboot flash system system_20032016.img
fastboot flash boot boot_3.24.40.87.img
Do not forget to wipe cache and data.
Bug reporting:​
Attach logcat and detailed describe the issue. Send this to me (tank0412)

Credits:​
@quanganh2627 (i used his device tree)
morrey from 4PDA for RIl fix

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.0.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: AOSP

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

Created 2016-01-03
Last Updated 2016-03-20
 

Attachments

  • Screenshot_2016-03-20-13-42-27.png
    Screenshot_2016-03-20-13-42-27.png
    91.8 KB · Views: 7,561
  • Screenshot_2016-03-20-13-42-32.png
    Screenshot_2016-03-20-13-42-32.png
    49.1 KB · Views: 7,396
  • Screenshot_2016-03-20-13-42-40.png
    Screenshot_2016-03-20-13-42-40.png
    217.7 KB · Views: 7,288
  • Screenshot_2016-03-20-13-42-47.png
    Screenshot_2016-03-20-13-42-47.png
    158.8 KB · Views: 7,222
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
Changelog(20032016):
Fixing video recording using camera app
Using AICP device tree by @quanganh2627 with my bring up to AOSP
Using another libmultidispaly source
Changelog(12032016):
Problem with hardware buttons was fixed
Fixes for second SIM (it have not tested yet)
Use old AOSP device tree from Github
Changelog(08032016):
Audio is fixed
Media is fixed (but Youtube can be dead)
RIL fix is applyed
Using img file for drodiboot

New bugs/issues:
Problem with Hardware buttons. (Maybe it is only on my phone) Use Back button only. Or install Xposed to enable sreen buttons.
Changelog(29022016):
RIL was fixed. Using otapackage. (flashable zip for TWRP)
Changelog(14022016):
Using blobs files from WW V3.24.40.87
Using stock kernel from WW V3.24.40.87 (boot_3.24.40.87.img file)
Using another RIL class (Unfortunatly, RIL is stay dead)
Changelog(06012016):
Wi-Fi was fixed
Houdini was fixed
Rom become much stable
Camera was totally fixed
Minor fixes for audio
Removed many apps from Asus stock.
Changelog(03012016):
Initial release
 
Last edited:

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
So this rom just 5.0 and cant update to 5.1.1 because u want to lock bootloader?
Nope.
Many users which have a screen freezes asked me to create a rom, where bootloader unlock is not needed.
So i published this rom for them,
Personally i prefer to use 5.1.1.. Moreover i plan to build AOSP 6.0 Marshmallow.
this AOSP is something like training for me.
 

TongYabgu

Senior Member
Jul 21, 2015
98
8
İstanbul
Look on the official android web site the changelog :)

I will :D

Read OP more carefully.
The main target of this rom is to provide opportunity to use custom roms for people, who have a screen freezes after bootloader unlock because these Rom use stock kernel.

I cant understand bootloader.Which roms we can unlock and which rom ıt can stay lock. and what is bootloader provide?

Pardon my english :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    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:
    • The main target of this rom is to provide opportunity to use custom roms for people, who have a screen freezes after bootloader unlock. (My AOSP rom use stock kernel)
    • First Lollipop AOSP rom
    • I used proprietary files from WW V3.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:
    IMG file to flash it via drodiboot: (system_20032016.img)
    XDA
    Stock boot.img (boot_3.24.40.87.img)
    http://forum.xda-developers.com/devdb/project/dl/?id=16818
    ADB v1.0.32
    https://drive.google.com/file/d/0B-Fin8UxrD6PUmN6SkVPMXR3UTA/view
    Step 2:
    1) Unpack archive with ADB and put image with rom and kernel there.
    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:
    Code:
    fastboot flash system system_20032016.img
    fastboot flash boot boot_3.24.40.87.img
    Do not forget to wipe cache and data.
    Bug reporting:​
    Attach logcat and detailed describe the issue. Send this to me (tank0412)

    Credits:​
    @quanganh2627 (i used his device tree)
    morrey from 4PDA for RIl fix

    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.0.x Lollipop
    ROM Kernel: Linux 3.10.x
    Based On: AOSP

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

    Created 2016-01-03
    Last Updated 2016-03-20
    13
    Changelog(20032016):
    Fixing video recording using camera app
    Using AICP device tree by @quanganh2627 with my bring up to AOSP
    Using another libmultidispaly source
    Changelog(12032016):
    Problem with hardware buttons was fixed
    Fixes for second SIM (it have not tested yet)
    Use old AOSP device tree from Github
    Changelog(08032016):
    Audio is fixed
    Media is fixed (but Youtube can be dead)
    RIL fix is applyed
    Using img file for drodiboot

    New bugs/issues:
    Problem with Hardware buttons. (Maybe it is only on my phone) Use Back button only. Or install Xposed to enable sreen buttons.
    Changelog(29022016):
    RIL was fixed. Using otapackage. (flashable zip for TWRP)
    Changelog(14022016):
    Using blobs files from WW V3.24.40.87
    Using stock kernel from WW V3.24.40.87 (boot_3.24.40.87.img file)
    Using another RIL class (Unfortunatly, RIL is stay dead)
    Changelog(06012016):
    Wi-Fi was fixed
    Houdini was fixed
    Rom become much stable
    Camera was totally fixed
    Minor fixes for audio
    Removed many apps from Asus stock.
    Changelog(03012016):
    Initial release
    6
    So this rom just 5.0 and cant update to 5.1.1 because u want to lock bootloader?
    Nope.
    Many users which have a screen freezes asked me to create a rom, where bootloader unlock is not needed.
    So i published this rom for them,
    Personally i prefer to use 5.1.1.. Moreover i plan to build AOSP 6.0 Marshmallow.
    this AOSP is something like training for me.
    6
    Guys, major update is released ( system_06012016.img )
    Changelog:
    Wi-Fi was fixed
    Houdini was fixed
    Rom become much stable
    Camera was totally fixed
    Minor fixes for audio
    Removed many apps from Asus stock.

    The main bug is a RIL. It is still dead.
    6
    @tank0412 there may be a chance to get RIL working
    initally, check the RIL class variable on the mk files. i found that the RIL on my CM build wasn't working because the path works as RELATIVE to the directory that 'make' was at the moment that the class was required. so, check for build warnings/errors like this one:
    '../../../device/asus/a500cg/ril: not found'
    anyway, Google has moved RIL.java to another directory on commit a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a (change-id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad) with the creation of telephony-common
    you can see more info about the commit here: https://github.com/android/platform_frameworks_base/commit/a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a
    they moved RIL.java from platform/frameworks/base/telephony/java/com/android/internal/telephony/RIL.java to platform/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
    and I recommend to use GitHub's History feature to check what broke the RIL with our device on old RIL
    History for RIL on frameworks/base: https://github.com/android/platform.../java/com/android/internal/telephony/RIL.java
    and Google's Git Blame or even Log feature to check the same thing on new RIL
    Blame https://android.googlesource.com/pl.../java/com/android/internal/telephony/RIL.java
    Log https://android.googlesource.com/pl.../java/com/android/internal/telephony/RIL.java
    this may help with something, although I do not have any experience with RIL classes etc
    also, if a AOSP is not possible, there's a chance to get CyanogenMod 12 with base as 5.0.2 and mod the stock kernel
    I guess Asus wants that everyone stay on their horrible and bloated stock ROM, as they don't provide us a single line of code from anything but kernel (if there wasn't open source licenses, I guess they wouldn't even share this!)
    unless people do something like a petition to make asus distribute device files or even build aosp/cyanogenmod on their own servers and allow us to choose the operating system of our device, we'll be stuck here needing help of more experient developers