yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] mindyabiznis:
Can you please add fauxsound compatibility to this kernel, taiko audio requires adjustment of values to edit the audio power/pre amp.

With fauxsound you have an app and it works excellently.

All you need to add is these patches...

"If your favorite kernel DOES NOT support this option, Simply Ask your developers to include these patches:

APQ8064:

https://github.com/faux123/mako/commit/911a80eb10df7b1f0c120ae29137e1b682f8ab7e (Nexus 4 / Optimus G)

https://github.com/faux123/htc-m7/commi ... a83406861b (HTC One)

MSM8960:

https://github.com/faux123/SGH-Krait/co ... dfffed034d (Samsung / HTC)

https://github.com/faux123/SGH-Krait/co ... 45dc566110

Version 2.1 Update:

https://github.com/faux123/htc-m7/commi ... 5ab670b927 (HTC One)

to their kernels!"

---------- Post added at 04:38 AM ---------- Previous post was at 04:36 AM ----------

I have it running on kitkat and doomkernel and its awesome. I really want f2fs support but not without fauxsound :(
[Xperia Z1 Compact Android Development] ooheman:
Do kernel support se Linux becoz im unable to Change it via selinux changer?
[Xperia Z1 Compact Android Development] karamancho:
+1
[Xperia Z1 Compact Android Development] arjun5463:
Yaaa sound control is the only thing i miss in this kernel
[Xperia Z1 Compact Android Development] mindyabiznis:
We need fauxsound, its awesome and waaaay better/eaiser than that taiko audio thing where you have to use terminal emulator to edit the values.

Thats a step BACKWARDS from an app that allows you to just slide up or down.

Im still on kitslim evo FIVE because my phone is STILL (after 2 years of owning it heavy usage) 2 day battery and its faster than my mates z5 premium and my other mates galaxy s7 edge lol

A lot of tweaking and modding has gone into making it the ultimate single handed beast but thats why I havent changed it because its perfect, I wouldnt mind upgrading to lollipop or even Marshmallow but not until I can mod it the way j want to
[Xperia Z1 Compact Android Development] waterpolo:
Can you share your mods to help other users.
[Xperia Z1 Compact Android Development] Alphados0:
V 18.1 works with 236 on z1c or only v 17?
[Xperia Z1 Compact Android Development] ferhpsquad:
Yes, v18.1 is ok for .236 firm (z1c)

?
[Xperia Z1 Compact Android Development] Alphados0:
Ok thanks. I test it later
[Xperia Z1 Compact Android Development] rzlatic:
attached is 18.1 on 236, working nicely.
[Xperia Z1 Compact Android Development] SXUsr:
[MENTION=5008080]sharonliu[/MENTION], can you increase the brightness of TWRP?
[Xperia Z1 Compact Android Development] mouler:
delete post plz
[Xperia Z1 Compact Android Development] rodomaxi2:
Hello everybody, someone can help me, I need know how I can return to the stock kernel
[Xperia Z1 Compact Android Development] levone1:
http://xdaforums.com/showpost.php?p=70124920&postcount=269
[Xperia Z1 Compact Android Development] rodomaxi2:
thanks!
[Xperia Z1 Compact Android Development] Maciek602:
Does this kernel include DRM functions fix?
[Xperia Z1 Compact Android Development] Murtie:
What is DRM functions ?
[Xperia Z1 Compact Android Development] sharonliu:
I stopped this kernel development for a while, beacuse I done stupid thing to restored wrong TA PARTITION. My phone which hard bricked ,phone was dead after reboot, had no fastboot, had no bootloader, only had led blinking red-green .

Very thanks munjeni's this tool https://xdaforums.com/showpost.php?p=56571705&postcount=314 to repair my TA partition. My Z1c finally booted and I will make a new version of release following Friday.
[Xperia Z1 Compact Android Development] broky:
Those are great news,make the best kernel even better:good:
[Xperia Z1 Compact Android Development] pipyakas:
That's great :D also do you know the link to kernel source in the first post leads to a 404 github site? ;)
[Xperia Z1 Compact Android Development] sharonliu:
v19.0 has now been released.

changeLog:

updated twrp to 3.1.0

build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)

update busybox to 1.26.2

update some codes from codeaurora

minor bug fixes and improvements f2fs
[Xperia Z1 Compact Android Development] Murtie:
Good news thank you.

Which is recommended 5.4.1-2017.01(stable) ore gcc-linaro toolchains 6.3.1-2017.02.
[Xperia Z1 Compact Android Development] sharonliu:
You can go from stable --> testing:)
[Xperia Z1 Compact Android Development] Murtie:
Ok and is 6.3.1 better,

Sorry i cannot good speak
[Xperia Z1 Compact Android Development] hermes669:
What's the difference between 5.4.1 and 6.3.1?
[Xperia Z1 Compact Android Development] Murtie:
yeah that's what I want to know and whicht is better ? 5.4.1 ore 6.3.1.

(sorry that i cannot good speak)
[Xperia Z1 Compact Android Development] HoshiYamazaki:
Can you add an safetynet bypass to actual kernel? It would be awesome. Thanks.
[Xperia Z1 Compact Android Development] jmcatamora:
How to install advance kernel v19 ??? I can't find the zip file
[Xperia Z1 Compact Android Development] Murtie:
https://mega.nz/#F!a4RExIaa!H5Ig_vvsVtNp_3vBk8Zr_g!Gp4xGZyb

here .
[Xperia Z1 Compact Android Development] mosespl:
Hello all I would like to ask is there any special way to use f2fs or it is working from default?

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] karamancho:
here is the link to the tutorial

you only need to convert data and cache as the kernel only supports f2fs for those two partitions
[Xperia Z1 Compact Android Development] hartacus:
Just installed v19.0 and it's working great so far.

However, have noticed that TWRP can't load my encrypted /data partition. Should it be able to?
[Xperia Z1 Compact Android Development] Funkmasterchilla:
Perfect! I just miss vibrator strength control (no longer available with my kernel tuner) :(
[Xperia Z1 Compact Android Development] t.daun:
battery saver

V.6 is a very good kernel, a real battery saver!

Running it with ondemandplus + sio as a good balance.
[Xperia Z1 Compact Android Development] moonryder:
version 6 works great and battery life is amazing with HYPER / sio

combined with fota twrp recovery very fine solution so far

thx [MENTION=5008080]sharonliu[/MENTION] :good:
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v7.0 changeLog:

changeLog:

update some codes from codeaurora

Added WCD9320 Taiko Audio Codec Control v3 from cocafe

Increase default speaker volume

qpnp-vibrator intensity control

enabling two-way call recording directly from the phone line

It's a good idea to use adb shell or some apps like script manager to put a widget in launcher to execute commands.

WCD9320 Taiko Audio Codec Control:

Headset analog gain:

Headset digital gain:

Speaker on/off:

Speaker digital gain:

Headphone UHQA(Ultra High Quality Audio) mode:

qpnp-vibrator intensity control:

Adjust vibrator intensity: ( 0 ~ 31 )

Enable/Disable vibrator: ( 0 / 1 )
[Xperia Z1 Compact Android Development] Funkmasterchilla:
I've been using Darkness governor for the past two days and it gave me random reboots when heavy memory use I think.
[Xperia Z1 Compact Android Development] sharonliu:
i will try to fix
[Xperia Z1 Compact Android Development] repelsteel82:
I just love your kernel it's Smooth and fast

The only thing that's bugging me is the led blinking it's slow and not so bright

For the rest is it just perfect ?
[Xperia Z1 Compact Android Development] repelsteel82:
In v5 it was on off on off

And in v7 it's going slowly on and slowly off
[Xperia Z1 Compact Android Development] :
Love this kernel here. Particularly interested in fast charge? will continue testing it.
[Xperia Z1 Compact Android Development] sharonliu:
v6&7 notifier for start&end of LCD power on&off is base on AndroPlusKernel source codes
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v8.0 changeLog:

it'll release tomorrow

changeLog:

kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)

fix Darkness governor random reboots when heavy memory use(we need more tests)

fix KCAL Color Control is not working

The vibration strength can be controlled by Kernel Adiutor application

fix lowmemorykiller being overly aggressive

increase the total number of GFP flags

fix waking up sync thread recursively for same CPU causes deadlock

enable ZRAM features(from Linaro Stable Kernel 3.10)

zram: add lz4 algorithm backend

CPU hotplug: Provide lockless versions of callback registration functions

powersuspend: cumulative update to version 1.6

intelli_plug:update to version 4.0

msm: kgsl: Make global memory statistics atomic

Click my github commits to view changeLog details
[Xperia Z1 Compact Android Development] moonryder:
v8 works great, no issues, no reboots.

i am on HYPER / zen - great battery/performance combination

thx sharonliu
[Xperia Z1 Compact Android Development] sharonliu:
Thanks for the feedback. All credits goes to xda developers(e.g.,cocafe,AndroPlus,DooMLoRD).

I will trying to optimize the kernel.
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v9.0 changeLog:

it'll release soon

changeLog:

Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)

Changed wakelock blocker sysfs name to one in Kernel Adiutor

Added interactive_proconservative Governor

Added mac80211 injection patch and HID patch for keyboard support

Updated zzmove Governor to 1.0-beta8

Added CPU hotplug Zen Decision
[Xperia Z1 Compact Android Development] Funkmasterchilla:
You're the man! Thanks mate! Pretty good job
[Xperia Z1 Compact Android Development] sharonliu:
next release maybe after android 5.1.1
[Xperia Z1 Compact Android Development] moonryder:
after flashing v9 i can´t connect to wlan - what´s wrong?

EDIT:

for all users who have the same issues:

in Kernel Adiutor: go to Settings - OTHER - Settings - Apply on boot: Notification disable this option and reboot
[Xperia Z1 Compact Android Development] sharonliu:
for me v9.0 wlan works great, no issues, no reboots. I will try to see what wrong.

EDIT:

please let me know if it's OK

https://mega.nz/#F!CkICVJTb!obC94hK0bw0Hs6xJtnKLkA
[Xperia Z1 Compact Android Development] moonryder:
link is dead bro
[Xperia Z1 Compact Android Development] ferhpsquad:
I can download the kernel [emoji4]
[Xperia Z1 Compact Android Development] moonryder:
that´s nice for you, can you mirror it plz
[Xperia Z1 Compact Android Development] TechKiel:
Screen value issue?

Good day!

I've just recently flashed your kernel and it really does the job well. :)

However, I've been noticing that the Screen value tends to randomly jump up to a high value when I wake up the phone. :(

The display shows unusually bright washed out colors which return to normal values after a few seconds.

Usually 5-8 seconds.

I have not modified the screen section of Kernel Adiutor though. : |

ROM: Stock 14.A.5.0.270

|EDIT|

Panel: JDC
[Xperia Z1 Compact Android Development] sharonliu:
link is fine

mirror:https://drive.google.com/file/d/0BzLQyLNM4NC5Tk5acGFmOENHX0U/view?usp=sharing

this issue is only happened to be v9 or after v6?
[Xperia Z1 Compact Android Development] TechKiel:
Sorry, but I have just started using it since v8. :)

I've just flashed v9.1 this morning and I haven't encountered it so far.

It happens at least once a day, but it doesn't really happen that much.

EDIT: Screen value issue just happened. I've just unlocked my Z1C from ~5hrs of inactivity.
[Xperia Z1 Compact Android Development] superwoosh:
I get this too even on stock kernel, so it's probably a fault in Sony's department ?
[Xperia Z1 Compact Android Development] TechKiel:
Weird. I haven't experienced this with Stock Kernel. : |

What is your display panel? AUO or JDC?
[Xperia Z1 Compact Android Development] sharonliu:
Is there anyone who has experienced this with Stock or my modified kernel?
[Xperia Z1 Compact Android Development] andreimindru96:
The kernel is very good! With some optimizations, OC,UV new gov and i/o set it is plain perfect. The only thing I'd really want to see in this kernel is GPU OC for some hardcore performance and benchmark evisceration!
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v10.0 changeLog:

changeLog:

back to the regular default speaker volume

added mako hotplug

added new GPU governor: cache-hwmon

msm: memutils: memcpy, memmove, copy_page optimization

scm-mpu: Add additional memory protection options

Add support for a scm call to protect a contiguous physical address range.

Enables protection of the kernel code

echo 0x0 > /sys/module/scm_mpu/parameters/mpu_start
echo 0x1000 > /sys/module/scm_mpu/parameters/mpu_size
echo 0x11 > /sys/module/scm_mpu/parameters/mpu_enable

unlock previously defined regions of the kernel code

echo 0x0 > /sys/module/scm_mpu/parameters/mpu_start
echo 0x1000 > /sys/module/scm_mpu/parameters/mpu_size
echo 0x10 > /sys/module/scm_mpu/parameters/mpu_enable
[Xperia Z1 Compact Android Development] javed2f:
Kernal v10 will support for stock 14.A.5.0.270 unlocked,or only for .283 fw.
[Xperia Z1 Compact Android Development] andreimindru96:
sharonliu please add GPU Overclock( ex. 533mhz) and CPU UC ( ex 268 mhz). I think that this will improve performance and battery alot!
[Xperia Z1 Compact Android Development] sharonliu:
it works with 270/283.

Sometimes GPU Overclock of the display freq is not actual frequency. Benchmark result mean nothing, and there's no best config for benchmark and daily use. Actually CPU 2.42GHz is overclocking for z1 compact, overclocking to GHz will random reboots are expected.
[Xperia Z1 Compact Android Development] andreimindru96:
I understand the thing about the GPU but for the CPU I know 2,4ghz its Overclock but for the CPU I asked for underclock to a lower than 300 mhz so the cpu can idle at a lower Freq which results in battery savings. I was able to undervolt the 300 mhz freq by 70mv which is great. Imagine doing that at a lower freq. That's some hardcore battery savings with no effect on performance. SmartassV2+noop with Read-Ahead 2048kb results in well balanced performance and battery life. Before this Z1c i had a Xperia Play which had the Min CPu freq Set to about 64mhz, I had like 4-5 days battery life with low to medium usage.
[Xperia Z1 Compact Android Development] sharonliu:
I thought the STOCK firmware will NOT go above some fixed max frequency hard coded in the firmware
[Xperia Z1 Compact Android Development] beegee:
Off topic

Do you guys know why i dont have latest 283 update?

I only have 270
[Xperia Z1 Compact Android Development] sharonliu:
14.5.A.0.283 has so far only been released for T-Mobile Austria and Telekom.de in Germany.
[Xperia Z1 Compact Android Development] Cresqo:
Hi, nice work on the kernel but i'm having freezes on v10 and the only way to fix it to force the phone turn off. This doesn't happen on v9. I speculate it may be this change "msm: memutils: memcpy, memmove, copy_page optimization" but then i don't know really anything about it.
[Xperia Z1 Compact Android Development] sharonliu:
Thanks for the feedback. I notice that having freezes on v10 and i will remove memutils. In addition, i will update kernel to 3.4.1 in the next release.
[Xperia Z1 Compact Android Development] Verbato:
Hum... F2FS is in the TWRP list of filesystems for formatting, however... It isn't in the /proc/filesystems list. So, any chance of you adding that to the kernel (it's just a few files)?

