yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Sparkrite:
Have you gone back to stock and checked that they work OK?

Trying to eliminate the possibility of a hardware fault.
[Thinkpad Tablet Android Development] PaTER:
Yes. Everything works properly in the original firmware. I have no idea where the problem is.
[Thinkpad Tablet Android Development] Sparkrite:
Ok,

My suggestion is to go back to stock, boot, to make sure all is OK.

Then flash this TWRP :-

https://androidfilehost.com/?fid=1322778262903982748

Make sure you do ALL the wipes as per OP, this is important.

Flash LOS 16, as we know this does not have problems.

See where you are then ?
[Thinkpad Tablet Android Development] _sui:
For my TBX704F I had to flash latest twrp-3.3.1 from the first post to install the Rom and Magisk and in a second step I flashed twrp-3-2-3 (link posted some pages ago), flashed dd+ and after that I flashed twrp-3.3.1 again.

With twrp-3.3.1 it was not possible to install dd+ and

with twrp-3.2.3 my tablet does not boot.
[Thinkpad Tablet Android Development] PaTER:
Exactly. ROM can be installed but will not boot.

With Version twrp-3.3.1-0-X704F.img it boot, but neither 16 nor 17.1 can work wifi and BT
[Thinkpad Tablet Android Development] Android.Sysop:
Hello yener90

Have you now free time for update the LOS16 version (Security Patch)?

The 16er version works fine, nothing is broken.

I use often the fingerprint, but she is no working on LOS17 - is not a option for me.

Thanks
[Thinkpad Tablet Android Development] _sui:
I do not have any issues with WiFi or BT. Everything works fine
[Thinkpad Tablet Android Development] deano2390:
Building from source

Hi,

Thanks for doing this, really appreciated.

Could you possibly just describe the high level steps required in order to build this specific combination of repos?

How do I build LineageOS and incorporate your device, kernel and vendor repos? I kind of expected you to have a custom repo manifest to bring it all together but I don't see that anywhere so i'm guessing I have to check out 'vanilla' Lineage and then manually checkout your repos and place them in the right place. (And probably add a new lunch target).

Cheers,

Dean
[Thinkpad Tablet Android Development] deano2390:
Building from source

Replying to my own query here...

