yashsingh1/xdaforums huggingface dataset:
[Android Software Development] pix106:
i removed this build, as it sucks way too much power.

I will release a new one later, which restores hotplug governor back.
[Android Software Development] pix106:
New build is available

performance enhancement : after tablet wakes from sleep, cpu max frequency is 1040MHz.

workaround : a background service now checks this and restores power profile so max cpu frequency is 1300 MHz

fix moving apps to SDCdard

some MTK fixes : wifi tethering, thermal, battery, mali symbols

first build with Tab2 A7 commonized trees
[Android Software Development] istvan647:
This is really the latest build of the year ;)

Thank you very much for supporting this "old" one, bringing new life into it...

What do you mean "commonized trees" ?
[Android Software Development] pix106:
i still have a few hours, it's only 5:30 PM here :LOL:

On source code side, both A7-10F and A7-20F now use common device configuration, instead of two totally distinct ones. Only what is different (mainly camera driver) is seperated.
[Android Software Development] pix106:
2021/01/02

workaround service became useless with hotplug governor, it can/should be removed.

Instead of uploading a new build just for this, a patch is attached to this thread
[Android Software Development] bookoo:
What does it mean, please explain me?

Btw looks that 12/30 build works smoother and without lags compared to 12/31
[Android Software Development] pix106:
It does not look like, it is :)

That's because 12/30 build used "userspace" governor, which is actually way smoother than the default one.

But i did not realize it kept cpu freq to maximum.

Btw it's more or less the same as if you switch to "performance" power profile in battery settings.

So if you want butter smooth UI and don't care about battery, try that.

First mistake : i hadn't realized battery drain was so huge before making the 12/30 build public, i was just enthusiastic about getting a smother UI changing governor, and working around the kernel issue (cpu freq fixed to 1040MHz after sleep).

The 12/31 build only changes the governor back to hotplug, as it was before, and as it is in stock rom.

Second mistake : the background service is useless and unable to work with hotplug governor, I should have removed it too for the 12/31 build.

I will make new builds to make it simple.

If you have the 12/31 build just flash the workaround removal patch (attached to first post) in TWRP, or delete /system/etc/init.d/cpulimit_workaround (TWRP, file explorer, kernel adiutor...), and that's fine.

I should definitely have tested this longer... :rolleyes:
[Android Software Development] agape777:
Hello dear Pix106, I ask you to modify the webview or install from Google, because the built-in webview does not work correctly in applications
[Android Software Development] pix106:
i build cm 12.1 as it is, i only add or change what is device specific.

You can install google apps (opengapps), update webview from playstore, use chrome as webview.
[Android Software Development] istvan647:
I've spent hours to enable signature spoofing with NanoDroid patcher without success, it pops-up errors. Have some recommendation?
[Android Software Development] harcal:
I tried. But I can't cope with android 5.1.1, I currently have T2-A7-10F_S57_160701 on my device. I was able to upload the zip file to A7-10F and I have Adnroid 5.0. I downloaded cm12.1 zip file but now I don't know how to upload it. I downloaded SP Flash Tool, bat a cant use it (how flash rom?). A havent root on my android 5.0. when i have android 4.4 it has in upgrade options (from zip file) but in 5.0 this option is gone. I dont now how Boot TWRP recovery. Can anyone help? Mybootloader is in chinaise, I cant change it.
[Android Software Development] pix106:
Read the first post of the thread
[Android Software Development] willymoto:
Thanks for your effort on updating this ROM. I managed to install the build cm-12.1-Tab2A710F-20210102-1707.zip + opengapps. It's working fine and performs better than the stock ROM.

​
[Android Software Development] Lynoire:
Hey OP, what's the last update for this custom rom?
[Android Software Development] pix106:
Latest file from download link : cm-12.1-Tab2A710F-20210102-1707.zip
[Android Software Development] barbe31:
Hi Pix. Which version has more storage available between this rom and Stock debloated rom ?
[Android Software Development] pix106:
Same on both, as debloating involves removing stuff in /system
[Android Software Development] barbe31:
Ok thanks. In that case I will try this rom.
[Android Software Development] petko.dimitrov:
Hello,

I am trying to install CM on my old Android tablet - Lenovo TAB 2 A7-30DC, Android version : 5.0.1 , Kernel version: 3.10.54 . I have downloaded the zip cm-12.1-Tab2A710F-20210102-1707.zip , but I cant install it . I have root on the tablet, but I cannot unlock the bootloader - I dont have OEM unlocking as an option in Developer Mode menu. Please let me know what should be my next steps. Thank you.
[Android Software Development] pix106:
i thought i had already answered.

