yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] Ferranza:
Thanks master! And for team issue? At the end of a day I have always less than 200mb free and my launcher reboots every time I press back on soft key....

Inviato dal mio C6903 utilizzando Tapatalk

---------- Post added at 11:00 PM ---------- Previous post was at 10:59 PM ----------

Thanks master! And for ram issue? At the end of a day I have always less than 200mb free and my launcher reboots every time I press back on soft key....

Inviato dal mio C6903 utilizzando Tapatalk

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] jmgg2k:
Just use the script posted above to "fix" the ram issue. You can do that with Script Manager, set root (on script) and use the planer (on advanced options) to execute the script every 4 hours.

Tell me how it goes
[Xperia Z1 Original Android Development] colors:
I also experience way to much battery drop if you compare to stock 534. What app does you use to see battery life?
[Xperia Z1 Original Android Development] TagEHeuer:
https://play.google.com/store/apps/details?id=kr.hwangti.batterylog&hl=en_GB :good:
[Xperia Z1 Original Android Development] cocchiararo:
I took that fix and made a Tasker profile for running it (directly pasting the code in tasker)

I did not have a heave issue tho, I could go for 4 days before noticing it I think

Enviado desde mi Nexus 7 usando Tapatalk 4
[Xperia Z1 Original Android Development] slonn:
How can this kernel be installed using Flashtool on a Mac?
[Xperia Z1 Original Android Development] DooMLoRD:
now implemented faster reboot into recovery... no.more waiting for getting into recovery when rebooting from OS..
[Xperia Z1 Original Android Development] paulomario77:
DooMLoRD,

I'm glad to see that your kernel development is ongoing. However, as I already reported in this thread, me and a bunch of other Brazilian fellows, owners of the C6943 variant, are having problems with your kernel. I'm pretty sure that the problem doesn't lie in the kernel itself, but perhaps you can help solving it? Please refer to:

http://xdaforums.com/showthread.php?p=48824392#post48824392

http://xdaforums.com/showthread.php?p=48827390#post48827390

I'm eager to work with you, either by means of testing and submitting logs and reports. How can I help you help me?

Best regards!
[Xperia Z1 Original Android Development] DooMLoRD:
hmmm

can u try the kernel without the WiFi being active?

deactivate WiFi then reboot into fastboot and flash kernel... let me know how it goes...

BTW, can u list all the files in the /system/lib/modules/ directory?

adb shell ls -l /system/lib/modules > module_list.txt

upload that module_list.txt file
[Xperia Z1 Original Android Development] DooMLoRD:
updated to latest TWRP 2.6.3.0
[Xperia Z1 Original Android Development] MysticEnforcer:
is the date bug in the new version fixed?
[Xperia Z1 Original Android Development] paulomario77:
Even with WiFi disabled from the start, system response is very slow when using your kernel. I haven't tested the other kernels in (http://xdaforums.com/showpost.php?p=48576380&postcount=1) with WiFi disabled, though. Apparently WiFi being on/off doesn't make any difference.
[Xperia Z1 Original Android Development] TagEHeuer:
Is there an issue with memory usage as reported by a few members?
[Xperia Z1 Original Android Development] DooMLoRD:
i have been using it for a few days now, no memory usage issues...

not exactly sure what issue some members are having...
[Xperia Z1 Original Android Development] veghov:
Been using this kernel since the v4 launch and i haven't had any memory leaks. If it matters I'm using stock rooted Scandinavian firmware. Perhaps the leaks are linked to a specific stock firmware?

Edit: My device is a C6903
[Xperia Z1 Original Android Development] Roughnecks:
Sorry for the ot but with which app i write this Script for free the RAM and which ending it needs? Is it .sh? And how to make a tasker profile?

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] omegahanggara:
It's not kernel issue. It's Android 4.3 issue regarding system_server memory leak.
[Xperia Z1 Original Android Development] DooMLoRD:
i have fixed this on Xperia Z few months back & just fixed this on Xperia SP but cant get it to work on Z1...

