yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] lancebuks:
Yes my builds contain updated code from lineageOS main tree.

The only differences between my build and highwaystar_ru is that I forked his device tb-common source and made the following changes:

https://github.com/lancebukkake/android_device_lenovo_tb-common/blob/lineage-17.1/vendor_prop.mk#L7 which fixes the video issue

https://github.com/lancebukkake/and...mon/blob/lineage-17.1/prebuilt/bin/deunify.sh which fixes the bootloop issue for TB-8704F

If you're wondering if my builds contain up-to-date security patches then yes they do, I compile new builds after the LOS team merges them.

I've attached a screenshot for the about page showing that the Security patch level is July 5, 2020.
[Thinkpad Tablet Android Development] climent:
Thanks for the reply. Is there any documented procedure to update an already flashed tablet with your images?

Thanks!
[Thinkpad Tablet Android Development] lancebuks:
Assuming that you're already running LOS 17.1 Just wipe the Cache and Dalvik / ART Cache and flash this build. Use my updated TWRP as it's been compiled using the latest available kernel for TB-8704.
[Thinkpad Tablet Android Development] climent:
I flashed the build and it did not boot correctly. I had to reimage the kernel for the TB-8704V device model as stated in the initial post, and now it boots.

I did not, however, wipe the Cache/Dalvik/ART Cache before flashing. It is possible that was the problem, so I will give it another try.
[Thinkpad Tablet Android Development] lancebuks:
I don't have the TB-8704V but I believe you need to flash boot-los17.1-tb8704v-20200531.img afterwards each time.

Not wiping the cache shouldn't be an issue - I just do it as a force of habit
[Thinkpad Tablet Android Development] hunnia41:
I flashed

lineage-17.1-20200725-UNOFFICIAL-TB8704.zip over highwaystar system. To boot, I neeeded a factory reset. (data wipe) everything seemed to work, but video playing in viki ans netflix played in snail speed. kmplayer and I assume vlc played a video file without problem. highwaystar 17.1 playes without problem too.

I assume that lineage-17.1-20200725-UNOFFICIAL-TB8704.zip has in it audio.deep_buffer.media=false, so that cannot be the problem
[Thinkpad Tablet Android Development] lancebuks:
Strange - Netflix and Viki plays fine for me. VLC also plays fine.

Yes lineage-17.1-20200725-UNOFFICIAL-TB8704 has audio.deep_buffer.media=false
[Thinkpad Tablet Android Development] hunnia41:
I did forget to say, that mine is TB8704F. If yous is also, I give it another try.
[Thinkpad Tablet Android Development] lancebuks:
I'm using TB-8704X
[Thinkpad Tablet Android Development] harykx:
Bluetooth crashing

Hello, I upgraded my TB-8704X with stock rom to lineage-17.1-20200725-UNOFFICIAL-TB8704 + gapps mini. It works really nice, only have a problem with bluetooth. When I turn it on, I get repeated window popups saying that bluetooth application keeps crashing and bluetooth remains turned off. I tried to clear com.android.bluetooth cache/data, but it did not help. Anyone experienced this ?
[Thinkpad Tablet Android Development] Ecthelion3:
Doesn't matter to me.
[Thinkpad Tablet Android Development] ashu.droid:
Nothing changed, whatsapp videos are still not playable (in TB8704X) in the app and sometimes in this build the lockscreen overlaps homescreen when pressed power button and everything freezes and fingerprint also stops working had to restart the device. Also if possible please add a screenshot qs tile in next build. Thank you
[Thinkpad Tablet Android Development] Mahdisamsung13:
Hi.Is this rom supports lenovo tab 4 8 tb8504x?

