yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] Skolotaie:
Yes it's working fine for me,i use Intellithermal combined with the Intelliactive Cpu Gov,phone creates much less heat while Gaming :)

Can't say much about battery life yet but it seems to be totally fine.

---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------

Hah i found that app yesterday and before i read your reply xD

But thanks for the hint ;)

Great app to control everything :good:
[Xperia Z1 Original Android Development] deftoner:
Thanks for the link! :)
[Xperia Z1 Original Android Development] CappyT:
Some feedback:

The kernel seems rock solid, but zram is not working, causes bootloops (i don't have logs atm)

Thank you very much for your work!

Can I suggest to open a new thread and build this kernel, maybe adding some new features, such new encryption methods (like the hardened LP kernel)

Thank you again!
[Xperia Z1 Original Android Development] mo120697:
[MENTION=2784807]DooMLoRD[/MENTION]

is it possible to fix the memory leak in android 5.0.2 via a kernel update?

thanks:)
[Xperia Z1 Original Android Development] chitose_ndy:
Hello, im on rockZ1 ROM, i tried to install the unofficial update .. I even tried to remove the recovery again ..

But still stuck on bootloop ..

Any ideas???

:(
[Xperia Z1 Original Android Development] Lord Takyon:
What memory leak?
[Xperia Z1 Original Android Development] vibealite:
has this kernel even been updated to work with lolipop?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Yes.
[Xperia Z1 Original Android Development] vibealite:
cool thanks dude will give it a try
[Xperia Z1 Original Android Development] vibealite:
stuck in bootloop after flashing latest update too
[Xperia Z1 Original Android Development] noahvt:
That is because this kernel has NOT been upgraded to lollipop yet... [MENTION=4598683]Destroyedbeauty[/MENTION]
[Xperia Z1 Original Android Development] vibealite:
thanks i didnt think it had been i asked if it had been a few posts back sumone sed it had so i thought id try it
[Xperia Z1 Original Android Development] Destroyedbeauty:
Then tell my why I am using an unofficial and damn fine working Lollipop supported build of Doomkernel on my Z1? Noobs these days, do some goddamn research!! ><
[Xperia Z1 Original Android Development] noahvt:
Just to clarify: I am not a noob! The guy that asked whether or not doomkernel was working on lollipop was referring to this darn thread so I said that the download found in this very thread was NOT compatible and that's why he had a bootloop with lollipop since you are using a unofficial build and I am currently not running a stock based lollipop build I couldn't possibly know of it's existence!
[Xperia Z1 Original Android Development] hlavicka82:
http://xdaforums.com/showthread.php?p=60321523
[Xperia Z1 Original Android Development] :
I think what he meant was there was no official release for lollipop.
[Xperia Z1 Original Android Development] osmancan71:
What would you suggest for the best battery performance? have a link ?

for example

http://xdaforums.com/showpost.php?p=55946163&postcount=2
[Xperia Z1 Original Android Development] xxx_sunnyboy_xxx:
Look at this... [emoji2]

http://xdaforums.com/showthread.php?p=60485154

Sent from my Sony Xperia Z1 C6903
[Xperia Z1 Original Android Development] osmancan71:
ty :)
[Xperia Z1 Original Android Development] nyongrand:
with this kernel I'm unable to make a backup from twrp, everytime I try to make a nandroid backup phone restart and bootloop, until I shutdown the phone with vol+ and power, then power on the phone, the phone boot successfully this way, does someone experience this too?

EDIT: I use lollipop unofficial update.
[Xperia Z1 Original Android Development] Ashray_Vk:
Some interesting result I got with the unofficial lp update of doomkernel
[Xperia Z1 Original Android Development] venkat kamesh:
That was pretty easy bud

But before you try to add patch of colour control.

You need to revert old kcal patch from mach-msm...

If you have you can go with my git

I had small problem could you please?

Problem with baseband. No baseband

I had reverted staging baseband file but no luck...

How did you managed to do?

Thank you
[Xperia Z1 Original Android Development] hlavicka82:
Hi [MENTION=4433143]venkat kamesh[/MENTION]

yes I had this problem too. It's pretty easy :). The cmdline parameter for mkbootimg changed from 4.4.4

use this to create the boot.img

./mkbootimg --cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=300M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --base 0x00000000 --kernel zImage --ramdisk ramdisk.cpio.gz --ramdisk_offset 0x02000000 -o boot.img --dt dt.img --tags_offset 0x01E00000

