yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] kelnos23:
Self-build help?

Hi [MENTION=5213841]ud4[/MENTION], first off, thanks for getting this working! I just pulled out my old Nexus 7, wanting to resurrect it, and was surprised to see your post with a new build, which I managed to flash and successfully get running.

I decided I wanted to try to build it myself, but I'm a bit stuck. The build process completes ok, but when I flash it onto my device, it won't boot. It gets stuck on the "Google" screen and doesn't even show the LineageOS boot screen. Booting TWRP, starting its terminal, and checking the contents of /proc/last_kmsg shows that the kernel boots and it starts init'ing the system, but it looks like it gets into some sort of loop where it keeps killing system services (zygote, surfaceflinger, audioserver, and many others) and trying to restart them, but it's not clear why.

For reference, I used repo to init a LineageOS source tree on the lineage-15.1 branch, and then added (in .repo/local_manifests/grouper.xml):

<?xml version="1.0" encoding="utf-8"?>
<manifest>
<project name="surblazer/android_device_asus_grouper-8.1" path="device/asus/grouper" remote="github" />
<project name="surblazer/android_kernel_asus_grouper" path="kernel/asus/grouper" remote="github" />
<project name="surblazer/android_hardware_nvidia_tegra3" path="hardware/nvidia/tegra3" remote="github" revision="3.1.10" />
<project name="surblazer/proprietary_vendor_asus" path="vendor/asus" remote="github" revision="aosp-8.1" />
<project name="Unlegacy-Android/proprietary_vendor_broadcom" path="vendor/broadcom" remote="github" revision="aosp-8.1" />
</manifest>

I then did a repo sync followed by the usual source build/envsetup.sh && breakfast grouper && brunch grouper. Note that I added the proprietary_vendor_broadcom project as well because without it I was getting build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/asus/grouper/lineage.mk]]: "vendor/broadcom/grouper/broadcom-vendor.mk" does not exist. Stop. when running breakfast for the first time.

Any ideas on what I could be doing wrong?
[Nexus 7 Android Development] ud4:
Hello! I think you forget to add Nvidia proprietary blobs: https://github.com/Unlegacy-Android/proprietary_vendor_nvidia you should use aosp-8.1 branch
[Nexus 7 Android Development] kelnos23:
Oh jeez, yep. Looks like missing it doesn't fail the build since it's included with inherit-product-if-exists.

This also explains why my build .zip was about 10MB smaller than yours :p

Thanks for your help, my build boots now! And thanks again for breathing some new life into a nice old piece of hardware.
[Nexus 7 Android Development] DaveR77:
Thanks for this ROM :D

I've resurrected my old Nexus 7 that I thought was dead, was stuck on boot. I couldn't get Play Store to load though, even after managing to login, I just got stuck on the triangle logo. I'll just use the other stores as mentioned earlier.
[Nexus 7 Android Development] DaveR77:
I can't seem to get some apps to work, Sonos and Youtube, installed via the Aurora Store. Does anyone else have this issue?
[Nexus 7 Android Development] laugeek57:
Awesome thanks !!! thanks to ud4

I was finally able to install what I needed to watch my films with a good sound mod ...

Thanks again to Dan Dar3 for his tip to make the playstore work :)
[Nexus 7 Android Development] tomtom_38:
can i use apps like zoom with this build?
[Nexus 7 Android Development] DominoDoug:
Does anyone know how to enforce SELinux?
[Nexus 7 Android Development] AirOne70:
Hi grouper owners!

First of all, thanks for bringing Android 8.1 to this old tablet, it's much appreciated especially when almost everything works. I was building an old custom 7.1.2 build, but now LOS is the way to go.

There are some little things preventing this build from being perfect :

- Ambient light sensor is not working, and so is Autobrightness ("Light request not available on this device. 2").

- Logcat non-stop spam by "powerHAL::common: dealing with POWER_HINT_VSYNC -> boosting cpu for 100ms"

- After some sleep (few hours), many times waking up the screen is not working at the first Power button press, you have to press again few times to make it wake up. Logcat shows nothing about it. CPU is sleeping too much?

- Latest Play Store is not working (stuck on splash screen) probably due to Hardware acceleration. You have to go to Settings, Apps, Play Store, click on Disable, click on Reset to factory version, click on Enable, and Play Store will works until the latest version is automatically installed again.

Other than that, it is running well, currently with /data as ext4 and /cache as f2fs.