or if not can you please make this device supported in next update?
[Thinkpad Tablet Android Development] mad4some:
Ok, some troubleshooting: When I was running 7.1 and 9.0 and turned on bluetooth, it would instantly turn on my previously paired Denon receiver and automatically set it to bluetooth. When I am running 10, I get nothing :(......it will not do anything, won't turn it on, won't even re-pair if the receiver is already on, I now have to select the receiver in bluetooth settings and choose "connect" every freaking time. Anyone know of a solution??? Thanks
[Thinkpad Tablet Android Development] kc12:
I tried this ROM out for a week or so. I went back to LOS 16. I flashed Lancebuk's July security patch. A few things that happened to me.

There is a constant large amount of RAM being used. Even when I didn't have any apps open I never had more than 178 mb of RAM available out of 3.5 gb. Maybe that's not an issue? IDK. but my apps opened extremely slow. Extremely. maybe I'm impatient... in comparison, when using LOS16 I never had more than 1.6-1.8 gb of RAM being used.

Also, If I clicked a notification to open an app it goes to a White screen and freezes. I have to open recents and close the app to clear it. Same if I'm in chrome and click a link to something I have an app installed for it can't open the app. It freezes on a white screen.

WiFi is constantly connecting and disconnecting between 5ghz and 2.4ghz. Sometimes while doing this is just turns off wifi altogether and uses data instead.

I"ll definitely try it again later, but for now LOS 16 runs extremely well for me. Thanks to the developer and everyone involved with LOS17.
[Thinkpad Tablet Android Development] mad4some:
I also had no luck the first time flashing and went right back to 16 where all was good. I tried again a couple of weeks ago and this time clean flashed the latest using lancebuks latest rom and twrp, but this time formatted data at the end before booting and everything is pretty flawless (except for my above issue) so the rom is good. He made separate builds for the X and F models, you sure you got the right one?......also yours needs a modified boot flash or something I believe. :confused:
[Thinkpad Tablet Android Development] kc12:
I've had this tablet for 2 1/2 years, flashed it many times for varying reasons. I'm well aware of the different variants. I flashed with a clean wipe, formatted data also. Think about what you said... You actually think I could of flashed the f variant, got it to boot, and used it for a week with ONLY the issues I stated?? I'd be a genius if I could pull that off. :cool: Thanks for the compliment and for trying to help.
[Thinkpad Tablet Android Development] mad4some:
Actually, flashing wrong variants of the same rom will often boot since the code is 99% exactly the same, but then exhibit strange behavior........exactly as you described in your post!! Anyway, the main point of my response was that the rom works just fine and you are obviously doing "something" wrong. Good luck! :cool:
[Thinkpad Tablet Android Development] kc12:
Tell that to the many that can't even get the f to boot. :cool: most of us who've had the tablet for a while know already that what works for one person might not work for someone else. Go insult someone else. I'm done with you.
[Thinkpad Tablet Android Development] sutt359:
Does this ROM support TB-8704L?
[Thinkpad Tablet Android Development] ashu.droid:
Can someone share me build.prop file for TB8704X version

---------- Post added at 05:29 PM ---------- Previous post was at 05:25 PM ----------

I get very poor speed when connected to 2.4ghz wifi on TB8704x but on other android devices i get it well. Please if anyone could solve this issue
[Thinkpad Tablet Android Development] ChaosBlades:
TB-8704V

Build 2020-06-01

Bluetooth crashes and will not start

Double Tap to Wake does not work

So far other than the Bluetooth issue everything is running really smoothly. I see multiple people reporting BT doesn't work yet it says it does in OP and those people never get any replies. So is this user error or not? It doesn't seem like it. My install isn't dirty and BT worked on Lineageos 16.0.
[Thinkpad Tablet Android Development] mistersixt:
[MENTION=4567848]lancebuks[/MENTION] ... any chance to compile a version with the latest security updates (08/2020) ?

Kind regards, mistersixt.
[Thinkpad Tablet Android Development] rafamg:
Would this work for the 8804F ROW version? Has anybody tried it?

I have TWRP 3.2.1 and is currently rooted.

Kernel 3.18.31

Android 7.1.1

Thanks in advance!
[Thinkpad Tablet Android Development] WiteWulf:
+1 :good:
[Thinkpad Tablet Android Development] jfbaudio:
I also have a 95% smooth experience. I do have occasional freezes followed by a non-critical bootloop (just interrupting it with a long-press power and restarting the device fixes it). I didn't have this problem with LOS 16 but so far it's rare enough that it doesn't bother me
[Thinkpad Tablet Android Development] bql94040:
TB-8704f

Build 2020-06-01

I think I have read all the posts, and saw that many have successfully installed the 2020-06-01 build. I use TWRP

1. Reformat data, and adv wipe of the Dalvik/Art Cache, System, Data and Cache.

2. adb push the linage build to the sdcard

3. Then flash successfully

4. Wipe the cache, then reboot.

But I can't seem to get mine to go beyond the initial booting logo. Not sure what I missed.

Can anyone suggest what I should try?

thanks.
[Thinkpad Tablet Android Development] Ecthelion3:
Some TWRP versions have the problem that they don't reliably format data. lancebuks created a TWRP version for the Tab 4 8 plus that fixes this problem. Unless you are sure you are already using this version you could search this thread for a link to lancebuks' TWRP version, install it and then try again.
[Thinkpad Tablet Android Development] gzdc:
Bug Report

Hello DEV i was trying to play some games (PUBG mostly) and i realized that moultitouch didn't work. Did anyone else faced this problem? With other custom roms there wasn't any problem. Thanks in advance...
[Thinkpad Tablet Android Development] bruno henrik:
Pls bring the android 10 to Nubia m2 nx551j
[Thinkpad Tablet Android Development] highwaystar_ru:
Lineage 17.1 update

2020-09-06

Update Lineage code

Fixed FM radio issue

Fixed issues on 8704F (wifi only version), when charger cable unplugged (please report if it really works this time, I dont have wifi only tablet to test)
[Thinkpad Tablet Android Development] WiteWulf:
Thanks [MENTION=7737930]highwaystar_ru[/MENTION], my first install on my TB8704F was a dirty flash of just the image and an updated GApps. I wiped cache and dalvik after install and rebooted but got stuck either on the Lenovo boot logo or went into Recovery

I rebooted into recovery (Lancebuks's 3.4.0-0 for TB8704F), wiped dalvik, cache and system then reinstalled LOS, GApps and Magisk. I did another wipe of dalvik and cache after install, just to be sure, then rebooted into the updated LOS okay.

Camera, WiFi and Bluetooth appear to be working fine and the device happily reboots disconnected from a PC or power source.

*edit* Should be obvious, but I also had to redo the device fingerprint as per https://xdaforums.com/showpost.php?p=81681043&postcount=32

NB. the fingerprint list has been updated since Lancebuks's original post, so don't just press the keys listed in his guide as the indexes have changed. Read the list and make sure you're selecting the right options.
[Thinkpad Tablet Android Development] highwaystar_ru:
TB8704F reboots when disconnected from charger?
[Thinkpad Tablet Android Development] WiteWulf:
Yes:
[Thinkpad Tablet Android Development] venom04:
Hi, can someone provide me the stock recovery? I have no power and can't boot the tablet but it's not possible to charge my tablet in twrp! Thanks in advance

---------------------

Found recovery, thank you
[Thinkpad Tablet Android Development] dahawthorne:
I don't even understand the question. I've just rebooted on battery, no charging connection, without problems. I have never had any reboot problems with this ROM. Maybe others have battery or improper installation problems?
[Thinkpad Tablet Android Development] WiteWulf:
They were referring to a problem a significant number of users (myself included at one point) had at point, in that the device would only boot successfully if connected to a power source or computer. With no USB power source the device would go into a boot loop, getting as far as the LOS logo then rebooting.
[Thinkpad Tablet Android Development] mistersixt:
Working as expected on my TB8704F, thanks a lot highwaystar_ru!

Kind regards, mistersixt.
[Thinkpad Tablet Android Development] Eisbaer2:
I installed that version. My tablet (8704F) runs very smooth. I only have two problems (so far ;):

1) Huge battery drain (>>10% within 12 hours waiting in standby, even in extreme power save mode)

2) Often the tablet doesn't connect to my saved WIFI network, even though I see it in the network list. I have to manually choose to connect to my network...

