yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet General] Quardah:
Ok great. It did work. The procedure is as followed :

1 - You need to unlock the bootloader first. In developper options, enable OEM unlocking. Then reboot into fastboot mode. From there, you can unlock the bootloader.

2 - from https://www.phonandroid.com/forum/t...ooter-yoga-tab-3-pro-yt3-x90f-x-l-2go.147758/

download both

twrp-2.8.7.0(6)-x90-data-enabled.img.zip

x90-disable_encr.zip

3 - copy the x90-disable_encr.zip file on your SD card. also copy the cooked rom on the SD card.

4 - Unzip the twrp-2.8.7.0(6)-x90-data-enabled.img.zip file in your adb/fastboot folder.

5 - In fastboot mode, flash the twrp-2.8.7.0(6)-x90-data-enabled.img as recovery using

fastboot flash recovery twrp-2.8.7.0(6)-x90-data-enabled.img

6 - Once flashing is complete, go into TWRP (recovery mode, boot from fastboot to recovery). From there, make a backup of all partitions on SD first in case in doesn't work.

7 - Use the Install function to install x90-disable_encr.zip so the data partition can be accessed.

8 - Go to wipe, format data, type yes, and format the data partition.

9 - Go to wipe, advanced wipe, and wipe ART/Dalvik, cache, data, and system partitions.

10 - Go to install and install the cooked rom zip. it should be successful.

11 - Before rebooting, reformat data partition again. Go to wipe, format data, type yes, and format the data partition.

12 - Reboot and let the tablet boot into the new cooked rom.

I will test this today. Thank you for your help.
[Thinkpad Tablet General] :
You could probably skip steps 7 and 8 since the kernel in the cooked ROM already disables mandatory encryption of data partition, but I do not know for sure. I am glad it is working for you and I hope you like the ROM.
[Thinkpad Tablet General] Quardah:
Yes well i used to have the battery decreasing on its own even in airplane mode but now with your ROM i have at least four time the battery lifetime. Boot time is also much faster.

Everything runs much faster. Noticeably much faster. I can now stream HD content from the browser with no interruption, and turning on the projector does not slow down the tablet anymore. I must have double the battery life using the projector too.

The best feature is that before i had your ROM, even while plugged in, using the projector would decrease the battery over time (which means it would eventually die). Not anymore with your ROM.

