yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] Myself5:
Thats totally up to what you need. M5 Kernel has all features the kernel you linked has, plus some more. Also M5 Kernel should be compatible with some more Roms due to AnyKernel2, which makes the Installer independant from the Rom it get's installed on (I even nearly got M5 Kernel booting on my Z2 running Stock ROM, but I came across some other issues (I also don't plan to make M5 Kernel compatible with Stock anytime soon, that was just a proof of concept to [MENTION=4819888]oshmoun[/MENTION])).

However, I'm not going to promote my Kernel above some other kernels, it's always up to what you need, so feel free to check out M5 Kernel and make your own impression.
[Xperia Z1 Android Development] bahmanxda:
Where is the download link?
[Xperia Z1 Android Development] :
aww shoot! thought I had updated OP

I'll update in a moment
[Xperia Z1 Android Development] chitose_ndy:
Umm.. Whats the difference between the normal and the permissive kernel?

Is it just the permission?

Which one is recommended to install?

Thank you

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Android Development] :
It's just the selinux mode ;)

Which one you want to use depends on what you want to run. If there's something you want to use that requires permissive mode, then choose that. Of course, this is also less secure.

If you don't, then get the normal version, as since lollipop almost all devices avoid using permissive mode.
[Xperia Z1 Android Development] chitose_ndy:
Okay ive installed ur kernel on my z1 , and im using resurrection remix rom.

It boots without a problem and its working well until now.

Thank you for the hard work and the kernel.

Cheers

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Android Development] abbychauhan:
Amezing Job [MENTION=4819888]oshmoun[/MENTION] and [MENTION=3816568]Myself5[/MENTION], and my Kindest Regards for getting your kernel for Z1
[Xperia Z1 Android Development] Destroyedbeauty:
Why no custom kernel for stock ROM?
[Xperia Z1 Android Development] qbic2:
Tried 'stable' version on CM12.1 and got bootloop (flashed using CM recovery).
[Xperia Z1 Android Development] abbychauhan:
Use another Recovery
[Xperia Z1 Android Development] VipKattKool:
pls fix bug of MAC Bluetooth

MAC Bluetooth alway change while turn off Bluetooth or reboot device

i cant connect to gamepad because this bug
[Xperia Z1 Android Development] jonke11:
Not working on resturection remix

Will try twrp
[Xperia Z1 Android Development] abbychauhan:
Try this - http://xdaforums.com/android/help/qa-lollipop-bmw-e46-carkit-bluetooth-t3045523
[Xperia Z1 Android Development] Vij4k:
Working good on CM12.1 but i dont't have OC CPU.. I can't change clock to upper than default.

Tapped from Sony Xperia Z1. (CM12.1)
[Xperia Z1 Android Development] :
CPU OC is not implemented for rhine devices yet ;)
[Xperia Z1 Android Development] trahzebuck:
Are you serious, my friend? :silly:

Recommending an user to fiddle around with system files? I can smell some bricks. :p

Honestly I have this fu**ing BT re-pair Problem with all 5.1.1 roms.

Humbly waiting for a fix. :)
[Xperia Z1 Android Development] :
That's the only one for now. Also, as can be seen by the fact that the file is under /data, not specifically a kernel issue ;)

Other than that, ROM devs need to prepare a fix :)

EDIT:

Sorry abby, I think I might have given you a wrong link. I could have sworn I saw a fix for the bluetooth issue somewhere though :eek:

If anyone posts it here, that'd be great :D
[Xperia Z1 Android Development] abbychauhan:
Ya Seems we have to use the Search Button for Solution.. lol
[Xperia Z1 Android Development] abbychauhan:
Well here is possible fix for Bluetooth pairing- http://forum.cyanogenmod.org/topic/111587-wifi-and-bluetooth-problem/
[Xperia Z1 Android Development] :
nice find :good:

did you test it?
[Xperia Z1 Android Development] abbychauhan:
not now as lot of suggestion are made there but i ll try some very soon
[Xperia Z1 Android Development] Red-code:
Nkt woking on Resurrection remix rom
[Xperia Z1 Android Development] :
Which version did you try? V9?

What recovery did you use to flash?

Do you have any spaces in the path to the flashable zip?
[Xperia Z1 Android Development] Red-code:
V9

Twrp 2.8

But resurrection is for my second rom( using multi rom)
[Xperia Z1 Android Development] :
I'm not sure if anykernel2 will work with multirom, as it dynamically generates a boot image which it then flashes.

