yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] VGisHere:
A small review

Firstly, a big thank you to the developers for the commendable efforts bring put in this. It's an amazing ROM, at one point when I was sick of being stuck at Nougat for my tab, this ROM came to my rescue. A big thanks to [MENTION=9613333]yener90[/MENTION] [MENTION=3208754]codeworkx[/MENTION] [MENTION=9583233]LumenReaper[/MENTION]

Thanks to [MENTION=5658496]Sparkrite[/MENTION] for resolving the DDP workaround but it seems that for next update, I again need to update recovery as mentioned. Any other workarounds available ?

Though there still exist some minor issues which I hope shall be taken care of in upcoming builds, I would like to highlight those encountered by me.

1. Not able to send/receive file via Bluetooth/WiFi direct.

2. If I use USB audio output, it shows warning levels at merely 3rd level. (I guess we have 15 levels)

3. In camera app, navigation bar overlaps the shutter button. (Though it works fine but looks ugly)

4. As earlier stated by [MENTION=8301488]black.kahder[/MENTION] the navigation bar layout issue still exists

5. Any protected app once authenticated continues to run in background and can be switched back without authentication.

6. If apps are hidden, is there a way to access them without un-hiding them ?

7. While fast charging, both green and red LEDs are on.

Some suggestions -

1. If possible, kindly introduce the 'productivity interface'. It made life easy by offering compact NAV bar and more imp, easy switching between apps.

2. Stock resents UI option can be included, if feasible.

As it a little better than the present sideways swaps.

3. Include an option to disable default gallery.

4. The app drawer arrow on home looks a bit weird specially on an empty home screen.

5. Add option for resizing app drawer.

6. Add battery charging speed (volts, amperes) on Lock screen.
[Thinkpad Tablet Android Development] orjanraberg:
Thanks a lot for this ROM. Installed it today and haven't had any issues at all! I bought a Lenovo Tab 4 10 Plus on sale yesterday and installed this ROM directly. I considered buying the new Lenovo P10 tablet instead but since Tab 4 10 Plus has a very good ROM (this one) I thought I could go with the old model on sale instead.

I forgot to take a copy of the device fingerprint for the Stock ROM to use with MagiskHide Props Config. Anyone who knows the device fingerprint for a stock ROM for this tablet or can check it?
[Thinkpad Tablet Android Development] operator207:
I have a TB-8704V (4gb/64gb US version), I am using twrp-3.2.3-0-tb_8704v.img for TWRP. It is the only one that will boot. The linked one in first post will never boot to recovery. It will loop. If I "fastboot boot twrp.img" with it, it will error with, "FAILED (status read failed (No such device))".

With twrp-3.2.3-0-tb_8704l.img linked in another post for a V, it will sit at the orange Lenovo boot splash.

I unfortunately cannot get Lineage to install via TWRP. I have tried both lineage-16.0-20190609_124558-UNOFFICIAL-TBX704.zip & lineage-16.0-20190622_140322-UNOFFICIAL-TBX704.zip

Both fail to install via TWRP with, "This package is for device: TB-X704A, TB-X704F, TB-X704L... etc.; this device is tb_8704v."

I see others have my device, and have installed Lineage. Anyone get in my position and know a way out?

I have tried all img files from https://xdaforums.com/thinkpad-tablet/general/twrp-root-tab-4-plus-tb-x704l-f-tb-t3664407 and only the V one works (what I use above) but I get an error when installing Lineage.
[Thinkpad Tablet Android Development] black.kahder:
I stopped reading there.

You are trying to install a ROM for a completely different device on your tablet. I can't fathom why you would do this to yourself.
[Thinkpad Tablet Android Development] operator207:
I thought I read in places in this thread that this ROM worked for that model. I must have been mistaken. Yep, going back and reading, it was the TB-*X*704V that I was reading about. Can't believe I did that, but here I am, feeling like an idiot. I guess its Nougat with root for life on this tablet. Though if you do a search in this thread for TB-8704V the search assumes TB-X704V is what your looking for and pulls searches for those as well.