A7-30 is very different from A7-10, you can't use a rom for A7-10. Or you'll probably brick your tablet
[Android Software Development] barbe31:
Good job Pix. Everything works well except for battery life. Stock rom seems to be more battery friendly thant CM 12.1
[Android Software Development] ImmortalChanger:
Awesome ROM for our little device. It boots faster and sometimes runs smoother than my main phone (Redmi Note 8T). I haven't found any bugs with it, except that it seems to disconnect from WiFi when the display is off for some time, but it isn't that big of a deal since it reconnects before you can even do online stuff. One thing I didn't expect is how smooth it is even with the latest GApps. Don't get me wrong, it doesn't run like an Asus ROG phone, but still smoother than I expected. Typing isn't very comfortable for me, probably because I'm not used to typing on such a large screen, but overall it's a very good ROM. I even managed to type all of this comment this tablet. Props to the devs and contributors
[Android Software Development] ImmortalChanger:
I haven't noticed any difference (I somewhat remember the battery life on the stock ROM though I haven't used it in ages).

Unrelated: I have changed the battery in my tablet for a newer one so battery life increased compared to the past
[Android Software Development] ImmortalChanger:
Can I ask for build instructions? I'm getting into Android building and stuff and since there are no build instructions for this device since there are only 2 ROMs available and the other one died a few years ago, no build instructions are available.
[Android Software Development] spdrfx:
Hello guys, the compass is working on the device with this rom? Is anybody remember that?

Thanks
[Android Software Development] aldin_H:
guys i cannot thank you enough for making this
[Android Software Development] drkus77:
Hello pix106,

I know your post is old but I need help updating Lenovo tab2 a7 10f.

This tablet is on custom rom CyanogenMod 12.1-20161120-UNOFFICIAL.

I would like to update it manually on your Build cm-12.1-Tab2A710F-20210102-1707.zip (the link is dead)

thanks for your help
[Android Software Development] pix106:
i added sourceforge mirror url to first post
[Android Software Development] drkus77:
Hello pix106,

Thank you for your quick response.

Are you planning a new update?
[Android Software Development] pix106:
nope, as CM12.1/android 5.1 has no more updates and i have nothing to add to current build
[Android Software Development] AlinROMsDevices:
Hello pix106, will there be an Android 6 port to this tablet eventually? The one I saw on Github doesn't have any code for building and the mirror used for it is dead.
[Android Software Development] pix106:
nothing new to be expected from me, this tablet has been in a drawer for some years now
[Android Software Development] AlinROMsDevices:
That's the same case for me. I thought someone could port a newer version of Android, not Cyanogenmod but another ROM such as Slim6 or AOSP. Sad to see it abandoned like this for some while now.
[Android Software Development] premier69:
(MT8127 only) how do i find out if that applies to me?
[Android Software Development] mayank22:
In an app that offers streaming of tv shows, i am experiencing an issue. In video there all green lines all over. I mean the video is fully distorted. Is this something omx related?

Edit: the video is fine after enabling the "disable hardware overlay" option in developer settings, but the whole app freezes after a few minutes. I guess its something related to hw decoding...
[Android Software Development] Doume59249:
This ROM seems to be rock solid

I've installed it today, with success (ROM and pico gapps )

Video (Youtube) seems to be fine for me

Wifi is running fine

BT is running fine ( audio deported to external speaker)

adb is running fine,and 'su' too

The only thing annoying for now is : I don't find the possibility to activate MTP, when USB cable connected (I only have USB debugging)

And my PC don't open the file manager to display content of tablet ( Linux 14.04 )

It was working fine with previous ROM (customized by Pix106 )

Edit : Solution found :

In parameters, Storage, click on upper right menu, to configure USB connexion...

Question :

Is it normal to don't have write access to external SD, for Titanium Backup, by example... ?

Even TB obtain root access on start

Thanks for your excellent work !
[Android Software Development] Doume59249:
Additional remark : USB OTG does'nt work

I tried many USB dongles, connected by type A to microUSB cable , but no one is accessible as a media
[Android Software Development] thp@1997:
Will try to fix

---------- Post added at 05:19 PM ---------- Previous post was at 04:21 PM ----------

[AOSP] OrionLP 5.1.1 - Lenovo Tab 2 A7-10F (MT8127)

