yashsingh1/xdaforums huggingface dataset:
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hoodoo_mc:
unable to unlock bootloader

Hi. Hope someone can help me out.

I can't even get past the 'unlock bootloader' stage.

I have set usb debugging, and oem unlock in developer options.

I fastboot, and then boot to bootloader.

device serial number is displayed, but request for get_unlock_data fails.

I have updated the android drivers on my PC (windows 10) and installed the adb software, as highlighted in this link (am I allowed to post links to other sites here??)

http://www.hardreset.info/devices/l.../bootloader-moto-unlock-lenovo-motorola-root/

I just get the "FAILED (remote: unknown command)" result with any any of the commands which interrogate the tablet (both mfastboot and fastboot)

Example screenshot provided.

Any help would be much appreciated.

If this is an inappropriate thread to post this question, please let me know, and I'll remove it.

cheers,

mc.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
fastboot oem unlock-go
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] hard_snake:
Great news! Thanks guys for all your hard work to make this tablet greater. Looking forward the official support from Lineage.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Porting the YTX703 sources to the Tab 4 is theoretically possible, since they have the same SoC or very similar ones. You can try to use our sources and hack at them until you get something to boot, and we happily accept pull requests once you do so.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
Thanks for all the hard work! This tablet would only be half as good without the work you guys put into to it.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] TPNT:
Hi,

I was wondering if this fixes the issue with no controller support that the original rom has?

I didn't know this was an issue and went to use a controller to find it wasn't support, big shame considering how good the tablet is otherwise.

Thanks for your time creating it thus far!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
This is new to me. What controller?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] toanau:
Anyone having no video on YouTube with the latest build? There's only sounds
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Video acceleration is somehow broken, 4K video cannot be played anymore - just a slideshow (but little faster than without it).

Wallpaper is sometimes displayed with random black lines.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Can you link me to video and explain expected vs actual behavior?

Same for wallpaper.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] TPNT:
The controller I was using was a eBay cheap Xbox 360 Wireless controller. I did try using my wired controller but there was no difference, it just sat there and flashed. It does work however on my Nexus 6 completely fine. I am using stock rom and 6.0.1 on the tablet.

From looking around the Lenovo forum they have disabled controller support on many tablets they sell.

So, I was wondering if this ROM fixes that issue and controllers work fine or whether I might be out of luck.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
So video is VP9 (Youtube 4K) with MX Player (HW+,HW) and wallpaper it's a rare problem I think after tablet shutdown (fresh start).

I try to link stills and try some other combinations of 4K (H264/HEVC) today - in the evening.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
So you haven't even tried Lineage then? If you try it and it still doesn't work, you can give me some logs (logcat and dmesg) and we may figure something out.

Do also post links to your actual units (since I have no clue about game controllers)

---------- Post added at 10:01 AM ---------- Previous post was at 09:57 AM ----------

Maybe you didn't get me clearly. I am trying to reproduce the problem, and for that, I need to see what you're seeing. I hope it isn't difficult to post a link of a YouTube video where you notice the issues.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Of course, I don't have tablet in hands right now :) that's why.

Anyway I play local files (ripped from YT in 4K VP9 format/mkv) from SD card in MX Player (HW+ decoder) https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad

Youtube app I think don't allow resolutions over 2K but I will try it as I can.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
thank u man cant wait to use lineage 15.1 on the device :) and much thanks for the auto focus issue it was a problem even on the stock rom and u guys solve it :)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Hi,

thank you for your time,

problem with wallpaper disappeared after I set it again with same picture. Maybe it's OK and some glitch happened to me.

What is really not working is video playing - Youtube plays audio only (picture is black), MX Player cannot accelerate 4K video (h264 and vp9 tested - got approx. 2fps), but can play 1080p.

Some clue may be - this is Wifi version yt x703f (not LTE).

Expected behavior is Youtube can play video up to 2K and MX Player can play 4K (VP9, H264, HEVC 60fps).

Do you need some sample file in mkv in 4K? Maybe in LTE version everything is OK.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Yes, please link me to a sample video with an offending codec, as well as YouTube link that renders black to you.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Nothing can be played on Youtube it looks like this:

http://janforman.org/files/youtube.png

(there's no resolution settings and blank screen)

Sample 4K video you can download here:

http://janforman.org/files/testVP9.mkv
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
About the wallpaper i have changed my wallpaper (background picture) and all is good everything working fine

Could u give me the YouTube video link so I can check it on my device.? I too have wifi version
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
I can confirm on the latest lineage rom the 1440p YouTube video is working just fine
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
ok, have you format /system before install?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
I took a backup of the apps to apk photo music and video then did as this pic showing
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Well, have you? YouTube is supposed to work up to 2k.

As for VP9, you obviously know more about it than I do, since I just learned about its existence. Do you know if it ever worked in Lineage and is a recent breakage? Does the stock ROM have hardware codecs for VP9 at all?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Yes I wiped /system

Yes VP9, H264, HEVC works with previous LineageOS and stock ROM.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
I already told u exactly what I did to install this rom and it work just fine and give me some time to check the 4k video on mx player

As for Vp9 what is this?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Well, then seriously post a link on YouTube that doesn't work for you. Maybe your "nothing works" and my "everything works" simply don't intersect.

I'll also look into the list of OMX codecs that I had to remove for this build and figure out which one is responsible for VP9.

Now is the time: are there any other codecs that don't work?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
Got what u MEAN now I understand I have downloaded and run amine episode 1920x1080 was over 500mb 24 min so yeah it support hevc and h264 and vp9
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
1080p works for me too 4K not, but maybe everything must be wiped as you do.

Edit:

Removing and reinstalling Youtube helps with blank screen. So everything must be wiped before install this version.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
I thought so since the apps use the system and the system has been changed so everything must be deleted
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
There are a lot of things that can introduce variations.

Whether or not you flashed the same OpenGapps as you had before, whether YouTube was part of the Gapps package or installed from the Play store, etc.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
I wipe all now, flashed Gapps after LOS, so this working properly. Youtube is fine (can switch to 1440p - it's slow).

But still I cannot play 4K video anymore in MX Player got approx 2fps max. (h264 and VP9 tested), 1080p working, but maybe drain more power.

Before (20180224) I can play 4K/60fps in h264/vp9/hevc. Can that be related with display rotation?

edit (mx player results):

CPU decoding: 4K H264 can be played but visual quality is low, VP9 and HEVC is unusable

GPU decoding: 4K everything looks same ~2fps (maybe HW acceleration is enabled, but don't work as expected)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] cartman56:
Dude. actually you don't need to wipe out the internal storage ?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] NY1M6gTOR3Rj6AGKXTcx:
I can confirm that there is a problem with video playback happening with the latest ROM. I did not flash dirty and wiped /system before. Now I have frame drops and out of sync audio with both local videos and content streamed from different sources. Local videos have h264 and AAC, not sure about the online videos.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Experimental build #2 (lineage-14.1-20180407-UNOFFICIAL).

Changelog:

* Statically select media codec configuration for our soc (msm8976). This should fix hardware acceleration for VP9.

* Update GMS identifier to the stock Nougat S000963 image.

You should follow the (by now standard) procedure of wiping /system prior to installing this build.

Please note that YouTube (perhaps other apps as well) seems to cache the media codec configuration. Therefore you also need to wipe YouTube's data (or reinstall it altogether) before it picks up the new codec configuration.

Download links:

* YTX703F: https://drive.google.com/open?id=1okpOsOk-zqMGEwsx7b5G9O8TXWuxbiNd

* YTX703L: https://drive.google.com/open?id=1hXlnKpWVWWKZ0C82AtxGu1rmzGLs6ScD
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
Does not matter
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] NY1M6gTOR3Rj6AGKXTcx:
Thank you. Will flash it tomorrow.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
I'm having issues with settings and system ui crashing during boot. Th tablet is still usable afterwards though its something the devs might want to look at.

I'm having some aswell unfortunately
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Nope.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
I fixed it by installing the new test version while formatting the system partition.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
OK downloaded and checked on hw decoder no video playing stuck with image of the the first sec of the video and on hw+ decoder it play video but lagging
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] toanau:
Anyone having issue with opening AdAway app? I installed it but can't seem open it. I did an complete clean install including wiping internal with latest build. FYI YouTube works now, but really choppy
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
Working fine on my machine. Did you reinstall/configure Magisk after the clean install?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] toanau:
What do you mean by reinstall and configure Magisk? I flash magisk after flashing the rom and gapp
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
That was my guess, that you had forgotten to reflash Magisk.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] janforman:
Same for me. But it's not related to VP9 other formats won't work too.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
FYI, I cannot reproduce the claimed codec issue on the latest build, on either the F or L device.

I had some problems with local playback, but it turns out they were because of some stupid permissions on my device.

So please help by giving me more context on how your issues can be reproduced.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
Like how can we be more specified? And u can try it by ur self for better result and we can send screenshot if necessary
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Actually, more useful than a screenshot would be:

* file you're trying to play (along with its location in the filesystem)

* app you're using to play it

* logcat and dmesg, posted on Pastebin or whatever

* specifying whether you're on the F or L (although I can probably deduce that from the logs)

* a guarantee that you're really running the 0407 build

I just re-downloaded and re-flashed the 0407 YTX703F build + janforman's testVP9.mkv + MX Player, and I simply don't see the issue.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] toanau:
With latest build I am able transfer file between devices though WiFi at normal speeds. Thank you
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
So you guys all ok with video playback? I want to promote the 0407 experimental build to unofficial and link it in the top page.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Felheipe:
It is working fine for me. But I pretty much only use it with newpipe.

And thank you for the quick fix.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] ikarus.nc:
Hi guys, Thanks for your hard work! I have a question, someone installed viper4android with any version of this rom? I have the wifi 2/24 version, but even with older ROMs I never succeeded, there is always a problem with the driver. Thanks in advance
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] cartman56:
Flash vladimiroltean's special build for wifi 2018.3.05,it may help you out,searchs in page 199☺️
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] ikarus.nc:
Sorry, I didn't find the post or the app you're taking about :( can you be more specific? I see 129 pages, looked for Viper, v4a or other keyword related, post from vadimiroltean, post from March and April. I didn't find nothing, I feel a bit stupid XD
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Don't feel bad, I don't think that viper4android has been discussed in the YTX703 context (at least on this thread).

I can't help you because, honestly, I don't quite care about it. I think I tried it once on my phone, noticed it's asking me to make selinux permissive, then I thought what a piece of #### it is and removed it. I don't know that it's even properly maintained anymore for newer versions on Android, is it?

I think [MENTION=8570006]BELONGNOWHERE[/MENTION] might be mistaking viper4android with another audio sound effects plugin, Dolby Atmos. We used to do custom builds that supported that, but since Matthias got less involved with the project we abandoned those too, since nobody really cares, I'm afraid.

Would you care to explain your use case better, maybe we can help you in some other way?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] ikarus.nc:
Every version of V4A I tried have problem with Driver, the status is always abnormal. I currently use a package of v4a from magisk repo on my phone, but out there is full of version of Viper currently maintained. I assure you that Viper let you enhance the audio experience of your device really a lot. Currently on tablet I have the atmos package from first post, audio is quite good (if you don't care about the hissing at low volume, but I think I have to live with it). I just wanted to try Viper also here on lenovo, if no one has experience with it maybe I'll just continue to experiment with other packages. Thank you for your time!
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] amphi66:
Started with a new stock 7.1.1, then successfully rooted, installing TWRP 3.2.1-0 & SU 2.79.

Downloaded & flashed YTX703F after wiping System & allowing System to be mounted.

Flash failed w/ "error 7" and a message referencing incompatible data.

Any advice would be appreciated.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
Going from stock to Lineage (and back), you always need to wipe the /data partition as well.

2 minor quibbles: if you ever wanted to go back to stock, and if Lenovo ever were to release another update (unlikely), you can't take the OTA unless you made a backup of the *system image* (since the OTA is block based) *PRIOR* to rooting and allowing TWRP to mount the system partition read-write.

Also, rooting the stock ROM was not necessary if the only goal was to install Lineage.

Anyway, I hope the ride will be smooth and you won't have reasons to switch back.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] amphi66:
[MENTION=6671114]valdimiroltean[/MENTION]

[edit] Lineage installed exactly as advertised, thank you.

Re-reading the above, if I desire to return to full stock, is there a "clean" version of the OEM ROM (with instructions) that can be downloaded and flashed? Lineage functions fine, but I am having difficulty working around the internal/external sdCard relationship and the storage/ manual manipulation of files as I am used to. Of course that issue is in stock also, but I will have a pristine, clean tablet (physically & software wise) with which to make a decision.

Thanks.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
This is a bit of a minefield, so I'll simply lay out the existing information to you, and make it clear that you need to be very careful while restoring stock, since it's not clear what triggers the deletion of DRM keys (discussion here: https://github.com/Quallenauge/Yoga-Tab-3-Plus-Issue-Tracker/issues/18). Restoring stock using dd (what TWRP does) as opposed to fastboot, does not pose these risks.

Some stock images can be found floating around on MEGA: https://mega.nz/#F!u5VDCISZ!XtRh91PA4t9-ts7DOQzyvw

Do not attempt this if you do not completely understand what you are doing.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Finefeather:
There is a Russian site giving details of stock install with Multiflash tool. I have never used Multiflash but it might help you....just translate the page....

http://lenovo-forums.ru/topic/22541...us-yt3-x703l-pri-pomoschi-multiflashfastboot/
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Lolipop31:
Just have a question for you guys what's your SoT with the tablet I got just 6-7 hours with the stock Rom (the tablet is new) , maybe this OS could improve my battery life? (I just bought the tablet so it's unlikely a hardware problem or maybe 7 hours is just the max ...)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] waleed.star99:
Lineage can improve battery life way better than stock
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] thorazine74:
Is the dolby addon not supported anymore? I get crashes using that in multiuser setup: when only the owner is active the dolby effects work fine, but as soon as a second user logs in I get crashes related to dolby, not just in the secondary users, but also when the owner is active.

Would it be better to use a third party dolby addon like the ones that you can install as Magisk modules?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] DerEineDa:
Thanks for reporting this! I don't use the dolby addon, so I couldn't know about this. If I can verify this issue, I will probably remove the dolby addon from the first post, as it isn't maintained by me.

Unfortunately, I don't know much about Magisk modules, but you are free to try and report back :)
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] cartman56:
Yes,the build can improve the battery life. Screen on about 10 hours or more
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] amphi66:
Yoga Tab 3 Plus in case does not shut off screen when case is closed or turn on screen when tbe case is opened

Is this a non-function/feature of the tablet, the Lineage ROM, or my specific case?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
That is usually implemented with a magnet in the case and a Hall sensor in the device.

I don't know about your case, but the tablet certainly has no Hall sensor to speak of.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Finefeather:
Hi Guys...maybe someone can help here. There is a menu in the stock recovery which says "Apply update from SD card". I have looked at it seems to search in the sdcard root directory.

Questions:

What type of file is required to update from here?...I am thinking of a method to easily flash stock roms if I need to. I have 2 stock rom which I downloaded, one is the Marshmallow 6 and the other is the Nougat 7, which both have a "SW' directory included in the 7z file, do I just use the full 7z stock file and will the update system unzip it and choose the images etc which it needs?
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] vladimiroltean:
No. The stock recovery will only take Lenovo OTA zips from the SD card. When I say OTA, I mean zip files that have special updater-script files inside, which comply with the Edify scripting language.

The 7zip files you "found" on MEGA are not meant to be parsed by recovery programs. They are meant to be flashed by either a specialized programmer (Qualcomm QFIL/QPST), fastboot, or directly using dd from TWRP or similar.

That being said, DON'T DO IT unless you really, fully understand the consequences. One wrong fastboot command and poof, your DRM keys are gone.

I think the safest way to restore stock, at the moment, is to simply restore your own TWRP backups of the system image and other relevant partitions.

Adb pushing, from within TWRP, to the corresponding block devices, will also work, although it's a bit more manual.

Coming back to your question "is it possible to have some simple zip files to restore stock from the recovery". Yes, although it is possibly non-trivial. Unzip and study the Lenovo OTA zip files. Also study the infrastructure that I made for the firmware images here: https://github.com/vladimiroltean/lenovo-ytx703-firmware. The most obvious limitation that I saw (and temporarily stopped me from pursuing this) is the large size for system.img. This is a problem for storage on git, and also for the final size that the stock zip would have, causing problems with the FAT32 filesystem.

But by any means, you can also study the zip file format for Lineage zips, where the system image is provided in a sparse format (it's provided as system.transfer.list and system.new.dat files). I can't tell you off-the-bat where that is done in the build system (might be in either https://github.com/lineageos/android_build or https://github.com/LineageOS/android_vendor_cm), but here is a tool you can use to convert back from sparse to regular system.img: https://github.com/xpirt/sdat2img

Let me know if you make any progress on creating flashable stock zip files.
[Lenovo Yoga Tab 3 Plus ROMs, Kernels, Recoveries, ] Finefeather:
Thanks very much for your extensive explanation. I am just a regular Windows Application Programmer and have not had any experience with android base so based on your post I think I am not qualified to attempt this at this point.

So then I will rather proceed as you have said:

1. Restore all backups of all partitions in TWRP.

2. Fastboot flash the stock boot image and the stock recovery image..

3. Lock the bootloader

I do not have any plans to do this now because I want to keep the Lineage ROM you guys created. But if I do sell this tablet in the future then I will put it back to stock.

Thanks again and great job on the ROM.