Thanks for the reply [MENTION=8301488]black.kahder[/MENTION] you didn't have to reply, but doing so made me go back and see my mistakes.
[Thinkpad Tablet Android Development] orjanraberg:
There is hope also for TB-8704 (Lenovo Tab 4 8 Plus) so maybe it will not be stuck on Nougat for life. See this thread:

https://xdaforums.com/thinkpad-tablet/development/custom-kernel-rom-development-lenovo-t3919987

I just bought a Lenovo Tab 4 10 Plus to use as a big tablet but I would also like a new small 8 inch tablet such as Lenovo Tab 4 8 Plus to replace my aging Sony Xperia Z3 Tablet Compact.
[Thinkpad Tablet Android Development] cloudcat:
rear camera didn't work

My tablet is XB704a, and I flash lineageOS 16 for the latest version， But the rear camera didn't work ，when I open camera application，only the front camera works and can't find switch button in the application. is tha a bug ?
[Thinkpad Tablet Android Development] Sparkrite:
Not familiar with that tablet (XB704a), can you please clarify what tablet you have and if it is a variant of the 10" 'Plus' family, as this ROM is only for the 10" 'Plus' models.
[Thinkpad Tablet Android Development] HeinzHarald:
A couple of people have mentioned just picking one of the included ones (the only Lenovo device). I did this myself and it works fine.
[Thinkpad Tablet Android Development] orjanraberg:
Yes I have done that and it works. But it would look better to have fingerprint for the correct device.
[Thinkpad Tablet Android Development] black.kahder:
Today I tried to use my rear camera, which I do not test very often, and found it had problems.

On a previous build the camrea was working fine. I don't remember which version it was but may have been yener's old ROM.

I am now on the lineage-16.0-20190622_140322-UNOFFICIAL-TBX704.zip, which I believe is the latest. My device is TB-X704V hw rev 92.

The built-in camera app seems to have taken a few pictures but then it froze up and I had to force-kill. The flash is not working at all.

As VGisHere noted; "camera app, navigation bar overlaps the shutter button". "works fine but looks ugly"

I also use OpenCamera from FDroid and it was not actually taking pictures and the flash was not working.

Codeworkx, if you need logcat and other technical info I can provide it at request.

---------- Post added at 00:05 ---------- Previous post was at 00:01 ----------

I do not know if this is common knowledge, but if you look under the "Lenovo" cover for the SIM/SDCard slot, there is a label with the device serial number and a hardware revision (in parenthesis).

For example my device is a TB-X704V. According to the LMSA app there is a hardware revision 91 and 92 for this model. I have a "(92)" after the serial number.

When posting, this information might be helpful for troubleshooting. I don't know if this information is listed anywhere else within the system.
[Thinkpad Tablet Android Development] kwsam9:
Just wanted to check with you the RAM/ROM for your model. I have the TB-X704V Rev 91 model with 2GB RAM and 16GB ROM.

Someone mentioned in earlier posts that he wasn't able to flash this ROM because of incompatibility with the TB-X704V, how did you managed to do so ?

Thanks in advance.
[Thinkpad Tablet Android Development] black.kahder:
My TB-X704V hw 92 is a 4GB RAM and 64GB storage, as sold in the USA, Amazon.
[Thinkpad Tablet Android Development] vanrusty:
Was able to get it working on a X704V, although I sideloaded rather than using an external sdccard. Also used stock current version of TWRP. Only issue I have encountered so far is that when I try to complete the Android Setup (copy your data, set wallpaper, and more) it causes Play Store downloads to halt.

edit: HW 92 for those of you who follow such things
[Thinkpad Tablet Android Development] yener90:
Update

2019-07-14

• security patch level: 2019-07-05

ROM
[Thinkpad Tablet Android Development] Pc5020:
Hi, does this rom allow apps to be installed to the SD card instead? Thanks.
[Thinkpad Tablet Android Development] kwsam9:
Hi guys,

Help needed. I have a TB-X704V (2GB RAM/16GB storage version) and I'm having problem flashing TWRP (tried 2 different versions twrp-3.2.3-0-tb_x704l.img and twrp-3.3.1-0-X704F.img) but both failed. After flashing, I tried to boot into recovery mode from the tablet and everytime it boots into OEM and restarted the tablet.

I also tried to boot recovery from fastboot by

fastboot boot twrp-3.3.1-0-X704F.img

but I keep getting this error

Sending 'boot.img' (27544 KB) OKAY [ 0.968s]

Booting FAILED (Status read failed (Too many links))

fastboot: error: Command failed

I have used different USB cables, updated platform tools and rebooted my PC but without success. Would be very thankful if anyone has any pointers to overcome this problem.

Thanks in advance.

Edit: I am beginning to suspect that those who are successful in flashing TWRP for the X704V has the "92" hardware with 4GB/64GB. Those with the "91" version with 2GB/16GB will not be able to flash/boot TWRP successfully. Anyone concur with my suspicion ?
[Thinkpad Tablet Android Development] vanrusty:
seems good. got rid of that issue I was having with the settings migration. One issue I noticed is that night light does not seem to be turning on automatically even though I have it set to do that at sunset.
[Thinkpad Tablet Android Development] yener90:
I believe the same issue appeared on X704A. X704A also has 2GB/16GB. Look for that tablet in this thread, maybe you can find something.
[Thinkpad Tablet Android Development] VGisHere:
Dirty flashed the latest one by [MENTION=9613333]yener90[/MENTION], thanks for upgrading to latest security patch, but seems like above issues still do exist.

Had another query, inserted 4G sim (Jio4G), data works well, incoming call gets cut after 1 sec, can't makeoutgoing calls.

Enhanced 4G option is active in settings.

APN settings do contain IMS.

Any workaround ?

Or this tab doesn't support calling at all ?
[Thinkpad Tablet Android Development] black.kahder:
Discard/fstrim appears to not be working.

When I run "sm fstrim" manually I see logcat errors like this:

07-16 06:54:27.632 D/vold ( 457): Starting trim of /data

07-16 06:54:27.632 W/vold ( 457): Trim failed on /data: Operation not supported on transport endpoint

And running my busybox fstrim gets a similar error "fstrim: FITRIM: Operation not supported on transport endpoint"

It seems that running against /cache is fine though.
[Thinkpad Tablet Android Development] kwsam9:
[MENTION=9613333]yener90[/MENTION], I looked up X704A and found a version of TWRP (within this thread) that will install on my X704V (h/w version 91 2GB/16GB) and successfully installed Lineage OS. The only thing is that the model of my tablet has now been changed to X704A. No big deal as long as it works. In the process of restoring the apps/data. Will report if I encounter any problems for the benefit of others in similar situation. Thanks again for pointing me in the right direction.
[Thinkpad Tablet Android Development] StimatzV:
Awesome work!

Installed ROM because i was frustrated how slow 16gb version was...even completely new.

Works like a charm now! Can't compare....thank you guys for hard work.

Respect!
[Thinkpad Tablet Android Development] ammarr:
[MENTION=3208754]codeworkx[/MENTION] and [MENTION=9613333]yener90[/MENTION] Thank you for your continued work on this ROM. I'm still having only a single issue, where the tablet doesn't seem to be using the full 4GB ram (x704V 4/64 gb version). Under dev options -> memory, I have never seen a value above 1.9 GB and apps seem to get pushed out of RAM pretty quickly. Could the reason be because my tablet is identified as an X704L in 'About'? Since you guys are only building a single variant of the ROM, could there be a setting somewhere which limits RAM usage to 2 gb?
[Thinkpad Tablet Android Development] laydog:
edit, nvm
[Thinkpad Tablet Android Development] Sparkrite:
No need to, thank you, I suspect I was over zealous in the amount of background system apps I froze.