could you switch resurrection remix to the primary ROM slot in multirom and test again? I think it'll work like that ;)
[Xperia Z1 Android Development] Myself5:
AnyKernel2 works flawless with MultiROM, I'm currently just not 100% sure if the Version I used in V9 works with it already or if only the current unreleased Version does. So go ahead and try it as primary, or wait for V10 which should come soon anyways.
[Xperia Z1 Android Development] Red-code:
My base rom firmware is stock lollipop

My second rom is rr

I flashed kernel in twrp advanced/multirom/listroms/flashzip

I think it used my stock rom boot.img to repack kernel
[Xperia Z1 Android Development] LSD DREAMER:
Any chance someone is willing to make a .img file of this kernel
[Xperia Z1 Android Development] alex636:
Is there any chance for dt2w in future builds?
[Xperia Z1 Android Development] TheNewbieRooter:
Which one do I install permissive or normal
[Xperia Z1 Android Development] maxsam4:
question is that do you need permissive?

if you don't know what it is then you probably don't need it.
[Xperia Z1 Android Development] TheNewbieRooter:
I'm on resurrection remix ROM and I've been having problems with the touch and someone said M5 kernel fixes it
[Xperia Z1 Android Development] maxsam4:
kernel being permissive has nothing to do with touch issues. install the regular version.

permissive version compromises with security to allow some functions. if you don't know about it then you don't need it.
[Xperia Z1 Android Development] TheNewbieRooter:
Thanks :D
[Xperia Z1 Android Development] LSD DREAMER:
I installed normal.
[Xperia Z1 Android Development] baris27:
Good job

Great kernel
[Xperia Z1 Android Development] SamadiPour:
Thanks for your great work

Can you add CAF?
[Xperia Z1 Android Development] :
CAF is not a "thing" you can simply add, can you be more specific?
[Xperia Z1 Android Development] SamadiPour:
CPU-Boost driver

GPU driver

CAF Sound
[Xperia Z1 Android Development] LSD DREAMER:
I was looking through the xml files and if I read it correctly the kernel also installed the recovery onto the fota partition. Why can't I flash recovery to fota partition through rasher. Any suggestions or advice.
[Xperia Z1 Android Development] :
umm, what xml files?

M5 doesn't overwrite recovery in FOTA partition.

If rashr doesn't work, then try checking with its dev, because if I understand rashr correctly, it flashes recovery and boot while inside the ROM.
[Xperia Z1 Android Development] LSD DREAMER:
Yeh sorry I read through my but hole. Please excuse that post.
[Xperia Z1 Android Development] tajimura:
Is there any chance, that Pen Mode will be added?

Sent from the dark corners of the world
[Xperia Z1 Android Development] agha_jo0n:
witch version should i install ?

M5-Kernel-V9.0-L-honami.zip

or

M5-Kernel-V9.0-Permissive-L-honami.zip

?

thank you
[Xperia Z1 Android Development] danny19901:
Either my friend I believe permissive will change your SELINUX
[Xperia Z1 Android Development] agha_jo0n:
i know but witch is better ?

danny please check your private box:)
[Xperia Z1 Android Development] madalone:
for example, if you want to install Viper4Android you'll need permissive mode ;)
[Xperia Z1 Android Development] Fekajo:
Bootloop with the last CM12.1, only me ? :(
[Xperia Z1 Android Development] Myself5:
V10 is finally coming

Hey guys, it's finally happening. We (yes, we are meanwhile a team of devs) did a lot of changes, added some nice new stuff and, of cause, merged a ton of CM upstream commits.

Huge thanks to the team at this point, consisting of:

oshmoun

rcstar6696

Langes

someone755 (yeah, buying competitors is always a good idea :) )

pvyparts

rzlatic

sm4tik

Here you can see about the current buildprogress:

http://myself5.de:12345/job/M5Kernel All Devices/

And here is the summed up changelog:

Version 10:

Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to [MENTION=5621191]rcstar6696[/MENTION]

Fix Kernel install issues with AnyKernel2

Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*

Add Adreno_idler

Update zzmoove to Version 1 Beta 8

Fix a bunch of Display issues (like Black lines) on Z1C