Links Added.

http://xdaforums.com/android/software/rom-orionlp-v1-8-lenovo-tab-2-a7-10f-t3480918
[Android Software Development] Doume59249:
I really don't understand... Why do you point to OrionLP thread ?
[Android Software Development] thp@1997:
I added through quick reply and seems to be attached to our reply, don't mind it
[Android Software Development] MaRtYy01:
I found another issue,offline charging doesnt show battery percentage or something,it just gets stuck on the bootlogo.
[Android Software Development] pix106:
I'll have a look at this when possible in the days to come.
[Android Software Development] PGHammer:
I wonder if A7-30F (utterly identical to A7-10F except GPU) can use this ROM; will try it (waiting on backup to finish before attempting).

Recovery is TWRP 2.8.7.0.

---------- Post added 17th October 2016 at 12:13 AM ---------- Previous post was 16th October 2016 at 11:19 PM ----------

I wonder if A7-30F (utterly identical to A7-10F except GPU) can use this ROM; will try it (waiting on backup to finish before attempting).

Recovery is TWRP 2.8.7.0.

Update: Nyet - difference in model number IS enough to force a non-install, reboot locked up @ logo; will likely have to wait for battery drain for a proper restart.
[Android Software Development] MaRtYy01:
Just hold the power button for some seconds and it will reboot.So if the gpu isnt same(I though all F series tablets have mt8127 tho),you can try the ported roms for mt83xx versions with mali-400,just downgrade to kitkat firmware to flash them.For example thats cm13: http://4pda.ru/forum/index.php?showtopic=675749&st=1500#entry51846053

If you actually have mt8127,just delete the assert line in the updater script and the rom should flash and work fine.
[Android Software Development] pix106:
Found out why :)
[Android Software Development] PGHammer:
4PDA.RU are using A7-30 GC/HC (phablet version using MT8382), not A7-30F (MT-8127 - tablet version without either SIM or phone-feature support). May have to port from A7-10F.
[Android Software Development] pix106:
Already fixed :)
[Android Software Development] MaRtYy01:
If you have mt8127 just delete the assert line in the updater script,check if mount points are the same and flash it,it should work except the back camera(if a7-30f has back camera)(make a backup in case it doesnt work).
[Android Software Development] pix106:
New build is up

2016/10/18

Updated CyannogenMod source (october security patch)

Fixed charging animation

Fixed USB OTG
[Android Software Development] muftiazan:
Updater process ended with signal: 11

I am on TWRP 3.0.2.0 and updating from stock kitkat. The package installed using TWRP 3.0.0.0 with script returning (0.20000) but then entered bootloop.
[Android Software Development] pix106:
You're doing a big jump from KitKat, IMHO you have to wipe everything on your device first.

Did you wipe Data/Factory reset ?
[Android Software Development] muftiazan:
Yes I did. I think I might have to go back to KitKat first and sort things out but TWRP isnt finding my backup.
[Android Software Development] pix106:
Look on your sdcard, TWRP\Backup\folder.

Current 3.0.2 TWRP is looking for backups in "Tab2A7-10F" folder, previous versions (ported 3.0.0 and 2.8.7) did not use this exact folder.

Simply move your backup to this folder, and you will be able to restore it.

Maybe that's because you didn't flash stock LP, i never tried installing CM12.1 from KitKat, as i nearly forgot about KitKat more than a year ago :)

IMHO, better than restoring KitKat, you can try flashing stock or debloated stock Lollipop rom before flashing CyanogenMod.
[Android Software Development] pix106:
I flashed KitKat, and tried to install CyanogenMod with TWRP 3.0.2, install was succesful, but tablet didn't boot to android, bootloop.

When coming from the old KitKat stock rom, some minimal stock Lollipop rom parts must be flashed using SP FlashTool before installing CyanogenMod (or any other LP custom rom, IMHO)

I will upload a file soon, when i have checked it all again. ==> EDIT : Minimal package for KitKat is available. Installation instructions updated

Thanks for your report !
[Android Software Development] MatGuaBec:
Youtube videos stutter a lot on 720p, and scrolling could be better.

But all in all, great job on bringing CM to this tablet!
[Android Software Development] Doume59249:
I've tested Youtube with this rom, and for me all seems to be perfect....

