yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Flowah123:
I want to get rid of Lenovo stuff :D

Let's see now, apparently, the most important thing is that yener's TWRP is working :D
[MENTION=9613333]yener90[/MENTION] let us know what else we can do to help you :D
[Thinkpad Tablet Android Development] jrobbom5:
Just got this installed, love it! So nice to use the tablet without all the bloatware that Lenovo saw fit to install. Also, I've also been a big fan of the Lineage ROMs, so this is a very familiar environment. Huge thanks to yener90 for all of your hard work on this

A previous poster said that he got a black screen when going through the google setup stuff. I had this issue as well, but I was able to force the tablet to shutdown, and then when I powered back up again I was able to complete the setup process without issue. Hope that this helps :)
[Thinkpad Tablet Android Development] yener90:
Can some X704L user try to run this ROM?

Flash latest ROM from this thread.

Then flash this zip file: https://androidfilehost.com/?fid=1395089523397935452

Thanks [MENTION=7116958]Flowah123[/MENTION] for the X704L files.
[Thinkpad Tablet Android Development] KainXSS:
Not sure about the L but I tried it on the A(same as the L but 2GB) and it made the black screen problem go away and lineage is booted.

Thank you for the hard work yener.
[Thinkpad Tablet Android Development] Flowah123:
What did you do?

Did you flash the ROM and then that file?
[Thinkpad Tablet Android Development] KainXSS:
I flashed the rom then the fix ontop of it. The recovery did not work on the A though(black screen) I had to use SevenMax's TWRP for the L to install it.

So far the only thing I see not working is the fingerprint scanner.
[Thinkpad Tablet Android Development] rorzer:
It seems that using the SD card as internal storage is not working correctly.

In the storage settings the SD card is incorrectly displayed (screenshot attached) I have a 64gb card

Also data is not correctly migrated.

For instance TWRP backups are duplicated between /data/media (internal storage) and /mnt/runtime/default/emulated (SD card)

It also appears that downloads are being stored on the internal storage rather than the SD card by default

Edit: I suspect that this is a side effect of no /system write access
[Thinkpad Tablet Android Development] yener90:
I'm not sure, why the size issue happens. Our device uses Xiaomi A1 libraries and that device seem to have the same issues since Oreo:

https://xdaforums.com/mi-a1/help/sd-card-wrong-size-free-space-double-t3748831

There seems to be no fix for it.

For the other part,there are two types of using internal storage: one which replaces completely internal storage, the other one shares just as additional space where you can move your apps on.

Did you select correct one? I've got 64GB variant, therefore never used the migration option.
[Thinkpad Tablet Android Development] rorzer:
Options for formatting on the attached screenshot

Also the error when format completed

The data from the SD card is definitely duplicated on two partitions:

/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=10010,errors=panic,data=ordered)

/dev/block/dm-1 on /mnt/expand/75456d87-240c-4573-be2a-2af13844b037 type f2fs (rw,seclabel,nosuid,nodev,noatime,background_gc=on,user_xattr,acl,inline_data,extent_cache,active_logs=6)

/mnt/expand/75456d87-240c-4573-be2a-2af13844b037/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid)

Here's a bug report which should cover the time of the error

https://drive.google.com/file/d/17qEu22kBqxxOi0WqqYXIcXQ5bZHmxBCe/view?usp=drivesdk
[Thinkpad Tablet Android Development] jrobbom5:
Has anyone tried running Substratum on this ROM? Whenever I start it up, the whole tablet freezes and I need to do a hard reset
[Thinkpad Tablet Android Development] bwguy:
Yener90 you are my hero!!

It's booted up nicely now on the L version.

Will test and keep you posted. Just the 1 thing not working atm which is the fingerprint scanner
[Thinkpad Tablet Android Development] yener90:
Download

2019-04-08

• changes to fingerprint

• changes to sdcard (careful those who are using sd card as internal)

• security updates: 2019-04-05

• updated TB-X704L fix file for fingerprint support

