• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] [KERNEL] [KITKAT 4.4.2 - KOT49I ] ZTE V970 / V970M [MT6577]

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
Code:
#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
 

Attachments

Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
How to Install / Requirements

Requirements:

- New CWM or TWRP Recovery ( In The Downloads Section)
--> I Recommend TWRP

- Extended Internal UserData Partition (due to the new KK fstab, the internal Memory can't be mounted)
(Users with stock Partition Layout, can still flash this rom, however you'll have only 500MB of userdata)

Installation / Flashing Procedure:


  • - Put the rom on the EXTERNAL SD Card
  • - FULL Wipes are mandatory (Cache/dalvik/Data)
  • - Flash the ROM


Since Rom Build Stable 1.1: You have an customizable AROMA Installer:


  • Choose Single/ Dual SIM
  • Choose BaseBands Modems
  • Choose to Root/ Stay un-rooted

Downloads:

Downloads are on XDA DevDB
or

On my Dev-Host

KitKat_ZTE_v970_Stable_1.2.zip - 297.48 MB

On my AndroidFileHost

https://www.androidfilehost.com/?fid=95916177934534755





Have Funn ;)
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
Kernel Goodies / INFO

Kernel Info:

New Custom Kernel to support KitKat
kernel version: 3.4.67

Governors available:


  • Hybrid <--Default
  • ondemand
  • userspace
  • powersave
  • performance
  • pegasusq (Add on Beta2)
  • smartassv2 (Add on Beta2)
  • Sakuractive (Add on Stable 1.1)
I/0 Schedulers available:



  • cfq <-- Default
  • noop
  • deadline
  • sio (Add on Stable 1.1)
  • row (Add on Stable 1.1)


TCP Congestion Control:



  • cubic <-- Default
  • reno
  • bic
  • westwood
  • highspeed
  • hybla
  • htcp
  • vegas
  • veno
  • scalable
  • Ip
  • yeah
  • illinois
Other Kernel Features:



  • ZRAM <-- Enabled as Default

  • SDCard Minimum Readahead 32 Kb / Maximum Readahead 1024Kb

  • Dynamic management of dirty page writebacks

You can check all the Custom Changes on my GitHub Repo



 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
F.A.Q

Q: How can i acess the MTK Engineering Menu?
A: On the dialer : *#*#3646633#*#*
OR --> Settings > MTK Eng. Mode ( added on Stable 1.0)

Q: What Can i do, on the MTK Engineering Menu?
A: The Engineering Menu, should be for Advanced users only, there's several things you can do.
a) Increase The volume speaker volume: >hardware testing>Audio>LoudSpeaker Mode> And set MAX Vol with an max value of 160 (145 as safe)
b) The same options, as in JellyBean MTK Eng Menu.

Q: What are the Partitions Layouts usable on This ROM/KitKat ?
A: BOTH Partitions are usable (Stock and Extended), however on stock Partition Layout, the Internal SDCard (~2GB) can´t be used as is not visible due to the new KitKat fstab (partition table)

Q: I have the Extended Userdata Partition Layout, do i need to flash any disabled Internal SDCard?
A: NO, There's nothing you need to do or flash

Q: Is this ROM Multi-Language ?
A: Yes

Q: How can i change the Kernel Settings (Governors/ etc) ?
A: You can download any app from the PlayStore, i recommend the Trickster MOD

Q: Where are the Developer Options?
A: Go to Settings>About Phone, and tap 7 times on the Build Number

Q: Where can i change the Android Runtime from Dalvik to ART and vice-versa?
A: You can change on the Developer Options

Q:I changed the Android Runtime from Dalvik to ART and app "x" is not working , why?
A: That's rather normal, not every app is compatible with ART.

Q: Is Xposed Framework and his modules compatible with ART?
A: NO, Xposed Framework and his modules (like GravityBox), are not compatible with ART

Q: I Love your work, how can i thank you?
A: You can press the "Thanks" button, and if you wish, you can pay me an beer(s) :fingers-crossed:
 
Last edited:

Januh

Senior Member
Jan 31, 2012
249
10
0
Lisbon
YEAYY!! Finally!! 4.4 for zte v970!!
THANKS BRO!! ;) all the best
Downloading atm... will reply with my feedback ;)
1st thing, Recovery when you put to reboot he go to the main menu of the recovery ALL THE TIME...
2nd i made all the steps and went well but in this ROM i cant get the expandable storage, with the previous roms i always got the expandable storage but with this one dont :\
any help on that?
3rd i made the expandable thing to my mobile, and i found 1 issue! when you made a call you CANT HEAR ANYTHING but the call IS MADE STILL i made a backup before doing the file for expand, i restored and now is fine the sound...
3rd a) i found out that if you put network to 2G the sound can be heard on the speaker when you made a call
 
Last edited:
  • Like
Reactions: rhiel100212

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
Hi

I'll be uploading an new recovery ( Twrp ) tomorrow, since cwm can be an buggy sometimes on KK. ( reboot doesn't work sometimes on recovery)

Edit: I can confirm that on calls, on 3G you cant hear the other person (Edit the OP with this info)
On 2G calls works just fine

Regards, have funn ;)
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
It's very laggy in my ZTE.

Am I the only one? :p

EDIT: Not laggy now, all is correct. Thank you superdragon!
No problem haha ;)

It's actually as smoother as JB4.1 or even slightly better.
--> KitKat uses less RAM (any 512MB RAM Phone can run it just fine), you'll see that KK gives you more free Ram, than any JB/ICS Rom.

;)

Regards


EDIT: F.A.Q. and Kernel Features added on OP and following posts...

EDIT 2: New TWRP Recovery added (Its better than CWM ...)


 
Last edited:

yournametv

Member
Jun 8, 2013
6
1
0
Yes, KK's very stable on my devive(512mb ram). Compared to JB 4.1/4.2, it give more free ram. Don't lags, don't crashes. Amazing!!
Many thanks to superdragonpt :):) you are great!!
 

superdragonpt

Recognized Developer
Apr 27, 2013
4,892
19,216
0
Lisbon / Taiwan / USA
www.caixamagica.pt
Yes, KK's very stable on my devive(512mb ram). Compared to JB 4.1/4.2, it give more free ram. Don't lags, don't crashes. Amazing!!
Many thanks to superdragonpt :):) you are great!!

Hi Yournametv

Yes KitKat runs very good on 512MB, i know, becouse i have another thread, Rom KitKat for micromax a110, and that phone only haves 512MB. and runs smooth ;)

This is still "Beta" , becouse its the first release, but im my opinion, the rom, runs great.
I've been testing this rom for some days, and no big issues.

Please, feel free to share you feedback about the rom, im very Curious to know how's it runs on 512MB.
If you play any heavy game (RAM consuming) please share your feedback here.
Also try to play heavy games, that didn't worked on ICS/JB, KK is more light ... ;)


EDIT:
One of the bugs, seems to be fixed: Calls on 3G, i'll post later an patch for you all

Regards ;)
 

wwhitefang

New member
Nov 30, 2014
1
1
0
thanks for bringing kitkat to this device :)

this rom is awesome for 512 ram device, after install full apps it left more 200mb free of ram, that was impossible in JB :), :cool:
I could moothly surfing heavy website in chrome, switch moothly to other mutitasking apps, I've never ever done it in lewa or JB. this rom make me love my phone more,

could you make a option to choose which sim to be used in 3nd message/dialer apps please? thanks in advance :victory:
 
Last edited:
  • Like
Reactions: obekende

Juanjose1

New member
Nov 29, 2014
3
1
0
BIg Games

Works fine with ''big games'' :good: . Tested:
- Boom Beach
- Candy Crush Soda Saga
- Clash of Clans

Thank you Superdragon! :D

EDIT: I'm in ZTE Grand XM (1GB RAM), 512 MB to play xD
 

Farinha91

New member
Jun 19, 2013
2
0
0
Seixal
No sound during calls

Hi all,

I've just installed this ROM and (as for your previous ROM'S for v970) I want to congratulate (and thank) you on your work, the ROM's are pretty stable and smooth.

However, in this ROM I'm faced with an annoying problem in which when I make/receive calls the other person can hear me but I can't hear anything. I already tested the recording app so it is not certainly an hardware problem. I installed the ROM with TWRP and on the second boot installed superSU as instructed. I got no error messages whatsoever and all the other features seems to work as announced.

I have the v970 version with a single SIM (tmn version). Does anyone has/solved this problem?


Sorry, did not read all the posts previously, forcing the 2G solved it. My bad. Keep up the good work.

Thanks,
Best regards,
André Farinha
 
Last edited: