yashsingh1/xdaforums huggingface dataset:
[ZTE Grand X V970] superdragonpt:
New kernel version, should be released tonight.

More improvements , and fixs.

Regards

EDIT: Kernel schedule to Tomorow ... too tired right now ...

If you want to test the new kernel, check my new Rom ...

Regards
[ZTE Grand X V970] superdragonpt:
Kernel Release v1.3

Changelog v1.3 (May 22 2014)

ToolChain: Now compiled with Linaro Toolchain 4.6.4 (Optimized Cortex a9 - Better Performance )

Battery: NTC Enabled (Fixs Temperature reading)

Battery: Reverted to v1.1 Battery configs + NTC Enabling (this is the best combo)

Battery: Improved WIFI Draining (Battery will last longer now when WIFI is ON)

Kernel Modules: Striped from useless code (now they are 1 / 4 of their old size )

When Downloading, Please choose the proper .zip:

Jelly Bean 4.1

Jelly Bean 4.2

Jelly Bean 4.1 - Miui v4

Jelly Bean 4.1 - LeWa v5

Regards ;)
[ZTE Grand X V970] lingfude:
Good job! ;)
[ZTE Grand X V970] marsigliah:
If I would to go back to stock kernel, how I do it? Sorry if this already been asked.
[ZTE Grand X V970] etijer:
Restore previous backup or flash back your previous rom with stock kernel.

Regards.
[ZTE Grand X V970] vinamilk:
Just extract kernel from Rom you want and replace the one in zip flash file, then flash again to restore it.
[ZTE Grand X V970] Conny:
battery temperature

Hello,

please go back to previous settings with battery sensor setting.

After the battery was charged, it reports overheat but in fact the phone was cold.

thanks

Roman
[ZTE Grand X V970] HidEaL:
Hi everyone,

Just testing kernel 1.3, it is very good (once again, kudos superdragonpt ;)). However, just wondering: With JB 4.2.2 (at least with v1.3 of that ROM, not sure about v1.4) I used to be able to get 3G on SIM2. Now - with the 1.3 kernel - the option isn't even available. I went trough the changelogs and threads and found nothing about this "issue". Any toughts?
[ZTE Grand X V970] d07a2010:
OMG,you rock

what're you doing on batterylife?

I can't believe my eyes

Thanks bro for everything till now my rom is awesome :D
[ZTE Grand X V970] komornik:
Hello,

i have your Rom 4.2.2 v1.4 and update Kernel to 1.3, and now, i have problem with:

"Unfortunately, Google Text-to-speech engine has stopped."

I did 3x wipe. The problem is all the time
[ZTE Grand X V970] nadiren:
try flashing gapps package from recovery, that'll solve your problem...
[ZTE Grand X V970] komornik:
Where I can found Gapps? I don't have backup :(

Any can upload it?
[ZTE Grand X V970] superdragonpt:
Here Gapps for JB 4.2:

http://d-h.st/nCG

I updated and tested on 4.2 also, and didnt had any problem with that ...

regards
[ZTE Grand X V970] superdragonpt:
FaceBook app, notifications on JB 4.1.x Roms

hi

Some users said that on JB 4.1.x Roms, the Notifications from the facebook app (browser works ok) was giving random reboots and frozing the phone.

Well here's an new kernel for STOCK Based 4.1.x Roms Only (doesn't work on MIUI/Lewa) but its just an matter of repacking the kernel with MIUI/LeWa ramdisks (i wont do it for now)

JB 4.2.2 does NOT have this issues.

New testing kernel download here:

KERNEL_JB4.1_ZTE_v970._v1.3-R2.zip - 3.14 MB

This fix will be added on the next v1.4

Thanks to all FaceBook members for testing this new kernel, and helping me debuging the issue thru the day ...

Regards ;)
[ZTE Grand X V970] superdragonpt:
Reports / Feedback

Reporting Bugs / Feedback

I've been receiving several PMs of reports.

