yashsingh1/xdaforums huggingface dataset:
[Lenovo P11] versita:
I'm trying to flash the LineageOS GSI ROM as detailed in the guide. When I get to step #5, I get the following error:

.\fastboot.exe reboot fastboot
Rebooting into fastboot OKAY [ 0.003s]
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.

The device does end up in fastbootd mode but if I continue to step #6, I get stuck on <waiting for device> and if I try adb devices or fastboot devices there's nothing there.

When I'm in bootloader mode, adb devices returns nothing but fastboot devices returns the correct device serial number.

I'm on ZUI 14.0.266, I've already installed the Universal ADB Driver from the link in the guide (I've also tried a Lenovo OEM USB driver I found elsewhere), and the bootloader is unlocked.

From what I can understand, getting stuck on <waiting for devices> is often a driver issue. Any ideas on what to do?
[Lenovo P11] Tropaion:
I guess it is a driver issue. When I remember correctly, in adb mode there is an adb driver and when you are in fastboot mode you need to apply the fastboot driver. What does your device manager say when the device is in fastboot?
[Lenovo P11] versita:
Currently I have the Lenovo USB Driver installed and it shows Lenovo TB-J716F in the device manager in fastboot.

edit:

Now I'm getting the following when attempting step #5 with the Lenovo USB Driver:

.\fastboot.exe reboot fastboot
Rebooting into fastboot OKAY [ 0.002s]
< waiting for any device >

It still boots into fastbootd and I don't see any devices when I run fastboot devices.
[Lenovo P11] tek3195:
check that you have latest platform tools from here
[Lenovo P11] versita:
I am using the latest platform tools.
[Lenovo P11] Tropaion:
As far as I remember, it should be "Android Bootloader Interface". Can't test it now, since I don't have the tablet here.
[Lenovo P11] versita:
I seem to have figured it out. Had to update the driver for the device manually while it was in fastbootd mode. I still couldn't get it working with the Universal ADB Driver and had to use the Lenovo USB Driver v1.1.34 that I got from lenovousbdriver.com. Not sure if it's reputable or not but it worked for me.

Step #6 seems to have a typo though: fastboot flash lineage-20.0-xxxxxxxx-UNOFFICIAL-arm64_bgN.img should be fastboot flash system lineage-20.0-xxxxxxxx-UNOFFICIAL-arm64_bgN.img

Thank you guys so much for the help!

edit: Just started playing around with it now after completing setup. I love it so much! Android 13 works so much better on tablets!
[Lenovo P11] hawk1500:
I just tried the evolution x android 14 gsi via dsu sideloader and the magnetic cover works to put it to sleep and to wake it. Keyboard also works.
[Lenovo P11] Ungeskriptet:
Yep, I know. I fixed it not so long ago
[Lenovo P11] martindy:
i installed the evolution mini 8 and so far have not encountered any of the bugs on the original post.

just follow the steps on the original post and you're golden
[Lenovo P11] disconmair:
Can you share the github link of the release?
[Lenovo P11] Tenzinjamyang:
but i think we dont have landscape lockscreen on this rom
[Lenovo P11] martindy:
here the mini 8 unofficial is what i used
[Lenovo P11] martindy:
confirmed. the landscape lockscreen is not working on this rom. for me its ok I use my tablet mainly to read manga :)
[Lenovo P11] fonzserge18:
im stuck on waiting on device. please help
[Lenovo P11] martindy:
install the lenovo drivers and try again
[Lenovo P11] fonzserge18:
still stuck. already reboot my laptop.

* ok i finally found a solution. i went to device manager and install the driver manually on drive c.
[Lenovo P11] fonzserge18:
so how to revert back to stock rom?
[Lenovo P11] hawk1500:
There are a couple of apps that can force rotate and let you customize the rules and all that. I don't remember the name at the moment, but they work well enough for my needs.

This is the one I have installed right now:

Rotation

Rotation | Orientation Manager - Apps on Google Play

A tool to manage the device screen orientation.