ROM

TB-X704L fix
[Thinkpad Tablet Android Development] VasilisGR:
what do you mean?

should we format the sd card as external, update, then reformat it as internal?
[Thinkpad Tablet Android Development] Flowah123:
SSSUPEEERRR :DDD

The user [MENTION=3576981]KainXSS[/MENTION] was saying your ROM was working also on A variant, so I think you could add it to the title :D

Can you please tell us something more about the "changes to fingerprint"? ?

What's the difference with before? 'cause I guess it's not still fixed ?
[Thinkpad Tablet Android Development] yener90:
Internal changes. Not so important. For Treble.
[Thinkpad Tablet Android Development] yener90:
Backup your data then update. Encryption parts are changed, could happen, that you lose your files.
[Thinkpad Tablet Android Development] Flowah123:
OMG! You really want to treblelazing ("treblelazing"? How should I say it? Sounds like "laser-something". Anyway...) the ROM?!

You are amazing ????????
[Thinkpad Tablet Android Development] bwguy:
[MENTION=9613333]yener90[/MENTION] the new update works like a treat and fingerprint scanner now working too! Thank you my friend!!
[Thinkpad Tablet Android Development] Tschumi:
anyone has a mirror for the twrp? The link in the first post is down
[Thinkpad Tablet Android Development] Sparkrite:
Ok, think I'll take the plunge and try this tomorrow on my 'V' variant.

What gapps does anybody recommend and what order to flash, ROM, Fix file, Magisk and Gapps , please?

TIA.
[Thinkpad Tablet Android Development] KainXSS:
That new rom fixed the fingerprint scanner on the A.
[Thinkpad Tablet Android Development] jrobbom5:
Nevermind. I'm an idiot :P
[Thinkpad Tablet Android Development] yener90:
I need a TBX704A or V user who can send me the props of his device. Better both props so I could add correct fingerprint configs.

For this you need to be in stock rom. Launch terminal emulator and enter getprop.

Or using ADB, then adb shell then getprop.

The reason is, this ROM is optimized for 3GB/4GB models and 2GB requires different properties to work properly.
[Thinkpad Tablet Android Development] Tschumi:
are there any mirrors for the twrp? androidfilehost has issues again
[Thinkpad Tablet Android Development] yener90:
https://drive.google.com/open?id=1zJ8eImbkGWBz6JLiGyVmd34jCP_mNUrC

I wanted to free up my google drive.
[Thinkpad Tablet Android Development] Tschumi:
perfect, thanks!
[Thinkpad Tablet Android Development] Sparkrite:
Here you go [MENTION=9613333]yener90[/MENTION], get prop for the V 4/64GB version.
[Thinkpad Tablet Android Development] yener90:
Looks "bad" for your tablet.

There is no difference to TB-X704L. Same RAM, same space & same baseband.

Unfortunately you need to live with it that it will be detected as TB-X704L.

RAM optimizing is not required as your device has 4GB RAM.

I thought all american models have just 2GB RAM.
[Thinkpad Tablet Android Development] Sparkrite:
I've no problem with whatever its detected as. :D

Yeah, I always reckoned it was similar to the L version 4/64 Gb.

So you think your L fix file should work?

Any chance you could answer my previous question re. Gapps and order of flashing, please?

TIA.
[Thinkpad Tablet Android Development] yener90:
Probably. Just in case, it could happen, that you need a special fix for your version. Therefore backup your system.

I don't have magisk, therefore I don't know.

But without magisk my suggestion is:

ROM, fix and gapps.
[Thinkpad Tablet Android Development] rorzer:
SD card as internal seems to be working correctly in the new build, thanks!

Also, upgraded successfully without losing data from SD

Using open camera:

Selfie camera stills & video working

Rear camera video is working, but not stills
[Thinkpad Tablet Android Development] yener90:
You need to change auto focus to endles focus.
[Thinkpad Tablet Android Development] Sparkrite:
Went to flash this ROM today and the first problem I came up against is that [MENTION=9613333]yener90[/MENTION] 's TWRP will not read my SD card on my X704V.