It is very unfortunate that Lenovo shipped this device with such a broken system. I am a huge ThinkPad Fan and back when i was looking for a tablet i was purchasing with confidence because of the Lenovo branding on the device. Don't get me wrong, the hardware is wonderful and very good for an Android device, but the software is absolutely lacking, as bad as preinstalled windows OS on ThinkPads. Now that i think about it, i do the exact same thing with ThinkPads when i get them (i wipe the system and install Linux), it's just that with Android tablets i do not have that reflex yet, plus there is always a risk of bricking the device if something goes wrong (while that's not really happening with laptops ever).

Anyways i am glad i stumbled upon this thread. I remain available for anyone else coming here if they need help for their installation.

Take care.
[Thinkpad Tablet General] Nuihc88:
I have YT3-X90L, but don't plan on ever making use of it's LTE capabilities, so...

1. What makes this release WiFi-model specific?

2. What would be needed to add X90L support?

3. ...Or convert existing X90L image to include all it's tweaks?

I have previously tried myROM.zip, which got stuck on boot after working fine on the first run.
[Thinkpad Tablet General] :
1. I modded the init process. This tells the kernel to treat your tablet as a wifi model. That's all I can say, I do not know specifically what exactly does Lenovo with this instruction. Also, I removed some pieces of software related to 3G connection that would become bloat, really, things like mobile connection engineer tools.

2. I have a ROM for X90L right now. I would need to upload it, you would need to download it and be a guinea pig, essentially. As it is not tested yet, I really didn't bother with sharing.

3. [...] I'd prefer number 2.

About getting stuck, sometimes you need to wait a fair amount of time the first two boots because the newer Google Apps are kind of heavier now. Also, that build was unstable because I was experimenting with my tweaks and I think I stated this clearly.
[Thinkpad Tablet General] Nuihc88:
I wouldn't mind being a guinea pig for an untested ROM :), since i can always do a full system restore from backups whenever things go wrong. That said, i probably wouldn't end up testing the LTE stuff very thoroughly, just popping my phone's SIM in to check that it works. My main goal is getting the battery to last as long as possible, so i can rely on it while off-grid and running on solar.

It was stuck for over an hour so i doubt it was still running updates, restored stock and flashed with your new ROMx90F_wifi.zip ROM, which seems to be running fine at the moment.
[Thinkpad Tablet General] :
There you go. If it works fine I'll share it in the OP. If it doesn't I don't really have time to fix it right now, sorry. And... well, if you are gonna be a Guinea Pig, backup your current TWRP and try this TWRP recovery image. It's the same by joesnose/ionioni, I just added support for Okr and Fpr partitions and more busybox snippets. I use this one in my tablet.

EDIT: It may work just dirty flashing it + wiping cache and ART, but make sure you have a Nandroid Backup.
[Thinkpad Tablet General] Nuihc88:
Neither worked. That TWRP just reboots my tablet regardless of whether i flash it first or boot directly via 'fastboot boot recovery.img'. The ROMx90L_3G.zip on the other hand gives the following error(s):

Warning: No file_contexts
This package is for "YT3" devices; this is a "".
E:unknown command [log]
Updater process ended with ERROR: 7
Error installing zip file'/external_sd/ROMx90L_3G.zip

PS. Installs and works just fine after replacing 'META-INF' & 'boot.img' with the ones from 'ROMx90F_wifi'.

1. Replacing 'META-INF' folder gets rid of the installation errors, but results in an unbootable system...

2. Replacing 'boot.img' file makes the system bootable again...

Apparently my phone's sim card is too small for this tablet, but i'll try to find an adapter over the next few days; this far everything looks good though, it asks for SIM at first boot setup and the SIM-card entry is showing up at the top drop-down menu.
[Thinkpad Tablet General] :
I surely forgot to replace the update-binary after repacking the ROM, I don't think it is necessary to replace the whole META INF folder since this changes the updater-script too. I do not know what the hell happened with the kernel in this version. It should boot. It is possible you need to wipe the Config partition too for it to boot, but it takes us back to the TWRP not booting for I don't know what reason. Yeah, I don't have time for this, I wish I could have done more. Let me double check if I did share the correct TWRP image.

EDIT: Yeah, it was the wrong TWRP image. I uploaded the correct one, at least this one was tested just before I uploaded. This TWRP should be capable to wipe the Config partition.

EDIT 2: I updated the ROM file really hoping for it to work already. Try it. If you can't flash it, replace the whole META-INF folder as you did and try again. If it flashes but doesn't boot, wipe the Config partition and caches. If it still doesn't work, well, we try some other time in the future.
[Thinkpad Tablet General] Nuihc88:
The new TWRP boots fine, but has various issues. Here's some examples:

1. When i go to format data partition i get:

flash_image /dev/block/by-name/android_metadata /dev/zero process ended with ERROR: 255

2. When i try to wipe 'Boot' i get:

E: Unable to wipe '/boot' -- unknown file system 'emmc' Unable to wipe /boot.

3. When i try restoring to stock image from an old backup made with the other TWRP i get:

Partition Bootloader cannot be wiped.

However new backups made using this TWRP seem to be restored just fine.

4. I also notice that there are two Bootloader entries, one ending in '_2', not sure if that is intentional.

5. I have no idea what USB-OTG in Wipe menu is and whether it can be backed up and restored as it isn't listed anywhere else...

As for installing the new .zip; Last time i did it with fastboot, but this time i used the new TWRP to wipe Config (and then the old TWRP to reformat Data, wipe: Dalvik, Cache, Data & System), before making an intermediate backup for speeding things up...

While trying to install 'ROMx90L_3G.zip' i get:

location argument to mount() can't be empty
Updater process ended with ERROR: 7
Error installing zip sile '/external_sd/ROMx90L_3G.zip/'

Beyond that i can see that it never gets around to running the backup-script portion.

After replacing just the 'updater-script' it installs again, but gets stuck at the intel-screen and it will be necessary to hold the power button down for 10 seconds to reboot; same thing happens if i try to flash it with "fastboot flash boot boot.img" directly over a working 'boot.img', reverting to the old one makes it boot again. Wiping Config, Dalvik, Cache & Formatting Data before or after replacing the kernel makes no difference.

For if/when you or anyone else might have the time and interest to work on this stuff again, here are a few suggestions:

1. Making modification of 'Generic.kl' optional in the install-script would be a huge time saver for those who don't find the second power-button desirable.

2. While it still has problems, microG/NanoDroid is starting to get quite usable according to most people who try it, so it might be worth experimenting with to reduce bloat and further extend battery life. Probably not a good idea completely abandon the official Gapps yet though. The whole replacement process seems scriptable, so perhaps it could be an option as well.
[Thinkpad Tablet General] :
Now, you are thorough, I like it. It shouldn't be hard to fix those errors in TWRP, it's just I never encounter them, because I tested the basic stuff and was the only tester.

I don't think messing with the bootloader is a good idea, that's why you can't wipe your bootloader with this TWRP, that was intended, just avoid restoring it. There are also two stages for the bootloader, that's why there is a Bootloader_2. The error listed as 1 is the most interesting, I really don't think I can solve it quickly, the one marked as 2 is just a filesystem error in fstab.

As for scripting the optional PWR button in the Generic.kl, well, you are welcome to do it. It should be easy to pack two flashable zips with both versions flashing one over the other. I wouldn't bother myself with trying to edit the file directly. You can use the Adfree zip flashable as a template, just include the correct files to flash (Generic.kl) and the correct path to it. If you mess up, just recover the file through adb root in TWRP.

MicroG should be optional by now, you can activate or deactivate signature spoofing in the developer options if I remember correctly. Last option there. If you want MicroG, activate it and flash a flashable zip package solution (MinMicroG, Nanodroid, systemless Magisk microG revived, etc.), if you wan't GApps, just deactivate it.

EDIT: Any of the old ROMS boot.img should work fine for the X90L. I don't remember any deep changes to these kernels that would mess up the boot process. The other important things I changed are in the system.img. Try these older boot.img files. Do they boot? If they all boot, which one you do feel runs better? They have slight differences. If just the one boots, which one? Maybe you/I or both can make a FrankenROM from every other version I uploaded, as a last resort.
[Thinkpad Tablet General] Nuihc88:
Just confirmed that the SIM slot is working fine with combination of the 'ROMx90L_3G.zip' ROM & old 'boot.img' from 'ROMx90F_wifi.zip'. Played some youtube videos on it and the only weird thing i noticed was the following notification:

Ciphering: OFF

However, a quick internet search would suggest that it happens with stock ROMs too; Apparently with these devices data-encryption randomly turning off is a common issue that is frequently associated with the connection dropping off completely, but i did not notice that on my end.
[Thinkpad Tablet General] :
This is interesting. I'd still suggest to use boot.img from previous versions, because I remember this kernel doesn't include a binary in sbin and an init config file related to radio.
[Thinkpad Tablet General] Nuihc88:
Decided to run some benchmarks to see whether there were any clear patterns i could quickly detect without getting overly scientific with it; most of the results are withing margin of error of each other and i didn't bother rebooting between each run, so lots of unknown factors could have affected the results. Each benchmark result contains best and worst of three runs, with best results in bold and worst in red. Given the results and since i probably won't be needing LTE and know that it would work in an emergency anyway, i think i'll personally stick with ROMx90F-wifi.zip's boot.img for now; myROM.zip's kernel would be my second choice.
[Thinkpad Tablet General] :
I'll share it like this as a beta in the OP. I remember myROM's boot.img was really experimental with tweaks in KSM, VM, zRAM, init, etc. Thank you very much!
[Thinkpad Tablet General] nightsoul84:
Hi Centsoarer, I just installed this rom and it is wonderfull really quicker than the original. Thank you for the share. The only "issue" I have is for the projector : I need to start the program for projection and can not any more switch it on with the "small button opposite to the on/off button". The action of this small buton is now the same as the one of the on/off of the tablet and not anymore the on/off of the projector. Do you have similiar "issue"? any tweak to solve it as a dedicated program to setup the buttons (as we use for exemple for the Samsung to change the action of Bixby button) ? thanks you.
[Thinkpad Tablet General] :
Yes, it is not a bug, it is a feature (I am kidding). You have two ways, a workaround and a fix. The workaround is to use the dedicated QS tile in Status bar. If you edit it, you'll find the software switch for the projector.

You can find the fix in post 66. Edit your /system/usr/keylayout/Generic.kl file, find the line number ~407 and edit it from "key 752 POWER" to "key 752 DLP".

Edit: Reboot after you edit and save the change!
[Thinkpad Tablet General] nightsoul84:
Nice it is working perfecty. Thanks you, this new rom is definitively a must have for any owner and give a new youth to this wonderfull hardware but very poor original software unit. :)
[Thinkpad Tablet General] Nuihc88:
I had a look at the original 3G-version's 'boot.img' with 'Android Image Kitchen' and noticed that it's '/charger', '/sbin/watchdogd' & '/sbin/ueventd' had different character encoding than in the WiFi-version, which caused some text editors to read them with a '/' missing; i'd guess that's probably the reason it wasn't booting.