May be your Internet link or WiFi is slow ???
[Android Software Development] muftiazan:
Are you having problems with SP Tool and this tablet? It detects for a while and then goes away, meanwhile SP Tool shows 100% and tells me that the PMT is changed when obviously nothing has happened. Help appreciated.

EDIT: Worked, changed Download Only to Firmware Upgrade in flash tool.
[Android Software Development] MatGuaBec:
Well, my Internet connection is quite slow, but I had neither of these issues on stock. Audio plays just fine, but after a few seconds, video freezes. This also happens with webm videos and Twitch.
[Android Software Development] muftiazan:
After a day of use of the 18 October version, I've seen that everything works fine but WiFi is a bit buggy.
[Android Software Development] thp@1997:
I didn't faced any issues regarding WiFi, my WiFi is 24 hrs connected.
[Android Software Development] Doume59249:
Idem for me : no WiFi problem : I suggest to off/on your router ?
[Android Software Development] mayank22:
Similar problems for me too
[Android Software Development] Kubanturanbajew:
I have the same problem with 720p videos
[Android Software Development] pix106:
Would you please give an precise link to a content you are having trouble with, so we could do some tests ?

Or even better, a logcat of the problem when it occurs.
[Android Software Development] pix106:
I don't have any wifi problem here either, so : please define "buggy" and say exactly what actually happens.
[Android Software Development] MatGuaBec:
First time taking logcats. Here they are View attachment saved_logs.rar
[Android Software Development] muftiazan:
I did a clean install but the problem persists. WiFi drops i.e. it disconnects automatically.
[Android Software Development] thp@1997:
Probably your router issue.

Try changing frequency Bandwidth on your router. :good:
[Android Software Development] egha5037:
Can i change audio effect back to Dolby?
[Android Software Development] MaRtYy01:
Havent tried it on this rom,but it should work: http://xdaforums.com/android/apps-games/mod-dolby-atmos-t3109446
[Android Software Development] mayank22:
I have tried it but it doesn't work. Instead go to this thread:http://xdaforums.com/android/softwa...-universal-t3078802/post60038644#post60038644 and install dolby digital plus, (not dolby atmos), i have tested it and it works grt :)
[Android Software Development] mayank22:
While playing videos with mx player, and selecting hw decoding, it shows an error: hw decoding not supported (for some videos) And there is a green video problem too. So you can safely consider it to be not working hw decoding. Hope this helps....
[Android Software Development] errorreport:
Video play not working

Video play not working, youtube video only sound working but video have black screen. :(
[Android Software Development] enzo24754:
I will try flashing this ROM on my A7-20F. It looks like to be the same hardware except that it has a rear camera. I will update this once installed (or not) :)

UPDATE 1 : I am downloading Lollipop ROM for my tablet instead of downloading the minimal upgrade, because it may harm my device. If anyone is interested, i found it here : https://cloud.mail.ru/public/Aauk/7Ra9TwqRJ

UPDATE 2 : It does work ! I removed the asserts in the updater script and it successfully installed using FlashFire ! The only thing that does not work is the rear camera. I belive moving the libs from stock rom would get it working.
[Android Software Development] MatGuaBec:
get a logcat of the issue, the devs will appreciate it
[Android Software Development] errorreport:
Here

only live stream have a problem, simple videos working, but i love watching live stream, this problem fixed soon? :eek:
[Android Software Development] nyancat:
seems a bug when connecting tablet usb it's only charging the tablet windows didn't detect it at all (on storage settings menu usb connection still couldn't it looping usb disconnect), but when i reboot tablet into recovery mode i could see it both internal and external storage.
[Android Software Development] pix106:
Did you enable MTP storage ?

If not, it's in first post, in "Informations"
[Android Software Development] thp@1997:
Will be fixed on next build.
[Android Software Development] thp@1997:
New Build Added

2016/10/27 :

Added Headset Icon

Fixed No way Back from USB Charging Mode (Any modes can be selected without connecting USB)

Fixed Media Player Lags in Some h263 videos

Fixed Youtube 720p Lagging

Links :- Downloads Tab
[Android Software Development] enzo24754:
Nice build :good:

Is OTA update support planned ? :confused:
[Android Software Development] pix106:
:rolleyes: ... no :)
[Android Software Development] thp@1997:
I don't think OTA support is needed, even if we include OTA support. You still need to download whole ROM since Cyanogen does not supports Delta OTA's. And also all development is stopped on cm12.1 officially so No. ;)
[Android Software Development] javojoker:
Great work dude congrats
[Android Software Development] nyancat:
:laugh: :good: wow great a bugfix in a day, this is a bug what i'm saying before lol. No need to reboot recovery for transfering files now :)
[Android Software Development] pix106:
You did not need to reboot recovery, you had to change USB Storage settings while cable was plugged.