I created my own repo manifest to try and bring together all of these repos: github .com / deano2390 / android (can't post links yet!)

See this commit for how I am trying to pull it all together: 901a1d621e1641c69b3c5d1c64eaa0f341c6936d

This basically pulls all of the Lenovo TB-X704 repos down and places them in the appropriate folders - i'm also referencing specific commits of when you last did a build. However I am somewhat guessing where these repos should be checked out to:

I'm doing the following:

lenovo-devs/android_device_lenovo_TBX704 into device/lenovo/TBX704

lenovo-devs/android_device_lenovo_tb-common into device/lenovo/tb-common

lenovo-devs/android_kernel_lenovo_msm8953 into vendor/lenovo

So I execute the following:

repo init -u {my git URL}-b lineage-16.0-TBX704

repo sync

source build/envsetup.sh

breakfast TBX704

export USE_CCACHE=1

export CCACHE_EXEC=/usr/bin/ccache

ccache -M 50G

export CCACHE_COMPRESS=1

croot

brunch TBX704

I get a successful build and it flashes ok but when it boots, I get the LineageOS bootanimation for a few minutes and then reboots back into TWRP.

Anyone have any tips for me here on how to diagnose it?

Appreciate any help.
[Thinkpad Tablet Android Development] proxymus-o:
Is there a way to disable the phone capabilities on that ROM? I use it with an twin card and it rings all the time when I get a phone call on my mobile.
[Thinkpad Tablet Android Development] Sparkrite:
What EXACTLY are you trying to achieve?

---------- Post added at 03:07 PM ---------- Previous post was at 03:05 PM ----------

Well one way would be to remove the SIM or just turn on 'Airplane Mode' or even just silence ring tone and vibration if you want to leave the SIM in it.
[Thinkpad Tablet Android Development] proxymus-o:
I can not use mobile data (LTE) with both variants. :(
[Thinkpad Tablet Android Development] nasim banafa:
how do you guys revert to stock rom i tried everything without success and smart assistant needs internet wich I don't have right now. i already downloaded the stock firmware but my pc cant recognize my tablet even though i installed qualcom drivers
[Thinkpad Tablet Android Development] Sparkrite:
Are you putting the tablet into EDL mode before trying to flash Stock ?

EDL mode is Qualcomm's Emergency Download Mode and allows a force flash software onto the device.

If not and you don't know how to do it, then Google is your friend, there are a few methods to enable EDL mode.
[Thinkpad Tablet Android Development] stylelite:
Just fllashed my Tab 4 10 plus X704F

As title says.

I have the tab and the speaker and use them as a smart device. I had it set up so that the screensaver came on but I would still be able to say Hey google and the display would come on and google assistant would answer my question.

Since flashing to LineageOS saying Hey google doesn't wake the screen up so the assistant isn't activated either(this is when the tab is connected to the Lenovo speaker)

If I remove the tab from it's speaker and say hey google it works ok. Every thing else seems to be working as it should, very nice clean ROM.

Does any one have any thoughts on this

Have just found out that bluetooth doesn't work at all now.
[Thinkpad Tablet Android Development] 1907Fb1907:
x704f latest firmware s000056 181015rom pubg mobile and pubg lite also get kicked out of the game or the device is restarted. Does anyone have this problem?
[Thinkpad Tablet Android Development] #AbitathaRoy:
Will this work on X304L?

Will it work with lenovo X304L?
[Thinkpad Tablet Android Development] speakphone:
TB-X704F

Used

twrp-3.4.0-0-X704F

lineage-16.0-20200106_082920-UNOFFICIAL-TBX704

open_gapps-arm64-9.0-pico-20201017

Magisk-v20.4

Did once. Installed all above

Reboot.

Got smily face animation. Was like that for hours.

Reboot. Same

DID 'How to wipe in TWRP properly'

again

Reboot TWRP

Installed all above

Finish, didn't wipe cache etc.

Finally works after 10min
[Thinkpad Tablet Android Development] speakphone:
Nova doesn't work

Fresh install. Nova home is unable to read screen rotation. Everything else seems fine.

Also the tablet no longer reads usb sticks. The same stick 2gb fat works fine on my phone with the OTg adapter. Lenovo says format not supported.
[Thinkpad Tablet Android Development] dustofdeath:
I assume 704 won't run on tab 10 606F.

That lenovo own bloatware is using up 1.6gb idle of the available ~1.9gb of ram and has some stupid aggressive app killer and unremovable bloatware.
[Thinkpad Tablet Android Development] alekdavis:
I successfully installed and used Lineage OS on my tablet and have been using it for some time with no issues. However, I am planning to sell the tablet (bought a newer device). How do I remove my data from the tablet before handing it over to a buyer? With the stock OS, it is trivial, but I am not sure what to do with the rooted device.
[Thinkpad Tablet Android Development] crissman25:
back to stock...
[Thinkpad Tablet Android Development] crissman25:
or reset, format from recovery...
[Thinkpad Tablet Android Development] alekdavis:
It would be nice to reset to the original Lineage OS state without any user data. Like before handing the tablet to the buyer, remove all personal and account info and let the buyer set it for themselves (assuming that the buyer may not be technical enough to do it on their own).
[Thinkpad Tablet Android Development] speakphone:
How do I get the ctsprofile to work? It is failing and I can't get the square reader to turn on because of that perhaps
[Thinkpad Tablet Android Development] Cao Huỳnh Nhân:
Dear all,

I've flashed stock rom for tb-x704v by QFIL.

It has lost baseband firmware. It is unable to recognize sim card, unknown imei, unknown baseband version and no Phone app appear in app drawer.

Any one can help me fix it, please?

Many thanks for your support.
[Thinkpad Tablet Android Development] Sparkrite:
Try the following:-

Rescue and Smart Assistant (LMSA)

Rescue and Smart Assistant (LMSA) - Lenovo Support IN

support.lenovo.com
[Thinkpad Tablet Android Development] Muad.Dib:
Hello guys,

Would any of you have some 7.1 stock images for x704f and be able to share it with me? Lost mines and would need them to move on and reapply stuff from there.

Would be greatly appreciated.

Kind regards,
[Thinkpad Tablet Android Development] zayad_mohsin:
Dear members, Hope you are all fine. I am new to install this firmware to my lenovo tab4 10 701LV softbank Japense device but i failed to install TWRP and run it on my device. I think the problem is i dont know how to root this device.

Is root is must to do before install this twrp in my deivce?

I am able to successfully upload twrp on my device adb but my device just restart to normal. It didnot went to TWRP bootload.

Is there anyone help me to install this firmware to my device.

Thanks very much.,

Zayad Mohsin
[Thinkpad Tablet Android Development] Muad.Dib:
Hey there,

No you do not need to root your device to boot/flash TWRP on it. All you need to do is to unlock bootloader. The matter then is to find the correct version of TWRP which works for your device.

To test TWRP version best is to boot them before eventually flash them. A few things might not work in boot mode from my own experience but you can already test if touchscreen is working ok or make initial devices FULL backups before you start messing up things ;)

So once bootloader unlocked reboot bootloader

fastboot boot c:\twrp-x701l.img

Please note you are on a x704_ device thread, that's not what you seem to own since you said you had 701lv. You need to get the right version for your device trying other versions devices will likely result into failing or worse brick your device.

Hope this helps.

Good luck!

Regards
[Thinkpad Tablet Android Development] zayad_mohsin:
Thank you very much for your reply but I didn't find twrp of 701LV device. But i read a thread in this forum that someone tries this on the same device which I have. I contact him but he didn't reply yet to me.
[Thinkpad Tablet Android Development] zayad_mohsin:
Can you let me know how to unlock the bootloader and second how to backup me whole firmware if i dont any mistake or it would not work then i would able to go back to stock firmware. I did not have any data on that tab i only have concern about stock firmware right now.
[Thinkpad Tablet Android Development] zayad_mohsin:
its gets this error while i try boot trwp image
[Thinkpad Tablet Android Development] zayad_mohsin:
I update the fastboot driver update i didnot wheater it update or not but not work.

Then i follow the command on trwp official website it write the file but did not reboot it on trwp platform. Just restart to normal when i give the command of fastboot reboot.

Now device is unlock boot loader
[Thinkpad Tablet Android Development] Muad.Dib:
Right after flashing recovery to device and rebooting to bootloader (the screen above) just use the vol+/vol- button to select recovery, press power when on it, and that should do the trick. It does for me.

Hope this helps.

Regards.
[Thinkpad Tablet Android Development] Muad.Dib:
First built for the tablet done. It installed so I guess it can't be that bad ;)

I have not touched anything, just repo sync and built.

Now I am going to test a bit further, I have everything to install since I came from fresh stock and let you know if things work properly.

Would any of you interested in the update or you all moved to Q already?

Personally I want to stay on P a bit longer so I'll keep building for msyelf to apply security patches.

Cheers!
[Thinkpad Tablet Android Development] m0lek:
Congratulations!

I had moved to Android 10 due to lack of security updates.

Android 10 is pretty stable, but my tablet can not use a SIM card to access 3G/4G as with LOS 16.0 (Pie).

Please share your build after you test it throughly

Thanks in advance.
[Thinkpad Tablet Android Development] Muad.Dib:
lineage-16.0-20210420-UNOFFICIAL-TBX704

latest build available with the April 2021 security patch.

The sources used were the one provided on page 1 based on Lenovo-devs work which includes @highwaystar_ru (who allowed me to share my LOS16 builds) so thanks to them/him. Obviously also huge thanks to LineageOS team for their continuous work and support making incredible things still possible with our aging, yet still fully functional hardware!

All I did was sync the repo and build - the latest patch was added by the LOS team.

For me everything is working fine on my F flavor of the tablet, but I see no reasons why things which were working before would not be working anymore since all what was added was lastest security patch.

If you are coming back from any other version of A or LOS I strongly recommend a fresh install.

Enjoy ;)