i was trying a few hacks to fix this but seems we cant enable RTC write... the kernel doesnt boot beyond the bootlogo...
[Xperia Z1 Original Android Development] cowen1000:
Hi all.

I got a z1 c9603 on 4.3 and doom lord kernel. Why can't I overclock the gpu? I have entered the correct command using terminal and also tried using a script in init.d but the Max clock is still at 450. I want it on 533. I can change all the other stuff (cpu/ voltage/ govenor) etc but can't o/c gpu

Can anyone help?

Thanks
[Xperia Z1 Original Android Development] tcchuin:
Doomlord, is it possible to include alternative to mp decision? Like the intelliplug, or in kernel mpdecision? Thanks!
[Xperia Z1 Original Android Development] DooMLoRD:
Try changing GPU governor to Performance

Yes yes... I will be adding these soon...
[Xperia Z1 Original Android Development] cowen1000:
Hi doomlord

I have tried changing the gpu govenor to performance but the Max clock is still 450,

I have even tried reflashing the kernel. I can under clock the gpu OK but it won't go above 450, not in terminal or init.d

I have also navigated to /kgsl3d0 folder and checked the gpu_available_frequencies and the highest in the list is 450mhz. I have also checked the Max_gpu_clk file which also is at 450 and that is after I have entered the command to change it to 533.

Any other solution?

I'm benchmarking around 35400 using antutu with your kernel (tweaked) but I want to are what score I can get with faster gpu

Thanks for your help
[Xperia Z1 Original Android Development] M-Dawg:
added dual recovery! standard CWM Recovery 6.0.3.7 + TWRP 2.6.3.0 {here is how to use it} [v01 onwards]

This link doesn't work. How do I access the dual recovery?
[Xperia Z1 Original Android Development] DooMLoRD:
link fixed:

http://xdaforums.com/showthread.php?p=45685892#post45685892

When you see bootlogo, keep tapping VOLUME UP for CWM OR VOLUME DOWN for TWRP
[Xperia Z1 Original Android Development] cowen1000:
Hi doomlord

I have tried changing the gpu govenor to performance but the Max clock is still 450,

I have even tried reflashing the kernel. I can under clock the gpu OK but it won't go above 450, not in terminal or init.d

I have also navigated to /kgsl3d0 folder and checked the gpu_available_frequencies and the highest in the list is 450mhz. I have also checked the Max_gpu_clk file which also is at 450 and that is after I have entered the command to change it to 533.

Am I doing it correct?

1. Open terminal

2. Type su

3. Type echo 533333000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

My init.d file looks like this

#!/system/bin/sh

chmod 777 /system/etc/init.d/gpu

echo 533333000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

Any other solution?

I'm benchmarking around 35400 using antutu with your kernel (tweaked) but I want to are what score I can get with faster gpu

Thanks for your help
[Xperia Z1 Original Android Development] M-Dawg:
So it needs so be tapped repeatedly? Haha first time i've seen this. Thanks Doomlord.
[Xperia Z1 Original Android Development] Ferranza:
Why every time I reboot my device I have to wait for seconds cause a message says it optimises all the applications?

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] DooMLoRD:
two recoveries not enough for u?

no problem now we have 3 recoveries in my kernel!!!

Added PhilZ touch recovery as a THIRD select-able recovery :D

Thank you [MENTION=4666971]Phil3759[/MENTION] for your awesome work!

all this awesomeness will be available in next kernel release!

so as per tradition, multi-recovery solutions powered by DooMKernel :)

regards,

DooMLoRD
[Xperia Z1 Original Android Development] DooMLoRD:
testing some more OC :)

GPU OC @ 578MHz (in line with 8974-AB chipset)

not really stable at the moment but working on improving stability

regards,

DooMLoRD
[Xperia Z1 Original Android Development] DooMLoRD:
added new stuff :)

intelli_demand CPU governor & intelli-thermal

