yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] iskyi:
According to the instruction in the link, it says to put the config file in the /sdcard/Open-GApps folder.

Am I correct to assume that I need to place the file in the Open-GApps folder after the device boots up after flashing everything?
[Nexus 7 (2013) Android Development] followmsi:
At the time you install opengapps in TWRP the config file needs to be in the same folder as the opengapps package you want to install.

Cheers
[Nexus 7 (2013) Android Development] ipdev:
You didn't accidentally copy any of the log files by chance? :fingers-crossed:

As followmsi noted, it's odd.

I can think of a few reasons. One due to partitioning but, I doubt you reversed the partitions. Even then reinstalling the ROM should have booted.

Please PM me with some more details.

- Prior setup, files, steps used and how you restored stock partitions.

firmware, recovery, rom and (su if used) include versions please.

Side Note: I forgot about k23m's. So I double checked and yep, it only changes system (1.1G) and cache (200M) leaving the other partitions alone.
[Nexus 7 (2013) Android Development] Andy090:
Hello all,

I fired up my Nexus 7 again and it's currently running Followmsi's 7.1.2 build of AOSP_7.1.2_r8_N2G47O_flo-ota-eng.followmsi-v1.zip with 3.4.0-ElementalX-N7-6.07 kernel. Naturally I want to update to the newest build. Hopefully you can bear with my noobish questions.

Going off the instructions posted above, do these apply to me as well based on the build I am? Guessing it's better to do a factory reset in my case perhaps just so everything is clean and fresh.

-unlock bootloader (already done obviously)

-flash latest trwp by fastboot (3.2.3.0)

-factory reset in twrp

-flash ipdev file to repartition in twrp - 1) is it the file "lanchon-repit-09180202-system=1228M-cache=max+wipe-flo.zip"?

-flash rom in twrp (lo-Classic_10-2018_AOSP_8.1.0_r48_OPM8.181005.003_followmsi.zip)

-flash opengapps in twrp- 2) Can I flash ARM opengapps 8.1 STOCK package? or do I still need to flash PICO?. 3) In addition to this, do I simply put the ".gapps-config-flo-o" file from OP's Google drive, rename it to "gapps-config-flo", and put in the root of my nexus 7 together with all the other files I'm flashing? This way I will have webview and chrome?

-flash Magisk in twrp (17.1)

- Wipe cache/dalvik only (just to be safe)

-boot into rom

Very impressed that this is still being maintained, and thanks in advance for anyone willing to help out!
[Nexus 7 (2013) Android Development] rlw6534:
Sure, I'll try again to see what's going on. PM sent...
[Nexus 7 (2013) Android Development] rlw6534:
I did not reformat to f2fs or change anything else. I noticed your ROM resizes the file system after flashing (nice feature)... I tried again without Magisk, same result (bootloops back to recovery - RescueParty shows in TWRP window)... Anything I can check to help diagnose? I'll leave it as is for now in case there are logs or something that will help... gapps and RescueParty logs attached. Bootloader and recovery are working fine.
[Nexus 7 (2013) Android Development] iskyi:
Oh so just have it in the root of the Nexus where I have all the files I need to flash right?

Thanks,
[Nexus 7 (2013) Android Development] iskyi:
I am getting "partition fail" error after I flash Ipdev file. I thought it was normal but then I tried to flash the rom and it flashed. But when I tried installing the latest gapps nano I get an error, the error is below. Is the inpdev file suppose to give a failed error? Is that how it works?

Error Code: 70

-unmounting / system

Updateer process ended with Error: 70

Error installing zip file

Can someone lend a hand or suggest another gapps to install. A link to the certain gapps would be great.

Thanks!
[Nexus 7 (2013) Android Development] followmsi:
The step with customized gapps installation is because of setupwizard problems missing webview implementation.

In case you get problems with setupwizard, pls install chrome/webview before.
[Nexus 7 (2013) Android Development] followmsi:
Error 70 means you have no space on system left !

Your repartitioning failed !

No idea what's wrong.

Pls start again from scratch.
[Nexus 7 (2013) Android Development] followmsi:
Yes, ROM does resize .. since a while already.

But now you realize it.

Pls check logcat when the system is booting .. what is triggering rescue party ?

You may format system partition first .. and restart from scratch.

Did you try different gapps package (date and size) ?
[Nexus 7 (2013) Android Development] Fenvarien:
I've the same problem and error message, I can't attach logs currently because I'm outside with the kids.

I tried different gapps versions and formatted system to start clean. ROM and gapps happen to flash now without further errors, after rebooting the device it shows the Android logo but then suddenly reboots in TWRP (rescue party).

Is there a safe way to go back to the old partition layout?
[Nexus 7 (2013) Android Development] rlw6534:
Here you go... Interpreting this is above my head, sorry. I have tried multiple GAPPS. Today it was open_gapps-arm-8.1-nano-20181014.zip
[Nexus 7 (2013) Android Development] rlw6534:
Added logcat to previous post. Took a while to figure out how to capture in a bootloop. Note that it never went to recovery when capturing log with USB. Maybe it would have if I waited a long time. I could see the looping and eventually pulled the USB.
[Nexus 7 (2013) Android Development] followmsi:
Checked your logcat quickly .. you have installer issue ..

java.lang.RuntimeException: There must be exactly one installer;

Pls wipe system and do factory reset and install ROM only .. no gapps at all.

Any boot problems ?

Still big system partition size ?

Which TWRP version ?

Latest 3.2.3 ?

Do you have older gapps version for testing ?

A few weeks/months older.. not from yesterday.

Cheers
[Nexus 7 (2013) Android Development] rlw6534:
It boots fine with no GAPPS. System size is 1210 MB in TWRP after flash. 612 MB used. Everything is working with a quick check.

TWRP 3.2.3-0 is installed to recovery partition.

Wiped and flashed your ROM and 8/21/18 GAPPS nano which I had handy. System size is still 1210 MB. 706 MB used which makes sense. Bootloops back to recovery same as before.

Went ahead and wiped again and flashed your ROM and 10/14/18 GAPPS pico. System size is still 1210 MB. 683 MB used. Bootloops back to recovery again.

Note that I can work around this issue with other partition methods or other ROMs. I am just trying to figure out what is going wrong and help out. A larger system partition might keep the Nexus 7 2013 relevant for a while longer... ;)

---------- Post added at 12:22 PM ---------- Previous post was at 12:14 PM ----------

This might be stupid idea, but the logcat says these are more than one package installer. Maybe GAPPS isn't able to replace the one in the ROM (or link correctly) due to a permissions issue or a changed location? Just a wild thought...
[Nexus 7 (2013) Android Development] followmsi:
Thanks for your help ..

Need to ask again .. on standard system partition size this problem does not occur ?

Only on big partition you get this problem ?

Untar the debug log from opengapps and check for installer problems ..

Will check later ..
[Nexus 7 (2013) Android Development] rlw6534:
GAPPS logs are already attached to post #1722 in this thread.

---------- Post added at 12:49 PM ---------- Previous post was at 12:34 PM ----------

Restored back to stock partition layout. Wiped everything and flashed ROM and open_gapps-arm-8.1-pico-20181014.zip. Boots fine and everything works...

It's only a problem with ipdev's repartition method. I used k23m and Clamour's method and both work... Doesn't make sense.
[Nexus 7 (2013) Android Development] followmsi:
Super strange.

And you said .. using the other partition tools (k23m) .. gapps installation works too ?

Just the ipdev way is killing gapps installation ?

Or does gapps install breaks always on big partition ?

Thanks for all your help !!!
[Nexus 7 (2013) Android Development] rlw6534:
I wasn't 100% sure I had tried Clamour's method (I know I tried k23m's) so I just repartitioned and wiped everything again. I installed GAPPS stock and the tablet booted fine.

The really strange thing is that I can use ipdev's method and install AICP or DU and everything works. It's only the combination of ipdev's repartition and your ROM that fails. Very weird indeed. The main difference is that your ROM resizes and I have to do it myself otherwise.

I'm probably done for today unless it's something I can do quick. Need to let my tablet cool down a bit... :)

ipdev has been a lot of help also via PM trying to help solve the mystery... I don't really understand how the REPIT tool works myself. It certainly seems to work correctly when I look at the partitions.

We may never figure this out. It's no problem as I can work around it....
[Nexus 7 (2013) Android Development] Andy090:
I see, thank you. Are all the steps I listed correct though? In regards to question 1-3 that I posted. That is:

1) -flash ipdev file to repartition in twrp - is it the file "lanchon-repit-09180202-system=1228M?

2) -flash opengapps in twrp - Can I flash ARM opengapps 8.1 STOCK package? or do I still need to flash PICO?.

3) In addition to this, do I simply put the ".gapps-config-flo-o" file from OP's Google drive, rename it to "gapps-config-flo", and put in the root of my nexus 7 together with all the other files I'm flashing?
[Nexus 7 (2013) Android Development] followmsi:
Again .. Thanks for all your testing !

Checked your opengapps debug logs now ..

Why the hell is system partition not mounted read-write at this point of installation .. ?

