yashsingh1/xdaforums huggingface dataset:
[Lenovo P11] sebseb83:
Hey,

Sorry was pretty vague with my last comments, I think I was just spending too much time and was too tired to think logically.

Stepped away for a bit and came back to see what I need to do.

I believe I have the international rom as it is all in English, does not have Chinese bloatware installed and came with the Google Play Store. My bootloader came unlocked which I don't like as I am not sure anything else may have been installed in the background that could steal information etc.

So basically what I want to do is put this back to stock which I believe I need for OTA updates. Currently still on Android 11 and Security patch is from April. For the updates I believe I need to lock the bootloader again. I tried the script several times with the device started and in fastboot mode. It just sort of seems to hang after going into bootloader and the command prompt stays at < waiting for any device >. And yes I have the Qualcomm v1.0 driver installed and USB Debugging enabled. Not sure If I am doing anything wrong here, any other tips on what I can try to lock the bootloader? I want this thing as Vanilla(safe) as possible, thanks.

EDIT: Another weird thing is that it doesnt seem to hold the time/date I enter manually into the tablet. It always reverts to September 1, 2033. And my serial number looks a bit short. the ZUI website keeps saying it is invalid.
[Lenovo P11] sebseb83:
Well I had some progress. I used the Lenovo driver from zeroflame15 in the first page of this post, and straight away when I went into bootloader and did 'fast boot flashing lock' it seems to have worked, advised me I can lock the bootloader and I must select yes and i will lose all data... no problem. The very second I did that, it came up with some corrupt message and to visit https://support.google.com/android/...18740835400736-536875921&p=verified_boot&rd=1

Now my device is stuck in fastboot, no matter what I do, it always stays in fastboot... have I really screwed this up now? Tablet is brand new, all I wanted was a vanilla experience, now it looks like I may have bricked it. Any help would be really appreciated, thank you.

EDIT: I still have fastboot access at least, so hopefully not all is lost. I thought I would maybe try to unlock the bootloader and see if that does something but I can't get an sn.img for ZUI website as I don't have an IMEI number. Any ideas how I can get this image? Thanks.

EDIT: I somehow managed to fix this. I thought it was a goner for sure.

It's not the Android I had when I got the tablet, it seems to be the ZUI Chinese rom, which I am going to hopefully get rid off somehow. All I want is vanilla Android(if possible) but if anyone else gets stuck in the bootloop like me, translate this, it is in Chinese but you get the drift...

ZUI系统小新&YOGA平板线刷教程和国行底包及root（资源合集）_联想平板-联想社区
[Lenovo P11] sebseb83:
Question I have no is how do you get the SN.img without an IMEI number???
[Lenovo P11] fazioso:
Only with serial numbers... In zui site there is 4 tab...last one is for the Lenovo tablets
[Lenovo P11] sebseb83:
Yeah I tried multiple times @ https://www.zui.com/iunlock

Clicking Lenovo Tablet and entering just the serial # but it always says Please enter the correct IMEI1... I cant get past it...
[Lenovo P11] sebseb83:
I was doing that from my desktop and getting issues. I tried from the lenovo tablet and I wasnt asked for the IMEI. Weird... hopefully I get the file... Update: It works!!!
[Lenovo P11] sabaku_chris:
Hello to everyone, can someone post the exact steps on how to lock the bootloader?

Thanks
[Lenovo P11] zxcv88:
You need to be on official Chinese ROM first. @Tropaion made a tutorial on how to flash it.

For locking the bootloader you need to enable USB debugging in developer settings.

Then plug in the tablet to your PC, open adb shell and type "adb reboot bootloader"

After it's rebooted to the bootloader type "fastboot flashing lock"

Then you're done and can reboot.

Few things to keep in mind: never unplug the tablet when flashing ROMs. Also the locking bootloader command doesn't always work and you might have to try a few times or switch between fastboot and bootloader.

