yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] NiM72NiK:
Hey Lord.thanks for your awesome kernel. But I have 3 problems :(

First of all double tap to wake isn't working properly. When the ac charger is connected,its ok.but when you remove it,the double tap feature can be found very hard.sometime i have to tap 10times to wake,sometimes it doesn't work at all. Any way to fix it?

Second,i see the gamma and color settings in the faux123 aren't working and it says the device needs a stock enhanced kernel which it cant be downloaded and the download goes failed.

Third,i think the battery drains much faster. I tried powersave governor but everything goes laggy.

Please please help me with these.thanks man

It case i use v11

And a BIG thumb up for your work ;)
[Xperia Z1 Original Android Development] pranii23:
Are you using the latest faux clock app?

I am using Faux123 kernel enhancement pro 1.9.2 and it works for me with DooMKerneL v11

About D2TW there is a deep sleep issue where it doesn't register the double tap when it goes to deepsleep. He is working on it currently as there was an other developer who fixed this issue.

Tried Intelliactive governor? It works good for me. Decent battery backup.
[Xperia Z1 Original Android Development] NiM72NiK:
Thanx 4ur reply man.the games go laggy using intelliactive..which way makes a good balance between battery saving and performance?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Tweaked Interactive governor, with SIO scheduler.
[Xperia Z1 Original Android Development] LLars_PL:
Doom, i know you got hands full of work but what do you think about this? http://xdaforums.com/showthread.php?t=2697069

This could be a -To do for later on to improve your kernel if its worth it- i dont really know if it is :) Take a look if you have some free time : )