play.google.com
[Lenovo P11] versita:
One of the Evolution X 8 ROMs I tried had landscape lockscreen as long as auto-rotate was enabled. Same as with the LineageOS 20 ROM.

I couldn't get the magnetic cover lock to work with this Evo X ROM but it worked just fine with this Evo X ROM.
[Lenovo P11] jonathonsunshine:
Thank you for this and to the op as well, got my tablet up and running on Android 14 using the build highlighted below (except slightly newer, built on Nov 1st)

I've only had it running a few hours but haven't come across anything not working, magnetic cover works, landscape and auto rotate works... don't care about widevine... It's still unlocked but I don't even get that boot up warning anymore, though that happened somewhere between going from global rom to China rom, and then the upgrade path from ZUI 12 to ZUI 14...

Anyhow, I'm on 93% battery after 70 minutes of screentime.

Update*, Battery @ 73% after 10 hours power on, including three hours screen time.
[Lenovo P11] muckuto:
Are there any GSI build recognize j716f as a tablet? I've tried several one but they're all have a kind of large smartphone's feel. How can we have a ui like samsung tab or oppo tab ?. And battery, of course, they're suck on battery optimize
[Lenovo P11] martindy:
im not sure but i think all the GSIs are like that. just use a launcher if you dont like stock
[Lenovo P11] Ng Huy Viet:
Anyone tested bluetooth with Android 14 GSI. I'm using the 2020 model (can't find a dedicated thread so im posting here), bluetooth scans but refuse to connect.
[Lenovo P11] martindy:
mine connects fine. have you tried other bluetooth device?
[Lenovo P11] Ng Huy Viet:
yes, i've tried my galaxy buds and phone, kinda suck that everything but bluetooth works great also what rom are you using, i've tried LOS21 and PixelOS
[Lenovo P11] martindy:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list

Try the Evolution X, no problems with mine.
[Lenovo P11] martindy:
Try the Evolution X, no problems with mine.
[Lenovo P11] Ungeskriptet:
@Tropaion Just seeing right now that you mentioned how to fix the magnetic screen lock. The Magisk Module is no longer needed, and was actually to fix automatic brightness. Both magnetic lock and automatic brightness fixes have been upstreamed and any recent GSI build based on TrebleDroid should have these patches included.

Commit 1

Commit 2
[Lenovo P11] Tropaion:
@Ungeskriptet thanks for letting me know, I will update the guide. I'm currently not up to date about the changes because my sister is currently using the tablet.
[Lenovo P11] Ng Huy Viet:
I tried that, still not working for some reason. Lid cover works on 14 but bluetooth doént
[Lenovo P11] Ng Huy Viet:
thank you sm, finally fix the magnetic cover issue with your guide!
[Lenovo P11] mcdull:
I am using the 240205.004 build of evoX (Android 14) GSI, but the tablet drain a lot of battery. The tablet keeps warm even at idle and run out of battery very quickly.

When cpu stat enables at upper right corner, cpu freq keeps high with

"schedutil" scheduler, cpu0-6 jump from 6xxMhz to 3xxxMhz. But cpu7 keeps 3187Mhz all the time. Is it a known issue?

I flash the GSI from ZUI 15 423 firmware and image. Thanks.
[Lenovo P11] versita:
I have the same issue with Evolution X February build. cpu7 is pinned at 3187 MHz.I restarted my device for the first time in a few weeks and cpu7 is back to idling normally at 844 MHz!

Normally cpu0 through cpu3 are pinned at 1804 MHz as well, but if I put Android into sleep mode these 4 cores will drop to 691 MHz.

I saw an issue on GitHub where someone had constant errors preventing their device from going into deep sleep, but I don't see anything in my logs that would indicate the same thing. Maybe I just need to restart my tablet more often.
[Lenovo P11] russy23:
Anyone using a gsi ROM full time?
[Lenovo P11] sebseb83:
Yeah. It’s fine. I had some whack ass Android rom ship with mine which was like almost fake. It was like android 11 but no way to update. Least This one is updatable. Still hoping someone can just release a stock vanilla android Rom with updates. But this will do for now. Does the job.
[Lenovo P11] russy23:
Which one..I like lenovo one most the time..but a couple things annoy me plus I think China ROM plays havoc with in game stores..