But this is simpler now :)
[Android Software Development] mayank22:
The problem with streaming videos is still there sir. While trying to play videos on sites providing tv shows, i got this error in browser: media error decode, video is in bad format or not supported by ur browser. In app for streaming videos, the videos are all green. Also some of my saved video recordings can't be played by stock video player, i am attaching the logcat.
[Android Software Development] MatGuaBec:
Yup, video issues are still there. I can't even watch GIFs properly, they tend to lag slightly.
[Android Software Development] pix106:
I've been trying to fix it for a while... and i'm still trying :)

thp@1997 is working on it too, we'll hopefully manage to make it work
[Android Software Development] PGHammer:
Nertz - recovery shows (A7-30F) but no touch functions work at all. I have to manually reboot out of recovery mode. The screen looks fine; for some reason, the functions don't work. Flashed using Rashr.
[Android Software Development] thp@1997:
All those issues are coming because of hw decoder.

Some apps are compatible with sw and hw both decoders.

But live streaming and some apps like twitch , snapchat uses whole hw decoder for video.

> i'm already working to fix it . hope it should fix. :)
[Android Software Development] mayank22:
Can u add some more cpu governors in kernel? Like interactive and smartassv2??
[Android Software Development] Forever Alone:
Never expected!! Can we expect Marshmallow or Nougat!? Sorry im noob!!
[Android Software Development] farin_u:
Is it okay to flash it with an MT8165? I have no clou, about the differences to your MT8126.
[Android Software Development] enzo24754:
You can try, this won't destroy your device. Don't forget to make a nandroid backup so you can restore your device easily
[Android Software Development] farin_u:
Perfect, thanks!
[Android Software Development] pix106:
I don't think it's possible to add governors to a prebuilt kernel.

And as i can't get a working kernel using lenovo partial kernel sources...
[Android Software Development] pix106:
OP says Lenovo Tab2 A7-10F and MT8127 only , which means it won't even work on the asian variant of the A7-10F, which has a different MTK SoC.
[Android Software Development] chabbii:
Dear [MENTION=3064479]pix106[/MENTION]!

No question about drivers, or SP Tool, but my tab got broken.

I try the "minimal stock Lollypop upgrade", and now the tab is bricked!

No power (all of the combination of power, Vol+, Vol-), the SP Toll don't recognise the tab, so I ask for help...
[Android Software Development] Diabblo:
please delete
[Android Software Development] Diabblo:
Try To unplung the battery
[Android Software Development] pix106:
2016/11/20 :

Updated CyannogenMod source (november security patch)
[Android Software Development] mln91:
Can you change default IO scheduler to noop? Now the ROM uses cfq and my device almost freezes when operating on large files (downloading, unpacking etc.).

Thanks
[Android Software Development] thp@1997:
For, now use kernel auditor to set. I'll do few tests when I got free. :good:
[Android Software Development] Anh Tuấn:
Same problem, my lenovo had bricked.

No dislay, no usb, can't power or (vol+) or (vol-)

please hepl me :(
[Android Software Development] Diabblo:
Have you try To unplung the battery?
[Android Software Development] mln91:
I think CPU frequency scaling is broken in this ROM. :(

It seems that CPU governor settings are respected until deep sleep. After unlocking, CPU is locked at 1.04 GHz.

BTW, can you add e.g. interactive or ondemand CPU governor?
[Android Software Development] pix106:
I did not notice that before, thanks.

So i checked using kernel adiutor, max freq is indeed set to 1040MHz after resuming from sleep.

Setting the same governor again makes max freq back to 1300MHz.

The same happens with stock rom too, so it seems to be related to stock prebuilt kernel.
[Android Software Development] mln91:
After digging through the sources on github I've come to the same conclusions :)

As a workaround I suggest using CM Performance Profiles.

Just change performance profiles in ramdisk/init.mt8127.power.rc to use powersave and performance governors and set scaling_{min|max}_freq both to "1300000" in case of Performance profile.

Since the problem is caused by a upstream bug (in MTK kernel sources) I think it's the easiest solution to the problem.

BTW, the profiles in the mentioned file are using ondemand and interactive governors, which are not present in the kernel the ROM uses.