yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] noleng:
Great ROM - My only problem is that my device is not showing any sort of location info. Regardless of the setting I select within the location/settings page. Before switching to this ROM my device allowed GPS and wifi for locations.. I have fully made certain that my permissions, as well as all Goggle tracking is enabled for this function to work.. None of my apps that attempt to use location such as WAZE, UBER, Google MAPS, give no response/feedback for location.

Anyone else have any sort of issues like this. I am using a Wifi only model.
[Nexus 7 Android Development] millosr:
I'm having 3G version - tilapia, and never had issues with gps. Both model have the same gps receiver and use the same broadcom proprietary library for it, so there should be no difference.

You can test GPS satelite visibility with GPS Test application.

You can send me logcat log if you want.
[Nexus 7 Android Development] noleng:
Thanks for the response. I actually did the GPS Test with that app and a couple other apps. My GPS does work.

With any other device including this one, I always noticed that while I am inside, or in an area where the GPS doesnt work due to being inside, usually apps like Google Maps, Uber, Waze, etc would fallback on getting an approximate location via the wifi. This function usually includes a setting/option within the Location settings or within the wifi settings. It would give me the option to allow google to use wifi to determine location, even if I am not connected to a wifi.

It seems that not only is this option nowhere to be found in this rom settings, but even with the Location settings with the selection that includes wifi, well, it doesnt seem to work. I did notice better app functionality after the initial GPS location was found. So the apps now use the last GPS point, but i dont think my device is giving out any location info from wifi networks.

Edited: just found a screenshot of the network location services setting I am speaking of (This rom does not seem to have this setting I am speaking of. Here is an image that may help bout what I am speaking of. Anyway.. Maybe we do not need the option to be shown, as I assume it should be enabled by default, but could this maybe be an option that could be added or is it old function that isnt used anymore by android. This I do not know.
[Nexus 7 Android Development] millosr:
I think that is option from Android 5.1. It is removed in 6.0.

Settings > Location > Mode - High accuracy or Battery saving should use wifi networks to determine location.
[Nexus 7 Android Development] millosr:
nAOSProm b06 released

New build has been released.

Changes:

AOSP android-6.0.1_r52 - July security patch

Themes: Full support of Layers 4.0

SystemUI: Added battery percentage text to status bar

You can configure it from Settings/nAOSProm/More.../Battery Percentage

Download:

Nexus 7 (2012) WIFI: nAOSProm-6.0-grouper-b06.zip

md5: bf182340b01989238b999260a24ef91d

sha1: f6f8b226670e8f009a7f2183a5243de21897a8db

Nexus 7 (2012) WIFI+3G: nAOSProm-6.0-tilapia-b06.zip

md5: 26633a10d68bc6a8bf5f638675a9a1f6

sha1: f7d5df2305596eabcb50f4e2553cc65155b9b5f3

Since Open Gapps size has grown, recommended open gapps package now is nano due to small system partition in N7 devices.
[Nexus 7 Android Development] frov:
Wauw, I now see this ROM for the N7 for the first time!

I am a big fan and user of the Mickybart nAOSP ROMs for the Xperia S and today I checked what is all available for the Nexus 7 2012, and I see the same ROM :cool:

And done by a familiar name: :good: millosr !

I know and also suffer of the slowdown issues of the aging Nexus 7 for its NAND (glad that Xperia S has better components and does not suffer the same).

So a few hours ago I flashed parrotmod into my Nexus 7 that was stock 5.1.1 but of course Rooted/TWRP3/TitaniumBackup. And Parrotmod helps!

https://github.com/parrotgeek1/ParrotMod_Grouper

The Nexus 7 is a lot smoother with Parrotmod. Before Parrotmod it would freeze severely sometimes.

So I wonder what happens when I wipe all and flash in this nAOSP: do I miss on all the smooth&speed tweaks that the Parrotmod guys collected over the months, specifically for the Nexus 7 ?

Maybe interesting to check what Parrotmod exactly does, at the XDA thread here:

http://xdaforums.com/nexus-7-2013/orig-development/beta-1-parrotmod-improve-2013-nexus-7-t3375928

Maybe I just need to flash nAOSP and then Parrotmod over it. Would like to know whether it is useful, or not.

Anyway, I will revive my old Nexus 7 with Marshmallow and I will start with this ROM ! ;)
[Nexus 7 Android Development] millosr:
I'm also a big fan of Mickybarts rom :). I'm still using my Xperia S as my only phone, thanks to him. When I installed that rom I was surprised how stable it is, and after it I started to play with aosp building/development. I tried then to port it to N7, with success, so I'm sharing my builds now.

There are kernel related stuff, that I didn't implemented here, like color profiles (day/night) and Wake Up gestures, but other things are all build here so you should have similar experience like on Xperia S with nAOSP.

I haven't try ParrotMod here, I read that it's optimizations are mostly related with ext4 optimizations, and I'm using f2fs so I'm sure there will be any benefit of it. If you want you can try it and give us your impressions here. For me this rom works pretty smooth without ParrotMod, so I didn't wanted to experiment. Also I prefer build in Superuser over SuperSU, and as I read that ParrotMod requires SuperSU.

I'm not using Xposed on this rom on N7, because it seems that it slows down the tablet. Layers should work fine - I have merged latest layers 4.0 changes to the rom.

I'm hoping you will like the rom :)
[Nexus 7 Android Development] frov:
Flashed B06, SuperSu 2.76, Gapps

Thanks for the reply in the previous post. Now it is clear to me what the relation is between this nAOSP rom and Parrotmod. More about that later.

I flashed this nAOSP yesterday evening late (Dutch time) and installing was quite easy (when you have seen it all before).

The N7 was running: stock 5.1.1 / TWRP 302 / SuperSu 2.65. So that gave me ahead start for flashing in this nAOSP ROM.

I redid the filesystem types to F2FS in TWRP (no problem at all).

I flashed in B06 and for the rest this: (post from Xperia S): http://xdaforums.com/showpost.php?p=67682131&postcount=4831

Result of this was a very nice running Nexus7 with SuperSu 2.76 and Gapps. :good: :o

Already a huge improvement over stock 5.1.1 that hangs at times; now with nAOSP it feels a lot faster already.

Apps were installing bleeding fast, I was delighted. A lot faster than the Nexus 5X that my wife has.

(I am the poor husband that wants to use a 4+ years old Xperia S, haha).

Next, I am tempted to install this Parrotmod over this ROM.

However, I first want to 'feel' this nAOSP.

After some time (when I do not know yet) I will flash over it the latest Parrotmod and assess what has improved, for smoothness / speed.

And will report here of course.

For now, I am happy :laugh:
[Nexus 7 Android Development] myxomop25:
Hi everyone! The ROM is great, works fast and smoothly. Battery life is surprisingly incredible.

But there's one problem, which spoiled everything. Geolocation doesn't work at all. Neither by Wi-Fi, neither by GPS. First it showed if I was in another town, later is stopped show any location. I thought that there was a problem with Google Services, but with OMNI all worked great. The new version of Gapps also didn't help.

Also the thing is, I'm not a developer, so don't know how relevant it is. When I wiped data from TWRP 3, there was one problem occured:

Error opening: '/data/data/com.google.android.gms/shared_prefs/com.google.gms.playlog.uploader.xml' (No such file or directory)

. When tried to repair the data partition, another problem happened:

Repair data (f2fs) the process /sbin/fsck.f2fs/dev/block/mmcblk0p10 finished with an error. Unable to repair data.

Because of not working geolocation I had to switch to OMNI, even though I like this ROM more. Does anyone know, how to fix the problem with geolocation? Has anyone encountered this?
[Nexus 7 Android Development] mickybart:
[MENTION=6754437]millosr[/MENTION]

I think that the issue with geolocation is that no device override (overlay) "config_locationProviderPackageNames".

Under :

https://github.com/millosr/device_a...rameworks/base/core/res/res/values/config.xml

https://github.com/millosr/device_a...rameworks/base/core/res/res/values/config.xml

You should need to add :

<string-array name="config_locationProviderPackageNames" translatable="false">

<!-- The Google provider -->

<item>com.google.android.gms</item>

<!-- The standard AOSP fused location provider -->

<item>com.android.location.fused</item>

</string-array>

I have encountered this issue on Xperia S and that fixed the geolocation for every one.
[Nexus 7 Android Development] millosr:
Hi myxomop25,

What device do you have Groper or Tilapia? I will try to rebuild the rom with the change mickybart suggested.

For f2fs conversion do you have any other log message before the one you sent? Are you using twrp 3.0.2?
[Nexus 7 Android Development] millosr:
Thanks a lot. I will try to rebuild the rom with the change.

Btw, I'm not experiencing geolocation problems.
[Nexus 7 Android Development] mickybart:
That was the same for me on my device when some other users reported issues. This was a strange situation ! (in fact the same than the one reported here).

For information this configuration is also present on some other ROMs :

https://github.com/CyanogenMod/andr...rameworks/base/core/res/res/values/config.xml

https://github.com/omnirom/android_...rameworks/base/core/res/res/values/config.xml
[Nexus 7 Android Development] myxomop25:
Hi, millosr,

Thanks for your answer. I forgot that the thread is about both Tilapia and Grouper when was writing the message. I have Tilapia.

What is about f2fs, unfortunately, I have no other logs, because except the logs I've mentioned other were all right. I use TWRP 3.0.2.
[Nexus 7 Android Development] millosr:
I've created builds for both grouper and tilapia. Anyone that has problems with the location should download the update.

Nexus 7 Wi-Fi

nAOSProm-6.0-grouper-b07a.zip

md5: 77bb880c3b7442befee325e4759b87ec

sha1: 9202e416e5ea94ba82517747e4c9d86c15c1ecdd

Nexus 7 Wi-Fi+3G

nAOSProm-6.0-tilapia-b07a.zip

md5: 4c8bccb1e14c7c3e6415759a65834207

sha1: 98003eabc8ce11f6a4f9ec36dca4edb2ed6143b1
[Nexus 7 Android Development] myxomop25:
Thanks, dude. I'll download and install it. Could you tell me, if it's possible to dirty flash it on OMNI? And one thing more: how to remove built-in Performance Control app? There's the new version of it on F-droid and I wish to use that one instead.
[Nexus 7 Android Development] millosr:
I guess you can flash it over OMNI, but you will have some stability issues. Maybe you'll even get into boot loop.

I advise you to backup your apps with TB, do the clean flash and restore the apps.

If you want to remove PerformanceControl delete directory /system/app/PerformanceControl. You can do it either from TWRP or from the system. You have to mount /system as rw to do that.

Btw, version of PerformanceControl in this rom is related with the kernel that is used. Kernel features like double tap to wake, can be configured through it.

Both kernel and the PerformanceControl app are done by [MENTION=4948627]daniel_hk[/MENTION]. Big thanks to him.

This is the thread:

http://xdaforums.com/nexus-7/development/kernel-dc-kernel-t3310642
[Nexus 7 Android Development] frov:
I had no issue with Geolocation with my Nexus 7 / B06. Only tested briefly.

I use LocusPro and GPS Status Pro (I am a big time geocaching fan, so ...)

I now see that the Nexus 7 only looks at the American GPS sats.

My XS also looks at the Russion Glonass sats. That helps in quick lock.

Using my XS / Locus / Mickybart Roms, I found a lot (a lot!) of Geocaches :D

---------- Post added at 02:22 PM ---------- Previous post was at 02:18 PM ----------

Read my post #54: I now also installed the Parrotmod ZIP over the B06 Rom: it installs fine (TWRP 302) and the Nexus 7 still boots and runs ;)

I have the impression the Nexus 7 is now even smoother than with plain B06.

Just try it for yourself: first make a backup of B06 in TWRP and then install. And see for yourself.

http://xdaforums.com/nexus-7/orig-development/parrotmod-speed-2012-nexus-7-emmc-fix-t3300416

I love my super duper Nexus 7 now :D
[Nexus 7 Android Development] myxomop25:
Got it. I followed your advice and clean flashed the ROM with the changes. Geolocation started working:)

Some people write about the Parrot Mod. As I see, it requires SuperSU. But do I need to get rid of the built-in SU app before flashing SuperSU and installing the Parrot mod?

There was one more issue. When I upgraded from b05 to b06 by dirty flash, the Gapps disappeared. Then I flashed them and it lead to force closes, which precented me from doing anything on this tab. Maybe I did sometning wrong? And one more question. Is it possible to upgrade when Xposed is installed? Or only clean flash?
[Nexus 7 Android Development] millosr:
Rom flashing script cleans system partition, so gapps are deleted. When you upgrading you have to flash GApps as well (and SuperSu if you use it). If gapps are not present when phone boots, then all their permissions are erased so when you flash it later you get FCs because of missing app permissions.

If you are upgrading rom using OTA (RomUpdater), you have to configure post update setup - to add Gapps (and eventually SuperSU) zip files for flashing after the rom updates.

When flashing SuperSU it just overrides Superuser app in this rom, so later it is used instead of embedded su. SuperSu menu item then replaces Superuser in System settings. So you can just flash it. It doesn't need to be flashed together with the rom (like gapps), so you can boot to recovery and just flash SuperSu if you want.
[Nexus 7 Android Development] noleng:
Thanks for reply.. also, my response is a bit late, as I see that you have posted new builds in regards to the location issue. (I may have described my issue with the wrong term. Geo-Location seems to be the proper terminology for my issue.)

Anyhow.. I am flashing the new build as I type this..

As for the setting that I was referencing is:

Settings > Wifi > Advanced > Scanning Always available (Let Google Location Service and other apps scan for networks, even when wifi is off)

Entirely different setting than the one you referenced.. either way.. lets see what happens with your new build..

Im glad others also had this issue in order for you to make a new build..

thanks
[Nexus 7 Android Development] noleng:
Status update in regards to flashing the nAOSProm-6.0-grouper-b07a.zip

Geo-location 100% working on my Nexus 7 Wi-Fi

Though, my system is stating that I have 6.0b06 installed.

This may be a glitch in the update settings, since 6.0b07 is not listed as an update as of yet, but I am not certain as of yet.

I upgraded from 6.0b05 via Recovery Reboot into TWRP 3.0.2-0.

Install method:

-Reboot Recovery (Rebooted into TWRP version 3.0.2-0

-Install

-Selected nAOSProm-6.0-grouper-b07a.zip

-Add more Zips

-Selected open_gapps-arm-6.0-nano-20160721.zip

-Swiped to Confirm Flash

-Wipe Dalvik/Cache

-Reboot

All previously installed apps fully functional, Geo-location works via WiFi even if indoors with no GPS abilities. (Previously, this did not work for me with b05)

No errors, No Force Close issues, No boot-loops.

I am curious though... is the b07a called b07a externally, within the filename only? Or, should my device acknowledge the new b07a build and allow me to verify this somehow?

Either way.. This fixes and resolves all Geo-location issues that I originally brought up a few days ago. Thanks for the great work to everyone involved!
[Nexus 7 Android Development] millosr:
I didn't add this build to OTA updates, since Geo-location is working fine for some users without the fix, so it's not necessary for them to do the update.

I'm glad that it is fixed for the others.

Thanks for the report :)
[Nexus 7 Android Development] myxomop25:
I'm also happy that geolocation started working. But now it's the opposite side of the problem. Geolocation never turns off, works permanently, thus drains the battery harshly. The main consumer is Play Market. Why does it need non-stop geolication scanning, I don't know. The location is already fetched and so there's no sense, why geolocation is constantly run. Also, geolocation stops when I stop the Play Market app. Wakelock Detector displays there is 82% active. The tab doesn't fall asleep. I don't want to be annoying, are there any ways to fix it? I like this ROM and don't want to return to OMNI.
[Nexus 7 Android Development] millosr:
I don't have such problems with the new build.

Have you tried to switch of location from Quick Settings when you don't need it.

Killing play store after use can be workaround for you.

I'm going on vacation, so I will not be able to work on the ROM in the next 15 days.
[Nexus 7 Android Development] parrotgeek1:
There is also another tiny bug caused by a change by original Xperia developers. If you are on an old app which shows menu button in nav bar, when you press it, it opens recent apps instead! Long pressing menu opens the actual menu. This was changed to add a recent apps button for old Xperia instead of menu but makes no sense on N7
[Nexus 7 Android Development] millosr:
Hi parrotgeek1,

It's nice to see you trying this rom. Have you tried your ParrotMod on it? There were some positive feedbacks here of running ParrotMod on nAOSP.

Thanks for reporting the bug. This could be also the issue on Xperia S, since there is option to show nav bar. What are the aps affected by this bug?
[Nexus 7 Android Development] nada324:
When you restart or turn off the tablet and turn it on , I have no sound, until you put the tablet in landscape mode , so now you can put into portrait mode and I have sound.

Thanks!!!

I hope that is not a bug!

Nexus 7 2012 3g tilapia overclock 1700mhz.
[Nexus 7 Android Development] frov:
We did another Nexus 7, installing b07; this particular Nexus was in a much worse state than my first one. This last Nexus would be really slow at times and even go into reboots.

After having flashed in B07 (incl the F2FS and all), the nexus was already a lot better. Still, after installing a lot of apps in 1 go (a restore from Google), it became rather hot and rebooted 3 times spontaneously. Today, it was a bit choppy and we installed Parrotmod: with that it is smoother and fine again.

I want to conclude that nAOSP + Parrotmod is a good combi.
[Nexus 7 Android Development] iluvxda:
Many thanks for this great ROM. This with Parrotmod indeed brought my old Nexus 7 back to life.

One question though. Can we install the latest xposed framework on this rom? Cannot seem to get it to work even after flashing the latest xposed zip in TWRP and installed the xposed installer apk.
[Nexus 7 Android Development] frov:
A friendly question: is it possible to build the B12 of the Xperia S for the Nexus as well? :fingers-crossed:
[Nexus 7 Android Development] millosr:
I will fix this in the next build.

For now there is workaround:

su

setprop persist.qemu.hw.mainkeys_layout 0