I reflashed, and all is well as long as I am careful not to be too ambitious with my ice pick. :D:D

Thanks again.
[Thinkpad Tablet Android Development] Preyer11:
i am watching on that too, because on 15.1 it was better than stock

so far can not confirm more drain, i would say equal to 15.1
[Thinkpad Tablet Android Development] rorzer:
I'm on the 0422 build and I'm still getting the slow screen wake up.

Also, in first not I get an "SD card missing" warning, but stored storage seems to be working fine.

Any progress on writing to /system?

Other than that, working well
[Thinkpad Tablet Android Development] yener90:
I realized it myself and found the problem.

Was not so careful. Next update this bug will be 100%ly fixed.

I already told, this is not possible. After kernel is booted and switches to system, there is some kind of internal Lenovo code (in some part of hardware), which permits mounting system again.

This also protects on fastboot. If you boot TWRP on bootloader, you also can't write to system, which is pretty strange.

On system I cant debug anything, because the whole tablet freezes. Why not using magisk method mounting system on boot?

Currently working on hall sensor.

I found out how Lenovo got it working. Now I am trying to use their method on Pie. Unfortunately it's not so easy...

Next target will be enforcing SeLinux. After that I will look into X704L sim card issue. This really looks bad.

Meanwhile I need someone who is on stock rooted X704L mode, who could upload every file inside /proc/device-tree folder. Also getprop.

And on Pie i need a log from sys/fs/pstore and logcat & dmesg after boot.
[Thinkpad Tablet Android Development] yener90:
Download

2019-04-24

• fixed hall sensor

• fixed camera

• fixed long time to wake up screen

ROM
[Thinkpad Tablet Android Development] Flowah123:
Maybe I can manage to help you tomorrow.

What do you mean with "also getprop"? You mean a simple "adb shell getprop" command?
[Thinkpad Tablet Android Development] Sparkrite:
Slick, VERY SLICK !

Excellent work [MENTION=9613333]yener90[/MENTION] , thank you.

All working very well now on my 'V' version.

PS: Was it just me, (not sure if I flashed it) but did you also incorporate a script for magisk19 ?

PPS: I see you did, very nice.
[Thinkpad Tablet Android Development] none_99:
LED indicator seems to be broken on L model with 24.04 update, it worked fine before except this everything seems fine

-----

Nevermind, it works now after reboot
[Thinkpad Tablet Android Development] Sparkrite:
Working fine on my 'V' version.
[Thinkpad Tablet Android Development] yener90:
Exactly :good:

Nope, I didnt do anything :confused:

System Update just changes previous files. If you flashed gapps with previous version, in the next version gapps will not be touched.

Maybe the same for Magisk, although for magisk it's required to edit boot.img
[Thinkpad Tablet Android Development] rorzer:
The magisk 17.1 remount zip is causing a bootloop
[Thinkpad Tablet Android Development] Sparkrite:
I know its not much help to you, but its working fine on my 'V' version.

Using Magisk 19(beta) .
[Thinkpad Tablet Android Development] Sparkrite:
Very strange, but yes, it does flash Magisk straight after successfully finishing installing your ROM.

Forget EXACTLY what appears on screen, but goes through the usual magisk installation ie. ' getting boot info, patching boot img, saving boot img...........etc.

Maybe something to do with that I have all the necessary files, including your ROM in the same directory in readiness to flash ? But still would have to be part of the script ??
[Thinkpad Tablet Android Development] Flowah123:
[MENTION=9833873]bwguy[/MENTION] [MENTION=4293254]Preyer11[/MENTION] @AGP9758 [MENTION=6743469]asatyana[/MENTION] [MENTION=1515773]Mr90[/MENTION] [MENTION=9872938]OrangensaftDE[/MENTION]