You shouldn't do that. If the maintainer of the rom didn't enforce SELinux by default, it is because the device tree is not ready for it yet (some rules are probably missing to make it work properly).
[Nexus 7 Android Development] Drexxter:
Hi!

Is this ROM supports OTG+Charging? May be anyone know fresh ROM (android 7-8) with this function support?
[Nexus 7 Android Development] rammingspeed:
any way to resize the /system partition?
[Nexus 7 Android Development] kelnos23:
Possibly, but it's gonna be tricky. Grouper uses the GPT partitioning scheme, pretty standard, but: there is no partition table in the usual place, in the first sector of flash. There is a table in the last few sectors of flash (where the backup copy of the table usually goes), but it appears to be somewhat non-standard, but probably still readable (there's no special code in the kernel to read the table; just a kernel command-line parameter that tells it to read the last sector; the Linux kernel ignores some parts of the table that tools like parted bail on, like the table version number field).

Any normal partitioning tool will try to write a primary table in the first few sectors of flash (in addition to the backup table at the end), and there might be actual data there that the boot process needs. Even if you just rewrite the backup table at the end of flash, it's not clear that the bootloader will be ok with it; it's possible that the non-standard version field means something significant.

Changing the table might irreparably brick the device, or might get it into a state where you need to reflash from fastboot, or it might work just fine. I haven't yet had the courage to muck about with some tools to do it on mine. There's some more information and discussion on this Github issue: https://github.com/Lanchon/REPIT/issues/7

If you want to tackle this, I'd suggest making a dummy disk image on your computer, the same size as your N7's flash, create a partition table exactly how you want it (be sure to preserve the exact proper sizes and locations of the other partitions). Write the partition table, then extract just the backup table, and write only that to the end of your flash part. There's some information and links in the GH issue I linked that describes the partition layout and locations of things.
[Nexus 7 Android Development] supertiger1234:
Is there anyway we could see android 9/10 on this device? Great work btw!
[Nexus 7 Android Development] :
That would be incredible! My own guess is that our old device would be very laggy/slow but you never know. Only one way to find out!
[Nexus 7 Android Development] Ice Fire:
Just discoverd that Lineage 14 is not the highest lineage version aviable to us. Fantastic.
[Nexus 7 Android Development] kellyvotrenom:
Couldn't get it to fully function

Just my 0.02

I flashed my Nexus 7 tablet with the LOS 15 Rom and, while I was able to get it to successfully boot, the Google Play services kept crashing. I re-loaded the version of ParanoidAndroid that I had been running and it is working fine.

The LOS version is slower than the PA. I use LOS on my Nexus 4 phone and really like it so I was hoping to convert the tablet as well.. I was having graphics problems with the PA installation but after re-install everything is running smoothly. The Gapps I used for the PA install was pico, I used MindTheGaps when I flashed LOS.

I don't use the tablet for much, Google Voice mainly and a single browser window. Not a very powerful tablet so it's basically my shop phone.

Followed your steps, so not sure why I was having problems.
[Nexus 7 Android Development] Pank789:
Can anyone try compiling it in android go configuration... That might give us space and snappy experience just a thought
[Nexus 7 Android Development] Chinmay2006:
I have started building my own.

If you give me an oppurtuniity I will serve as a maintainer
[Nexus 7 Android Development] unrly:
I would be interested in any Go build. My Nexus just seems to be getting slower and slower without changes to the kernel which overheats the heck out of it.
[Nexus 7 Android Development] gierso:
Wow this is awesome .. i just Turned on my Nexus 7 which is on original 4.4 update ... It's offering me Android 5 (but i don't remember What issues it had )but i'm looking to see how can i thinker with it again before they USB port dies on me

I'm gonna Read thru si i don't brick it
[Nexus 7 Android Development] airheaded1076:
Just get the TWRP recovery flashed before you proceed. You can just download ROMs, Magisk, etc to your internal storage and install from there as long as you don't format the entire /data/ partition