New users ( or with low posts) cant reply on this section, so reporting via PM is fine and i understand.

Others users, please report in this thread.

[MENTION=5300788]yournametv[/MENTION] and others:

It seems that users with the Vietnamese variant of v970 can't run this kernel

Keep in mind that your variant is different, not only it haves just 512MB Ram ( and the internacional version haves 1Gb), also its most likely to use some different sensors.

In order to add full support for your variant, i'll need some data:

1: I need the stock Rom of your phone variant

2: Flash my kernel, and please take an Logcat or Dmesg so that i can check your logs .

Will do my best to add full support for your variant.

As a note:

Next build will be delayed due to my Linux HDD, just died yesterday.

Im trying to recover some data ( had no backup of that 1.5 TB disk)

Regards ;)
[ZTE Grand X V970] Conny:
sleep of death

Hello,

I'm facing SOD issue with the last kernel..

Anyone else?
[ZTE Grand X V970] superdragonpt:
No one mention that ... (or myself).

Whats the rom and Kernel Variant (JB x) ?

Regards
[ZTE Grand X V970] Conny:
4.2.2 yours and last kernel.

But what i realized it might be a smart radio.i turned it off and over night it is ok..

Does anyone use smart radio with issues?

Thanks
[ZTE Grand X V970] superdragonpt:
Kernel Version v1.4

EDIT:

I'm Currently Upstreaming the kernel Version ;)

Release v1.4 delayed to tomorow (i hope)

Regards
[ZTE Grand X V970] superdragonpt:
Next version will have an Massive update.

Sorry but it wont be today. This is an tone of work...

Been working for over 14h straight,right now kernel is already upstream to Linux 3.4.17

With over 1000 commits (patches) added.and of course several brakes on sources that i had to fix...

This is an HUGE task, there's still about +2000 commits to get to the linux mainstream.

You can follow my on going progress on my GitHub

Regards
[ZTE Grand X V970] vinamilk:
Does it support 512M Ram version now, mr. sDragon ?
[ZTE Grand X V970] nadiren:
it can't, they have totally different hardware...
[ZTE Grand X V970] superdragonpt:
Im hopping that next version will be more compatible with the 512Mb variant.

From the kernel blob that i got from an member with that phone, i dumped that kernel and didnt found no extra sensors.

The only thing that i noticed, is that from the dmesg i could see that some modules where failing to load.

So: most likely it uses some different sensors, but i could't check that from the dump.

Lets see

Yes, that may be the case.

But its tottaly possible to fully support that version. It just an question on finding the right hardware it uses.

About the kernel upstream:

This will take some time. Don't ask ETA. I had to revert the last 1200 commits ( i was already at Linux 3.4.18) since my damm Ubuntu is throwing a lot of errors, and entering on Read Mode only while im updating the source. Leading to several errors and currupt data.

So right now we are at Linux 3.4.6.

Trying to found an solution, since i really dont want to use an VM station ( its slow).

Regards
[ZTE Grand X V970] akkenoth:
And there's your problem. Next time get a distro that doesn't try to do everything for you and is bloated like motha*. Do it the Linux way ;)

If you want a distro that works out-of-the-box and is quite similar in usage, I'd recommend Mint Debian Edition. If you don't mind setting the system up from the ground, go with Arch.

Also why not VM? If you have at least higher Core2 CPU and enabled VT-d (check in BIOS/UEFI), it's barely slower than native.

And of course great thanks for your incredible job, I'm waiting for next release ;)

Hopefully battery drainage during any data connection (3G/wifi) is fixed?
[ZTE Grand X V970] superdragonpt:
double post ...
[ZTE Grand X V970] superdragonpt:
The problem is whit my HDD (s).

The first one died (1.5TB to the trash), managed to salvage some things from an recovery HDD program.

Now i got another HDD (free from an friend) and its also full of bad bloqs --> Whenever im working on something the ubuntu enters on read only mode --> i loose every progress i made.

So for the kernel upstream im currentlly doing on these last days, im using an VM, but its damm slow.

Need to buy an new HDD. This get on my nerves, already wasted several work hours becouse of this.

I also use the Linux Caixa Magica -.- Its an Nice distro. (debian base)

Upstream done to 3.5.10, and with the sources fixed.

Im using an test kernel from these sources, since yesterday night. Seems all ok.

Regards
[ZTE Grand X V970] akkenoth:
First, do a fsck, it should mark bad sectors and fix some errors.

Second, /etc/fstab, find the line responsible for that partition and remove something like "errors=remount-ro" from the end.

Good luck with that hdd! I have to buy a new one too, so i understand these problems...

Edit: and don't get 750gb or 1.5tb discs, those are most problematic due to weird plate/header layout.
[ZTE Grand X V970] superdragonpt:
yes i know.

i have to do fsck on ubuntu console several times an day.

it only temp fix the issue.

im using VM now but this is painfull...

On-Topic:

upstream to 3.4.12, and another bunch of code brakes. This is painfull, i cant even properly upstream an sub-level version without breaking some functions.

from 3.4.10 (that i already fixed) --> to 3.4.12 broke the power drivers / some ARM routines, etc.

The MTK code / changes intruduced on Kernel is an mess

EDIT: Sources where broke on Linux 3.4.12.

New compiled Kernel at Linux 3.4.11, working good so far

regards.
[ZTE Grand X V970] ghpk:
I tried this kernel on my 4.2.2 ROM, running on MTK6577 Device.

after flashing, ALL i see is WHITE Screen During and after boot, Nothing visible.

is there any chance I can use this kernel on my phone

ROM Details in my signature.
[ZTE Grand X V970] akkenoth:
It was said a gazzilion times, including OP of this thread - NO YOU CAN'T RUN THIS KERNEL ON OTHER MTK DEVICES.

The only common thing in these phones is the SoC, all other sensors, display, touchscreen, radio etc drivers are most likely different.

If you want a kernel for your device, fork the sources, adjust them to fit your phone hardware, compile and test. And don't forget to give credits to Superdragonpt.
[ZTE Grand X V970] lingfude:
Just read the first post.

There you can see for what phones this ROM is made.
[ZTE Grand X V970] superdragonpt:
Kernel Version 1.4

Changelog v1.4 (June 21 2014)

Kernel Upstream to Linux 3.4.11

(check my github for the fully commit history, don't want an long Changelog here)

Now Compiled with the Latest Linaro-Cross ToolChain 4.9.1 Cortex A9

Compiled with optimized -O2 Flags with MODFLAGS

Dynamic management of dirty page writebacks (fully controled on Performace Control app)

Completely Fair Scheduler: Responsiveness Tweeks

CPU Governors: Added SmartAssV2

Default Governor is not set as: HotPlug (This is great as an daily Driver)

Default IO Sheduler is not set as: SIO

Battery: Improved Battery voltage table; increase battery charging voltage (will charge an bit faster now); Precise Tunning.

Fixed init.d on all Kernel Variants

JB 4.1: Fixed Freezing caused by 3rd party apps notifications, like the FB app (.blob)
[ZTE Grand X V970] Conny:
1.4

Hello,

flashed with various results:

4.2.2

first attempt:

Phone off, charged, report: 64%

Boot, report:27% of battery

first attempt ended with graphical issues and frozen phone,

second the same..

it happened during the booting the apps.

If I play with phone, this would not happened.

Second try battery showed 18%..

after a while, reboot..

strange :)
[ZTE Grand X V970] Conny:
Skipped back to 1,2 kernel.. No issues so far..

from my point of view it might be by too much undervolt?
[ZTE Grand X V970] superdragonpt:
Hi

Please open the kernel.zip (do NOT extract the .zip)

--> Go to system/etc/init.d and remove the Overclock script

I added this script on the latest kernel to auto-overclock on boot, while i never had any issues with auto-overclock, some may have.

Possible due to conflicts with any other scripts you have or even apps.

Also its important to remove any other init.d methods that you may have installed.

The correct way is via kernel (this is what i did on this latest version)

The init.d apps, will emulate the process, by using some dirty methods (e.g: the pimp my rom method is one of the worst i ever saw ...)

About battery % values:

Thats's normal, after flashing an new kernel, you should calibrate your battery (let it make some full charges /discharges) i said this already.

Regards
[ZTE Grand X V970] akkenoth:
It's "Overlock" actually :D

IMHO you should've mentioned that in changelog.

I didn't install any scripts, mods nor anything that could interfere (at least AFAIK) but I did stumble upon slight graphical glitches (just 1 app, maybe it's that app's bug), system crash (it hanged up and rebooted on itself) and some stuttering (even after killing all background apps). Nothing TOO serious though.

I've just disabled overclock and I'll see if that helps.

On the other hand, this version doesn't have problems with battery drainage while data connection is enabled, which is a great thing :p , it uses less RAM and has many other nice new features (for example, I prefer SmartassV2 over other governors). So big thanks for your hard work!

Small feature request: vibration strength adjustment. It's very weak, if my phone is muted I miss a lot of notifications.

I'll try to find the vibrator voltage control in driver's code when I'll have more free time, all we'd need then would be creating a /proc/* file that the driver would read.

Oh, and a bit OT: What CPU do you have? Check in your computer BIOS/UEFI settings if you have "Virtualization Technology" enabled, if not, that small change could speed up your VM quite much.
[ZTE Grand X V970] superdragonpt:
lol, i need an new keyboard , some keyboard letters are faulty lol

Yes, i didn't mention that on changelog, this build got an huge update...

Yes a lot of things where improved, also due to the Linux source upstream to 3.4.11

There are a lot of commits related to ext4/ power API/ schedulers/ Ram management ...

--> That's why i said on the changelog, to check my GIT, to get an full detailed Changelog...

We already had this conversation, last time i messed with it, my phone went crazy.

I wont work on that for now... feel free to make an pull request on my git if you figured that out.

--> The worst part in working on an MTK, is that a lot of things are NOT documented.

--> Also without the source (and ZTE/MTK never provided this phone source) is hard to work and get the right config for an certain function... So im forced to make small changes and test, step by step... An good example is our battery voltage table/fuel gouge configs

I had that option already enabled, got an nice i5.

But working on VM, is by far the worst way.

Just for Kernel compilation, is about 4 to 5 times slower.

Thanks for your feedback

Regards
[ZTE Grand X V970] Conny:
Thanks for help about the overclock init

Tried and it seems it works. In fact i still face some difficulties to settle the system after reset, but if i get over the loading process, the system is stable.

So it was by the script. I have weaker cpu or ram than you :)
[ZTE Grand X V970] Conny:
battery

Must confirm:

very low battery consumption !

:)
[ZTE Grand X V970] superdragonpt:
Im glad it worked for you.

Concerning OC, just like any other phone. Some units have more performance than others.

It may be due to an diff SoC rev, or other factors.

I remember that on my old Zte Blade, some users where able to oc to 800 Mhz, while in my case the max i could was 720Mhz.

Yes, also the ram consuption is also improved. :)

Thanks for the feedback

Regards
[ZTE Grand X V970] vinamilk:
So said for 512M's variant ............. :rolleyes:
[ZTE Grand X V970] cyclon1978:
What change improved thre ram consumption? The upstream merge?

Gesendet von meinem A110Q mit Tapatalk
[ZTE Grand X V970] superdragonpt:
Does this kernel version work on your variant?

If not, whats the problem (s) your Experiencing now?

You can check the GitHub commits, i did for this version.

Upstream sources; Dynamic management of dirty page writebacks; the latest Toolchain and compiled flags, etc...

This all contributes in an better Ram management.

Regards
[ZTE Grand X V970] vinamilk:
As you said before, some kernel's modules cannot load due to different hardware (sensors). With v1.2 annd 1.3 my zte (512M Ram variant for Vietnam market) got FCs alot, so I don't try 1.4 ...
[ZTE Grand X V970] superdragonpt:
Hi

You should try v1.4. There's a lot of changes i made.

Whats the problem in testing for your device variant? Its fully revertable !

Simply make an backup on CWM / CTR, if the kernek FC's some apps/SystemUI, etc... simply revert to your backup.

IF you don't test it, i'll have no way to know.

If you flash, please also give me an logcat/dmesg.

that's the only way i can help you guys with the 512MB variant.

Regards ;)
[ZTE Grand X V970] vinamilk:
I will try it and give you feed back later.
[ZTE Grand X V970] Conny:
found issue

I found another issue probably related to KERNEL.

I run the phone on 4.2.2 ROM and 1.4 KERNEL

Things did not work:

Wifi hotspot. Tried to turn on, status: Turnin on the wifi hotspot

but no success..

BT sharing the internet:

Application Bluetooth is not responding

USB sharing - Settings is not responding

After SOFT reboot I ended with freeze of the phone, photo taken form another phone.

After few seconds of this status (PIC) the phone reboots.

I don't have the script of overclocking the phone, so this must something else.

Another hard reboot solved this, phone works..

Even sharing of the internet is still not possible.

------------------------------------------

after reboot all is working

Where is the problem. Sometimes it works sometimes not..
[ZTE Grand X V970] superdragonpt:
Best way to try an new kernel version,and eliminate all user side issues (e.g: apps /scripts /other configs that you've made) :

1: Make an full backup of your system.

2: Make an new fresh instalation of the rom + kernel

And check if those issues are still present.

I don't have any of those issues.

Also there's some few hardware revisions of this model, that thanks to this kernel release are now known:

Besides the 512MB Ram variant...

- Some models have an different emmc flash

- Some models have an different proximity sensor

- Some models have different camera sub / backup sensors

- Also in some countries only the single-SIM variant was released ( my case)

It's rather normal for OEM's to make small hardware changes in their models.

Unfortunately, this means that not all hardware revisions are 100% compatible with this kernel.

Some users reported that with the (Stock leaked Indonesian ) JB 4.1.1 Rom, their SD Cards weren't recognized by the system .

They got that issue fixed, with this new kernel.

You can blame ZTE for that :p

In order to try to add support for these other variants, i would need system logs ( kmesg / dmesg) to try to find were is the issue... Thus, without that unit in my hands to test, this can be something difficult or close to impossible to achieve.

Regards
[ZTE Grand X V970] superdragonpt:
Hi

Users that own the other variant with just 512Mb ram and diff sensors.

Can you give me the output of

getprop

Its an simple command that you can do via terminal emulator or adb

send it via pm please

Regards
[ZTE Grand X V970] superdragonpt:
Ok guys.

Thanks for the help with the 512MB Ram Variant.

I got some feedback about the "getprop" thing, and there's some things that are obvious different.

Keep in mind, that the 512MB Ram variant, is just like working with another device, besides the ram issue, there's a lot of other things that differes from the 1Gb Ram version. I really don't understand why ZTE gave the same model name to both devices (?)

Thanks for the input.

Regards
[ZTE Grand X V970] wingoku:
Hey Superdragonpt I get bootloops when I flashed it on Noir A8. What should be changed in the kernel to make it compatible with my phone?
[ZTE Grand X V970] superdragonpt:
Everything ...

Kernel is source specific for each device.

Be carefull when flashing an kernel from another device, it can permanently damage your phone

Regards
[ZTE Grand X V970] wingoku:
Well I am running a port of your JB 4.2.2 rom on Noir A8. I believe something in boot.img is to be changed, rest of the source (related to SOC) should remain the same.
[ZTE Grand X V970] superdragonpt:
Hi

You still don't understand, The SoC configs are the less important things.

There's an huge amount of things that needs to be changed on source (config specifics of the device, specific device drivers, etc, etc)

If your not familiar with source, and MTK source built, it's hard to explain.

Its not that easy, or something that you can just copy/paste ... :rolleyes:

Now, if you don't mind, lets finish the off-topic here.

Regards
[ZTE Grand X V970] wingoku:
I have a little knowledge regarding kernel sources, however I will look into which hardware modules differ in zte & my phone, so that I can port the drivers of those specific modules & change other code in this custom kernel.

If talking about running kernel on similar SOC devices / porting it to other similar soc devices is off-topic, then let's end it here.
[ZTE Grand X V970] superdragonpt:
Good luck. ;)

Ontopic:

I managed to add some new drivers into The source, to try to add more support for The 512mb Ram version.

I will PM some users that own that variant to test. ( probably on The weekend)

Regards
[ZTE Grand X V970] etijer:
You will have a surprise or are just corrections for variation of 512 mb?

Thanks. Regards.
[ZTE Grand X V970] superdragonpt:
Both

Ontopic:

if anyone wants to test an Beta version of v1.5:

KERNEL_JB4.1_v1.5-BETA.zip - 3.10 MB

For now, ONLY for JB4.1 (no support for LeWa or Miui- this is an test Build)

Users with 512MB Variant, please test it also.

Regards
[ZTE Grand X V970] superdragonpt:
Btw...

You may wipe Dalvik and Cache, if you experience some lag or FC's on the first boot.

(I don't have this problem) , but it may help some of you ...

regards :)
[ZTE Grand X V970] etijer:
There will be support for 4.2? Thanks for continuing to work on this phone, with the amount of models that you are supporting.

Regards.
[ZTE Grand X V970] superdragonpt:
Yes I will continue support 4.2 also, since this is an beta build, there's no point in building 4 different kernels now ( 4.1: lewa, miui, stock + 4.2 )

Regards
[ZTE Grand X V970] longo213:
Thanks. I"m going to test this tomorrow. Do you have a changelog, even if a brief one?
[ZTE Grand X V970] superdragonpt:
I didn't gave an change log on this beta test build on purpose .

I call it " blind test " , hoping that you noticed the changes.

Also I still didn't received feedback from the 512mb Ram variant users ...

Regards ;)
[ZTE Grand X V970] longo213:
Excuse me doctor, am I in the placebo group? I smell the colors and feel like flying :D
[ZTE Grand X V970] vinamilk:
Mine is 512MB Ram variant from Vietnam market. So many times I tried your kernel build but sth wrong with my device. Sorry I forgot to give you logcat. I've flashed back to Dark Angel kernel that included in the same name Rom.

After flashing your kenel, any time I run Titanium Backup it always shows warning about SU. Flash back original kernel this warning disappeared.

Phone became laggy and less responsive than before.

Battery percentage display stills not correct.

---------- Post added at 08:24 PM ---------- Previous post was at 08:22 PM ----------

How I can copy logcat for your debugging ?
[ZTE Grand X V970] d07a2010:
problem here bootloop or when startup lag and reboot itself after flashing v1.4 kernel on 4.2.2
[ZTE Grand X V970] longo213:
After a week (or more) of using 1.5-BETA I'm back to 1.4. I was getting SIM1 disconected very often. Sometimes I didn't noticed it happen, but there was a warning message in notification area.

During the time with 1.5 I didn't noticed any ringtone "slowdowns" as I reported with 1.4 (cause probably by some memory leak or so). But can't say for sure it was fixed, just didn't noticed it happen.
[ZTE Grand X V970] superdragonpt:
Latest Kernel Builds v1.3 and v1.4 for JB4.1 / JB 4.2 / MIUI / LeWa

Are now again available for download.

Let me remind you that these Kernels are for JellyBean 4.1.x and jellyBean 4.2.x Roms Only

--> For the new KitKat Build The Kernel is already included on the Rom, and Kernel Updates will be on that thread

;)

Regards