have intelli_plug hotplug governor also ready but have to disable it as it breaks stock wifi compatibility... once i can get custom WLAN drivers working a lot more features can be added...

doing some stability testing for now... expect a release soon if testing goes well :)
[Xperia Z1 Original Android Development] tcchuin:
How does a governor breaks wifi? Just curious.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Intelliplug - best powersaving kernel related thing. Ever <3

Intelliplug is an custom kernel module that replaces the original Qualcomm MP-Decision hotplug module, when activated of course!

Intelliplug hotplugs the cores in a more power / battery saving way depending on the pressure load and demand, and is totally custom made (originally by Faux123 - all credit to him) so that is why some thing can get broken!
[Xperia Z1 Original Android Development] xasbo:
That doesn't make sense to me. A custom kernel can break wifi, sure, but a CPU governor does only that - governs the CPU speed. The CPU does not directly influence what the WiFi radio is doing. If governing in general was causing problems, I would expect other stuff to break too. Does someone have more technical detail on the actual conflict?
[Xperia Z1 Original Android Development] DooMLoRD:
because the kernel sources modified for this changes the headers and thus changs the symbols... so if the new kernel is installed and stock wifi module loaded, it (wifi module) immediately crashes
[Xperia Z1 Original Android Development] Destroyedbeauty:
Intelliplug isn't any CPU governor, just an custom kernel (replacement) module for MP-Decision by Qualcomm..
[Xperia Z1 Original Android Development] cowen1000:
I still can't overclock my gpu. This kernal (04) doesn't work. I have tried everything for 2 days but the Max speed is still 450. And if I navigate to kgsl/gpu_available_frequencies the frequencies in there are 450, 389, 320, 200 so I can't are how it is possible to change Max gpu clk to more tgab 450

I even reflashed the phone with stock 4.3 (290) ftf and then flashed doom kernel again. I then rooted it but stull can't over clock gpu.

Can anyone help?
[Xperia Z1 Original Android Development] omegahanggara:
GPU overclock is on V3. V3 is for JB 4.2.2. Read the change log once again, mate. :)
[Xperia Z1 Original Android Development] DooMLoRD:
yes mate i saw ur posts... i am working on fixing stuff... please wait...

thats odd... seems that something is triggering cache partition formating...
[Xperia Z1 Original Android Development] Ferranza:
[MENTION=2784807]DooMLoRD[/MENTION]: any suggestion? it is a bit annoying...

---------- Post added at 02:25 PM ---------- Previous post was at 02:23 PM ----------

[/COLOR [MENTION=2784807]DooMLoRD[/MENTION]: any suggestion? it is a bit annoying...
[Xperia Z1 Original Android Development] cowen1000:
No mate, gpu over clock is for v2 onwards. Read the first page ;)
[Xperia Z1 Original Android Development] DooMLoRD:
Good news! Kernel is really stable with new patches!

Doing some more testing to get intelli_plug working without breaking stock wifi compatibility...

Will release kernel soon :)
[Xperia Z1 Original Android Development] tcchuin:
Can't wait for it! :). Anyway is it possible to enable multicast filter for the wifi driver?
[Xperia Z1 Original Android Development] DooMLoRD:
so this is what I was saying...

added patches for intelli_plug...

intelli_plug working fine but wifi is now borken :(

<6>[ 124.488724] wlan: disagrees about version of symbol set_user_nice
<4>[ 124.488734] wlan: Unknown symbol set_user_nice (err -22)
<6>[ 124.488851] wlan: disagrees about version of symbol wake_up_process
<4>[ 124.488858] wlan: Unknown symbol wake_up_process (err -22)
[Xperia Z1 Original Android Development] Destroyedbeauty:
Try with some custom prima WLAN drivers?
[Xperia Z1 Original Android Development] DooMLoRD:
custom prima WLAN are HUGE pain!

already testing custom prima wlan for Z1:

https://github.com/DooMLoRD/android_kernel_sony_msm8974/tree/testing_stock_4.3_wlan

so far no luck :(

it took me a few months to get correct combination of kernel patches and prima sources for the Xperia Z... still have to get the correct combination for the Z1...
[Xperia Z1 Original Android Development] songsong69:
i already unlocked bootloader and successfully flash IHacker 2.0, then i tried to restore TA by tool Backup T-A 9.10. but after that, my phone could not reboot, it just vibrated once

i tried to use flashtool to flash the stock .290 (4.3 JB) and it run successfully

but now i can not flash the kernel to have recovery, already debug on, install driver

whenvere fastboot flash boot boot.img, cmd shows

sending 'boot' (15588 KB)...

OKAY [ 0.780s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 0.783s

plzz help me !
[Xperia Z1 Original Android Development] DooMLoRD:
your device bootloader has relocked after restoring TA backup...

just unlock bootloader and you can flash custom kernel :)
[Xperia Z1 Original Android Development] songsong69:
wow, u are true.

but i really wonder why it still show "Bootloader unlocked : Yes" in Service info/Configuration, that's confused me a lot :crying:

anyway, thanks u very much, its such a difficult moment for a newbie like me :good:
[Xperia Z1 Original Android Development] Destroyedbeauty:
Ask FXP, Faux123 and some of the other more experienced developers here on XDA if they can help you out with this? Faux is the man behind the Intelliplug module, he perhaps got some way to bypass the Wifi problem without too much hassle? :rolleyes:

Btw.. I am soon getting my white Z1 (4G Nordic model). So.. You can always count on me if you need any beta testing / bug checkings / add-on functionality reviews / etc..
[Xperia Z1 Original Android Development] moritz31:
it means maybe only that u can unlock bootloader, not that it is unlocked :)
[Xperia Z1 Original Android Development] cowen1000:
[MENTION=2784807]DooMLoRD[/MENTION]

Keep up the good work. Can't wait to try the new version. Hopefully it will solve my gpu overclocking problem.

You should release a beta version as it is now. We can test for other issues then and I could see if it's fixed o/c problem.
[Xperia Z1 Original Android Development] kingsizeriz:
I have an issue with the timeshift burst mode not focusing, is this related to this kernel?
[Xperia Z1 Original Android Development] DooMLoRD:
releasing v05 now :)

nah... it is autofocus, jsut wait for a while and it will focus
[Xperia Z1 Original Android Development] kingsizeriz:
Thanks :)

Looking forward to the update :)
[Xperia Z1 Original Android Development] DooMLoRD:
DooMKernel v05 released!

HUGE UPDATE!

changelog

added CPU-Boost driver from CAF

added new GPU governors: Simple & Conservative (thanks to [MENTION=3332811]faux123[/MENTION] & [MENTION=591147]Entropy512[/MENTION] )

added new power management mode "PowerSuspend"

ARM unaligned access enabled

added LZ4 compression/decompression support

added intellidemand (v5.0) CPU governor with optimizations for 8974 SOC (thanks to [MENTION=3332811]faux123[/MENTION])

added intelli-thermal kernel thermal driver with optimizations for 8974 SOC (thanks to [MENTION=3332811]faux123[/MENTION])

multi-recovery solution! {here is how to use it!}

added PhilZ touch recovery as a THIRD select-able recovery :D (thanks to [MENTION=4666971]Phil3759[/MENTION])

updated to CWM 6.0.4.6 - official touch CWM recovery :)

updated to latest TWRP 2.6.3.0

sped up rebooting into recovery

FauxClock app by Faux123 is highly recommended to optimally utilize all the kernel features!

most patches were shamelessly lifted from [MENTION=3332811]faux123[/MENTION] kernel for Galaxy Note 3... thank you [MENTION=3332811]faux123[/MENTION] for your incredible work!

hence forth kernel package will be recovery flashable zip ONLY!

download links at first post!

Please do consider donating if you like my work!

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

regards,

DooMLoRD
[Xperia Z1 Original Android Development] cowen1000:
Is there a different way to flash this 05 version as its a zip file not .img
[Xperia Z1 Original Android Development] revolution48:
Hey [MENTION=2784807]DooMLoRD[/MENTION] Will you be making a CM kernel?
[Xperia Z1 Original Android Development] DooMLoRD:
just flash the kernel package (zip) via recovery :)

NO
[Xperia Z1 Original Android Development] cowen1000:
I flashed latest 05 package but still cannot o/c my gpu???

Also, I cannot lower my min cpu speed, it keeps reverting to 2265
[Xperia Z1 Original Android Development] DooMLoRD:
the problem is that the GPU O/C doesnt "stick"... it reverts back to 450MHz... thats what i am fixing next
[Xperia Z1 Original Android Development] GPKrzychuXxX:
When i change GPU governor to conservative my phone get lag and shutdown
[Xperia Z1 Original Android Development] cowen1000:
Also I cannot lower my min cpu clock. its on 2265mhz. if i try and lower it, it reverts back to maximum speed??
[Xperia Z1 Original Android Development] DooMLoRD:
yes that conservative GPU gov is not very stable :p

try Simple GPU governor
[Xperia Z1 Original Android Development] cowen1000:
I cant see how that is right, as my gpu available speeds are 450, 389, 320, 200 which are the stock speeds???

i am using faux clock to tweak etc :D

Also I cannot lower my min cpu clock. its on 2265mhz. if i try and lower it, it reverts back to maximum speed??
[Xperia Z1 Original Android Development] GPKrzychuXxX:
2265 mhz 90% on inellidemand govemor
[Xperia Z1 Original Android Development] DooMLoRD:
there is no 389Mhz bin :)

CPU clocks works fine for me:

depends on usage...

give it a day or two of regular usage then check
[Xperia Z1 Original Android Development] cowen1000:
Can I flash 04 back into it? Or would I have to flash 4.3 ftf first? I'm not happy with my CPU running at full speed constantly.
[Xperia Z1 Original Android Development] DooMLoRD:
yes u can always flash older kernel via fastboot...

i really dont know why u are having idling issues... check below screenshot:
[Xperia Z1 Original Android Development] GPKrzychuXxX:
https://www.dropbox.com/s/3z6upanntg4x1y3/Screenshot_2014-01-07-23-31-08.jpg

https://www.dropbox.com/s/ky5k3uw71f5awi0/Screenshot_2014-01-07-23-31-24.jpg

https://www.dropbox.com/s/h4i7nqwx0ysnqen/Screenshot_2014-01-07-23-31-41.jpg
[Xperia Z1 Original Android Development] sohamraut:
Can this kernel work on z ultra c6802?????
[Xperia Z1 Original Android Development] inffy:
No
[Xperia Z1 Original Android Development] plakers:
I'm sure you already got the link and working on it... But won't it help it anyway by reviewing some code and help to understand and boot a custom kernel (and/or keep the cam' working) in a "Stock-Like" kernel way? (some clock/voltage/governors for the early builds that can help us getting some great doomlord's kernel features with a "sony way"... for the moment)

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

EDIt : My phone is shipped! Come on mister DHL, drive fast! :p - Just read the PhoneArena review, quite sure that it will beat my S4 and One ;)
[Xperia Z1 Original Android Development] Desperanto86:
*facepalm* even "Stock-Like" kernels are needed unlocked bootloader...EVEN if you compile full stock kernel without any changes from sources it will not work without unlocking bootloader
[Xperia Z1 Original Android Development] plakers:
"I had a dreammmmmmmmmmmmmm..."