Hope this helps, there are also a few topics on locking/unlocking if you're stuck.
[Lenovo P11] sabaku_chris:
@zxcv88 thanks a lot mate!!! Appreciate!
[Lenovo P11] luannyboyzz:
Thanks for the detailed guide! Missing a letter "adb reboot bootloader".
[Lenovo P11] markopololol:
Hi guys

Struggling here. I have downloaded the lenovo driver and used the "LockBootloader.bat" script and followed the prompts. It shows device is now locked but I cannot get out of fastboot mode. It just bootloops like the other guy, but I am not clear on the fix?

Any help would be appreciated.
[Lenovo P11] markopololol:
So I ended up just following the instructions here to flash the chinese rom. Looks like the bootloader did lock from the script here. I had the fastboot issue describe later on, but I didnt have to rerun the bootloader locking steps.

Install Stock ROM - Xiaoxin Pad Pro 2021 [TB-J716F]

How to install Stock ROM - Xiaoxin Pad Pro 2021 [TB-J716F] I tried installing a GSI-ROM on this tablet, which basically worked except for three/four bugs I coulnd't solve. So I tried to restore the Stock ROM in the meantime and will share my...

xdaforums.com

It restored Widevine L1 which was the goal so happy with that.
[Lenovo P11] luannyboyzz:
I'm got the same issue, will try this and see if it works for me too
[Lenovo P11] Ungeskriptet:
I can't seem to get the sn.img from the ZUI website. It's says that my SN is invalid even though it's right.

Do I need to wait a certain amount of time for Lenovo to save my SN while it is connected to Wi-Fi?

EDIT: Yes, about 8 hours. I have the sn.img now.
[Lenovo P11] lee331:
help
[Lenovo P11] lee331:
help i cant unlocked mine i keep getting Please enter the correct serial number even its right
[Lenovo P11] Ungeskriptet:
Read my comment above...
[Lenovo P11] Mr.PvT:
FAILED (remote: Flashing is not allowed in Lock State)

help me
[Lenovo P11] Ungeskriptet:
Unlock your bootloader.
[Lenovo P11] Mr.PvT:
yes, i typed the unlock command but no success, i already have the sn.img file i used the command fastboot flash unlock sn.img but the error message is as above

sending 'unlock' (5 KB)...

OKAY [ 0.003s]

writing 'unlock'...

FAILED (remote: Flashing is not allowed in Lock State)

finished. total time: 0.009s
[Lenovo P11] Ungeskriptet:
lee331: Try restoring the firmware in EDL mode: https://xdaforums.com/t/install-stock-rom-xiaoxin-pad-pro-2021-tb-j716f.4347951/

You should have said that your tablet doesn't boot in first place.
[Lenovo P11] Ungeskriptet:
Did you do 'fastboot flash unlock sn.img' first and then 'fastboot oem unlock-go'?
[Lenovo P11] lee331:
i bought this on scalpers 100usd higher than the original price
[Lenovo P11] lee331:
may pinoy ba d2?
[Lenovo P11] lee331:
i already did sir using qfil flashing was sucess
[Lenovo P11] lee331:
but im stucked at locked bios mode

is there anyway to unlocked or get the sng anywhere? tnks
[Lenovo P11] Mr.PvT:
I got error as soon as I flashed the command fastboot flash unlock sn.img, it failed
[Lenovo P11] Ungeskriptet:
Did you allow "OEM Unlocking" in the developer options?
[Lenovo P11] Mr.PvT:
of course man, I turned it on
[Lenovo P11] lee331:
I flash this after recieving it without using it first so it seems zui website didn't know my serial number yet
[Lenovo P11] lee331:
Can you flash default Rom on locked oem?
[Lenovo P11] russy23:
im being blind, but where the hell is the IMEI number

yea im being dumb, but the unlock sites want one?
[Lenovo P11] mardon85:
There's multiple tabs. The 4th one is for tablets and doesn't ask for an imei number.
[Lenovo P11] russy23:
thanks for some reason chrome asks for imei
[Lenovo P11] mardon85:
Select that option and no imei.
[Lenovo P11] russy23:
sorted it now, did it through the tablet, cheers
[Lenovo P11] lee331:
does anyone have version 12.6.238 ST ?