install: can't create directory '/system/priv-app/GooglePackageInstaller': Read-only file system
install: can't create '/system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk': No such file or directory

cp: can't create '/system/etc/g.prop': Read-only file system
install: can't create directory '/system/addon.d': Read-only file system

install: can't create directory '/system/app/GoogleTTS': Read-only file system
install: can't create '/system/app/GoogleTTS/GoogleTTS.apk': No such file or directory
chcon: /system/app/GoogleTTS/GoogleTTS.apk: No such file or directory
chown: /system/app/GoogleTTS/GoogleTTS.apk: No such file or directory
chmod: /system/app/GoogleTTS/GoogleTTS.apk: No such file or directory
chown: /system/app: Read-only file system
chmod: /system/app: Read-only file system
chcon: /system/app/GoogleTTS: No such file or directory
chown: /system/app/GoogleTTS: No such file or directory

You may disable MTP too :)

I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
I:[MTP] MtpServer::run fd: 20
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

After installation of gapps .. if you check manually there are no gapps installed at all ?

The "mount system read-only" toggle in TWRP mount menu should not be relevant here .. normally !

The gapps installer script does mount system .. but why as read-only in this case ?

Did you reboot into recovery again .. after repartitioning but before ROM installation ?

And why does the same (code) gapps installer package works on other repartition tool and/or ROM ?

For testing we should take out automatic file-system resize from ROM installer .. and do it manually.

Interesting topic .. will test myself .. in the next days - when time is left.

Cheers
[Nexus 7 (2013) Android Development] followmsi:
Most probably you can install stock .. or big parts of it.

Just look into the config-file ... choose the packages you want.

As you can see above .. we are still sorting out an repartitoning issue. (stange gapps installation problem)

Still needs more time and testing.

For this reason - just install ROM and pico package for now.

Thanks
[Nexus 7 (2013) Android Development] rlw6534:
Hehe, sounds like progress, finally. I didn't look at the filesystem to see if gapps actually installed, sorry. The gapps flash does not generate any errors or complain at all. I do not reboot between the ROM and gapps install and absolutely have never touched the "mount as read-only" option in TWRP... In fact, I reinstalled TWRP as part of testing to be sure. I could try and disable MTP and see what happens. I may try again later and look closer.
[Nexus 7 (2013) Android Development] iskyi:
I started again from scratch and ipdev's partition file still fails. Can you link me to a copy? Maybe the one I downloaded from ipdev's post is corrupted? Or do I need to unmount all the drives before I flash his partition file?
[Nexus 7 (2013) Android Development] followmsi:
It's installing quite a lot of files actually but no packageinstaller, no gprop file .. etc.

Kind of half installation.

And no idea why ..

The "mount system as read only" is enabled by default, depends on your initial Twrp setup.

If you remove settings file in TWRP folder on internal storage you start from scratch.

Very strange issue ..indeed.
[Nexus 7 (2013) Android Development] followmsi:
Yes .. I recommend to umount system and cache partition before running the script.

Copy the script to /tmp folder and start from there.

Good luck
[Nexus 7 (2013) Android Development] rlw6534:
I had a few minutes and restored my partitions and used ipdev's repartition file. I disabled MTP in TWRP and and toggled the Read-Only on and off a few times (left it off, of course). Still loops to recovery with rescue... None of the GAPPS are installed in /system either. It's odd that the free space changes though, something is using an additional 94 MB or so of space after GAPPS install and /tmp is empty. Strange.
[Nexus 7 (2013) Android Development] corporate_gadfly:
I am in the same boat (loops to recovery after using ipdev's repartition script). But for tomorrow's commute, I need an operational tablet, so I restored from a nandroid backup (android 7.1.2 crDroid 3.8.5).

DiskInfo shows 1.2G for /system partition.

If I get a chance I will try flo-Classic_09-2018_AOSP_8.1.0_r45_OPM4.171019.021.Z1_followmsi.zip.
[Nexus 7 (2013) Android Development] ipdev:
Hi all.

I am as equally confused as the rest of you.

As for now, all I can tell you is this works for me. (With 1.2 Gig system)

flo-Classic_10-2018_AOSP_8.1.0_r48_OPM8.181005.003_followmsi

gapps-base-arm-8.1.0-20180302-1-signed DeltaGapps

Side Note:

I was able to reproduced the errors.

Long story short, I dug out my OTG cable and Bingo!

A little too successfully. I haven't properly fixed it yet.

I have a sneaking feeling that, I am going to have to end up manually repartitioning all partitions to fix it correctly. :rolleyes:

For now, please do not flash repit from or while USB/OTG is mounted.

Cheers. :)
[Nexus 7 (2013) Android Development] rlw6534:
When I messed up my 32G Flo a while back, I had success with k23m's gpt restore method using gpt_both0.bin from the ASUS service ROM. You do have to flash an older bootloader for it to work. See links below. Although it worked for me with 32G Kingston, please remember, YMMV.

https://xdaforums.com/showpost.php?p=76284329&postcount=21

https://xdaforums.com/showpost.php?p=76552272&postcount=28

Normally to go back to stock partition layout, I just restore my backup partition table. Of course, you have to have the backup file for it to work:

sgdisk --load-backup=/sdcard/gpt /dev/block/mmcblk0

All credit on this to k23m.
[Nexus 7 (2013) Android Development] followmsi:
Did you test using "fresh" (open)gapps package too .. no difference .. still works fine ?

Thanks
[Nexus 7 (2013) Android Development] corporate_gadfly:
No USB or OTG was involved in my case (I did not have a OTG cable plugged in at any point).

Thanks for the possible hint. I will try with Oreo Base Gapps package for 8.1.0 (arm) next time, when I get a chance. My previous try was with open_gapps-arm-8.1-pico-20181014.zip.
[Nexus 7 (2013) Android Development] Aerys:
Everyday i come on this forum and check for Pie update for our lovely Nexus 7.

Goodluck guys! :victory:
[Nexus 7 (2013) Android Development] ipdev:
I was trying primarily with open_gapps-arm-8.1-nano-20181014.

open_gapps-arm-8.1-nano-20180922. open_gapps-arm-8.1-nano-20180906 also.

I honestly do not remember the combinations I tried.

I was able to install without error, until I reproduced the error.

I know that sounds very odd.

Only since I flashed repit, rom and OpenGapps using USB/OTG.

Something seems to be dragging over from that one time.

I have been fighting the install since. (Using repit and OpenGApps)

Installing from internal storage or ADB Sideload.

What really confuses me is why Delta gapps work and OpenGApps does not?

Something in the installer script?

Side Note:

Currently installed.

Manual repartitioning.

flo-Classic_10-2018_AOSP_8.1.0_r48_OPM8.181005.003_followmsi

opengapps/open_gapps-arm-8.1-nano-20181014

So I know these two work together. ;)
[Nexus 7 (2013) Android Development] iskyi:
Now I am getting an error saying:

failed to mount '/vendor' (invalid argument)

Any suggestion?

Edit: I tried Clamour method and it worked! I don't know why ipdev file didn't work for me but I am glad I tried Clamour even though I ran into a lot of mounting issues. haha
[Nexus 7 (2013) Android Development] rlw6534:
Delta GAPPS booted but FC'd during setup for me. Tried a couple of times. I had success with MindTheGapps-8.1.0-arm-20180808_153837.zip https://androidfilehost.com/?fid=3700668719832236373 . Again this is with ipdev's repit repartition (1210MB system).

Specifically what I did to test/verify (obviously not all steps are needed depending on your current setup):

Restored to stock partition layout and mob30x. (just wanted to be at a known starting point)

Flashed twrp-3.2.3-0-flo.img from fastboot and booted recovery

Flashed lanchon-repit-09180202-system=1228M-cache=max+wipe-flo.zip from /tmp (disable MTP first)

Full wipe, format data, reboot recovery

Flashed flo-Classic_10-2018_AOSP_8.1.0_r48_OPM8.181005.003_followmsi.zip

Flashed Magisk-v17.2.zip

Flashed MindTheGapps-8.1.0-arm-20180808_153837.zip

Reboot system

Joy. ;)

I actually like this gapps because it installs Google search to /system (similar to nano)... This allows voice unlock, which I can never get to work with pico unless I systemize search...
[Nexus 7 (2013) Android Development] ipdev:
I was tired last night, and when I repartitioned manually. I only gave system a little over 1Gig.

Apparently my tired calculator skills suck. :silly:

So the best I can do so far is 1.1Gig system using repit and OpenGApps.

Why does that sound familiar?

Currently running:

flo-Classic_10-2018_AOSP_8.1.0_r48_OPM8.181005.003_followmsi

open_gapps-arm-8.1-mini-20181016

Note:

If you want to try, just rename repit to:

lanchon-repit-09180202-system=1.1G+wipe-cache=max+wipe-flo.zip

adding +wipe will NOT backup and restore current system.

If you want to reparation and resize current system, leave the +wipe out.

lanchon-repit-09180202-system=1.1G-cache=max+wipe-flo.zip

Yes I should have changed the name to 1.2G instead of 1228M.

It was from my first attempt and I never changed the full name.

Note 2:

There is 54MiB before system and 8MiB after cache that is unallocated. (free space)

I originally stayed away from it. Maybe I shouldn't?
[Nexus 7 (2013) Android Development] abeyruma:
Adreno 320 gpu driver works with Oreo...

https://xdaforums.com/nexus-7-2013/themes-apps/marshmallow-qualcomm-adreno-gpu-drivers-t3228000
[Nexus 7 (2013) Android Development] abhifx:
why use such old thread and drivers in oreo?
[Nexus 7 (2013) Android Development] abeyruma:
I was trying to update the adreno 320 gpu drivers... For me it worked really well... So might as well share it... ?
[Nexus 7 (2013) Android Development] drewski_1:
Are there newer ones available?
[Nexus 7 (2013) Android Development] abhifx:
Havent looked, but for 32bit system most upto date drivers must be at Code Aurora which should already be included.

Also drivers for Marshmallow needs to be patched for Oreo so i dont know how much flashing an old zip helps.

Anyone can please correct me if my assumptions are wrong
[Nexus 7 (2013) Android Development] Dexter_nlb:
Tried this rom, but after i resized filesystems, i could not add any Gapps package, it worked before resizing.

I tested without , and rom boots fine, when Gapps gets installed, the logcat indicate crashing and unable to find apps to be installed, so maybe some symlinks messed up when Gapps gets installed.

Tried all different packs from mini - nano, nothing worked, i had to move to the AICP dist, which works fine, although only with very small pico install.
[Nexus 7 (2013) Android Development] ipdev:
Still not sure why some have this issue. Now myself included.

Delta Gapps and Mind the Gapps seem to flash fine.

OpenGApps appears to install but, the log shows system RO.

Unless you clear cache(s) after rom install. (Space error. Will be noted in a later post.)

Quick instructions for using a (re)partitioned device.

Assuming you flashed TWRP as recovery.

Install a rom.

Wipe -> Advanced Wipe -> (Select System) -> Repair or Change File System -> Resize File System.

May have to be done twice.

Reboot -> Recovery.

Flash GApps, probably Magisk, maybe a custom kernel, anything else you normally flash.

Reboot to system.

Again assuming TWRP recovery.

Flash this rom -> reboot recovery -> mount -> uncheck "Mount system partition read-only"

Wipe -> Advanced Wipe -> (Select System) -> Repair or Change File System

Make sure everything looks correct.

Flash GApps, probably Magisk, maybe a custom kernel, anything else you normally flash.

mini, micro, nano or pico. (or use a .gapps-config)

Reboot to system.

:cowboy:
[Nexus 7 (2013) Android Development] followmsi:
November 2018 ..

flo-Classic_11-2018_AOSP_8.1.0_r51_OPM8.181105.002_followmsi.zip

deb-Classic_11-2018_AOSP_8.1.0_r51_OPM8.181105.002_followmsi.zip

Changes:

- Google security updates -> November 2018 (android-8.1.0_r51)

Sources:

https://github.com/followmsi/manifests/tree/flo-deb-aosp-o

https://github.com/followmsi/android_kernel_google_msm/tree/followmsi-oreo_2018-06-26

Sorrrrrry .. I have still no Android Pie News and ROMs for you.

Enjoy :p
[Nexus 7 (2013) Android Development] tombraga:
Perfect Installation, thanks for the update.

Xtmas is coming soon, perhaps we get a nice present? :silly:
[Nexus 7 (2013) Android Development] abeyruma:
Can someone help me install magisk on my nexus 7? Thank you so much
[Nexus 7 (2013) Android Development] abeyruma:
Sir It Still Says classic 10 on the download link... Thank you so much for keeping with the updates and God bless
[Nexus 7 (2013) Android Development] drewski_1:
its fine for me right now. give it another try.
[Nexus 7 (2013) Android Development] Booroner:
Thanks!!!!
[Nexus 7 (2013) Android Development] abeyruma:
Thanks... It already has Magisk Installed....
[Nexus 7 (2013) Android Development] guillaumeserton:
Deleted
[Nexus 7 (2013) Android Development] calculus1918:
Anyone know why the chrome brower is not using the full screen? It's almost like it's the desktop version, I got it from the playstore...
[Nexus 7 (2013) Android Development] Stanzilla:
Anyone else getting "Backing up to debug-only private cache" instead of a gmail account under Settings>Backup & reset> Backup, there is a google account on the tablet though. I can fix that with `adb shell bmgr transport com.google.android.backup/.BackupTransportService` but is that something the ROM is currently not setting correctly?
[Nexus 7 (2013) Android Development] Robin18721:
Is the newest netflix app working for the current rom ? if not what is the work around?