Anyway, i ended up making my own boot.img with 3G features re-enabled and some additional tweaks...

I have no idea what the '/sbin/efiprop' in WiFi version is for, but i left it in there regardless.

Afterwards i also needed to re-patch the image with Magisk from TWRP to make root-features work again...

I can't make any guarantees about the quality or reliability of this .img as this is my first time editing one, but here it is anyway...

PS. If anyone wants to use my boot.img, make sure to repeat the re-patching step, as i have no idea how to export the re-patched boot.img in an usable format.
[Thinkpad Tablet General] :
Wow, thanks. You are awesome and a blessing for those people with a 3G model.
[Thinkpad Tablet General] freddyaziz:
Complete Newbie, is there a step by step guide to load ROM and not sure does the new ROM upgrade the Android from 6.0 to ?
[Thinkpad Tablet General] :
Read the OP, follow its instructions. You won't be able to upgrade from android 6.0.1 in this tablet, probably ever. This is a Cooked ROM, which means it is a tweaked stock firmware (6.0.1). These tweaks are supposed to help with the grievous performance of the stock firmware, which is unbearable for most owners of this tablet.
[Thinkpad Tablet General] freddyaziz:
What is OP? (see am real newbie)
[Thinkpad Tablet General] fengyuclub:
I read this post carefully, but I didn't see how to unlock the boot loader. After connecting to the computer, there was an exclamation mark in the device manager and the driver was installed. It was very strange. Should I use PlatformFlashToolLite to flash the firmware or use twrp?

