• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

tank0412

Elite Member
May 24, 2014
2,831
5,468
0
Saint Petersburg

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

Last edited:

tank0412

Elite Member
May 24, 2014
2,831
5,468
0
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
0
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

Elite Member
May 24, 2014
2,831
5,468
0
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

Elite Member
May 24, 2014
2,831
5,468
0
Saint Petersburg
Last edited:

no_name

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

X AnwarMov

Senior Member
Feb 17, 2015
193
649
0
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

Elite Member
May 24, 2014
2,831
5,468
0
Saint Petersburg
  • Like
Reactions: gusbalaa