[ROM][5.0][AOSP] Pixel Perfect Lollipops | Straight from source!

Search This thread

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
Hi all!

So, I don't own a tilapia, and I don't know anyone that does, but I build ROMs for fun and wanted to cover a base not already covered!


Today I have for you a pure AOSP build for Tilapia (Nexus 7 2012 3G)

Flashing instructions
Code:
1) Backup Everything [SIZE="7"] I MEAN EVERYTHING! THIS WIPES INTERNAL SD[/SIZE]
---YOUR WARANTY IS NOW VOID. THIS INCLUDED NO GUARANTEES---
2) Reboot into fastboot
3) run "fastboot -w update tilapia-lollipop.zip"
4) Boot into the ROM and run through setup
5) Download the Gapps and the fix zip from below to the device
6) Reboot into fastboot
7) run "fastboot flash recovery twrp.img" (or "fastboot boot twrp.img"
8) Flash gapps.zip and the fix zip
9) Reboot and report back

WHAT WORKS?
Code:
Confirmed:
Boots
Wifi
Data

Not complained about yet:
Sound
Bluetooth
NFC
Camera
Video Playback (Yes this could be an issue on some devices, but I doubt this one)
etc,

NOT WORKING
Code:
[STRIKE]Data[/STRIKE] Works now. Flash the fix in the next post
 
Last edited:

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
Downloads!

ROM:
V 1.0

Data Fix zip thanks @rjwil1086


GApps Thank @hema for these and @sykopompos for pointing me to them

Source: Google AOSP Source (android-5.0.0_r2)
Proprietary Blobs: 4.4.4 blobs with one small edit (one file changed locations back in 4.3 and the blobs were never updated...I don't recall the file or the location change, but I posted about it in the grouper 5.0 AOSP thread)
 
Last edited:

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
FAQ

I CANT FLASH ROOT WTF MAN?!?
It will bootloop if I'm not mistaken
Don't flash root yet


WOAH WHERE'S MY RECOVERY?!?!?
You need root to remove the script that installs the stock Nexus recovery each time you boot up the device

Get me (nonalcoholic) beer: [email protected]
I do this in my spare time around school, music production, and my social life. (I'm only 16 and try to have one of those...unsuccessfully)
 
Last edited:

doiutzu

Senior Member
Dec 22, 2012
500
132
Xiaomi Mi 11
FAQ

I CANT FLASH ROOT WTF MAN?!?
It will bootloop if I'm not mistaken
Don't flash root yet

WOAH WHERE'S MY RECOVERY?!?!?
You need root to remove the script that installs the stock Nexus recovery each time you boot up the device

Get me (nonalcoholic) beer: [email protected]
I do this in my spare time around school, music production, and my social life. (I'm only 16 and try to have one of those...unsuccessfully)

Root works with the modified kernel.
http://forum.xda-developers.com/showthread.php?p=56530439

I have the grouper version on my tilapia now. I'll try a dirty flash first.
I'll keep you posted on the progress.
Thanks for the built.
 
Last edited:

zxc490710

New member
Oct 11, 2014
2
0
GOOD!

It's good!
My 3G doesn't work...
What's wrong??
But WiFi is OK:)

Thank for your sharing ^_^!
 

Fransis88

Senior Member
Apr 19, 2011
321
45
Baseband not found, new radio lollipop?
Performance is amazing!!!
b2818fc22d081df4b4d464466f53978f.jpg
[/IMG][/IMG]
 

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
It's good!
My 3G doesn't work...
What's wrong??
But WiFi is OK:)

Thank for your sharing ^_^!
I kinda figured RIL would be broken
IIRC, lollipop changed a lot about how networking works for mobile data

Can someone grab me a logcat and a dmesg? (I believe dmesg might actually need root, but I ask that you get me at least a logcat on the stock kernel, dmesg if you can, and then both with a modified root kernel)
Baseband not found, new radio lollipop?
Performance is amazing!!!
b2818fc22d081df4b4d464466f53978f.jpg
[/IMG][/IMG]
You can't really use benchmark apps, as they haven't been optimized for ART, especially the newest changes that have come about

That, and benchmarks are just numbers that never reflect real world performance
 
Last edited:
  • Like
Reactions: Fransis88

rjwil1086

Senior Member
Jan 12, 2011
120
182
Tulsa
Moto Z2 Force
OnePlus 8T
Hey - I compiled the AOSP source from Google as well and my RIL isn't working. Here is my dmesg and logcat. The dmesg shows it isn't seeing the SIM card. I used the precompiled kernel that was with the source.
 

Attachments

  • dmesg.txt
    62.7 KB · Views: 69
  • logcat.txt
    174.5 KB · Views: 62
  • Like
Reactions: ebrahimwaleed

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
holy...what the heck

Honestly, I have to look a bit more at this, but it might actually be just the radio and firmware aren't compatable with the new RIL style
I should ask @manups4e if he sees anything. He was a bit smarter than I about RIL issues
 

manups4e

Senior Member
Aug 15, 2010
2,698
2,790
Torino
if you can get me the logcat -b radio > radio.txt it should be better

then, ^^ can you see the baseband version? because dmesg shows that ril is working... also if i remember correctly 5.0.0_r1 is for phones and tablet, r2 is for a videogame console.. try to build the r1 and ask someone to test it
 
Last edited:

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
if you can get me the logcat -b radio > radio.txt it should be better

then, ^^ can you see the baseband version? because dmesg shows that ril is working... also if i remember correctly 5.0.0_r1 is for phones and tablet, r2 is for a videogame console.. try to build the r1 and ask someone to test it
Are you sure? The way Google has usually done things like that is just the rX is a major milestone internally

People have said that r1 is branched into r2

...I can try it though...
 

manups4e

Senior Member
Aug 15, 2010
2,698
2,790
Torino
Baseband unknown means that rild can't read radio firmware files.. Check proprietary files I think qmuxd and libril-qc-qmi-1.so

---------- Post added at 05:02 PM ---------- Previous post was at 05:00 PM ----------

From logcat I can read that radio and modem are not activating like the system hasn't radio framework or codes..
 

rjwil1086

Senior Member
Jan 12, 2011
120
182
Tulsa
Moto Z2 Force
OnePlus 8T
I just fixed

Code:
D/TelephonyManager(  139): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
D/TelephonyManager(  139): /proc/cmdline=

and after a restart the output has the baseband version

Code:
D/TelephonyManager(  139): /proc/cmdline=tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 [email protected] android.commchip=0 vmalloc=512M androidboot.serialno=015d4b33bd241405 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 [email protected] [email protected] core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=61079551 androidboot.bootloader=4.23 androidboot.baseband=1231_0.18.0_0409
 
  • Like
Reactions: ebrahimwaleed

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
I just fixed

Code:
D/TelephonyManager(  139): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
D/TelephonyManager(  139): /proc/cmdline=

and after a restart the output has the baseband version

Code:
D/TelephonyManager(  139): /proc/cmdline=tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 [email protected] android.commchip=0 vmalloc=512M androidboot.serialno=015d4b33bd241405 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 [email protected] [email protected] core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=61079551 androidboot.bootloader=4.23 androidboot.baseband=1231_0.18.0_0409
What did you do?

Also, I take it that baseband is still blank in Settings?

Either that, or the SIM is still read as inactive?
 
  • Like
Reactions: ebrahimwaleed

rjwil1086

Senior Member
Jan 12, 2011
120
182
Tulsa
Moto Z2 Force
OnePlus 8T
I changed the permissions for /proc/cmdline using init.tilapia.rc.

I added this to the "on boot" section. Baseband it still "unknown". I think I misinterpretted the first time. In dmesg is shows sim state: 0 but if you look at the logcat it shows SIM-COUNT: 1. Attached is the logcat for anyone interested.
Code:
# RIL permissions fix
## Added by rjwil1086
    chmod 0644 /proc/cmdline

What did you do?

Also, I take it that baseband is still blank in Settings?

Either that, or the SIM is still read as inactive?
 

Attachments

  • logcat-radio2.txt
    25.4 KB · Views: 70
  • dmesg2.txt
    84.2 KB · Views: 33

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Hi all!

    So, I don't own a tilapia, and I don't know anyone that does, but I build ROMs for fun and wanted to cover a base not already covered!


    Today I have for you a pure AOSP build for Tilapia (Nexus 7 2012 3G)

    Flashing instructions
    Code:
    1) Backup Everything [SIZE="7"] I MEAN EVERYTHING! THIS WIPES INTERNAL SD[/SIZE]
    ---YOUR WARANTY IS NOW VOID. THIS INCLUDED NO GUARANTEES---
    2) Reboot into fastboot
    3) run "fastboot -w update tilapia-lollipop.zip"
    4) Boot into the ROM and run through setup
    5) Download the Gapps and the fix zip from below to the device
    6) Reboot into fastboot
    7) run "fastboot flash recovery twrp.img" (or "fastboot boot twrp.img"
    8) Flash gapps.zip and the fix zip
    9) Reboot and report back

    WHAT WORKS?
    Code:
    Confirmed:
    Boots
    Wifi
    Data
    
    Not complained about yet:
    Sound
    Bluetooth
    NFC
    Camera
    Video Playback (Yes this could be an issue on some devices, but I doubt this one)
    etc,

    NOT WORKING
    Code:
    [STRIKE]Data[/STRIKE] Works now. Flash the fix in the next post
    8
    I got RIL working! Apparently the old vendor binary for 4.4.4 doesn't play well with the new rild daemon. I copied /system/bin/rild from a 4.4.4 ROM and replaced the one that compiled with lollipop and viola, I have 3G. I'm working on my device tree right now to see if I can get it to compile with the old rild.
    5
    Here's some builds of the latest release 5.0.0_r5. These have all the same fixes as the ones I posted last night on 5.0.0_r2. If you flash these over without wiping you will also need to reflash gapps.
    http://goo.gl/32C5lN - Mega
    http://goo.gl/HP57me - Google Drive

    Also, attached is my local manifests if anyone wants to compile AOSP themselves. These include the following:
    • modified device tree
    • ported 4.4.4 ril
    • modified releasetools to exclude recovery images in ota builds

    Enjoy!
    5
    Got a few updates for everyone.

    AJ - please feel free to use links in OP.

    Android 5.0.0_r2
    - TWRP flashable (untested in CWM but may work)
    - doesn't overwrite recovery
    - data working
    http://goo.gl/bFq2HD - Mega
    http://goo.gl/fa6FqR - Google Drive

    Also, I see people are having trouble with Google Now Launcher. I can verify it works with this zip and the gapps posted by @drewwalton19216801
    [GAPPS] [LOLLIPOP] Google Apps flashable package for Android 5.0 Lollipop!
    4
    Downloads!

    ROM:
    V 1.0

    Data Fix zip thanks @rjwil1086


    GApps Thank @hema for these and @sykopompos for pointing me to them

    Source: Google AOSP Source (android-5.0.0_r2)
    Proprietary Blobs: 4.4.4 blobs with one small edit (one file changed locations back in 4.3 and the blobs were never updated...I don't recall the file or the location change, but I posted about it in the grouper 5.0 AOSP thread)