yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] :
It did not help of course. Very simple solution would be.
[Nexus 7 Android Development] AndDiSa:
Initial boot will take some time, be patient. I would say, at least 5 to 10 Minutes. If you would like to know, what's happening, connect to a PC and do adb logcat.
[Nexus 7 Android Development] shaggyskunk:
Yeah - But always worth a shot ;)

You could always boot back into Recovery - Factory Reset etc & see if it helps.

Sent from my SM-N910W8
[Nexus 7 Android Development] :
Not working, PC can't see device in boot stage.
[Nexus 7 Android Development] solved:
got it .. don't install this rom via "Install" function from twrp .. use adb sideload .. that did it for me
[Nexus 7 Android Development] akillenb:
Factory reset from Pure Nexus rom, installed using TWRP, seems to work very well.

Music app crashes/won't run,(Google play music runs ok) and haven't found a working camera app yet, but seems like everything else I've tried has run fine.
[Nexus 7 Android Development] AdriK:
[MENTION=2188693]AndDiSa[/MENTION]

I am currently running your 7.0 ROM with banks dynamic gapps.

Would it be ok to dirty flash the last 7.1 ROM with pico gapps?

Or is a full system wipe, including /data required?

I don't mind wiping /system, /cache or dalvik, but would prefer to preserve /data.

Thanks,

Adri.
[Nexus 7 Android Development] AndDiSa:
Dirty flash should be ok, at least I've done so.
[Nexus 7 Android Development] pincher65:
what you flash after "wipe internal memory"? you need to boot in recovery (TWRP 3.0.2), connect to PC and to load ROM on a N7, then to flash it again or use Wug's Nexus Root Toolkit
[Nexus 7 Android Development] :
I have usb-otg, i flash rom from sd card, but i try install from adb sideload too and it again stuck on android logo.
[Nexus 7 Android Development] AndDiSa:
Can you explain what and in which sequence you flashed? I suppose you didn't flash SuperSU in systemless mode, but in system mode. This may lead to bootloop ...
[Nexus 7 Android Development] pincher65:
"install only rom without gapps and supersu"

you give not enough information (use f2fs? cm updater ...). try to flash any stock image through fastboot (to check working), then establish the last TWRP (I use this) and flash this ROM
[Nexus 7 Android Development] len207:
I installed this rom (7.1 version) yesterday after a clean/full wipe of the system. My previous install had been with f2fs but I couldn't get a boot with that file system. Tried changing format to ext4 and that worked, booted into Android 7.1 just fine. Had several misadventures with Supersu, first tried installing an older version and that did not let it boot; format and flashed ROM again with proper Supersu. and after a hiccup or two on boot up the tab did get back into android. Have not really tried much of anything. Installed/configured my basic apps and that went fine. The OS is not real snappy but it hasn't run very long and I have done nothing other that basic installation. I will continue to let you know as I get to use the tab more. Thanks to the dev for keeping the ol' Nexus 7 alive!
[Nexus 7 Android Development] Andy2No:
I've had some trouble getting mine to connect, at times, so it might be worth persisting. When it won't connect, things I've tried include closing all apps (square button, scroll to the top of the list and press Clear All), plugging it in while no apps are running, then opening the app to use with it, and rebooting, but not with it connected.

Sometimes I've repeated the cycle a few times - close all apps, plug in, start the app, maybe unplug it, swear loudly and with as much variety as possible, plug it back in, and so on. Maybe reboot, repeat.

My point is that you may just be thinking it won't work at all, when really it will, but it's being extremely awkward for some reason. I'm sure the swearing helps. I must think that otherwise I wouldn't do so much of it.
[Nexus 7 Android Development] kam1kazze:
mhhh...It's a nightmare! Again, on N10 Cyanogenmod 13 an G2 Lollipop stock work perfectly: no workaround, no reboot, no close all apps, etc...

I have try to downgrade my n7 and see the result.

Anyway, do I have not to change kernel or something other to enable USB DAC on this rom?
[Nexus 7 Android Development] Andy2No:
No, this ROM works as it comes, with or without the newer kernel - that only affects the WiFi reconnect problem. The USB DAC support is the same.
[Nexus 7 Android Development] thierry+:
Hiya......this is an odd issue perhaps I just don't understand the issue you are describing with regards to listing and playback of media files. I am running this beautiful ROM with no gapp packages and VLC installed, I can see all media file in the two file managers I have and also in VLC's listing of local media. Selecting from the file managers give me the option of playing back with VLC or the file managers player and VLC plays them all directly. Besides mkv files is there anything VLC won't playback. Regards
[Nexus 7 Android Development] Andy2No:
I hadn't tried VLC, but now I have. The behaviour is the same as with the other two video players, except it can't play videos from a file browser, so it basically does nothing at all that's useful.

It doesn't find any media to play, either video or audio (i.e. MP3), and neither do any of the others I mentioned. If I try to open either sort of file, from one of the two file browsers I have, I get the option to open in VLC, but it starts then immediately exits, without any comment - which is what all the music player apps do with MP3s, only VLC does it with both MP3s and videos.

I should probably point out that I'm not particularly interested in playing media on my Nexus 7, though I guess I might want to at some point. I was curious about what k ahangar said, so I looked into it, and expanded on it a bit.

I used the recommended Gapps package for this ROM, which I think was dynamic Gapps. I'd wondered about using Pico Gapps, because all I really wanted was Google Play. Also, I've uninstalled the Google app (the search). I guess that could possibly have broken something else, so maybe someone else should be checking this rather than me - someone with more of an interest in getting it to work, for example :)

Is it possible to cleanly remove Gapps (anyone?), and install Pico Gapps instead, or would I have to reflash the ROM? If so, I'll leave it as it is, for now. It pretty much does what I need it to do, for the moment. If it's simple to swap one for the other, then I'll give it a go.
[Nexus 7 Android Development] adstraylight:
Forgive me if you've already tried this, but the apps' inability to see your media files sounds a lot like when chrome can't download anything even after having been granted storage permission.

The answer​ in chrome's case is to force stop the app via settings once you have granted the relavant permissions and reload it.
[Nexus 7 Android Development] Andy2No:
That's something I hadn't tried, but now I have, it makes no difference, unfortunately.

I force stopped the built in Music app, Pi Music Player, MX Player and VLC. I can't see the Videos app to force stop that (it doesn't appear in the list of Apps - I only see it when opening a video from a file browser), and I'd already uninstalled Go Music. I used Clear All (via the square button) before starting each one. None of them found any media to list.

Have other people not had this problem?
[Nexus 7 Android Development] adstraylight:
I just installed vlc, after installation it asks for permission to access storage.

I granted this, an then it is as you say, the internal memory folder in the app's directory viewer appears empty.

I closed the app, went to Settings - Apps - vlc, and pressed Force Stop.

Upon re opening the app it could then see my files.

Simply closing via the square button doesn't kill the app entirely, as the system keeps it in background memory for the sake of quick access in case you reopen it. A force stop via the App Info screen clears it from RAM. This makes the system review the app's permissions as it loads from the internal SD card, whereas if it just reloads from background memory, the system seems to skip this.

Hope this helps.

PS. This seems to be an issue in AOSP, as I've seen it in other Nougat ROMs as well in particular relation to Storage permissions, you'll find the same thing the first time you try and download anything via the web browser.

TL;DR: Kill the App in the system settings, not the Recents list?

Edit: one more thing, if there's still problems, try putting your media files in the relavant default folders, Music and Movies...
[Nexus 7 Android Development] Andy2No:
That is exactly what I did. I'm not sure why TL;DR applies here - I wrote less than you did in replying :)

The bit about Clear All not closing apps is interesting, but I only did that between trying each one, so I don't think it matters. I had force stopped all of those apps, from Settings->Apps, before I tried them. I've just done it again, with the same result.

I've been wondering why there's a Videos and a Movies, and I've now put a couple in each one. It doesn't make any difference though. None of the apps I've mentioned see any media to play.
[Nexus 7 Android Development] adstraylight:
Well that's truly weird, and I was makng fun of myself as I realised that my reply was indeed very long..?
[Nexus 7 Android Development] Ahkah:
Sorry to contradict you. As an app developer I experienced exactly that behaviour, i.e. my music player app was granted read permission, but it still did not have access. The reason for that misbehaviour was a bug in the (Android 6 based) OS. The workaround was to remove the app in the "recent apps" view, just by touching the "X"., and restart it And as one can see when debugging one's app or when watching its debug output it will in fact be restarted once removed via the "recent" view. For me there has never been the need to force kill it via the Developer Settings.

Of course Android 7 might behave differently, and I haven't tested it yet because all my development devices run Android 6 or 4.4, but I doubt it.
[Nexus 7 Android Development] adstraylight:
Of course I may be wrong, but in my observation of 7, the recents screen acts in a couple ways.

1. As a record of your recently used apps, obvious but it should be noted that these don't actually have to be loaded, as the list persists through a reboot.

2. As a means of killing the GUI activity of a running app, not unloading it from RAM, or killing its associated services. This is evidenced by the fact that after having killed an app in recents, the Force Stop button is still available on its app info page, not greyed out. I'm also pretty sure that when I experienced the storage permission bug with Chrome, the only way of truly reloading it from scratch was to kill it in this way.

It is my observation therefore that the best way to make sure the RAM is purged of an app entirely is to use the App settings.

I'd be happy to be proven wrong though, as I'm always keen to improve my understanding :)
[Nexus 7 Android Development] Andy2No:
That seems plausible. I'll work on the assumption that that still applies, in future, because it's more convenient to do, though for now, I'm doing a Force Close just to be sure.

I wondered about that. The list survives wiping the cache too. I was begining to think my Nexus was haunted ;)

I've noticed the Force Stop button can still be pressed for things I haven't started since rebooting, so I'm not sure about that. I will err on the side of paranoia, for now though, and press it anyway.

I decided to try wiping the cache and dalvik/ART cache again. None of those apps list any media, after Foce closing and opening them a couple of times, but VLC can now play videos and MP3s from File Manager, which it couldn't before.

Oddly, it doesn't appear to be running, while playing MP3s - by which I mean, there's nothing in the Recent list. It appears to exit as soon as it starts, but the music then plays in the background, with no way to stop it or pause it, as far as I can see - it just plays the whole thing then stops.

I'm only offered the choice of Music or VLC, when trying to open an MP3 - Pi Music is still installed, but I've never had the option of opening a file that way. Maybe they just didn't think to provide the option.

"Music" still won't play music.

Eventually, I probably will reinstall it all, maybe with Pico Gapps instead. I assumed this sort of problem was more widespread, since it wasn't me that brought up the general topic in the first place, but maybe it's not. I'm not really looking for someone to solve it for me, I just thought it might be useful to document it.
[Nexus 7 Android Development] adstraylight:
A thought: AOSP music app never has worked for me, so I have it disabled in the app settings, perhaps this is what is interfering with your other apps? It probably is loaded on startup as it is a system app. You could try disabling it then rebooting...

Edit: just tried playing an mp3 from a file manager using vlc, it plays with pause/play controls in a notification, also tapping the notification launches the vlc main app.

Edit Edit: On the subject of force stop being available for stuff not yet started, it's could be that the system preloads some apps into RAM for possible future use, pure speculation.

I have noticed a subtle shift in philosophy on Google's part of late toward efficiency and slick UX, rather than packing on more and more features, as seen in LP/MM. Hence N seems, if anything, less resource hungry on our ageing N7s..
[Nexus 7 Android Development] Andy2No:
Interesting. I've now tried disabling Music and rebooting, but it doesn't appear to make any difference.

What I have found (with or without Music enabled) is that if I open an MP3 from a file manager (VLC starts, immediately exits, but somehow mysteriously leaves the song playing with no controls), then open VLC manually, from the launcher, I can see the song open in VLC, with controls.

More usefully, although VLC can't list any media, I've found the Directories part of the menu. That actually shows the count of media in each folder, which seems more than a bit odd, since it can't find any to put on the list. I can browse to a file from there and play it, with controls showing, so that's good enough.

I may as well uninstall Pi Music, since it still does nothing - and disable Music again. I'll keep MX Player for now, since it's capable of playing a video from a file browser.
[Nexus 7 Android Development] adstraylight:
Well that sounds promising, have you tried getting vlc to refresh it's list via the three dot overflow menu in each of its tabs?

Edit:there's also a directories section in preferences worth checking out.
[Nexus 7 Android Development] Andy2No:
Yes, endlessly. It doesn't do anything.

