yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] fantamadnesss:
:D good idea u have there. We'll (normal users) test those "nightly" builds, and then we'll decide how to proceed. Seems fair enough for me (and for the others i hope).
[Xperia Z1 Original Android Development] _Garry_:
Sounds fine for me. Except I'm waiting for SlimLP ;)

Sent from my Xperia Z1 running latest SlimRom
[Xperia Z1 Original Android Development] hlaube:
Me too :D
[Xperia Z1 Original Android Development] tcchuin:
is it possible for you to include intellithermal in your kernel? thx!
[Xperia Z1 Original Android Development] bondisback:
Hey guys...

Will this work with slimkat?? I just don't want to flash and brick and flash ftf and flash rom.. I'm sick of it. Can anybody tell me please???
[Xperia Z1 Original Android Development] OmarEinea:
if you flash it and it breaks your device, just flash slim's kernel and you'll have everything back as it was without loosing anything

Regards,

Omar.
[Xperia Z1 Original Android Development] bondisback:
Well... Thanks. But isn't it easy to tell that will it work or not??

---------- Post added at 11:45 PM ---------- Previous post was at 11:43 PM ----------

Because you are connected with both projects, who other than you can tell better?
[Xperia Z1 Original Android Development] OmarEinea:
Of course I would've told you if I knew, I'm not certain, so if I remember correctly it did work on slim.

Regards,

Omar.
[Xperia Z1 Original Android Development] bondisback:
Ok thanks anyway. I think I must flash it and will tell you whether or not it worked.
[Xperia Z1 Original Android Development] bondisback:
[MENTION=4800636]OmarEinea[/MENTION] Thanks.

It's working , Phone is running fine after flashing GD kernel.
[Xperia Z1 Original Android Development] eddvys:
Download link down?
[Xperia Z1 Original Android Development] Gladwin_Prince:
Hey [MENTION=4800636]OmarEinea[/MENTION], I have been using GD kernel for three days now.... I Started using Custom Kernel & Rom becoz i just wanted a good battery life.... So, My Current Combo is SlimKat Build 9 (Latest I Could Find) with GD kernel.... I Chose GD over SlimKat's Stock kernel becoz I wanted to Underclock (Don't know whether SlimKat's Stock Kernel supports it) to gain battery life.... I am using Trickster Mod to enable UnderClocking and all other Mods..... It was a Clean Install and did Battery Calibration,Too...

Here are My Current Setings (in Trickster Mod):

Min Freq: 268800

Max Freq: 1497600

Frequency Lock: ON (To Maintain The CPU in set freq and Stop the Fail Safe from Reverting the CPU freqs)

Governor: Conservative

Force Fast Charge: ON ( No Change in charging speed, Actually a bit slow now)

Intelli-Plug: ON (Alternative to MP Decision better for Power Saving)

Multi-Core Power Saving: 2(Aggressive) (So, Two of My Cores are always Offline)

Result,

Absolutely No Change in my Battery Life.... Same as, Stock 14.4.A.0.757 with Stock Kernel.....Did Have System Monitor to Monitor CPU....Phone attains deep sleep... Being the Developer of Both GD kernel and Slimkat, Can you Advice me on What would be the Best Combo (Kernel-ROM) for Slimkat for best Battery Life...

Thanks in Advance...
[Xperia Z1 Original Android Development] OmarEinea:
Both mirrors are working for me:

https://www.androidfilehost.com/?w=files&flid=20690

http://xdaforums.com/devdb/project/?id=6466#downloads

Well if you get same battery life on AOSP-Based ROM (same as stock) then you're lucky xD

as far as I've seen, usually battery life is less on AOSP-Based,

I guess that's kinda the best you can get out of this device, if anyone has better advice to extend battery life other than doing what he already did, please let us know :)

Regards,

Omar.
[Xperia Z1 Original Android Development] Destroyedbeauty:
My only suggestion is to tune 1) A governor so it uses less time on hi-frequenices but still maintains performance and 2) tune the kernel with various power saving init.d scripts. Disabling Gentle Fair Sleepers is one example of a big battery juice saver. Disable CIFS is one another example..
[Xperia Z1 Original Android Development] optimumpro:
"Absolutely No Change in my Battery Life.... Same as, Stock 14.4.A.0.757 with Stock Kernel.....Did Have System Monitor to Monitor CPU....Phone attains deep sleep... Being the Developer of Both GD kernel and Slimkat, Can you Advice me on What would be the Best Combo (Kernel-ROM) for Slimkat for best Battery Life..."

There is absolutely zero evidence that underclocking has any benefit on battery life. Nor there is any evidence that custom kernels do the same. On the contrary, there is some evidence that underclocking makes your cpu work harder, i.e. it takes more time to perform a task, because a core does not have enough voltage. Think of a water heater: you set the water temperature lower and think it will save energy, but in fact, you make the heater work longer to attain 20 degrees celcium (because water is colder).

No matter how I or others may not like corporate structures, they invest millions in developing chips and surely do all kinds of tests to find the optimal regime. No developer (even genious one) can compete with that.

If you use trickster mode, do a test, go to Info, scroll down to device status and check cores activities of your CPU: I found standard interactive governor does the best job, and by the way, underclocking made it worse....
[Xperia Z1 Original Android Development] _Garry_:
For saving battery i would suggest this:

Min Freq: 300000

Max Freq: 1497600

Frequency Lock: ON

Governor: intellidemand/interactive

Scheduler: SIO or FIOPS

Force Fast Charge: OFF ( there is no need to activate it when you dont use it )

Intelli-Plug: ON

Multi-Core Power Saving: 0/1

Why ...

...intellidemand?

Its a good battery saver. Speaking for overall performance its not so fast, but for small games, internet and messenging its good enough ;)

For balance use intellactive, good battery and good performance. My favorite governor.

...SIO or FIOPS?

SIO:- scheduler is based on the deadline scheduler but it's more like a mix between no-op and deadline.In other words, SIO is like a lighter version of deadline but it doesn't do any kind of sorting, so it's aimed mainly for random-access devices (like SSD hard disks) where request sorting is no needed (as any sector can be accesed in a constant time, regardless of its physical location).

FIOPS:- Flash-based solid-state drives (SSDs) have the potential to eliminate the I/O bottlenecks in data-intensive applications However the large performance discrepancy between Flash reads and writes introduces challenges for fair resource usage. Further, existing fair queueing and quanta-based I/O schedulers poorly manage the I/O anticipation for Flash I/O fairness and efficiency. Some also suppress the I/O parallelism which causes substantial performance degradation on Flash. This paper develops FIOS, a new Flash I/O scheduler that attains fairness and high efficiency at the same time. FIOS employs a fair I/O timeslice management with mechanisms for read preference, parallelism, and fairness-oriented I/O anticipation. Evaluation demonstrates that FIOS achieves substantially better fairnessand efficiency compared to the Linux CFQ scheduler, the SFQ(D) fair queueing scheduler, and the Argon quanta-based scheduler on several Flash-based storage devices (including a CompactFlash card in a low-power wimpy node). In particular, FIOS reduces the worst-case slowdown bya factor of 2.3 or more when the read-only SPECweb workload runs together with the write-intensive TPC-C.

...Multi-Core Power Saving: 0/1

Dont be so "Aggressive" with core power savings. Depending on the task your phone is running, being too aggresive can back fire and drain more battery life then save it. So setting it to 0 or 1 is good enough.

This is only my suggestion, depending how you use your phone and for what, you might need several days/weeks to find best settings for your phone/kernel combo.
[Xperia Z1 Original Android Development] ->---:
Maybe the impact on battery life is not great but underclocking increases the lifetime of the CPU.

Compare it to the motor of a car. If you do not need any power because you stand at a red traffic light, the car is running on low gas. The light gets green and you jump on the acceleration pedal to get on max speed as quickly as possible. That may be good to reach allowed top speed as fast as possible but it is not good for the motor if you do it every time.

In CPUs it is even more worse. The part is cool and has about 35 degrees celcius (guessing). Then you need power and jump straight to max freq which also means max voltage. The temperature rises within very short time to about 80 (guessing). That is mechanical a huge stress for the chip because of thermal stretching. The other thing is, transistors, diodes, resistors and all the other parts within the chip are calculated for a specific lifetime. Depending on frequency and voltage which must not be max possible of the chip. Normally it is some kind of calculated medium load over time. Otherwise you wouldn't be forced to buy a new generation of smartphone if your old one doesn't die.
[Xperia Z1 Original Android Development] optimumpro:
You may be right in theory, but in practice, the life of CPU and other electronic parts greatly exceeds the useful life of the device: we are talking 100 thousands of hours vs 2-4 years for the device. You are not going to hold on to your Z1 for 10 years. Are you? And if your CPU fails in 2 years, that's because you messed with voltage. And if your CPU temperature goes to 80, that means you are using a terrible rom/kernel, like lollipop right now.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Hm..

Isn't like this:

1) If you are going to underclock - use a more performance tuned governor / IO combo for compensate for the lower MAX frequency, so the phone can enter idle / deep sleep faster?

2) If you are going to overclock - use a balanced / battery saving governor for compensate for the higher MAX frequency and the increased heat production and voltage usage?
[Xperia Z1 Original Android Development] eddvys:
Let me squeeze in for a bit I installed this kernel and im experiencing very bad battery life comparing to stock CM 11 kernel. I used advice from guys here for settings and it's far away good that it was I used fauxclock to set everything. I guess I need to mention that I used this kernel for 24 hours. Maybe need to let it settle down a bit? Or just simply go back to original kernel?
[Xperia Z1 Original Android Development] ->---:
This is my second android device and I bought it for long-term use. After the first one I knew 2 GB RAM and 16 GB internal memory will be enough for 10 years. The device is waterproof and I bought a case which makes it nearly impossible to break when it's falling down. There is no good reason to change the device as the CPU is way too overpowered for a phone which I use for navigation purposes sometimes and for reading books and newspapers or listening to music. If there were a good old fashioned button phone with 2 GB RAM and a dual core where I could install messaging apps, I would have bought that.
[Xperia Z1 Original Android Development] Gladwin_Prince:
[MENTION=4260536]_Garry_[/MENTION] Thanks Garry..... Changing the Scheduler and Governor did help a lot!!!:laugh:

[MENTION=4598683]Destroyedbeauty[/MENTION], Actually I use my phone for general calling and browsing purposes all day when actually a powersaver Governor with Low Max Freq doesnt make a difference ( So, I did like to squeeze that little juice out of it)... Once I use my phone for gaming or some other intense task I would change Governor to Performance.... But Your logic is correct Performance with Low Max freq should be used for long time use....:good:

[MENTION=5075064]optimumpro[/MENTION], Underclocked Processor vs Stock Freq Processor is similar to running your car engine in Economy Vs Max Speed..... So, Max Speed is High Resources+Low Processing Time....While Economy is Optimum Resources+Optimum Processing Speed... The Scenario here is , Even the Optimum Speed doesn't affect the Performance... So, Better to Run the Device in Economy!!!
[Xperia Z1 Original Android Development] Destroyedbeauty:
[MENTION=535343]all[/MENTION]

My point is this:

If you want to underclock, use a performance oriented governor like Interactive and tune it so it gives the same performance, as when you did use stock CPU settings, without unneeded battery juice usage.

And to opposite when overclocking - in respect and attention to 1) Thermal Heating, 2) Battery drain & 3) Stability / overall performance?
[Xperia Z1 Original Android Development] eddvys:
Seems like everyone here just ignores stuff. Anyway I came back to cm11 original kernel and now my wifi functionality is gone. [MENTION=4800636]OmarEinea[/MENTION] directly to you and sorry if taking your time how to fix this back? Thank you much.

Edit: flashed back GD kernel and wifi is back on again. Like the smoothness and response but hate battery life with this kernel. Any suggestions?
[Xperia Z1 Original Android Development] OmarEinea:
To make wifi work after flashing stock kernel, you need to replace wifi modules from cm11 zip with the ones you have in your system,

these modules can be found in : system/lib/modules/<everything here>

Regards,

Omar.
[Xperia Z1 Original Android Development] eddvys:
[MENTION=4260536]_Garry_[/MENTION] I'm using your settings at the minute. But when I set Frequency Lock ON Min and Max frequencies changes to 268800. Is this how its suppose to be? Using trickster mod.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Use FauxClock app.
[Xperia Z1 Original Android Development] _Garry_:
allways keep in mind that after flashing a rom or kernel the battery needs to settle down again. I allways look after battery life or problems after 3 full battery charges.

So min and max values changes to 268800? Then try min 300000 - max 1497600.

For SlimRom with stock kernel TricksterMod is enough. like allready posted here, when using GD kernel you better use FauxClock.
[Xperia Z1 Original Android Development] SafiXS:
Since we have multirom for our z1 we need kernel with kexec hardboot included. Would you implement it on ur great kernel pls sir?

Best thanks
[Xperia Z1 Original Android Development] OmarEinea:
No doubt I'll include.

Regards,

Omar.
[Xperia Z1 Original Android Development] ricjuh:
Any possibility you will update kernel for CM12 - 5.0.2?
[Xperia Z1 Original Android Development] mo120697:
not untill sony will release kernel soources. until that it wont makes sense
[Xperia Z1 Original Android Development] ->---:
I think I circled the only major problem. Every time I switch cpu hotplug to intelliplug or mpdecision the phone is getting into a black screen of death. If I leave it to user control nothing in this direction happens. What can that be?
[Xperia Z1 Original Android Development] naitik2012:
Hi [MENTION=4800636]OmarEinea[/MENTION]