Hi guys, I just fund you from the previous thread ( LOS 15.1) and I guess you all are X704L users.

If you are already on Pie, do you mind to send yener the logs he's asking for? :D

I recently stepped back to stock ROM (school related reasons) and I just managed to send him the device-tree folder and the getprop :D

So, he's missing just the stuff from Pie :D
[Thinkpad Tablet Android Development] bwguy:
[MENTION=9613333]yener90[/MENTION] where can I send the logs to?
[Thinkpad Tablet Android Development] Sparkrite:
[MENTION=4293254]Preyer11[/MENTION]

Just to make it easier for readers and yourself, why not paste it into a txt file and attach it.

Saves on all the scrolling. :)
[Thinkpad Tablet Android Development] Flowah123:
This is the getprop, not the log ?

I sent him the stuff via PM, I uploaded everything on Mediafire. I think you can use also Pastebin.
[Thinkpad Tablet Android Development] jos001:
Thanks this is great, now I am waiting as I am without the necessary knowledge a proper instruction how to install the software, again pleased to learn that Lenovo get a kick under their .... Regards Jos
[Thinkpad Tablet Android Development] MrMagic:
[MENTION=9613333]yener90[/MENTION] Thanks man, I just did a dirty flash from your 15.1 build to this one and everything works just fine.

Sent you a small donation because I think it's amazing that a single developer with some help from the community can achieve what a big corporation like Lenovo cannot.
[Thinkpad Tablet Android Development] kwsam9:
[MENTION=9897873]at5dmvi1[/MENTION], In response to your question regarding the version of twrp that wotks with X704V (2GB/16GB version h/w), I am posting the links here for the benefits of others who are in the same situation.

The link in this post gets you to a site with info (in Chinese) on the version of twrp developed by some chinese developers. But the link to download seems to be dead.

https://xdaforums.com/showpost.php?p=79630013&postcount=212

Someone managed to download, saved in his google drive and provided the link to download in the following post.

https://xdaforums.com/showpost.php?p=79635441&postcount=213

Hope this will help those in similar situation. Cheers.

Edit: Just to add on, when you first boot up this twrp version, it is in Chinese. You can change the language by clicking on the right button and selecting the relevant language.
[Thinkpad Tablet Android Development] Aeson1:
Everything works great exept volume on the tablet. It's very low compared to before. Using "L"
[Thinkpad Tablet Android Development] at5dmvi1:
TB-X704V

Hi kwsam9! Thanks for your link. I was able to install TWRP on my V vsersion.

Does any one know why I have some red color error message in TWRP after any operation: Failed to mount '/persist' (Invalid argument)?

After every operation I have confirmation Done.

But after installing LineageOS image it never boots, is shows LineageOS spinning sign and nothing else. I let it run for 4 hours and nothing changed. I made few reboots no help.
[Thinkpad Tablet Android Development] kwsam9:
I'm not able to help you with the error messages but I can list the steps I took to get a successful install as follows

Flash TWRP and reboot into recovery mode

Wipe System, Data, Dalvik and Cache

Flash Lineage OS using ADB Sideload

Reboot into Recovery Mode

Flash OpenGapps (Pico) using ADB Sideload

Reboot into Recovery Mode

Flash Magisk using ADB Sideload

Reboot into Recovery Mode

Flash Dolby Digital (TWRP version) using ADB Sideload

Reboot System

I have put the tablet thru the paces and I am very impressed with the performance. A big plus is that wifi instability with the stock Lenovo OS is resolved and was able to use the 5GHz band without any drop in connection.
[Thinkpad Tablet Android Development] max_work:
Right, i even completly forgot about this :D

Again big thanks for this rom!
[Thinkpad Tablet Android Development] kwsam9:
Yes, big THANK YOU to the developers of this incredible ROM. AWESOME!!
[Thinkpad Tablet Android Development] Hasslehogg:
ignore guys, obviously rusty
[Thinkpad Tablet Android Development] VGisHere:
Wallpaper resolution

