[Miscellaneous Android Development] vjtigas:
Lenovo Tab A7-30 A3300

[IMG="Lenovo Tab A7-30 A3300"]http://batgraf.eu/plikownia/medion2/tablety/a5500/white3.jpg[/IMG]​

Description & Specifications:

The Lenovo Tab A7-30 A3300 is a 7" tablet having an IPS capacitive touchscreen with a resolution of 600x1024 pixels and a pixel density of ~170 ppi, giving a wide viewing experience.

There are three variants of the Tab A7-30: WiFi only, WiFi+2G (A3300-G/GV), and WiFi+2G+3G (A3300-W/H/HV). Additionlly, there's also a Chinese variant without the preinstalled Google apps, the A3300-T.

The tab shipped with Android 4.2.2 (Jelly Bean) out of the box with the first releases, with a 4.4.2 (KitKat) update released by Lenovo, giving a faster and better experience and features. There are also unofficial updates, giving up to Android 5.1.1 with CyanogenMod 12.1. CyanogenMod 13 is also currently in alpha development.

The WiFi variants use an ARM MediaTek MT8121M 28nm quad-core Cortex-A7 SoC with a clock speed of 1.3GHz and a PowerVR SGX 544 GPU in 156MHz, enabling better multitasking. The other two variants use MT8382M, that is very similar to the other SoC. But the latter instead has a Mali-400MP2 GPU.

A7-30 has an internal storage of 8GB, with a dedicated microSD slot for additional storage, up to 64GB. It has 1GB RAM to be used by the system.

It takes photos and videos with the rear camera that captures images up to 2MP, and the front camera capturing pictures up to 0.3MP.

A3300 plays music and audio with the front facing stereo speakers, with features from Dolby Atmos™. It takes audio recordings and calls from the integrated stereo microphone.

The tablet has WiFi 802.11 b/g/n, Bluetooth® 4.0, A-GPS, FM radio and G-sensor (accelerometer). It has a microUSB 2.0 port for charging and transferring media.

The Tab A7-30 has a 3450mAh non-removable lithium polymer battery that gives a usage time of up to 8 hours and a standby time of up to 2 weeks.

Drivers & Utilities:

MT8382M Preloader Drivers

SP Flash Tools v5.1352.01

Lenovo Smart Assistant

*When you download some files on Windows (depending on file type), they will be blocked on Windows by default. You can unblock them on their file properties window.

*To install the drivers, run Install.bat as administrator.

*Just answer Yes/OK/Y to any of the questions asked by the installer. Be sure to disable or remove other programs that could interfere with the installation. Also, for Windows 8.1+ x64 users, you should disable driver signature verification.

*You could verify if the drivers were installed successfully by connecting your tablet while it is turned off and while holding the Volume Down button. It would show a driver installation notification.

*Using the most updated versions of SP Flash Tool will result the flashing of firmware to our device to an error.

Latest Stock Firmware:

A3300-G/GV: A3300GV_A442_01_48_150325_ROW

A3300-W/H/HV: A3300HV_A442_01_24_150319_ROW

A3300-T: A3300T_A442_01_45_140906_CN

*By flashing the GV and HV firmware to the G and H variants respectively, you'll get mobile telephony functions in your device, which was absent originally in those variants.

Instructions for Firmware Flashing with SP Flash Tool:

Install the drivers and extract the SP Flash Tool and firmware folder anywhere you want (I prefer it either on the desktop or the root of storage, C:\).

Run flash_tool.exe with administrator privileges.

In the Download section, click on Scatter Loading. It will open a dialog box, select MT6582_Android_scatter.txt. Make sure every checkbox on the list is checked.

Click the Download button.

While holding the Volume Down key from your powered off tablet, connect it to your PC. It should start flashing the firmware right away. You can release the button after SP Flash Tools started flashing (it will show "Flash (percentage)%" in the progress bar).

After flashing has completed, it should show a window with a check icon. You can then disconnect the cable and reboot your device.

If you are notified at boot that there is an OTA update available to be installed, it is recommended to do it.

Reset Button:

[IMG="Reset Button"]https://lnv.i.lithium.com/t5/image/serverpage/image-id/60714i8F49B8D4D722360B/image-dimensions/1500?v=mpbl-1&px=-1[/IMG]

Root the Lenovo Tab A7-30:

KingRoot

*You could replace it by flashing a custom recovery, then flashing SuperSU

With SP Flash Tool and the stock firmware

Do the first step in the instructions for flashing the stock firmware with SP Flash Tool. If you had already done it, skip this.

Replace the stock recovery in the stock firmware with your preferred custom recovery (TWRP 3.x is the most recommended). Backup the stock recovery.img (optional), rename the TWRP .img file to recovery.img then move it to the stock firmware folder.

Delete the checksum.ini file in the same folder. This will make SP Flash Tool skip the verification of checksums of the image files to be flashed to the device, allowing it to flash custom ones.

Run flash_tool.exe with administrator privileges.

In the Download section, click on Scatter Loading. It will open a dialog box, select MT6582_Android_scatter.txt. Make sure only the checkbox on RECOVERY is checked.

Click the Download button.

While holding the Volume Down key from your powered off tablet, connect it to your PC. It should start flashing the firmware right away. You can release the button after SP Flash Tools started flashing (it will show "Flash (percentage)%" in the progress bar).

After flashing has completed, it should show a window with a check icon. You can then disconnect the cable and reboot to recovery.

You could flash your chosen SuperSU flashable zip there to root your device.

Install Custom Recovery:

Flashify

*You could also do it with the second method in rooting (sans flashing SuperSU)

TeamWin Recovery Project 3.0.0-0:

Google Drive (flashable zip, recovery.img inside) (Credits to jemmini of 4pda.ru forums)

CyanogenMod 12.1 (Credits to Toenado of 4pda.ru forums)

A3300-G/GV (TEST BUILD)

A3300-W/H/HV

Notes:

Default language is Russian, you can change it on the Setup Wizard or the Settings app

You need to flash a patch after booting the ROM to fix some issues

There are also Sound Fix and YouTube 720p Playback Fix zips to be flashed also after booting the ROM and after installing YouTube, respectively

Shou app is preinstalled in the ROM

Force GPU rendering and AwesomePlayer is enabled by default in Developer options

CyanogenMod 13 (Toenado)

A3300-HV

*Default language is Russian.

Working:

Camera

YouTube Playback

Video Recording

RIL

Storage (doesn't need patch to fix issues)

Bugs:

Miracast (partially working)

OTG

Bluetooth

Formatting microSD card as internal storage

Auto Rotation

*There is a SIM cards setting that shows options for SIM2, which is of no use for our device.

Temasek's CyanogenMod 13 (MrWigleg)

A3300-HV

*Default language is Russian.

Working:

Camera

Bluetooth

Auto Rotation

YouTube Playback

Video Recording

RIL

SELinux

Storage (doesn't need patch to fix issues)

Bugs:

Screen Recording

Speaker Audio Quality

VPN

Front Camera Video Recording

GPS

Recommended GApps Package: Open GApps

My .gapps-config file for the Super package for CyanogenMod 13:

# Open GApps Configuration for Lenovo Tab A7-30 A3300-HV on CyanogenMod 13
NoDebug
ForceNewCamera
Include

Books
CalculatorGoogle
CalendarGoogle
CameraGoogle
Chrome
ClockGoogle
ContactsGoogle
DialerFramework
DialerGoogle
Drive
ExchangeGoogle
Gmail
GoogleNow
GooglePlus
GoogleTTS
Keep
KeyboardGoogle
Maps
Messenger
Movies
Music
NewsStand
NewsWidget
PackageInstallerGoogle
Photos
PlayGames
Search
Speech
Translate
WebViewGoogle
YouTube

BasicDreams
Browser
CameraStock
CMAccount
CMAudioFX
CMFileManager
CMMusic
CMWallpapers
DashClock
Email
Gallery
Galaxy
HoloSpiral
Launcher
LiveWallpapers
NoiseField
PhaseBeam
PhotoPhase
PhotoTable
PicoTTS
Studio
SykoPath
TagStock
VisualizationWallpapers
WhisperPush

(CellBroadcastReceiver)

Additional Apps/Zips/Mods:

SuperSU or SuperSU BETA

Xposed Framework (choose xposed-vXX-sdk-22-arm.zip or xposed-vXX-sdk-23-arm.zip) (sdk22 - Lollipop/5.1, sdk23 - Marshmallow/6.0)

Viper|Audio/Viper|Atmos/Viper|DD+

Dolby Atmos™ Sony™ Beats™ Edition (modified from above mod)

Android Marshmallow Boot Animation (600p) + Android N Dev Preview 2 Emoji Font

Latest

LatesColor Emoji font file:

https://noto-website-2.storage.googleapis.com/pkgs/NotoColorEmoji-unhinted.zip

*Extract the font file inside the zip

*You could replace the stock NotoColorEmoji.ttf from /system/fonts with the one in this zip to get the newer emojis.

Google Powered by Android Boot Logo:

https://yadi.sk/d/bGz81E6TqPemt

[IMG="Google Powered by Android Boot Logo"]http://cs3-2.4pda.to/7800482/img1.png?0057afa470c6534356f7bd6900000000f446e176f7a3ec4ccd57f9a09399031a[/IMG]

Note: Almost everything is from 4pda.ru forums.