yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] Myself5:
V11 is compiling

Hey folks,

I just started the build of V11. It contains considerably most of the changes done till now, [MENTION=4675360]tomascus[/MENTION] did a very good work with that. He merged Linux Kernel upstream up to 3.4.111, which is the newest 3.4 Kernel available. We ofc also merged the CM upstream, and tomascus also merged some improvements to f2fs and zRAM. In addition to that Eyenseo fixed the static noise on highend headphones. In addition to that, I'd like to welcome Eyenseo and tomascus to the team, they will maintain the Z2 (as I sold mine recently) and tomascus, who will maintain the Z1 (we were looking for a Z1 maintainer since quite a while).

Furthermore, we'd like to announce that this might be the last 3.4 M5 Kernel build (unless we find some time to keep it updated for LP). The reason is: M will use the Sony AOSP trees and the 3.10 Kernel. Hence we are going to start working on a 3.10 based M5 Kernel as soon as we can, in order to be ready once M builds are released. (Which should be soon)

You can see the current build progress here: http://myself5.de:12345/job/M5Kernel All Devices/

Changelog Version 11:

Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.

Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)

Fix static noise on high-end headphones

Various zRAM fixes and improvements

Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)

[MENTION=4675360]tomascus[/MENTION] rules.
[Xperia Z1 Compact Android Development] Ænimal:
Testing on RR 5.5.9. Everything is working fine so far :good:
[Xperia Z1 Compact Android Development] Gronkdalonka:
Same rom and same experience here
[Xperia Z1 Compact Android Development] blue-spiderfire:
tested V11 permissive on latest CM12.1 nightly. I lost root completely! :( Could this be or did I made a mistake?

Flashing update-SuperSu didn't helped. I went back to 10.2 - all fine.
[Xperia Z1 Compact Android Development] levone1:
V 11 permissive working great, Pac Man 5.1

..
[Xperia Z1 Compact Android Development] :
that's a weird one. Could you check the super user option in developer settings. Maybe it's disabled there?

generally speaking, flashing kernels doesn't mess with root. I can also confirm that root is working here after flashing version 11
[Xperia Z1 Compact Android Development] blue-spiderfire:
I checked that and if I remember correctly it was enabled. For sure root was enabled/working before flashing v11 and was working after returning to V10.2 without changing anything else. I tried it again and now it's work, strange. But I although updated the superSU to latest Beta. When I have time I'll check it again.
[Xperia Z1 Compact Android Development] blue-spiderfire:
Ok, tested a bit. (It's my daily mobile).

V.11 with cm-12.1-20160129 root was lost sometimes but not permanent, reboot helped.

V.11 with cm-12.1-20160202 - no problems until now

I think there is no need to go deeper in this problem.
[Xperia Z1 Compact Android Development] Marv42:
I installed yesterday the CM 12.1 2016-02-24 and I coudn't install m5 kernel , I trired diverent Versions, I always stock into a bootloop. I use the CM-Recovery.

Which version of CM and which version of the kernel I should use?
[Xperia Z1 Compact Android Development] Myself5:
use a sane recovery. cmr is not supporting AnyKernel installer scripts.
[Xperia Z1 Compact Android Development] Marv42:
Thanks, wich one is recommend? I'm a little bit confused about flashing/installing. I will try it at the evening at my PC at home.
[Xperia Z1 Compact Android Development] Myself5:
I'd use TWRP.
[Xperia Z1 Compact Android Development] Marv42:
Okay, I get TWRP_v2.8.6.0, try flashing it at home
[Xperia Z1 Compact Android Development] Marv42:
Recovery seems to work. Flashing via fastboot I always get the mistake "file not found" (or something like this), but "Rashr"-apps works well.

Now I am looking for good batterylife settings.

My first try is CPU Alucard, GPU Hotplugg Alucard, GPU Powersave, I/O both noop.

Should I do something else or other? I use Kernel Adiutor

Thx a lot
[Xperia Z1 Compact Android Development] Gronkdalonka:
Is anyone else experiencing low audio volume on Headphones and distortions with the v11 build?

It worked fine on 10.2 for me but me and my wife are facing this problems now (on Ressurection Remix 5.5.9).
[Xperia Z1 Compact Android Development] Myself5:
We already traced back these issues, and reverted the responsible commits. Everything remaining is to build the kernel, which is what I am going to do if I find some time today or tomorrow.
[Xperia Z1 Compact Android Development] Myself5:
V11.1 is coming

Hey folks

After various reports on different devices, we reverted our sound changes for the static noise with headsets. It seemed to cause more issues than it was fixing.

Therefore, our changelog for 11.1 is quite small.

Changelog:

Fix sound again by reverting the previous sound fixes

As always, the build progress can be seen here: http://myself5.de:12345/job/M5Kernel All Devices/
[Xperia Z1 Compact Android Development] Schlengge:
Since we have some MM ROMS now... Can we hope for a MM version of M5 aswell?
[Xperia Z1 Compact Android Development] Gronkdalonka:
After a few days i can say it's much better. Thx for the fix
[Xperia Z1 Compact Android Development] Ravermeister:
but what if I didn't have sound issues with v11L is it worth using 11.1?
[Xperia Z1 Compact Android Development] Myself5:
No, the only difference between V11 and V11.1 is the revert of the sound commits. It is however strange that you are not experiencing the issues others had with the sound commits.
[Xperia Z1 Compact Android Development] Myself5:
yes. However, I am currently busy with school and working on CarbonROM, so M5 Kernel for M (which will be based on the Sony 3.10 Kernel and therefore requires a full rework of the Kernel) has lower priorities.
[Xperia Z1 Compact Android Development] Ravermeister:
hmm I'm using it with z1 compact (amami) so maybe the bug does not appear on all device

if I can help to investigate let me know :)
[Xperia Z1 Compact Android Development] Ravermeister:
Any news regarding the new kernel?

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Android Development] Ænimal:
It looks abandoned when you check github..
[Xperia Z1 Compact Android Development] levone1:
I asked Myself5 and they need a maintainer to continue with Z1c. If you can do it, and you want to see an update, contact him. I checked with a few devs, and most don't really have the time.
[Xperia Z1 Compact Android Development] Myself5:
Kitakami takes up a lot of my time, so I was occupied by porting kexec to the new kernel base, not able to do anything else. Kernel is still at a very very early stage.

https://github.com/Myself5/kernel

M Sources will be on this repo, as M is based on the Sony AOSP Projects Kernel Source. (unified kernel for all devices BTW)

As [MENTION=6283426]levone1[/MENTION] Mentioned already, oshmoun gave his Z1C to his mom, so we won't have someone to maintain the M kernel for the device (yet?).
[Xperia Z1 Compact Android Development] levone1:
I did get a 'let me think about it' from someone, so maybe I'll check back...
[Xperia Z1 Compact Android Development] Ænimal:
Deleted (wrong thread)
[Xperia Z1 Compact Android Development] Myself5:
Aw, I was about to check back and see how to use Marshmallows hidden theme engine :( Now I have to search it on my own, dammit.

EDIT: Damn, this feature is actually awesome. Thanks for showing it!
[Xperia Z1 Compact Android Development] Ænimal:
Sorry, yeah the link is in the freexperia thread..
[Xperia Z1 Compact Android Development] Unr3aL67:
This wouldn't work on CM11 would it?

I almost certainly know the answer since CM12.1 is in the title but if there's only a slim chance of getting an updated kernel for my CM11 I have to ask...

OmarEinea told us a year ago that he'd release GreatDevs v2 for CM11 but he sadly never did.

So since I'm not going for CM12.1 nightlies which I hear have a few delicate kinks to be ironed out I'm kind of stuck.

GreatDevs v1 is kind of very outdated (2014-11-08), PimpedZ1C and MoshKernel were abandoned a long time ago.

Any tips? Thanks in advance for any help!

Greetz, Unr3aL67
[Xperia Z1 Compact Android Development] Abraham988r:
Link is broken

Please, if someone has the kernel and can reupload to any other server i will be very grateful!
[Xperia Z1 Compact Android Development] Myself5:
I don't have it locally (yes, i know not keeping backups is very stupid, blame that on me). If anyone else has it, please upload it somewhere.

I'll blame OVH for not fixing my server yet till then.

Regards
[Xperia Z1 Compact Android Development] Ravermeister:
I have Version 11L and 11.1L I can upload it later if needed

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Android Development] Abraham988r:
If you can pls upload It, i am in CM11 with Greatdevs kernel but It feels very outdated! Since already, thank you
[Xperia Z1 Compact Android Development] Ravermeister:
M5 Kernel Z1C V11L and V11.1L

here they are:

M5 V11L:

http://www.rimkus.it/stuff/handy/M5-Kernel-V11-L-amami.zip

M5 V11.1L:

http://www.rimkus.it/stuff/handy/M5-Kernel-V11.1-L-amami.zip
[Xperia Z1 Compact Android Development] Unr3aL67:
So are you saying that this kernel works with CM11 as well? I asked that question earlier but didn't get am answer...

Thanks in advance!

Greetz, Unr3aL67
[Xperia Z1 Compact Android Development] Myself5:
Server is back

Hey Folks!

I just finished setting up the New Server. Unfortunally, it seems like all data on the old server is gone. I uploaded everything I was able to find (as well as what was uploaded by you when the server was down).

Thanks a lot for the patience and help.

If someone still has files local, and sees that they are not on my server yet, please send me a PM with a link to the file and I'll upload it ASAP.

P.S. The Server is no longer sponsored, and now payed by myself, so feel free to help covering my server cost :P

Regards,
[Xperia Z1 Compact Android Development] Ravermeister:
I could spent webspace :)

Gesendet von meinem Xperia Z1 Compact mit Tapatalk

---------- Post added at 04:14 PM ---------- Previous post was at 04:13 PM ----------

...give away, sry for my Bad english

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Android Development] Myself5:
Thanks for the offer :) Unfortunally I am needing some more than a webspace, the server itself is also used as a DNS for my domain (so I can use my domain as a dyndns service for my PC) as well as using it as a host server for my jenkins setup, which is why I have this VPS. I now however found a special offer from noez.de (1500MB Ram, 3vCores and 100GB HDD for 0.65€ a Month) which is quite affordable for me (but ofc contributions are always welcome, hehe).

On other news: [MENTION=1686918]Gronkdalonka[/MENTION] still had some M5 Kernel builds on his server. I uploaded them, which means that Z1C should have all important versions back online now. Be sure to leave him a thanks on one of his posts [emoji14]
[Xperia Z1 Compact Android Development] Shahnewaz:
Doesn't seem to boot at all on my Z1 Compact. Shows a black screen on boot (ie. when the Sony Logo should show up) and reboots. Keeps doing that and if I connect my device to my computer, it goes straight to flash mode. :confused:

I'm using the latest V11.1-L uploaded by [MENTION=5237041]Ravermeister[/MENTION]. :highfive:
[Xperia Z1 Compact Android Development] Myself5:
Did you flash it via a decent recovery? The kernel does NOT work when getting flashed with CM Recovery (issues with the AnyKernel2 install script). It has to be flashed with TWRP.
[Xperia Z1 Compact Android Development] Shahnewaz:
WORKED HOLY **** :laugh:

It wasn't easy on my part, I was trying to get real recovery working, it wouldn't work at all. I had to use Emma to re-flash their ROM again to get the new bootloader back.

Until then I was using recoveries baked into the kernel. Now I got TWRP 3.0.2 permanently :victory:

Then I installed CM12.1 by FXP, and then your kernel, and walla! Magic :D

I will try testing on other ROMs to see whether it works.

Just a note, I get a 403 Forbidden error when I try to download kernels from your site. :rolleyes:
[Xperia Z1 Compact Android Development] Myself5:
Glad it worked. I fixed the download, seems like I messed up the file permissions. Thanks for the hint ;)
[Xperia Z1 Compact Android Development] Myself5:
V11.2 is out

Hey Folks,

As some of you know, my Server died recently, including all the data on it. I thankfully meanwhile found a Backup from the 21st of December 2015, but that means that the V11.x builds are gone. Thanks to the community, we got some of the newer builds back, however not all of them (some devices miss V11.1-Permissive for example), which is why I decided to start a new (11.2) build after finish to setup my server. That is now. I also updated the changelog for 11.2, stating it is what it is. A rebuild of 11.1.

Thanks for your patience and lot for the builds you guys had uploaded during the Server downtimes.

Regards,
[Xperia Z1 Compact Android Development] grzenek123:
This work with stock 5.1?
[Xperia Z1 Compact Android Development] karamancho:
no
[Xperia Z1 Compact Android Development] levone1:
No. CM. There are a few custom kernels for stock, though.
[Xperia Z1 Compact Android Development] :
Please supply us with a logcat, and last_kmsg if possible :)

EDIT: just saw that someone else suffers the same!

logcat and last_kmsg too please ;)
[Xperia Z1 Compact Android Development] Schlengge:
I will try to do that tomorrow ;)

Had to restore quickly because I need my phone for work.
[Xperia Z1 Compact Android Development] Hazou:
Hey,

I implemented this to my own custom CM12.1 rom. Wil build it for you and supply them. Then when official CM and/or other roms support f2fs the kernel is ready for Amami with f2fs.

