yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] MiltonFine21:
I'm trying to flash the latest version and I can't seem to get past this in TWRP:

"Unmounting System..

Target: Lenovo/LenovoTB-x704F/X704F: 7.1.1/NMF26F/TB-X704F_S000056_181015_ROW:user/release-keys"

I have a TB-X704L and I've been able to run "lineage-17.1-20201101_075921-UNOFFICIAL-TBX704.zip" for some time, but lately I was encoutering some stability issues. like the hotspot authentification connection problem. So I wanted to update, but I'm kind of stuck.
[Thinkpad Tablet Android Development] 1907Fb1907:
What version of twrp are you using? If it is old, update it to the latest version and try it.
[Thinkpad Tablet Android Development] MiltonFine21:
I tried using the two latest verisons (twrp-3.6.0_9-0-X704F.img and twrp-3.5.2_9-0-X704F.img) and they will display the TWRP startup screen and then freeze when the menu appears. I've been trying to use twrp-3.4.0-0-X704F.img as the menu is working there. I have a pretty slow data connection, but I can try to download another version in between and see what happens.

EDIT: Got the latest version of TWRP to work by telling it to keep partition "read only". However, when I try to install the November or December patch, I set the same issue as before.

EDIT 2: So I booted back into fastboot (power + volume up) and then from that menu selected "recovery". Previously I was using fastboot boot twrp-3.6.0_9-0-X704F.img to get into TWRP. It seems that was the issue. I really do suck at this!

EDIT 3: Now I'm stuck in a bootloop. Going to try to wipe and install Lineage 18 and see what happens.
[Thinkpad Tablet Android Development] shelleyfrank:
Hi Ecthelion4, thanks again for your efforts to keep this rom alive, and keeping security patches up-to-date. However I am a bit concerned that selinux policy is set to permissive. Would it be possible at all to build this rom with selinux enforcing? Oh, and a happy new year to you!
[Thinkpad Tablet Android Development] Ecthelion4:
Happy New Year to you too! Unfortunately I have to admit that I have no clue how to change the SElinux policy. I was able to find out how to build the existing code for the Tab4 10 Plus and I am able to update the code from the LineageOS repo, so that I can regularly provide a new build with the latest security patches, but other than that I have no clue about Custom ROM development. Perhaps someone else can step up and modify the code accordingly. Sorry
[Thinkpad Tablet Android Development] orjanraberg:
On my device with the 20211219 software version, SELinux is set to Enforcing.
[Thinkpad Tablet Android Development] shelleyfrank:
Okay cool no problem. Thanks
[Thinkpad Tablet Android Development] shelleyfrank:
Interesting.. I'm updating now and I'll check what it says. Thanks!
[Thinkpad Tablet Android Development] shelleyfrank:
Alright.. I had issues dirty flashing the December build, so I clean installed and setup magisk, and checked in a terminal window getenforce, answer Enforcing. Very good.
[Thinkpad Tablet Android Development] mikle85:
Are these new builds containing bug fixes or just security updates?
[Thinkpad Tablet Android Development] Ecthelion4:
The build are containing all upstream changes from LineageOS 17.1. This will probably also include bug fixes.
[Thinkpad Tablet Android Development] Nuclear Blast:
Thanx for your work

Perfect combo^ your firmware + pico Google Applications from OpenGaps
[Thinkpad Tablet Android Development] mikle85:
thx a lot for keeping the tablet going, i used your 1st build until now, but it had some minor issues, hopefully it is sorted in the latest one. i want to upgrade to something with a higher resolution screen really, but not for 3x the money.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the January 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] C.G.B. Spender:
Thanks for keeping the tablet alive! Successfully upgraded from 16.0 to 17.1 with the file from previous post. The only thing from those I use that doesn't work is when I close the flip case the tablet doesn't turn off. Funnily enough if screen is off and case closed and I open the flip cover the display comes on.

Any idea how could I make it work when closing the cover too? Thanks!
[Thinkpad Tablet Android Development] bryangb:
Been trying (again) to install 17.1 on my tab4 10+, I managed to get it to boot but then it can't see the Bluetooth or WiFi. The setup program just sits there trying to detect a WiFi network and failing.