This is where I have all the files and images need to flash the ROM/Gapps/Fix/Magisk.

Its a Sandisk 16GB formatted in NTFS which has worked perfectly up to now and still does with [MENTION=9583233]LumenReaper[/MENTION] 's and other TWRP's

Any ideas, please?

TIA.
[Thinkpad Tablet Android Development] lukaspieper:
Yener has not enabled NTFS. My USB drive also did not mount. Yener could add support by adding one line to the device tree.
[Thinkpad Tablet Android Development] Sparkrite:
Thanks for that, I don't want to go back to Fat32 so here's hoping [MENTION=9613333]yener90[/MENTION] 's reading this and enables NTFS in the TWRP so I can test this on the 'V' version.
[Thinkpad Tablet Android Development] Tschumi:
Just flashed. It. Everything works as intended. The only exception is that the screen is rotated 90 degrees clockwise (i held it in landscape and it goes portrait). Does this have to do with the HAL sensor or is it something I borked on the installation?
[Thinkpad Tablet Android Development] max_work:
i had the same, after a restart it was normal
[Thinkpad Tablet Android Development] yener90:
Thats not completely true.

https://github.com/yener90/android_device_lenovo_TBX704/blob/cm-14.1/twrp.mk

It's enabled. I see no reason deleting it.

I believe adding external libraries didn't go well. I will check it.
[Thinkpad Tablet Android Development] lukaspieper:
You're referring to "TW_INCLUDE_NTFS_3G := true", aren't you?

Here is an excerpt from my TWRP tree. Maybe this is helpful.

TW_INCLUDE_NTFS_3G := true
TW_INCLUDE_FUSE_EXFAT := true
TW_INCLUDE_FUSE_NTFS := true

I'm pretty sure you need the last line for NTFS.
[Thinkpad Tablet Android Development] yener90:
Thanks I will try to add those lines.

Thank you, the values for system info are included here. I think the RAM values are included in default.prop in boot.img. If you could upload the boot.img, than I could add it.:)
[Thinkpad Tablet Android Development] KainXSS:
OK here's the boot compressed and extracted and some other stuff I hope is useful.

Also Lineage boots and runs on the A but the L's TWRP here does not work on it(crash and resets)

https://androidfilehost.com/?fid=1395089523397939607
[Thinkpad Tablet Android Development] MrMagic:
Just installed the ROM and sofar it feels great!

One question regarding device certification in the Play Store. The tablet is showing as "not certified" and I cannot install the Netflix app from the Play Store for example.

Play Store itself works just fine and all my other apps also installed fine.

Is there something I can do to fix this? I installed the ROM and Gapps in one go before booting as stated in the OP. However I also installed Magisk v19. Could this be the cause?
[Thinkpad Tablet Android Development] Sparkrite:
Netflix was never available from the Playstore for my 'V' version, running stock. Always had to source it elsewhere.

[MENTION=9613333]yener90[/MENTION] Do you think you might get a chance to try and enable NTFS on your TWRP sometime, please?

TIA.
[Thinkpad Tablet Android Development] yener90:
It's not working. I also don't want to spend any more time on this.
[Thinkpad Tablet Android Development] Sparkrite:
I understand.

Do you think there is any point in trying it using [MENTION=9583233]LumenReaper[/MENTION] 's TWRP?
[Thinkpad Tablet Android Development] yener90:
I used first his one, made me trouble with Oreo. Otherwise I wouldn't built a TWRP.

Therefore not sure about this, but one TBX704A user used different one, which worked. Maybe you can try this.

Or it could be that I just had bad luck. Maybe LumenReapers also works :confused:
[Thinkpad Tablet Android Development] Preyer11:
somewhere else i could download the L fix ? seems to, no mirrors, for it the whole day it is gone
[Thinkpad Tablet Android Development] AGP9758:
anyone has a mirror for the TB-X704L fix.zip? The androidfilehost can not download