As this is my only tablet and to me its was a expensive device would you still recommend using GSI ROM..thanks..as you can probably tell I'm not very clued up..last time I tried to install a gsi it borked my device,.
[Lenovo P11] sebseb83:
I have no idea. I am from Australia. So I guess a westernised one. It seemed almost stock but no way to update. Very weird so I went the gsi rom. Disabled most of the Asian stuff which is no used to me. It’s not perfect but does the job. I don’t play many games so not sure how that goes. I failed a few times before I was able to successfully flash this rom. The drivers can be a real pain in the ass. Good luck.
[Lenovo P11] Tropaion:
@sebseb83 Why not install Stock ROM?
[Lenovo P11] lee331:
help me

Tropaion​
[Lenovo P11] dantk:
can u tell me if taht guide is ok to test it on j706f also ?
[Lenovo P11] russy23:
testing android 12 through DSU, looks good apart from the auto rotate, dont think i could cope without it

Anyone tried this " try to go in phh settings, misc, disable HWC overlay"
[Lenovo P11] DuckyonPC:
I was wondering if you were able to unlock the 120hz refresh rate option? In the lineage OS display options, there is no refresh rate options, and when showing the display refresh rate through the developer options it's stuck at 60hz while the tablet's max is 120hz.

Are there any ADB commands that can be used to set the tablet's refresh rate to 120hz?
[Lenovo P11] russy23:
Adding to this is the tablet just using max display Hz while using LOS..

Also anyone tried official LOS 12
[Lenovo P11] gunalarix8:
i succesfully unlock bootloader and tried gsi from dsu loader, it showed same display orientation problem and overlay hardware problem (proximity display case, vibration and more), however the gsi shows bright future to our beloved tablet, smooth interface and AOSP! i also tried Pixel Experience by phh, same problem tho. I am glad if anyone step ahead fix the issues and start a daily driver rom!
[Lenovo P11] MM.626:
Can u try flashing android 12l gsi rom? mine is behaving weird today, camera permission is being used by some app even after clearing ram. I checked using permission manager app it shows security center and settings is auto starting by themselves but they're not the one using camera permission, I'm also going to flash gsi rom sooner when I have time.
[Lenovo P11] russy23:
Would be good..thought honestly the ROMs would be coming out well for this tablet..I guess its not as popular tablet as I thought it was..
[Lenovo P11] russy23:
Right..going to install gsi ROM tomorrow..Lenovo stock now doing my head in..is 18.1 still the best to use .or is 19 good to go..thanks
[Lenovo P11] russy23:
im getting failed no such file or directory when trying to install GSI

well ive made it into a paperweight, cant do jack now :(
[Lenovo P11] Pradeepvjj:
After the step Fastboot reboot fastboot, is showing Waiting for any device. Can you help me
[Lenovo P11] SrSouma:
I have the same problem when trying to install, did you solve it?
[Lenovo P11] russy23:
Yea..sent it back to china
[Lenovo P11] gunalarix8:
hye xda-er,

after flashing several gsi's (pixel experience a11/12 and octavi os),

i found out that geekbench score is a bit worse than the stock rom,

i attached the score here:-

stock rom

-single score = 967/955

-multi score = 3111/3067

-vulkan score = 4256

-opencl = 3579

gsi's

-single score = 948

-multi score = 2619

-vulkan score = 3400

-opencl = 3500

how about all other experiences?
[Lenovo P11] luizkun:
i think the current stock rom which is the chinese rom is the best rom for pad pro 2021 now, it smooth and have modified gesture , feature for tablets, you just need to debloat app which you don’t want
[Lenovo P11] mardon85:
I never thought I'd say this but.. I'm actually really happy with the Chinese ROM of the 2021 now.
[Lenovo P11] Drethis:
Thanks @Tropaion! Worked without a hitch. Tried a couple of GSIs, but it seems like they need more work before they can be used as dailies.

Might try a few more before I switch back to stock.
[Lenovo P11] CptanPanic:
Is there a specific app when you mention "debloat app" ?
[Lenovo P11] Drethis:
Security app is pretty sketchy as an example.
[Lenovo P11] salzzz:
The stock rom is doing pretty well. Unfortunately, there are some quirks:

- Google backup doesn't work

- Ctrl + W would close the whole browser instead of a tab

Meanwhile Dolby Vision and Widevine L1 don't currently work with GSI.
[Lenovo P11] tek3195:
Have you a system app for display rotation ? I ran into same problem with P11 Pro when installing phhusson aosp 11 gsi. I noticed a lenovo app for rotation somewhere. Can't remember exact name and don't have tablet on hand to look. But there was an apk that got extracted by apk extractor when I let it extract all.

edit: it was landscapevision I was thinking of. what is LenovoLandscapeVision_LenovoMagicWindowContentProvider.apk and what does it do ?
[Lenovo P11] prozack1983:
Do you have any problems after removing the security app?
[Lenovo P11] supertory:
What about this new GSI ROM based on Android 12 L ?

Custom AOSP GSI brings Android 12L to any Project Treble-enabled device

An Android 12L custom GSI is now available for download, bringing the latest Android OS version to any device that supports Project Treble.

www.xda-developers.com
[Lenovo P11] prozack1983:
I am considering attempting this. If anyone has any tips as to how this may vary from the OP's directions re: 12 vs 12l, I'd be happy for any input.
[Lenovo P11] Drethis:
No changes, @Tropaion's directions link to the same image.

You'll still run into the rotation issue and sensor overlay issues.
[Lenovo P11] gunalarix8:
What do you mean? Have you tested it yet? Is it part of system overlay?
[Lenovo P11] tek3195:
Meant I was searching for solution to same problem on a different tab. Landscapevision app was just something I noticed and wondered if it would help or what it does. There was one other on Tab P11 Pro that was interesting which was tab_p11_pro.apk and belive name in fs was Epos.They're in /system/priv-app but could be put in overlay when building I guess. Haven't tested anything been busy with twrp.
[Lenovo P11] mcdull:
The Chinese origianl ROM ZUI have various verion for now.

<12.6

>=12.6

and the latest 13.1

All we know that 12.6 has some different firmware making downgrade to 12.5 much difficult, and thus it probably have different behavior over GSI. The latest 13.1 is an unkown as it is still not widely available (Lenovo pushing it by batch).

Is this GSI thread based on pre 12.6 or post 12.6 ZUI? Thanks.
[Lenovo P11] russy23:
13.1 isn't due for the j716f though is it?
[Lenovo P11] salzzz:
From the browser translation of the chinese lenovo forum here, a user said that it'd be out soon.

I'm using GSI from stock v13.0.430. Both the steps and bugs are still the same.
[Lenovo P11] mcdull:
I just received update of 13.1.549

But I am still in the very early stage of receiving this unit, so I am not unlocking the bootloader yet, just in case I need limited warranty.
[Lenovo P11] prozack1983:
I got the update notification last night, but am holding off installing it in case it limits my ability to eventually try this out
[Lenovo P11] Papaya59:
Hey do you know if I can install TWRP and the chinese rom in v13.1 while still keeping the bootloader unlocked ?

Is the chinese rom available in all language or it's chinese only ?
[Lenovo P11] mcdull:
Chinese and English only
[Lenovo P11] salzzz:
anybody backed up the 13.1 OTA zip?
[Lenovo P11] mcdull:
I do not know if it is related or reported. There is a DSU Loader in the developer setting, with 2 options inside:-

GSI ARM64

arm64-exp-S3B1.xxxxxxxx

GSI+GMS ARM64

gms_arm64-exp-S3B1.xxxxxxxx

Isn't this enabling the GSI flash directly using the DSU Sideloader?

I am running the latest Chinese Official ROM
[Lenovo P11] mcdull:
Tried its internal DSU image, its a pure Android 12 with google.

Now I am trying to sideload a Android 12L GSI rom
[Lenovo P11] mcdull:
ok some updates.

Tested the built in gms_arm64-exp-S3B1.xxxxxxxx (this should be the build number of Google standard GSI)

The rotation is by default wrong.

No HDCP, and my bootloader is unlocked so the DRM level is L3.

Geekbench 5

Single Core 953

Multi Core 2954
[Lenovo P11] prozack1983:
Wow. No kidding? Did you have any trouble besides the rotation issue with the stock 12? I suppose unlocked BL is necessary for using the built in DSU loader?

Edit: Also, Is there a 2nd party app that can be used to keep rotation correct?
[Lenovo P11] mcdull:
basically it has almost the same issue as this thread.

It was a shame that I did not run the test before my bootloader unlock, and that makes no sense for me to relock it (no hdcp in gsi anyway).

GSI is not quite usable for me as it is lacking of the feature of a tablet, especially the magatic cover feature to use with the original keyboard cover. But the GSI rom (default) was running great.
[Lenovo P11] mcdull:
And uses the DSU sideloader for me is a no-go, it will install correctly but restart will not start in GSI, just the original rom. Could be some AB partition issue? I don't know.
[Lenovo P11] mcdull:
Some update:

Some ASOP GSI works and boot normally with the DSU sideloader app.

However, all bugs are still there:

i.e. rotation, no magnetic cover, no auto brightness

Plus, the screen is running very lag... which does not happen with the official GSI A12 rom.

https://github.com/phhusson/treble_experimentations/releases/download/v412/system-squeak-arm64-ab-vndklite-gapps.img.xz

This is one of the rom that boots.
[Lenovo P11] TheNiceGuy11999:
After a lot of jumping through hoops, I was able to get custom ROMs running on the tablet. Though I do want to share my experience with it.

I chose to run BlissOS 15.3 on it the first time, and it worked quite well, despite the known bugs such as the rotation, adaptive brightness not working, and the phhTreble settings not working either. (Not sure if it is specific to the ROM but there's that.)

A few things I noticed, TWRP would encrypt the partitions if you enabled a password on the system, and the decryption password is not the same as the one you set as the system password.

Another thing is setting the screen cutout to anything else other than the default, to which it will cause the whole screen to turn to black, rendering it useless unless you wipe the data in recovery mode.

I also found out that by changing the boot animation, it doesn't actually write on it, turning the bootanimation.zip file to 0 bytes when moved, a.k.a. it becomes non-existent, and thus when rebooting the tablet, it will drastically slow your device down. Sometimes it even heats up the device, I can even feel it through the casing.

I also tried other Android 12 GSIs, including Android 12L ones, but it had a few more issues, especially the navigation bar on Android 12L.

So for me, BlissOS works fine the best for me.

If anyone can find out how to fix these kinds of issues, let us know.

Thanks to @Tropaion for the instruction guide!
[Lenovo P11] prozack1983:
Thanks for going through that and letting us know! I am on the verge of trying it myself, so the write-up by @Tropaion and everyone else's experiences trying things out is super helpful!
[Lenovo P11] supertory:
Thanks for letting us know as well, thinking of trying this out sometime. Btw does it have Nearby Share built in? And do you get notifications like you should ?
[Lenovo P11] TheNiceGuy11999:
Mmhm! Nearby Share works, and notifications work properly as well! Check the screenshots for proof.
[Lenovo P11] prozack1983:
Are you having any issues with lag in the system, as reported by some others?
[Lenovo P11] TheNiceGuy11999:
No, actually! The only lag that I found is when I tried to change the boot animation. I heard that the system is partitioned exactly to fit every file, so when I tried moving a new bootanimation.zip into /system/media (couldn't find this in other GSIs that I tried) and rebooted, the whole system lagged like crazy. Maybe it's because there wasn't any boot animation?
[Lenovo P11] TheNiceGuy11999:
If anyone is willing to try Android 12L by following the guide, try these links!

(Make sure to check these often, they might update!)

GSI Rom List that Tropaion included in the guide

crDroid and ArrowOS (in v412 or above) (by Nazim, for some reason these were removed from the GSI Rom List)

phhusson's AOSP (AOSP 12.1)

Nippon GSI (Not sure if these GSIs can work, but feel free to try!)

UPDATE: May 10, 2022

I tried two GSIs from the list (PixelPlusUI and OneUI???), and it only caused bootloops.
[Lenovo P11] Tropaion:
That's right, the partition resizes automatically so all files added will be non-existend.

But you can try this: https://xdaforums.com/t/install-gsi-rom-xiaoxin-pad-pro-2021-tb-j716f.4348249/post-85900623
[Lenovo P11] TheNiceGuy11999:
Tried this, however it gives 'blockdev: /dev/block/mapper/system_b: No such file or directory'
[Lenovo P11] TheNiceGuy11999:
Here's another prominent bug on Bliss OS 15.3 on the tablet:

Some settings on phhTreble Settings such as System UI Tuner crashes the app. However System UI Tuner on crDroid 8.4 works somehow??

Edit: The video can't be sent somehow, so I uploaded it on Streamable instead: https://streamable.com/taz4rb
[Lenovo P11] prozack1983:
Hey again. I noticed that there are 4 GSI builds in the built in DSU loader now. Has anyone tried these and have any info on whether they're worth a shot?
[Lenovo P11] TheNiceGuy11999:
Looked at the DSU Loader for myself, and it's confirmed. Two of them had S3B1 in it, while the other two had TPB1 instead.
[Lenovo P11] mcdull:
now I have relocked the bootloader, none of the OEM GSI images work. System reboot itself to ZUI again.
[Lenovo P11] prozack1983:
I also tried loading them with (originally) locked BL and they would DL, but it would just reboot to ZUI. :/

Edit: Part of a word.
[Lenovo P11] mcdull:
probably still a bug in Andorid.
[Lenovo P11] TheNiceGuy11999:
@Tropaion Hi!

I was wondering if there is more info about the rotation issues, and where I can find build.prop to try and look into it. If possible, maybe look into Stock ROM's build.prop and apply it to the GSI ROM of choice? (if it exists)
[Lenovo P11] prozack1983:
To the best of my (somewhat limited) knowledge, the best sources of info re:rotation is on phh's treble exp GitHub page and whatever you can find with search on XDA and the phh's treble exp GSI telegram group. https://t.me/phhtreble There doesn't seem to be much more info about how to resolve it than what's been tried here, as far as I'm aware.
[Lenovo P11] TheNiceGuy11999:
Ah, damn. I looked into the group, someone actually reported this issue before (I think, because they mentioned Lenovo Tab P11 Pro) last March. Though I didn't find any solutions.
[Lenovo P11] prozack1983:
That's not to say there isn't a solution to be had, just that that's all I've been able to find so far.
[Lenovo P11] TheNiceGuy11999:
I'll try to ask, of course. After they allow me to message in the chat.

Update, looks like I'm banned??
[Lenovo P11] gunalarix8:
there is development of custom rom for j607f, i hoped someone will do on j716f. 😆
[Lenovo P11] Tropaion:
@gunalarix8 Sadly not possible because there is no kernel source.

@TheNiceGuy11999 I created a GitHub issue before.

I you read through the first thread page you can finde everything you wanted.
[Lenovo P11] TheNiceGuy11999:
Oh damn, I'll go ahead and read through everything then. Thanks for the help as always! Hopefully we'll find a way to fix the problem soon enough.
[Lenovo P11] gunalarix8:
Lenovo uploaded the open source file for global variants. I could not find the chinese variants. 🤣 It was uploaded very recently. 😁
[Lenovo P11] prozack1983:
FWIW- https://forums.lenovo.com/t5/Lenovo...B-J716F-Kernel-Source-Open-Source/m-p/5145747
[Lenovo P11] Tropaion:
We should spam this forum thread, maybe then they will eventually react :D