Skip that part of setup and I can boot Lineage, but when I go into the WiFi settings it will not turn on.

This is using twrp-3.6.0_9-0-X704F and lineage-17.1-20211014-UNOFFICIAL-TBX704, but it was the same with older versions.

Oh yes, after boot Lineage also looks for a (non-existent) SIM card. And in WiFi Settings, it says

IP address

Unavailable

MAC address

Unavailable

So it looks like it is not even recognising the WiFi hardware.

I've got it working OK with WiFi now & Lineage 16.0, but does anyone have ideas on how to persuade 17.1 to see the WiFi, please?
[Thinkpad Tablet Android Development] Ecthelion4:
One of the first items in the installation instructions is to update to the latest official firmware. Did you do this? Other than that it looks you did everything right.
[Thinkpad Tablet Android Development] bryangb:
As far as I know it was all up to date. After my last try I'd used the official Lenovo restore tool & the latest 7.1 firmware, followed by checking system update, which should have dealt with that. It's puzzling.
[Thinkpad Tablet Android Development] codeworkx:
Uploaded a fresh build to AFH

Downloads for : Lenovo Tab 4 10 Plus | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Thinkpad Tablet Android Development] C.G.B. Spender:
Hi, I have been "dirty" flashing these builds since 16.0, and while this last one you posted works, at startup I get this warning. This was flashed over lineage-17.1-20220124-UNOFFICIAL-TBX704.zip

I press ok and act as if nothing happened and everything seems to work, but I cannot help and wonder: Should I be worried?
[Thinkpad Tablet Android Development] codeworkx:
Never seen that before.
[Thinkpad Tablet Android Development] C.G.B. Spender:
Story of my life, I get all the issues noone ever seen. I guess I'll just ignore it and hope it'll disappear with next version. Thanks for your quick reply!
[Thinkpad Tablet Android Development] Mata_Ratos:
Could it be because previous versions were from @LumenReaper ?
[Thinkpad Tablet Android Development] C.G.B. Spender:
no idea honestly, the previous build I flashed was from the post #530
[Thinkpad Tablet Android Development] Mata_Ratos:
Sorry, not @LumenReaper , but @Ecthelion4 .
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

since @codeworkx provided a build for February I initially hadn't planned to upload one of my builds. But because in at least some cases problems occurred with the new build I now uploaded a build of mine that includes the February 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again did successfully some days ago.
[Thinkpad Tablet Android Development] C.G.B. Spender:
I have dirty flashed this and the error from my comment #537 disappeared. Thank you for the update!
[Thinkpad Tablet Android Development] mikle85:
hi, how can i get rid of the pin i did set for startup? and also twrp? i know the pin, but i want a full factory reset because i sold the tablet. but after a factory reset i still have the pin on startup and twrp too.
[Thinkpad Tablet Android Development] mikle85:
Same message here, factory reset as well.
[Thinkpad Tablet Android Development] Ecthelion4:
Not sure, but can you try setting a different PIN, like 0000, and afterwards do the factory reset?
[Thinkpad Tablet Android Development] mikle85:
you can just remove every security pass in settings including fingerprints. Easy. except when the rom is unresponsive in that menu like mine did :D. anyway it is sorted after a clean install and messing in twrp.
[Thinkpad Tablet Android Development] mikle85:
it was a great rom. my new P11 tablet with all the preinstalled crap doesn't feel that much faster. if the tab2 10 has a better screen i woulda kept it.
[Thinkpad Tablet Android Development] Henri_Smets:
Just did a dirty flash of the ROM. Still going strong. Thanks for the good work.🤗
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the March 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
Just did a dirty flash of the ROM. Works perfect. Thank you.😄
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the April 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
Thanks for the upload, dirty flashed and working. 🤗
[Thinkpad Tablet Android Development] m0lek:
Thanks Ecthelion4 for regularly updating the LOS 17.1 ROM!👍

I would like to inform you that I had installed the April build of the LOS 18.1 ROM to my Tab4 10 Plus, TB-x704A. The build is very stable to use as the daily driver. I think we can move on to the LOS 18.1 ROM.