There are many options in VLC that just made it exit when I chose them the first time too, but not the second - including but not necessarily limited to (three dots) Equalizer, Local Network and History. They let me use them the second time.... The Equalizer doesn't appear to do anything, but I can now move the sliders if I want to.

I guess something is slightly screwed up with my installation. I can't say I care enough to start over, at this point.

I'm still wondering if this is the same problem k ahangar was talking about:

He didn't actually say he couldn't list them, so I'm not sure. I guess he's given up and left the thread, or hasn't figured out how to get notifications.
[Nexus 7 Android Development] adstraylight:
Yes, there's something very odd going on, the equaliser works fine for me.
[Nexus 7 Android Development] thierry+:
Hi,......it is on odd thing this issue about seeing and playing media files, I noticed when i had mx player, vlc, bsplayer, etc, along with some dnla apps loaded that i had these kind of issues, i deleted all and reloaded VLC and Slick UPnP and i have no problems. Note that i am running this ROM without any Gapps packages installed.

The Music app works too although very basic in its approach, i was caught out when i selected a track and the cover art showed full screen but no audio, but this was due to the fact that you then had to further select the green play button that is superimposed on the cover art, or create a playlist and start that.

---------- Post added at 07:33 PM ---------- Previous post was at 07:00 PM ----------

Hi AndDiSa,.........do you know if anyone has fully tested bluetooth functionality?

This feature so often gets overlooked but it leads to real world uses and so should be checked thoroughly with your rom; stock rom's over the history of this tablet has been so hit and miss.

I am running this ROM, no Gapps loaded and just various utilities, i can confirm the following:-

1) BLeSmart (BT v4.0) functionality works with an Omron blood pressure checker and its "Connect" app.

2) A2DP source functionality works with my BT headphones and speakers (both of the Ks brand) and also my

3) A2DP source functionality works with my HP 8440p laptop (acting as a sink) with Microsoft Windows 10 Professional Build 10586 and the latest version of Broadcom's driver for the bluetooth hardware and not those provided by MS.

4) MTP mode works with my Nokia 808 (symbian) phone for file transfers (mainly photos).

5) SPP mode works, it connects with my BT serial port adaptor.

6) Connects to my Jabra BT2080 handsfree earpiece, however i do not have an app that can utilises this, so i cannot test the functionality.

Please feel free to add your tested devices...Regards
[Nexus 7 Android Development] psiphi:
Works with my bluetooth keyboard and mouse. Also with an external bluetooth shower speaker. All no name brands from china...

I have found after using a OTG powered hub, the tablet discharges faster than it can charge when reconnected to a normal charger later. Rebooting tablet fixes issue.
[Nexus 7 Android Development] Hubird:
I can't get any GAPPS (Open or Dynamic) for install properly on any Nexus 7 2012 7.1.1 ROM.

It seems to install fine but upon starting the ROM no gapps is present, only AOSP apps.

Can anyone help?

** EDIT **

Flashed back to stock and tried again, all is well now.
[Nexus 7 Android Development] BLewis4050:
I just noticed that I can't enable Bluetooth anymore. It's always worked fine with this ROM for me.

Update: I noticed a while later that BT had been enabled, and will disabled/enable readily. I'll do more testing.
[Nexus 7 Android Development] nat510:
I can't enable wifi from aeroplane mode, and I also can't re-enable wifi after turned it off
[Nexus 7 Android Development] AndDiSa:
[MENTION=2856882]nat510[/MENTION] if you had read back the last few days of this thread you knew that this is a known problem and that there is a workaround and also a solution for that.

In the OP you can find the following notice:

please note: version from 20170308 has WiFi issues in some circumstances, please flash the updated kernel from post#962 or read below about the workaround
[Nexus 7 Android Development] AdriK:
[MENTION=2188693]AndDiSa[/MENTION],

After flashing the boot.img from post#962, do you need to reflash superSU?

In SystemLess mode, SuperSu seems to modify the boot image.
[Nexus 7 Android Development] AndDiSa:
[MENTION=562996]AdriK[/MENTION] Yes, if you use SuperSU, it needs to be reflashed.
[Nexus 7 Android Development] kam1kazze:
[MENTION=2188693]AndDiSa[/MENTION] thanks for this amazing ROM that get new life to my n7!

Do you think, could be useful add instruction for update ROM? This because in other ROMs not always you have to re-install gapps and root.

Anyway...thanks for your work!
[Nexus 7 Android Development] adstraylight:
Yes you will, and yes it does.....
[Nexus 7 Android Development] Andy2No:
Yes, you do need to reflash SuperSU.

From what I read recently, and from what the on screen messages say when you flash it, it's installed in systemless mode automatically for recent versions of Android. That seems to mean it's installed in the boot partition, not the system partition, but I haven't found a clear explanation of that.

If you click on the "most thanked" post, at the top right of the page - which is AndDiSa's post about the new kernel, then read on from there for a bit, it covers having to reinstall SuperSu. It's a long thread; I know. It takes some catching up with.
[Nexus 7 Android Development] vetzki:
I made a boot image with phhs superuser, if someone also need it I can upload it
[Nexus 7 Android Development] pedro3113:
Just installed this ROM. Everything is working as expected.

1) Followed the instructions on the first post

2) The Kernel was successfully installed using Flashify

3) The GApps file that we have on the first post were giving me a lot of errors, managed to fix it by installing from Open GApps (nano)

Keep up the good work!
[Nexus 7 Android Development] andyro2008:
It works very well, but I'm experiencing some random episodes of slowliness followed to a crash. Anyone is suffering the same problem? It's a known problem?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4968571]andyro2008[/MENTION] it would be very useful to get a logcat from those situations
[Nexus 7 Android Development] tomtom_38:
Is in the last version the wifi bug solve?
[Nexus 7 Android Development] AndDiSa:
[MENTION=6811049]tomtom_38[/MENTION] if you flash the updated boot.img, too, yes, otherwise you need to wait until I'll provide a new full build.
[Nexus 7 Android Development] andyro2008:
Sorry. The problem always ends in a crash, after the reboot logcat is flushed. Now I'm trying to save it in another file. But in the meantime wanted to know if is was a known problem.

Also I'm trying a lot more aggressive LMK configuration, my theory it's that the problem it's originated in a trashing scenario.

Enviado desde mi XT1527 mediante Tapatalk
[Nexus 7 Android Development] AndDiSa:
[MENTION=4968571]andyro2008[/MENTION] You can use e.g. "adb logcat | tee file.txt" on the command line while having your device connected to your PC by USB. I suppose the force closes are more related to unsufficient permissions. Especially when you flash gapps after booting into system this happens frequently.
[Nexus 7 Android Development] AndDiSa:
on the kernel 3.4 thread there was started a discussion about apps closing unexpectedly. We tried to find out the reason but those app crashed are really hard to reproduce. With the attachment below (which is a flashable zip) applied we were not able to reproduce an app closing unexpectedly. For those of you who want to support us in testing, you can flash the attached zip.

If you see an app clothing unexpetedly please provide with a logcat.
[Nexus 7 Android Development] tomtom_38:
I flashed the latest version.

I want to flash the boot image but the devices does not recognize from the pc

no mtp or ptp mode or usb debugging works.

but I cant connect with the pc

is that a known problem?
[Nexus 7 Android Development] andyro2008:
Sorry I explained myself bad, my English is horrendous. I'm not suffering FC, the tablet starts to lag, until freezes completely, even the power button stops responding. The only way to continue, is holding the power button until device reboots.

Should I flash the zip in the previous post? Or only Im start to suffer FC?

Enviado desde mi XT1527 mediante Tapatalk
[Nexus 7 Android Development] mausbock:
[MENTION=2188693]AndDiSa[/MENTION]

In the moment I have not enough time to support You actively with providing logcats regarding apps closing and FCs but I noticed that not all of my apps have this behavior. I have two apps that crash very often. One is Tapatalk forum reader and the other is News Republic.

I will flash Your zip and try to report success or fail.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4968571]andyro2008[/MENTION] that's only for those who are noticing apps suddenly closing without having a force close.

[MENTION=6811049]tomtom_38[/MENTION] for flashing the image you need to use fastboot and for that there is no need to have ptp or mtp connection.

If you would like to transfer files from the PC to the device or vice versa, you need to enable mtp / ptp first because starting with Android 6 (?) a device connects in charging only mode.