version 12.6.211 ST is not wroking for me
[Lenovo P11] lee331:
help device is corrupted and cannot be booted after i flash this my bootlaoder is lock and cant seem to unlock on zui website btw
[Lenovo P11] mingkee:
Did you install LMSA/RSA?

If so, just use Moto ADB driver.

I use it for my Lenovo P11 and Yoga Smart
[Lenovo P11] Mr.PvT:
Lock Bootloader:

fastboot flashing unlock

Done
[Lenovo P11] RGC2597:
Sending 'unlock' (5 KB) OKAY [ 0.009s]

Writing 'unlock' FAILED (remote: 'Serial number not matched')

fastboot: error: Command failed

.................
[Lenovo P11] russy23:
I've unlocked then locked again..do I just flash the same file again to unlock..I'm going gsi..stock is doing my head in
[Lenovo P11] BakedinRC:
Ok stupid question but is the xioaxin the same as the Lenovo P11?
[Lenovo P11] russy23:
just when i cured one issue i get another :(, i locked the bootloader and it restarted and said Your Device is Corrupted and Cannot Be Trusted,i am stuck in bootloader now
[Lenovo P11] gunalarix8:
Okay after you flash stock via qfil, please remain unlocked and install zui 13 ota offline install, after that format factory and try lock bootloader.

I was in the same case as you, i am able to lock bootloader now.
[Lenovo P11] russy23:
Thanks but it's to late

It's to late..I've borked it now..the bootloader is now in locked status..and for whatever reason the serial number has changed..

I have a £300+ paperweight
[Lenovo P11] russy23:
Looks like I'm sending this back to China..joy
[Lenovo P11] mardon85:
The Lenovo Region Lock also covers roll back. Its a real nightmare. I wish there was more public knowledge on how to avoid it.

The simple solution would be to have a Chinese version of smart recovery. Let people fix their own issue then.
[Lenovo P11] russy23:
to be honest Ive not been happy with this tablet since ive had it, hardware is good, software not so much, this has just put the icing on the cake, now ive got to shell out £60 to return it, to get a replacement or it mended, importing electrically goods is ok, as long as nothing happens
[Lenovo P11] mardon85:
I've been pretty happy with my 2021 P11 Pro it's tiding me over nicely while I wait for my 12.6" to come back (what a nightmare that has been). Having said that mine hasn't lost widevine.

I use Stremio and JustPlayer to play the 4k HDR versions of shows I pay for already through my Disney+, Apple, prime and netflix subs. It's mental I can't access the full quality of what I pay for on any device but hey ho. With Stremio widevine is irrelevant anyways.

BTW I paid £42 with UPS to return mine to China not £60+. Giztop have been great apart from their balls up of retuning me someone else's broken tablet have always paid return shipping.
[Lenovo P11] russy23:
Your right it's 42 via ups..like a plonker I walked in and try to send it like a normal parcel..didn't occur to me I need to print some pages out..try again tomorrow..how long did yours take to get back to giztop?
[Lenovo P11] mardon85:
First time around it was quick. 4 days to get there 3 days their end to mix mine up with someone else's then about 5 back. This time around I posted 28th and it's still being held by customs. From what I've read it could also be a backlog with UPS but they don't communicate very well.
[Lenovo P11] russy23:
Yea I'm guessing so..if I get this sorted I'm not sure I'll keep the tablet to be honest..but that's to worry about in a few weeks
[Lenovo P11] mardon85:
Try Stremio when you get it back. It may change your attitude.

I use Nexus launcher so don't see any Chinese ever. If my 12.6 came with exactly the same software and performance I'd have been very happy. Unfortunately it didn't. It was a mess
[Lenovo P11] BakedinRC:
I'm still not able to get my tablet to respond, it says in order to get the SN you have to enter into the bootloader and it should have the SN listed but this is all I've got coming up. View attachment 5503795View attachment 5503797
[Lenovo P11] whynot4444:
how it work?, im stuck it here too
[Lenovo P11] whynot4444:
it say 404 not found, and when im enter serial, it alway said wrong serial
[Lenovo P11] cyclonemon:
Give me your serial i will provide sn.img link to you.
[Lenovo P11] cyclonemon:
What's you serial i will give you sn.img file.
[Lenovo P11] russy23:
In china now mate
[Lenovo P11] whynot4444:
im do it done, wait few hours ok now :D
[Lenovo P11] jordycf:
I have the same problem as you. Permanently in Fastboot. If I choose any option it goes back to Fastboot mode.

I saw that you solved it like this

The problem is that my QFIL does not detect my tablet.

I do not know what to do. Please help.
[Lenovo P11] markopolol:
Did you have a read through all the troubleshooting? You might have to manually find those qfil drivers and try again. Also noting the weird sequencing mentioned of turning it off and then plugging it in
[Lenovo P11] jordycf:
turning it off and then plugging it in, Is working for me. The problem is that now QFIL throws me the Sahara Fail error.

Regarding the drivers... I haven't read anything about it.,, how could I find them?
[Lenovo P11] raynhw:
having the same issue with @russy23. saw it could be the QCN is missing. got a copy of a QCN for another device. how do i change the s/n number in the QCN?
[Lenovo P11] brainvision:
I have a Xiaoxin with global installed, shows as P11.

I would like to root it at least so I followed the guide on 4pda but I can't backup my QCN.. When I attach attach the tablet to PC on FFBM mode I can't see anything on Device manager and QFIL doesn't detect it.

If I use EDL mode I can, instead and I'm able to backup partitions but the QCN backup window has the button grayed out, not clickable.

The tablet is detected using QLoader 9008 driver instead of DIAG 901D as I saw in the guides.. if I manually change the driver to DIAG the backup button is clickable but I got the sahara fail error.. :(

Do you have any suggestion?
[Lenovo P11] GoJo ^^:
Does it works for the non pro (cheapest) as well?
[Lenovo P11] prozack1983:
The og guide is for tb-j716f, but the bat files look as though they'd work fine as long as the sn.img process is the same, I'd guess.
[Lenovo P11] Knony360:
Did someone know or have the command cmd to lock the bootloader, already have everything i just didn't find the commands to lock the bootloader... thanks for all your support guys!!
[Lenovo P11] cyclonemon:
Try using this command
[Lenovo P11] grrossi:
Hey I'm getting the same 404 error, my serial number is HA1G1N0H (it's the non pro version). Do you have the image for that?
[Lenovo P11] cyclonemon:
I'll send to your pm.
[Lenovo P11] JobinFerreira:
What did you do to solve the problem ? That chinese page was deleted by Lenovo.
[Lenovo P11] Mr.PvT:
i can fix it, message me
[Lenovo P11] JobinFerreira:
Someone can help me ?
[Lenovo P11] tj65:
I need a sn.img, because the pad pro get the corrupt message and won't boot. Unfortunately the unlock website from ZUI don't work. I waited 3 days, but i don't get the e-mail. Can someone help me? My serial number is: HA1FZG8B
[Lenovo P11] JobinFerreira:
You can use this:

http://cdn.zui.lenovomm.com/developer/tabletboot/[your sn number]/sn.img
[Lenovo P11] tj65:
Thank you! Works great!
[Lenovo P11] dovzatt:
hello, i couldn't get the file sn.img because i don't know what i have to put in the third part. which is the verify code? thank you
[Lenovo P11] dovzatt:
just appear this messenge "403 forbidden"
[Lenovo P11] dovzatt:
I've tried different way but i couldn't . but wich number is verify code? where can i get? or if for you works could you help me? my serial number is HA18RTR2.
[Lenovo P11] JobinFerreira:
Try this: http://cdn.zui.lenovomm.com/developer/tabletboot/HA18RTR2/sn.img

The verify code is the number that appear in the box. Type the that number. But they didn't send me the code, I could only ger by that way that I'm telling you.
[Lenovo P11] dovzatt:
same thing nothing appear. could you do that for me and send me the file by email_?
[Lenovo P11] JobinFerreira:
Hi, sorry for the late reply. I tried with your serial number and it didn't work. Then I tried with mine and worked. Your serial number may be wrong, where did you get that ? You cand find the serial number at the fast boot mode screeen.
[Lenovo P11] dovzatt:
yes i got from there. it is weird.
[Lenovo P11] empty.cad:
can not to unlock , not email and file
[Lenovo P11] Michael PBC:
Can someone please... give me a link for unlock sn.img?

I can't get it from ZUI website.

Please. My device is now corrupted and can't be booted. Thanks.
[Lenovo P11] Manoel Dinizio:
Hello, this file is independent of serial number? Also unable to recover on the website and my device is on the fastboot screen.

Thanks.
[Lenovo P11] levrx:
the ["http://cdn.zui.lenovomm.com/developer/tabletboot/[your sn number]/sn.img"], did not work for ,e.
[Lenovo P11] SoundDealer:
I have error 404 using this service with my serial number. Also I used few VPNs to try(include Chinese IPs).

But I asked man from community and he tried download sn.img with his serial. And he did it without any problems. After that I tried download sn.img with his s number too! Then I have it. But then I flashing sn.img(from community man device) I have an error - FAILED (remote: 'Serial number not matched').

Of course I'm understood that it may didn't work, but I tried))