LOS16 Downloads for TB : X704

md5sum : 269f07113459f2cd1ab756bbabcc3245

[GDrive] : https://drive.google.com/file/d/1NlzK7BaFiSwaQY6E1Rrmw4zq5Vk82DYQ/view?usp=sharing

[MEGA] : https://mega.nz/file/yM9khQTD#wPXdYJwxQKz6ifzdDBN4FSTAHzrRwM2mczXm67SJtYY

[Yandex] : https://disk.yandex.com/d/SkL7te1MRpPY_g
[Thinkpad Tablet Android Development] Muad.Dib:
Hey @m0lek out of curiosity have you tried my updated version and does your SIM works in there? I only have the F (wifi) version of it so Idk. Please let me know.

If interested and working I might be sharing my updated builds once a month.

Cheers!
[Thinkpad Tablet Android Development] Muad.Dib:
lineage-16.0-20210516-UNOFFICIAL-TB8704

latest build available with the May 2021 security patch.

The sources used were the one provided on page 1 based on Lenovo-devs work.

All I did was sync the repo and build - the latest patch was added by the LOS team.

Enjoy,

LOS16 Downloads for TB-X704

2021, May 5th security patch

md5sum : 65cba45b564a8642ad8bdbf5a7e1b6cb

[GDrive] : https://drive.google.com/file/d/19q_RP7yITKuDG-RTPWjGGleJhpL753mn/view?usp=sharing