reboot
[Nexus 7 Android Development] millosr:
There were some issues with sound and rotate before, but those should be fixed in the kernel.

Which version of nAOSP do you have? Do you have multirom installed or some other kernel?
[Nexus 7 Android Development] millosr:
It was working for me, however it seems to slow down a tablet, so I'm not using it.

Do you have correct version of xposed - xposed-v86-sdk23-arm.zip ?
[Nexus 7 Android Development] millosr:
I've just returned from vacation. I hope I will be able to merge the changes and release new build until next Saturday.
[Nexus 7 Android Development] millosr:
nAOSProm b07 released

New build has been released.

Changes:

AOSP android-6.0.1_r61 - August security patch

Superuser replaced with new Superuser with AppOps

su: Support for multiuser and the new Superuser

Ui: Battery styles (see Settings/nAOSProm/More)

Ui: Optimizing application displays the application name

Ui: Correct handling of NavBar menu button in old apps

Settings: Display safe entries into nAOSP section (depends on current user, root access ...)

Boot: check f2fs not run anymore - faster boot in the case of f2fs data and cache

Geolocation: fixed location provider

PerformanceControl: changed to drawer view ui

Superuser

On this version, you will lost every superuser permissions. You will have to re-enable them as requested during a root access.

The new solution is built against the Android permission system (with AppOps).

You can now enable/disable previously answered root access to an application in the same way than any other permissions 'Settings/Apps/<app name>/Permissions' or 'Settings/Apps/settings/all permissions/Superuser'.

You can enable/disable root access to a specific user in Settings/Users (Guest can't have root access).

Important:

Gapps need to be flashed without PackageInstallerGoogle. This one need to be exclude with gapps-config.txt (or equivalent).

By default the ROM include a file under /persist/gapps-config.txt that will do it for you BUT ONLY if you have NOT override gapps-config.txt somewhere or if your Gapps SUPPORT gapps-config.txt file.

Opengapps wiki : https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options

Download:

Nexus 7 (2012) WIFI: nAOSProm-6.0-grouper-b07.zip

md5: b4886f9285f96dacd9bf22ab228a5ca4

sha1: 69d9fa13de5375fa5b2bec6959096a4b1c1c4d18

Nexus 7 (2012) WIFI+3G: nAOSProm-6.0-tilapia-b07.zip

md5: 47249f5242e1ed78fe10faa909eced13

sha1: 6b9dc99b08d3ab890dfa4859c5c96f8d762d03a6
[Nexus 7 Android Development] frov:
Great: will clean flash soon!

Edit, Question: do we need to separately flash in the boot.img file (similar to what needs to be done for boot.img and recovery.img for B12 for XS) ?

For now I did not do that and now the thing is booting ;)

Edit2: the N7 is running nicely B07 and I also just flashed parrotmod (ParrotMod_Grouper_Universal_2016-05-26_16.22.40.zip) on top of it.

Now TitaniumBackup is doing its restore thing :)
[Nexus 7 Android Development] millosr:
No need to do separate flash of boot.

I'm not packaging recovery to the rom, like in xs version. XS recovery image contains /persist/gapps-config.txt, so it has to be flashed and rebooted, before rom+gapps flash. In this rom I added a script for creating gapps-config so it is there right after flashing the rom.

Btw, this gapps-config is neccecary to prevent replacement of rom package installer with Google package installer, because new embedded SU is dependent of it. If you are using SuperSU than that doesn't matter.
[Nexus 7 Android Development] noleng:
I was one of the people that installed the b07a version. If I install the new version you posted a couple days ago.. Will it include the patchwork included in b07a, or will the patchwork stay from my b07a install..

I have a few other questions but for now. Does anyone know about this.
[Nexus 7 Android Development] millosr:
Yes this version includes geolocation fix.

I will edit my posts to add it.
[Nexus 7 Android Development] frov:
Running fine

Just wanted to add that B07 is running fine on the N7. For a week or so by now. That is including the parrotmod.

So again thanks for this :)
[Nexus 7 Android Development] nada324:
I have nAOSP b07a with stock kernel(DC KERNEL)

but now i will install b07

Edit: Still the problem in b07 with stock kernel no multirom

With parrotmod tilapia nexus 7 3g, still no sound until i put in landscape mode when I reboot!
[Nexus 7 Android Development] frov:
Fast Charge

Q: is it possible to have an option for battery fast charge, like in the XS ROM ?

Especially with the bigger battery in the N7.

Tnx :o
[Nexus 7 Android Development] mimo_s16:
Hello, im using tilapia, the 3g version. May i know how to enable wifi hotspot in it? Thanks