yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] dahawthorne:
I'm having some trouble with this new build. I downloaded directly from Google Drive to my TB8704F, and the zip looked ok - Solid Explorer showed its contents correctly. However, the installation stuck on the Lenovo splash boot image.

I downloaded again on my laptop. WinRAR tested it ok, so I'm happy that the zip is good. However, same result - stuck on Lenovo splash image.

This is a dirty flash over Pedro's previous November build, which worked fine. I wiped only Cache & Dalvik.

Edit: Not a big deal, as I've recovered to the TWRP backup I took just before flashing, and it's running fine again. Is it just me? Can anyone please confirm that they've installed the new version ok, and perhaps I'll have another try?
[Thinkpad Tablet Android Development] Pedros97:
Hi it happened to me too I don't know why.After the first flash this rom Lenovo stuck on splash screnn.Then I restarted in TWRP and dirty flash over the rom again and everything was ok. Boot success
[Thinkpad Tablet Android Development] dahawthorne:
Thanks, Pedro. It looks as if Magisk was the problem. I tried a dirty flash several times, even used Magisk's uninstall.zip to remove it, but finally used Magisk's internal "uninstall Magisk", rebooted, dirty-flashed, and it works fine. A new install of Magisk has also worked, and my tablet is finally up to date.

Thanks again for your work in keeping my TB8704F running. Much appreciated.
[Thinkpad Tablet Android Development] swieder711:
I am still on LOS17.1 2020-06-01. Can I dirty flash the latest ROM 03-10-21 from this thread thru TWRP 3.4.0.0? I have the TB-8704F.

I have backups on TWRP and TiBu, if needed. Just like to know what I am getting myself into with an upgrade.

Thanks in advanced.
[Thinkpad Tablet Android Development] dahawthorne:
You helped me last year so it's good that I have a chance to reciprocate... 😊

As you'll have read above, a dirty flash works fine as long as you remove Magisk first. You're not jumping a major version, only upgrading, so you should be OK. I also used TWRP 3.4.
[Thinkpad Tablet Android Development] swieder711:
I uninstalled Magisk, Dirty flashed 03-10-21 and then rebooted with no issues. Had a slight bump flashing the modified boot.img. Kept getting "fastboot: error: Couldn't parse partition size '0x'." Had to add the :raw option to fastboot which is a first for me.

fastboot flash:raw boot boot.img did the trick.

Thanks to everyone. Nice to have the latest security patches.
[Thinkpad Tablet Android Development] Hnktc:
No way for me to install lates release., crash on first reboot. i have turned on Pixel..
[Thinkpad Tablet Android Development] zapp_em:
Awesome. Thanks @highwaystar_ru and @lancebuks for your amazing work!

I baked my own ROM with latest security updates based on @lancebuks repository and TWRP build.

(Many thanks @lancebuks for your awesome description on how to compile the ROM and also on how to properly set up Magisk. First time I did both as a complete noob and worked perfectly! Took about an hour to sync repo and another hour for build)

Generally it works like a charm:

A loooot less power consumption in standby on my tablet (3-4% battery loss in standby over night compared to 10-15% with stock ROM!). The standby consumption was always annoying with the stock ROM.

An updated Android version with latest security updates! (Lenovo update support is horrible but the device is still very good and there is unfortunately no proper 8inch android tablet on the market)

Everything is as smooth as it can be (for sure, it is not a high power device, I have the LTE Version with 64GB and 4GB RAM)

A few things unfortunatley do not work on my device:

I can not get a USB connection to PC to work when booted to android. The tablet is completely not recognized by the PC. I've tested it with different ROMS, different TWRP versions, different PCs and different OS (Windows & Linux). It works instantly when going back to stock. Can someone confirm that? Or does someone know a workaround? Is it a setting in TWRP? USB connection does work in recovery (TWRP 3.4.0.0 from @lancebuks)

Unfortunately, the HALL sensor doesn't seem to work and therefore no switch on/off on case open/close. Unfortunately, I do not understand enough to investigate here. It is still a lot of magic how the android build works.

(I don't know if it is something in the many configuration files from @highwaystar_ru or in the kernel from Lenovo. I don't even know if the official kernel from Lenovo is used for the build...and unfortunately I don't have the time to learn all of that.)

Again, big kudos to @highwaystar_ru and @lancebuks!
[Thinkpad Tablet Android Development] Pedros97:
Here is the last april 2021security patch update.
[Thinkpad Tablet Android Development] rauliordache:
Many many thanks to @highwaystar_ru for your work!

Does anyone know whether Lenovo Tab4 and Tab3 8 Plus (P8) will get an update to Android 11 (Lineage 18) ?
[Thinkpad Tablet Android Development] Peter-1130:
First of all Thanks for all the efforts and the great work on this ROM.

I am new to this forum and recently tried to update my 8704F on Android 8.1 to Lineage 17,1.

Unlocked Bootloader, flashed with TWRP 3.3.1.0, erased and formatted everything and finally installed 17.1-20200906 and gapps-arm64-10.0-nano.

So far everything worked without problems, device booted and primary installation process started, as usual. But unfortunately it stopped and freezed after showing the page "Voice search any time". I repeated everything with TWRP 3.4.0 and also with Gapps Micro, but no change at all, again freezing on "Voice..." page.

As I coluld not find that "behaviour" elsewhere here, I would appreciate any help on this issue. Many Thanks in advance.
[Thinkpad Tablet Android Development] Peter-1130:
Followup -> WORKING !!

I changed (in TWRP) from the installation media SD-Card to USB-OTG, did the same as before and now everything is OK, System up and running. So obviouly a defect SD-card.

Once again Thanks to all who made that ROM possible !
[Thinkpad Tablet Android Development] hunnia41:
I am patiently waiting. :) It might not be as simple as that. I installed Android 11 GSI into a treble compatible phone. All is well, Installed Magisk app. Canary as recommended, patched and installed boot, and got a bricked device, which did not even boot to recovery of fast boot. Had to reflash stock, through a special flash program. Considering how much problems people have now, I rather wait till android 11 is more fool proof. (The problem is that the initialization in android 11 changed a bit and magisk have to batch boot a bit differently.) Not to mention that with a factory wipe playstore in android stopped working for me, complaining that the device is not certified, which is true, but it worked with 10. I am afraid that in 4 years I will have to switch to IPAD, since android vendors only update for <2 years, and by that time custom roms will not be able to handle secure (banking) applications.

Note: I am very happy with this Lineageos 17.1. Works perfectly. Some places they mentioned that Android 11 is around 10% slower than Android 10, so why switch.
[Thinkpad Tablet Android Development] kchat:
Hello, everybody! I'd tremendously appreciate if anyone guides me to the right direction. My case is nothing new. Everything has been reported here countless times already. So, I will try to refrain from repeating as much as I can. Firstly, my tab is - TB-8704X (with volte). Secondly, right now I'm using Lineage OS 14.1 (Nougat 7.1.2). The reason should be obvious. I virtually struggled for three days and half of three sleepless red & blurry eyed nights to get the 17.1 or at least 16.1 to work. It was all in vain. The proper drivers are set up in my Windows 7 laptop. Although, I uninstalled & reinstalled them multiple times to make sure ADB is working fine. And, it was... Until it was not. 17.1 & 16.1 gave me innumerable boot loops and never reached the home screen. TWRP is flashed permanently. It was with version 3.2.3.0, I was trying to do everything but failed as usual. Just last night, after completing each and every thread here in XDA, that I found version 3.4.& immediately flashed it. This was on the phone's side. But as I said earlier, the ADB started acting strangely maybe for the continuous harassment I put it through and finally after the command of 'adb shell' showed that the daemon has started to run successfully, with the next command of 'adb devices', it came up with something like this :- ~7777777777777?[N]. I believe somewhere in this thread @ashu.droid mentioned something similar. And, for me, once this problem started up, it just never went away. Yes, I uninstalled, reinstalled everything, including ADB obviously for, I sincerely don't know how many times. But, like I said the problem continues to persist. As, I've no other PC/Laptop, so I guess, anything to do from this laptop with ADB is out of question now. With 14.1, currently I can't use a) Back Camera, b) Torch, c) Flash, d) BT, e) possibly WiFi (I don't use it much, but when I do, it says "connected. But there's no Internet"!). They simply refuse to work. Trust me, I really tried. I can't use either superSU or Magisk, because of the banking apps. Magisk failed me in this regard in some of my other phones and obviously superSU goes the same way. So, right now all I have is only TWRP 3.4. And, if I have to do anything, it's my only chance. As previously mentioned, ADB has completely gone out of the window! So, can anyone please help? Should I take another chance (only with TWRP though!) or should I leave it alone? It's been about a week at least that I'm using 14.1. So, by now I've some considerable amount of data in the tab. I can't start from the scratch again! Please, if anyone gets any idea, kindly let me know! I am aware this thread is old, but I just got my tab about 3 weeks ago and since then I was just fighting and struggling to get 17.1 (or, at least 16.1) but I hope, I've already clearly stated what transpired between me and my tab! Kind regards...

Edit : Forgot to mention, I was doing all this from the stock ROM. I did make a nandroid backup. But when I wiped everything and tried to recover the backup, in order to try again v.17.1, it was unsuccessful.
[Thinkpad Tablet Android Development] Jose67678:
8704v error en llamadas no salen mensajes no salen ni entran no se conecta a wifi dice error en la coneccion que pasara
[Thinkpad Tablet Android Development] maddler:
1st of all, thank you SO MUCH to everybody contributing to this! Was pretty sad to let my tablet go just because the lack of updates from Lenovo.

LineageOS install went just fine but I'm now stuck with Gapps. Trying with 10.0 arm64 nano but TWRP is stuck on "mounting partitions" since at least 10m.

Any clue anyone?

EDIT: tried both with TWRP 3.2.3 and .3.4.0, same result

EDIT: wiping DATA did the trick
[Thinkpad Tablet Android Development] gjuny:
Thanks highwaystar_ru for this! I was stuck on Android 7 on my "v" variant. I do have the same issue as others reported here: my bluetooth keeps crashing. Does anyone have any idea on how to get this fixed? I typically use bluetooth headphones with my tablet and not having them is a bit inconvinient.

Thanks!
[Thinkpad Tablet Android Development] gjuny:
Sorry... Browser issues made me post twice.
[Thinkpad Tablet Android Development] schiff1108:
Thank you @dave457. This has helped my to fix my device. I had massive problems to run through the various steps to prepare flashing my phone with a custom rom.:cool:(y):)

So I am trying again to Install TWRP on this device but w/o success. I am able to run this comand

fastboot boot twrp-xxxxx.img (3.4.0)

But I am not able to install twrp permantly.

I am trying this command

fastboot flash recovery twrp-xxxxx.img

but nothing is happening.

Can anybody give me a hint how to install twrp permanently? :unsure:

Thanks.
[Thinkpad Tablet Android Development] tatoosh11:
Hi,

first: thanks for the good work.

I used TWRP (fastboot boot ) on my Lenovo Tab 4 Plus to flash lineage-17.1-20210412-UNOFFICIAL-TB8704 with pico gmail apps.

Now the Tab is rebooting and hangs with showing the Lineos Logo since 15min.

What can i do now?
[Thinkpad Tablet Android Development] tatoosh11:
fastboot flash recovery twrp.img is the right command - did u try a nother version?
[Thinkpad Tablet Android Development] JayOko09:
First of all thank you for this amazing rom.

I have a verizon version of tablet and after installing this ROM, tablet can´t read sim cards. it doesn´t show any signal. can you please help me with fixing it? thanks.

P.S. It does also have a problem with bluetooth as it always crashes but for me using sim cards is important.
[Thinkpad Tablet Android Development] jfbaudio:
Interesting. This ROM works for me (with a Fi sim card)
[Thinkpad Tablet Android Development] K14_Deploy:
Does anyone know how to recover a device that's stuck on the Lenovo splash screen? I try and plug it in, and it stays on the splash screen until the battery runs out. Do I need to try a specific boot mode to recover?

I'm running 17.1 from this thread and TWRP 3.4. My power button works about 5% of the time.
[Thinkpad Tablet Android Development] jfbaudio:
I had that bootloop problem with 17.1 and a Tab 4 8. I that case I would hold power & vol- or vol+ to get into bootloader (usually worked) or recovery (sometimes worked). I eventually reinstalled stock using the Lenovo rescue tool and then reinstalled a custom ROM (went with RR). I only seem to have had this bootloop problem when rooted on the Tab 4 8 -- so I don't root for now. I may try again in future.

EDIT: To clarify -- I don't have this problem on my Tab 4 8+, but perhaps the solution I used on my Tab 4 8 would help (yes, I have both)
[Thinkpad Tablet Android Development] kotty:
everything is good ..only problem is my back camera and flash not working..any help? i try flash to pixel experience same result..only front camera can use..b4 i flash lineage os using stock ROM my camera is working..so cant be hardware problem..need help Pls
[Thinkpad Tablet Android Development] kotty:
anyone know is there a flashable stock ROM zip file or twrp backup i can download?i try flash using Qfil and other tool and my computer just don't detect my usb Port..i really give up already..
[Thinkpad Tablet Android Development] dahawthorne:
Try a different USB cable and read my posts and swieder711's beginning here:

https://xdaforums.com/t/lenovo-tab-4-8-plus-aka-tb-8704f-x.3654605/post-78293188

and keep reading down as far as post 253.
[Thinkpad Tablet Android Development] kotty:
i manage to flash back stock ROM using Lenovo smart assistant..is the most easy way..like noob proof..anyway u guys rear camera is working on lineage 17.1?i tried again still same resulted..only front camera is working..can't flip the camera and flash not working too..
[Thinkpad Tablet Android Development] dahawthorne:
Sure. No problem. You're welcome. Let's pretend that I didn't spend 15 minutes looking up my old posts in order to try to help you. I should have stuck to my own advice and just ignored your request for help. I shan't make that mistake again.

Unfortunately this is all too typical of what I see in XDA these days. Demand after demand, complaint after complaint, no recognition of help, no attempt to contribute.

I think from now on I'll just confine myself to lurking and occasionally pressing the thank-you button.
[Thinkpad Tablet Android Development] Pedros97:
Here is the last june 2021security patch update.

Finally patch serious security vulnerability in Qualcomm MSM, the vulnerability CVE number is CVE-2020-11292.
[Thinkpad Tablet Android Development] Aangoan:
well said sir!
[Thinkpad Tablet Android Development] River2418:
This tab only supports the basic SBC bluetooth codec, which is fair enough. Just wondering if this rom changes that at all? Specifically I'm after the best-sounding codec, which is LDAC
[Thinkpad Tablet Android Development] hk9719:
Hello, after installing the stock rom, my wifi and bluetooth have stopped working. I reverted back to custom rom and they work just fine. I have changed the file system in twrp and I cant remember the default one. Can anyone provide me with the default file system or any fix?
[Thinkpad Tablet Android Development] pepepepep:
Hi,

just a quick shoutout since I just registered with XDA-Dev but have been using highwaystar_ru's releases for this tablet for years now.

Thanks to highwaystar_ru for making this rom and Pedros97 for keeping it alive :)
[Thinkpad Tablet Android Development] WiteWulf:
Thanks for the continued support for this device. I successfully dirty flashed Pedros97's latest image yesterday, along Pico gapps and magisk and the device is working well. I hope this fixes the lockscreen lockups, as that's the only ongoing issue I have with LOS on this device.
[Thinkpad Tablet Android Development] asphalt73:
Hello, I have obtained root permission with magisk, but when I access the system partition with file manager and try to write, my device will get stuck, the screen will get stuck and I can't operate. How can I solve this problem? thank you!

My equipment model is TB 8704f
[Thinkpad Tablet Android Development] asphalt73:
As long as I write files to the system partition, my device will be stuck and the screen will stand still. As long as I write files to the system, the system will be stuck and the screen will stand still. But my twrp can create files in the system partition. I can't understand.
[Thinkpad Tablet Android Development] oldleaf:
My tab4 is stucking on this screen for an hour. Am I missing any step?
[Thinkpad Tablet Android Development] Stolonifer:
I think you are missing somewhere , have checked that system partition and other important things are checked cause sometimes they automatically get un check and things fail . In my case after I installed rom , I have to go back and recheck all things and then install gapps but every other person said flash rom and gapps straight away but it failed for me
[Thinkpad Tablet Android Development] Stolonifer:
Do u have Vo-LTE support for your sim card cause I am not getting any . Even in advance settings where you can change it to LTE only mode , there is no Vo-LTE option , I had it on LOS16 but not anymore for the same sim ! Plz help ..
[Thinkpad Tablet Android Development] WiteWulf:
Same here, I've installed Magisk Manager, changed the device fingerprint as per (https://xdaforums.com/showpost.php?p=81681043&postcount=32), which has successfully enabled Disney+ and PS4 Remote Play, but no Netflix :confused:

NB, when changing the fingerprint I selected Android 10, not 9, of course....Netflix worked fine on 16, with Magisk Hide and fingerprint modified
[Thinkpad Tablet Android Development] turiato:
I did a dirty flash on lineage 16.

