yashsingh1/xdaforums huggingface dataset:
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Just using this rom for a couple of days and it's pretty good, quite fast and stable, thanks to all of the devs!

Bugs I can confirm:

- Some screen flickering on bright content.

- Clock app crashing.

Questions:

1) I'm new to devices with dm-verity and I don't understand if the recommendation to NOT flash TWRP and just boot it from fastboot makes sense with Lineage installed. We are not going to get OTAs from Lenovo and system and boot partition are already non stock so, is it ok to have TWRP flashed to the device or not?

2) I understand that stock ROM forcefully encrypts the device, but after installing Lineage, Settings > Security shows my tablet as encrypted even though I never actually did it.

Does Lineage still force encrypts? Did I need to do something else to disable this prior to installing Lineage? Is it recommended to have it encrypted or not?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
The flickering is most likely a hardware bug. Clock works fine here. Did you try to clear the data for the app?

1) You can flash TWRP. Only when you go back to stock firmware you will have to restore the stock recovery to receive Lenovo OTA updates

2) When wiping data before flashing Lineage the encryption is still present and Lineage just uses it. If you want to get rid of encryption you will have to "format data" instead of just wipe. Wipe just deletes files in /data and excludes /data/media which is internal storage. Format data actually reformats the data partition without encryption and hence also cleans internal storage.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] AndroidSword:
Sorry for noob questions, but is TB3-710F supported... I am running 5.0.1... Any help would be appreciated...

Plz help me with any steps I need to follow in order to get this ROM running on my device... Thanks....
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
No, not supported. It's a completely different device.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
It was after a clean install there was no app data to clean. Anyway I managed to fix the clock app touching app info options, not sure what's needed but giving it permissions, background data permission and cleaning app data seemed to fix it after a few crashes.

So the flickering is not related to CABC? Is this confirmed to be disabled all the time?

About encryption, is there any disavantadge keeping it encrypted if I going to keep using Lineage? Will it affect some app or tablet functionality? What is better encrypted or unencrypted?

Thanks again for your work!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hard_snake:
Just got my tab arrived today and I have followed your guide to flash TWPR successfully. When I try to flash the rom zip file, it give me error like:

Updater process ended with error: 7.

Does anyone encounter this before? Also followed the solution provided here:

https://xdaforums.com/redmi-note-3/how-to/guide-error-7-solution-flashing-7-1-2-t3621767

and here:

https://xdaforums.com/showthread.php?t=1304930

but still get the same error.

I am so exited to try this wonderful rom so if anyone can enlight me on this would be much appricated.

By the way, thanks very much for all your hardwork guys.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
The flickering is not related to CABC and does not happen with all devices. [MENTION=6347536]matshias[/MENTION] has disabled CABC completely in our kernel.

Shouldn't make any difference in speed or functionality.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
How do you get Netflix on your tablets after moving to lineage?

Edit: I figured it out, netflix do not like non stock roms so netflix do not show up in the store, but you can just find the apk, and then it works fine...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] lonespeaker:
looks like you forgot to do a factory wipe in twrp. also remember to backup your stock rom in case you want to go back
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] snady:
Hah, thanks for the advice. The clock is working now.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] FrankBullitt:
Apkmirror has what you need. :)

Edit: meh, misread your post and didn't understood you had already found the solution. [emoji14]
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] deecept:
Hey guys! Been a while! So happy to see this thread still going strong :)

Question tho, what could I supply to enable sim- support on Los? Id be happy to help!

Keep it up and keep it cool ;)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
A device ;)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
I got cellular data connection + SMS to work (with permissive SELinux).

Still need to:

* figure out why a stupid Android.mk target doesn't work

* restore proper SELinux file contexts

* Voice calls don't work. Investigate why.

* Hotspot doesn't work. Investigate why.

I'm hoping I can push my patches (at least with permissive SELinux) to Github this evening. We can discuss more over PM.

This screenshot will have to do as proof for now.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] deecept:
Awesome! I'll help if I can :)

[MENTION=2806083]DerEineDa[/MENTION] That can be arranged if needed. But it seems you and [MENTION=7398554]vladimiroltean[/MENTION] should talk?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
It seems it will show up if you pass safetynet test, using magisk.

But even with that it looks like it doesnt stream in HD anyway.

Anyone knows if Netflix works in HD with stock ROM?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
Ok seems you are right, but iam not even rooted...

Netflix seems to be sd, but i still have L1.

Yes netflix hd is supporting the stock rom.

Do you have links for magisk and su binary?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hard_snake:
It works now!

Thanks for your help. I am on this rom now. :)So far had no issue with it. Will keep health checking.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Gogoho:
great to hear.. i want to use lineage long time but not miss on lte...

voice calls dont work by me on stock rom either.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Did anyone actually check if Netflix streams in HD with stock?

From what I could research about it, Netflix only streams HD to a server side controlled list of approved devices, not to all Widevine L1 devices:

https://xdaforums.com/android/apps-games/app-netflix-hd-widevine-drm-l1-devices-t3307241

Anyone knows if Yoga Tab 3 Plus is in that list?

Magisk is right here on XDA:

https://xdaforums.com/apps/magisk

But like I said that's not enough for Netflix HD, I got it installed and it doesn't work in HD anyway.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
No i do not know how i whould cheack that, but my eye says it is lower res on linage that on the stock rom...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
You can check by playing back this video in Netflix. It shows resolution and bitrate:

https://www.netflix.com/title/70136810

---------- Post added at 02:17 PM ---------- Previous post was at 02:10 PM ----------

Netflix used to have a list of devices that support HD. Our tablet was not on the list. But the list doesn't seem to exist anymore so somebody has to confirm with the test video if our device supports HD in stock and/or Lineage.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
Yes but for some stupid reason it is location restricted, so i cannot...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
In kernel auditor i see that two cores are always off, does anyone know a way to have all the cores on?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] android_53:
Just test with another app in multiwindow mode...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
No, they shouldn't. I changed some parameters 2 months ago to keep them disabled, if they are not needed. It seems to be really hard with ordinary usage to keep even the LITTLE cores busy, so the BIG ones are not needed most of the time..

However some people complained about a lack if agility compared to the stock ROM, which is most likely due to our more conservative settings. There is certainly room for improvement, so I encourage everyone to play around with the settings and to post their results!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] snady:
How do I do that?

Also: Just for kicks, I hooked the tablet with lineage to an OTG adapter with an USB Hub, Keyboard, Mouse and USB Sound device attached. All devices are working amazingly well.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Even running Geekbench some of the cores are idling during most of the tests but all them are active at the same time at least for some time.

---------- Post added at 06:42 PM ---------- Previous post was at 06:40 PM ----------

[/COLOR]

I think all of Netflix test videos are restricted to the US. I cannot access them either from Spain...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
Use Kernel Adiutor, there are tons of settings to play around..

Actually I benchmarked some settings which could be snappier, but the only thing which offers measurable benefits is overclocking (which isn't available at the moment because of some internal dispute).

---------- Post added at 06:49 PM ---------- Previous post was at 06:43 PM ----------
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
I have just discovered that hbo will not play at all, anyone who have luck wtih that?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
Does anybody know hot to have the shortcut of Dolby in Lineage as there is in Stock?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
The video works in Germany. Too bad I don't have DRM L1 anymore :(
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
ok so with a vpn to germany i can test it...

Edit:

The vpn trial i used did not work when i tryed there german servers (i got a message in the netflix app saying "please do not use proxy") and when using the amarican it was so slow that it played in 320*640...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
I tried it with a free VPN and even though the video shows up as available in the app's UI when I tried to play it I got nagged about using a proxy and playback was cancelled. Maybe someone with a paid VPN or a real German ip will be more lucky...

I got Amazon Prime video streaming working but also NOT in HD, not sure what are Amazon's requirements regarding DRM...

On a side note: only to default Lineage wallpaper seems to be in the native screen resolution, the other are lower than the display resolution and thus look really awful on the 2K screen. Could this be a bug or is it just that the artwork sources upstream are just in 1080p resolution?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
The requirements of Amazon, Netflix and alike are so high, that even most unmodified devices are not allowed to play HD content. Many don't even support L1 DRM..

Unfortunately, even with intact DRM key we won't get HD without modified apps.

About the LOS wallpapers, there is nothing we can do about that, just download nicer ones.. ;)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Unfortunately I couldn't get any further work done so far (weekend is over).

Maybe somebody with more spare time than me can help until I find the next free window to work on this.

* X703L device: https://github.com/vladimiroltean/android_device_lenovo_YTX703L

* Common device: https://github.com/vladimiroltean/android_device_lenovo_msm8976_common

* X703L vendor: https://github.com/vladimiroltean/android_vendor_lenovo_YTX703L

* Common vendor: https://github.com/vladimiroltean/android_vendor_lenovo_msm8976_common

* Common (and only) kernel: https://github.com/vladimiroltean/android_kernel_lenovo_msm8976

Some things to keep in mind:

* I dumped the whole initramfs in android_device_lenovo_YTX703L and most of the system image in android_vendor_lenovo_YTX703. This insanity amounts to about 1 extra GB of downloaded space. Sorry for that.

* I always get this inexplicably stupid error: "

ninja: error: 'device/lenovo/YTX703L/rootdir/init.class_main.sh', needed by '/storage/android/lenovo-x703l/lineage-14.1/out/target/product/YTX703L/root/init.class_main.sh', missing and no known rule to make it

" and haven't been able to pinpoint it. I do have the proper file in place (or so I believe).

* To get around the issue above, you currently have to: (1) revert these two commits, (2) do a full build (mka bacon) (3) manually copy device/lenovo/YTX703L/rootdir/init.class_main.sh to out/target/product/YTX703L/root/, (4) do a rebuild of the kernel+initramfs (mka bootimage) (6) install zip from TWRP (7) fastboot flash boot <your_patched_boot_image>.

I wish that writing the indications above wasn't necessary, but I'm simply too pissed from tryng to debug that error, and will refuse to spend anymore time on it.

* Here's the .repo/local_manifests/roomservice.xml I am using:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<project path="device/lenovo/YTX703L" name="vladimiroltean/android_device_lenovo_YTX703L" />
<project path="device/lenovo/msm8976-common" name="vladimiroltean/android_device_lenovo_msm8976_common" />
<project path="vendor/lenovo/msm8976-common" name="vladimiroltean/android_vendor_lenovo_msm8976_common" />
<project path="vendor/lenovo/YTX703L" name="vladimiroltean/android_vendor_lenovo_YTX703L" />
<project path="kernel/lenovo/msm8976" name="vladimiroltean/android_kernel_lenovo_msm8976" />

</manifest>

Let me know if you get stuck with the build, there's a chance I've seen the issues you're dealing with too.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Gogoho:
i still have stock rom on mine (waiting for lte support) and also in the amazon video app hd doesent work. amazon also mentions that on their site.

but if i use amazon video in the chrome browser (loading desktop version of the site) i can stream in full hd.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] tombraga:
Is this not the subforum for wifi and not lte variant?

Should be handled separately.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
There is no subforum for any of the yoga tabs, even tho it would be nice but proberly also pready empty...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] tombraga:
OK, but when you look on the 1. page you will see that the handled rom here is for the wifi version.

Sorry, but I really don't want to read about LTE issues when I get notifications in my XDA app about new postings.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] sth0r:
I do not know who to ask to make the subforums, so if you do i guess we have the solution.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
New release uploaded!

Changelog:

Added newest security patches to the kernel (special thanks [MENTION=411194]BlackAfghan[/MENTION])

Reduced brightness of lowest possible dimming of the display, for being easier on the eyes in the dark.

Updated to latest LineageOS sources.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] pandrewd89:
Will it at all be possible for a future ODA update to official rom when dev releases it, without having to reflash manually?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
Yes, we are working on it! But it will take some time..
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] pandrewd89:
Awesome. As long as I don't have to manually reflash anything to get an official build then I'm happy.

Can't wait til its available OTA because right now Lineage OS OTA update menu says check for update failed.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Anyone knows which one of the many mixer_paths files present in /system/etc is the one controlling this device sound?

I tried to edit it to increase the headphone volume but it didn't work...

Incidentally anyone know of an updated version of Alsa Mixer that works with this device? I don't know if it is because of Nougat, the arm64 arch, or some toybox incompatibility, but it didn't work (I normally use it to find the right file control file that needs to be modified...)

---------- Post added at 12:49 AM ---------- Previous post was at 12:33 AM ----------

Not sure what you mean with anything but theoretically wouldn't you just need to dirty flash the new zip to update?

At most you would need to add the SuperSU / Magisk / su addon zip to re-root, but you would need to do it anyway with an OTA...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
And here is an alpha-grade build for the YTX703L.

* Cellular data connections work (at least for me)

* Wifi hotspot works

* SELinux is still permissive (not good)

* Voice calls don't work (haven't really looked into it)

I did also push my latest changes to Github, for whoever wants to try and work on this.

https://drive.google.com/open?id=0BycBHkd7fD4AQjRsREd3M3ZLWHM
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
Did anyone try unofficial xposed for Nougat?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Gogoho:
voice calls dont work on stock rom either.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
I have installed this rom two days ago and it often crashes and I need to reboot the device from the power button, whar can I do?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
Details please !!!

Which version are you using (date, extended or pure)?

When exactly does it happen and what exactly (freeze, or black screen, while using any specific app)?

Did you do any dirty flashing? If so please do a factory reset and check if the crash still occurs, otherwise it could be anything.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hmsq:
Just played it on my tablet, and I can confirm it is not HD Netflix same goes for Amazon Video.

Forgot to mention I'm running lineageOS.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
Hey guys, in case you haven't seen it yet, the extended version has the ability to overclock!

Well it's not really overclocking, since the BIG cores were underclocked by Qualcomm and a couple of months ago they released an version of our chipset without the break.

Three months ago, I tried if the clocks of the new chipset work with ours, and they do! That gives us a modest CPU speed improvement of 15% (without voltage increase) and about 10% for the GPU. Not that much, but notable and most likely safe!

You need an tuner app to increase the maximum CPU/GPU clocks though, since they are restricted during boot for maximum safety..

Enjoy! :good:
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Interesting, can you install the official GApps on the extended version instead of MicroG?

I would be interested in substratum support and this, but I can't use the tablet without a play store...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
Of course :o I am using OpenGapps nano along with Substratum and no issues with it.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
I wasn't sure if the extended version came with MicroG and Substratum built-in or just added support for them. Maybe its just me but its not really clear on the first post.

Can I migrate from the pure to the extended without wiping anything (but cache and dalvik)?

Also I'm getting a lot of these errors spammed in logcat:

07-27 15:35:49.595 E/QCOM PowerHAL(1061): Failed to acquire lock.
07-27 15:38:04.432 E/SpannableStringBuilder(30148): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length

I'm sure it's nothing important because the device is rock solid, but specially the PowerHAL one seems to happen every time you touch the screen...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
Yes, everybody could use or switch to the extended version! If you don't install Substratum or MicroG, you won't see any difference, since the changes only affect the code.

The only reason it exist is due some internal argument among the devs about offering "pure" Lineage..

---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------

Thx, it's on our To-Do-list.. Some blob is not correctly implemented.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
Well, the "pure" LineageOS is also the slightly newer edition, because Substratum repos are always a bit behind the upstream repos.

Most other ROMs fix the "QCOM PowerHAL" log spam by completely removing the qcom power hal from the system. I already tried to fix this "the correct way", but had no success.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
Yeah? First time I am hearing about this, and I should know, as I am the main creator of this ROM.

Don't hold your breath waiting about this :) This is not as easy as it may sound and also pretty low on my priority list. Internally there is talk going on about applying to LineageOS to become an officially supported device, which would solve this issue automatically, but we didn't decide yet if this would be worth the effort.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
Can i dirty flash the extended over the basic?

After installing Lineage my speaker emittes strange sounds

---------- Post added at 08:19 PM ---------- Previous post was at 08:17 PM ----------

How to overclock?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] matshias:
It seems we found and fixed the issue. You just have to wait for the next release.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
People, this took many hours for matshias to debug! Huge respect for this!

You mean this really quite hissing noise when the display is on? Yeah, that's normal. This is a side effect of my workaround to make the audio work with the wrong kernel that was released by Lenovo. Still waiting for the correct kernel...
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
Yes, you can dirty flash...

Which kind if noise?

Use this app: https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] danielexda:
Do i reinstall gapps?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] BlackAfghan:
No! just dirty flash... both versions are 99.999% the same.. if you don't use Substratum or MicroG you can switch between them without doing anything!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hmsq:
Just to update you guy's, I went back to stock Lenovo and ran the Netflix video again, I can confirm it will do 1080p. So this confirms to me the DRM is ok on my tablet, it's just Netflix and lineageOS not playing nice together.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
One interesting bug is that the Android framework doesn't seem to understand the orientation of the screen really well. If you turn on Settings -> Buttons -> Reorient, you can notice that in landscape mode, the volume up and down buttons are always in reverse (regardless of the tablet being upside-down or not).
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] FrankBullitt:
Awesome. You rock!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Gomezie:
Awesome, dirty flashed the latest and running like a dream..thanks op!

Anyone managed to convince flar2, or other Devs to create a custom kernel yet? My memory is hazy but seem to remember talk about it at some point.

Kind regards

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

Are you overclocking just the big cores, or little cores also?

Thanks mate