yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] daviddavidsoneq:
Any chance that you will submit your work upstream so that this can become an official build?
[Nexus 7 Android Development] Charles IV:
I am trying to build using my own device tree, and while building the kernel from the kernel source, i am getting errors:

charles@charles-ubuntu:/media/charles/HDD/android/my-lineageos-14.1/kernel/asus/grouper$ make
scripts/kconfig/conf --silentoldconfig Kconfig
WRAP arch/arm/include/generated/asm/unaligned.h
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
kernel/bounds.c: In function 'foo':
kernel/bounds.c:17:2: error: implicit declaration of function 'DEFINE' [-Werror=implicit-function-declaration]
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
^
kernel/bounds.c:17:9: error: 'NR_PAGEFLAGS' undeclared (first use in this function)
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
^
kernel/bounds.c:17:9: note: each undeclared identifier is reported only once for each function it appears in
kernel/bounds.c:17:23: error: '__NR_PAGEFLAGS' undeclared (first use in this function)
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
^
kernel/bounds.c:18:9: error: 'MAX_NR_ZONES' undeclared (first use in this function)
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
^
kernel/bounds.c:18:23: error: '__MAX_NR_ZONES' undeclared (first use in this function)
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
^
kernel/bounds.c:19:9: error: 'NR_PCG_FLAGS' undeclared (first use in this function)
DEFINE(NR_PCG_FLAGS, __NR_PCG_FLAGS);
^
kernel/bounds.c:19:23: error: '__NR_PCG_FLAGS' undeclared (first use in this function)
DEFINE(NR_PCG_FLAGS, __NR_PCG_FLAGS);
^
cc1: some warnings being treated as errors
/media/charles/HDD/android/my-lineageos-14.1/kernel/asus/grouper/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:995: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

#### make failed to build some targets (2 seconds) ####

charles@charles-ubuntu:/media/charles/HDD/android/my-lineageos-14.1/kernel/asus/grouper$
[Nexus 7 Android Development] WilsonKime:
Setup Wizard crashing on 20170423 build

Tablet is 32 GB wifi version (grouper).

I started with stock ROM (5.1 something iirc), installed TWRP 3.1.0, wiped Dalvik/System/Cache/Data (left Internal Storage as is).

Then I flashed [lineage-14.1-20170423-UNOFFICIAL-aaopt-grouper.zip] together with [open_gapps-arm-7.1-pico-20170429.zip] (and gapps-config-grouper.txt) and rebooted.

However Setup Wizard application kept crashing and I could not complete setup.

Ended up flashing [lineage-14.1-20170315-UNOFFICIAL-aaopt-grouper.zip] and was able to complete setup with that older build.

Will post if I notice anything else out of the ordinary.

Thanks and keep up the good work!
[Nexus 7 Android Development] Kullooa:
Google Assistant and Long Home Press

Thanks for this great ROM! To get Google Assistant working on the 20170423 and 20170315 builds, I had to use [MOD][Android 7.0+][arm][nodpi] G-Assistant v6.0_7.zip after intalling OpenGapps Pico. But, now on the 20170423 build, long press on home to start the assistant no longer works. "OK Google" works though. Thanks in advance for any work on getting the assistant to fully work!

I did a clean install on a friend's Nexus (20170423) and I had to enable Wifi via ADB to get the setup wizard to work...

adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
[Nexus 7 Android Development] Charles IV:
you can modify gapps-config-grouper.txt file to include google assistant (have a look on the gapps website).

otherwise you will probably need to re-flash the mod every time you re-flash the lineage build
[Nexus 7 Android Development] Kullooa:
Thanks Charles IV, but no luck doing it with the gapps-config-grouper.txt file. It successfully modified build.prop to include ro.opa.eligible_device=true, but the Google App setting for "Ok Google" detection is grayed out and says, "This feature is currently unavailable on this device."

Installing the G-Assistant v6.0_7 (Assistant Enabler) Mod enables that setting, but with the 20170423 build of this ROM, the long press on Home doesn't work.
[Nexus 7 Android Development] Charles IV:
Hmm, strange that gapps didn't work.

Is it possible that in gapps config you forgot to include Google search or other things that Google assistant relies on? Or maybe your gapps zip is too old? Sorry that I'm trying to fix this rather than the mod, but I don't think there have been any changes in the device tree to disallow it, and I doubt there will be anything in the source code, but I'll have a look.

---------- Post added at 10:49 AM ---------- Previous post was at 09:51 AM ----------

if i remember correctly, there's an option in settings and you can choose what long press, double tap etc. do on the soft buttons, so maybe you can enable it there
[Nexus 7 Android Development] Dark Obsessions:
i tried to dirty flash the last version over the previous one after cleaning cache , dalvek cache and system ... but the device falls in a boot loop.
[Nexus 7 Android Development] aaopt:
A logcat may help if you can get one.
[Nexus 7 Android Development] fraddy91:
Does anyone try to make bluetooth tethering (over phone cellular) working?

Ok, now is working.
[Nexus 7 Android Development] Kullooa:
Thanks, Charles IV, all good now with Google Assistant! I forgot there was that the Lineage-specific Buttons setting. I had to change the "Home Long Press Action" to "search assistant." There is a related standard setting under Settings - Apps - gear icon - "Assist & voice input."

I was able to get the Google Assistant to install, but I had to go up from Pico Gapps to Nano Gapps and play with the gapps-config-grouper.txt file a bit to get it to fit...

#
Include
Core
#calsync
Search
Hotword
GoogleAssistant

# stock removals -- these would work
Browser
CalendarStock
ClockStock
Gallery
MMS
LockClock
CMAccount
CMUpdater
CMSetupWizard
Email
ExchangeStock
Hexo

Using the [MOD][Android 7.0+][arm][nodpi] G-Assistant v6.0_7.zip after intalling OpenGapps Pico seems to have the same result. So far this ROM is working beautifully. The only glitch is needing to enable wifi via ADB during the setup wizard. Thanks so much developers and testers!
[Nexus 7 Android Development] uphall:
MTP Mode.

Anyone else having problems transferring files from laptop in MTP mode? I have to boot into recovery before I can transfer to internal storage.

Any help would be appreciated.
[Nexus 7 Android Development] clixer:
Anyone else having screen flickering issues? Maybe it's just me but my screen flickers then turns off when using the latest version. Strangely this only started after I opened the tablet up to check the battery (tablet was charging very slowly) so I could have upset something but this issue does not occur in recovery mode.
[Nexus 7 Android Development] Norikiyo:
i cant use "now on tap" and "ok google"

google app's issues?
[Nexus 7 Android Development] Piti8576:
Clean Install from official android 5

Open bootloader, flash twrp and install with 20170315 and pico gapps.

Then update to 20170503 and all work fine.

Only found that charging is very very slow.
[Nexus 7 Android Development] Galaxea:
I am still on this one 20170315 and charging is painfully slow.
[Nexus 7 Android Development] Charles IV:
i would say charging is an issue to do with the tablet. I first got this issue when i was back on stock 4.4.4, and it's continued ever since. A good thick, short cable may help, but undervolting, which you can t do with this kernel (I'm working on making one), definitely helps.
[Nexus 7 Android Development] Piti8576:
Before opening bootloader the first time yesterday i have never a problem with slow charging.

Now i turn the tablet off and charge.

Hope for a fix in future.
[Nexus 7 Android Development] aaopt:
Are you able to start the transfer and then having issues, or just not seeing it connect to the computer at all?

Check for a notification, something like "USB connected for charging only", and select a different option. (I don't recall whether presence of the notification depends on some other setting.)
[Nexus 7 Android Development] Charles IV:
i think you can also find this option in developer options. "USB mode" or something like that
[Nexus 7 Android Development] onoakino:
Any changelog for the latest build [MENTION=3729448]aaopt[/MENTION]?

What's changed since the April build and where can I view the complete change logs? Thanks.
[Nexus 7 Android Development] aaopt:
Updated #2.
[Nexus 7 Android Development] SMaxtor:
It's not a bug. I think the Mainteaner removed "Fast Charing".
[Nexus 7 Android Development] AndDiSa:
[MENTION=3948534]SMaxtor[/MENTION] Well 'Fast charging' is used to allow more than 500mA current when charging over an USB-port but has nothing to do with the power rate used when connected to a wall charger.

---------- Post added at 04:04 PM ---------- Previous post was at 03:57 PM ----------

@Piti8576 if charging is very very slow this is an indication that there is a high CPU load and the device is not going into deep sleep. Unfortunately when the CPU is running and screen is on the device needs between 500mA and 1000mA, so there is not much power left to charge the battery. Generally the power plug should provide up to 1800mA ... but the maximum I saw on my device is ~1000mA. Probably this is also related to the age of our batteries ...
[Nexus 7 Android Development] Charles IV:
On the issue of the CPU using too much power, when on stock, i noticed undervolting not only helped, but if anything fixed the issue.

I am attempting to modify your kernel to allow this, using M-Kernel as a guide.

I'm having a bit of trouble, and I wondered if you could have a look over what I've done to see if anything sticks out to you as wrong. I've Changed the files I think I need to, but I'm having trouble building it.

The source code is here on github (ads-7.1.0-mod branch)
[Nexus 7 Android Development] AndDiSa:
[MENTION=7211583]Charles IV[/MENTION] I suppose it's much more easy to look for the corresponding patches (e.g. for OC from [MENTION=4948627]daniel_hk[/MENTION]) and apply them than directly modifying the files / kernel tree. Good sources are: Francisco Franco, faux123 (Paul Reioux), ...
[Nexus 7 Android Development] Charles IV:
This is essentially what i did with m kernel. i essentially went through all the changes made to his custom defconfig, and modified or replaced all the files linked, which is why you see *-old or *-backup files littered around my kernel tree.

I suppose one problem was that when i tried cloning and building m kernel, that didn't work either.

I guess I'll start again only applying certain patches like the one you linked, but is it possible to pull a request to my own tree, using commits from other repo's?
[Nexus 7 Android Development] AndDiSa:
It depends on whether the commits / patches are compatible with your code base. If it's not compatible you will get a merge conflict which needs to be resolved manually.

Generally to add / modify a feature you need to modify several files together. To understand later what changes belong together you should keep them together in one commit. If you are committing several changes at once it's very hard to find errors and to understand the modifications.

BTW. you don't need -old or -backup files ... you can always compare with the previous revision(s).
[Nexus 7 Android Development] Charles IV:
Thanks - any idea on merging commits to my own repos?

and the reason i had the files was because i was doing it all manually, almost separately from github, and wanted to make it easy for myself (and it did help - mix filenames around rather than restore and undo restore)
[Nexus 7 Android Development] uphall:
I have mtp mode selected in dev options. The notification appears when I plug it into the laptop and I have toggled between each of the options. The device does not show on the laptop file tree. The only one for transfers that works is ptp mode but of course, that's only for media transfer and can't transfer other types of files.

I would think that it is a driver problem but then why would it work in twrp recovery?

I am on Windows 10.
[Nexus 7 Android Development] Charles IV:
are you sure you are plugging it all in at the right time, according to googles instructions, i was surprised at how much of a difference this made.

I remember having problems, but they have gone now, and i'm not entirely sure why.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3306630]eNVy[/MENTION] because the base of the ROM is for a Pixel device and the mobile services are included and started by default, but they do not / cannot return valid values.
[Nexus 7 Android Development] FunkyMuse:
It is right under the battery settings, what's funny i can't seem to find how to make battery percentage appear in my circle
[Nexus 7 Android Development] aaopt:
Oh, I see... by tapping the graph.

On Settings / Status Bar I see two items: Battery status style and Battery percentage. The second one allows to show the percentage inside or next to the icon.
[Nexus 7 Android Development] FunkyMuse:
Didn't see it since it was at the bottom.

Anyways other bugs i discovered:

- Even if you lower the sound to 0% in the settings it still say that it is at some other volume, it doesn't get updated (ex. i lowered the volume to 0% and it says ring volume %71)

- the keyboard freezes some time and makes the device unresponsive, maybe it's the app but i don't have that problem on my xiaomi mi5s

I think it would be good if we had an option for the system to ask us if we are sure about shutting down the tablet, instead you can do this by mistake and it shuts down immediately :fingers-crossed:
[Nexus 7 Android Development] aaopt:
Please have a look at this page and pay close attention to the CPU and RAM sections. A ROM is not going to make your 5 year old tablet as fluid as your brand new phone with 3-4x RAM and 2x CPU speed.

Regarding shutdown, how long did you hold the power button? If you hold it for about 3 sec you get a menu. Are you saying you picked the wrong item from that menu by mistake? Or did you hold the power button for 10 sec and bypass the menu?
[Nexus 7 Android Development] FunkyMuse:
I understand that and i know, but i feel like it could be done something to push a things little better.

What i am saying is when you hold the power and you get the menu to shut down the tablet and you click on shut down, it should ask you if you are sure about shutting it down, not just when you immediately click on it after opening the menu to shut down the tablet.
[Nexus 7 Android Development] fouineur74:
New update available :

lineage-14.1-20170106-UNOFFICIAL-grouper.zip

But I can't take link because of the forum policy :

" The following errors occurred with your submission:

To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!"

(androidfilehost.com/?fid=529152257862693338)
[Nexus 7 Android Development] Charles IV:
Thanks for this, i was thinking of building lineage for myself, after i kept failing with aosp.

I have already built cm12, but i dont remember the git clone bit. Is this there because android 7.0 isn't officially supported for the n7?
[Nexus 7 Android Development] aaopt:
Yes, exactly. Without that line you are building straight LineageOS which probably won't run on grouper -- I don't think CM ever picked up the basic hacks necessary to make grouper work even for Android 6. That extra "git clone" line causes your build to include the additional settings and packages I use for my builds.
[Nexus 7 Android Development] Charles IV:
Thanks for the fast reply!

I get an access denied error when running the git clone command

Here is the exact thing i get:

charles@charles-ubuntu:~/lineage/system$ git clone git@github.com:aperomsik/lineageos_local_manifests.git .repo/local_manifests -b cm-14.1
Cloning into '.repo/local_manifests'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
charles@charles-ubuntu:~/lineage/system$

i have gone to the github and have extracted teh files into .repo/local_manifests (which i had to create) Did I do it correctly?

Thanks for your support
[Nexus 7 Android Development] aaopt:
I guess that could happen if you don't have a github account or don't have an SSH key on your github account. In that case you could try cloning from this url instead:

git clone https://github.com/aperomsik/lineageos_local_manifests.git .repo/local_manifests -b cm-14.1

If that works better I can update the instructions.
[Nexus 7 Android Development] Charles IV:
Thanks, will do, sorry i didn't see your reply because it is on a new page, but i created the local_manifests folder, and extracted a downloaded zip from the link. I will try the second linnk (which is where i downloaded the zip)

I do have a github, but im not sure about ssh

Thanks, i deleted local manifests, and ran the command, and it did what i did plus a few extras. Thanks for all your help.
[Nexus 7 Android Development] Charles IV:
I remember from building cm12 and attempting aosp 5.1.1, you needed blobs or proprietary binaries. Is this included in the git clone? Is this related to a breakfast grouper error telling me to install schedtool?
[Nexus 7 Android Development] aaopt:
Some of the xml files in local_manifests include locations of binary blobs, so repo sync will fetch them.

I'm not familiar with the schedtool error but I do seem to have it installed.
[Nexus 7 Android Development] Charles IV:
Thanks, i installed and ran it last night, and im getting the usuall errors, i'll try and fix them whenever

Thanks!
[Nexus 7 Android Development] onoakino:
Pixelated picture.

I'm getting really pixelated pictures using this ROM. Is there any fix to this? Plus, how can I view logcats as I'm getting occasional notifications telling me that x has stopped working something something. I love the ROM though.
[Nexus 7 Android Development] epiphone324:
to update it, do I just flash the new rom with twrp without wiping anything beforehand?
[Nexus 7 Android Development] effemmeffe:
Just to report that my nexus is finally responsive with this rom, many thanks for it.

I have the too many pixel problem with the camera and sometimes (more than 5 times in one normal day of use) some app crashes without any clue on why, but I can live with it.

Of course if I would know how to report logs I'd do, but I don't, so I'll wait for some update.
[Nexus 7 Android Development] Sir Charles82:
Hello,

sorry, if the question was already asked: is the ParrotMod included in this ROM?

I'm still on Stock Rom (without rooting and Parrot) and it is soo incredibly slow. Seeing forward to install this ROM to my good old Nexus 7 :)
[Nexus 7 Android Development] :
No, parrotmod isn't included. Install this ROM and you will be happy with your Nexus 7
[Nexus 7 Android Development] AndDiSa:
You could add the repo you would like to merge from as another remote repository, e.g.

git remote add <alias> <repo-url>

git pull <alias>

will pull the repo and with

git cherry-pick <Id>

You can merge the commits into your branch.

But now we should stop this discussion here in this thread because it has nothing to do with LineageOS for Nexus 7.
[Nexus 7 Android Development] uphall:
Because of this annoyance, I have gone back to PureNexus MM for the time being. Transfers work perfectly as they should in PNMM, so I don't believe it is a physical hardware issue.

I'll probably have another go at LOS when I have more time to mess about and try to resolve the problem.
[Nexus 7 Android Development] TureX:
Will this rom support f2fs?

Inviato dal mio ALE-L21 utilizzando Tapatalk
[Nexus 7 Android Development] Charles IV:
I haven't tried it, but somewhere in the previous 40 pages, people have used it.

here is one of them:
[Nexus 7 Android Development] Charles IV:
I think I've done it ...

I managed to compile the kernel (supposedly now with OC and everything), however, my tablet is bootlooping when i flash the boot.img. Even when i reflash everything andwipe dalvik, cache and system, it still happens.

I had a similar problem with M Kernel on cm12.1, so I'm wondering if it could be that Lineage/CM doesn't like mkernel / certain custom kernels, however, other people didn't have my issue with M kernel.

I'll try and attach the boot.img to see if anyone else who wants to try gets the same issue (just make sure you backup first!)

Does anyone know if i should have changed something so LOS supported it? or if LOS? is picky about custom kernels?
[Nexus 7 Android Development] pyrohydrosmok:
Anyone else having an issue with Netflix reporting not compatible with device version?
[Nexus 7 Android Development] Charles IV:
If anyone flashed the boot.img i uploaded, did anyone get undervolting, i re-build the whole rom with my kernel, and managed to get overclocking and the touchdemand governor (although not set by default), but not undevolting. If everyone else got bootloops, I can upload the zip of the rom i built
[Nexus 7 Android Development] cloud79:
Does someone know why super mario run don´t work with this rom. It does on stock. Other games tested works fine
[Nexus 7 Android Development] Cielo&Notte:
Is it stable as a version?
[Nexus 7 Android Development] xp009:
Best ROM for Nexus 7 !

My Nexus 7 was slow like sh*t when it were at Stock 4.4 . I tried a lot of Rom but they all have their own bug.This is the most perfect ROM I ever tried on a old crap device.The performance just so amazing.Thanks to the dev for making this ROM :good::good::good:
[Nexus 7 Android Development] smartpr1v4t3:
Had a old version running fine, wanted to update and make a clean flash but the setup assistant is crashing.

lineage-14.1-20170503-UNOFFICIAL-aaopt-grouper + open_gapps-arm-7.1-pico-20170512.zip
[Nexus 7 Android Development] dj_pin:
Exactly the same problem.:confused::confused::confused:
[Nexus 7 Android Development] DrGirlfriend:
Try flashing just the rom then boot and complete setup. Reboot to recovery and flash gapps.
[Nexus 7 Android Development] Josseda673:
I have a problem, i just installed the last ROM and gapps, then when i start the ROM, i can't open Play Store.
[Nexus 7 Android Development] smartpr1v4t3:
thanks worked
[Nexus 7 Android Development] Wolverine_DH:
Same problem here, with the version 20070503, Netflix not work or not compatible! With a old version work it.
[Nexus 7 Android Development] TureX:
Maybe because netflix restrict user that use root and unlocked bootloader,try to install by apk
[Nexus 7 Android Development] Charles IV:
[MENTION=3729448]aaopt[/MENTION] is it possible that there are configurations in the device tree that are overwriting/over-ruling kernel configs?

My reason for asking is because, while OC is working, UV isn't, and the default governor isn't touchdemand, as set out in tegra3_android_defconfig, even though you can change it to touchdemand.

edit:

had a look at the device tree, could it be to do with the init.grouper.rc file?
[Nexus 7 Android Development] Flounderist:
Setup wizard keeps crashing

Hi there,

went from old 5.1.1 stock and flashed 20170503 ROM + OpenGapps Pico and .txt file.

Setup wizard keeps crashing, tried flashing with or without gapps, I also tried using 042317 build but no luck.

Am I doing something wrong? Do I need to edit the .txt file? I am using it as I downloaded, placing in the same folder of Gapps in /SD of tablet.

Please help!

Thank you
[Nexus 7 Android Development] Charles IV:
it is possible that it is a problem with the txt file and gapps, but if you could attach a logcat, they may be able to identify the problem.

Considering it did work before, it may a problem upstream with lineage os, but a logcat would help identify exactly what is going wrong.
[Nexus 7 Android Development] Flounderist:
Hi, tried also with 0504 pico gapps and tried flashing slim 7 as well. No luck at all. Also wiped system. Format data could help?