Give me some days and i will provide you with the right files for the kernel.
[Xperia Z1 Compact Android Development] too.stoopid:
How can I get last_kmsg if the device doesn't boot? I have restored my backup so I think I would need to flash the kernel again and then?

Just FYI omars latest slim kernel 1.6 also doesn't boot with tesla rom.
[Xperia Z1 Compact Android Development] OmarEinea:
So slimkernel v1.5 was working on tesla?

If so, then the latests commits from CM are what made the kernel non-bootale because only CM commits were added to v1.6 over v1.5

Regards,

Omar.
[Xperia Z1 Compact Android Development] too.stoopid:
Haven't tried 1.5
[Xperia Z1 Compact Android Development] st0rm-r1der:
kernel working with z1

Hi there

Do you know, if this kernel works with the z1?

I am actually on cm12.1

Greetings!
[Xperia Z1 Compact Android Development] Hazou:
This is my fstab.qcom. It may need some refinements.

If the ROM supports f2fs then u can change system, data and cache partition to it.

But afaik, no LP rom supports it yet unless custom build.

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel /recovery emmc defaults recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/system /system f2fs ro,noatime,nosuid,nodev,discard,nodiratime,inline_xattr wait
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,flush_merge wait,nonremovable
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,flush_merge wait,nonremovable,encryptable=footer,length=-16384
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,encryptable=footer,length=-16384

/devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/xhci-hcd auto auto defaults voldmanaged=usbdisk:auto
[Xperia Z1 Compact Android Development] Myself5:
No, it won't work. However there is someone working on a Z1 Version already ;)

It's at no point related to the Rom itself, it's all about the Recovery which should be able to format partitions to f2fs and the kernel is needed to be compatible with F2FS (which M5 Kernel is)

P.S. [MENTION=4819888]oshmoun[/MENTION] ninjad! [emoji14]
[Xperia Z1 Compact Android Development] Hazou:
My wording wasn't perfect. The recovery indeed needs to have support to change them. But the ROM needs f2fs support to use the changed partitions. If I didn't add the f2fs support to my custom cm build I couldn't get it to boot. I could be wrong off course, but then I don't know what I did wrong.
[Xperia Z1 Compact Android Development] :
I have been dishonored :(

SEPPUKUUUUU!

I am also unaware of any changes required to make cm work with f2fs. This is also confirmed in CoolDevelopment's f2fs thread, where he doesn't mention anything concerning the ROM itself

If you have those changes online anywhere, please do post them ;)

Meanwhile, I'll work on updating the ramdisk for f2fs support using this commit ;)
[Xperia Z1 Compact Android Development] Hazou:
That commit seems fine. Will do its work.

You two are right. Tested it yesterday a couple of times and it just didn't want to mount the f2fs partitions. Even do i used f2fs supported kernel and fstab. I have missed something somewhere, because it does work now. Glad that it just works. Every day u learn something new :)
[Xperia Z1 Compact Android Development] :
:D

I'm not sure if you are able to build currently, but if you do, please try this commit:

https://github.com/oshmoun/android_...mmit/d702d30d3c5d7d5e41bb622d74698e33d30d0fd8

You'll also need this to avoid selinux problems:

https://github.com/oshmoun/android_...mmit/dc4aac17ce763fccc5ddc86295ed032be84ee9a2

Normal booting works, and I checked the generated fstab and it's exactly the same like the original. Haven't tested f2fs though, so if you do, that'd be great :D

If you can't buid, tell me so I can supply you with a boot.img ;)
[Xperia Z1 Compact Android Development] Hazou:
I can build this. Can give u the good news by tomorrow.

Oh, but why the selinux change set to permissive. Never got any problem with the CM one on enforcing.
[Xperia Z1 Compact Android Development] rzlatic:
xposed needs permissive but thats an option; you can set it to forced.
[Xperia Z1 Compact Android Development] :
I don't know, genfstab only worked when I set selinux to permissive. It's weird :eek:

Xposed doesn't require permissive anymore ;)
[Xperia Z1 Compact Android Development] Hazou:
Probably because the new genfstab executable needs permissions to work. So it needs a few new sepolicy lines to work. We can also just add the mount lines to the fstab. Android will try them all and disregard the ones who don't work.
[Xperia Z1 Compact Android Development] :
Yeah that would work as well i guess.

Generating fstab dynamically sounds a lot cooler though [emoji41]

#sweg

[emoji14]

EDIT: working around SELinux doesn't seem to be so easy after all...

Let's go with your solution :)
[Xperia Z1 Compact Android Development] Hazou:
Tested it. Working great, but only with selinux on permissive as u have noticed. Otherwise u need to violate sepolicy domain rule 298.
[Xperia Z1 Compact Android Development] :
exactly why I stopped considering this solution, writing to / is a big no-no it seems :(
[Xperia Z1 Compact Android Development] prinz.z:
Maybe a noob question, but where do I change the governor or cpu clock settings in CM12.1? I flashed the kernel (release V7), because I had problems with the cm12.1 stock kernel (heating cpu, charging issues etc) and cannot find the CPU / governor settings in the Android settings?
[Xperia Z1 Compact Android Development] Myself5:
You need a third party app for that purpose. I can highly recommend Kernel Adiutor by [MENTION=4443334]Grarak[/MENTION], as I use it myself and can guarantee full support of the Kernel in cooperation with Kernel Adiutor.
[Xperia Z1 Compact Android Development] :
Edit: looks like I've been ninja'd one again :(

Y u do dis?!
[Xperia Z1 Compact Android Development] prinz.z:
Thanks a lot for that fast answer :) I'll give it a try!!
[Xperia Z1 Compact Android Development] tudki:
no boot on mokee

I've chanceled boot because the device was getting hot.
[Xperia Z1 Compact Android Development] :
seems like some ROMs (like MoKee) are doing things that makes kernels based on CM Kernel not work.

Unless we find out what exactly that is, I'm afraid we can't come around to fixing it.

This kernel should work on all ROMs that are based on CM when it comes to the device specific parts.

Maybe you can ask the developer/maintainer of MoKee to test the kernel, and see why it's not working? He's got to know more about the inner workings of the ROM than us ;)
[Xperia Z1 Compact Android Development] Myself5:
8 is coming

Hey guys,

We're currently Version 8 for the devices.

Changelog for Version 8:

Fixed F2FS

Finally implement Intelli_Termal V2, thanks to [MENTION=4275152]someone755[/MENTION] and [MENTION=4819888]oshmoun[/MENTION]

Updated alcurd, nightmare, darkness
[Xperia Z1 Compact Android Development] Bartekreaper:
[MENTION=3816568]Myself5[/MENTION] OC fixed ;) ? :D, BTW thanks for great kernel :victory: :cool:
[Xperia Z1 Compact Android Development] :
GPU OC is done now, you can OC to 533MHz

CPU OC will come later ;)
[Xperia Z1 Compact Android Development] Myself5:
Not fixed by me, but by [MENTION=4819888]oshmoun[/MENTION] ;) I just provided the kernel base, the port to and initial bringup for Z1C was done by oshmoun.

Gesendet von meinem Xperia Z3 mit Tapatalk
[Xperia Z1 Compact Android Development] nereloyka13:
z1 compact dont work cpu and gpu oc.
[Xperia Z1 Compact Android Development] :
Gpu oc works, what app were you using to adjust it?

Gpu should reach 533mhz now

I just tested it

I already mentioned two posts above that cpu oc is coming soon, i.e not available right now
[Xperia Z1 Compact Android Development] nereloyka13:
look 533 mhz but work 200 mhz. Sorry for my bad english.
[Xperia Z1 Compact Android Development] :
well of course lol, if you don't need the power, the GPU governor will lower the frequency. Try changing GPU governor to performance to see the change ;)
[Xperia Z1 Compact Android Development] mohamed mahmaz:
I ain't know why but after flashing it on rr my phone doesn't boot after :(
[Xperia Z1 Compact Android Development] Bartekreaper:
What ROM u using? For resurection remix confirmed working :V (me) :D

Wysłane z mojej Z1 compact przy użyciu Tapatalk
[Xperia Z1 Compact Android Development] mohamed mahmaz:
Latest RR! one question do i have 2 wipe data/cache after flashing d kernel?
[Xperia Z1 Compact Android Development] Myself5:
Cache Wipe could be helpful, but data wipe is at no point needed.
[Xperia Z1 Compact Android Development] Bartekreaper:
For me it just did wipe because I saw after flash "android is updating" and im flashing Today New v8 version- I think flashing kernel just will wipe cache/dalvik [emoji14]

Wysłane z mojej Z1 compact przy użyciu Tapatalk
[Xperia Z1 Compact Android Development] :
Nice one :D

Dalivk cache is only a name for the place specified to cache data outputted in the "optimization" step. Maybe it should be renamed to ART-cache for lollipop, but by now, the old name seems to have stuck [emoji14]