---------- Post added at 03:52 AM ---------- Previous post was at 03:51 AM ----------

i have the same question like u
[Thinkpad Tablet Android Development] asatyana:
Not able to download TB-X704L fix.zip, no mirrors .

Not able to download TB-X704L fix.zip, no mirrors . Can anyone share the file?
[Thinkpad Tablet Android Development] yener90:
Guys could you tell me a site where I could upload it without large time limit and account and it needs to be fast?

Zippyshare sounds good for me. Maybe 1fichier?

Androidfilehost doesn't work stable...
[Thinkpad Tablet Android Development] Preyer11:
could you just re-upload it ?
[Thinkpad Tablet Android Development] Mr90:
Thank you

Thank you soo much for this rom. I was about to degrade this tablet to a gps for my car, but now i'm so happy. Working very well! :)
[Thinkpad Tablet Android Development] yener90:
Unfortunately I lost the file while cleaning my system

If someone else could upload it, would be nice.

Otherwise I need to rebuild it.
[Thinkpad Tablet Android Development] Preyer11:
https://drive.google.com/file/d/1P9AoHhGjPJDN5YtihJsA8kCs1pr52GMS/view?usp=sharing

I got it from Mr.90 and will leave it here for a small time
[Thinkpad Tablet Android Development] Flowah123:
Here is it [MENTION=4293254]Preyer11[/MENTION] [MENTION=6743469]asatyana[/MENTION] [MENTION=6009047]AGP9758[/MENTION] :D

I mirrored it on Mediafire.

I also mirrored the TWRP.

Here is the stock ROM for the X704L. Don't ask me how to use it, 'cause I have no idea. Never used it. I took it just in case and I'm uploading it here 'cause it's pretty annoying to take it from the russian website.

With yener permission, I will also mirror his ROM.

[MENTION=9613333]yener90[/MENTION] just out of curiosity, as I'm not aware of the work there would be behind what I'm gonna ask: would it be easy for you to make another build just for the 704L variant with the fix inclueded into the ROM? If yes, can you please evaluate the idea?

---------- Post added at 12:57 PM ---------- Previous post was at 12:52 PM ----------

Damn, 6 minutes faster than me ?
[Thinkpad Tablet Android Development] yener90:
I dont want to upload two roms with 500MB just for some small files. The ROM of Tab 3 Plus has the fix inside, maybe I will include.

[MENTION=1515773]Mr90[/MENTION] thanks to him. I will attach TWRP and fix to first post.
[Thinkpad Tablet Android Development] Flowah123:
No problem :D

What about the mirroring? Is it fine for you if I upload your ROM on Mediafire? Just in case, as a backup.
[Thinkpad Tablet Android Development] AGP9758:
thx for your mirror,it works.

if u want to flash the stock rom,you should use the QPST software and the LenovoUsbDriver,they`re easy to download by google.and flash the stock rom by the 9008 model.
[Thinkpad Tablet Android Development] Preyer11:
no matter what i tried i keep stuck on first bootup in the bootlogo of LOS :( with my 704L
[Thinkpad Tablet Android Development] yener90:
Did you format data? You need to format it completely, otherwise it can't read internal memory
[Thinkpad Tablet Android Development] Preyer11:
thank you, i found my mistake

i wiped the data but it was encrypted so did not work ...

another factory reset helped out

it´s alive :D
[Thinkpad Tablet Android Development] dieneuser:
I have successfully installed the ROM - it works fine. But I have problems with the using of root.

After installing su (addonsu-15.1-arm64-signed.zip) and activating in Developer options, the tablet crashs if the app (eg. adaway, file explorer) uses the allowed root access. What do I have to do to make it work? Or is it a bug?
[Thinkpad Tablet Android Development] Preyer11:
No Sim Card will be found on my the X704L - someone got the same ?
[Thinkpad Tablet Android Development] Sparkrite:
Some cases have small magnets in them for on/off when opening/closing them.

---------- Post added at 03:03 PM ---------- Previous post was at 03:02 PM ----------

Why not use Magisk for root?

But either way you will need to have System R/W enabled for full root access.
[Thinkpad Tablet Android Development] Karatek_HD:
Thank you very much!

I just installed the ROM and I think it's amazing! Much faster than the stock one.
[Thinkpad Tablet Android Development] Sparkrite:
No sure if I understand this correctly "will" ?

Have you tried it or are you supposing it?

Have you actually got a SIM inserted and its not being "seen" by the tablet?

I have just installed this ROM on my X704V but as I don't use a SIM obviously it reports that as "No SIM" .

BTW I'm trying hard to give this ROM a chance but I'm not really sure about it. Too many apps force closing or crashing or just not running properly. Also I miss the "hall sensor" and the TWRP not using NTFS on the SD is a big loss, due to the inherent file size restrictions with Fat32. Cannot get Gapps to link correctly with playstore installed apps either. Cannot get Atmos or Viper to work correctly. I actually think it lags more than stock, but that may be me, I haven't as yet run any definitive tests, its just that it appears to be not as "slick" as stock. To me, in its present form, the only advantages of this ROM is (1) it offers an alternative and (2) updated security patches.

Yener90 I'm sure has given many hours of his time to offer us this alternative and I FULLY appreciate all he has done and we have been told by him why he did it, which I fully agree with.

Please understand

, the above is just my early findings with this ROM and after all is just my opinion.

[MENTION=9613333]yener90[/MENTION] I sincerely hope you do not take any offence to me posting my experience with your ROM.
[Thinkpad Tablet Android Development] Preyer11:
i tried 2 different Sim Cards that work fine on my mobile

so no ....

maybe it is the driver , just a guess

also miss double tap to wake up

for the rest i can say it runs smooth and i like it
[Thinkpad Tablet Android Development] dieneuser:
I have uninstalled su and installed Magisk with the module https://xdaforums.com/showpost.php?p=77781453&postcount=1014 and it works!

THX!
[Thinkpad Tablet Android Development] Sparkrite:
Ah, good to hear.

Don't forget the 'Thanks' button.
[Thinkpad Tablet Android Development] bwguy:
I've got no complaints at all....well except something really tiny.....led goes red when fully charged and flashes red when you have notifications but before it was green but otherwise I'm loving it. Can't wait for Pie :)
[Thinkpad Tablet Android Development] Sparkrite:
That's good alright, mine stays red while charging and goes out at 100%. :o
[Thinkpad Tablet Android Development] yener90:
It's your feedback, why should I angry about it? But I don't have any of the issues you are having. Also I don't use sound features. I also thought about porting stock dolby to our tablet. And the only lag, I see, is in task switcher. Otherwise It runs well for me :confused:

Could be true, never tested it. Double tap to wake worked for you on stock? I never had it in stock :eek:

The touchscreen doesnt support it. I also wanted the feature, but it's for devices with synaptics touchscreen. Ours is a special goodix panel.

But the good point is, its name is GT9110P. P stands for pen :p

I also saw that issue. Oreo is much more restricted. The charger library wants to give signal, Oreo forbids it. Therefore it doesn't work correctly currently. I need to learn, how to create SELinux rules then I can fix it.
[Thinkpad Tablet Android Development] ibdibido:
Hi yener90,

Thanks for everything!

Do you know if the TB-704F has a GT9110P screen too? If so, would it be active styles compatible automatically?

That'd be great.

ibdibido
[Thinkpad Tablet Android Development] vicenza:
Hi guys,

Yener and also LumenReaper, You're the greatest! Nice that this rom is available now!

I'm an x704l user still on stock Lenovo rom. Is there a 'from scratch' manual to flash this lineage rom, including rooting?

Kind regards, Vicenza
[Thinkpad Tablet Android Development] Sparkrite:
Really all you need is to read the OP and follow the instructions EXACTLY.

However a read through this comparatively short thread will also yield valuable information to assist you.

When you have it 'up and running' just flash 'Magisk' to root.
[Thinkpad Tablet Android Development] Preyer11:
yes it worked and was one of the reasons i bought the tablet back then (long time stick to LG Phones ;) )

but getting in touch with the fingerprint unlock finally it it is ok now

so only the broken SIM makes me cry in my pillow , for the rest - thank you again
[Thinkpad Tablet Android Development] Tschumi:
Does this mean that it supports an active stylus natively? Does it require special development\drivers?
[Thinkpad Tablet Android Development] acidsweet:
x704a

Can anyone tell me how to root my x704a ?

And is it possible for x704a to have a Los rom?
[Thinkpad Tablet Android Development] StuBeers:
Thanks to ALL who worked on this project. I too share a sense of betrayal by Lenovo. I love the tablet, (it really does rock) but I will never buy another Lenovo product. THAT is why I want this ROM to evolve. THAT is why I truly appreciate ALL of the work thusfar... (tossing in 2 cents).
[Thinkpad Tablet Android Development] yener90:
I really didnt know that. I checked the touchscreen panel driver and there is some kind of dt2w feature.

There is no other android device with the same touchscreen panel, therefore I dont have any source, where I can work on.

SIM is really difficult to fix, as I dont have the LTE variant :confused:

In the kernel are the drivers. I needed to use stock drivers of Lenovo Tab 4 and there it is enabled.

I just don't know, if there is a change in hardware config required. If that is true,

I just said this, maybe someone, who has a tablet with the same touchscreen panel, could try it out :)

What is the config of your tablet? RAM & disk space.
[Thinkpad Tablet Android Development] KainXSS:
I'm running it on the X704A right now but in order to flash it you need to download a TWRP that works on the A(its russian by default though) then edit the lineage updater script(remove the asserts) in the rom then flash the rom and then the script.

If you need the TWRP let me know but try to flash the one here first and see what happens.
[Thinkpad Tablet Android Development] StuBeers:
Yener90 "What is the config of your tablet? RAM & disk space. " 2 GB RAM - 16 GB Storage - Android 7.1.1 Nougat - Qualcomm Snapdragon 625 MSM8953 SoC - ARM Octa-core (8 Core) 2 GHzmicroSD Supported ...it is the LTE version. is this the info you needed?
[Thinkpad Tablet Android Development] Sparkrite:
Ok folks, just a quick update on this ROM while using TWRP.

I have found that once installed and running you can use [MENTION=9583233]LumenReaper[/MENTION] 's TWRP to Backup/Restore it to external SD card.

I found this a shortcoming with the TWRP in the OP, as I always feel that a backup stored on the device itself is suspect as regards dependency.

This ROM is starting to grow on me, now that I have managed to get my previous problems sorted.

This is on the TB-X704V 4/64 GB now reported as an 'L' version .

Hall effect would be nice though.

Cheers [MENTION=9613333]yener90[/MENTION] .
[Thinkpad Tablet Android Development] OrangensaftDE:
Ich just want to say: Thank you!

Runs great on the L model with Gapps and Magisk
[Thinkpad Tablet Android Development] Preyer11:
i wish i could help you ;)

like to have getprop from my L Model ?
[Thinkpad Tablet Android Development] yener90:
Need a lil bit more time.

Great dev [MENTION=7737930]highwaystar_ru[/MENTION] ported Pie to Tab3, so now I am also working on it :o
[Thinkpad Tablet Android Development] Tschumi:
ooh, nice, I never thought our tablet would ever be updated again
[Thinkpad Tablet Android Development] yener90:
Forgot to announce:

LineageOS 16 is available since yesterday :)

https://xdaforums.com/thinkpad-tablet/development/lineageos-16-0-lenovo-tab4-10-plus-t3923394
[Thinkpad Tablet Android Development] Tschumi:
Dude, you rock!