What I need to do that unlock my device? I want root it))
[Lenovo P11] dinhvtai:
Hi all,

I'm getting 404 Not Found page after trying to get the SN image file via the direct link. The Serial number was inputted & replaced perfectly correct. Could anyone please help me? Mine is: HA1EKB1W
[Lenovo P11] gunalarix8:
Hi, i want to help but the website is now maintenance.
[Lenovo P11] dinhvtai:
Yes, I know. That's why I asked for helping. Could you please try to use the direct link and see that if you could download the file?

My serial number is: HA1EKB1W
[Lenovo P11] juliorcp:
Guys,

I bought the tablet with a global ROM and I tried to restore to the original ROM. I could restore but then I tried to lock the bootloader (to receive OTA updates) and I'm stuck at the fastboot mode. I can't boot the tablet into normal mode.

I tried to reflash the original ROM but when the tablet is rebooted after the reflashing it came back to the fastboot mode and it is in a loop.

I'm desperate because it seems a bricked tablet.

Can you help me?

Thank you!
[Lenovo P11] UltimN8:
Same here mate..

I guess i'm just waiting for lenovo to answer my email with my sn image
[Lenovo P11] appolyon:
In the exact same position as you at the moment.

The link to download the sn.img file with my serial number is giving me 404 errors so I have sent through an email to Lenovo hoping they'll send through the file in a timely manner. It has been 3 days now without response.

I'm wondering if there is a way to unpack a standard sn.img, edit in the serial number and then repack it for flashing?
[Lenovo P11] UltimN8:
I was wondering that too.

You can definitely find the string corresponding to the SN in the file but changing it won't get it working.

So we're screwed if Lenovo doesn't email back the SN file?
[Lenovo P11] juliorcp:
Guys,

Did you receive the sn.img from Lenovo?
[Lenovo P11] UltimN8:
Nop.. But I'm certain they do not work the week-end, we might have to wait a little more
[Lenovo P11] appolyon:
It has been 5 full business days since I sent through an email request. No reply so far. In the meantime my tablet is sitting there being an expensive paperweight ...

Has anyone had any luck getting a reply?
[Lenovo P11] UltimN8:
Still nothing as well..

I don't know what else we can do to be honest.

My tablet is also laying on my desk waiting for its savior
[Lenovo P11] juliorcp:
Same situation here, guys! I hope we can save our tablets soon! 🤞
[Lenovo P11] UltimN8:
update : I've found a way! thanks to a korean lad that led me to a russian forum

HERE
[Lenovo P11] appolyon:
That's awesome news! As of today I still haven't heard from Lenovo. Starting to think that there tablets aren't as great as their Thinkpads.

Have you been able to subsequently upgrade and lock the bootloader again?
[Lenovo P11] UltimN8:
As of now I upgraded to ZUI 13.1.560 and haven't yet lock the bootloader again. I'm afraid I might be missing one more update.