Please suggest any Dolby Atmos mods that work with LOS 17.1 and LOS 18.1 ROM.

Regards,
[Thinkpad Tablet Android Development] Ecthelion4:
Thanks for the information. I'll see whether I can set up the LOS 18.1 build for the Tab 4 10 Plus. If I can get it working and the resulting image is working fine on my device then I'll switch to the more recent 18.1 codeline. Please give me some time, though. At least the May security will most likely still be for LOS 17.1.
[Thinkpad Tablet Android Development] m0lek:
Thank you for your consideration.

Looking forward to seeing your hard works in the near future.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the May 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
Thanks for the upload, dirty flashed and working.🤗
[Thinkpad Tablet Android Development] Ecthelion4:
Some months ago I had set up a VM for building LOS 18.1 for the Tab 4 10 Plus. I now tried updating the code and then building the stuff again, but I'm now getting error messages I don't understand. So it looks like someone else having to provide the 18.1 builds. I can continue with the 17.1 until someone steps up and regularly provides builds for LOS 18.1 (or even 19). Sorry
[Thinkpad Tablet Android Development] m0lek:
Thank you for replying.

I think the Dev. of the LOS 18.1 for x704F tablet had stopped updating the ROM. Please contact him to see if he is willing to let you update the monthly security patch for his ROM.

Regards.
[Thinkpad Tablet Android Development] Ecthelion4:
It's not about not being allowed. The error message I got looked like the LOS 18.1 branch got deleted for part of what would be needed for the build. So I just can't build it. Perhaps the OP of the LOS 18.1 branch might help, I just can't.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the June 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] jfaheyfan:
I did a wipe and installed the ROM with nano gapps. Works great. Prime Video now runs, which had been crashing each time I opened it. Thank you to you and codeworkx.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the July 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
Thanks,, for keepin' it going.
[Thinkpad Tablet Android Development] wilvanwil:
https://xdaforums.com/t/rom-unofficial-11-tb-x704f-l-lineageos-18-1-for-lenovo-tab4-10-plus.4270183/

not sure if it was clear, but I didn't find it searching this 18.1 for the Tab4 10 Plus on this forum, but when I googled I did...
[Thinkpad Tablet Android Development] otto-xda:
Thanks a lot, the dirty flash really worked fine and keeps my tablet alive :-)
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the August 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
And again, thank you for keeping this tablet alive!
[Thinkpad Tablet Android Development] Tronje:
I am wondering why I cannot make phone calls, which should be possible with TBX-704L.

Any ideas?
[Thinkpad Tablet Android Development] deadlast_28:
Hi All,

Is there any tricks for the really low volume on this? Headphone and Speakers seem very quiet since leaving stock, Cheers!
[Thinkpad Tablet Android Development] EarthsiegeTA:
Good afternoon all!

I'm having an odd issue with the Google Play Store app. For some reason, it's completely disappeared from the tablet. All the apps that were installed previously are there and still work, but no new apps can be installed, even via Play Store website.

I've tried reflashing the GApps (full at first, then nano). I've tried clearing cache and dalvik. I've tried dirty flashing the latest build from @Ecthelion4. I've tried everything I could think of short of wiping the tablet, which I would really prefer not to do if at all possible. Nothing I've tried has made the Play Store app show back up.

Any thoughts?

Thanks!

**EDIT** Please disregard this. Apparently my daughter managed to disable the app in the system settings. I didn't even know that was possible.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi, the Play Store app is not among the list of apps you can access from the system settings, not even when displaying also the system apps? If not then I have no other idea except to set up the tablet freshly.
[Thinkpad Tablet Android Development] EarthsiegeTA:
Apologies! I discovered the issue a few minutes ago and made an edit to the post. Turns out that my daughter had accidentally disabled the Play Store app, which I wasn't aware was possible.

Thanks though!
[Thinkpad Tablet Android Development] rerbin:
The same problem
[Thinkpad Tablet Android Development] Ecthelion4:
Sorry, I have no idea :-(.
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the September 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Bork Bork:
Imagine I could read your mind while there's like 1 million different unique devices out there with BT support.
[Thinkpad Tablet Android Development] Googole:
I would not like that, reading people's minds

We all deserve privacy, hehe
[Thinkpad Tablet Android Development] ramesh_g:
Codeworkx - I have just upgraded to LineageOS 17.0 after a clean flash, however Netflix is not working. Prime works though. Could you please guide me on how to get Netflix working. Many Thx for a smooth ROM!!
[Thinkpad Tablet Android Development] edison0354:
Install Magisk, check whether you can pass safetynet check.
[Thinkpad Tablet Android Development] ramesh_g:
Thx for this, Safetynet check now passes, but still no luck with Netflix app. The app just gets stuck at logo screen. Would appreciate any help on this.
[Thinkpad Tablet Android Development] DGhost_:
Install netflix manully with the apk from apkmirror, It works for me. I confirm that using Magisk also I cannot get the app from the play store
[Thinkpad Tablet Android Development] RoyIT:
anyone of you have already tried using "drm info" app, to check whick level of DRM widevine outr tablet gets with this rom?
[Thinkpad Tablet Android Development] Sulphy:
Managed to get this onto my L version tablet, works great so far! Thanks!!! :)
[Thinkpad Tablet Android Development] codeworkx:
new build of lineageos 17.1 uploaded to AFH.
[Thinkpad Tablet Android Development] dkoek:
What has changed in this build?
[Thinkpad Tablet Android Development] Jan1959:
Bluetooth does not start

After upgrade from the latest 16 version to the 17.1 version i have one issue

Bluetooth is closing constantly.
[Thinkpad Tablet Android Development] Jan1959:
Bluetooth does not start

After upgrade from latest 16 tot 17.1 i have one issue with bluetooth.

It wil not start and stay on. Constantly closing.

See attach image.
[Thinkpad Tablet Android Development] Jan1959:
Solved

I dont why but problem was solved after a while.
[Thinkpad Tablet Android Development] bwguy:
Is the finger print scanner fixed yet?
[Thinkpad Tablet Android Development] Bork Bork:
Nice job on fixing FPR!
[Thinkpad Tablet Android Development] codeworkx:
new build up.

- bluetooth should work now

- selinux enforced
[Thinkpad Tablet Android Development] rabbyx:
Thanks, fingerprint is working fine
[Thinkpad Tablet Android Development] dkoek:
Thank you for your hard work ?
[Thinkpad Tablet Android Development] torinXt:
Great work

Hi Guys,

at first i would like to thank you so much for developing Android 10 for this device. The manufacterer failed here so hard.

I hope you go ahead !

But i have some problems with it too.

At first I had some problems with the safetynet stuff, but this was possible to fix with the right fixes in Magist.

In fact everything works fine.

Bluetooth + Bluetooth Audio

Wlan

Fingerprint

Camera

...

But whats totally impossible for me, is to fix that Doly digital plus stuff. I read hundreds of posts this weekend and now i give up.

How the hank is it possible to get it run on Android 10 ? Can anybody help here ? What you have to do and what not ? Which app do I need ?

At Android 9 it was not easy to fix, but at the end I could manage it.

I think i stuck at the access rights of the app. It only open and close nothing else.

I got selinux at permissive i install the doly app, then AML then i add the UI app. I set up energy settings, accessrights etc.

i tried clean install after formatting data and also with update, different version of magist or dd.

Maybe someone can instruct how he got it running.

Thanks !
[Thinkpad Tablet Android Development] Coffeinflash:
Some issues with bluetooth

Hi guys,

updated my tablet yesterday from the former Lineage release https://xdaforums.com/thinkpad-tablet/development/lineageos-16-0-lenovo-tab4-10-plus-t3923394. I did a dirty update without wiping.

Now I am facing some issues with bluetooth, especially my headphones BOSE QC 35:

- I can connect only to the headphones if Bluetooth AVRCP protocol version is set to 1.6 via developer options. If I set this to default, the device does not connect automatically and forgets the paired headphones after each disconnect. Needed to remove and pair again every time.

- when headphones are connected no video or music app is working, e.g. youtube and yatse are hanging/stuttering. Actually the whole tablet does not react smoothly anymore. If I disconnect the headphones both everything is working fine.