[ MEGA ] : https://mega.nz/file/WM0FlAaQ#0Ewox34e3t1ZRvWbZ_dQLyOErmCcXMLcFPeCju_3GeE

[Yandex] : https://disk.yandex.com/d/FzkdRK_yc1UAaw
[Thinkpad Tablet Android Development] bryangb:
A few months later, but I have this same problem. WiFi was working fine this morning with the stock ROM. However, after flashing Lineage 17.1 & GApps, it boots but first I get a message that Bluetooth has failed to start, then the tablet tries to connect to WiFi but it can't, because the WiFi won't turn on.

Fortunately Lineage 16.0 does work with WiFi, which makes it all the more weird that the others (multiple versions of 17.1) can't see the WiFi!
[Thinkpad Tablet Android Development] kyune:
.. sir , I'm beginner. THis device can rooting? Too difficult this device..

How to get to the rooting this device. lenovo tap 4 10 plus ..
[Thinkpad Tablet Android Development] none_99:
Logcat doesn't seem to be working in this ROM, there are 1255 entries in total (using both android app and adb logcat) these are the lastest lines and they never update even if I call Log.v manually in an app

01-07 01:33:20.856 456 746 I vold_prepare_subdirs: SELinux: Loaded file_contexts
01-07 01:33:20.862 750 750 D vold_prepare_subdirs: Setting up mode 700 uid 0 gid 0 context u:object_r:vold_data_file:s0 on path: /data/misc_de/0/vold
01-07 01:33:20.864 750 750 D vold_prepare_subdirs: Setting up mode 700 uid 0 gid 0 context u:object_r:storaged_data_file:s0 on path: /data/misc_de/0/storaged
01-07 01:33:20.865 750 750 D vold_prepare_subdirs: Setting up mode 700 uid 1000 gid 1000 context u:object_r:fingerprint_vendor_data_file:s0 on path: /data/vendor_de/0/fpdata
01-07 01:33:20.867 752 752 I tzdatacheck: type=1400 audit(0.0:88): avc: denied { noatsecure } for scontext=u:r:init:s0 tcontext=u:r:tzdatacheck:s0 tclass=process permissive=1
01-07 01:33:20.867 456 746 D vold : e4crypt_unlock_user_key 0 serial=0 token_present=0
01-07 01:33:20.882 752 752 I /system/bin/tzdatacheck: timezone distro dir /data/misc/zoneinfo/current does not exist. No action required.
[Thinkpad Tablet Android Development] yener90:
You need to have root, to see all messages.