It's also documented in README_Xperia file in the source :)
[Xperia Z1 Original Android Development] R@mi:
is there by any chance a possibility to add Dt2w?
[Xperia Z1 Original Android Development] PadmeGaius:
Do you happen to have a kernel for lollipop?

I really want to use the pimp my z1 app with the take2wake option but it needs a kernel that supports it. Im on a pre rooted lollipop. Thanks and God bless.
[Xperia Z1 Original Android Development] nardow:
Lollipop isn't stable enough, so...

Does it work with 14.3.A.0.757? (KitKat)
[Xperia Z1 Original Android Development] XDM inc:
does this work with Stock LP 5.1? im guessing not?

are there even any Kernels for LP?
[Xperia Z1 Original Android Development] Frunzdoedel:
I am very satisfied with sharonliu's kernel

http://xdaforums.com/showthread.php?t=3096060
[Xperia Z1 Original Android Development] XDM inc:
i take it that this doomkernel is not for 5.1

and yea thats what i was looking advanced stock for my phone. thanks
[Xperia Z1 Original Android Development] Sangeeth Mk:
is that kernal support in lollipop ROM?... It will bootloop or not?
[Xperia Z1 Original Android Development] filjusz:
Can you make this kernel for latest Lollipop? [MENTION=4642124]hlavicka82[/MENTION] Please?!?
[Xperia Z1 Original Android Development] Walid Salah:
I can not download file

bro please, re upload the file I can not download it
[Xperia Z1 Original Android Development] superpixel:
please mirror the v22 version cause the domain http://doomlord.xperia-files.com/ is not reachable
[Xperia Z1 Original Android Development] ozgrcvdr:
Hello.sorry but this page (((https://github.com/DooMLoRD/android_kernel_sony_msm8974)))) is very complicated.i use sony xperia z1 (c6903) 4.3 jb . 290. I select 4.3 jb from the top left of the page and There are many 290? Which 290 should I choose? My english bad sorry and if you help me thank you
[Xperia Z1 Original Android Development] rodrigo granemann:
Link is not working :(
[Xperia Z1 Original Android Development] dferferfer:
i cant download because there is an issue on website:

Diese Website ist nicht erreichbar

Die Antwort von doomlord.xperia-files.com hat zu lange gedauert.

Besuchen Sie die Seite http://xperia-files.com/.

Auf Google nach doomlord xperia files suchen

ERR_CONNECTION_TIMED_OUT
[Xperia Z1 Original Android Development] nexolight:
Just download it here: https://github.com/DooMLoRD/android_kernel_sony_msm8974/releases

Edit: ok sry these are not the actual releases. Just source.

The Website is indeed down.
[Xperia Z1 Original Android Development] AshkPunk:
Someone please add a mirror (v22-new), I cant download it.
[Xperia Z1 Original Android Development] ov2rey:
Lineage rom can flash this kernel?
[Xperia Z1 Original Android Development] Aaskereija:
this kernel is from 2014.... did you even read the thread?
[Xperia Z1 Original Android Development] Matrix329:
L

Best root operating
[Xperia Z1 Original Android Development] moritz31:
Have u looked up whats draining the battery so much?

For me its a normal battery drain
[Xperia Z1 Original Android Development] megatooth:
I have no baseband and phone app is gone when flashing your kernel. C6903 UB here on RomAur 4.0. What am I doing wrong?
[Xperia Z1 Original Android Development] DooMLoRD:
flash 4.3 FTF

then flash this kernel
[Xperia Z1 Original Android Development] TheKnux:
Just reflash rom again. Worked for me. (dirty flash is fine)
[Xperia Z1 Original Android Development] megatooth:
Edit: dirty flashed second time and it worked. Thanks, TheKnux!
[Xperia Z1 Original Android Development] TheKnux:
No problem man. Glad it worked. :)
[Xperia Z1 Original Android Development] Zorokydopy:
Nothing in my phone, take a look :(
[Xperia Z1 Original Android Development] Push3r:
I m only restart phone... Than baseband was ok
[Xperia Z1 Original Android Development] soulzero:
it keeps saying "cannot open boot.img"

i got everything in the fastboot folder.. including kernel
[Xperia Z1 Original Android Development] Snaqejack:
Perhaps a stupid question, but is the filename correct?

When you download the kernel, it isn´t named boot.img

Check that.
[Xperia Z1 Original Android Development] soulzero:
i tried about everything.. copied the filename with and without .img

nothing appears to be working? ofcourse my phone is unlocked, did this before trying to flash this kernel
[Xperia Z1 Original Android Development] Snaqejack:
Exactly what are you typing in the command window?
[Xperia Z1 Original Android Development] soulzero:
Finally got it working, must have been a corrupt download or something

..
[Xperia Z1 Original Android Development] peteri8706:
Hi Doomlord and all else using this kernel.

Thanks for the work you've put into the development of the Z1, it's about time we can use a custom kernel without breaking camera etc.

Quick questions to whomever would like to respond.

I am using System Tuner Pro like with all my other phones, found that this one is great for fine tuning with custom kernels.

I'm happy with the speed/smoothness of the phone with this kernel so not really interested in overclocking, just wanted to know what is the optimal setting for I/O scheduler and which is best governor?

I usually use I/O scheduler 'noop' with 1024kb read ahead and governor 'on demand' with my other phones. Is this optimal with the Z1? I know each Z1 phone is different (not all Z1's will behave the same) but just wanted to know what generic settings would be optimal in these cases?

Thanks and any feedback would be great.
[Xperia Z1 Original Android Development] harfot:
File name does not matter - you can rename it to a.bin if you want to.
[Xperia Z1 Original Android Development] Zorokydopy:
Take a look

Before ub + flash Kernel + root

After ub + flash Kernel + root

Any ideas? :(

Sent from my C6902
[Xperia Z1 Original Android Development] Havok!:
Will be there any difference if I flash the kernel via fastboot commands (like described in OP) or via flashtool?

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] gregbradley:
No
[Xperia Z1 Original Android Development] mynameisjon:
Is there any way to change to splash screen on start up?
[Xperia Z1 Original Android Development] harfot:
No, it's the logo of DooMLoRD, it's his kernel and not intended to be changed.
[Xperia Z1 Original Android Development] gregbradley:
Yes, but you have to decompile the kernel.

Take a look here
[Xperia Z1 Original Android Development] mynameisjon:
Thanks. I actually was about to come here and post how to do it.

The link you provided is a lot better at decompiling and recompiling than the one in the link I'm providing.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Hey, Doom.. Is the bootloader-camera issue fixed yet?

I am getting my hands on the Z1 in the end of this week hopefully (it's an late christmas gift from my girlfriend that really knows about my infinite obsession with Xperia devices) and the camera thing is just my only concern..

:)
[Xperia Z1 Original Android Development] peteri8706:
Yes it is. You can unlock bootloader and now camera is all good. Cheers.
[Xperia Z1 Original Android Development] omegahanggara:
Request kernel feature

Please add fast charge feature. Thanks
[Xperia Z1 Original Android Development] paulomario77:
Brazilian C6943 here. Performance is very poor. Even the boot animation stutters. Tried wiping, clearing Dalvik cache, with no success. Flashing the stock C6943 kernel back fixes the performance issues, root is maintained but /system cannot be written to.

Both TV and camera do work, but are very sluggish. Xposed framework can be installed but somehow cannot be activated. Oh, this is using the standard installer. XposedInstaller_2.4.1-xperia.apk doesn't work.

Anyway I can help?
[Xperia Z1 Original Android Development] khoaimi:
confirmed. Pls fix it
[Xperia Z1 Original Android Development] peddarson:
please Post a log.So it is more simple to it ;)
[Xperia Z1 Original Android Development] skem:
I dont have any issues with my C6903. XposedInstaller_2.4.1-xperia.apk works for me
[Xperia Z1 Original Android Development] paulomario77:
What kind of log do you need? Should I install aLogcat or something? Can you kindly point me to a thread with instructions on how to obtain and share the logs that can be helpful to the developers?

Yes, I later realized XposedInstaller_2.4.1-xperia.apk does work, but with DooMKernel my system was so slow that I thought it didn't.

What I have done is: flash DooMKernel, bear with its speed, install and configure Xposed and its modules, do the necessary reboots, then flash the stock kernel to recover the expected performance of the phone.
[Xperia Z1 Original Android Development] iamflamez:
Is boosting the sound from kernel different than doing it by the volume boost mod that I flashed from the apps and themes section?
[Xperia Z1 Original Android Development] gregbradley:
Yes, very much so, this will actually work, unlike most system mods which appear to be mostly placebo
[Xperia Z1 Original Android Development] McT1980:
I downloaded Faux's app for the sound and it does work indeed. Worth every penny as the Z1's volume isn't that impressive to begin with :(
[Xperia Z1 Original Android Development] MysticEnforcer:
hi,

i downloaded the kernel and played a little bit around.

for me doesn't work/doesn't work correct:

sound control doesn't work correct.

with faux gpl_headphone_gain works,

but the gpl_speaker_gain revert back to stock after every track or reboot.

sound control doesn't work with init.d scripts.

tried oc/uv gpu and it doesn't work.

*edit*

tried the cpu voltage control with init.d script and

it works good.

i tried it with -75000 = bootloop,

-50000 = device crashes &

-25000 = device works good without any failure
[Xperia Z1 Original Android Development] :
From the Arc S, to the V and now to Z1. I love your work. Makes me happy. :)
[Xperia Z1 Original Android Development] khoaimi:
WE ARE TRUE :victory:
[Xperia Z1 Original Android Development] kartal172:
Kernel is affecting battery duration time?
[Xperia Z1 Original Android Development] harfot:
All kernels affect battery, but with this one you can try to regulate it yourself.
[Xperia Z1 Original Android Development] TheTrooper:
I don't know if this issue is related with DoomLord kernel or 4.3 itself but I have strange memory leaks. After 2 days I have only +/- 250 mb of free ram. Cleaning give only 50-70 mb of ram. Only reboot help in this situation.
[Xperia Z1 Original Android Development] jmgg2k:
+1

Please [MENTION=231602]doom[/MENTION] help us with this problem
[Xperia Z1 Original Android Development] omegahanggara:
I'm using monx kernel. I got around 30 - 40 mb of free ram. After tweaking minfree value, I could got 800 mb of ram again.
[Xperia Z1 Original Android Development] cocchiararo:
Those having those issues with ram, why don't you use something like "memory usage" to check if there is actually something that can be identified?

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z1 Original Android Development] tcchuin:
It's quite similar to system_server memory leak.
[Xperia Z1 Original Android Development] Ferranza:
I'm having 400/450 mb... No issue here

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] guddu2011:
for me on stock kernel it used to be 700-800mb free ram most of the times but on this its only 300-400mb
[Xperia Z1 Original Android Development] TheKnux:
Same here. Using monx 3.0b rom. Flashed doomkernel then monx stock rom. Battery life is amazing, just not getting as much ram as I used to using stock kernel. Was playing gangstar Vegas earlier and I checked my ram and it said 860 free but the game was laggy as hell.
[Xperia Z1 Original Android Development] tcchuin:
having 300-400mb is an issue. try running large applications(eg games) and you'll see it being closed.

try using elexir2 or anything else you'll be able to see multiple system_server instead of 1.
[Xperia Z1 Original Android Development] Ferranza:
Just one but I didn't launch any large app

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] Havok!:
Got the same issue. Sometimes amount of free RAM goes to less than 100 MB and every app is killed, but RAM usage doesn't change or changes very little. After reboot everything goes back to normal, but only for ~12h.