Any news about CM12 GD kernel ? :D
[Xperia Z1 Original Android Development] lowrider_05:
He asked for news not an ETA so i think the question is valid.
[Xperia Z1 Original Android Development] abbychauhan:
Round and round and round the question will remain same, if u guys are following OMAR then he announced earlier that he is working on it so the news will remain same until he makes some another Announcement.
[Xperia Z1 Original Android Development] ->---:
Calm down, we are junkies :mad::silly: "give me the next shot, gimme gimme..." ;)
[Xperia Z1 Original Android Development] Verbato:
drivers/built-in.o: In function `set_ocv_voltage_thresholds':
/tmp/android_kernel_sony_msm8974/drivers/power/qpnp-bms.c:3522: undefined reference to `oem_batt_data'
Makefile:886: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1

Ooops! :eek:

Pleh? :rolleyes:
[Xperia Z1 Original Android Development] OmarEinea:
I just had the first GD course in this semester (Graphics Design :))

And I remembered I need to start working on GD kernel, I'll start some serious working on it now that I have everything settled :D

Regards,

Omar.
[Xperia Z1 Original Android Development] Achu Gowda:
In this kernel,faux sound shows dat poweramp is not accessible n it is either full on or. Full off...how I can fix this.???
[Xperia Z1 Original Android Development] OmarEinea:
bump!
[Xperia Z1 Original Android Development] OmarEinea:
another bump :p
[Xperia Z1 Original Android Development] OmarEinea:
Some news about GDv2

As you may know, GDv2 is included in RR builds for now, I was planing to release the next juicy build here as a kernel separately after finishing adding some new stuff,

but I didn't get much time to do both, so maybe next build or so, and for now I can tell you the "so far" changelog (other than the part you already know included):

GreatDevs V2.07:

Add CPU overclocking upto 2.41 GHz

Allow CPU underclocking to 288.8 Mhz

Allow Using 2.34 GHz and 2.11 GHz CPU freq steps

Added Fast Charge

Added MSM-Sleeper which limits max freq when screen is off

Voltage Control

Added Govs: SmartAssv2, Wheatley, LionHeart, LagFree and Intellimm

Added I/Os: VR, ZEN, SIO-Plus and Tripndroid

Added CPU freq limiter

Added KCAL support for rgb/lut control

Some optimizations

Source code with detailed changes can be found here: https://github.com/GreatDevs/kernel_sony_msm8974/commits/GreatDevs

Now of course many of these are implemented as initial code and may not work properly as I didn't get time to test them,

and the kernel is barely beta, but I hope it'll be satisfying enough for now :)

Next RR build is building ^_^

Regards,

Omar.
[Xperia Z1 Original Android Development] fantamadnesss:
Thank u Omar, im running latest RR and i also noticed that u included faux sound control which is really cool. After u release that kernel with those features im really considering to donate, thank you!
[Xperia Z1 Original Android Development] Ashray_Vk:
Any progress here?
[Xperia Z1 Original Android Development] OmarEinea:
https://github.com/GreatDevs

I'm working on it as fast as possible, actually doing it right now,

I've been trying to compile the kernel with omnirom source until I succeeded recently,

so now I can bring GD always with latest twrp version, also, as you can see in the kernel branches, I've created a stable branch,

I'll be releasing stable version with the features that we know are good and stable and a beta version with experimental features (like OC ;))

Regards,

Omar.
[Xperia Z1 Original Android Development] Ashray_Vk:
Thanks a lot man :D
[Xperia Z1 Original Android Development] Destroyedbeauty:
And this will work on every AOSP / CM 5.0.X ROM out here? ;)
[Xperia Z1 Original Android Development] OmarEinea:
CM-based that's for sure, but AOSP I'm not sure :o

Regards,

Omar.
[Xperia Z1 Original Android Development] Destroyedbeauty:
I did mean CM - my fault ^^

Hope that you will release this soon however. :)
[Xperia Z1 Original Android Development] HouseOfBricks:
Current 5.0.2 CM rom compatability

Hey Omar!

I know that the upcoming version of the Kernel will be 5.0.2 compatible, but is this current version 5.0.2 compatible?

Thanks, from a fellow Omar :D
[Xperia Z1 Original Android Development] jerryeight:
Hey quick question, would this rom be compatible with my Z1s relrasesd for T-Mobile?

Thank you
[Xperia Z1 Original Android Development] DorianX:
This is a kernel... Isn't it?
[Xperia Z1 Original Android Development] pranii23:
Gamma Control

`http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080/page10

Any commits from this?
[Xperia Z1 Original Android Development] Achu Gowda:
Any updates abt d kernel??:confused::confused::confused:
[Xperia Z1 Original Android Development] Ashray_Vk:
anything about the kernel?? its kind of quiet around here.
[Xperia Z1 Original Android Development] OmarEinea:
Sorry for being so late, I can't promise anything, I'm having some busy days (midterms time now)

Regards,

Omar.
[Xperia Z1 Original Android Development] lowrider_05:
Take your time, your live is more important than a kernelupdate
[Xperia Z1 Original Android Development] Ashray_Vk:
All the best for your exams man. :)
[Xperia Z1 Original Android Development] noahvt:
When you have the time, would you be able to add a GPU OC? I always either find a kernel with a high CPU OC and no GPU OC or the other way around... Getting 46,5K on antutu right now and the GPU is the bottleneck! Could you add that when you have the time?

Thanks,

noahvt
[Xperia Z1 Original Android Development] OmarEinea:
-_- you guys only use OC for antutu !

Regards,

Omar.
[Xperia Z1 Original Android Development] ->---:
The only thing I would love to have would be a CM12 kernel with the latest intellistuff. All the rest is a nice to have.
[Xperia Z1 Original Android Development] Destroyedbeauty:
+1 on this - Faux newest Intelli-drivers / custom drivers looks freaky awesome. Hope they will see their presence on Z1 soon..
[Xperia Z1 Original Android Development] Duvel999:
+1:D

Sent by my Z1 with XDA Fax
[Xperia Z1 Original Android Development] SafiXS:
Bonjour [MENTION=4800636]OmarEinea[/MENTION],

do you actually plan to do your magic on CM12/AOSP too? I'm sure you have so much things to do but a progress update or something simular would be great! Thank you in advance
[Xperia Z1 Original Android Development] OmarEinea:
sorry, but I can't promise anything atm as I'm too busy, I hope I'll have time for it soon

(I'm even delaying RR and Slim ans LS updates now :()

Regards,

Omar.
[Xperia Z1 Original Android Development] leonmorlando:
Probably late for the party, but I'd like to know what am I missing to make this kernel work with either exfat or ext4 on my 32gb SD card.

Recovery formats it correctly (or so it says) but Linux can't write to it, not even through adb push.

Any help is appreciated!
[Xperia Z1 Original Android Development] tcchuin:
is it possible to have some sort of 'final update' for kitkat?

like maybe stuffs you wanted tto add in v2 :/
[Xperia Z1 Original Android Development] OmarEinea:
I'll say this is discontinued for now (unfortunately), sorry but it needs more time than I can afford.

Regards,

Omar.
[Xperia Z1 Original Android Development] andray750:
deleted
[Xperia Z1 Original Android Development] abbychauhan:
Try to flash again the zip with wipe Catche and Devlik
[Xperia Z1 Original Android Development] Hen Ry:
Last night

Wakelock 1%

Frequenz max.

Deep Sleep
[Xperia Z1 Original Android Development] abbychauhan:
Very nice 4:30 HRS only 20% down with Screen brightness Full.
[Xperia Z1 Original Android Development] hawkeyexp:
Clearing cache and dalvik-cache caused no change.

To ckeck if something goes wrong on install i manually extracted and unpacked the boot.img added the new zImage and repacked the boot.img but no change - display stays dark (seems no init).

Thx

PS: If interesting i checked my panel type:

cat /sys/devices/mdss_dsi_panel/panel_id

-> sharp renesas 1080p video
[Xperia Z1 Original Android Development] Aaskereija:
Love this kernel, my phone works already smooth befor, but now its smooooth :D

And battery seems to last longer, what is good for me cause my z1 is a LDU with bad battery health conditions
[Xperia Z1 Original Android Development] MacSeoin:
Great kernel, lots of options, been after this sort of thing for a while!

Anyone got a setup for long battery and great performance?
[Xperia Z1 Original Android Development] Hen Ry:
Max Freq 1497

Min Freq 300

smartassV2

msm-sleeper -> this function is always active?

I am looking for a setting for long battery life, less performance.

What should I take to adjust?

Pimp my Z1

FauxClock - Donate

Trickster Mod - Donate
[Xperia Z1 Original Android Development] abbychauhan:
Faux I'm using and there is no comparison .. u can use few pointers from here ITS FOR STOCK but if u understand ll get good settings
[Xperia Z1 Original Android Development] Achu Gowda:
How to format the system into f2fs format..im running with pac latest build..

Thx in advance:)..ive cwm..

As this kernel supports f2fs format:)
[Xperia Z1 Original Android Development] srqrox:
SmartAssV2 is among the best performance based Governors out there, but as it is performance based it takes loads of battery. Try changing the governor to Interactive or Intelliactive.