I flashed in this order LOS 17, GAPPS and Magisk. So far everything works fine.
[Thinkpad Tablet Android Development] James Bottomtooth III:
I use a tb8704x as a music player with lots of albums stored on a SD card.

I clean flashed to lineageos 17 and many of the albums I had before now show the wrong album art in the app I am using (Hi-fi Cast).

I have tried clearing the media storage, clearing the app data, reformatting and copying all music again, to no avail. The developer of the app says it's fully compatible with android 10.

Has something changed in android 10 with regards to audio storage/metadata?

Kind regards
[Thinkpad Tablet Android Development] WiteWulf:
Never mind, downloaded the latest version from apkmirror and it's working fine, just wouldn't show up in the search on Google Play Store ¯\_(ツ)_/¯
[Thinkpad Tablet Android Development] suhridkhan:
Anyone is able to install it successfully on TB-8704V?
[Thinkpad Tablet Android Development] mr.inter:
How's the battery life compared to LOS16?
[Thinkpad Tablet Android Development] James Bottomtooth III:
As an update to my earlier post, I can confirm that incorrect album art is also displayed in the lineage Music app. If I put the same SD card in an android 9 device, all album art is correct. I am guessing something is different in android 10 but that's about all I can say..
[Thinkpad Tablet Android Development] lancebuks:
I didn't mess around with it too much but I clean flashed LOS17 on my TB-8704X which I complied myself using [MENTION=7737930]highwaystar_ru[/MENTION] sources. OpenGapps Pico seems to be fine thus far. MagiskHide Props Configs work fine and I was able to pass SafetyNet and install Netflix. So far so good.
[Thinkpad Tablet Android Development] rcrd-pt:
download only from gdrive. .ru link is for 31MAI build
[Thinkpad Tablet Android Development] Ecthelion3:
Hi, I just dirty flashed from LOS 16 using the 17.1 build from the Gdrive link, gapps 10 pico and the Universal Disable Force Encryption zip that I always had to use for the LOS 16 installation (without this the device tries to boot forever). But the restart after the installation then leads to the fastboot mode. Any idea how I can fix this?

Of course I might now try a clean installation, but I fear this problem has nothing to do with this start in fastboot mode because LOS does not even start to load. My other alternative would be to try dirty flashing LOS 16 again, where I would not lose my data.

Any help is appreciated. Thx
[Thinkpad Tablet Android Development] dahawthorne:
After the problems I had first time round (described & edited in your 16 thread) I was a bit nervous of trying again, but after wiping and formatting everything, ignoring messages about "Unable to mount vendor" etc., the 17.1 slipped right on to my TB-8704F with Gapps Pico & Magisk 20.4, started first time, and has been rock-solid ever since. Totally perfect as far as I'm concerned.

Thank you very much for your work on this device. You & [MENTION=4567848]lancebuks[/MENTION] are excellent people.
[Thinkpad Tablet Android Development] lancebuks:
It's good to know that my updated TWRP actually works
[Thinkpad Tablet Android Development] DipXDA1:
Issue with microphone

Hi and thank you very much for the ROM.

Having an issue with microphone not working, is there a fix for this please? Otherwise - all great!
[Thinkpad Tablet Android Development] mad4some:
So I've got my 8704F up and running on 17.1 but it was quite a battle. After using Lenovo Assistant to rescue from brick and having it install the dreaded 8.1 factory rom on my tablet (which I avoided by going from 7.1 directly to LOS) now every time I reboot the system has to have a password to start and every time I boot to TWRP (lance's 3.3.1.0) it requires a password to decrypt storage/data. I tried formatting data more than once and when system boots, it just re-encrypts the tablet again :( I truly do not understand encryption on this tablet and can't figure out how to get rid of all the password bull**** which I never had before. Trying the universal No-verity zip is what bricked me to begin with.......
[Thinkpad Tablet Android Development] dahawthorne:
I feel your pain...

I wiped seven shades out of my tablet, formatted, got lots of "can't mount" errors but ignored them, flashed the ROM/Gapps Pico/Magisk 20.4 all together (no boot between) and it worked. On a couple of previous attempts with the pre-0601 version I got an Android "Encrypting device" screen for a minute - this time I didn't but still ended up encrypted. Like you, the encryption behaviour of this device baffles me. All I can suggest is trying factory reset/advanced wipe/format half a dozen times for luck, and then flash all 3 items as I described.

Good luck...