Forgot to say, the device is yt3-x90l, the official ota is currently updated to 6.0.1

I have a few questions to ask:

1. What method is used to flash the firmware?

2. I saw other websites that said that Lineage OS can be flashed, https://tweakdroid.com/lineage/lenovo-yoga-tab-3-pro-10-yt3-x90l-yt3/

3. Although I have some experience in writing Android, but I am not very proficient, please do not give some assumptions that I know for granted.

4. Or there are other ways to meet my requirements. My requirement for this device is actually that it has an Android framework, can watch youtube, and can use kodi smoothly.

Looking forward to anyone who can help me, thank you.
[Thinkpad Tablet General] :
To unlock the bootloader and install TWRP go to https://xdaforums.com/thinkpad-tablet/general/yoga-tab-3-pro-root-thread-instructions-t3319666

Then you can follow these instructions https://xdaforums.com/t/a-comprehen...t3-x90-and-a-cooked-rom.4082253/post-85253199

To install firmware (this is the factory software) you need Intel Platform Flash Tool or fastboot (read the OP).

To install this Cooked ROM (this is not firmware) you need TWRP with an unlocked bootloader.

PS and PSA: You can find by yourself if lineage supports our tablet here:

Devices | LineageOS Wiki

wiki.lineageos.org

TLDR: Lineage does not support the Yoga Tab 3 Pro. Don't trust that site you linked, it is clickbait.
[Thinkpad Tablet General] fengyuclub:
Thank you for your reply, thank you again. I am from China, please forgive my English, from Google Translate. After reading the tutorial carefully, it feels a bit difficult. At present, I have installed a third-party youtube app on Marshmallow, and also installed the latest Kodi, which basically meets my use and the projection is normal. As for whether the performance of the system is satisfactory, it will take time. I will report here again, thank you.
[Thinkpad Tablet General] :
Don't worry about your English, it's not even my mother tongue. If you feel it's complicated, maybe that's all you need to know to keep yourself away from modding your tablet. We do it mostly because we feel its performance is just lacking. If you are happy with your tablet, then you are good.
[Thinkpad Tablet General] fengyuclub:
After using Lenovo official rom for a few days, it is really stuck and the system performance is weak. Then I flashed MyROM.zip according to your steps, and you can skip into the system without starting the wizard, but the Google service cannot be connected. Follow you The prompt code is clear about FRP. But still use Google services. During the period, you also flashed another x90l rom (ROMx90L_3G.zip) you provided, but you can't use Google services. What should I do now?
[Thinkpad Tablet General] :
Sorry, I did not read the quote. Look, I do not own a 3G model, so, It is really limited what I can do at this point. @Nuihc88 shared a boot.img (a kernel) that works for him in this post. After flashing with:

fastboot flash boot downloaded_file.img

Erase the config partition again, and factory reset your tablet.

If it still won't work, then just restore your backup. As you said, you are from China, and all these builds are based upon the international ROM firmware version. Maybe there is a reason why the Chinese version exists. I really don't know, and the screenshot is not verbose at all.
[Thinkpad Tablet General] fengyuclub:
I tested the 2 roms provided by this post (myrom.zip&ROMx90L_3G.zip, both roms are normal, can be used and can meet my needs, I only need to use third-party youtube and kodi to access my home media server jellyfin) and I have cleared FRP, and I still can’t connect to Google services reliably. The phenomenon is very strange. After I switch airplane mode, there is a small chance that I can connect to Google services, but I just log in to my Google account, and the last step still prompts an error. , I can’t enter the play store. I even used recovery to restore the Chinese version of romboot.img I backed up before. It can enter the system, but the wifi and bluetooth modules can’t be used. I now start downloading https://androidhost.ru/58c again rom, I don’t know if I can try this rom, I know this requires intel tools.
[Thinkpad Tablet General] fengyuclub:
It’s all done, most of Google services, jellyfin, kodi, even telegram, tiktok are ok, I don’t know how good it is, I don’t know if it has anything to do with me going to apkmirror to download the latest x86_64 Google service framework file, rom should Is it normal? My hardware version is for sale in China. It's also possible that my network fails intermittently, but it's all right. The only problem is the display when it is turned off and charging. A large intel has no indication of the charging progress. Then there is ROMx90L_3G.zip this rom changed the projection button to the power button, how can it be changed to the original projection button, this is a small problem.

Thanks again @CENTSOARER @Nuihc88 View attachment 5417261
[Thinkpad Tablet General] :
I did change the behavior of the projector button because it is common that, in time, it ends up all smashed and useless. It is easy to revert, though. Check this post.
[Thinkpad Tablet General] fengyuclub:
1、Nothing else is a problem. The main problem is the display when charging in the off state. A large Intel has no signs of charging progress. After all, charging in the off state is a frequently used scene.

2、I also have the problem with this post. Unverified adb devices, I don’t know where your adb commands can be executed? like this command "adb shell wm size 1400x2240"
[Thinkpad Tablet General] :
I won't be able to help you here. My time with messing with the tablet is over and what is not in the thread has been forgotten. If the ROM works, that's gonna be all from me, everything else is on you. I hope you share anything you find useful.

I do remember, though, I had a problem similar to that described in your cited post. I think, but I'm not sure, it was related to a setting in the build.prop file... maybe ro.secure=1 is still there? Try to change it back to 0. If it doesn't help, well, I'm out of ideas.
[Thinkpad Tablet General] fengyuclub:
(y)
[Thinkpad Tablet General] :
I'm putting the ROM files offline and getting away from XDA for a while. Please don't DM me for the files. If you are looking for them, ask others in this thread. Good bye.
[Thinkpad Tablet General] Nuihc88:
Decided to mirror the most recent ones; also added my own fixes and tweaks to the 3G version...

ROMx90F_wifi:

ROMx90F_wifi

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

Dropbox

www.dropbox.com

ROMx90L_3G:

ROMx90L_3G_Fixed&Tweaked

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

Dropbox

www.dropbox.com

...obviously these come with no support. Use at your own risk.
[Thinkpad Tablet General] calualeaf:
@Nuihc88 thanks for sharing the files. I tested the Rom on yt3-x90L 4GB/64GB it is a great improvement compared to the stock ROM. :)

The only issue I faced was the one mentioned above by @fengyuclub

Maybe do you have an idea how to fix this problem? I checked already the suggested solution but there is no "ro.secure=1" in build.prop file.