FORUMS
Remove All Ads from XDA

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

4,786 posts
Thanks Meter: 19,049
 
Post Reply Email Thread
Announcement from superdragonpt: Rom Build v Stable 1.2 live (dev-Host download available)
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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-11-19-21-17-33.png
Views:	52356
Size:	101.4 KB
ID:	3038808   Click image for larger version

Name:	Screenshot_2014-11-19-22-42-35.png
Views:	52322
Size:	99.6 KB
ID:	3038809   Click image for larger version

Name:	Screenshot_2014-11-19-23-03-58.png
Views:	49768
Size:	37.9 KB
ID:	3038810   Click image for larger version

Name:	Screenshot_2014-11-19-23-04-10.png
Views:	49198
Size:	43.1 KB
ID:	3038811   Click image for larger version

Name:	Screenshot_2014-11-19-23-04-28.png
Views:	48788
Size:	51.8 KB
ID:	3038812   Click image for larger version

Name:	Screenshot_2014-11-19-23-05-08.jpg
Views:	49546
Size:	61.3 KB
ID:	3038813   Click image for larger version

Name:	Screenshot_2014-11-19-23-09-49.png
Views:	48998
Size:	55.8 KB
ID:	3038814   Click image for larger version

Name:	Screenshot_2014-11-19-23-10-10.png
Views:	49316
Size:	78.0 KB
ID:	3038815   Click image for larger version

Name:	Screenshot_2014-11-28-23-27-17.png
Views:	48576
Size:	27.5 KB
ID:	3038816   Click image for larger version

Name:	Screenshot_2014-11-28-23-34-58.png
Views:	48338
Size:	33.8 KB
ID:	3038817   Click image for larger version

Name:	shot_2014-11-19_21-17-45.jpg
Views:	48654
Size:	61.5 KB
ID:	3038818   Click image for larger version

Name:	Screenshot_2014-11-29-01-22-38.png
Views:	48766
Size:	79.0 KB
ID:	3038821  
The Following 90 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
 
 
29th November 2014, 12:52 AM |#2  
superdragonpt's Avatar
OP Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 19,049
 
Donate to Me
More
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
The Following 48 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
29th November 2014, 12:52 AM |#3  
superdragonpt's Avatar
OP Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 19,049
 
Donate to Me
More
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



The Following 27 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
29th November 2014, 04:54 AM |#4  
superdragonpt's Avatar
OP Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 19,049
 
Donate to Me
More
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)
The Following 37 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
29th November 2014, 12:04 PM |#5  
Junior Member
Flag Lamego
Thanks Meter: 4
 
More
Recovery
Is the recovery touch? My power button doesn't work. Thanks in advance
The Following User Says Thank You to StuffiLike For This Useful Post: [ View ] Gift StuffiLike Ad-Free
29th November 2014, 12:42 PM |#6  
Januh's Avatar
Senior Member
Flag Lisbon
Thanks Meter: 8
 
More
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
The Following User Says Thank You to Januh For This Useful Post: [ View ] Gift Januh Ad-Free
29th November 2014, 01:20 PM |#7  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by StuffiLike

Is the recovery touch? My power button doesn't work. Thanks in advance

Yes, it is the recovery Touch.
I'm testing this rom, at the moment is going very good and smooth! Will edit later if i find any bugs.

Great work and thanks!
The Following User Says Thank You to Alucad For This Useful Post: [ View ] Gift Alucad Ad-Free
29th November 2014, 03:41 PM |#8  
big_alex's Avatar
Junior Member
Flag Kiev
Thanks Meter: 17
 
More
Thank you, good job.
If the file is copied platform.xml to etc/permissions/platform.xml you will be able to install applications to the SD card.
platform.7z
Click image for larger version

Name:	Screenshot_2013-01-01-00-04-47.png
Views:	1926
Size:	70.6 KB
ID:	3039657
The Following 2 Users Say Thank You to big_alex For This Useful Post: [ View ] Gift big_alex Ad-Free
29th November 2014, 08:38 PM |#9  
superdragonpt's Avatar
OP Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 19,049
 
Donate to Me
More
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
The Following 7 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
29th November 2014, 11:28 PM |#10  
Junior Member
Thanks Meter: 1
 
More
It's very laggy in my ZTE.

Am I the only one?

EDIT: Not laggy now, all is correct. Thank you superdragon!
The Following User Says Thank You to Juanjose1 For This Useful Post: [ View ] Gift Juanjose1 Ad-Free
30th November 2014, 12:02 AM |#11  
superdragonpt's Avatar
OP Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 19,049
 
Donate to Me
More
Quote:
Originally Posted by Juanjose1

It's very laggy in my ZTE.

Am I the only one?

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 ...)


The Following 3 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
v970

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes