[ZTE Grand X V970] superdragonpt:
#include
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM /PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS,
* AND MAYBE BUY ME SOME BEERS
*/

Open Sourcing Mediatek - ZTE v970 ; SoC MT6577

MediaTek Development

Being owner of an Mediatek device, means (most of the times) not having the sourcecode published by the Official vendor.

ZTE never published their ICS / JB sources (they only gave us incompleted, and unbuildable sources).

--> Well ... This is XDA after all .....

WELCOME to KitKat​

Hello Guys !

In this thread you will find my Rom and Kernel for the ZTE v970 / v970m / Smart a18 (Portuguese Single-SIM version)

Please be sure to read (and re-read) carefully, to avoid unnecessary questions.

Rom and Kernel INFO:

ROM: KitKat 4.4.2 [ KOT49I ]

Custom Kernel : 3.4.67 [MTK KitKat Kernel]

About the Rom:

Rom based on the Official Release by Motorola XT919 / XT920

Its now Ported to our Device

Starting from v1.2 , most things are now compiled from modified customizable source-code.

Many fixs where required for making work on our Combo-Chip [MT6620 - Responsible for the Radio / GPS / WiFi / etc]

Includes: Brand New Custom KitKat Kernel 3.4.67

Changelogs :

Changelog v Stable 1.2 (February 15 2015)

This is an huge Update, several things on the rom are now compiled from source...

New Kernel

Updated Camera configs / Lens / Hall to be "in-line" with the new rom camera libs.

Rom

Fix : Camera Hall / image / Lens / Sensors (camera now with 8MPX; interpolated )

Fix : Camcorder

Fix : Improved rom, with several things now being compiled from source for our ZTE (no more dirty hacks)

Fix: Some SE Linux Permissions on AROMA installer

General Rom Clean

APKs zipaligned

NOTE: In order to have the proper camera preview, be sure to "tick" on camera settings the "ZSD" Option

NOTE 2: Due to the major changes on the rom itself, it is strongly recommended, that you don't dirty flash.

--> Be sure to backup your things, and make all wipes, then install this build.

Changelog v Stable 1.1 R2(January 27 2015)

Now compiled with the latest Linaro Toolchain 4.9.3

New compilation Flags and MOD Flags: Neon; Cortex a9; arm v7; Linaro's 4.7+ / 4.9.x Flags; fgcse-las; etc

User Customizable AROMA Installer:

Single/Dual SIM Selection

Baseband Selection (Europe/USA/ JB Baseband **** Europe/USA 2 (Old ICS Modem) **** Venezuela (MoviStar) Baseband+APN's)

Root Selection (Choose to apply Root, or stay un-rooted)

ADD: CPU Governors: Sakuractive (Optimized HotPlug Governor)

ADD: I/O Schedulers: ROW and SIO

REMOVED: Motorola's FLEX Info (merged lingfude's patch)

Minimum Readahead increased to 32Kb (16 > 32)

Maximum Readahead increased to 1024Kb (128 > 1024)

Completely Fair Scheduler (CFS): Responsiveness Tweeks

Dynamic management of dirty page writebacks (Fully controlled via Settings > Performance Control )

Increase Swappiness to 70 (60 > 70)

Disable Gentle Fair Sleepers (Better UI responsiveness)

FIX: Headset Driver (Music/ on-Call Volume Buttons)

FIX: Network Data Meter (Mobile Data and Wifi)

FIX: Green LED when Charging > 90% (merged lingfude's patch)

-WIP- FIX: Camera (Improved Camera colours with the new re-compiled camera .blobs, still - WIP - ); also (merged qus1's camera patch)

Changelog v Stable 1.1 (January 25 2015)

--Removed from downloads due to issues--

Now compiled with the latest Linaro Toolchain 4.9.3

New compilation Flags and MOD Flags: Neon; Cortex a9; arm v7; Linaro's 4.7+ / 4.9.x Flags; fgcse-las; etc

User Customizable AROMA Installer:

Single/Dual SIM Selection

Baseband Selection (Europe/USA/ JB Baseband and Venezuela (MoviStar) ICS Baseband+APN's)

Root Selection (Choose to apply Root, or stay un-rooted)

ADD: CPU Governors: Sakuractive (Optimized HotPlug Governor)

ADD: I/O Schedulers: ROW and SIO

ADD: Multi-User Support (Settings> Users); Check F.A.Q for more Info

REMOVED: Motorola's FLEX Info (merged lingfude's patch)

Minimum Readahead increased to 32Kb (16 > 32)

Maximum Readahead increased to 1024Kb (128 > 1024)

Completely Fair Scheduler (CFS): Responsiveness Tweeks

Dynamic management of dirty page writebacks (Fully controlled via Settings > Performance Control )

Increase Swappiness to 70 (60 > 70)

Disable Gentle Fair Sleepers (Better UI responsiveness)

FIX: Headset Driver (Music/ on-Call Volume Buttons)

FIX: Network Data Meter (Mobile Data and Wifi)

FIX: Green LED when Charging > 90% (merged lingfude's patch)

-WIP- FIX: Camera (Improved Camera colours with the new re-compiled camera .blobs, still - WIP - ); also (merged qus1's camera patch)

Changelog v Stable 1.0 (December 18 2014)

FIX: Bluetooth (thanks qus)

FIX: SIM Management (now working, and available on Settings)

Added: MTK Eng. Mode on Settings

Added: CPU Performance Control on Settings

Added: AOSP Browser (Google replaced AOSP Browser with Chrome since KK Release)

Changelog v Beta 2 (December 11 2014)

AROMA Installer ;)

New Kernel

FIX: Calls under 3G Network (merged patch)

FIX: Camera AF (Auto-Focus)

FIX: "Automatic Time Zone" FC (com.android.phone) error.

FIX: Device Default USB Name (Device name-Mass Storage)

MOD: Modified KK Permissions to allow apps/data to read/write from External SD Card (Google Removed External SD Card acess on KK)

Cleaned: Unused Telephony .blobs

Added: Default KK Music app (was broken, so i didn't added on Beta1)

Added: modified HOSTs (no more adds from apps spaming you...)

Added: CPU Governor : SmartAss V2 (modified for Dual-core ARM)

Added: CPU Governor : PegasusQ (modified for DUAL-Core ARM)

Changelog v Beta 1 (November 29 2014)

First Beta Release

Current Rom and Kernel Status:

Working:

- Telephony (Calls / etc) (2G and 3G)

- Data Connection 2G / 3G

- ART / Dalvik

- FM Radio

- GPS

- Wifi and Wifi Theter

- Bluetooth

- Sensors

- LED's

- Camera / Camcorder

- Pretty much everything is working just fine ...

Needs Improvements:

- You Tell me ;)

GPL Compliance:

​

Kernel 3.4.67 KK

https://github.com/dragonpt/Kernel_3.4.67_KK_ZTE_v970

I do respect the GPL, but using someone else's work without proper credits is just LACK OF RESPECT.

The inclusion of this kernel in other [future] ROMS is NOT allowed.

--> Instead add a link to this thread as a recommendation on your thread.

The MT6620 Combo-Chip Patchs can of course be used by enyone else trying to work on another device with the same SoC and Combo-Chip,

--> Just show some Humanity and give credits for the work i made ...

I Don't support KANGS!

So please Show some respect, when using my commits and patchs, as well as the commits i added from other Dev's (with proper credits/ git authorization)

Fail to comply and i will drop this project

Credits:

superdragonpt

qus1 , for the initial Help / RAW Original Motorola Rom / Being an nice guy ;)

I would also like to thank:

bgcngm , for the MTK unpack / repack kernel scripts

lingfude , for the original GT818B Driver work, on the old JB Kernel --> Driver backported to this KK build / Auto-time zone fix

Christopher83, for Linaro Toolchains and Dynamic management of dirty page writebacks

amarullz, for the awesome Aroma Installer

Chainfire, for the SuperSU

XDA:DevDB Information

[ROM] [KERNEL] [KITKAT KOT49I ] ZTE V970 / V970M [MT6577], ROM for the Android General

Contributors

superdragonpt

Source Code: https://github.com/dragonpt/Kernel_3.4.67_KK_ZTE_v970

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Based On: AOSP / MTK

Version Information

Status: Stable

Current Stable Version: 1.2

Stable Release Date: 2014-12-18

Beta Release Date: 2014-11-29

Created 2014-11-29

Last Updated 2015-03-21