I'm making sure I don't mess this up this time!
[Lenovo P11] f1tm0t:
Ahahaha! :LOL: Taken from my forum: {Mod edit: Link removed}

We came up with it eight months ago

HAHAHA name because it no need convert ASCII to HEX, just copy НА in hex and replace rest of s/n
[Lenovo P11] UltimN8:
Impressive indeed! I wish I've found this sooner

I'm just glad the method is out there so that others can have their device working again :cool:
[Lenovo P11] juliorcp:
Amazing, my friend! I've already recovered my tablet! Way to go!
[Lenovo P11] appolyon:
So its been almost a month now with no reply from Lenovo. Very poor form, and when my e14 Thinkpad kicks the bucket I'll be looking for a different brand. The lacking support is very disappointing.

The good news is I finally found some time to follow the process above and have a working tablet again. Also on ZUI 13.1.560 - and wondering whether to take the plunge or not. Have you tried locking the bootloader again?

Also if anyone has a list of package names to remove using adb could you please post them? I have this weird thing happen when I install a new app I can't click any buttons on the screen and have to hit back before I can. I suspect its the dodgy looking "security" app that's installed.
[Lenovo P11] Asakura088:
Can you make a detailed video tutorial for me. Thank you
[Lenovo P11] king of demons:
IMEI1 It never appears to me ؟؟؟
[Lenovo P11] carlosfla21:
So I would like to thank you for the tutorial. My tablet was stuck on fastboot, it was in loop.

" http://cdn.zui.lenovomm.com/developer/tabletboot/[your sn number]/sn.img" - just put the serial number on the back of the tablet in place [your sn number] takes it all away ai from the link above and put the serial number in the browser and the image will start downloading. I had to download the attached program, there I pasted the image inside the program folder, and ran the unlock bootloader that is inside the program folder when you extract it. And ready Bootloader unlocked then just install the original Chinese room by Qfil.
[Lenovo P11] Ghostl2oom:
I also brick my Pad pro how do iget the sn.img I only get the serial number only
[Lenovo P11] cyclonemon:
please send detailed requirements (unlocking purpose, device serial number, etc.) to hucy4@lenovo.com. The staff will contact you within 3~5 working days
[Lenovo P11] fleps:
Hello

I have my tablet for about an year now on the firmware version 12.6.238 (as I knew updating to v13 would/could mess up Widevine and Play Store certificate)

I've installed Google Play Store back then probably via APK Mirror or something, and probably google play services and something else, and at some point everything was fine (purchases, installs, updates).

I haven't used the tablet for a while now, and today when I went to the Play Store to do a long overdue app updates, nothing worked anymore.

It stayed on "pending download" until it just stopped (no specific error message). I then tried to install a new version of Play Store from APK Mirror and the app updates now start but get stuck halfway and fail.

I also tried to update Google Play Services but every version I try it just fails to install.

Anyone has any idea how to fix this and have Play Store back to normal on FW 12.6.238?

Thanks
[Lenovo P11] JobinFerreira:
Hi, maybe you should try to update your tablet.

Mine is on 13.1.560 for months and it works great, with Widevine and everything working on google play.
[Lenovo P11] fleps:
I didn't knew, I had the impression that v13 broke Widevine and also made Play Store not certified.

Did you do anything special? Mine is locked, I can see the update available via OTA, should that work I imagine?

Thanks
[Lenovo P11] JobinFerreira:
I followed a lot of instructions around this forum. I first installed the original chinese room, then I manually updated the tablet to a 12xxx(don't remember exactly), but after that, I updated via OTA. Then I lock the bootloader and it's working just fine.

But it didn't work at first, I tried again and it worked. I think you've got to have luck.