Update after a few days more testing:

The battery drain has gone. I also had several reboots with following bootloop. After disabling the extreme power saver mode the tablet is stable and I have no more sudden reboots. Great :)

The connect to my WIFI also seems to be faster :)

Unfortunately the tablet doesn't wake up when I open my tablet case with magnet lock.

[MENTION=7737930]highwaystar_ru[/MENTION]: thank you for the LOS versions

[MENTION=4567848]lancebuks[/MENTION]: thank you for TWRP 3.4.0.0
[Thinkpad Tablet Android Development] julian67:
I have the TB-8704F wifi only. It was running stock Lenovo Oreo, latest row version from 2019. Yesterday I factory reset it and then installed TWRP, this Lineageos 17.1

and opengapps nano. The radio works fine. There are no issues with charging or disconnecting from power. I charge my Tab from a 3rd party QC 3 compatible charger. *Everything* works except tap to wake so I'm very impressed. I installed Better Battery Stats and there is no problem with battery life, it's great. Fingerprint reader and power button works just the same as stock Lenovo, GPS works quickly, adoptable storage works great, wireguard VPN to my home VPN server is working perfectly. I have a lot of games, kodi connecting to my tvheadend server, UPnP renderer apps, banking apps, paypal etc and zero problems. Great ROM!

Btw in Lineageos apps like Neutron Music Player and UAPP can take exclusive control of the audio system, bypass Android's 48 KHz limitation and software resampler, and do proper bit perfect audio playback up to 24-bit 192 KHz, so called Hi-Res audio. I verified this by checking the output of "dumpsys media.audio_flinger" in adb shell.
[Thinkpad Tablet Android Development] julian67:
Battery Life

I attached a screenshot of Better Battery Stats. I bought this TB-8704F refurbished in February 2019 and have used it for several hours daily since, so that is a minimum of 18 months of regular use. Usage is mostly a mix of web browsing, some 2D games and some 3D games. You can see that this ROM performs really well on battery life. No surprises. OK, one surprise: it's much better than the stock Lenovo Oreo. I don't run Magisk or xposed or any superuser mod. I was thinking I might need to buy a newer tablet in the next few months but now I feel confident I can use this same hardware for another year at least.
[Thinkpad Tablet Android Development] Phoebus89:
Please, please, please fix the USB hub issue. The tablet will not charge through any USB C hub but it does work on Lineage OS 16 with no problems. Please fix this it Highwaystar. I have tried over ten USB C hubs and none of them can charge the tablet on LOS 17.1
[Thinkpad Tablet Android Development] julian67:
I just checked with my Tab and can confirm this bug. It charges fine from USB from PC motherboard but not from USB hub. My hub is not Type C, it is a USB 3.0 hub attached to my PC's USB 3.0 motherboard rear port.
[Thinkpad Tablet Android Development] dahawthorne:
I have to disagree. I've just plugged my TB8704F (LineageOS 17.1 20200906) into my Anker 7+3 hub (7 USB connection ports plus 3 charging-only ports, mains power) using my Anker USB3 cable and both types of ports work absolutely fine.

Sorry, guys, it's not the ROM, it's your hardware or installation that's at fault. There is no USB hub problem.
[Thinkpad Tablet Android Development] Phoebus89:
Mains powered hub buddy. Completely different from what I mean. I mean a USB type C hub like one would use on a macbook pro for example. It has to be the software as the same hub works if you roll back to lineageos 16.
[Thinkpad Tablet Android Development] julian67:
Yes, agreed. If rolling back the OS software makes the problem disappear then it's not a hardware problem. My tab charges perfectly on a multiport USB QC 3 mains charger, perfectly on direct connection to a PC's USB ports but it does not charge when connected to a USB hub which connects to a PC's USB port.
[Thinkpad Tablet Android Development] enigmo:
Does anyone know if there's still a live link to lineage-17.1-20200601-UNOFFICIAL-TB8704.zip?

The mail.ru one on OP links to 20200531 and the gdrive link is dead

I'm trying to install lineage-17.1-20200906-UNOFFICIAL-TB8704 using [MENTION=4567848]lancebuks[/MENTION] TWRP v3.4.0.0 and just hit a never ending LineageOS boot animation. If 20200601 works better on an 8704f then I'd like to give it a go.
[Thinkpad Tablet Android Development] snyderjw:
8704v issues

Does anyone have an 8704v with functional bluetooth? I've lost a lot of hair to getting as far as I have, but unfortunately I'm trying all of this to make an emulator console - and the lack of bluetooth is probably what will put me over the edge of going back to stock. I keep getting "bluetooth keeps stopping." The v model is complicated to say the least, but I would LOVE any advice anyone might offer on this issue before I futz around only to lose everything I have worked for up to this point. FWIW, I am on the newest ROM (20200906), and TWRP 3.2.3.0. I haven't tried 3.3.1.0, though I am not sure why that would make a difference. Open to ANY ideas. Thank you!
[Thinkpad Tablet Android Development] Eisbaer2:
Why not using the latest one? Works very good with the 8704f
[Thinkpad Tablet Android Development] enigmo:
Because I've tried flashing:

lineage-17.1-20200906-UNOFFICIAL-TB8704

lineage-17.1-20200610-UNOFFICIAL-TB8704

lineage-17.1-20200531-UNOFFICIAL-TB8704

and

lineage-16.0-20200320-UNOFFICIAL-TB8704

Using:

TWRP 3.3.1

TWRP 3.4.0

I've wiped:

Dalvik

System

Data

Internal Storage

Cache

before installing, and after install wiped Dalvik and cache again, and I'm still getting a never-ending Lineage boot animation on every try. I have no reason to think another older version will work, but failing any other ideas it's something else to try.

Edit: Wait, wait, wait! It is possible that I am a donkey. I forgot to fully format Data. It's just booted properly after installing
[Thinkpad Tablet Android Development] HkQc:
Thanks a lot for the 2020-09-06 build! :laugh:

Edit :

It's a lot smoother than the previous build :o
[Thinkpad Tablet Android Development] turiato:
Working great on a 8704F.

May I ask what are the fixes for FM Radio and unplugged charger?

