yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] at5dmvi1:
Hi Black.kahder,

My tablet is TB-X TB-X704V not a TB-X704A. Yours is a newer generation of TB-X704V. Lenovo released yours for US market in 6-7 months later. The rest of world got like your tablet right from beginning.

I did Format/data and then flash TWRP (fastboot flash recovery twrp-3.2.3-0-TB-X704F.img) after that I used Volume button to select "Recovery mode" and pressed the power button to enter start Recovery mode. After approximately 30-40 seconds My tablet boots into Stock Android. Then If I reboot tablets I am booting into OEM system again and again. I repeated many times step 3 (Power off the tablet and boot into bootloader mode by holding vol-up + power) no help, same result.

Does it make deference if I have installed on my Home PC Android SDK tools or Minimal ADB and Fastboot? Currently I am using Minimal ADB and Fastboot.

I saw other people comments about recommended using different USB ports, cables or PC’s. Not sure how this critical.

I was able to install Custom Rom on my Moto phone right from first try.
[Thinkpad Tablet Android Development] coniliakis:
Can I reward you for the work you did? thanks
[Thinkpad Tablet Android Development] shswe70:
Some applications can't be installed?

Hi all!

I tried, as an example, to install Netflix on the device after installing LineageOS.

But it says that the "device is not compatible with this version"?

Why is that? It didn't do that before?

Any workaround for this?

Also a question on the "Dolby image" that I installed.

What does it do? Are there an app to control the features for this?

Thx for support!

And for a very good job with the ROM! :) ..
[Thinkpad Tablet Android Development] black.kahder:
LumenReaper, yener90, and codeworkx have all made significant contributions to making TWRP and custom ROMs possible on this device. Throw each one of them a small donation if possible. I already plan to do so.

Hopefully I didn't leave out anyone who deserves credit.
[Thinkpad Tablet Android Development] chr0m:
You need to use Magisk and install the SafetyPatch module. You will probably have to wipe all data for the Google Play app afterwards.

You'll also get an error message every time you reboot after installing SafetyPatch. Something to do with vendor fingerprints not matching. You can just ignore this.

For the Dolby app you should see it in the app drawer
[Thinkpad Tablet Android Development] shswe70:
Thx!

:good: :)

That made the trick!

Does anyone else know why the error shows up? Any solution?

I didn't get any Dolby app after installing the image?

Or was that what you meant?

Have to try reinstalling it maybe?
[Thinkpad Tablet Android Development] chr0m:
Should I be able to access the root filesystem?

Every time I try using Mixplorer the whole tablet freezes and I have to hard power off by holding the power button.

I'm using Magisk and granting root when Mixplorer asks for it
[Thinkpad Tablet Android Development] black.kahder:
Sounds like it might be trying to remount /system as rw. Don't let it do that. See previous discussions about the /system remount rw problem on these Lenovo Tab 4 devices.
[Thinkpad Tablet Android Development] chr0m:
Thanks, that makes sense.

So am I out of luck if I want to modify my build.prop for example? Or is there another way?
[Thinkpad Tablet Android Development] Coffeinflash:
The reason are different keys in /system/build.prop and /vendor/build.prop.

I got it running without SafetyPatch by using MagiskHide Props Config (https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228)

After applying the changes all checks in Magisk are green and everything is working.

With the module mentioned above you can change the keys to a valid device, e.g. I used the Lenovo device, dont remember the name but there was only one.
[Thinkpad Tablet Android Development] chr0m:
Thanks for this.

So you changed to the Lenovo K6 Note?

Will this cause other issues? I'm trying this tool now.

I ended up changing the fingerprint to the Lenovo one above. Everything seems to be working ok and now I don't get that internal error on boot :)

Should I be able to see the certification status in the google play app? I scroll to the "About" section under settings and there's no mention of certification status.
[Thinkpad Tablet Android Development] Coffeinflash:
Yes, exactly.

As I said to me everything is working for daily usage. The only app that does not work is 1&1TV-App. But as all other video-apps (SkyGo, Netflix, youtube, zattoo) are working, I think it is an issue with the app itself.

Don't know. Never did this before. I am just checking the cts-Profile check in Magisk which is green.

---------- Post added at 03:34 PM ---------- Previous post was at 03:19 PM ----------

What I totally forgot...

A big Thanx to yener90 and codeworkx!!! This is really great work. Maybe Lenovo could hire you guys for providing better support :)
[Thinkpad Tablet Android Development] Palm Trees:
Don't forget the efforts put into this by [MENTION=7737930]highwaystar_ru[/MENTION] - much is to his credit.
[Thinkpad Tablet Android Development] chr0m:
Thanks to all involved for this ROM. I'm loving it. It's like having a new tablet :)

No thanks to Lenovo!
[Thinkpad Tablet Android Development] vicenza:
Can I update Yener's May rom with Codeworkx June rom without losing all my apps and preferences and stuff, or do i need to install all over again....?

Have x704l
[Thinkpad Tablet Android Development] max_work:
I updated and it worked
[Thinkpad Tablet Android Development] rorzer:
I have the x704f.

For me the update caused a boot loop. I solved this by wiping system (not data) and reinstalling codeworkx ROM, opengapps nano, and magisk

YMMV
[Thinkpad Tablet Android Development] Teddy01:
I had to do the same, but afterwards everything was ok and the apps and settings have been preserved.
[Thinkpad Tablet Android Development] black.kahder:
For me, the only problem I had was a few system settings related to notifications and the nav bar (battery icon, clock) got reset. Also, I think I had to re-associate one of my bluetooth devices. Everything else was fine. Make sure not to use the permissive zip on the top-post with codeworx's ROM.

Everything has been working great. Battery life is good and wifi performance/range is good. I am seeing some errors in logcat which need to be cleaned up but those don't affect user interface operation.
[Thinkpad Tablet Android Development] Sparkrite:
Is nobody else having a problem with the microphone, not working with the latest ROM?
[Thinkpad Tablet Android Development] Teddy01:
No, microphone works without any problem.
[Thinkpad Tablet Android Development] Sparkrite:
Cheers for that, maybe I should have specified mine is the TB-X704V, is yours the same model?
[Thinkpad Tablet Android Development] Android.Sysop:
I have follow problems with this rom:

Roboform password manager accept only master password, pin and touch id are not working correct.

RoboForm cannot get access to settings cache - PIN counter shows a negative value.

This is why you are asked for Master Password.

RoboForm app allows to use Touch ID or PIN only if Master Password is currently cached. Also, if a wrong PIN is entered 3 times in a row, RoboForm app will require to enter Master Password.

Second problem

With this rom Sky Go are not working correct. If you will see a movie, the app tells problems with the internet connection, but the connectiion is very well.

With stock rom on the tab no probs with Roboform and SkyGo.

Onther systtems with Android 9 basis also no probs.

Why working Roboform and Sky Go not correct on this rom?
[Thinkpad Tablet Android Development] Teddy01:
Mine is the TB-X704F
[Thinkpad Tablet Android Development] black.kahder:
I have confirmed that MiXplorer automatically remounts /, /system, and any other ro mounted filesystem rw upon browsing. I posted a message about it in the MiXplorer thread.
[Thinkpad Tablet Android Development] Sparkrite:
Just in case some people haven't read the full thread and think there is some problem with enabling the system to read/write, there isn't ! There are a few ways to achieve this, one of which I have documented previously.

See my post #259.

https://xdaforums.com/showpost.php?p=79681018&postcount=259
[Thinkpad Tablet Android Development] black.kahder:
Here is how to fix MiXplorer for our device, though I recommend considering a different file manager tool. The way it automatically remounts things rw is really careless, bordering on malicious, and is certainly dangerous as evidenced by the problems it has caused. Ours is not the only device with this problem.

Export your configuration, edit like below (find the pref/main block), then import by selecting the edited config file in MiXplorer.

},
"pref": {
"main": {
"blacklist_mounts": "\/,\/system,\/system\/vendor\/dsp,\/system\/vendor\/firmware_mnt",
"allow_root": true
},

Sources

https://xdaforums.com/showpost.php?p=79736685&postcount=30065

https://xdaforums.com/showpost.php?p=79738978&postcount=30072

https://xdaforums.com/showthread.php?t=1523691&p=79701387#post79701387

https://xdaforums.com/showthread.php?t=1523691&p=78375596#post78375596
[Thinkpad Tablet Android Development] HeinzHarald:
I just tried this on my model F (bought recently) and it resulted in the tablet not booting anymore (mixplorer hung the tablet when it was granted RW to root so I wasn't surprised this happened with the Magisk module). I'm going through the process of disabling it through TWRP right now.

Edit: I suppose I didn't wait long enough to make absolutely sure it wasn't just in the process of mounting, taking a very long time, but I did wait several minutes.

Edit2: neither disable nor uninstall worked to remove it, but I was able to set Magisk to core mode to avoid the bootloop and uninstall the module that way.
[Thinkpad Tablet Android Development] Sparkrite:
That's a strange one alright, has been proven working on F,L and V models, albeit on Stock.

But I can vouch that it works perfectly on my V model on both stock and Lineage.

Just as an aside, re. the above, if it was bootlooping, how did you manage to set Magisk to core mode ?
[Thinkpad Tablet Android Development] HeinzHarald:
I put Magisk Manager for Recovery on SD, booted to recovery, installed and used the TWRP terminal.

Latest Lineage rom and Magisk fully updated.

My F is a 3GB/32GB model.
[Thinkpad Tablet Android Development] codeworkx:
Mounting system rw results in system hang because of some write protection mechanism.

Don't remount rw. ;)
[Thinkpad Tablet Android Development] pcss:
Hi all,

TB-X704F still on stock ROM. Glad to see some updated custom ROMs for this device.

Would I be right in thinking that as things currently stand, apps using Widevine (Netflix and in particular Kayo and Optus Sport as a user in Australia) are likely to be problematic or not install?

Thanks!
[Thinkpad Tablet Android Development] chr0m:
I'm using Netflix, Stan Amazon Prime, Optus Sport and Foxtel Go without issue. I did have to install the magisk module mentioned here https://xdaforums.com/showpost.php?p=79718635&postcount=305, so that Google Play passes the checks. At least for Netflix anyway. I also use Magisk to hide root from those apps.

On an unrelated note I have noticed issues with drop down boxes in some apps, when you click them the selections are missing I've attached 2 screenshots, one from trying to snooze an email in Gmail and another when adding a credential in Microsoft RDP client.
[Thinkpad Tablet Android Development] Sparkrite:
Strange one, I have never experienced any problem either on Stock, Yener90's or your Rom with mounting system as R/W. 'V' model 4gb - 64gb.

The only problem, that I have noticed, is that the microphone works

ONLY

on [MENTION=9613333]yener90[/MENTION] 's rom.
[Thinkpad Tablet Android Development] HeinzHarald:
Having never used Magisk before and not finding a step by step guide for this use case it definitely took some time for me to get everything in place properly for Netflix to work, using the module that chr0m mentions above. And I stumbled a bit on having to clear not just cache but storage as well for Play store. But it wasn't actually problematic as such, and so far no issues as all.
[Thinkpad Tablet Android Development] Footlong:
Can you write a quick guide how to install the magisk mudule and how to get Netflix to work?
[Thinkpad Tablet Android Development] codeworkx:
lineage-16.0-20190618_184543-UNOFFICIAL-TBX704.zip

Changes:

- fix camera detection for ov8856 sensor

Folder on AFH: https://www.androidfilehost.com/?w=files&flid=295688
[Thinkpad Tablet Android Development] laydog:
What's the difference exactly with this and stock OS? The stock is pretty base Android as is.
[Thinkpad Tablet Android Development] codeworkx:
Stock is based on 7.x and full of bugs and security holes.

Lineage is based on 9.x and always up2date.
[Thinkpad Tablet Android Development] pcss:
Thanks to all for their work and guides on this ROM, up and going on the 20190609 release now and almost everything is as expected. I haven't played with Netflix, Kayo etc in Magisk yet.

As per instructions, I flashed GAPPS immediately after the ROM (no reboot) and then followed that with the optionals - Dolby Digital Pro, in particular. The screen output showed it installed fine with no errors.

After a few reboots, I can't find it in the apps at all and have searched previous posts. Are there any log files to provide? It's not a deal breaker by any means but does provide a decent volume boost for the few times I'm not using a BT headset with this tablet.

Thanks!
[Thinkpad Tablet Android Development] bwguy:
How did you get Dolby Digital pro?
[Thinkpad Tablet Android Development] chr0m:
There's definitely a dropdown box options rendering issue. As well as the issues I posted recently, I have know discovered a problem in Moon+ Reader.

The dropdown options are rendering in a position where you can't see them.

In portrait mode you can't see them at all and in landscape mode they look like this

http://imgur.com/gallery/oKoEUJi
[Thinkpad Tablet Android Development] pcss:
From here https://androidfilehost.com/?w=files&flid=285652 as per instructions on first page.
[Thinkpad Tablet Android Development] shswe70:
There seems to be some kind of problem with the Google play games on my device?

Something happens and you need to restart the game very frequently?

Tried to erase app data and cache now a few times but still there ...

Any suggestions?
[Thinkpad Tablet Android Development] Tonsofguns:
From what I can tell this is the only lineage 16.0 version for the Lenovo tab 10.

I have a tab 10 *non plus* tb-x304f.

Any advice if this guide will work on it or not? or is there a guide for a Lineage 16.0 version for this Lenovo version?

Cheers.
[Thinkpad Tablet Android Development] oRAZY:
Hi,

Great rom so far. Sadly the "Kill app back button" function at the bottom in the developer options is not working.

TB-X704F

Edit: Not sure if it was the latest update or my brain working again :silly: but the function is working for me now. Seems like I was expecting a much shorter press duration for it to work, because I get the haptic feedback vibration for the long press but it's not killing the app then, but twice the time after that. Only thing I would appreciate is the ability to adjust the duration of the long press.
[Thinkpad Tablet Android Development] black.kahder:
This works fine for me. I use it often.

---------- Post added at 19:13 ---------- Previous post was at 18:40 ----------

codeworkx, your 20190609_124558 ROM has been running nicely and I used it many times in the last two weeks. Today I will update to your newer release.

I've seen some noise in logs but nothing too serious. The UI is good. Battery life and performance have been good. Wifi has been good. Overall good.

Here is a list of my gripes and complaints...

The inability to remount / and /system rw is a problem but I understand that this will likely never be fixed or changed.

Automatic brightness could use adjustment perhaps. It likes to go too dark often and I have to raise it. The sensor location gets covered by my right hand sometimes when in portrait mode and that is a problem.

The hardware variant V is still not officially supported in your ROM. It works, however.

Certain Nav Bar configurations cause bugs. Go to System > Buttons > Navigation bar Buttons and Layouts. Choose Invert Layout and then add a Extra Left button. You will note that a phantom button appears on the right as well. Additionally, if you go into portrait mode the buttons will sometimes bug out and stop working completely. You will notice this because there appears to be some extra button overlaying the Home button in the center. If you try a Left or Right layout, things also become broken.

Swiping sometimes does not register or is not as sensitive as I would like. I assume this is some kind of error correction or scaling which works fine when you have a screen the size of a phone, but our huge 10 inch screen means shorter swipes than normal. For example, putting up the app drawer, or pulling down notifications. If you don't do a full long swipe, it will cancel half-way.

The built-in sshd has permissions problems. The fix is probably to patch sshd to not complain about insecure parent directories under android. My changes as documented fix the issue and I have not experienced any problems yet: https://xdaforums.com/showpost.php?p=79667058&postcount=242
[Thinkpad Tablet Android Development] besimk:
Great ROM, works like a charm on my X704L. You should consider to upgrade your excellent work up to the official Lineage roster. Your work would be a very good enrichment for the project.

Besim
[Thinkpad Tablet Android Development] REDFoX_J.N.:
Broken

nothing

_______________

Tablet - TB-X704L

Camera is doesn't work ?

I tried the camera standard and camera mx, see the screenshots. Any solution for this problem?
[Thinkpad Tablet Android Development] Daniel4Aloha:
My apologies...

I was bouncing back and forth between this thread and Matshias TWRP and ROOT for Tab 4 thread, and didn't realize until just now that I had inadvertently posted on this thread! I'm only an egg -- and a cracked one at that! However, THANK YOU for the info you kindly provided!!!
[Thinkpad Tablet Android Development] black.kahder:
I was going to ask today if the current codeworkx ROM would work with the updated/official TWRP, but the top-post was updated at some point to indicate that it is! I had been on the old yener TWRP all of this time.

So, be sure to update your TWRP. I used the download from the official TWRP site and it worked for me. https://dl.twrp.me/X704F/twrp-3.3.1-0-X704F.img.html
[Thinkpad Tablet Android Development] codeworkx:
lineage-16.0-20190622_140322-UNOFFICIAL-TBX704.zip

- bugfixes and performance improvements
[Thinkpad Tablet Android Development] chr0m:
I updated, but that one doesn't see my adoptable storage. The one I was using before does, so I went back to it.
[Thinkpad Tablet Android Development] :
Thank you very much for this great ROM [MENTION=9613333]yener90[/MENTION] , [MENTION=3208754]codeworkx[/MENTION] and [MENTION=3190122]KreAch3R[/MENTION] for the Magisk mounting mod.

I flashed it yesterday and as far as now I wasn't able to find anything that doesn't work ! :good:

Great Work ! Its real fun to work with it now.

I only have one question, regarding the TWRP backup. Before I flashed the LineageOS, I wanted to do a full device Backup, so I chose all partitions, including "system image". The backup always stopped with an error while backing up that partition, so I just excluded it at the next try and the backup worked flawlessly. The question: what data contains the "system image" partition and would it have been important to backup it ?

Thanks in advance.

GRöder
[Thinkpad Tablet Android Development] VGisHere:
Screen Orientation trouble

Just flashed the latest ROM version of 22nd June by codeworkx using the latest TWRP v3.3.1

On setting up the ROM, the screen orientation is rotated 90 degree by default.

Auto-rotate doesnt help, as a result when I keep my tablet in Landscape mode, the contents are vertical.

When I keep it in Portrait position, the contents are Landscape. Kindly help

BTW, while flashing/set-up, I had kept device as Landscape.

One more question, is the productivity interface available, if no then how do I get one ? (Its a good to use feature)
[Thinkpad Tablet Android Development] black.kahder:
A TWRP System Image backup is a dd binary dump instead of a tar archive, which is what a normal system backup is. It's less space efficient, but it's a binary perfect copy of the system partition. I guess it is needed for dm-verity systems. If you don't know what that is, then you don't need it.

I do not think you will ever need either of those system backups. This LineageOS ROM is already superior enough to completely replace the OEM image, and Lenovo has a EDL recovery tool where you can download a full system image to install if you ever wanted to go back. See my previous posts about LMSA if interested.

---------- Post added at 02:00 ---------- Previous post was at 01:59 ----------

Known bug. Reboot and it goes away. I don't think it will happen again.
[Thinkpad Tablet Android Development] pcss:
Could someone give me a hand with DDP please? Not sure what to do or try given the above..
[Thinkpad Tablet Android Development] Sparkrite:
What TWRP are you using? The only TWRP (thanks to [MENTION=6347536]matshias[/MENTION] ) I have found that works perfectly with my 'V' model is this one:-

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

Its a little old now but works well, all other ones I have tried are a little 'ropey' in some way or another ie. not restoring fully/properly, not flashing imgs. correctly, not dealing with ex.t SDs well, esp. if exfat., not mounting partition(s) etc.

I would suggest that you use the DDP uninstaller first and then flash , the linked TWRP, then flash the Dolby Digital Plus.

I have noticed that when using any other TWRP, DDP appears to flash correctly without delay, but it hasn't flashed correctly. When using the linked TWRP there is a delay/pause of about 10-15secs during flash and all is well thereafter.

Give it a try and see how you get on.
[Thinkpad Tablet Android Development] :
Thank you for the explanation. Is that a regular new feature in current twrp versions or is it just implemented at this one ? I'm asking, because I have serveral devices with TWRP installed (mostly older versions though) and I haven't seen this point so far while backing up my devices.

I know what dm-verity is, and as far as I know, I dont need it.