Spoiler content hidden.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] tcchuin:
Here's when the memory leak is very serious :(
[Xperia Z1 Original Android Development] drakexpl:
It's pure memory leak and should be fixed. Not usable for now as I must restart my phone twice a day because it's unable to work normal way

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] B1nny:
Please let's not get on this "free RAM makes your devices faster" discussion again, because it won't. Android's RAM management is fine, it lets applications run in the background and when an application requires more RAM than available at that time, Android kills an application to free up some RAM.

Now what happens here is that the process "system_server" requests X amount of RAM because it needs to do Y. Usually the applications maintains control over the RAM it requested and is able to release it again or re-use it. What seems to happen in this case is that "system_server" requests RAM, gets it and then requests it again because it somehow 'lost' it, this is called a memory leak. If this happens over and over again you will see "system_server" use a lot of RAM, as seen in the screenshots posted by other people above this post. Because "system_server" is a system process and is required for Android itself to run it can't be killed, so Android can't kill the process because it will mess something up. (I just tried it, reboots your device) Thus the amount of RAM being used increases until there is no more RAM left to be used, the device crashes, restarts and it all starts from the beginning again.

Are you going to solve this by installing a task killer? No. Are you going to solve this by adjusting the min-max settings? No. Are you going to solve this by creating a 20GB swap partition? No.

This is something Sony has to fix, maybe some smart developers here on XDA can fix it by hacking some system files but I assume that is quite a difficult task.