Nothing more to say than : :(
[Xperia Z1 Original Android Development] Desperanto86:
Just wait until Sony devs fix it
[Xperia Z1 Original Android Development] DooMLoRD:
How to control GPU Clock!

by default the kernel will always boot with GPU max clock as 450MHz (same as stock)

OVERCLOCKING GPU WILL REDUCE BATTERY LIFE!

you can overclock/underclock GPU manually via scripts/commands...

[ how to do this manually/script ]

the GPU max-clock interface is at:

/sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

to check current max clock of GPU clock use:

cat /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

to set GPU to particular frequency (overclock) use:

echo 533333000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

to underclock GPU use:

echo 320000000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

available scaling frequencies are:

[LIST]
[*]533333000 - 533 MHz
[*]450000000 - 450 MHz (DEFAULT)
[*]320000000 - 320 MHz
[*]200000000 - 200 MHz
[/LIST]

happy play!

regards,

DooMLoRD
[Xperia Z1 Original Android Development] Desperanto86:
[MENTION=2784807]DooMLoRD[/MENTION], I have an offtopic question: In winter 2014 Sony will show Z2 with 5.2-5.5' display, 3Gb RAM, Snapdragon 800, 3000-3500 mah battery...Will you buy it? :)
[Xperia Z1 Original Android Development] DooMLoRD:
The next flagship is 5 months away... Relax and enjoy this one till then :P
[Xperia Z1 Original Android Development] Desperanto86:
Perfect! I'm waiting Z1 :)
[Xperia Z1 Original Android Development] DooMLoRD:
Got my Z1 !
[Xperia Z1 Original Android Development] Desperanto86:
[MENTION=2784807]DooMLoRD[/MENTION], congratulations :good: and why C6902 and not C6903?
[Xperia Z1 Original Android Development] Kingcool88:
Your Kernel is complied after mine. You have 29/8, mine has 8/8! Im running .518 right now (out of the box, UK) so maybe its because of that..
[Xperia Z1 Original Android Development] plakers:
Damn! Your driver's is faster than mine, my phone left Germany in the morning... May be in the day, or on Monday!

Hehe, white, like mine ;)
[Xperia Z1 Original Android Development] jos_031:
In india the model released is 6902. not 6903...
[Xperia Z1 Original Android Development] yeeson:
nice！
[Xperia Z1 Original Android Development] Klaus N.:
If I remember correctly, there was the same question related to C6602>C6603: In India there's LTE hardly supported; that's probably the reason why basically the C6902 is sold.

Congratulations, DooMLoRD!

I believe, you'll find a possibility to unlock the bootloader without loosing the functionality of the camera, or - oherwise - a way of rooting with locked bootloader :D

But maybe with the advertised update, which shall contain some bugfixes, there's a solution for the bootloader problem...
[Xperia Z1 Original Android Development] Desperanto86:
Sony devs will fix it :) Root already presents
[Xperia Z1 Original Android Development] DooMLoRD:
BIG update incoming!
[Xperia Z1 Original Android Development] m3dd0g:
You mean .534 ?
[Xperia Z1 Original Android Development] cowen1000:
Here are screenshots of my gpu frequencies
[Xperia Z1 Original Android Development] Desperanto86:
TWPR don't work on new kernel 05. It don't see my system
[Xperia Z1 Original Android Development] MysticEnforcer:
if anyone has problems with the governor,

set intellidemand as governor,

set your max/min mhz,

reboot and now it's working.
[Xperia Z1 Original Android Development] Ferranza:
What I/O di You suggest?

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] cowen1000:
What is weird is that I have just flashed 04 back in and now my min CPU clock is stuck at 1267 MHz.
[Xperia Z1 Original Android Development] MysticEnforcer:
added screenshot
[Xperia Z1 Original Android Development] Ferranza:
Ok, sorry but first time I didn't see the picture...

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] MysticEnforcer:
after a few reboots & a bit surfin',

my min freq is like the max freq 2265mhz &

it stays there :eek:
[Xperia Z1 Original Android Development] TheTrooper:
Same here , CPU clocks maxed out :-S
[Xperia Z1 Original Android Development] jmgg2k:
+1

flashing back to V4 till Doom fix this bug