yashsingh1/xdaforums huggingface dataset:
[Android Software Development] pix106:
I forgot to tell you back some weeks ago : i tried a few things to understand why faceunlock can't access camera, including trying it on some test builds (cm12.0, AOSP 5.1.1) did not find anything...
[Android Software Development] shanky0129:
Thanks for the update!

I wish it worked....but now I'm used to unlocking with a pin so no worries!:)

Glad to see you are still working on this device...

Cheers!
[Android Software Development] kirito9:
Thanks and aha I thought it was changing the way the block file was handled as I saw >CM13 has this. I just didn't implement it properly lol.

I know about the tool from xpirt but I don't want to have to use that every time I want to make a few changes :silly:.

I'm just testing it for now on a similar chip. It hasn't even booted as yet because the user cannot install via the system.dat method. So I wanted to revert to <4.4 . If I do find anyways to improve I will let you know for sure ;).
[Android Software Development] kirito9:
[MENTION=3064479]pix106[/MENTION] I can't seem to get pass this error
[Android Software Development] nick2503:
Couldn't Flash it - Log attached

Hi

Tried flashing this ROM because this is the only tab I have & I wanted it to be super fast but couldn't.

Its the same device as listed. Even MT8127.

Attaching my device information and the log of TWRP.

Please help whenever you can.

Thanks in advance!!
[Android Software Development] pix106:
Which Twrp are you using ?
[Android Software Development] nick2503:
I'm currently using a TWRP 3.0.0-0 flashed using flashify.

I need to use a custom TWRP?

Sorry in that case...
[Android Software Development] pix106:
It would be better, as TWRP 3.0.0 was ported from some other device. The one linked in the first post is the one I build from sources.

Be sure to read the whole first post again ;)
[Android Software Development] bmx2038:
Guys, i really need help. Everytime if I install this zip, it will write me that:

Installing zip file '/external_sd/Tab/cm-12.1-20161120-UNOFFICIAL-Tab2A710F.zip'

Checking for MD5 file...

Skipping MD5 check: No MD5 file found

Could not find 'META-INF/com/google/android/update-binary' in the zip file.

Error installing zip file '/external_sd/Tab/cm-12.1-20161120-UNOFFICIAL-Tab2A710F.zip'

Updating partition details...

Failed to mount '/internal_sd' (Invalid argument)

...done

I'm using TWRP 3.0.0

Thanks
[Android Software Development] pix106:
Read previous post. Don't use TWRP 3.0.0, use the one linked in op
[Android Software Development] bmx2038:
Still have problem, I've installed TWRP 3.2.1 A7-10F but still got error

Installing zip file '/external_sd/Tab/cm-12.1-20161120-UNOFFICIAL-Tab2A7-10F.zip'

Checking for Digest file...

Skipping Digest check: no Digest file found

detected filesystem ext4 for /dev/block/mmcblk0p5

Can't install this package on top of incompatible data.

Please try another package or run a factory reset

Updater process ended with ERROR: 7

Error installing zip file '/external_sd/Tab/cm-12.1-20161120-UNOFFICIAL-Tab2A7-10F.zip'

Updating partition details...

...done

Help please.
[Android Software Development] pix106:
The error message clearly states that you did not factory reset before installing, did you ?
[Android Software Development] bmx2038:
No i didn't, should i?
[Android Software Development] pix106:
Of course...

You should read the first post before asking, it contains instructions...
[Android Software Development] bmx2038:
Thank you so much for your help and time, it works.
[Android Software Development] 4EST:
flashed, all fine.

it solved my bluetooth problem: I could not connect to an obd bluetooth interface: it paired, but never asked for password, so it did not worked with lenovo rom

with cyanogenmod-12-1 it works just fine

the only thing I could not make it work was to set up another user (for the kids). on the kids user I only got a black screen
[Android Software Development] pix106:
That's weird, I just checked on a fresh install with recent opengapps, guest, new user, switching user, it works fine.
[Android Software Development] nyancat:
Hey question is there a fix for youtube livestream? Or any live stream like twitch etc? I just find out after more than a years+ using this rom lol ;) :eek: i try with newpipe app but quality are really bad :( :( sometimes crashing too:laugh:
[Android Software Development] bastard79:
hey [MENTION=3064479]pix106[/MENTION] im using you rom for two tablets and its really good job, and it works without any issues, but now i have a problem and i dont know is it even software problem.

one tablet is full battery empty casuse one month it was not used. Now i want to run him, and have bootloop!!!. i have this issue before long time ago and i dont know how resolved this.

tablet is dead when unplugged, when plugged start to logo lenovo and restart, agaign and again from about a day :D when i plug out tablet is dead. Is it software or baterry dead problem? dosent work bootloader , recovery mode, nothing works, only restart after 3-5 sec booting
[Android Software Development] pix106:
You can try charging it connected to a computer, if I remember things fine it shouldn't start but only show charging animation.
[Android Software Development] bastard79:
hej [MENTION=3064479]pix106[/MENTION] i think it should works :D i have charging animation, and no more restart :D

thank you very much :D
[Android Software Development] Audiphon:
Hey, could you fix the camera?
[Android Software Development] pix106:
I don't know how, but if you manage to fix it, I'd be glad to release a new build

Edit : you can use some third party app, as stated in the first post
[Android Software Development] dokho33:
Hello.

I've a problem with this ROM on my tablet: i can't turn of keyboard sounds and vibrations.

I disable them from settings but they are always active.

Does someone have the same problem ?

Regards,

(sorry for my bad english)
[Android Software Development] pix106:
Try changing the settings in the keyboard (long press on comma key in my case)

This is the first thing I do after a clean install before connecting to wifi, it works :)
[Android Software Development] dokho33:
Yes. It's work.

Thank you.

Regards,
[Android Software Development] jjayy:
Hello,

I'm new to this I and need a bit of help...pretty please :)

I managed to flash CM12.1 on my Lenovo TB2-A7-10F but I can't seem to boot to recovery to install the gapps package...

tried volume down + power, volume up+ volume down+power... the only thing that happened was CM safe mode.

I must mention that I did the minimal flash first, then wipe, then flash CM12.1.

The tablet boots properly but can't get to recovery...

any help would be appreciated.

thanks

---------- Post added at 01:49 PM ---------- Previous post was at 01:45 PM ----------

nvm.. managed to get it to boot by volume up +volume down + power .. but hold it a little longer...

sorry for the spam
[Android Software Development] pacol:
before I say thanks very much for [MENTION=3064479]pix106[/MENTION] , How To Change Root to Magisk ?

and what the best application to tweak ?

L speed

HEBF

KITANA
[Android Software Development] pix106:
Extract boot.img from cm12.1 zip, use magiskmanager to patch boot image then flash patched boot image to boot partition with twrp.

See Magisk XDA Page

I dont use such tools
[Android Software Development] Johan96:
Hi

I have a problem with the rom: Thanks in advance for this contribution, you are one of the few that takes into account this tablet; Well, the problem is at the moment of playing a video with the YouTube app, it only lets me see the videos at a resolution of 360p, and when using any application to increase the resolution in order to solve it, the tablet it reboots. Thank you
[Android Software Development] pix106:
It does happen on some videos and on live streams.

No solution but stock rom (or debloated stock)
[Android Software Development] GoJo ^^:
Hey there, i'm not sure to understand what is that boot image (last upload) about..?

EDIT: Well, ended up with error 7 "can't install on top of incompatible package" though i have last stock LP..?!
[Android Software Development] pix106:
For the boot image see changelog in first post.

Try updating your TWRP, you may be using an old one (ported) and not the one linked in first post
[Android Software Development] GoJo ^^:
Thanks, i'll do, just tell me which of these two is best for me :

Tab2A710F_TWRP_3.2.1-Pix-v0.96.img

twrp-3.2.3-Tab2A710F-20180809-2321.img
[Android Software Development] pix106:
I don't think it matters, try the latest (3.2.3) first
[Android Software Development] GoJo ^^:
Nevermind, installing now.. ^^

---------- Post added at 14:49 ---------- Previous post was at 14:43 ----------

Performance's much better than with (modded) stock?
[Android Software Development] GoJo ^^:
Ok so right after install, what i see is 1/ when i plug usb to computer, it's connected as ADB, i can't access storage and 2/ i can't install magisk "failed to unpack boot". I know Magisk works starting with lollipop so here should be ok!
[Android Software Development] pix106:
You should read first post, and lasts posts (literaly 3 posts above your first).

Search before ask, basic xda rule :)
[Android Software Development] GoJo ^^:
Sorry i missed that! In the meantime, i did something wrong (or it's more like twrp did -crash-) and cache partition is corrupt. I tried various thing including factory reset but still, corrupt. Because of this, i'm stuck in recovery. Would you kindly update a TWRP backup only including cache partition so i can restore it? Thanks :)
[Android Software Development] pix106:
Just restore cache from stock rom
[Android Software Development] GoJo ^^:
..? I don't have a backup of it, i don't have stock rom files and i don't recall how to flash these, it's been SO LONG i haven't used this device.. I think doing a cache backup takes 2seconds litterally, you would really help me a lot here..
[Android Software Development] pix106:
I don't have the device atm nor is it charged in the closet.

Stock roms are on xda you can download them.

I'm quite sure you can repair cache from twrp, in advanced wipe menu
[Android Software Development] GoJo ^^:
No, via TWRP i couldn't. Nevermind, it was easy to find stock and flash that cache. However, even after patching the boot image as described, i still get same error while trying to patch magisk..
[Android Software Development] pix106:
I just did exactly as in instructions with today's magisk 18.1, it works.

My guess is you did not flash patched boot image to boot partition, and just tried to flash magisk zip (which fails)
[Android Software Development] GoJo ^^:
I did again. Same error message.. but found out magisk is here. Not sure how long it'll remain. How to stop apps installing on as by default?
[Android Software Development] GoJo ^^:
*On SD. I have installed XInternalSD which i kept from back in time but didn't succeed so far..
[Android Software Development] pix106:
Magisk is there because you flashed the boot image that has been patched with magisk manager to include magisk in it. I'm only telling what is in magisk instructions on official magisk thread (linked in my previous posts about magisk).

Anyway, this magisk install issue, and any other mod installing (Xposed or anything else) is not a problem of THIS cm 12.1 build, and should be asked in the forum of each module you want to install, not here.
[Android Software Development] BadChoices:
Hi there folks.

I haven't been using gadgets since long time but I had to fix my mom's Lenovo Tab boot loop so to start with I had to charge him for a while connected via usb to my computer and later on I fully charged the device through the original charger.

I have just flashed this cool ROM, gz. to [MENTION=3064479]pix106[/MENTION] for the nice work., and I have used the SP_Flash_Tool_v5.1824_Win to flash MT8127_Android_scatter-recovery_only coming from the original LP Lenovo default ROM, while my Tablet was off but connected to my rig, already had the cm-12.1-20161120-UNOFFICIAL-Tab2A710F and the open_gapps-arm-5.1-nano-20190319 .zip files on my sd card, so when I booted the device after flashing the new twrp recovery I proceeded and instaled both the ROM and gapps w/o any issues and the ROM loaded quite fast and nice.

Now, and like I have said before, since quite a while that I do not use a smartphone nor any sort of electronic gadgets, was a bit hard to find the option to enable the usb MTP option but I got it now.. and might be 'cause of that, that I can't find the way to eject the sd cards O_o.

Thx for reading.
[Android Software Development] pix106:
It was in first post :)

You are right, there is no such option, i'm surprised too.

I don't think it's related : when i tried, there was already no unmount sdcard option before i checked MTP (or any other option) in storage settings.

I actually never had to unmount sdcard, nor think it is really needed in most common use cases.
[Android Software Development] BadChoices:
I can ensure you that on the default LP Lenovo ROM there was an option to eject the SD card, in fact it might be a default option since Android 5.0, like the option to use it as an internal or external data storage. Thing is that If for some random reason you got to eject the SD card w/o unmounting the sucker, data might get corrupted and lost. So the solution is turn off the device or get a bigger SD card.. Thx anyways and keep the good work.
[Android Software Development] pix106:
I believe you, I only said there is no such option in this cm12.1 build :)

Maybe 5.0 had it, or Lenovo added it.
[Android Software Development] BadChoices:
[MENTION=3064479]pix106[/MENTION] (sorry about the tag/spam)

Like I said before, I'm a bit outdated regarding some matters and I believe that I just forgot about some others.. so the average size of system ROM used, after a custom os. build plus nano gapps been installed is like 2.5/3 GB ? Wasn't expecting that for some reason.. guess I was wrong, or maybe it's 'cus the system ROM is just 8 GB.
[Android Software Development] pix106:
do you mean this ? : https://xdaforums.com/android/software/cyanogenmod-12-1-lenovo-tab2-a7-10f-t3478841/post72825362
[Android Software Development] BadChoices:
No, it's just that I wasn't expecting the ROM+GAPPS installing almost 3 GB of data on a 8GB system, that's why it shows 5.3GB Total space remaining only, right after flashing the basic stuff.
[Android Software Development] kotikissa:
Hello very good rom.

Hello this is very good rom. will there be cyanogenmod 13 or lineageos 13 for this tab ples :)
[Android Software Development] pix106:
Nope. kernel will not boot Android 6+
[Android Software Development] kotikissa:
oh

oh ok :(
[Android Software Development] franciz666777:
This ROM kicks-off the device! For long time I used original Lenovo firmware, but this is something different.

Great work! :D

First instalation try was not successful, but then I started from KK and flashed minimal LL files and all went well.

Youtube play 720p may be achived in Vanced Youtube by overiding codec.

Still I miss FM radio.

:good:
[Android Software Development] echohack:
Rom has been working perfect for me, battery seems better than stock. Yesterday I played around with wifi settings and changed wifi region to Europe. After that It wouldn't connect. Just got done reflashing and I'm staying away from that setting.

Thanks for giving us this rom, and all others involved.
[Android Software Development] indestructible master:
How i can root it.

I have stock lolipop ROM, and i dont know how to root it.

I dont want to flash this ROM, because i am happy with stock ROM, i just want to know how i can root this tablet, so i can make more tweaks which would help me in developing android apps.
[Android Software Development] pix106:
Use magisk, patching bootimage (direct install with twrp will not work).
[Android Software Development] indestructible master:
Thanks for tip, can you help me then.

Because i tried to flash TWRP via bootloader and still didnt worked, i cant boot into twrp even if it says flashed.

And so, i can only flash via bootloader (fastboot),

but what command i should type?

I know for flashing recovery:

fastboot flash recovery c:\twrp.img

What command i should type on command to flash magisk.img manually throught bootloader?
[Android Software Development] pix106:
Patch the original boot image with magisk manager and flash the patched image to boot partition with twrp. See magisk thread for details about patching image.

End of OT, this is not related to this cm12.1 ROM.
[Android Software Development] indestructible master:
k
[Android Software Development] indestructible master:
I use youtube vanced, and enabled 720p, but it noticeably lags as for video and for audio too.

When i switch to 480p it works fine for most of videos.

But when i watch videos which are captured at 4K and 8K, like Linus Tech Tips, it dont show me agood picture, it shows me like a broken image, how to fix that?
[Android Software Development] indestructible master:
720p dont lag anymore, but STILL i cant watch 720p60fps.

It cant accomplish 60fps, and most channels use 60fps cameras
[Android Software Development] superlativo:
A week ago I solved the boot loop problem by entering the original recovery (Chinese menu) and formatting the factory. I already had official Lollipop 5.0. but with lag in general. It's rare when I formatted it just a week ago.

For example, I press the volume buttons and it takes to react or when I enter in Settings menu it takes about 5 seconds. I was thinking of installing official Kit Kat but I found this thread.

My use is only for Youtube and play Clash Royale.

With your experience that rom is more fluid in this modest tablet?

Kit Kat 4.4.2 official

Lollipop 5.0 official

Lollipop 5.1.1 CyanogenMod

Other ROM (Orion, Stock Lollipop 5.0 Debloated...)

Thank you very much in advance.
[Android Software Development] vudungcom:
I can not flash Magisk for this rom, it says error 1, try to patch boot by Magisk but hang screen. Extract and flash boot.img from cyanogen 12 but nothing work. Who can help me. Thanks a lots
[Android Software Development] pix106:
on a clean install, i just flashed a magisk 20.1 patched boot image, installed magisk manager, and it works just fine.
[Android Software Development] vudungcom:
Hmm, i follow your method but it did not work for me. Clean install already.

Why i need magisk, some app check the root status and refuse to run so i have to hide root.

Do you know other method to bypass this issue

Below is my app

https://play.google.com/store/apps/details?id=com.irdeto.kplus

Thank in advanced
[Android Software Development] pix106:
"It did not work" : you mean magisk was not installed when you run magisk manager app ?

I can upload the latest modified bootimage, but I did not do anything more than extracting it from cm12.1 zip and patch it with magisk manager.
[Android Software Development] vudungcom:
Sorry for wrong explanation, i flash via twrp but still got error 1 so i can not flash magisk.

Please upload patch boot img. I will try. Thank you very much
[Android Software Development] pix106:
It was clearly explained in this thread not so long ago that magisk can't be flashed with twrp.

You have to patch the bootimage (boot.ilg from rom zip) with magisk manager, and flash it with twrp.

Please try this, it works within minutes :)
[Android Software Development] vudungcom:
Yes, i already patched it, flash patched boot by twrp then flash magisk but when i flash magisk, error 1 appear and flash unsuccessful
[Android Software Development] pix106:
Do not flash magisk zip after flashing the bootimage......
[Android Software Development] vudungcom:
Yes ofcourse
[Android Software Development] hugo987:
[MENTION=3064479]pix106[/MENTION] can you explain this? Have a look at Lineage 14.1 on Amazon Fire 7 (Ford) and the screenshots in the post. They run Lineage 14.1 on a 3.10.108 kernel. The Amazon Fire 7 2017 (aka ford?) seems to use the same MTK 8127 like the Lenovo Tab2 A7-10F. Can we reuse some of the development to produce a Lenovo Tab2 A7-10F version of Lineage 14.1?
[Android Software Development] pix106:
Amazon Fire has a usable kernel source.

For our lenovo tab, we only have a prebuilt kernels, which can't boot anything above android 5, according to what i read/asked/understood.

Either lenovo kernel source is derped (many things are missing from it), either i could not handle it..... or both
[Android Software Development] hugo987:
[MENTION=3064479]pix106[/MENTION] thanks for the info.

Does someone try to boot the Amazon Fire kernel on the Lenovo Tab?
[Android Software Development] pndwal:
Hi again@pix106!

Love your work.

I've dusted off this older Tab 2 a7-20f for my son. Loaded 3.0.2_0-pix TWRP, flashed this LOS ROM, applied PatchCM12.1.zip for a7-20f (from 4PDA site), and it boots / runs beautifully on a7-20f. There's no problem activating inbuilt root either...

Problem is all means to swap this SU for Magisk SU I've tried have failed: flashing in TWRP=error installing zip, modifying boot.img in Magisk manager from image in patch file and flashing in TWRP=boot loop, allowing magisk.zip to remove inbuilt root before failing, then booting results in new request to install SuperSU and root which works seamlessly with your TWRP, but even after using Full Unroot in SuperSU, Magisk or modified boot flashing fails :( .

I expect you have little or no experience with Tab 2 a7-20f and boot patches, but I'd be very grateful for any advice you have, or even possible solutions or likely explainations for my failure, re substuting SuperSU for MagiskSU... Ive researched, but I'm pretty stumped.

...And thanks for your many helpful responses to me and others. Regards, PW
[Android Software Development] pix106:
I'd just suggest not to flash SuperSU at all, patch bootimage with magisk and flash it with twrp(as normal magisk zip install fails).

I suppose SuperSU is part of the patch zip from 4pda, maybe this patch changes bootimage too, I never looked at it as I don't have a a7-20.
[Android Software Development] pndwal:
Thanks for quick response!

Yeah - tried both ways to no avail. - Thought it might be a curly one.

Looks like something funny's going on with patch, but SuperSU doesn't seem to be in archive. Tried Orion OS with patch, and get exactly the same behaviour.

I can't quite see how boot.img in patch changes, but I'm try to locate backup SuperSU boot.img just in case (will try modifying that with Magisk and flashing), but I suspect it's something else with this tablet.

Please let me know if you have any ideas. Many thanks, especially for making LOS available. :) PW

Link to archives you or anyone else wants to take a look inside, or try these on Tab 2 a7-20f. (Works fine if not patched with Magisk.)

https://drive.google.com/folderview?id=0Bxd-XcN0S63qWjJoTVlkRXlrams
[Android Software Development] pndwal:
I just realised TWRP I downloaded from 4PDA Tab 2 A7-20F thread is likely actually yours, so probably made for Tab 2 A7-10F. It's '3.0.2.0-pix'.

Did you ever prepare one for a7-20F?

If not, could this be why I get bootloop when Magisk modified boot.img is flashed? Everything else seems to flash fine! Regards, PW
[Android Software Development] pix106:
Nope, that's not from me.

I can tell more as I don't have a a7-20, or else this thread would be about a7-20 too, for a long time :)
[Android Software Development] pndwal:
So it ain't simply the a7-10F TWRP someone discovered works on 20F and reposted? Just thought the 'pix' suffix would be your identifier... Maybe not. Thanks, PW.
[Android Software Development] pix106:
I did not provide this, that's all I am saying. If I had provided this, it would be on a xda thread.
[Android Software Development] egha5037:
how to do that?
[Android Software Development] pix106:
wipe data factory reset must be done in recovery.
[Android Software Development] DenisDeneck:
see paragraph clean. data is lost, all.
[Android Software Development] egha5037:
yep i do it on TWRP from your download link still got that message XD