(I learned the hard way when I had to change the filesystem and ended up wiping all my downloaded ROM .zip's as well as Magisk)

Also, I don't recommend using this ROM until everything is fixed. My Nexus7 grouper runs LOS 14.1 (Android 7.1.2) and it still performs decently for a 2012 tablet.
[Nexus 7 Android Development] theonlyandy:
Thanks so much everyone involved to make this work. Enabling people to use their devices longer is definitely a very good thing.

I revived my Nexus 7 recently, following instructions here and in the Lineageos wiki, including MindTheGapps (since Open GApps nano was still too big).

Unfortunately, the Google play store is stuck at showing the logo.

Are there any workarounds or fixes that I can try?

Thanks a bunch.
[Nexus 7 Android Development] Chinmay2006:
I will modify your ROM and then lets see GAPPS and reduce the file size
[Nexus 7 Android Development] hanschke:
do you think we will geht higher android builds too? but I love your work
[Nexus 7 Android Development] theonlyandy:
I also can't adjust brightness, is there a fix for that? It seems to be full brightness all the time, regulating the slider won't change the actual brightness.

Thanks!
[Nexus 7 Android Development] Smyleysmyle:
Same!

I'm in the exact same boat. Has anyone discovered or figured out a fix? Looking forward to getting this working. Thanks so much to the developers who made this update to Lineage for a dinosaur tablet :)
[Nexus 7 Android Development] Tatsh:
Currently flashed this on my 16GB Grouper

I've listed all the problems I met below :

1. ADB Connection seems buggy, keeps connect and disconnecting

2. Play Store (Mind the Gapps Package) not working, stucked at the logo splashscreen

3. Magisk Module flashed successfully but I can't launch the Magisk Manager

Seems like it has compatibility with non-stock apps

Looking forward for your next release! :o

Great Work Mate! :good:
[Nexus 7 Android Development] gamersekofy:
I'm experiencing the same issue. A fix for this is to turn off adaptive brightness
[Nexus 7 Android Development] gamersekofy:
I flashed MicroG and for some reason, it tells me that this ROM doesn't support signature spoofing. Is that normal?

EDIT: never mind, I just installed Xposed.
[Nexus 7 Android Development] gamersekofy:
Guys, another issue. Some apps don't launch. They just show a blank screen when launched. This happened with Magisk Manager, but I fixed it by installing the Canary apk. Now it's happening with RedReader. Any solutions for this?

Update: now it's happening with Infinity for Reddit and the Play Store (installed with MicroG package)
[Nexus 7 Android Development] Stephco03:
Hello,

would this work with an hp slate 7 plus?

he has a processor NVIDIA Tegra 3 A9, 1Gb DDR3 ram, 8Gb rom, bluetooth 3.0, 4000mAh, 7".

it has a lot of resemblance to this tablet.

Thanks for your answer
[Nexus 7 Android Development] 23deanor:
Have you resolved this? I'm seeing the same problem. If you could share how you did or point me in the direction of another thread with a suitable ROM I'd appreciate it.
[Nexus 7 Android Development] nsam1:
Hello my Nexus7 bretheren.

Firstly, thank you all so much for working on this - I really do appreciate you taking the time to work on an antiquainted device.

I have read through the whole thread to ensure I haven't missed anything...

So, most thing for me seem to be working fine :). Unfortunately, as others have reported, I'm experiencing issues with apps not opening. For me, it seems to be Google apps that don't work - playstore, drive, Youtube...They seem to do the same thing - just hang on the splash screen or logo.

For the playstore, I've been able to get this working by the previously suggested method of going in to settings->apps->playstore then disabling and re-enabling it. This is fine as I don't really spend much time in playstore. Another tip you might find useful, is to install apps via playstore on the web, using another computer etc. I always do this anyway as it's easier to re-load dozens of apps in one go.

Anyhow, I'll keep trying to find a way to get around this 'bug' and will post if I am successful. Just wanted to reach out first in case one of you lovely people has cracked it already :)

Hope you all have a splendid day!

N
[Nexus 7 Android Development] edent:
Just want to thank OP for helping me resurrect an old Nexus 7. Flash worked flawlessly. Kudos!
[Nexus 7 Android Development] reddriver:
Thank you for ROM. Unfortunately I didn't make Google Play working. Do you have any idea?
[Nexus 7 Android Development] ev-olution_net:
Make sure you use MindTheGapps-8.1.0-arm-20180808-grouper.zip. After you installed it go to Settings>System>Reset options and press Erease all data (factory reset). After it does full reset Google Play store works for some time. Later you need to force stop app to get it going again. I personally going back to LOS14 as 15.1 got way to much issues.
[Nexus 7 Android Development] nsam1:
Yeah, I have to keep force-stopping Google Play which is a real nuisance.

Agreed - it's a shame, but I'm going to go back to LOS 14 too. There are so many apps that just don't work, that it makes it unusable for me :-( I'm still really grateful to the original developer though, and I'll keep an eye here in case things get ironed out a bit...
[Nexus 7 Android Development] Stephco03:
Android 10 or 12 for future ?

Make patch security in 2022 ?
[Nexus 7 Android Development] notnoelchannel:
you'll get a surprise about this soon :D
[Nexus 7 Android Development] reddriver:
I am looking forward about this:) I am using nexus for reading ebooks.
[Nexus 7 Android Development] notnoelchannel:
Me and a developer did compile LineageOS 16.0 but it isn't installing or booting
[Nexus 7 Android Development] aha360:
As someone who has managed to get the Asus Nexus 7 2012 tablet just recently to avoid it being scrapped by the previous owner, I have to say that while the Oreo build boots up most of the time, on some reboots, it boots into TWRP after the boot animation (read: RescueParty mode), and as others have said, some applications do not work, like the latest version of the Google Play Store, Spotify, and Youtube. I had to downgrade to ResurrectionRemix 7.1.2 myself, but that said, it's nice to see this legacy tablet getting developmental support here, in spite of the struggles. Keep up the good work folks.
[Nexus 7 Android Development] Stephco03:
Can I come in your discord? I want help you for the project
[Nexus 7 Android Development] notnoelchannel:
Sure but I don't work on this anymore
[Nexus 7 Android Development] Stephco03:
You're link discord is expired. I can't come in
[Nexus 7 Android Development] notnoelchannel:
You can now
[Nexus 7 Android Development] Stephco03:
No, it's expired when I click in discord in your profile
[Nexus 7 Android Development] notnoelchannel:
try to open it from here:

https://discord.gg/n8YnEqUUDj
[OnePlus 5 Questions & Answers] Heeter:
Hi

OP5 started acting weird, then locked up on me.

I got into the bootloader reflashed factory recovery, then I opened factory recovery and tried uploading the factory image into the phone. Can't perform that function

So I adb sideloaded the factory image successfully, but the startup has been going on for half an hour or so.

Is there anything else that I can do?

Regards
[OnePlus 5 Questions & Answers] Heeter:
Hi all,

Well it took several hours, but it finally reformatted the userdata partition properly finally,

All is good now.

Regards
[Tilt, TyTN II, MDA Vario III General] AGY:
I have searched in the forum for flash lite 3 I haven't found it. :( I read a post that mentioned that it is compatible with Windows devices.

I am trying to install flash lite with the new W6.1 and I don't know which version will work?

sorry if I am asking after I upgrade my rom Sprite backup is not working and I have to install everything from scratch I know is a pain in the ass but at the same time I am upgrading my software.

Thanks
[Tilt, TyTN II, MDA Vario III General] GSLEON3:
Flashlite 3 is not currently made for Windows Mobile. From what I hear, the FL3 browser technology will be a part of WM7 & there is talk that Opera Software will also license this technology for the official Opera Mobile 9.5 release.

Don't expect to see a full Flashlite 3 plugin for Windows Mobile though, from my corresponence with Adobe, there are no plans for it.
[Tilt, TyTN II, MDA Vario III General] denco7:
I thought I read they had it out in beta? I could be wrong.
[Tilt, TyTN II, MDA Vario III General] AGY:
GSLEON3

Thanks for your comments. can I still use the current version of Flashlite for windows in Wmobile 6.1.
[Tilt, TyTN II, MDA Vario III General] AGY:
Denco

I read the same but I am not sure if the beta download avilable is for windows.
[Tilt, TyTN II, MDA Vario III General] denco7:
This is what I read:

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200803/031708Adobe_MS.html

http://www.adobe.com/products/flashlite/
[Android Head-Units] elroy944:
Hi there, i have an 2gb/32gb android car radio with hw8227L. When I'm using navigation (tomtom) my music stops completely doesn't matter what music app i use. It runs android go 8. Does anyone know how to solve it? Currently using navigation completely muted else whenever it says something my music stops and wont start unless i open music app again

See picture belowView attachment 4831363

Verstuurd vanaf mijn LYA-L29 met Tapatalk
[Android Head-Units] elroy944:
Nobody familiar with this or know a solution?

Verstuurd vanaf mijn LYA-L29 met Tapatalk
[Android Head-Units] maxius64:
same problem but posible fix

I have the same problem.

Look if you can change the default gps app in the settings of your radio (not the android settings)

Some people find tomtom over there, some don't.

By default igo or google maps will be selected.

I only have google maps.

Even though i have tomtom installed it doesn't show up, but maybe it does for you.

If you select the app , then the sound will mix.
[HTC 10 Questions & Answers] supercally:
Is there another service to send in my HTC 10 since the service by Sunshine doesn't exist?

