yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] trinity1:
Can anybody tell me where I can find SuperUser v2.79SR2 (systemless)? Only findind SuperSU, and only apk. is it okay? And how can I install it as systemless?

Thanks in advance
[Nexus 7 Android Development] AndDiSa:
[MENTION=1161260]trinity1[/MENTION] I've added the link in post #2 there is also described how to force systemless mode
[Nexus 7 Android Development] HumbertoC:
Got a question: anyone knows how to fix 0 internal storage in twrp? Any help is appreciated!
[Nexus 7 Android Development] trinity1:
ok, I'm officially in trouble.

I wiped everything from recovery (dalvik, system, cache, data, internal archive)

copied rom, gpass and supersu into the nexus

flashed rom and rebooted recovery (NB once rebooted, the recovery said there was no OS -> so wiped everything again and reflashed rom, rebooted recovery, but still got the same message)

flashed gapps

flashed supersu

restarted and... bootloop (on "android")

so rebooted into recovery, wiped everything again, flashed rom, rebooted into recovery and flashed gapps.

At this point I tried to install supersu systemless, but then I had another problem: when I typed # echo "SYSTEMLESS=true" > /data/.supersu the shell told me it was impossible to find the specified path.

... So, how can I solve it?
[Nexus 7 Android Development] Golfer_Ron:
Search for the 2.5.0.5. by guitar dedhero version. Follow directions and it installs on N.
[Nexus 7 Android Development] bowtie81:
the OTA is not showing any updates since the december release, should in work or do I need to download manually?
[Nexus 7 Android Development] AndDiSa:
[MENTION=1161260]trinity1[/MENTION] First a question: Do you have /data and/or /cache formatted in f2fs? In that case SuperSU might cause bootloops because of an incompatibility issue found.

Regarding the systemless configuration: the easiest way is to open a shell which you are in recovery mode, mount the /data partition (if it is not already mounted) and enter the command. Doing that command on a running device wthout root permissions will fail.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7604775]bowtie81[/MENTION] There are no OTAs provided, you need to update manually.
[Nexus 7 Android Development] pehlm:
Thanks, I tried the A.R.I.S.E. Sound systems. It worked as a charm! But copying some files from the flash zipfile i s required for it to work.
[Nexus 7 Android Development] UCHIHA:
Dev, i installed latest version.

And webview fixed.

Thanks...

All working fine, exept my mic does not function.

Is someone faced that issue to?
[Nexus 7 Android Development] trinity1:
Everything in ext4.

Is it important the location of supersu.zip into the internal storage while I enter the shell command?

BTW, I have another problem: probably my rom zip is corrupted (didn't check the md5, and when I flashed it I didn't see the progress bar which I usually see when I flash a signed zip).

I'm stating that basing on the fact that so far I'm on lineageOS and the nexus is working flawlessy

Inviato dal mio HTC One_M8 utilizzando Tapatalk
[Nexus 7 Android Development] adstraylight:
For those with random wi-fi disconnects, try resetting your network settings, this will wipe all wi-fi passwords and BT pairings, but it seems to have improved things for me.

(Settings - more ...)

Then reboot.

I've a feeling that the system tracks the quality of its known APs, and resetting clears this history, at least that's the only thing that makes sense to me.
[Nexus 7 Android Development] jimsmith80:
This ROM functions really well on grouper, so thanks a million for your efforts. I'm new to 7.1.1 and I was under the impression that home screen shortcuts were part of the base os, however I haven't been able to get this feature to function.
[Nexus 7 Android Development] k ahangar:
Installation Instructions

4.Until the updater script is updated, I suggest you to erase the system partition before applying the OTA to be sure not to run into memory problems

hi

how do this step in recovery exactly???

is this right?: select wipe and select system checkbox znd swipe to wipe???

thanks
[Nexus 7 Android Development] AndDiSa:
@ k ahangar exactly
[Nexus 7 Android Development] Codster314:
It's been more than a week, and I haven't had one wifi disconnection on the Lineage Rom. So something in there seems to have fix it or made it so it doesn't disconnect. I do find AndDiSa's rom is more snappy though, even though they share kernels.
[Nexus 7 Android Development] CROSP:
Hi, thanks for the ROM, it works pretty well, but I have one problem. I cannot access internal storage ( I mean user storage/ sdcard), so it is not possible to transfer file. What can be wrong ? I cannot even access any file through adb shell and get an error Permission denied

---------- Post added at 09:17 AM ---------- Previous post was at 08:36 AM ----------

01-21 07:15:51.692 1095 1561 E DatabaseUtils: Writing exception to parcel
01-21 07:15:51.692 1095 1561 E DatabaseUtils: java.lang.SecurityException: Unsupported path /1484982950247
01-21 07:15:51.692 1095 1561 E DatabaseUtils:	at com.android.providers.downloads.DownloadProvider.checkFileUriDestination(DownloadProvider.java:767)

This error occurs when I try to install chrome from App Store

And before this error

01-21 07:15:51.646 604 604 W sdcard : type=1400 audit(0.0:958): avc: denied { read } for name="0" dev=mmcblk0p9 ino=456963 scontext=u:r:sdcardd:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
01-21 07:15:51.659 590 604 E sdcard : opendir /data/media/0 failed: Permission denied
01-21 07:15:51.663 590 604 E sdcard : opendir /data/media/0 failed: Permission denied
01-21 07:15:51.663 590 604 E sdcard : opendir /data/media/0 failed: Permission denied

Permissions

drwxrwx--- media_rw media_rw 2017-01-21 07:07 sdcard
drwxrwx--- media_rw media_rw 2017-01-21 07:07 0
drwxrwxr-x media_rw media_rw 2017-01-21 06:58 obb
[Nexus 7 Android Development] AndDiSa:
While installing SuperSU, normally a message is printed on thee screen which indicates the installation mode. Here you should see the message that SuperSU is being installed in systemless mode.

One hint: try '>' instead of '>>' in the command
[Nexus 7 Android Development] donjamal:
yeah, i guessed so, but no such a thing. i downloaded the version from the link in the 2nd post
[Nexus 7 Android Development] AndDiSa:
One question: do you have f2fs or ext4 for cache?
[Nexus 7 Android Development] donjamal:
i honestly don't know. how can i check that?

edit: ext4
[Nexus 7 Android Development] AndDiSa:
In that case, most likely you have ext4. Can you check the content of /data/.supersu by

# cat /data/.supersu

when on a shell in recovery?
[Nexus 7 Android Development] AndDiSa:
You need to write SYSTEMLESS (uppercase) ...
[Nexus 7 Android Development] donjamal:
tried that as well, copied it from the post, did not help, but okay, let's try it again

EDIT: i must have mistyped something before cuz now it did work. lame me, sorry for the trouble and thanks for the help! :D
[Nexus 7 Android Development] AndDiSa:
Most likely you need to reflash ota-zip and gapps, too, before flashing SuperSU, because otherwise the bootloop will persist.
[Nexus 7 Android Development] donjamal:
yeah, i did that already, i had a clean rom and now flash supersu and seems like it's working okay. thanks again!
[Nexus 7 Android Development] AndDiSa:
You are welcome.
[Nexus 7 Android Development] AndDiSa:
Probably you would like to have a look on my blog where I wrote a post regarding mtp automount some years ago. In that post you can find also my android rules configuration for adb /fastboot. I for myself, have specific entries for each of the different devices I own.

Regarding your permission problems, there are two different solutions:

Either configure your udev rules in such a way, that you have access rights to the device being created by udev, or start adb / fastboot with suid-flag set.

BTW: the URL to the article in my blog (its long time I did not post anything new there) is:

http://anddisa.blogspot.de/2012/10/nexus-7-mtp-automount-on-opensuse-114.html
[Nexus 7 Android Development] williamlaw:
While flashing in TWRP, got below message.

Please advice.

Thanks

patching system image unconditionally

E: unknown command [log]

E: unknown command [log]
[Nexus 7 Android Development] AndDiSa:
Could you please give me some more information?

- TWRP version

- which ROM was installed before applying the zip

- file system format for /cache and /data (ext4 or f2fs)

- did you wipe?

- did you already try to format /system before applying the zip?

...

Edit: I never saw those messages on my device, but googling a bit showed me that most likely TWRP needs an update for Nougat (http://xdaforums.com/redmi-note-3/development/recovery-twrp-3-0-2-0-t3446909/page5). Nevertheless flashing should be fine even when those messages apear.
[Nexus 7 Android Development] williamlaw:
my device keep loading "ANDROID" after Google, what's this issue ?

Thanks

---------- Post added at 09:13 PM ---------- Previous post was at 09:08 PM ----------

- TWRP version

>> 3.0.2-0

- which ROM was installed before applying the zip

>> AOSP 6.0 by you

- file system format for /cache and /data (ext4 or f2fs)

>> f2fs

- did you wipe?

>> Sure, wiped all excluded internal storage

- did you already try to format /system before applying the zip?

>> This means wipe "System" ?

Thanks

---------- Post added at 09:14 PM ---------- Previous post was at 09:13 PM ----------

- TWRP version

>> 3.0.2-0

- which ROM was installed before applying the zip

>> AOSP 6.0 by you

- file system format for /cache and /data (ext4 or f2fs)

>> f2fs

- did you wipe?

>> Sure, wiped all excluded internal storage

- did you already try to format /system before applying the zip?

>> This means wipe "System" ?

Thanks
[Nexus 7 Android Development] AndDiSa:
Well in that case a logcat would be helpful (adb logcat | tee log.txt), because if it stays 'forever' on the ANDROID screeen, there might be a bootloop.
[Nexus 7 Android Development] williamlaw:
failure to load "adb logcat | tee log.txt"
[Nexus 7 Android Development] AndDiSa:
I see ... this command is working on linux or windows with cygwin only :(

You could try

adb logcat > log.txt

instead. Unfortunately in that case you don't have an output on your screen, but only in the log.txt file.
[Nexus 7 Android Development] n3kf:
See that in all my Nougat ROMs. It does not hurt anything. People say to ignore it.
[Nexus 7 Android Development] n3kf:
So no matter what I try, Google play services keeps closing on the latest ROM version. I have a 32gb grouper. Anyone have better luck?

Edit: OK after multiple factory resets it might have settled down. Can't figure that out.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5377515]CROSP[/MENTION] Did you grant all the needed permissions to the apps? There is also the setting in developer options that all apps may access to the (external) storage even if the do not explicitly request them.

Regarding adb shell: the ROM is not pre-rooted. Do you have installed SuperSU? If not, you almost have no permissions when accessing via adb shell.
[Nexus 7 Android Development] CROSP:
[MENTION=2188693]AndDiSa[/MENTION] , yeah I granted all required permissions by an app. But the problem is that I cannot transfer files from PC, and as you can see in log files, even download manager cannot access user storage. I have tried to install SupeSu as well, but it is not related to this problem. and got boot loop, it stuck on meida.camera.proxy initialisation.
[Nexus 7 Android Development] sys3175:
Hi, I encountered s/th like this too, chrome couldn't open downloaded PDF files. I think the up-dir inside /Download had the wrong ownership (root:root).

To fix it without being rooted, in ADB shell and in sdcard dir, rm everything in /Download, then go up and rmdir Download; mkdir Download, then the directory gets the correct ownership and permissions.

Hartmut
[Nexus 7 Android Development] AndDiSa:
[MENTION=5377515]CROSP[/MENTION] Then there is something messed up. Can you explain in detail your steps you have done for installing the ROM?
[Nexus 7 Android Development] AndDiSa:
[MENTION=6979592]sys3175[/MENTION] you need to explicitely grant storage permissions to the browser and the google services.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5377515]CROSP[/MENTION] something is wrong with your setup, because /sdcard should be a link to /storage/self/primary and also /data/media/0 should not be accessed directly, but by using /storage/emulated/0, i.e. the fused directory. Can you explain me, what you did to install the ROM?
[Nexus 7 Android Development] CROSP:
Thanks for answer,

I installed ROM in the following way

0. Boot into recovery (TWRP)

1. Wipe All partitions (system,data.....)

2. Flash aosp_grouper-7.1.1-ota-eng-20170105.ds.zip

3. Reboot the device

Thats all what I've done to install the ROM.
[Nexus 7 Android Development] AndDiSa:
But from where is this message comming:

01-21 12:43:31.301 135-135/? E/GLConsumer: [com.android.systemui.ImageWallpaper] bindTextureImage: error binding external image: 0x502 START u0 {cmp=com.squareup.timessquare.sample/com.touchip.organizer.activities.AMenu_} from uid 10051 on display 0

this is nothing which is included within the ROM. Did you probably restore settings / apps / etc. using e.g. Titanium?
[Nexus 7 Android Development] sys3175:
Try again, but format /data from twrp, wipe might leave relics of other installations.
[Nexus 7 Android Development] CROSP:
I have tried to wipe everything multiple times, still the same.

Sorry I accidentally copied one extra message from application that I am developing.
[Nexus 7 Android Development] AndDiSa:
What it yout version of TWRP? Did you install the one linked in the OP?
[Nexus 7 Android Development] CROSP:
My TWRP version is v2.6.3.1. Yes, I have downloaded ROM linked in the OP.

P.S. My device is grouper
[Nexus 7 Android Development] adrman:
Update TWRP here. That's most likely the cause of your issues.
[Nexus 7 Android Development] Zursh:
First of all thank you for your geart work AndDiSa!

You revive my old Nexus 7.

At the beginnig i have got problems with installing some apps but with the second flashing it works.

(I Reboot to Systems and then in Recovery -> Maybe you should add, that you need also a FULL reboot.)

But now there is a problem with Google Play Service it stopped all 10 Seconds.

I read "In addition I suggest you to erase the system partition completely before applying the OTA package" but i'm not sure.

Do you mean wiping the the system partition or really erease the folder in TWRP File Manager before flashings gapps?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8013136]Zursh[/MENTION] Probably booting the system before having flashed the gapps caused the issued you have with the google play service now. To fix that, you need to go to the apps settings / permissions and you need to grant all permissions to the google system apps.

Regarding the /system wiping I am doing so when I am flashing by TWRP and not using fastboot. If you only flash the update package without wiping /system before there is the (minimal) chance that you not have enough space when flashing the gapps, especially when you are coming from a different ROM. In addition there is still the chance that "old" libs and settings remain installed and will mess up your system.
[Nexus 7 Android Development] Zursh:
Thank you soo much.

I wiped again (Factory Reset and System)

Installing ROM

Reboot into Recovery

Installing Gapps

Wipe dalvik

That's all.

Grüße aus dem schönen Mittelfranken
[Nexus 7 Android Development] shaggyskunk:
Yeah I still haven't received any reply from [MENTION=912474]Dees_Troy[/MENTION] maybe he's on vacation?

Just a little alarming when you first see the no o/s installed - lol

Sent From My SM-N930W8 ??
[Nexus 7 Android Development] lotte67890:
What a fantastic ROM! 5* deluxe!

Thank you so much!!!
[Nexus 7 Android Development] funinagg:
installed it on my nexus 7. unfortunately a game app i use a lot "little empire" kept crashing. so doesnt work for me. any ideas? or shd i go back to something older and stable?
[Nexus 7 Android Development] Portgas D. Ace:
Most likely your issue can't be solved without a proper log file.
[Nexus 7 Android Development] mafarric0:
Is it possible to cast to a Chromecast device? I tried with a Grouper and a Tilapia but both return failed with an undisclosed error.
[Nexus 7 Android Development] AndDiSa:
Yes it is, but there is an issue on cosing the connection to the Chromecast device: when you close the connection the device will block and you need to hard switch off / reboot the device ... :(
[Nexus 7 Android Development] k ahangar:
[MENTION=2188693]AndDiSa[/MENTION]

hi

how i can transfer 3G internet by bluetoth from my tilapia to other devices???

i trying to enable internet access in bluetoth setting but this checkbox does not activate:(

generally for transfer 3G internet from tilapia to other devices Is there a way?

thnks
[Nexus 7 Android Development] AndDiSa:
Sorry, but I do not have a tilapia device ... :(

At least I would need to have a log to analyze the (possible) error.
[Nexus 7 Android Development] k ahangar:
And my big problem:

I installed latest version like post 1 (& 2) exactly, but more times my apps force closed!!!
[Nexus 7 Android Development] AndDiSa:
Most likely as did already some others you booted the system before flashing gapps. This will lead to force closes unless you grant all needed permissions to the Google apps manually.
[Nexus 7 Android Development] k ahangar:
no i didn't boot the system before flashing gapps. i install rom & reboot to recovery and install gapps and do other steps... and finaly boot the system!!! like the post 1 and 2 step by step exactly!!!

However Is there a solution?

thanks
[Nexus 7 Android Development] AndDiSa:
As I already told you: without log file it's impossible to suggest a solution, especially as you are not even stating the apps which are crashing. Most likely the apps which are crashing do need some additional permissions which are not granted automatically. In those cases you need to go to app management and grant the missing permissions manually. Unfortunately my cristal bowl does not work properly at the moment ... ;)
[Nexus 7 Android Development] mafarric0:
I don't know why, but every time I try to cast the screen from my tablet it cancels with a message saying "Casting screen to <Chromecast> has ended". However with a OnePlus it works, so it shouldn't be a problem with the Chromecast.
[Nexus 7 Android Development] AndDiSa:
As I already wrote: for me initiating the cast and casting the screen is working, but as soon as I disconnect from Chromecast the tablet is blocked and you need to hard restart.
[Nexus 7 Android Development] tpuserhp:
Screen mirroring is also working for me too using Chromecast. I disconnect using Chromecast app and I don't have tablet blocked issue requiring a hard restart. I'm using Chromecast 2.
[Nexus 7 Android Development] Yellowsub:
This is the only one that worked for me after days of trying everything. Thanks for the tip.
[Nexus 7 Android Development] t3l3m4k0:
AndDiSa,

Installed build 20170105 on my Nexus 7 2012.

I works like a charm!

Thx for your work
[Nexus 7 Android Development] DrCheesecake:
Great stuff!

AndDiSa,

Many thanks for you efforts with this project. I've been using a grouper for the last 4 1/2 years. I spent a long time using stock Android and only really started dabbling last summer when I discovered GtrCraft's PureNexus project which was an eye opener! After GtrCraft stopped developing, I switched to your 7.x AOSP. It's been great :D! Also, I bought a second-hand tilapia a year ago and had endless problems with the basenband_XMM wakelock draining the battery which basically rendered it pretty useless. Now I've got your latest 20170105 build installed on that and if I turn the wifi off when not needed it lasts forever (well nearly). Still no wakelock (finger's crossed).. Did you do anything to prevent that? Or is it that the bug is finally fixed in 7.1.1?

Chromecast has been working fine for me (on tilapia). It got a bit stuttery at one point, but I disconnected and reconnected and it was fine. Only issue I had at one point was that I turned down the brightness too low and when it got dark I think the light sensor turned the backlight off. I was pressing buttons and nothing seemed to happen until I exposed it to light again and then I could see the screen :cool:.

Next, I will try downloading the source and building it using your instructions. Cheers!
[Nexus 7 Android Development] mafarric0:
Thank you all for the feedback regarding your cast experience.

I will try a clean tilapia installation when AndDiSa releases a new update. In the previous ROMs I used the casting always worked and that's why I assumed it could be related with the ROM and not something else.

Cheers!
[Nexus 7 Android Development] AndDiSa:
The trick from [MENTION=5333182]tpuserhp[/MENTION] works like a charm ... ;) I'll add this to known bugs and possible workarounds.
[Nexus 7 Android Development] enel_:
Can someone help me with this :)? Clean flash rom+gapps, full wipe but still, this app is showing me that I'm rooted. What I have to do to hide the "ghost" root?
[Nexus 7 Android Development] Portgas D. Ace:
Boot into recovery, choose Advanced, then File Manager. Delete the following files (if present):

/system/bin/su

/system/xbin/su

Reboot your device and check again.

BTW: nice user name and avatar ;)
[Nexus 7 Android Development] Briankbl:
I searched but couldn't find an answer. Has the "missing sd card" error been solved yet? Can't download anything at the moment because internal storage seems to be missing?
[Nexus 7 Android Development] AndDiSa:
[MENTION=1989366]enel_[/MENTION] did you wipe /system, too? Normally there shouldn't be included a su binary within the ROM, so I suppose some old files remained on /system. Especially when coming from a different ROM wiping /system partition may prevent from those issues. I'll have a look into the updater script to probably include a /system wipe before starting the update.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4999429]Briankbl[/MENTION] there is no 'missing sd card' issue, most likely the TWRP version you are using is too old. Please update to version 3.0.2.
[Nexus 7 Android Development] adstraylight:
I find if I grant a permission to an app for storage, eg the first time I download something via chrome, I get this error. The answer is to force stop the app in settings and then run it again. I think some apps don't register that they've gained a priveledge untill they load from scratch.

The same happened with Root Explorer btw.
[Nexus 7 Android Development] Briankbl:
Actually, I am running 3.0.2, so that's not the problem. Any more advice? This is really inconvenient lol.

---------- Post added at 08:45 AM ---------- Previous post was at 08:39 AM ----------

Thanks! This helped
[Nexus 7 Android Development] enel_:
There was a folder "bin" but nothing in it. I deleted it but that didn't helped. Xbin folder was not there

BTW: thank you mate, your's even better :)!

Yes I wiped it, 100%. And the thing is I was already on your ROM, rooted long time ago with su, but I uninstalled all a while ago,than just updated it, and after updating I installed that app and got this error. I deleted everything Ace said and deleted also a folder named "su" or "su...something", I can't remember now. Still nothing, still the same error.
[Nexus 7 Android Development] Briankbl:
My Nexus 7 2012 got Nougat and Google Assistant, yet T-Mobile and Samsung can't get a timely update out to save their lives...my Galaxy S7 Edge is getting boring lol
[Nexus 7 Android Development] Portgas D. Ace:
Okay, then I got another idea. XDA member osm0sis prepared a great script to remove all files related to superuser/SuperSU, it can be found in this thread:

https://xdaforums.com/showthread.php?t=2239421

Check the OP for unSU script and flash it.