I am trying to set a 1920*1080 resolution wallpaper on tablet, tried using default wallpaper app as well as Google wallpaper app but it somehow scales down the image to a certain resolution and sets it as wallpaper, making the picture zoomed in and little blurry.

Anyone experienced this strange behaviour ?
[Thinkpad Tablet Android Development] logo3000:
Oem lock

I just flashed the Image and everything works.

Is it possible to lock the bootloader after flashing?

I tried it with oem lock, but then it won't boot anymore. I can just see the Lenovo logo for a few seconds. Then I have to unlock it again to be able to boot twrp or the system.

So how can I lock the bootloader?
[Thinkpad Tablet Android Development] Sparkrite:
Why would you want to?
[Thinkpad Tablet Android Development] tylerdurden45:
Lineage Boot Logo Stucks

Hello Guys,

I have TB-X704V (North America-LTE version) and I successfully installed TWRP and installed lineage (lineage-16.0-20190714-UNOFFICIAL-TBX704) zip file in TWRP w/o any error.

I restarted the tablet, lineage boot animation displays but nothing happens.

I grabbed the kmsg file and adding some errors below which I found.

I appreciate any helps and order a coffee

Thanks

EDIT

: I successfully installed the ROM to Lenovo TAB 4 PLUS 10 (TB-X704V) version (North America - LTE)

The issue was related to cache. Interestingly, I always wiped out the same folders but I had to restart the bootloader after I wiped out dalvik, cache, system, data

Please check screenshots. I also tested LTE with T-Mobile (sub-brand Mint Mobile) and it was working flawlessly (Data and Text)

Thank you [MENTION=9613333]yener90[/MENTION] , I want to order beer or coffee to you
[Thinkpad Tablet Android Development] Frankyg:
I'm about to get delivery of a Tab 4 10 Plus 3Gb 16 GB Wifi Only. Ordered from Germany with Manufacturer-No.: ZA2M0032DE. I can't seem to relate this manufacturer code with the TB-X704x numbers, so I just wanted to check if this ROM is compatible before jumping in and flashing it! Will definitely by flashing if it is.
[Thinkpad Tablet Android Development] Sparkrite:
A quick Google search reveals that it is a variant of the TB-x704F :-

https://s3.eu-central-1.amazonaws.com/documents.notebooksbilliger.de/ZA2M0032DE.PDF

Or here:-

https://www.kilobaitas.lt/Plansetin...atalogStoreDetail.aspx?CatID=PL_626&ID=829824

So I would expect the ROM to be compatible.
[Thinkpad Tablet Android Development] logo3000:
I also have the german ZA2M0032DE version and it is compatible.
[Thinkpad Tablet Android Development] Frankyg:
Thanks for those replies - have you flashed this rom?
[Thinkpad Tablet Android Development] logo3000:
Yes, and everything works.
[Thinkpad Tablet Android Development] max_work:
Hi, is anyone using microg with this rom? if yes could there be some experience shared? thanks in advance

Regards
[Thinkpad Tablet Android Development] lowearth00:
Extra buttons

Small niggle that I am attempting to fix :D

The Extra left button icon doesn't appear, and the extra right button icon appears between home and recent (on the right of home), the button action is triggered by pressing to the right of recent (which flashes the icon), so all very useable, just trying to work out how to move the icon to the place where the button presss is.

It might be related to issues when you change the display size which cause all the buttons to move left and right (larger display pushes buttons to the left, smaller squashes to the right).
[Thinkpad Tablet Android Development] VGisHere:
Yes, works flawlessly.

Would recommend using latest ones.
[Thinkpad Tablet Android Development] max_work:
Any additional steps needed? was reading los is not out of the box working and it needs to be tweaked. or is this info outdated?

Regards