yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] orjanraberg:
Chromecast problem

I can't get Google Chromecast to work on the latest build (20190812). The connection to the Chromecast device in Google Home app is not stable. Most of the time the Chromecast device is not available, but for short periods it is. I am not sure but I don't think I had this problem on the build from June that I ran before. I had to reset and reinstall everything from scratch the other day because of a mistake from my part so I haven't done a clean (actually dirty...) upgrade from June to Aug build but rather a total reinstallation.

Chromecast works fine with stable connection on my other Android devices, including one with custom ROM. I have tried all sorts of different settings in my router but it didn't help.

Is this a known issue? Anyone else who has the problem?
[Thinkpad Tablet Android Development] Frankyg:
No, but why would that be a better option that a full wipe? Open to trying anything, but just wondering what the logic is?
[Thinkpad Tablet Android Development] Ender Muhammed:
Does this rom works on tab4 (tb-x304f)?

[MENTION=9613333]yener90[/MENTION] Thanks for all. I wonder whether it can work on Lenovo tab4 10 (tb-x304f). What about you?
[Thinkpad Tablet Android Development] ammarr:
On my Xiaomi phone, setting up the stock ROM sets up encryption properly. Doing a full wipe removes that encryption and LOS is unable to recreate that encryption. I had a non booting ROM when I ran into this issue.

So, just to rule anything out, I would switch back to stock and set it up, make sure everything is working. Then first try installing LOS with just a factory reset, and then with a full wipe if that didn't work.

Also double check which variant you have and if you're using the right TWRP.
[Thinkpad Tablet Android Development] slinkygb:
Alexa home assistant speaker

Does this Rom work with the home assistant speaker pack? Cheers
[Thinkpad Tablet Android Development] Sparkrite:
Further to what [MENTION=428817]ammarr[/MENTION] said, which is very good advice, surely using a proven working method could be seen as the logic behind the advice given ?

---------- Post added at 01:56 PM ---------- Previous post was at 01:54 PM ----------

In short, AFAIK no.

Different Chipset, CPU, GPU, etc.
[Thinkpad Tablet Android Development] Ender Muhammed:
There are many issue Lenovo 8.1 firmware update for tab4
[Thinkpad Tablet Android Development] diofar:
I tried to install Dolby Digital Plus, from TWRP and Magisk, but without sucess. When I select it, it shows the Dolby logo, and then it stops. What should I do?
[Thinkpad Tablet Android Development] Sparkrite:
I have found that, that is usually a TWRP issue, try a different TWRP.

Edit:

After re-reading your post, is it actually installing but not running?

Or is it not installing at all?

What Tablet/Rom/TWRP/DDP are you using?
[Thinkpad Tablet Android Development] diofar:
Yes it installs. Tab 4 10 plus. Latest TWRP. I have tried all ddp packages for twrp AND Magisk. I have also freezed existing Audioex...
[Thinkpad Tablet Android Development] Micronaut:
Device definition

What is the Tab 4 "Plus" in relation to any other Tab 4? I'm trying to be certain what device this mod will work with. Is the ZA2J0143US sold on Amazon for ~$150 a "Plus" or is the "Plus" a more expensive model tablet?
[Thinkpad Tablet Android Development] Frankyg:
Ah ok that makes sense. I didn't know that encryption had to in place before flashing LOS. I'll try that and report back.
[Thinkpad Tablet Android Development] Frankyg:
Thanks for the advice - that worked! Just setting up now, without Magisk or Dolby at this point. Weird thing (bug?) that play store wouldn't recognize my phone's hotspot as a valid wifi connection to allow setup to continue - even though it was set to update via any network. I had to switch to guest network at work to complete setup. Once setup is complete I'll get back into TWRP and flash magisk and dolby. Hopefully I can get adblock working properly as I couldn't get it working with stock.

Thanks again,
[Thinkpad Tablet Android Development] ammarr:
Glad to hear that.

I believe you may run into issues with that on LOS as well. If you read through the posts, there is some sort of issue (that I don't understand) with mounting the /system partition as R/W, which is something adblock does (I think? to write a custom hosts file). You may have to use a VPN adblock like blockada or NetGuard etc.

Edit: though it seems like there is a solution for that here: https://xdaforums.com/showpost.php?p=79681018&postcount=259
[Thinkpad Tablet Android Development] Frankyg:
After flashing Magisk and Dolby got stuck at boot. Back to recovery and followed the instructions here https://www.didgeridoohan.com/magisk/MagiskIssues. Had to enter console and enter:

echo KEEPVERITY=true>>/data/.magisk

echo KEEPFORCEENCRYPT=true>>/data/.magisk

Then flashed Magisk again. All good. rebooted and checked Magisk using Magisk Manager, which reports latest Magisk and Manager. However, FAILS SafetyNet Check with ctsProfile: False. Not sure what caused this? I don't plan to use google pay on this device, so don't think there will be an impact for me. Be nice to know why it fails, and if it can be fixed.

Then tried to install youtube vanced module from magisk manager, re-booted and got stuck at boot again!

Re-booted to recovery and flashed it from there, re-booted ok.

I'm pretty happy with getting it working, fingers crossed that the battery life is as good as the stock rom!
[Thinkpad Tablet Android Development] Frankyg:
Anyone know if it's possible to extract the apk/files from stock rom that would allow Lenovo Productivity mode to run or LOS?
[Thinkpad Tablet Android Development] diofar:
Dolby

Any help please? I could not install DDP... I tried many different packets and ways.

I would appreciate a step-by-step guide that worked on someone.
[Thinkpad Tablet Android Development] Sparkrite:
Does it, or does it not install ?

If it doesn't what error msg., if any are you getting?

If it does what happens when you select the icon, any error msg., does it force close, does it lock up etc.?

What version of Tab4 10+ ?

Have you tried this TWRP :-

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

You really are giving us very little to go on, most posters problems are because they do not follow the posted instructions but go off doing 'their own thing' and then post wondering why it isn't working.

But you're not telling us what you have tried ?

If you tell us EXACTLY what you have tried then you will get more pertinent replies/help, this also assists in avoiding clutter and repetition.
[Thinkpad Tablet Android Development] diofar:
You are totally right, and sorry for that.

So, first of all I freezed the AudioFX.

Then, I tried all the packages that are included in the DDP post, for Magisk and TWRP. All of them were installed without errors.

However, whenever I pressed the icon to start DDP, the app appeared for miliseconds, and then it was force-closed.

I even installed through Magisk the support for multiple audio modules, just in case.

My tablet is the Tab 4 10 Plus, the 4G variant.

I have not tried the TWRP you are mentioning, because I am afraid of touching again the Recovery. Is it safe to simply install it over my version?

I hope now the info is complete!

---------- Post added at 12:18 PM ---------- Previous post was at 12:15 PM ----------

Yes, the "Plus" is a better version of the "4" series.
[Thinkpad Tablet Android Development] Sparkrite:
Ok, first off you are told in the OP to only use the TWRP version of DPP.

I would advise that you try/use the TWRP I linked to in my previous post. Just flash it as you did any other version in fastboot. I know you say that you have the '4g' version but you still have not said whether it is the 'V' or the 'L' model and what ram/rom derivation. I know that some posters have had problems with the 'V' model (which I have, but no problems) and I have found that the TWRP I linked to is by far the best, at least for me. So flash it and then boot to it.

Then ' dirty' flash the latest update of the ROM from [MENTION=9613333]yener90[/MENTION] linked to in OP.

Flash Magisk, if it didn't auto flash after ROM installation.

Flash Gapps linked to in OP.

Flash the DDP uninstaller:- https://androidfilehost.com/?fid=11410963190603852141

Flash the TWRP DDP, as stated in OP. Note:- If it is flashing correctly there will be a noticeable 'pause' while flashing.

Wipe Dalvik and cache.

Then reboot to system. :fingers-crossed::fingers-crossed:

---------- Post added at 01:22 PM ---------- Previous post was at 01:13 PM ----------

The 'ZA2J0143US' is

NOT

a plus model.

I will not advise further on this as what you propose to do directly opposes the fundamental reason for [MENTION=9613333]yener90[/MENTION] developing this ROM.
[Thinkpad Tablet Android Development] ddkk3000:
well, the big problem is wifi fail. ops
[Thinkpad Tablet Android Development] Sparkrite:
Extremely quiet in here of late. :)
[Thinkpad Tablet Android Development] Android.Sysop:
I already have LOS16 installed (20190609), now I want to install the current ROM for the hotfix and the more recent Android security patch. Can I install this without data loss via TWRP, or is there something special to consider?
[Thinkpad Tablet Android Development] Frankyg:
Yep, quiet!

I asked the above a while ago - anyone know?

Also, is there a way to change how the recent apps/task switcher works? I would prefer to be able to swipe up and down to choose an app rather than left/right. Something like a tweaks package or similar, or magisk modules that can change the stock behavior?

Thanks
[Thinkpad Tablet Android Development] orjanraberg:
Still, with this ROM this tablet is one of the best (if not the best) tablet you can buy now.

What other tablet do you recommend to buy instead?

---------- Post added at 12:22 PM ---------- Previous post was at 12:20 PM ----------

It is probably becuase the ROM works well and people don't have a lot of issues. :)
[Thinkpad Tablet Android Development] ammarr:
You will need to install a third party launcher and then disable the built in one. I believe there are some guides on xda.
[Thinkpad Tablet Android Development] marc_wue:
Disable password after restart?

Hi there,

GREAT ROM - marvelous!

Any idea how to disable the mandatory password entry after re-start in order to unlock via fingerprint?

Thanks!
[Thinkpad Tablet Android Development] Sparkrite:
All options within settings/security..........

But remember Android forces a Pin/Pattern after a reboot even with a fingerprint setup.

But after the first time a fingerprint will suffice to unlock.

---------- Post added at 03:51 PM ---------- Previous post was at 03:49 PM ----------

Yes, just 'dirty' flash the update from TWRP, no data loss.

Don't forget to re-flash 'Gapps' before re-boot, if you are using 'Gapps'.

---------- Post added at 03:56 PM ---------- Previous post was at 03:51 PM ----------

It's not that I'm recommending buying any other tablet, I'm simply pointing out the developers stance

on the reason he developed this ROM in the first place, and it was certainly not to help support Lenovo !
[Thinkpad Tablet Android Development] Lajweel:
I can't get my tablet to boot into twrp recovery. It just keeps going back to the stock recovery. TWRP writes to the device no problem, but I can't get it to enter twrp recovery.
[Thinkpad Tablet Android Development] Sparkrite:
I can only assume that you have a Lenovo Tab4 10 Plus model (you haven't said) as you are posting here.

So, on that basis I respectfully direct you to this, more appropriate thread:-

https://xdaforums.com/thinkpad-tablet/general/twrp-root-tab-4-plus-tb-x704l-f-tb-t3664407

You are not alone, discussed a few times within the linked thread.
[Thinkpad Tablet Android Development] Lajweel:
Sorry, yes I have the x704a model. Every time I try to enter twrp recovery after write it boots to the motorola splash screen twice and wont enter twrp. Super frustrating!
[Thinkpad Tablet Android Development] timmtn:
Just another tester.

ROM seems good.

Fingerprint reader works. Multi user function works, and seems overall pretty fast. Still need to see which apps work and how battery life is.

Actually installed this ROM, because I figured it would take up a lot less space, than the stock rom, which uses half of the internal storage from the factory. Which results in very little actual user storage, especially when sharing with another user.

Despite only being a 500MB img, file it still takes up 8GB when installed..

Is it actually a partitioning issue, rather than actual data ? Is newer android versions just reserving a certain amount from the get go ?
[Thinkpad Tablet Android Development] p3dboard:
Yep, it would be a partitioning issue, the manufacturer has set aside a specific amount of space for the system partition, and a set amount for data.

If you install the disk info app from the playstore you should see how much space is available in the various partitions
[Thinkpad Tablet Android Development] yener90:
Search this thread or the one for 8.1. 704A and V with 2GB RAM 16GB uses different TWRP.

There is no partitioning. System itself uses 4GB, the other 4GB comes from system configs, data files, configs etc
[Thinkpad Tablet Android Development] Lajweel:
Okay thanks
[Thinkpad Tablet Android Development] Nicola500:
Thank you for letting us install LineageOS on this tablet. I will never support Lenovo, it was a very disappointing behaviour from the company.

However, it seems that the ROM works well; I only noticed a slight reduction of the WiFi range, but a higher speed when connected. Regarding Dolby app, I installed Magisk (it's working), disabled audiofx via adb shell and then installed dolby from TWRP, but Dolby app closes as soon as I open it.
[Thinkpad Tablet Android Development] Sparkrite:
A simple search would have shown you this has been addressed before.

However try what I have posted here:-

https://xdaforums.com/showpost.php?p=80106831&postcount=501

I don't know if it worked for [MENTION=5234015]diofar[/MENTION] (he didn't come back to let us know) but I know it worked for me.

I experienced the exact same problem as yourself and have found it down to different TWRPs not flashing DDP correctly/differently.

Here is a link to the TWRP I use:-

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

See how you get on.............
[Thinkpad Tablet Android Development] kcb064:
Having issues installing on TB-X704L.... Flashed the TWRP using this version for LTE twrp-3.2.3-0-tb_x704l.img. Followed the guide and formatted and wiped Dalvik and cache. Flashed the latest version and GApps, wiped Dalvik and Cache again and reboot.

I've done it several times and each time I get stuck at the Lineage OS loading/splash screen with the circle traveling the curved line. I've let it sit for awhile and it doesn't get past that.

Any ideas? I've tried the previous version of the ROM and various Gapps from the recommend pico up to full all with the same outcome.
[Thinkpad Tablet Android Development] Storky71:
I have had the same issue and after several tries, i have installed the twrp version twrp-3.3.1-0-X704F.img.

And the first Installation afterward was successful.
[Thinkpad Tablet Android Development] kcb064:
Legend! Worked for me! I read through a bit and a lot had referenced the L TWRP so I played it safe with it but I just did with that version and worked on the first go.
[Thinkpad Tablet Android Development] hultai:
I have problem - system wants unknown password after reboot.
[Thinkpad Tablet Android Development] Nicola500:
I tried this before writing.

However, yesterday I found the problem: I was using the latest version of DDP, while the one that works on my tablet (L version) is the first one that is in the same folder of the uninstaller. Regarding the twrp, I installed the one you linked at the beginning, so I don't know if it's working on the latest one. Are you using the latest version of DDP?

Thanks for the help!
[Thinkpad Tablet Android Development] Sparkrite:
Good to hear you now have it working, thanks for letting us know.

I'm not using the latest version, just the one linked to in the OP as we know that works.
[Thinkpad Tablet Android Development] bwguy:
Wow what a difference now I've installed DDP. I've had the volume on max ever since I installed the ROM and was struggling to hear some things but now DDP is installed, the sound is much better. I used the system app remover from the play store to get rid of AudioFX first then installed DDP.
[Thinkpad Tablet Android Development] paul9619:
Has anyone got Netflix working with magisk in the UK? I cannot seem to get it to work
[Thinkpad Tablet Android Development] Sparkrite:
Working perfectly, version 6.26.1
[Thinkpad Tablet Android Development] max_work:
i don't use it, but did you hide magisk? also magisk package?
[Thinkpad Tablet Android Development] Sparkrite:
No need to, Netflix works fine on all my rooted devices, a mixture of SU and Magisk.

It's not like 'SkyGo' et al, AFAIK Netflix doesn't even check nor care.

Anyway this is off topic for this thread.
[Thinkpad Tablet Android Development] thefear900:
Hello, I wish to install LOS to my TB-X704V. I am reading that other V model users are having issues. Could someone tell me if this is working fine now, or if there are any alterations to the instructions or files I should follow? Also, would productivity mode be lost in this OS (not a deal breaker)? Working 4g would be a big plus, but I do not see that in the working list.

I'm a noob and I might brick it, but better than staying on 7.
[Thinkpad Tablet Android Development] Sparkrite:
I'm using it as a daily driver on my 'V' model and it works fine ( except mic. not working).

Productivity mode is lost.

Just follow the instructions EXACTLY as given and you should be good to go.

Nearly impossible to fully brick this tablet.
[Thinkpad Tablet Android Development] thefear900:
No mic huh, that's kinda a no-go for me. I do use the Google Assistant and phone calls on it a lot, so I might hold off until a fix. But thanks for letting me know.
[Thinkpad Tablet Android Development] Fagi6089:
Stuck on the boot image

Hi,

I have done all as suggested, and the screen is stuck at boot image of lineage. It keeps showing the lineage boot graphic. can anyone help?
[Thinkpad Tablet Android Development] apotsi:
Which TWRP did you use ? What tablet do you have ?
[Thinkpad Tablet Android Development] Fagi6089:
I have used TWRP (twrp-3.2.3-0-tb_x704l) as in the first page, I use TB-X704L.
[Thinkpad Tablet Android Development] yener90:
I really don't know where I linked to it, but I updated a little point, which should lead you to the correct TWRP.
[Thinkpad Tablet Android Development] Fagi6089:
Shoul I have used the 3.3.10 twrp recovery instead?
[Thinkpad Tablet Android Development] Sparkrite:
The mic. worked in all [MENTION=9613333]yener90[/MENTION] 's roms up till codeworkx releases.

AFAIK all worked Ok in this version from [MENTION=9613333]yener90[/MENTION] dated 14th May :-

https://androidfilehost.com/?fid=1395089523397965926
[Thinkpad Tablet Android Development] yener90:
The thing is that there is literally no change. Just forgot to add the audio files, which I uploaded here as attachment. And this didn't fixed it for V.

Could you extract from my working version the boot.img and flash it into the latest version and tell me if audio works? So we would know, where the issue is.
[Thinkpad Tablet Android Development] yener90:
Of course. I would add L version if that would be required.
[Thinkpad Tablet Android Development] Fagi6089:
Thanks, It did work. Just took time to boot though. Updated the TWRP to the latest edition and reflashed the ROM.

Really appreciate the quick response and guidance....
[Thinkpad Tablet Android Development] Sparkrite:
There has to be some change somewhere though.

I used TWRP to restore the boot.img only, from the last 'working' backup I had of your rom.

Wiped dalvik and cache and while tablet boots and accepts fingerprint and pin it never fully starts just stays at 'tablet is starting' for a while then blank screen.

Have to re-set but no change.

See Pic.

Edit: Ok, so I did exactly as you advised and extracted/flashed the boot.img, but unfortunatly the exact same as above.

Really appreciate the help [MENTION=9613333]yener90[/MENTION].
[Thinkpad Tablet Android Development] yener90:
I checked other way. -Use latest ROM and try to flash attached file:
[Thinkpad Tablet Android Development] Sparkrite:
Flashed it, no difference, I'm afraid.

My bad, but forgot to mention, mic. works when using camera to video record but not anywhere else ie. Google assistant, sound recorder etc.

Thanks again for trying.
[Thinkpad Tablet Android Development] black.kahder:
I also decided to try the Dolby app recently, but it crashes like Nocola above said.

Does anyone have Dolby working, and if so, what is the process you had to do for it to work?
[Thinkpad Tablet Android Development] apotsi:
Which version did you try to install ? Hopefully not the latest version.
[Thinkpad Tablet Android Development] dmaco:
Hey, going to flash this, thanks a lot to [MENTION=9613333]yener90[/MENTION] and others, brilliant work. Beer on the way. I was hoping to breathe new life into my TB-X704F.

Do you know if this ROM version is near closing for an official "Submitting a port" to LineageOS Project?

Is this planned for at some stage?

Thanks.
[Thinkpad Tablet Android Development] yener90:
It's already submitted in July. Still waiting for approval.
[Thinkpad Tablet Android Development] dmaco:
Good to hear, did you get a response from them, or know the typical turn around time on that?

Also, will the "official" LineageOS version, be essentially your ROM?

Finally, what is the LineageOS official ROM "upgrade app", I read there was an update app, which loads the official LineageOS ROMs for your device.

Thanks.
[Thinkpad Tablet Android Development] yener90:
I don't think this tablet will ever be included to LineageOS. I mean, we are waiting since July and it's still under approval.

It can happen that it will stay under waiting for approval forever.

EDIT: Oh its since Juni, still no approval.

https://review.lineageos.org/c/LineageOS/android_kernel_lenovo_msm8953/+/249916

This for example needs approval. The maintainer of Lenovo kernel needs to give approval so this tablet gets included.
[Thinkpad Tablet Android Development] gene2:
When i want to use LineageOS with root do i need to root the device before flashing lineageos? Is the boot partition - the partition that is patched when using magisk - also changed or is it the same as when i use a stock rom?

At the moment i have 2 problems: when i wipe using this guide https://andi34.github.io/faq/faq_twrp.html twrp hangs when wiping system. when i don't use advanced wiping and use "normal" wiping are is fine, but after that twrp hangs when flashing LineageOS.
[Thinkpad Tablet Android Development] dmaco:
Is there no one you can reach out to within LineageOS or Lenovo?

This guy seems to have a contact at Lenovo Engineering, might be worth reaching out to?

https://www.reddit.com/r/LineageOS/comments/a12v69/lineage_os_on_lenovo_tab_4_10_plus_tbx704l/

Shame if all this work doesn't get included in an official LineageOS supported release.

There is also a lineageos dev channel in Slack. Might be worth chatting to something there?
[Thinkpad Tablet Android Development] Sparkrite:
You root after you have flashed Lineage as the boot partition is patched by Magisk.

This begs the question:- Why are you not following the advice/instructions given in the OP of this thread ?

While the link followed does also wipe 'system' you are advised to wipe only 'data' as per method given there.

That is assuming that it is indeed the ROM from the OP that you are trying to flash on a Lenovo 10" Plus tablet, as you have omitted to tell us both.

If the answer to the above omissions is 'Yes' then it is only necessary to wipe 'data' as per OP.

Also what version TWRP are you using?

NB:- I think you may have to start from scratch, ie. flash stock ROM, allow it to boot and then follow instructions in OP, as the encryption setup may have been compromised.​
[Thinkpad Tablet Android Development] PiereMallao:
Edit, Please delete.