I never had such problems with old release. Tried to rollback to Lineage 16 again but my tablet did not boot anymore, so I upgraded again.

Anyone has an idea?
[Thinkpad Tablet Android Development] Henri_Smets:
Thank you! Thank you!
[Thinkpad Tablet Android Development] Ecthelion4:
Hi,

I just uploaded a new build that includes the October 2022 security patches to AndroidFileHost. It should be possible to dirty flash the ROM over the existing LOS 17.1 build from codeworkx or me, which I again just did successfully.
[Thinkpad Tablet Android Development] Henri_Smets:
Downloading it now. Thanks again!
[Thinkpad Tablet Android Development] fadern:
Hi, I'm not able to unlock the bootloader are there any guides available?

I've tried to flash twrp but I get this, so i guess I need to unlock it...

C:\Users\Karl>adb reboot bootloader
* daemon not running; starting now at tcp:5037
* daemon started successfully

C:\Users\Karl>fastboot flash recovery C:\Users\Karl\Desktop\temp\lenovo\twrp-3.7.0_9-0-X704F.img
Sending 'recovery' (29866 KB) OKAY [ 2.203s]
Writing 'recovery' FAILED (remote: 'Partition flashing is not allowed')
fastboot: error: Command failed
[Thinkpad Tablet Android Development] Ecthelion4:
There's the instructions on the official TWRP site. I probably used these when I first installed TWRP on my Tab 4 10 Pro.
[Thinkpad Tablet Android Development] fadern:
After some desperate googling i found one more (fastboot oem unlock-go) unlock command and now its working.

I used these steps.

1. Prepering files

a) Place files on internal storage:

Rom = lineage-17.1-20221011-UNOFFICIAL-TBX704.zip

Gapps = open_gapps-arm64-10.0-pico-20220215.zip

2. UNLOCKNG THE BOOTLOADER

a) Enable Developer Options (Systems --> About --> Tap "Build Number" 10 times)

b) Tap OEM unlock to enable it

c) Open command prompt.

d) In cmd prompt type without quotes then hit enter: "adb reboot bootloader"

e) In cmd prompt type without quotes then hit enter: "fastboot oem unlock-go"

f) The device will reset and reboot automatically.

g) Don't close cmd prompt and KEEP device connected to computer

3. INSTALLING TWRP (CUSTOM RECOVERY)

a) Copy the twrp-3.7.0_9-0-X704F.img into the Android ADB folder

b) In cmd prompt type without quotes then hit enter: "adb reboot bootloader"

c) In cmd prompt type without quotes then hit enter: "fastboot flash recovery twrp-3.7.0_9-0-X704F.img"

d) In cmd prompt type without quotes then hit enter: "fastboot boot twrp-3.7.0_9-0-X704F.img"

e) Wait for it to boot into TWRP

*** Tablet can now be disconnected from computer ***

4. Install

b) Wipe device (not internal storage)

c) Navigate internal storage to folder that contained the files and Flash Rom, Gapps.

d) Reboot device
[Thinkpad Tablet Android Development] 7wells:
Hello! Does anyone of you have problems with adding a Google account? When I try it, the screen where I should enter the user's email address hangs and then force-closes.

Everything else seems to work fine (incl. OpenGApps 18.1 stock for arm64), but maybe OpenGApps is the culprit.
[Thinkpad Tablet Android Development] fadern:
Hi, no it's working as expected. I did use pico gapps.
[Thinkpad Tablet Android Development] otto-xda:
My Lenovo TBX704F has been running pretty nice on the last LineageOS17.1 systems except of showing two problems:

Sometimes when surfing and clicking on some “special” icon the system only shows me the picture of the icon but does not connect me with the content behind the icon I want to see.

Charging the device only works when the device is switched on.

Both faults appeared soon after installing one of the first LineageOS17.1 systems. Meanwhile the last update from Ecthelion4 is running.

Does anybody have an idea how to fix these two problems?
[Thinkpad Tablet Android Development] Ecthelion4:
I haven't noticed the two issues you reported, otto-xda. Anyone else having the same issues?

P.S.: I have a new build containing the November 2022 security fixes ready, but ATM I can't upload to AndroidFileHost. Will try again the next days.