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

ajbiz11

Senior Member
May 23, 2012
1,127
389
0
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
0
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
0
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
131
43
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:

ajbiz11

Senior Member
May 23, 2012
1,127
389
0
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!!!
[/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

ajbiz11

Senior Member
May 23, 2012
1,127
389
0
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,696
2,790
0
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
0
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,696
2,790
0
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
181
73
Tulsa
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
0
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
181
73
Tulsa
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