Your issue is proximity sensor? Our tablet doesn't have it. So just ignore it.

Double tap to wake didnt work for me on stock. I'm suprised it worked for you :eek:
[Thinkpad Tablet Android Development] none_99:
I do have root (magisk) , still nothing new in logcat except these messages dated 1970 - does it work for you ?

Only dmesg works and there are lots of avc denied {read} entries

[IMG="dmesg"]https://i.imgur.com/mbilvu9.png[/IMG]

Yes, there is no such sensor my mistake it just programs wrongly reporting there is.
[Thinkpad Tablet Android Development] yener90:
Of course it works. Use termux, enter su, then logcat and you will see, it works.

Avc denied has less to do with system errors. Those are errors of spps, which broke the rules of selinux.

It's not programs fault, more the library we are using. That sensor normally includes proximity and light sensor. So it detects default both.

But our device uses only one of that sensor. Just ignore it.
[Thinkpad Tablet Android Development] none_99:
Nvm, it works now
[Thinkpad Tablet Android Development] yener90:
Nope, the changes I've done before were needed for running Pie properly.
[Thinkpad Tablet Android Development] VasilisGR:
About my issue above:

My device is the F version.

I managed to get a Logcat right before my device reboots, and I also got the files from /sys/fs/pstore.

I hope you can figure this out. Keep up the good work :)
[Thinkpad Tablet Android Development] yener90:
You have ViPER4AndroidFX installed?

I looks like this makes trouble with enforced SELinux.

I will upload flashable zip, to set SELinux permissive.
[Thinkpad Tablet Android Development] VasilisGR:
oh yeah i have

i never imagined that could be the problem...
[Thinkpad Tablet Android Development] at5dmvi1:
TB-X704V

After installing TWRP TB-X704L (Original TB-X704V) got issue with booting into user normal Android Shell, tablet reboots itself into loop right after Lenovo logo. I can get to the stock Android recovery (by using Up+ Power) and I did Wipe Data/Factory reset. with no help.

How to fix this and revert to the Stock Rom?

My stock Rom is TB-X704V_S000030_170720.
[Thinkpad Tablet Android Development] ericDraven77:
I just try to install this rom.

My tablet was just stock before.

I unlocked oem and booted into twrp, made a backup and now try to install the lineage ROM.

I'm waiting now for over 10 minutes but nothing happens.

The installation screen is there and it says detected filesystem ext4..... and that's it.

Is it really taking that long or is something wrong?

Can I abort this and try to flash twrp again and then the image or what shall I do?

Edit:

Got it by myself.

I just booted the twrp and didn't flash it. The guide for the TWRP and root should maybe be a bit modified as there is only a command line for boot and not the one to install!
[Thinkpad Tablet Android Development] Advanced07:
Use MiFlash
[Thinkpad Tablet Android Development] ericDraven77:
I have just installed the rom successfully.

Works really smooth so far.

But I just got a problem and I just can't find a solution on google.

I wanted to use SkyGo on my tablet and it says that it doesn't support custom roms.

Is there any way to get SkyGo running??

It is a very big problem for me, cause I use my tablet mostly to watch streams.

Edit: Magisk did the job. Hide Magisk and hide the SkyGo app and it works :)
[Thinkpad Tablet Android Development] at5dmvi1:
MiFlash

What do I have to flash with this tool? Stock ROM or TWRP?
[Thinkpad Tablet Android Development] Advanced07:
Stock rom
[Thinkpad Tablet Android Development] at5dmvi1:
Stock ROM TB-X704V

Who has Stock Rom or where do download it for TB-X704V? I have 2 GB RAM and 16GB Storage space.
[Thinkpad Tablet Android Development] Advanced07:
Idk i think ruasian lenovo website had it.
[Thinkpad Tablet Android Development] at5dmvi1:
Can I install any other ROM for TB-X704 not just TB-X704V? Because I dont see TB-X704V on this web site.
[Thinkpad Tablet Android Development] Sparkrite:
That's because it's not there.