LG -Sorry if it was asked/mentioned already
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Well I figured out what was causing my battery drain and it sure wasn't this kernel! It was SwiftKey app it was causing the same drain on my SP and Tegra Note 7! Back with v11 installed and phone working great!
[Xperia Z1 Original Android Development] LLars_PL:
Swiftkey? A keyboard app? Seariusly? It`s my fav one :/

Edit- it doesnt seem to be the keyboard, Nothing points at it, any wakelocks detectors or battery stats. Most wakelocks are on Kernel section for me
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Strangely enough it was SwiftKey and after a small amount of research on the 'net saw that many others were experiencing the same on different phones since a recent update... Weirder things have happened and I'm okay with the Xperia keyboard! :D
[Xperia Z1 Original Android Development] LLars_PL:
:D i know weirder things happened, but im not okay with the stock Keyboard :/ any Good Alternatives?

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
You can always try Googles Basic keyboard as an alternative, it's what's on my Tegra Note 7 and it hasn't killed me so far to use it!! :p

https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin&hl=en
[Xperia Z1 Original Android Development] LLars_PL:
:D thx will try it

Wysłane z mojego C6903 przy użyciu Tapatalka
[Xperia Z1 Original Android Development] Destroyedbeauty:
[MENTION=2784807]DooMLoRD[/MENTION]

Seems like newer kernel sources are up for download & hacking, maybe something useful for further improvement on Doomkernel for Z1?;

Kernel sources for build 14.3.A.0.757
[Xperia Z1 Original Android Development] -Happy Feet-:
Yesterday I switched to the Ihackers Kernel and I have no sleep of death issues.. I hope the problem is gone [emoji3]

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] Wolfbreak:
Deactivate Double Tap To Wake and you have no Battery Issues on DoomKernel either.
[Xperia Z1 Original Android Development] -Happy Feet-:
It as already deactivated

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] DooMLoRD:
Ya I am working on updated kernel tonight...
[Xperia Z1 Original Android Development] raziel123:
Do you have any recommended governor settings for Interactive Governor?

---------- Post added at 11:04 PM ---------- Previous post was at 11:04 PM ----------

Looking forward to the Update :D
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Well v11 works fine with .757... Relocked bootloader, PCC installed new .757 update, fastboot flashed DooMs new adv stock kernel, re unlocked bootloader in flashtool, reflashed SuperSU and v11 in CWM all before first boot into .757 firmware and everything working as it was on .681!! Life is good! :D

Link to new adv stock kernel thanks to DooMLorD!!

http://doomlord.xperia-files.com/private/Z1_DooMLoRD_AdvStkKernel_FW-757_v03-1.zip
[Xperia Z1 Original Android Development] juDGEY2k10:
This version works with this and root to

http://xdaforums.com/showthread.php?t=2687243
[Xperia Z1 Original Android Development] togcbu:
How do i disable double tap to wake up? I do not like this feature. It is very annoying to have the phone turned on while in the pocket.
[Xperia Z1 Original Android Development] :
Use an app called "Pimp my Z1". Remember to also set it on boot.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Will adjust the governor soon in Fauxclock app and send the settings for each parameter to you in a screenshot! :)
[Xperia Z1 Original Android Development] pranii23:
Display calibration

People who have calibrated their display for better viewing angles and more saturated colours can post their settings in this thread.

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

Never new proper calibration can improve the viewing angles a lot.

My Z1 now looks like my Lumia 920 with respect to colours.

DooMLorD please include the gamma control also so that the best of Sony can be even better :D :D
[Xperia Z1 Original Android Development] raziel123:
Many thanks

Was using intelliactive, but for some reason I noticed some lag,

Could also be due to thermal throttling, waiting for Doomlord to implement better thermal management than the crappy mpdecisision from Qualcom.

I just tested with stability test app, and it throttles like crazy after a few minutes, drops processor speed to about 1.2 ghz, dunno what it does to the gpu...
[Xperia Z1 Original Android Development] Destroyedbeauty:
Intelliactive is made with "fast race to idle state" in mind, so it's an battery friendly Interactive shortly explained.
[Xperia Z1 Original Android Development] SleemLDJ:
I'm about to try doomkernel 11 on the new. 757.

Is it safe to work on it?
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Check post #940 above... :D
[Xperia Z1 Original Android Development] Destroyedbeauty:
PM ME!
[Xperia Z1 Original Android Development] Hen Ry:
Z1_DooMLoRD_AdvStkKernel_FW-757_v03

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] SleemLDJ:
whats this??
[Xperia Z1 Original Android Development] Klaus N.:
@slimldj

You're right, the post above yours is a bit confusing. I think, that reply is related to post #940

and your post #948.

As far as I can follow, he meant, you can use DooMLoRD's advanced stock kernel v.3, until DooMKernel v.12 is ready :)

e/ I prefer to use Z1-XZDRKernel2.7.115 for transition (because of TWRP) ;)
[Xperia Z1 Original Android Development] SleemLDJ:
Thanks for clarifying. i will wait for v12 coz i think v11 did something to my phone i cant even explain.

Had to flash NUT.757 and then flash the stripped ftf.

This is my first time using DomKernel
[Xperia Z1 Original Android Development] Klaus N.:
Ok; I'm on ub, and I've flashed (after a fullwipe in recovery) - as already mentioned - [NUT]'s Z1-XZDRKernel2.7.115, and after a reboot into recovery, RomAur7.0.

But I think, we should come b2t here :D
[Xperia Z1 Original Android Development] rage77:
Running DoomLord's v11 on the latest Z1 firmware. Haven't noticed anything dodgy, working quite good actually.
[Xperia Z1 Original Android Development] Destroyedbeauty:
In short swedish, saw that you're living in Stockholm: Inga problem med rubbad djup sömn?

No problem with deep sleep? Or kernel wakelocks?
[Xperia Z1 Original Android Development] rage77:
Hej! :)

No problems with deep sleep according to Better Battery Stats. The only culprit to my steadily sinking battery level is the usual suspect; NlpCollectorWakelock, Googles location service... thinking of disabling that maybe.

I wish it worked better than it does, I like the feature but I think it uses too much battery for what it does.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Not even any bam_dmux_wakelock issues? :o
[Xperia Z1 Original Android Development] whisper13:
please deleted edited badumbass me
[Xperia Z1 Original Android Development] chunlianghere:
locked bootloader = nope
[Xperia Z1 Original Android Development] rage77:
Now that you mention it I do have some kernel wakelocks...

PowerManagerService.Wakelocks, 45.2%

bam_dmux_wakelock 13.7%

35.7% deep sleep...
[Xperia Z1 Original Android Development] Destroyedbeauty:
I hope those get patched / fixed..
[Xperia Z1 Original Android Development] Rafe:
You're using the DoomKernelV11 on the latest 757 kitkat??? It works????

Thanks Bro!
[Xperia Z1 Original Android Development] lil-diabo:
It works, thats how I have my Z1 set up at the moment.

Only thing is that PC Companion still thinks my phone needs to be updated
[Xperia Z1 Original Android Development] mikailmohammed:
anyone having issues with with camera on .757? I can't seem to get it to focus.
[Xperia Z1 Original Android Development] Toldo:
Clean install through Flashtool (wipe), and camera works fine.
[Xperia Z1 Original Android Development] poo-tang:
Looking forward to version 12, any progress updates or news on what mite be implemented Doom? e.g base updated to 757, latest fix for DT2W (even with the wake lock issue) but disabled by default, maybe gamma control and cpu overclocked back? Thanks for your time :)
[Xperia Z1 Original Android Development] mikailmohammed:
Wait it out man. That's what i am doing the stock runs really good for now and i am sure doomlord may be busy.
[Xperia Z1 Original Android Development] :
Is anyone getting the Stamina bug where using it uses more battery in the latest 757 firmware?
[Xperia Z1 Original Android Development] mikailmohammed:
Will test this. I don't use stamina mode though.
[Xperia Z1 Original Android Development] :
Okay. It was a bug in the previous firmware. Since I have a busy schedule, I can't test if the bug is fixed.
[Xperia Z1 Original Android Development] poo-tang:
Maybe you should be posting/testing this in the general section if you are running on a stock kernel. Instead of going off topic as results will not be related to this custom kernel.
[Xperia Z1 Original Android Development] :
Cause most of the people with this problem runs on Doomkernel. So I'm not sure if this is kernel related problem. Sorry if I had caused any inconvenience.
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
I had it too with Doomkernel but it wasn't the kernel but Swiftkey and since removing that zero issues with Doomkernel! :D even on 757
[Xperia Z1 Original Android Development] nardusg:
Don't have a drain issue on stamina mode.
[Xperia Z1 Original Android Development] :
I'll test out stamina mode again. Thanks for the replies.
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
One thing I forgot to mention was that I had to factory reset after uninstalling Swiftkey for Stamina Mode to get back to normal...
[Xperia Z1 Original Android Development] raziel123:
stamina mode

Stamina mode info states it reduces performance whilst in use does this affect gaming?
[Xperia Z1 Original Android Development] rage77:
How did you find out it was SwiftKey?
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Had the same version installed on my Z1, SP and Tegra Note 7 and all 3 had major battery drain going on. Once removed, factory reset on all 3 devices and no SwiftKey installed battery life and Stamina mode (on the 2 Xperia phones) went back to normal so it sounds pretty safe to assume SwiftKey was the culprit. Also did a bit of looking on the 'net and saw that others were experiencing the same with SwiftKey at the same time!
[Xperia Z1 Original Android Development] Lafenear:
Why does he need to cut the crap Mr. Suomi? He's simply stating that it's annoying that a custom kernel won't work, because we'll lose the ability to use the camera. He's completely right, it is bad.
[Xperia Z1 Original Android Development] Michealtbh:
If I flash this then restore TA partition will I have a working camera?
[Xperia Z1 Original Android Development] gregbradley:
yes, but you will be in a bootloop because restoring your TA relocks the bootloader and you need a stock kernel to boot up

Currently you CANNOT have your cake and eat it

its either working camera OR Custom kernel, not both
[Xperia Z1 Original Android Development] DooMLoRD:
DooMKernel v03 released!

changelog

added GPU O/C freq bin: 487.5 MHz

update stock ramdisk to 14.1.G.1.534 firmware

updated kernel 14.1.G.1.534 firmware kernel sources

Please do consider sending me donation if you like my work!

download links at first post!

Keep watching the TO-DO list for planned/work in progress features

regards,

DooMLoRD
[Xperia Z1 Original Android Development] baileyjr:
Awesome work... Any plans for a version of this kernel for the large screen Z Ultra bro's? :fingers-crossed:

Testers available if necessary :)
[Xperia Z1 Original Android Development] DooMLoRD:
I don't have that device so won't be working on it
[Xperia Z1 Original Android Development] MightyBear007:
[MENTION=2784807]DooMLoRD[/MENTION]

The push which i did

did it work?
[Xperia Z1 Original Android Development] DooMLoRD:
it was slightly incorrect... i fixed it and added to the v03 kernel release...
[Xperia Z1 Original Android Development] MightyBear007:
Thanks man
[Xperia Z1 Original Android Development] delewer:
Kexec

Hi everybody

I have patch DoomKernel with Kexec to run this custom kernel on LOCKED Bootloader, without any flash (we keep stock kernel on boot).

My proof of concept will run, but i have an issue with kernel compil.

pre-requisite :

1/ In your Linux Home, create "kernel" folder

2/ Download this DoomLord Toolchain package prebuild :

https://github.com/DooMLoRD/android_prebuilt_toolchains

File : https://github.com/DooMLoRD/android_prebuilt_toolchains/archive/master.zip

3/ Create "toolchainZ1" in "$home/kernel" folder

Unzip in "$home/kernel/toolchainZ1" folders

- arm-linux-androideabi-4.7

- arm-eabi-linaro-4.6.2

4/ Download my Kexec Patch

This Patch give you the kexec patch (of course) and scripts to automaticaly do his magic (compil, syncho, create boot.img, etc...)

Here : My patch

http://xdaforums.com/attachment.php?attachmentid=2335904&stc=1&d=1382190005

5/ Unzip my patch in any folder, and copy everything in "$home/kernel" folder

6/ Go to "$home/kernel" folder, and run "./scriptZ1" script

7/ Follow instructions in screen.

That's all

8/ VERY IMPORTANT : Nether flash this kernel !! This kernel is created to be load dynamically by :

kexec --load-hardboot zImage --initrd=initrd.img --mem-min=0xF0000000 --command-line="$(cat /proc/cmdline)"
kexec -e

But,

I have theses errors, and i can't resolv...

(theses errors are not in touch kexec sources...)

/kernel/toolchainZ1/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-ld: error: kernel/built-in.o: multiple definition of 'crash_notes'
/kernel/toolchainZ1/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-ld: arch/arm/kernel/built-in.o: previous definition here
make: *** [vmlinux.o] Erreur 1

If soweone can help me to finish

Many THX !!

Kexec-tool : http://xdaforums.com/attachment.php?attachmentid=2335739&stc=1&d=1382183104

Nota Bene :

When this works... I patch CM10 kernel to run CM in Locked Bootloader (not Doomkernel problem for now)
[Xperia Z1 Original Android Development] Shaky156:
I cn help if i mamage to gt my linux recovered up n running

Edit: managed to recover linux os, running on 2 core pc so taking time

Fixed crash notes issue but seems there may be important code missing elsewhere which its failing to compile
[Xperia Z1 Original Android Development] Shaky156:
[MENTION=4225567]delewer[/MENTION] had a look, this doesnt look like its for k3.4, k3.4 already has those files, /machine/kexec doesnt belong there it belongs in the asm directory, within kexec double code for crash_notes k3.4 has a dedicated. C file for crash notes etc etc its best to work with the current 3.4 files and work from there :)

Edit: attempt compiling with stock kexec code enable the kernel configs for kexec

Edit2: [MENTION=4225567]delewer[/MENTION] link me to the source code you tried to port it from and ill port it :)
[Xperia Z1 Original Android Development] delewer:
Thx for your time ;)

My sources are in the post above

here the source i have patch : https://github.com/DooMLoRD/android_kernel_sony_msm8974

and here my patch (patched sources) : http://xdaforums.com/attachment.php?attachmentid=2336427&stc=1&d=1382207849

You must copy my patch onto the file git aligned....

Script to compil and asm, c, kexed sources are include in zip.

Nothings more

I have create V2 cause a few bug in script to compil (absolute path vs relative path)

Edit :

kexec are alway include in sources... You activ them in defconfig by add theses lines

CONFIG_KEXEC=y

CONFIG_KEXEC_HARDBOOT=y

CONFIG_ATAGS_PROC=y

My sources include "kexec_harboot" wich can reboot without empty memory (like "fastboot boot ZImage.img")

Thx again.
[Xperia Z1 Original Android Development] Shaky156:
Yes I understand you, but youre not understanding what I am asking, I asked where you obtained the source for the kexec??

there was quite a few issues code needed changed a little

EDIT: Will finish off tommorow
[Xperia Z1 Original Android Development] delewer:
It's a fusion of nexus7 (tegra 3 cpu) and xperia source hardboot (msm cpu)

I have change the kexec_hardboot standard from google source...

Before i change the "few issues" code you say, i need to obtain a clean compil from DoomKernel source first.

What issues have you see ?
[Xperia Z1 Original Android Development] Shaky156:
I would finish this off myself but im having issues with my pc

So theres an issue with crash notes

Issue with machine_kexec in the wrong folder

Issue with file not having ifdefined(architecture) include header file

Ontop of that if defined architechture #define TLMM_PHYS MSM8974_TLMM_PHYS

Missing end_mem define

Missing hb_pg define

Missing hb_magine define

Cant use kexec tool, its not compatible with the stocn kernel, we dont use atags we use rdtags, ive modified kexec source code to run for our systems

If you have any issues let me know if you cant go forward, ill attempt to forward a diff patch but my pc is very slow cant do much atm
[Xperia Z1 Original Android Development] delewer:
Thx for help.

Here the way to have a full clean compil from DoomLord sources.

1/ Download V3 Patch.

=> http://xdaforums.com/attachment.php?attachmentid=2338086&stc=1&d=1382278815

2/ FromScratch, just copy scriptZ1, and run it to git align.

3/ Patch Makefile in "android_kernel_sony_msm8974"

#KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})

KBUILD_CFLAGS += $(call cc-option)

4/ Download Toolchain 4.6 2011.10

here : http://www.general-files.org/downlo...-1-2011-10-21_13-08-17-linux-x86.tar.bz2.html

Copy in : ${HOME}/kernel/toolchainZ1/android-toolchain-eabi-linaro-4.6-2011.10

5/ Copy from patch the root only :

- BuildKexec4.6

- BuildKexec4.6.2011

- BuildKexec4.7

- cleanKexec

- dtbTool

- Makefile (patched file)

- mkbooting

in "android_kernel_sony_msm8974" folder created by git

6/ execute "./scriptZ1"

Choice 2

2) rhine_honami_row_defconfig (Toolchain 4.6 linaro 2011)

Result :

Zimage created in "final_files"

So, of course, DoomLord Kernel sources are OK !!

Now... i try to compil

1) rhine_honami_kexec_defconfig (Toolchain 4.6 linaro 2011)

=> 'crash_notes'

Edit 1 :

Shaky156, i see your mod...

to be continue...
[Xperia Z1 Original Android Development] delewer:
EDIT 2 :

I have fix a few bugs, and my patch seem ok.

I have this only bug i can't solve

kernel/built-in.o: In function `find_lock_lowest_rq':
/kernel/android_kernel_sony_msm8974/kernel/sched/rt.c:1540: multiple definition of `crash_notes'
arch/arm/kernel/built-in.o:/kernel/android_kernel_sony_msm8974/arch/arm/kernel/entry-common.S:494: first defined here
make: *** [vmlinux.o] Erreur 1
checking for compiled kernel...

if someone have a idea ?

Here my last update.

http://xdaforums.com/attachment.php?attachmentid=2338435&stc=1&d=1382289068
[Xperia Z1 Original Android Development] Shaky156:
[MENTION=4225567]delewer[/MENTION] compiled this earlier, kernel is done, diff patch will be posted later

Here is the kernel zImage and kernel modules for kexec, put this out here so we can move onto the next step, I cannot achieve the next step if a ROM developer can get in contact with me I'll send him the sources to my kexec tool so he can compiled it, need it compiled statically, not dynamically, prefer static binary over dynamic

anywayz heres the download link... enjoy!:

https://db.tt/pjfHSFzg

EDIT: you need a ramdisk, ramdisk is missing

also the command to run this with kexec-tool is:

kexec --load-hardboot zImage --ramdisk=ramdisk.img --mem-min=0x20000000 --command-line="$(cat /proc/cmdline)"

kexec -e
[Xperia Z1 Original Android Development] m666p:
Are things always going to be so complicated???

Sorry but i just got this phone and moding and/or rooting it seems like a chore as of now...

And I appreciate the efforts of the dev(s) but I recently bricked my note 2 trying to get it to dual boot so I'm a bit paranoid about this lovely phone...
[Xperia Z1 Original Android Development] mikailmohammed:
Does this still occur? I am currently using swiftkey as well.
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
Don't know but I'm not going to reinstall Swiftkey as I have zero desire to factory reset if it happened again! :D
[Xperia Z1 Original Android Development] Duvel999:
You could try kii keyboard instead.

Works perfect, made on XDA here ;)

Sent by my Z1 with XDA Fax
[Xperia Z1 Original Android Development] DooMLoRD:
DooMKernel v12 released!

changelog

updated stock ramdisk to 14.3.A.0.757 firmware - this wont boot on older stock ROM (.681 !!!) or ROMs based on older FW, you will get bootloops!

updated with 14.3.A.0.757 firmware kernel sources

added MSM_Turbo driver (thanks to [MENTION=3332811]faux123[/MENTION]) - when only two cores are active this should push them to higher frequency - not sure of this is working correctly

brought back CPU OverClock upto 2.4 GHz ! - device will boot by default at 2.26 GHz - please test this out with various governors so that we know its working correctly

added new tweaked CPU frequency governors: - please do testing using each of these new governors!

LionHeart

SmartAssV2

LagFree

disabled DoubleTap2Wake for now - was causing increased battery drain

download links at first post!

Please do consider donating if you like my work! I am raising funds to get the Xperia Z2 !

please keep the advanced stock kernel recovery package on sdcard to avoid bootloops!

please keep sending in your feedback it helps me improve my kernel! constructive feedback is ALWAYS welcome!

regards,

DooMLoRD
[Xperia Z1 Original Android Development] GR00VY GH0ULIE:
WOW!! And Thanks for an amazing kernel! I'm not really a benchmark guy but the OC really puts some serious kick in my Z1 now! First picture was yesterday and v11, Pimp My Z1. Second pic a few minutes ago with v12 and same settings in Pimp My Z1 (but with 2.4 OC)
[Xperia Z1 Original Android Development] ilia1985:
Thank you for your amazing work :)

I have just tryed it out.... The OC works well ni reboots so far... Not sure how to test new cpu boost... As for new governors sartassv2 gets sruck on highest frequency at all times... Lagfree seems to work well... Its using 10 frequency steps out of available 15... Not sure if its supposed to be this way or not...