• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][5.1.1]CyanogenMod 12.1 for Lenovo Tab2 A7-10F (MT8127)

Search This thread

pix106

Senior Member
Oct 16, 2010
1,094
572
1609312097902.png

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.


CyanogenMod 12.1
for Lenovo Tab2 A7-10F
(MT8127 only)


Disclaimer
Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Prerequisites
  • latest LP Firmware, flashed with SP Flash Tool : firmware
  • latest TWRP : TWRP thread
  • clean install : you can try to dirty flash, but if you have issues you'll have to wipe your data partition

Working
  • basic rom features
  • Youtube works in HD, including live streaming
  • video recording : 480p videos are encoded in h264, can't be played on tablet with google video player but can be played with vlc or on a computer
Not working
  • FM Radio
  • some video streaming

Changelog
  • 2021/01/02
    • fix moving apps to SDCdard
    • some MTK fixes : wifi tethering, thermal, battery, mali symbols
  • 2020/12/31
    Removed build: if you're on 2020/12/31 build and don't want to download a whole new build, a patch is attached to the first post of this thread to remove the background service that became useless.
    • governor is now userspace (removed)
      [*]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
  • 2020/11/11
    • initial release of 2020 builds
Please
  • do not use included CM root, use magisk instead
  • do not ask for ETA
  • do not ask for lineage 13 or newer
  • no USB driver help in this thread
  • do not re-upload files anywhere
  • if you report issues, provide logs

Downloads

Installation

KitKat users
: If you're coming from a KitKat ROM, you need to install stock LolliPop upgrade before flashing CyanogenMod.
  • Download the ROM (and optional Gapps) zip, and put it on the internal or internal sdcard of your tablet
  • Boot TWRP recovery
  • Perform a nandroid backup of your current ROM (optional but recommended)
  • Wipe Data/Factory reset
  • Flash ROM
  • Optional: Install the Google Apps addon package
  • Reboot

Update
If not explicitly asked to do a clean install, you can update a previous version without wiping your data
  1. Download the updated ROM
  2. Boot TWRP recovery
  3. Perform a nandroid backup of your current ROM (optional but recommended)
  4. Flash ROM
  5. Wipe Cache/Dalvik cache
  6. Reboot

Credits
  • Cyanogenmod
  • Pix106
  • Fire855
  • xen0n
  • ggow
  • olegsvs
  • andrew264
  • Tirth Patel ([email protected])
  • Thanks to all the people who contributing with testing the builds

Contributors
pix106
Source Code: https://github.com/LenovoTab2A7
 

Attachments

  • remove_cpulimit_workaround.zip
    244.1 KB · Views: 167
Last edited:

DenisDeneck

Senior Member
Sep 21, 2016
71
6
Doneck
1.When installing gapps
Screenshot_2016-10-12-21-10-38.png
2.Not connected to the PC
debug usb need to reconnect, then connect to the PC
3. Memory card does not work when connected to PC
 
Last edited:

egha5037

Senior Member
Mar 14, 2016
139
13
Jakarta
http%3A%2F%2Fi.imgur.com%2FRXyKFYc.jpg


CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.​

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

> All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

What's Working :-

> Wifi
> Bluetooth
> Sound
> GPS
> Both Storage
> OTG
> Camera (Photos & Video)
> Media Playback
> Sensor
> Wifi Hotspot , USB Tether , BT Tether
> VPN

Not Working :-

> You Tell Me

Downloads :-

ROM :- Cyanogenmod 12.1

Gapps :- opengapps.org (ARM/5.1/Pico)

Installation :-

1. Download the zip(s)
2. Install a compatible Recovery (Here's TWRP)
3. Perform a nandroid backup of your current ROM (Optional)
4. Wipe data/factory reset
5. Flash CyanogenMod
6. Optional: Install the Google Apps addon package
7. Reboot

Credits :-

1. Tirth Patel ([email protected])
2. pix106
3. Cyanogenmod



XDA:DevDB Information
CyanogenMod 12.1 for Lenovo Tab2 A7-10F (MT8127), ROM for all devices (see above for details)

Contributors
pix106, [email protected], Doume, in a previous project
Source Code: https://github.com/thp1997/android_device_lenovo_Tab2A710F

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod

Version Information
Status: Beta

Created 2016-10-12
Last Updated 2016-10-12

Wow Thanks dude going to Download And Try it now finally im bored with stock rom lol XD
 
  • Like
Reactions: kalwardin

egha5037

Senior Member
Mar 14, 2016
139
13
Jakarta
Help!

Help Me pls I cant install it, I got this error Message in TWRP
"Cant Install this package on top of incompatible data.
Please try another package or try factory reset
(Red Font)
Updater Process ended with ERROR: 7
Error Installing zip File '/External_sd/CM-12.1-20161012-UNOFFICIAL-Tab2A710f.zip'
Im using TWRP Tab2A710F_TWRP-3.0.2-0_pix-v0.13.img
Thanks B4
 

mayank22

Senior Member
Mar 23, 2015
751
275
Indore
Hey can i install this rom using an older version of twrp? Bcoz the newer version never worked for me. And after flashing this rom, will the recovery automatically replaced? If yes, can i got back to the previous twrp again?

Also, this thread is not there in the lenovo tab2 a710 discussion forum??
 

pix106

Senior Member
Oct 16, 2010
1,094
572
Help Me pls I cant install it, I got this error Message in TWRP
"Cant Install this package on top of incompatible data.
Please try another package or try factory reset
(Red Font)
Updater Process ended with ERROR: 7
Error Installing zip File '/External_sd/CM-12.1-20161012-UNOFFICIAL-Tab2A710f.zip'
Im using TWRP Tab2A710F_TWRP-3.0.2-0_pix-v0.13.img
Thanks B4

Don't install the package you downloaded yesterday, it has a problem and was removed.
Delete it, [email protected] will upload the good version later today.

The TWRP error message, and the install instructions on the first post seem pretty clean to me : you need to "factory reset"=wipe all data first
 

pix106

Senior Member
Oct 16, 2010
1,094
572
Hey can i install this rom using an older version of twrp? Bcoz the newer version never worked for me.
I don't know, i have only been using 3.0.2 since i built it, and i used it a lot :)

And after flashing this rom, will the recovery automatically replaced? If yes, can i got back to the previous twrp again?
TWRP will still be there.

Also, this thread is not there in the lenovo tab2 a710 discussion forum??
Our device doesn't have a real device section, like flagship devices do.
We have a "tag" : http://forum.xda-developers.com/t/lenovo-a710

Dev threads cannot be created directlyinto a tag, i asked a moderator to move it under the tag seconds after creating the thread.
So it will be moved eventually.
 
  • Like
Reactions: mayank22

egha5037

Senior Member
Mar 14, 2016
139
13
Jakarta
Don't install the package you downloaded yesterday, it has a problem and was removed.
Delete it, [email protected] will upload the good version later today.

The TWRP error message, and the install instructions on the first post seem pretty clean to me : you need to "factory reset"=wipe all data first
anyway i have do factory reset and wipe data still get that message even, and i try to flash debloated ROM and after the fist boot i do factory reset still got the same message dunno what happen and how to solve it

Tell me when the download link ready i really want to move to CM bored with debloated stock rom hehehe

thanks before for ur help and answering my question :good: really appreciate it
 
Last edited:

DenisDeneck

Senior Member
Sep 21, 2016
71
6
Doneck
anyway i have do factory reset and wipe data still get that message even, and i try to flash debloated ROM and after the fist boot i do factory reset still got the same message dunno what happen and how to solve it

Tell me when the download link ready i really want to move to CM bored with debloated stock rom hehehe

thanks before for ur help and answering my question :good: really appreciate it

twrp in paragraph Cleaning select the data format.
further write yes.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    1609312097902.png

    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.


    CyanogenMod 12.1
    for Lenovo Tab2 A7-10F
    (MT8127 only)


    Disclaimer
    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */
    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
    All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

    Prerequisites
    • latest LP Firmware, flashed with SP Flash Tool : firmware
    • latest TWRP : TWRP thread
    • clean install : you can try to dirty flash, but if you have issues you'll have to wipe your data partition

    Working
    • basic rom features
    • Youtube works in HD, including live streaming
    • video recording : 480p videos are encoded in h264, can't be played on tablet with google video player but can be played with vlc or on a computer
    Not working
    • FM Radio
    • some video streaming

    Changelog
    • 2021/01/02
      • fix moving apps to SDCdard
      • some MTK fixes : wifi tethering, thermal, battery, mali symbols
    • 2020/12/31
      Removed build: if you're on 2020/12/31 build and don't want to download a whole new build, a patch is attached to the first post of this thread to remove the background service that became useless.
      • governor is now userspace (removed)
        [*]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
    • 2020/11/11
      • initial release of 2020 builds
    Please
    • do not use included CM root, use magisk instead
    • do not ask for ETA
    • do not ask for lineage 13 or newer
    • no USB driver help in this thread
    • do not re-upload files anywhere
    • if you report issues, provide logs

    Downloads

    Installation

    KitKat users
    : If you're coming from a KitKat ROM, you need to install stock LolliPop upgrade before flashing CyanogenMod.
    • Download the ROM (and optional Gapps) zip, and put it on the internal or internal sdcard of your tablet
    • Boot TWRP recovery
    • Perform a nandroid backup of your current ROM (optional but recommended)
    • Wipe Data/Factory reset
    • Flash ROM
    • Optional: Install the Google Apps addon package
    • Reboot

    Update
    If not explicitly asked to do a clean install, you can update a previous version without wiping your data
    1. Download the updated ROM
    2. Boot TWRP recovery
    3. Perform a nandroid backup of your current ROM (optional but recommended)
    4. Flash ROM
    5. Wipe Cache/Dalvik cache
    6. Reboot

    Credits
    • Cyanogenmod
    • Pix106
    • Fire855
    • xen0n
    • ggow
    • olegsvs
    • andrew264
    • Tirth Patel ([email protected])
    • Thanks to all the people who contributing with testing the builds

    Contributors
    pix106
    Source Code: https://github.com/LenovoTab2A7
    8
    I've been trying to fix it for a while... and i'm still trying :)
    [email protected] is working on it too, we'll hopefully manage to make it work

    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. :)
    7
    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
    6
    I have tested it and it works fantastic:good:
    Balanced profile with default hotplug works perfectly fine.
    Any update regarding hw decoding and fm radio?
    Thanks for your encouraging report :)
    I'd like to have some more reports about this governor changes before including them in the mainline.

    FM Radio :
    [email protected] was working on it last time i heard about him some weeks ago.
    To be honest i did not really try anything for FM yet.

    HWC :
    i tried a lot of things, build flags, sources, blobs... but nothing worked for now.
    I may be missing something obvious, as it's my first rom building project. Any experienced opinion would be useful :)

    Building other roms :
    mainly to try to get some other logs for the HWC problem... and because it's frustrating to spend hours trying things that don't work, so doing something new is good !
    CM 12.0, Omni 5, AOSP 5.1, CM13 (it did only partially boot when using CM12.1 bootimage, there seems to be something different about bootimage in CM13/MM).
    I have made them boot, but did not polish them in any way. I would like to fix and understand HWC problem before doing anything more for any of these versions, if any is to be released.

    Building a kernel :
    my last activities about improving this rom are about building a kernel using lenovo's source and config.
    I get the built kernel to boot the rom, android seems to be booting fine... but without display. Nothing but black screen after power on logo.
    In logcat i see resolution is wrong (1280x800), and i can't get to make it right (1024x600).

    One more thing :) :
    I have also tried replacing some blobs from stock rom with libraries built with CM source e.g ibion.so and some other ones.
    It works fine for me, but it's not merged to the released builds for now, I may include these changes in the mainline later, after a testing build first.
    I also used a source on github to build gralloc-extra.so. I may try to find some different source, as it may be related to HWC (am i right ?).

    Any help/hint is welcome !
    5
    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.

    Yup, video issues are still there. I can't even watch GIFs properly, they tend to lag slightly.

    I've been trying to fix it for a while... and i'm still trying :)
    [email protected] is working on it too, we'll hopefully manage to make it work