yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Chochiwpg:
Thanks. I went to the OnePlus for a couple months but missed having the Nexus 5 so switched back. It's now my daily driver.
[Nexus 5 Android Development] bigcelo75:
RRO layers support?
[Nexus 5 Android Development] Chochiwpg:
I don't even know what that is to be honest so IDK. Sorry bud.
[Nexus 5 Android Development] bigcelo75:
http://xdaforums.com/showthread.php?p=58408291

[BitSyko] Official Layers and BitSyko Apps [RRO]
[Nexus 5 Android Development] Chochiwpg:
Oh commits have to be added to the ROM to provide support for PRO layers. Then no, it does not support it, my apologies.
[Nexus 5 Android Development] aga2:
Thanks for this rom :good:

I have a problem with this, when i want to run some source from eclipse it says target=unknown (instead of 5.1 e.g.) so it is not possible to use this rom for dev. Any ideas?

everything is OK :D
[Nexus 5 Android Development] iDragon@list.ru:
location fix AOSP5.1

Framework apk with location fix for latest AOSP buid. Please backup your firmware.

PS: Time Service not working on AOSP 5.1. If I can run it, I will publish apk.
[Nexus 5 Android Development] rachanta:
Good reference ROM to check things out. :good::good::good:
[Nexus 5 Android Development] BreckZeBoulay:
This location is for what exactly ?

In Maps with GPS on, I have an angular offset of the blue arrow wich indicates the direction.

Is for that ?

See attached a flashable zip for a working TimeService.apk
[Nexus 5 Android Development] michelemascia7:
Hi, which gapps should i use to replace aosp icon dialer to material icon? :D
[Nexus 5 Android Development] androcraze:
That's usually a ROM feature, not a GApps feature.

I'd check Post #1 in each GApp thread for a list of features. If it's not noted there, then you're out of luck.

EDIT: Looking into this further.... The icon is part of the APK. GApps would have to replace the Dialer.apk, not just the icon. The only way I'm aware of - to fully swap ot the icon within the APK - is to use an APK editor.
[Nexus 5 Android Development] iDragon@list.ru:
This app with material icon. AOSP 5.1.
[Nexus 5 Android Development] augoza:
Seriously how do you install this apk? All I ever wanted was the google dialer for this rom. So I can search for businesses right from the dialer instead of using google or Maps. It won't install
[Nexus 5 Android Development] iDragon@list.ru:
This apk contain only material icon, this is AOSP dialer.

PS: sorry, i not used google dialer.

---------- Post added at 12:05 PM ---------- Previous post was at 11:40 AM ----------

This is for work network location (with cellular networks) if gapps installed. In stock AOSP this not working.
[Nexus 5 Android Development] androcraze:
If you want Google Dialer (as opposed to AOSP Dialer), you need to install a ROM that supports it up-front.

I'm guessing a ROM that supports Google Dialer will be either based solely on the factory image, or a hybrid of factory and AOSP. Pure AOSP won't cut it.
[Nexus 5 Android Development] androcraze:
Did you build this yourself, or was it pulled from another source? Could you post or list the changes you made?

It works well, BTW.
[Nexus 5 Android Development] androcraze:
Wanted to provide a couple flashable versions of the APKs being posted here. Hopefully these will make life easier for folks using the VanillaAOSP-5.1-LMY47D ROM.

FLASH AT YOUR OWN RISK!!! I'd make a backup of the frame-res.apk for the location fix flashable; using ES File Explorer or Brown Root File Manager, manually copy the /system/framework/framework-res.apk file to a folder of your choosing on your sdcard PRIOR to flashing.

These APKs are intended ONLY for the VanillaAOSP-5.1-LMY47D ROM provided by Chochiwpg. They will probably not work with other ROMS. Using the Network Location Fix on a ROM that already has a modified framework-res.apk (most custom ROMs) will cause bad things to happen.

EDIT: I'm removing this until I get an update from iDragon@list.ru for LMY47I

EDIT: The LMY47I - Qualcomm TimeService apk bombs on Vanilla AOSP LMY47I.

NOTES:

The location fix simply tells Android to look at "com.google.android.gms". With a default AOSP setup and Location Services set to "Battery Saving", Google Maps with either give an error (bringing up a dialog for Location Settings) or it will change the setting from "Battery Saving" to "High Accuracy". Installing the above patch will allow the use of Google Maps with Location Services in "Battery Saving" mode. iDragon@list.ru provided the original APK in THIS POST, and I've converted it to flashable.

The TimeService install fixes some issues with backups and TWRP. I didn't need it on my end. This version is pulled directly from the N5 5.1 LMY47D Factory ROM. The factory ROM had the APK under /system/app/; it gave nothing but startup FCs under AOSP. Moving the APK to /system/priv-app/ appears to fix the issue.

Let me know if there are any issues.
[Nexus 5 Android Development] neok44:
What Gapps can I use with this? Always used PA Gapps but those won't work with 5.1. I've even seen posts specifically saying that these work: http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900 but I get an error when trying to install them with this rom saying that they only work on 5.0.x

Would really like to get on 5.1 but only 5.1 specific gapps I've found are from untrusted sites.
[Nexus 5 Android Development] androcraze:
Minimal:

http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330

Full:

http://xdaforums.com/showpost.php?p=56599526&postcount=1
[Nexus 5 Android Development] Chochiwpg:
I use banks gapps found here

http://fitsnugly.euroskank.com/?rom=banks&device=gapps
[Nexus 5 Android Development] iDragon@list.ru:
Framework-res.apk i copy from firmware and recompile. Add location fix and change apk icon (more material).
[Nexus 5 Android Development] Chochiwpg:
Downloading source code right now for Android 5.1.0_r3 (LMY47I)

Will have a build up as soon as I can. Maybe by tomorrow morning if I am lucky. Peace. :good:
[Nexus 5 Android Development] Chochiwpg:
Android 5.1.0_r3 (LMY47I) download link can be found below. Enjoy, let me know how it works out for you guys/gals. Peace. :good:

ROM Download

​

https://www.androidfilehost.com/?fid=95916177934546326

md5 c5cba762df572b1fb5e55122e9644899
[Nexus 5 Android Development] BreckZeBoulay:
Works fine ! :good:
[Nexus 5 Android Development] Chochiwpg:
Awesome thanks bro
[Nexus 5 Android Development] tvrtkocro28:
Hi , rom works (thanks!) but i lost root , which zip to flas to get my SuperSU ? :D
[Nexus 5 Android Development] Chochiwpg:
Flash this in recovery to get root back

http://download.chainfire.eu/supersu
[Nexus 5 Android Development] BreckZeBoulay:
[MENTION=4475315]Chochiwpg[/MENTION] , new binaries for 47I has been released.
[Nexus 5 Android Development] Chochiwpg:
Yessir I included them in the build as well :thumbup:
[Nexus 5 Android Development] luisangel89:
What are the changes? Just minimal?
[Nexus 5 Android Development] Chochiwpg:
Here's the changelog

http://www.androidpolice.com/androi....0_r1-to-android-5.1.0_r3-AOSP-changelog.html
[Nexus 5 Android Development] tvrtkocro28:
Thanks everybody , but i deleted this android.server and now cant make calls if anybody can upload it .. :)
[Nexus 5 Android Development] Schnadam:
Edit

I'm not a big fan of the messaging app on this phone? How do I get rid of it? I'd rather use google messenger.
[Nexus 5 Android Development] Chochiwpg:
You can download Google messenger from the Play Store and disable the AOSP messaging app.
[Nexus 5 Android Development] Schnadam:
Also had a problem with the calendar app. Might reflash tomorrow am. Since I had a bad flash today and lost my recovery because I didn't have the latest twrp.
[Nexus 5 Android Development] androcraze:
What problem?
[Nexus 5 Android Development] hunzhang:
Revert to a previous version of TWRP solves the problem.

Can't install any Gapps packages on top of the lastest version, error in the updater script.

BTW I'm using twrp 2.8.6.0.
[Nexus 5 Android Development] Chochiwpg:
Was reading in the TWRP thread that it seems to be an issue for everyone who updated to 2.8.6.0. Reverting back to 2.8.5.3 seems to work for flashing and backups. I would use that for now until dees troy fixes the issue.
[Nexus 5 Android Development] iDragon@list.ru:
androcraze

LMY47I (simple zip)

1. location fix

2. material icon
[Nexus 5 Android Development] androcraze:
You are awesome!
[Nexus 5 Android Development] androcraze:
Some flashable updates to fix issues with the stock AOSP. Hopefully these will make life easier for folks using the VanillaAOSP-5.1-LMY47I ROM.

FLASH AT YOUR OWN RISK!!! I'd make a backup of the frame-res.apk for the location fix flashable; using ES File Explorer or Brown Root File Manager, manually copy the /system/framework/framework-res.apk file to a folder of your choosing on your sdcard PRIOR to flashing.

These APKs are intended ONLY for the VanillaAOSP-5.1-LMY47I ROM provided by Chochiwpg. They will probably not work with other ROMS. Using the Network Location Fix on a ROM that already has a modified framework-res.apk (most custom ROMs) will cause bad things to happen.

- Network Location fix by iDragon@list.ru for LMY47I: http://www.mediafire.com/download/r...OSP-5.1-LMY47I-LocationFixPatch-flashable.zip

- TimeService.apk (older version, works fine with Vanilla AOSP LMY47I: http://www.mediafire.com/download/2vsdqds7uiah5zy/VanillaAOSP-5.1-LMY47I-TimeService-flashable.zip

- Browser Fix: http://www.mediafire.com/download/uzwhrnabmh362zy/VanillaAOSP-5.1-LMY47I-BrowserFix-flashable.zip

NOTES:

The location fix simply tells Android to look at "com.google.android.gms". With a default AOSP setup and Location Services set to "Battery Saving", Google Maps with either give an error (bringing up a dialog for Location Settings). Installing the above patch will allow smoother operation, although Maps now gives me a warning that it can't operate in battery-saving mode, and it switches to High Accuracy automatically. iDragon@list.ru provided the original APK, and I've converted it to flashable.

The TimeService install fixes some issues with backups and TWRP. I didn't need it on my end. This version is and earlier 5.0 version. Later versions cause issues.

The Browser fix is actually the Browser.apk pulled from the LMY47I RastaPop build. It fixes the crash when entering the Browser Settings.

Let me know if there are any issues.
[Nexus 5 Android Development] Chochiwpg:
Hey guys/gals,

I just wanted to give everyone an update. I upgraded to the Nexus 6 last night and will be using it as my daily driver device. I still currently own the Nexus 5, but I will be putting it up for sale in the coming days. Since developing this ROM for the Nexus 5 and Nexus 6 is almost identical, I may continue to post updates here when available. Not promising anything since I won't have the device to test. But I will try my best to accommodate you guys even though I won't be using the phone anymore.

Have a good one. Peace. :good:
[Nexus 5 Android Development] galaxys:
Congrats on the Nexus 6, your going to luv it! I just got mine last week and put my Nexus5 on ebay.
[Nexus 5 Android Development] androcraze:
You have plenty of beta-testers here. I wouldn't be too worried about that.

That Nexus 6 is big. I figured that the N5 would be the cutoff in size for most folks. With the N6, you're getting into phablet territory.
[Nexus 5 Android Development] one7dchevy:
Thank you for all your work on this ROM!

Did you use any particular guide when setting up your build environment and then building the ROM?

I found a few different ones online, and tried most of the day yesterday but ended up with a 75 GB server with a maxed out hard drive and failed build. haha

Just blew it out and just re-installed ubuntu 14.04 w/ 100 GB this morning.

Thanks for any advice!
[Nexus 5 Android Development] Chochiwpg:
I mostly followed the steps at the link below:

https://source.android.com/source/building.html

Also, had a lot of help from Banks, Gnome, Snakeater and the entire SimpleAOSP team to help walk me through some errors I would get here and there. It was a lot of trial and error for me. I still have to learn how to use git and add commits and features to the ROM. I know how to build straight from source without changes, but don't really know how to resolve conflicts when you start adding commits. That's the difficult part of ROM building.

Good Luck :good:
[Nexus 5 Android Development] one7dchevy:
Thanks! That is the exact link I am using right now. All I am trying to do is build straight from source just like this ROM!

I just ran:

repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.0_r3

repo sync

It seem like its downloading all source though..I see all kinds of 4.0.4, 2.3, 2.2.3, 1.X stuff flying by. My impression by initiating 5.1.0_r3 in the first command, it would only download 5.1.0_r3 source. I think this is why my hard drive got filled up.
[Nexus 5 Android Development] Chochiwpg:
Yeah, if it's your first time running that command it will download everything including 5.1.0_r3. It's about 30GB of info so takes a few hours. But once you have the repo synced, when there is an update to 5.1.1 as an example, you already have all the older code on your system, it will just sync the new tag available, so won't take as long.
[Nexus 5 Android Development] one7dchevy:
cool thanks! sent you a pm with a few more questions if you don't mind!
[Nexus 5 Android Development] one7dchevy:
Thanks again for your help! I built again overnight and flashed it this morning. All appeared good!
[Nexus 5 Android Development] Chochiwpg:
Awesome, glad to hear. And no problem at all.
[Nexus 5 Android Development] Chochiwpg:
Android 5.1.0_r5 tag now available in AOSP. I'm syncing sources right now as I'm running out the door for work.

Will try to have a build up tonight or early tomorrow morning. Peace.
[Nexus 5 Android Development] Chochiwpg:
Update complete see download information below. Sorry for the delay.

ROM Download

​

https://www.androidfilehost.com/?fid=95916177934555319

md5 2b553722c6ab18ca6e844674ae36dc53
[Nexus 5 Android Development] androcraze:
Installed and working. No issues.

I'll get my Vanilla AOSP fixes up as soon as [MENTION=1256925]iDragon@list.ru[/MENTION] gets the Location patch for frame-res.apk.
[Nexus 5 Android Development] radicspeter:
When i change the location from gps&wifi to wifi, my google location history is disabled and i cant use any app that is use location service.

I flash blank google apps as well.
[Nexus 5 Android Development] Chochiwpg:
I'm not too familiar with the issue myself. But reading back through the thread there is apparently a location patch that can be flashed. I believe the individual who creates it would have to provide a new one for this build. Again I am not familiar with the work around for this issue, but others in the thread may be of assistance. Peace. :good:
[Nexus 5 Android Development] androcraze:
With 5.1.0_r3, I noticed that even WITH the location patch, Google Maps demanded "High Accuracy" mode; a prompt appeared telling me as much, or at least I thought it did. I think something got tweaked in location services. High Accuracy seems to be the norm now when dealing with positioning.

We'll get a patch on here to play with anyway soon. [MENTION=1256925]iDragon@list.ru[/MENTION] creates the framework-res.apk mods, and I've been building the flashable from that. I'll play with it and see if I can figure something out.
[Nexus 5 Android Development] androcraze:
https://android.googlesource.com/device/lge/hammerhead/+/android-5.1.1_r1

Damn! [MENTION=4475315]Chochiwpg[/MENTION], you don't have it posted already?!

EDIT: Android 5.1.1 (LMY47V) Changelog: https://sferadev.com/android-5.1.1_r1

I wonder if changing this from "false" to "true" will enable gestures with the AOSP keyboard?:

http://xdaforums.com/showpost.php?p=34605586&postcount=1
[Nexus 5 Android Development] Chochiwpg:
Was waiting for the factory image to be posted to have updated binaries before updating the ROM. So I'll wait when it's released and then update.
[Nexus 5 Android Development] androcraze:
Yep. I noticed that after I posted. We usually see the source code after the factory ROM/binaries. I think that this is a first.
[Nexus 5 Android Development] BreckZeBoulay:
AOSP 5.1.1_r1 works fine with the LMY47I binaries :)
[Nexus 5 Android Development] Chochiwpg:
Awesome, I'm still going to wait instead of updating now and then in a couple days when 5.1.1 Factory Image is available.
[Nexus 5 Android Development] androcraze:
I think waiting is better.

If it's not the latest and greatest, does it mean we've sold out?
[Nexus 5 Android Development] Balino:
First time user coming from cataclysm and I have to say, aosp is much smoother than the factory images. No bloatware etc, looking forward to new release. Thank you
[Nexus 5 Android Development] Jon4248:
Nice ROM.

Question; I have "miscellaneous" showing under settings > battery , is this normal? What is it?

Edit: Never mind, miscellaneous is not under battery since last full charge, now it shows Android OS

Grr..and its back. I guess it's normal??
[Nexus 5 Android Development] androcraze:
I've got it too, at around 7%.

I'm guessing it's anything that can't be categorized into the other general descriptions.

I wouldn't worry about it, unless it's a huge percentage. If it were 20%, I might want more detail, but it's probably just a bunch of small things.
[Nexus 5 Android Development] androcraze:
Extactly 20%. Go figure. Next time I'll say 21%.

Android L has some memory and resource issues perhaps?

I'm hopeful that this will be fixed in 5.1.1. Some folks are building 5.1.1 using 5.1.0 binaries. I'm interested in seeing whether AOSP 5.1.1 with the latest binaries fixes the issue.
[Nexus 5 Android Development] Jon4248:
I dunno. I went back to stock, battery life is no better. Hopefully the next update fixes it.
[Nexus 5 Android Development] androcraze:
I'm a No-Frills CPU Control guy:

http://xdaforums.com/showpost.php?p=60162744&postcount=7372

Without Candy Crush, I get about 1.5 to 2 days between charges. Games eat batteries like crazy.

You could always throttle-down the processor a bit, it might give some added life.
[Nexus 5 Android Development] iDragon@list.ru:
WebView Google

Intersting? https://plus.google.com/105158284914081414108/posts/1MSfYWmtj7Z

I made changes to the framework and now WebView can be updated from a Play Store.
[Nexus 5 Android Development] androcraze:
--------

Aldrin Holmes

Apr 5, 2015

Just some further clarification on this, I made the apropriate change in my ROM and compiled it.

1) The users has to have the app installed from playstore to use the new webview?

2) What If the user does not have the playstore webview installed? Will webview crash on him/her?﻿

Peter Cai

Apr 5, 2015

+Aldrin Holmes 1) Yes 2) If you changed the config in the ROM, then yes, it will crash. You should have the apk embedded in the ROM.﻿

--------

If it would work without the crashing, I'd be OK with it. Looks like it will cause more headaches than it fixes.

And it's veering outside the realm of AOSP, and what AOSP represents. This wouldn't be "vanilla" in any sense.
[Nexus 5 Android Development] iDragon@list.ru:
I modification framework (only need to change one value in the file) replace the files in the folder and webview application will appear in Google Play. Webview used by many programs, I think that it should be updated to receive optimization and correct errors.

PS: I have finished framework and webview to build LMY47I, if you want I can send for testing.

PPS: Sorry for my very bad English.
[Nexus 5 Android Development] androcraze:
As an add-on, yes. Included in Vanilla? No.

Your framework mods are getting big, no?

- gestures? http://xdaforums.com/nexus-4/general/guide-how-to-enable-googles-gesture-t2012628

- network position

- webview patch

I'll gladly play with the framework patch. Hopefully 5.1.1 will happen soon.

Do you have the webview APK as well? Should that be flashed too?
[Nexus 5 Android Development] iDragon@list.ru:
webview folder - 55 MB and framework-res.apk - 20MB (all flash in recovery). Delete aosp wibview and one lib.

You need Google's gesture typing patch? I install google keyboard from GP and place lib to system/lib. Work fine.

PS: when android 5.1.1 relise, I publish files and you do will not complicate if the zip file for installation.
[Nexus 5 Android Development] androcraze:
You push the files, and I'll do what you need me to do. I do nothing but showcase your expertise.
[Nexus 5 Android Development] androcraze:
The keyboard patch is for the AOSP keyboard, not the Google Play one. At some point the swipe quit working with AOSP, even with the proper library. I think that flag/patch will make the difference. I'd like to try, anyway.
[Nexus 5 Android Development] iDragon@list.ru:
well, I'll try to fix the keyboard (AOSP) when it is published android 5.1.1
[Nexus 5 Android Development] androcraze:
Another issue is that some GApps include the libjnilatinimegoogle.so library as well

I'll have to have two apks, one for the framework-res (with the webview apk), and a stand-alone for the libjnilatinimegoogle.so library. I'll figure something out.
[Nexus 5 Android Development] augoza:
Did anyone else get the "Miscellaneous" battery drain with this rom?
[Nexus 5 Android Development] androcraze:
I'm at 27% Miscellaneous... Everything seems to be OK. I don't know what "acceptable" is. Drainage appear quite linear on the little chart. I'm not sweating it.
[Nexus 5 Android Development] augoza:
I've tried several lollipop roms and on all of them the "miscellaneous" drain is non existent, except for this rom. I thought maybe I did something wrong. Idk I can't do that, So I flashed Pure White. I'll try the next update to this rom and hopefully it's fixed
[Nexus 5 Android Development] BreckZeBoulay:
Since AOSP 5.1.1-r1 (I'm on 5.1.1-r2 this morning), I don't have this Miscellaneous line.
[Nexus 5 Android Development] androcraze:
Hopefully they'll release the factory binaries so we can all upgrade.

If you tap the "Miscellaneous" detail in the Battery stats listing, it says something like "the difference between the calculated known processes and the actual battery condition" (I'm para-phrasing, as I can't see it right now).

Could be that a relevant process is somehow not getting counted; it doesn't mean that there's excess battery drain..

Again, I'm not seeing any better or worse battery life than what I get with other AOSP ROMs. I'm not sweating it.
[Nexus 5 Android Development] briand.mooreg:
Just installed, everything is fine, thanks.
[Nexus 5 Android Development] CallMeAldy:
[MENTION=4475315]Chochiwpg[/MENTION] Great stuff man :)
[Nexus 5 Android Development] djalouk:
I followed the install instructions using TWRP 2.8.2.0.

1. Wipe Dalvik, system, data, cache

2. Flash ROM > OK

3. Flash Gapps > Error executing updater binary in zip ...SimpleAOSP-L-GAPPS.zip

When I choose Reboot system "No OS Installed Are you sure you wish to reboot"

What did I do wrong?

Thanks for your help.

EDIT : the ROM itself is booting and running fine, but I don't have access to the recovery anymore...
[Nexus 5 Android Development] Limbo045:
Before flashing make sure SYSTEM is unmounted in TWRP
[Nexus 5 Android Development] wim69:
Installed this fine ROM, thanks. One thing, every time I unlock my phone, the phone app has started. I can close it, remove it from the multitask list, nothing helps.

Any ideas, it is a pita to close the phone app every time.

Thanks
[Nexus 5 Android Development] snak3ater:
Use Fastboot and flash custom recovery again.

Problem solved :)
[Nexus 5 Android Development] Chochiwpg:
Are you swiping up to unlock? Or swiping from the left to the right? A left to right swipe (even a slightly diagonal left to right swipe) will launch the Dialer instead of unlock the device.
[Nexus 5 Android Development] wim69:
Yep, that's it! Thanks man. It is that simple. Would it be possible to disable that feature?
[Nexus 5 Android Development] DsturbD:
no, that is new in lollipop. i mean im sure the code is there that can be changed, but that is the new default. so used to side swiping too, hard to get used to swiping up