No matter whether you do or don't, thanks for your great piece of work, Sharonliu! :)
[Xperia Z1 Compact Android Development] sharonliu:
Dropped F2FS support because it causes too many problems (e.g., wi-fi doesn't turn on, brightness is stuck pretty bright, fm radio not working).:(
[Xperia Z1 Compact Android Development] Verbato:
Hmmm... From which version was it dropped? Or is there some commit where I can get it? Searching for it @ https://github.com/charles1018/kernel_sony_msm8974/commits/feature doesn't yield anything (hence, why I asked).

I'm far from any expert, way far from it, but maybe I might have an attempt at it? If you bother. I don't mean to push you or anything, still happy either way with all your work. :)
[Xperia Z1 Compact Android Development] :
Hi could you explain how to do this? Also if it can also be done by android termulator app?
[Xperia Z1 Compact Android Development] sharonliu:
I didn't push to my github. I've tried f2fs merged into my kernel from venkat kamesh or AndroPlus F2FS patches, but it causes above problem...

They have dropped F2FS support too.

It's a good idea to use adb shell or some apps like script manager to put a widget in launcher to execute commands.
[Xperia Z1 Compact Android Development] sharonliu:
v11 beta version

Please help me to confirm sometimes having freezes problems is fix or not.

https://mega.nz/#F!CkICVJTb!obC94hK0bw0Hs6xJtnKLkA

If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.

su -c cat /proc/last_kmsg > /sdcard/last_kmsg
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v11.0 changeLog:

changeLog:

fix sometimes have freezed or crashed problems

updated kernel to 3.4.1

updated UBER toolchains to 4.9.4 20150901

Enhance power efficiency: Series of patches from NVIDIA

fix last_kmsg not working

changed default dirty_writeback_active_centisecs to 3000

changed intelli_thermal poll default value

updated kcal and added some patches

removed scm-mpu(unstable)

If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.

su -c cat /proc/last_kmsg > /sdcard/last_kmsg
[Xperia Z1 Compact Android Development] Verbato:
Yeah, I tried adding it was well... No go. I see what you mean by too many problems. :-/
[Xperia Z1 Compact Android Development] rebiiejr:
why i cant change speaker gain it always says (system cannot find the path specified) im using adb shell..:rolleyes:
[Xperia Z1 Compact Android Development] sharonliu:
it fully work for me

adb shell
su
echo on > /sys/kernel/wcd9320/speaker/spkdig_gain
[Xperia Z1 Compact Android Development] arjun5463:
Mirror the link v11 plz
[Xperia Z1 Compact Android Development] sharonliu:
Mirror link:

https://drive.google.com/file/d/0BzLQyLNM4NC5ZnVUN2JoZVZNVms/view?usp=sharing
[Xperia Z1 Compact Android Development] arjun5463:
Thzzzz broo
[Xperia Z1 Compact Android Development] rebiiejr:
now i got this message (can't create /sys/kernel/wcd9320/speaker/spkdig_gain:permission denied :crying:
[Xperia Z1 Compact Android Development] sharonliu:
do you access grant of adb shell in the supersu?
[Xperia Z1 Compact Android Development] rebiiejr:
Yes, whats wrong ? Ism type adb shell echo on > /sys/kernel/wcd9320/speaker/spkdig_gain actually i want lowering soeaker sound 1 level :D
[Xperia Z1 Compact Android Development] WieserZ1C:
i have to switch back to .270 default. V11 run for several hours compatible with rockz1l 3.3.1 and then from now to now nothing as a blackscreen and a red led ( Softbricked, but already in repair
[Xperia Z1 Compact Android Development] sharonliu:
just type

echo 1 > /sys/kernel/wcd9320/speaker/spkdig_gain
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v12.0 changeLog:

V12 is the final version of the 14.5.A.0.270/283

The next version is the 14.6.A.0.368

changeLog:

Updated kernel to 3.4.10

Disabled dynamic fsync by default

Patched random reboot caused by dynamic fsync panic
[Xperia Z1 Compact Android Development] Verbato:
Wow! Great work! Very fast. Looking forward to the next version :)

(I hit the button, but just want to say it still, thank you for all your effort and hard work, sharonliu!)

edit: I was thinking of "stealing" the ramdisk from your 12.0 kernel and adding it to the new 368 kernel. But then I found you had a boot.img for just that. So you thought of the same thing? :P

I also extracted the kernel/bootdisk/dt.img from the kernel. You saved me some work. Thanks! :)
[Xperia Z1 Compact Android Development] sharonliu:
I already use the stock kernel and made to the busybox, init.d support, root and recovery(TWRP 2.8.7) -> for 14.6.A.0.368,

still waiting 14.6.A.0.368 Source Release.
[Xperia Z1 Compact Android Development] sharonliu:
v13 will be released in this weekend.:)
[Xperia Z1 Compact Android Development] TechKiel:
Minimum Brightness

Is it possible to reduce the minimum brightness of the Z1 Compact thru the kernel?
[Xperia Z1 Compact Android Development] sharonliu:
add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)

https://github.com/charles1018/kernel_sony_msm8974/commit/30ab976130742948a8642260d17f476ca7016e88
[Xperia Z1 Compact Android Development] sharonliu:
to be included in v13.0 changeLog:

v13 supports 5.1.1, most features from my 5.0.2 version.It will be released tomorrow.

Main Features :

Merge 14.6.A.0.368 kernel sources

Updated ramdisk to 14.6.A.0.368

Updated kernel to 3.4.10

TWRP 2.8.7 from xNUTx

Built with UBER toolchains 4.9.4 20150901

busybox v1.23.2

init.d support

port AndroPlusKernel most of feature for z1/z1 compact

CPU OverClock upto 2.42 GHz

Added some optimizations for cpufreq (less spam log, delete deprecated code)

Added WCD9320 Taiko Audio Codec Control v3 from cocafe

Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)

Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,

intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,

intellidemand,intelliactive,preservative

Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched

Updated Zen IO scheduler and set as default

Simple GPU Algorithm

Added new GPU governor: conservative,cache-hwmon

Added optimization I/O, power_efficient workqueue, GPU

Added Adreno idler (addon for adreno-tz)

KCAL – Advanced Color Control for Qualcomm Devices

Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug

Added sysfs interface to Enable / Disable Android Logger

Updated patch for memory

Added patch for encryption

Added power_efficient workqueues

Added dynamic fsync

Supports notifier for start&end of LCD power on&off

qpnp-vibrator intensity control

enabling two-way call recording directly from the phone line

Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)

Added mac80211 injection patch and HID patch for keyboard support

msm: memutils: memcpy, memmove, copy_page optimization

Enhance power efficiency: Series of patches from NVIDIA

last_kmsg

support for kernel mode NEON

fastcharge

enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah

upgraded LZO (de)compression drivers

added per-core overall stats - now you can see the time spent by each core in a particular frequency state!

added LZ4 compression/decompression support

generic voltage control

added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC

powersuspend PM kernel driver
[Xperia Z1 Compact Android Development] EiNESTEiNi:
Great news!
[Xperia Z1 Compact Android Development] TechKiel:
Wow! Awesome job! :D
[Xperia Z1 Compact Android Development] :
Cannot wait, I hope the twrp recovery is fixed. V12 had twrp flashing issues.
[Xperia Z1 Compact Android Development] p@to:
A mewi cuestión

Is f2fs suported?

In which partitions?
[Xperia Z1 Compact Android Development] sharonliu:
What twrp issue had flashing in the v12?

it does not work reliable, because it causes too many problems (e.g., wi-fi doesn't turn on, brightness is stuck pretty bright, fm radio not working).:(
[Xperia Z1 Compact Android Development] sharonliu:
kexec-hardboot: still not fully work , v13 as primary rom is fine but when reboot into Second ROM,it caused bootloop. :(

i am waiting Garcia98's or other developer made a combined ramdisk and kexec-hardboot to work Multi-ROM.