I am unable to unlock the bootloader, the Sunshine app gives me a failure. I have no OEM bootloader option in the developer tools. I've made several attempts using the various forums so I can root the phone without success. I feel it's time to send it out to someone who can assist me.
[HTC 10 Questions & Answers] santod040:
https://www.fonefunshop.com/htc-s-off-service-mail-in-service-.html
[HTC 10 Questions & Answers] supercally:
The fonefunshop link states that service is only available to UK residents and I am in the US
[HTC 10 Questions & Answers] santod040:
I only see that under the Unlock service page.

I do not see that stated anywhere on the s-off mail in service page, which is what I linked above.

It clearly states:

"Worldwide Delivery available on this item."

Further down that same page.
[HTC 10 Questions & Answers] supercally:
Is there another source?

Here is their response regarding nonresidents:

Sorry we only offer this service within Europe because in the past we have had bad experiences with peoples going missing in transit as well as large import duty tax bills here in the uk and your side too because the governments deem them taxable even though they are coming in for repair
[HTC 10 Questions & Answers] santod040:
I only know of a couple other shops that do it, but they are both also in the UK.

Other option, would be an XTC2 Clip/Power Adapter/Java Card, if they even still work after the HTC 10 has been updated to Oreo(not sure on that part).
[HTC 10 Questions & Answers] supercally:
I have orderd the XTC2 Clip/Power Adapter/Java Card and cables. Is the procedure available to unlock and root the phone available using this method?
[HTC 10 Questions & Answers] xexux:
From where did you get those?
[HTC 10 Questions & Answers] andybones:
I'm guessing,

http://xtc2clip.org/
[HTC 10 Questions & Answers] supercally:
Ebay. Do you have the procedure?
[HTC 10 Questions & Answers] Zekoslawen:
I've found this https://android.gadgethacks.com/how-to/unlock-your-htc-10s-bootloader-0178418/ after I read this thread, did you try that?

I'm a noob in a similar situation, have a completely stock non-branded Nougat and want to root and maybe install Viper or Lineage, but been putting it off cause I had to find a way to back up all the apps. Now I have to figure out a way to root/s-off quick, before my warranty runs out next month :S

edit: http://theroot.ninja/about.html seems to be up??
[HTC 10 Questions & Answers] andybones:
If your htc 10 is still on Nougat and ISN'T a Verizon device, then I think you can use Sunshine to S-OFF, don't hold me too it, but I believe you can. :good:

just download the app and try it out, it won't take your $$ of anything if it doesn't work, can't hurt to try.

I believe it is not working for Oreo and Pie htc 10 variants, and Verizon is needed to do by mail I think unless they fixed it for Verizon N as well.

Don't remember. but the website still says they do mail in, but I don't think they still are.

Give it a try and report back.
[HTC 10 Questions & Answers] Zekoslawen:
Got this message:

Failure!

SunShine was unable to gain root access to your device. You may need to gain "TempRoot" or "PermRoot" through some other means. For HTC Devices, unlocking with HTCDev.com and rooting with a custom recovery may work.
[HTC 10 Questions & Answers] andybones:
You can 100% unlock the bootloader @ htcdev and flash custom ROMs, you don't need soff for that.

I wouldn't update from N firmware until you try a few things out.

Maybe unlocking bl and rooting then sunshine will work?
[HTC 10 Questions & Answers] Zekoslawen:
Ah, that's good, didn't know that.

I'm gonna wait a few more days for an answer from the devs of the last app on my phone that can't back up via adb and its own backup process is broken. After that I'm gonna do what you said.

Is the guide I linked above ok or is there maybe an XDA guide to doing that? I looked at the Guides subforum here but there's too much stuff and I've never rooted a phone b4 so I'm not sure which thread I'm supposed to be looking at :silly:
[HTC 10 Questions & Answers] andybones:
Yea since you have the US locked version, or I think that's what you meant by unbranded. What's your firmware (in download mode) x.xx.617.xx or x.xx.401.xx

Here is the link for bootloader unlock: https://www.htcdev.com/bootloader/
[HTC 10 Questions & Answers] Zekoslawen:
No, I've got the EU version (or I suppose I do, I bought it in the EU). I meant that I got it from a retailer, not a cell network company like Verizon, since I see those need some special treatment. Software number is 2.41.401.41
[HTC 10 Questions & Answers] andybones:
Yea, like I thought .617 or .401

Hopefully u get it going. :cool: