My First Build!!! Lollipop From Source!! Nww with 5.0.2_r1 and Tethering and F2FS

S

slashworkninja

Guest
Hi all,

New Build!!! With Fixed Location Service!!!!

http://d-h.st/Plzo
Could you please test this out, @jiri.bati.novak and @sur1k?


----------------------------------------------------------------------------



Merry Christmas all and to celebrate, here's the new build with Android 5.0.2_r1 :cool:
Here's a Screenshot:



Enjoy the New Year Celebrations!! As before, please let me know if you face any issues.
-----------------------------------------------------------------------------------------------------------------------

As promised, here is the New Tar file containing Android 5.0.1!!

Remember to Backup Data!! This build also adds mounting USB Drives using an OTG cable. (Thanks to Cyanogenmod's work). You can go to Settings > Storage to mount and unmount drives. I'm working on having a notification to enable mounting/unmounting from Notification tray itself. As before, /data is F2FS. The Kernel has been reworked to a better Dithering solution for the display. Tethering support (USB/WiFi/Bluetooth).

Follow the guides below to Flash (Sorry I don't know how to make OTA package yet)
jiri.bati.novak
I will post all the diffs later.

If you like this, please feel free to thank me!
-----------------------------------------------------------------------------------------------------------
I have moved on to AOSP 5.0.1!! I will upload the files later but for now here's a Screenshot:


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



I've managed to build the system from source. This is a Nexus7 3G build and I do not know whether it will work on the WiFi version. Please note that this is not a ROM and I am a total noob (who does not yet know how to build a ROM).
Please don't hold me responsible if your device goes Kaput. I will look into the issue but I do not have any idea what I'd be doing


Find the Archive here:

This archive has:
boot.img (F2FS supporting kernel with errdiff dither for better colour rendering)
System.img (Has WiFi/USB/Bluetooth Tethering Support)
Userdata.img
radio.img (For Flashing Radio)
openrecovery.img (TWRP to format /data to F2FS)
bootloader.img (If you completely mess up)
fastboot (linux)
adb (linux)
lollipop flash.sh (Must be Run as Root)

Only experienced users! Must use Linux.
Use TWRP to backup your data as it is a destructive process. This is not "ALL-F2FS". Only the /data partition is in F2FS.

1. Untar
2. Reboot into fastboot mode
3. Run "lollipop-flash" as root
4. Once flashing is done it will reboot to fastboot. Boot to recovery and format the /data partition to F2FS
The following steps can be done later after booting for the first time
5. In Recovery mode, Install RIL Fix. Open recovery supports MTP and OTG so you can copy the fileform your PC. Or you can use a OTG cable and a pendrive to flash the file.
6. Reboot Sytem
7. Verify System is usable :p
8. Install Gapps-Lollipop
9. Wipe cache, format data and change filesystem to F2FS and then wipe /data (Just to be sure)
10 Enjoy.

You can then restore /data from your backup using TWRP

Please note, I am fairly new to ROM building hence the complicated process. I will not be responsible for if your device is bricked. If you like this then suggest what else I should add to this. If you need any help please feel free to Message Me!

Thanks:
@rjwil1086 and @ajbiz11
 
Last edited:
S

slashworkninja

Guest
Post Updated!!!

Hi, Posted my new build! With USB Mass Storage support for USB-OTG!! You can also root with Super-SUv2.37 . I've been doing it and it's working perfectly.
 
S

slashworkninja

Guest
It unfortunately doesn't. You need to flash it in recovery.

Sent from my C6902 using XDA Free mobile app
 

jiri.bati.novak

Senior Member
Jan 2, 2012
73
11
0
Prague
Can you explain what the problem is? I can get a GPS lock on my Nexus 7 and Maps and Navigation are working too.
Well, I did not test the GPS outdoors for the lack of time and according to the GPS status app it should ve working, but the "network location" seems to be offline - for example the chronus widget cannot get the location for the weather forecast, Google maps are "waiting for location", same for the "News & weather" app... I think that there may be some trouble with fused location or Google Play services, but I cannot figure out anything from the logcat output...
Which version of Google Play services package are you using, can you check it?
 
S

slashworkninja

Guest
I believe this is a Play Services bug. Try installing/updating Maps and the other Google apps. Turn on High Accuracy Mode in Location settings. Try clearing the app's cache too from App settings.
 

jiri.bati.novak

Senior Member
Jan 2, 2012
73
11
0
Prague
I believe this is a Play Services bug. Try installing/updating Maps and the other Google apps. Turn on High Accuracy Mode in Location settings. Try clearing the app's cache too from App settings.
I have the same suspicion, but I've tried all the suggested steps with no luck. Still, reinstalling the apps is not the solution, it must be in the play services itself or the fused location service. That is why I was asking for the version of your - apparently working - config...
 

jiri.bati.novak

Senior Member
Jan 2, 2012
73
11
0
Prague
Can you give me some logs? I'll take a look. Also, can you confirm that 3G data is working?
3G Data is working correctly, no problems with mobile data whatsoever. Had the tablet with me today, now I did get the logcat of the google maps starting and clicking on "current location" fab, which displays the last known position the system got from GPS lock. So true, GPS is working correctly, only the "network location" is going haywire.... Google Play Services version 6.5.99 (1642632-434)...
 

Attachments

S

slashworkninja

Guest
That's surprising as I'm using an older version! I have everything updated too.

1418609181576.jpg

Sent from my Nexus 7 using XDA Free mobile app
 

jiri.bati.novak

Senior Member
Jan 2, 2012
73
11
0
Prague
@slashworkninja So... I have ended reflashing 5.0.1 from the start. Just noticed, that the backup services is set to debug-only cache. Well, there goes my setup, nevermind though... Still no network location, same version of play services as you. Oh well, seems like getting lollipop work properly on tilapia is going to be harder than it seems... If only I had fast machine, I would try to build for myself, but with my setup, I'm looking on three to four days of grinding, not to talk about disk usage... :)
 
S

slashworkninja

Guest
I'm sorry it happened. But I did take a look at the logcat.
I am fairly new to this but I think this might be the issue:


W/ResourcesManager(21400): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager(21400): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
These files do exist in the locations. So maybe there is a mismatch somewhere.