I have it, I'm away for two days.

I'll upload it for you when I get back.
[Thinkpad Tablet Android Development] max_work:
Hey [MENTION=9613333]yener90[/MENTION], i can' t thank you enough for your rom. it works great, just out of curosity, are you having plans making your rom official?

kind regards
[Thinkpad Tablet Android Development] yener90:
Thank you :fingers-crossed: & I am not planning to make it official.

1. I am not a good dev like the others

2. there are much more strict rules, if you want to build official.

Next update I will try to improve performance.

There are some errors, which shouldn't be there.

Also X704F variant will no more have any ril related apps, which will improve battery performance.

I will bring it out, after may security updates come out
[Thinkpad Tablet Android Development] at5dmvi1:
Stock ROM for TB-X704V

Sparkrite, I dont need your image anymore, Lenovo made great job with amazing app - Lenovo Moto Smart Assistant. With this tool I was able to install different Stock ROM's - L,F,V. This app finding and downloading any types of ROM for Lenovo and Moto.

But nothing helped me to flash new TWRP bootloader. Even if it was installed TB-X704L version, still unable to install TWRP. Any ideas on this? Maybe issue with Minimum ADB and Fastboot app?
[Thinkpad Tablet Android Development] Advanced07:
You cab try, what is different about the V version though?
[Thinkpad Tablet Android Development] at5dmvi1:
The main difference between models Lenovo TB-X704F, TB-X704L, TB-X704Y and TB-X704V is L and V supports LTE. (TB-X704L/A- bellongs to the wireless provider ATT supports LTE Bands 1,2,3,4,5,7,8,20,38,40. TB-X704V supports LTE

Bands 2,3,4,5,7,12,13). Y and F supports WiFI only. V it looks like a North America and L it rest of the world.
[Thinkpad Tablet Android Development] Advanced07:
Then try to install the L version rom
[Thinkpad Tablet Android Development] Ilyusha:
Hello [MENTION=9613333]yener90[/MENTION], guys, I faced the problem iChinmay described - Wifi can't be turned on, but I can't fix it how iChinmay did (I repeated all steps but didn't install Magisk). Is there any solution? My tab is L version and I wiped System, cache, data before installing new rom.
[Thinkpad Tablet Android Development] paul9619:
Awesome work with this ROM very much appreciated. Installed perfectly for me.

Got one quick question. I rooted with supersu when flashing. Is Root actually required for this ROM? I only ask as I now found out the Sky go app won’t work on a rooted device, so if your ROM does not require root and is not rooted I’ll start again.

FIXED - ignore me, just noticed this was fixed in a previous post with the use of Magisk to hide. ?

Rgds Paul
[Thinkpad Tablet Android Development] yener90:
Read first post and do a properly bug report. This way is completely useless information.
[Thinkpad Tablet Android Development] max_work:
Hi, i also cant give you detailed infos but i can confirm this. i did a clean install today and hat no wifi. wifi mac address was someting like 02:00:00:00:00:00 if i remember correctly. i then installed the version from 26th and it was ok. so updating with 30th april version works but clean install not.

It looks like something is missing.

Regards
[Thinkpad Tablet Android Development] rabbyx:
I'm have a X704F coming from stock

Installed latest ROM and open gapps mini, no magisk.

In setup is wifi not working. Also i could not switch on WiFi manually

Checked also 0428 version with same result.

15.1 is working fine.

Next time I will look for logcat...
[Thinkpad Tablet Android Development] rabbyx:
The 0424 build with update to 0430 works to solve my WiFi issue
[Thinkpad Tablet Android Development] Ilyusha:
[MENTION=3507214]rabbyx[/MENTION], thank you very much! It solved the problem.
[Thinkpad Tablet Android Development] apotsi:
Can please someone write a foolproof/noob guide for flashing this rom, from stock ?

I would very much appreciate that.

Thanks in advance.