What can you do in the meantime? Nothing other than rebooting your device every ~24 hours, or when you notice the amount of free RAM is low and there are no other applications using it in the "running" tab under settings -> apps.

What do I mean by that? Well "system_server" doesn't show up in settings -> apps -> running (have a look) because it's a system process. Only user processes show up here. If you for example have 200MB of free RAM and there are 20 applications running, you're fine. Android knows what's going on and will kill an application you don't use when it has to. If you have 200MB free RAM and there are almost none to no applications running it's time for a reboot because "system_server" is most likely using a lot.

So instead of asking DoomLord to fix this (which he might be very able to do, I honestly don't know), or asking a ROM developer to fix this, go to Sony and ask them to fix this, because this is their problem.
[Xperia Z1 Original Android Development] omegahanggara:
Try to apply this minfree value

59,79,98,117,137,195
[Xperia Z1 Original Android Development] drakexpl:
It's not Sony problem because on stock kernel phone can run for one week without restart and all is fine.

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] tcchuin:
trying and see if it works :eek:

So far don't have any memory leak on stock kernel
[Xperia Z1 Original Android Development] MohammadAG:
No, that's not what happens, what happens is that something (probably bad code in system_server itself) is spawning multiple threads of system_server, each one taking up the same RAM system_server used before this thread was spawned (I'm guessing it's forked).

You can manually kill it with pkill -9. Killing the main system_server process will of course cause a UI restart.

Indeed, although I'm still not sure it's Sony's fault.

There are Nexus 10 users with the same issue after the 4.3 update, and there's an issue reported about it: https://code.google.com/p/android/issues/detail?id=58664

So this might very well be an AOSP problem. It doesn't happen on 4.4, so it might've been fixed there. I don't feel like going through 4.3 -> 4.4 commit to check if it was fixed, that's kind of tedious.

I've made a workaround, this isn't a fix, by far, it's just a way to stay on 4.3 without going nuts.

Drop this script in /data (or anywhere you can execute scripts), then create a Tasker/Llama task that executes it (as root) when screen is turned on/off. You'll need busybox installed.

#!/system/bin/sh
for pids in $(busybox ps | grep system_server | grep Thread | busybox awk '{print $1}' | xargs); do kill -9 $pids; done

It's the best way to have this executed at set intervals without wasting battery life.

Starring the issue above might be worth it. But again, a fix by Google will require an update by Sony.

I've encountered this on stock, it's unrelated to the kernel. In fact, I've never used this custom kernel.
[Xperia Z1 Original Android Development] TagEHeuer:
All installed, fantastic thank you. I'm new to all this, do I have to manually update the Kernel every time a new release comes out? Flash it again?

Will
[Xperia Z1 Original Android Development] mikailmohammed:
I may buy this phone soon. Some stuff i need to know before that i am not seeing anyone post.

1. Will the camera be broken if i am to unlock bootloader with 4.3 stock installed?

2. Does this kernel have good battery.

I am no noob to flashing and modding my phone i just can't seem to get straight answer anywhere and this seems like the best place to.
[Xperia Z1 Original Android Development] jmgg2k:
1) Camera will not broke with unlocked bootloader on 4.3

2) Excellent battery life
[Xperia Z1 Original Android Development] colors:
Hmm have i missed something? Just Flashed this on my unlocked xperia with 290. Worked great but i still dont have root. What have i done wrong?
[Xperia Z1 Original Android Development] DooMLoRD:
nothing :)

the kernel will give you recovery... just flash any rooting update.zip in recovery
[Xperia Z1 Original Android Development] colors:
Aha okey :) maby a dumb question but where can i find a such file. Here on the forum?
[Xperia Z1 Original Android Development] YamazakiRobert:
here

http://xdaforums.com/showthread.php?t=1538053

here

http://download.chainfire.eu/supersu

:highfive:
[Xperia Z1 Original Android Development] colors:
Aha now i understand.. First thing i did after flashing was installing supersu from Google play. Never understod i must get the flashable version to obtain root. Now it works! Thx
[Xperia Z1 Original Android Development] TagEHeuer:
Anyone else having problems with the battery? I'm running pure stock along side this my battery drains quickly and when it doesn't it loses 4% at a time sometimes.
[Xperia Z1 Original Android Development] DooMLoRD:
next kernel release will have updated recoveries :)

just resynced my buildserver to latest CM sources...

CWM 6.0.4.6 compiled and tested fine...