Add mac80211 injection patch and HID patch for keyboard support
[Xperia Z1 Android Development] madalone:
awesomeness! thanks for the update! sounds like with your powers combined you've become captain M5!! :D
[Xperia Z1 Android Development] bahmanxda:
The v10 kernel breaks the WIFI on the latest cm12.1 nighties, is there any chance on new version coming soon? thanks.
[Xperia Z1 Android Development] abbychauhan:
thats CM issue not kernel
[Xperia Z1 Android Development] bahmanxda:
No its not the cm issue. You can fix the cm issue with a command on adb shell but then when I flash the kernel the WiFi breaks again!
[Xperia Z1 Android Development] Myself5:
10.1 is up

Hey guys, I managed to find some free time, and finally compiled and uploaded a 10.1 Build. Basically it only includes CM Upstream commits (about 200 of them), and should work flawless with the newest CM builds, I am running it with the

OFFICIAL

20151016 release of Carbon ROM on my Z3 here (excuse me, but some advertisement needs to be placed :) ). I hope you enjoy it :P

Regards
[Xperia Z1 Android Development] abbychauhan:
I am using v10 Permissive one with Old RR without any issue
[Xperia Z1 Android Development] alex636:
Can someone confirm that this one is working with latest ressurection remix rom?

Okay it worked... I flashed the kernel with cm recovery first that gave me bootloops... With twrp it worked
[Xperia Z1 Android Development] mischa_martin:
You won't find many z3 users here so it's pretty useless :silly:
[Xperia Z1 Android Development] ->---:
Kernel M5 10.1 permissive, PAC ROM; wifi is greyed out and can not be activated. In the settings is constantly the message displayed "wifi will be activated". Wiping cache and dalvik did not solve it.
[Xperia Z1 Android Development] LSD DREAMER:
How is wifi with the stock kernel. Cm had a wifi bug. Think it could be that.

---------- Post added 29th October 2015 at 12:06 AM ---------- Previous post was 28th October 2015 at 11:39 PM ----------

Thanks for great kernel. How do you turn fast charge on. Can't find the option to turn it on. Is there a way to up charge voltage from within the phone. Thanks
[Xperia Z1 Android Development] ->---:
With stock kernel all is working. I can activate and deactivate wifi normally.
[Xperia Z1 Android Development] :
Fast charge is not available currently on m5 for rhine devices ;)

I tested it for a bit and didn't notice an improvement that justifies the risk of increasing charging voltage, so it was disabled to avoid problems.
[Xperia Z1 Android Development] LSD DREAMER:
Did you just disabled it without removing the files. Or was the files removed to. Just curious .
[Xperia Z1 Android Development] Myself5:
Disabling in the kernel source means that it is not getting compiled, since, when not enabled, the code is commented out by a if check.

Also, the fastcharge implementation we talk about is the one which forces the phone to charge at a set speed. This is only useful for the case that you have an unsupported charger, which the phone only draws 500mAH from as it thinks its only a USB connection.
[Xperia Z1 Android Development] LSD DREAMER:
O ok. Now I understand. Thanks.

I was trying stock 5.1.1 for a while. The custom kernel had fast charge think it's the one from faux and it seriously did decrease charge time alot. That why I was asking.
[Xperia Z1 Android Development] Myself5:
The fastcharge from faux123 is what M5Kernel has too, you'd need to talk to [MENTION=4819888]oshmoun[/MENTION] about enabling it then ;)

For all the others, this would not affect you, since it is disabled by default, you'd need to specifically enable it with a tool like Kernel Adiutor
[Xperia Z1 Android Development] LSD DREAMER:
Like oshmoan explained it's not getting compiled with kernel anymore. So there is no way to enable it. It's OK. 900 mA will have to do for now.
[Xperia Z1 Android Development] optimumpro:
Not exactly. M5 includes latest CM commits and new prima driver, which requires updated binaries in /system/etc/firmware/wlan/prima/. These files are updated in device/sony/rhine-common root directory. So, if your rom is not updated (and many devs don't, because the latest prima driver is not good), then wifi won't work with the latest M5.
[Xperia Z1 Android Development] abbychauhan:
Thats i am saying, OLD ROM and old M5 works, New ROM and New M5 works, my old RR with Previous ver. of M5 work flowlessly
[Xperia Z1 Android Development] LSD DREAMER:
Any one else have boot problems. It sometimes takes up to 20 min to boot into rom. I also could not boot into recovery from power menu. I always had to power of then boot into recovery. Even that took most of the time 4 to 8 retries. I thought it might have been exposed removed that same problem. Then on my last cm nightly update forgot to flash kernel problem gone. Any advise.
[Xperia Z1 Android Development] Myself5:
We, better said oshmoun already traced the problem down, and fixed it. I am going to publish V10.2 somewhen next weeks, after we tested some other updates.

Regards
[Xperia Z1 Android Development] LSD DREAMER:
Thanks you guys are awesome.
[Xperia Z1 Android Development] Ohhdayumm:
My WiFi stops working after flashing I'm on cm12.1
[Xperia Z1 Android Development] bahmanxda:
Did you flash v10 or v10.1? V10 breaks the WiFi on the latest nighties and v10.1 has this strange problem that sometimes takes 15min to boot. Apparently that problem is fixed already. The update is coming soon so I'm just waiting for that :)
[Xperia Z1 Android Development] Ohhdayumm:
I think I flashed v10 maybe that's why well I guess I have to wait till its fixed
[Xperia Z1 Android Development] Myself5:
V10.2

Hey guys,

V10.2 is currently compiling, you can check the progress here: http://myself5.de:12345/job/M5Kernel All Devices/

It's basically a bug/derpfix build, but also added some new under the hood changes.

Changelog:

Fix Soft Reboots on rhine devices

Add Oneshot Sync

Tweak kgsl

Fix loading of LZMA Compressed Recoverys

Regards
[Xperia Z1 Android Development] bahmanxda:
Thanks for this update, been running it with the latest cm nighties for a few days and everything is working pretty good and I haven't had any problem with booting or soft reboots. I was just wondering if it's possible to add overclocking frequencies for the next build, it's not that important but it's nice to have the option since snapdragon 800 can run on 2.5 ghz with no problem.
[Xperia Z1 Android Development] Myself5:
That would be something you need to discuss with [MENTION=4819888]oshmoun[/MENTION] or [MENTION=4862164]Langes[/MENTION].
[Xperia Z1 Android Development] bahmanxda:
Thanks mate, will do.
[Xperia Z1 Android Development] Scr@tchy:
Recovery

Hi,

i flash the latest kernel and now i want a recovery. Download a recovery.img and flash this via fastboot. But it doesen´t work. How to`????

Thanks
[Xperia Z1 Android Development] :
Could you explain a bit more?

what's your rom? What exactly isn't working? Is the wifi not connecting or is it not getting activated at all?
[Xperia Z1 Android Development] :
New maintainer

Good news! We now have a maintainer among our midst :D
[MENTION=4675360]tomascus[/MENTION] will take over this thread and try to keep m5 for z1 running fine and dandy

:victory::highfive:
[Xperia Z1 Android Development] xor_:
So, is D2W supposed to work currently? If so, how to enable? PimpMyZ1 thinks it's not enabled.

I also ran into the bootloop isue when installing from CM revocery. It worked when installing from TWRP. Might be worth mentioning that in the instructions in the first post?
[Xperia Z1 Android Development] :
D2W is for other devices, not for z1. Z1 support started on version 9 if you read the second post to the end.

About the second point, the script in the zip doesn't get executed correctly in cm recovery. That's the issue. On twrp the script runs correctly.
[Xperia Z1 Android Development] Blamao:
Hi all !

Currently running CM12.1 and its kernel, i'm looking for another kernel to enhance my battery life.

Any suggestion ?

Best Regards !
[Xperia Z1 Android Development] tomascus:
Have you tried this one? It's one of your only choices too :)
[Xperia Z1 Android Development] Blamao:
Not yet.

In the moment I'm trying to find why I don't have 4g...

I'll try it as soon as it is fixed
[Xperia Z1 Android Development] Ravermeister:
is there a New download location? because http://dl.myself5.de is not reachable for me
[Xperia Z1 Android Development] Myself5:
My Server expired some days ago, I just got a new one yesterday, but this time I used the chance to setup some things more sensible, so that its less of an hacky setup. Thats done now, however I still need to reupload the Files, which will be done this evening.

Regards
[Xperia Z1 Android Development] Myself5:
Everything should be working now.
[Xperia Z1 Android Development] topsecret78:
[MENTION=3816568]Myself5[/MENTION] , can you port Carbon Rom for Honami ?
[Xperia Z1 Android Development] Myself5:
I could, but I only work on devices I physically own. (Which is the reason why this thread is maintained by someone else too, I am just providing the Kernel base)

Note: Carbon is actively accepting Maintainers, so there is no issue with a Z1 Maintainer stepping up.
[Xperia Z1 Android Development] Ravermeister:
any news when a New build is available?

has the 10.2 still any advantages

against the stock cm 12.1 kernel (beside choosing another governor)?

kind regards raver
[Xperia Z1 Android Development] Myself5:
I am busy right now, I was planning to look into M5 Kernel later this week.

I am not sure why you assume that the Kernels don't diff anymore, just bc one is not getting updated atm, but to answer your question: Yes, ofc there is still an advantage in using M5, it still has big advantaged over CMs "stock" Kernel
[Xperia Z1 Android Development] Aaskereija:
Tried both V10.2 but Wifi doesn't work
[Xperia Z1 Android Development] topsecret78:
Flash v10 afther Flash v10.2 and WiFi work.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Android Development] Myself5:
We're, better said tomascus are working on updating the kernel. Unfortunally I am busy at the moment, working on Carbon Lux and getting the 3.10 Kernel and AOSP device trees up and running. In Addition to that I recently got a new Filehosting Server which needs to be setup. I will check into M5 Kernel again at some point, but I don't know when yet.
[Xperia Z1 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 Android Development] Ohhdayumm:
If you are starting to make kernel for 3.10 does that mean cm13 will be coming out soon
[Xperia Z1 Android Development] tomascus:
It'll come out one day... probably.
[Xperia Z1 Android Development] Ohhdayumm:
I really hope :) I really dont wanna get rid of my z1 just to use a newer system
[Xperia Z1 Android Development] BlackSoulxxx:
Any chance for this to update with new patches and stuff? like higher EMMC modes and stuff from stock Advanced Kernel v16? Those changes are only not for Rhine only, they can apply to Shinano too....
[Xperia Z1 Android Development] masterofnocrack:
just a doubt here ; i know this kernel supports f2fs on /data but what about /system or /cache? can i use f2fs on them too?
[Xperia Z1 Android Development] Myself5:
In theory you can on system, however every install zip for a rom formats the system partition ext4, so you can't really use f2fs on system. You should be able to use it without issues on cache.
[Xperia Z1 Android Development] masterofnocrack:
ok ,i've tried setting /system to f2fs by backing up then formating system to f2fs then restoring the system with the use -rf instead of formatting option and its a no-go on that front. maybe its the recovery's fault or maybe the rom was never designed to be ran that way.whatever the case, /system doesnt work with f2fs:(

but it does boot up with /cache and /data in f2fs and /system in ext4:)
[Xperia Z1 Android Development] Myself5:
Just checked again, my informations were wrong, you can't use system as f2fs, only cache and data. I probably remembered some old setup, newest cm tree only supports cache and data. Sorry for the missinformation.
[Xperia Z1 Android Development] tomascus:
You can't use system for f2fs, no point anyway since f2fs is for partitions that you would write to frequently.
[Xperia Z1 Android Development] Aaskereija:
Great Kernel but sound on headphones is horrible, even with poweramp+viper4android. Sounds like my Headphones are broke, but they're not.
[Xperia Z1 Android Development] tomascus:
ahh what do you mean, it sounds like headphones are broke? Could be something to do with recent static noise fixes [MENTION=3816568]Myself5[/MENTION], I see in latest commit it will only apply the fix to sirius?
[Xperia Z1 Android Development] Myself5:
Yup, the issue appeared on Z3 and Z3C too, as soon as I find some time I'll release V11.1, so we only use the sound fix for sirius.
[Xperia Z1 Android Development] Aaskereija:
Yes pls, cuz I like your kernel very much, it gives a massive duration boost at batterie :)
[Xperia Z1 Android Development] SpyrosMLG:
does this works with official rom but i am rooted with twrp recovery will it work??????????
[Xperia Z1 Android Development] Ohhdayumm:
Works with official cm 12.1 ;)
[Xperia Z1 Android Development] Aceboy50:
Hello? Does anyone know how to enable Double Tap 2 Wake on this kernel? I can see "Fix D2w" in the 1.2 released :D
[Xperia Z1 Android Development] SpyrosMLG:
will this kernel work on pac-rom(it is based on cyanogen as it says)!
[Xperia Z1 Android Development] tomascus:
The kernel doesn't have dt2w. It would probably drain your battery too much anyway so good thing it doesn't. :)

---------- Post added at 11:21 AM ---------- Previous post was at 11:19 AM ----------

You can try and let us know. It'll probably work for 5.1.1 aosp based roms
[Xperia Z1 Android Development] filjusz:
Is there any way to have MultiROM with this kernel?