Thanks
[Thinkpad Tablet Android Development] WiteWulf:
Oh, that's very interesting! I was trying to find out what the capabilities of the onboard audio chip were as I have a decent library of HD audio. I'll give those apps a try, thanks :good:
[Thinkpad Tablet Android Development] julian67:
Correction: NeutronMP does play back bit perfect, direct to hardware bypassing all audio effects & mixer, but UAPP does not do so with this device (yet)*. This device supports 44100, 48000, 88200, 96000, 176400 & 192000 16-bit and 24-bit when using wired headphones. It also seems to have extremely low output impedance although I'm unable to measure that. My Massdrop Plus (multi balanced armature) earphones are extremely sensitive to output impedance and sound quite different on devices with different OI, getting a very exaggerated bass if the OI is not very low indeed. By comparing with hardware with known specs I'd guess the Tab's OI is 1 ohm or lower.

*it's possible the developer could add support.
[Thinkpad Tablet Android Development] alexregi2000:
Can you port evolution os or corvus OS for lenovo tab 4 8plus
[Thinkpad Tablet Android Development] drshaheedbams:
Videos seems to be playing stucked and slow in youtube and all. Sound output from media playback in youtube, amazon prime etc not coming out. I hope we'll receive a fix soon?❤️
[Thinkpad Tablet Android Development] highwaystar_ru:
Sure pushed here https://review.lineageos.org/q/project:LineageOS%2Fandroid_device_lenovo_tb-common+status:open and here https://review.lineageos.org/c/LineageOS/android_device_lenovo_TB8704/+/288735
[Thinkpad Tablet Android Development] varunkum76:
Hey, i am using lenovo X304L version can i use it to flash my tab, and if not can you pls provide any custom rom for my model ? that will be appreciated
[Thinkpad Tablet Android Development] TcT:
I flashed the 2020-09-06 build on my Wifi only version and it seems to work great. I've tested browsing, gmail, youtube and a few other apps without a problem. It's great to have a current OS on this older device, which is otherwise still working great.

The only very minor issue I've found is that it still includes the phone app, sms app and SIM settings on the Wifi only device. Would be nice to get rid of that if would be easy. If it's to much a hassle it's fine as it is.
[Thinkpad Tablet Android Development] TcT:
Was anybody able to install the Netflix app from the playstore with this ROM? Playstore says it's incompatible, there was no problem installing with the stock 8.1 ROM. I've not yet checked if the APK can be installed and run manually.
[Thinkpad Tablet Android Development] mistersixt:
You could try to install the "APK Mirror" tool from the play store first ...

https://play.google.com/store/apps/details?id=com.apkmirror.helper.prod&hl=de&gl=US

... and install the latest stable Netflix apk manually after having downloaded it from here (like version 7.77.0) :

https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=netflix

Kind regards, mistersixt.
[Thinkpad Tablet Android Development] WiteWulf:
You need to set the fingerprint correctly for your device to be able to use the stock Netflix app from the Play Store:

https://xdaforums.com/showpost.php?p=81681043&postcount=32

(Don't set it to Android 9, as in that howto, of course)

---------- Post added at 11:20 AM ---------- Previous post was at 11:17 AM ----------

Anyone else having lock-up issues when the device is unused for a couple of days?

Device details in my sig, and what I see is that activating the screen gives me a message that the SD card is missing (it's a good quality Sandisk card, less than 12 months old), clearing that and trying to do the swipe code then locks up the tablet. Nothing but holding down the power button for 10secs for a hard reboot fixes it.
[Thinkpad Tablet Android Development] burned42:
Awesome, thanks!

Thank you very much, it works like a charm on my tb-8704f. Although when using the TWRP version from the guide that's linked first post it didn't work (linageos was in bootscreen animation forever).

Somewhere in this thread I found links to this thread (https://xdaforums.com/thinkpad-tablet/development/recovery-twrp-3-4-0-0-lenovo-tab4-8-plus-t4134151) which has a different/newer version of TWRP and with this, I could flash the device and linageos directly booted normally :)
[Thinkpad Tablet Android Development] everb00b:
any idea how to fix fingerprint? the old method doesn't work ?

also still having cts issue.

I wonder how codeworkx fixed it in the 10 inch model...
[Thinkpad Tablet Android Development] loocool2:
Any fix for the tb8704v's bluetooth crashing issue yet? Tried clean flashing with the 3.4.0.0 twrp but no difference
[Thinkpad Tablet Android Development] Stolonifer:
My am not able to make normal calls on this rom. I am using Jio(India) SIM . I can receive calls but can't make calls . Plz help ???