yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] DooMLoRD:
DooMKernel (v03) released

DooMKernel (v03) released!

[ changelog ]

added XZ compression support in kernel (kernel compiled with XZ compression)

enabled squashfs and added XZ compression support for it

updated ramzswap to ZRAM and enabled it (with many fixes thanks to faux123) [details on how to enable ZRAM are posted here]

added ZCACHE, CLEANCACHE, FRONTSWAP and enabled them (thanks to faux123)

updated JHASH to v3

shifted default TCP congestion algorithm to VENO

using newer stripped wifi module [smaller size with un-necessary debug code removed] (let me know if u face any issues then i will revert to full-debug-enabled one)

faux123 has posted very nice info regarding most features

download links at first post!!!

you can flash this over any previous version of my kernel... wifi module will automatically be flashed :)

please test out and let me know your feedback! kernel related bugs/issues should be posted in this thread, recovery related bugs/issues should be posted in recovery thread and general discussion goes in general discussion thread...

ENJOY!!!
[Sony Xperia S, Acro S, Ion] DooMLoRD:
ZRAM

what is ZRAM?

how to enable ZRAM?

su
mkswap /dev/block/zram0
swapon /dev/block/zram0

u can create a init.d script to auto-enable it

Ref: http://xdaforums.com/showthread.php?t=1216197
[Sony Xperia S, Acro S, Ion] Tigrer:
There is no reason to apologize DooM. We have your great recovery, backup and even kernel restore so it is easy to test :D
[Sony Xperia S, Acro S, Ion] DooMLoRD:
kernel finally finished uploading :p

enjoy!
[Sony Xperia S, Acro S, Ion] harfot:
V3 installed from recovery - no errors!
[Sony Xperia S, Acro S, Ion] Tigrer:
My XS is capricious - still bootloop with v3 too, so come back to old good steel v01a :)
[Sony Xperia S, Acro S, Ion] raydekok:
Installed wiped dalvik and everything is great. Nothing wrong so far.

Is it smart to activate that new feature?

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] 4lex96:
update (v02 to v03) from recovery successful!

Thanks doom :)
[Sony Xperia S, Acro S, Ion] DooMLoRD:
we will start working on that issue soon

the kernel gives the users/modders/rom cooks the functionality...

its upto u to use or not :)
[Sony Xperia S, Acro S, Ion] gm007:
Same here.

Anyway thanks Doom.
[Sony Xperia S, Acro S, Ion] 4lex96:
Happening a strange thing with 03 v.

i did 2 benchmarks (with 02 v and 03 v) and the points what a obtain on 02 are more high then on 03 v. Any idea?

See attached screenshots!
[Sony Xperia S, Acro S, Ion] neghelliregna:
when i activate wifi...the phone freeze!! can you help me?

---------- Post added at 10:57 PM ---------- Previous post was at 10:49 PM ----------

sorry...no i've wiped dalvik cache and wifi was start!!! let's ok !!! thank's!!
[Sony Xperia S, Acro S, Ion] sminki:
oh man, i've gotta update my sig again! :p

thanks DooMy

No probs here yet, but then v02 was fine for me, and just got my highest on antutu :D
[Sony Xperia S, Acro S, Ion] sixdaysandy:
Here's a last_kmsg from V3, this one looked to reboot itself as soon as the OS booted. Best of luck bug hunting :D

View attachment 1021269

Edit: Having reflashed V1a I've just booted up and it appears it's changed my Wall Paper too :D
[Sony Xperia S, Acro S, Ion] sminki:
^^ i lied

smartass causes/caused kernel panic
[Sony Xperia S, Acro S, Ion] galuquetta:
How can i enter Recovery, to flash the .zip?
[Sony Xperia S, Acro S, Ion] fajarep:
Just an info for everyone, using zram with default compression technology in long term usage(i mean more than 48 hours usually uptime) it will make system less responsive. I don't know if DoomLord already implement google snappy as workaround performance issue
[Sony Xperia S, Acro S, Ion] DooMLoRD:
Snappy is in the que of patches to be added...
[Sony Xperia S, Acro S, Ion] DooMLoRD:
ok guys so lets start bughunting...

so from what i gather there are three known major bugs/issues right?

smartass/smartassV2 keep crashing when selected

device sometimes is powered-off and needs to be manually rebooted

for some users the kernel boots till OS and then devices restarts and keeps looping

are there any newer issues which u face in v03?

do the above three happen to everyone?

how many users face any of these issues? let me know even if u face any one of these

which ROMs are u guys using? About Phone screenshot will be helpful

does v01a work well for you? or even that has any of the above issues?

P.S.:

if u are a new user and are unable to post in this dev thread use the general discussion thread to post ur report
[Sony Xperia S, Acro S, Ion] K900:
The second one is bc undervolt is too low and the SoC just goes down. Probably need to increase the low cap. Had this problem with my tf101 stuff.
[Sony Xperia S, Acro S, Ion] drigerott:
v03 so smooth with smartassv2 even at 1890mhz ihihih ;-) (rom ka xperia sspeed)

i don't know if enable zram i'm thinking...

maybe i'll give it a chance
[Sony Xperia S, Acro S, Ion] steryman:
Nice work Doom :) Can't wait to get the device and flash your kernel :D I'll get the phone in about 2 months or less.
[Sony Xperia S, Acro S, Ion] krabappel2548:
Very smooth kernel :) I scored 7318 with Antutu benchamark and v2 of my rom, better then before :)

CPU: 384MHz - 1512MHz, I/O schedular: noop
[Sony Xperia S, Acro S, Ion] sixdaysandy:
Bug Hunting.

1. Smartass/smartassV2 keep crashing when selected

2. Device sometimes is powered-off and needs to be manually rebooted

Once I reflashed stock .73 and DooMKernel V1a, wiped Dalvic & Main Cache and these issues appear to have gone.

3. For some users the kernel boots till OS and then devices restarts and keeps looping.

This issue has been constant on V2 & V3, lots of reboots, clearing of caches and full wipes and clean installs do nothing to resolve it on my device.

With the exception of flashing DoomKernel My ROM is a completely Stock SG.73 Auto Rooted via DoomKernel V1a. I haven't adjusted any of the CPU Frequency Voltages, just running the SmartAss V2 Governor with CFQ I/O Scheduler.

If there's anything you want me to specifically try/test PM me, I'm more than happy to help.

System Info Below

View attachment 1022062

Edit: After Wiping the Internal Storage to see if the amount of space/quantity of files made any difference, I can confirm that it didn't, below is last_kmsg from DKV3.

View attachment 1022080
[Sony Xperia S, Acro S, Ion] goodwin_c:
DoomLord

can you compile kernel with this in init.rc?

service klog /system/bin/dd if=/proc/kmsg of=/sdcard/kernel.log bs=1
oneshot

it can be very helpful for debugging kernel problems such as freezes (but write BIG message that this is debug kernel, because such service in everyday usage can kill internal nand :-) )
[Sony Xperia S, Acro S, Ion] K900:
There's last_kmsg for that.
[Sony Xperia S, Acro S, Ion] sigma9988:
Rom : Hong kong FW.73 Generic

root : SG FW.73 pre-root.img (included root & busybox)

recovery : DooMRecovery

I used IncredControl and it's worked well to chang smartass / smartassV2 / Other.

But Setcpu didnt worked in v1/v1a.I didnt try it in v2/v3.

I had ones time but it happened i set cpu voltage -100mV. After reflashing kernel and set cpu voltage -75mV worked well!

no, i flashed v1 -> v1a -> v2 -> v3 ,its fined.

Now , In v3 kernel and using IncredControl and seting SmartassV2 / -75mV ...VERY NICE
[Sony Xperia S, Acro S, Ion] shuttleu:
just a quick question

how do you know if zram is enabled?
[Sony Xperia S, Acro S, Ion] K900:
mount | grep -q swap && echo "on" || echo "off"
[Sony Xperia S, Acro S, Ion] goodwin_c:
i know about last_kmsg, but after device reset there is no /proc/last_kmsg ;)

p.s. my bad, after soft reset all is good :)
[Sony Xperia S, Acro S, Ion] DooMLoRD:
command to check memory (fixed and swapped) is:

free

if u followed the command to enable zram swap then u will see some entry under swap
[Sony Xperia S, Acro S, Ion] shuttleu:
im having trouble enabling ZRAM
[Sony Xperia S, Acro S, Ion] K900:
You got the last command wrong

Edit: oops, looks like default mount doesn't print swap. Try

# free

And see if you get anything under swap.
[Sony Xperia S, Acro S, Ion] shuttleu:
ah, typing "free" as doomlord said seems to show it working

thanks once again doomlord and k900
[Sony Xperia S, Acro S, Ion] goodwin_c:
DoomLord

kmsg log in attachment
[Sony Xperia S, Acro S, Ion] poo-tang:
All your Kernals have been fine for me on 73 central Europe. Had no issues with smartass v1 or 2. I did have 2 random reboots with doomkernal v2 but may have been down to heavy use.
[Sony Xperia S, Acro S, Ion] jsyemail:
i have same issue,

work only kernel 1a,

v2,v3 are all loop boot (same describe on item 3 )
[Sony Xperia S, Acro S, Ion] krabappel2548:
Using KA Xperia SSpeed & Kernel v3, never had any reboots or problems with kernel v1, v2 or v3 :)

Don't know about smartass, didn't try these since I only read they aren't working
[Sony Xperia S, Acro S, Ion] r-ikfoot:
@Doomlord

Thanks for your awesome kernel i follow your work since I have my x10 then neo then this wonderfull xperia S and I always found that your kernel was the best one

I tried all you kernel since v01 (01a-02 and now 03) and so far absolutely no issue at all. Really stable on my sense ROM even at 1890 MHz with smartassv2

I have a request (i know I shouldn't) so it is more a suggestion :

Could you add a special kernel optimised on baterry life ??! :D

Since this phone is already powerfull fast and smooth I think a kernel with battery life enhancer feature would be really helpfull

I know we could use lower frequency to save battery but I mean a kernel with lower voltage at each frequence with battery life tweaks deepsleep optimiser and more...

It is just a suggestion I don't want to spam (btw sorry for bad english)

About your kernel:

Could you implement lagfree governor please

(brasilian wax, scary, etc too if you can ;) )

I know it is lot of work so take your time mate we have already a really good kernel and that's awesome in only 3 updates

Thanks again and keep updating your excellent work!

Regards

R-ik
[Sony Xperia S, Acro S, Ion] shuttleu:
my phone is stuck with its screen off

what do you want me to do

hmmm... adb wasnt responding, so i done a force reset and pulled the last_kmsg
[Sony Xperia S, Acro S, Ion] K900:
Connect it to your PC and run:

adb pull /proc/last_kmsg

adb logcat
[Sony Xperia S, Acro S, Ion] drigerott:
-75mv on all freq

smartass v2

noop

kA02 rom

incredible ^^ soo smooth
[Sony Xperia S, Acro S, Ion] Barrt73Rus:
Please share kernel and modules in DIFFERENT archives!
[Sony Xperia S, Acro S, Ion] K900:
Why? You can't use the kernel without modules and vice versa.
[Sony Xperia S, Acro S, Ion] Barrt73Rus:
just share. no need questions.
[Sony Xperia S, Acro S, Ion] K900:
Extract the zip file and there you have it.
[Sony Xperia S, Acro S, Ion] DooMLoRD:
When u download the kernel package (update.zip), just extract the file kernel.elf it's in the "kernel" folder of the zip
[Sony Xperia S, Acro S, Ion] RawkBob:
Phone freezes and reboots when I use something like Angry Birds in Space ( :D ) for any length of time, managed to reproduce error 3 times now.

Last time I retrieved the last_kmsg file as I specifically fired up the computer to pull it off before rebooting the phone.

Latest v03 Kernel, happened on 02 as well and wiped Davlik between the first time and second time it happened.

Last_kmsg attached, hopefully it's of use.

My settings from No-frills CPU Control:-

Max: 1.89

Min 192

Gov: OnDemand (happened with Smartassv2 too first time on v02)

I/O: deadline

No voltage changes, zram, swapper changes etc... all pretty standard
[Sony Xperia S, Acro S, Ion] Barrt73Rus:
recovery cant find delvic cache folder:

http://pastebin.com/gBb3tS5d

rm: can't remove '/cache/dalvik-cache': No such file or directory
rm: can't remove '/sd-ext/dalvik-cache': No such file or directory
Dalvik Cache wiped.

and spam this error:

active fb swap failed: Invalid argument

and also i have trouble with battery - its quickly discharged with v3 core, not only me, also 2 peoples from 4pda forum, i just lost 3% for only 5 minutes browzing in my phone settings (not in games).
[Sony Xperia S, Acro S, Ion] alkaaby:
Thanks a lot DooM for your awesome Kernel. It made my device smoooooth, rooted and recovered :)

I have a newbie question about the CPU overclocking and Scaling :

what is the difference between all scalings .. and what is the best for my Xperia?

I observed all of them same to me as a user .. even the overclocking .. I don't feel any differences.

thanks again ;)
[Sony Xperia S, Acro S, Ion] av4tar:
For me this is the only issue im having which has happened several times today and yesterday

[*]device sometimes is powered-off and needs to be manually rebooted

I'm using the 67FW from here:

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

and running DL kernel V2, im just about to flash v1.0a

I'll try it all day tomorrow at work and see how it goes! As its happened while im away from home is there anything that can be done to help in the way of logs?
[Sony Xperia S, Acro S, Ion] Pezo:
This thread has descriptions of all the governors.

You need to decide what matters to you, battery savings vs. performance.
[Sony Xperia S, Acro S, Ion] alkaaby:
thanks Pezo .. you helped me a lot .. it is a full explanation.

my regards to you ;)
[Sony Xperia S, Acro S, Ion] r-ikfoot:
So have you an answer please if not about baterry life kernel maybe about governor? :rolleyes:
[Sony Xperia S, Acro S, Ion] raydekok:
This is the second time. When on the charger and doing something like a update of a app. The phone freezes. When Off the charger there is no problem.

Charge and do nothing works.

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] 4lex96:
What are the perfect settings on IncrediControl to have a compromise between performance and battery life?

Thanks
[Sony Xperia S, Acro S, Ion] K900:
You need to find something that you like personally. The best governor is probably smartassV2. ..
[Sony Xperia S, Acro S, Ion] DooMLoRD:
We are having a major power outage in our area.. I will answer most of ur queries when I am back on pc...
[Sony Xperia S, Acro S, Ion] poo-tang:
In last day or two with V3 have had a couple more reboots (had same issue with V2) but very rare so does not bother me. Also last night had the same issue as someone a couple pages back with WIFI crashing when left on in deep sleep over night and i had to reboot to fix it. So far V1a has been the most stable for me on 73 central Europe Stock.
[Sony Xperia S, Acro S, Ion] sixdaysandy:
Doom,

I was thinking about bug hunting the issues some of us were having with V2/V3, would it be possible for you to provide all the patches seperately, and then those of us with issues load them at boot via init.d one by one until it starts rebooting?

I know nothing about the kernel architecture so I'm not sure if it's possible, but just a thought.
[Sony Xperia S, Acro S, Ion] denaz:
for the 6th time at least, today i've found the phone off :/

On v0.3, ondemand, noop.

Idk if there is a better configuration (yesterday happened with smartassv2 too)
[Sony Xperia S, Acro S, Ion] av4tar:
I flashed v1a and WiFi modules into mine as I had the same problem while using v2.

Today the device is fine and its not turning off. I'd recommend that until a fix is found for the bug
[Sony Xperia S, Acro S, Ion] DooMLoRD:
due to the problems faced by many users i will post an Advanced Stock Kernel, later today... it will contain integrated recovery (simple CWM recovery) and will be fully stock kernel...

until we get all issues fixed i dont want users to suffer...

just to be very clear, no one has any issues on v01/v01a kernel right?
[Sony Xperia S, Acro S, Ion] goodwin_c:
same issue with freezes on all versions ;)
[Sony Xperia S, Acro S, Ion] superlimau:
I've faced issued with v2 and v3 with bootloop during preparing internal storage. v01a work fine for me though.

Sent from my LT26i
[Sony Xperia S, Acro S, Ion] sixdaysandy:
V01/01a are fine with the exception that SmartAssV2 does ever so occasionally get stuck at the max freq available.
[Sony Xperia S, Acro S, Ion] raydekok:
Is there a. Zip for the v01 and the v01a?

For flashing in recovery.

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] harfot:
No, ZIP flashing started with V2
[Sony Xperia S, Acro S, Ion] denaz:
I've had the same problems with every version :)

Not so often, just i think 6 deep sleep from the v0.1
[Sony Xperia S, Acro S, Ion] DooMLoRD:
nah that not a good idea...

well smartass series governors are ment for exactly that...

regarding other governors, most of them are optimized for single core devices... since this device has dual cores and that too in asynchronous mode (aSMP) most of those governors wont function correctly... the governors i have added are from tested/proven sources of pyramid kernel by LeeDroid-, Faux123 & showp1984

answered ur query here:

http://xdaforums.com/showthread.php?p=25301858#post25301858

interesting so WIFI is causing crashes?

yes i will be posting incremental kernels for testing to see which patch exactly caused that issue...

sorry mate...

you seem to be the only user who has this issue... may be ur device doesnt like OC :D

thats ok some devices cant handle even slight overclock...

dont worry i will release a more "failsafe" version ;)

to install v01a via recovery use this ZIP

http://xdaforums.com/showpost.php?p=25249521&postcount=108

so u find device sometimes off even on v01/v01a kernel?

@ALL

can u please try if u face similar issues even when using Interactive governor?

sorry guys about this crashing/unstable kernel... honestly even i am really disappointed with this... usually for my kernels (x10, ARC, PLAY) i always add one patch then release the kernel for public testing... if we find that stability/performance is not affected then i keep that patch and move on to next... but this time i jumped the gun :P

dont worry all this will be fixed i only need ur co-operation in helping out with bug-hunting and testing...

first batch of test kernels will be released in few hours...

regards,

DooMLoRD
[Sony Xperia S, Acro S, Ion] raydekok:
Yes i know but see there is one. Now i can flash from recovery.

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] 4lex96:
I have v03 kernel and never bug!

I try it with the stock FW and with SSpeed ROM.

In both case no problem!I set smartassV2 ;)
[Sony Xperia S, Acro S, Ion] raydekok:
Try to update apps when on the charger. Make it work hard.

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] poo-tang:
Had interactive running for last hour V3. Have had apps force closing all over the place (Xda ,Twitter) using wifi, after they each forced close a few times tried N64oid and had full crash only had the LED flashing purple/blue and had to hard reset. :confused:

@doom What settings do you want testing next ?
[Sony Xperia S, Acro S, Ion] 4lex96:
I do that and i don't have problem ;) Everything works fine :)
[Sony Xperia S, Acro S, Ion] raydekok:
Ok thats great. I had a freeze doing that.

Running european .73 and doomkernel v03

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] 4lex96:
Do a backup from recovery and install SSpeed ROM. And try if you have same problem with this ROM.
[Sony Xperia S, Acro S, Ion] denaz:
yes, the first time happened the 18th of april a we were on v0.1 if i'm not wrong
[Sony Xperia S, Acro S, Ion] RawkBob:
Crashed again, twice in quick succession. 1st after playing angry birds for 10 minutes or so 2nd after a few seconds after it had booted back up. Had been using the phone prior to playing angry birds for a good 30min. so it's obviously caused by the process intensive game...

Anyway, attached the last_kmsg again, this one has errors and panic things.

Max freq 1.8

min 192

gov smartassv2

i/o noop
[Sony Xperia S, Acro S, Ion] goodwin_c:
i know, i'm overclocker with exp ;) but this happens also with stock freqs. and one more interesting thing - today with no freezes, on stock governor and io scheduler and with OC (freezes was with interactive/noop). will test one more day, to be sure. did you saw my last_kmsg few pages ago?

p.s. freezes i mean - forever sleep mode :D
[Sony Xperia S, Acro S, Ion] DooMLoRD:
apps FCing is weird.... i am using interactive from the day i have started work on kernel and the only FC i have, rarely, is when i try to read a p.m. in XDA app...
[Sony Xperia S, Acro S, Ion] av4tar:
on v2 i was using interactive/noop and it would need to be reset at least 5 times each day!

on v01a using interactive/noop not one problem today!!
[Sony Xperia S, Acro S, Ion] krabappel2548:
I've tried interactive and no problems at all :D

CPU: 384MHz - 1512MHz, I/O: noop, kernel v3, KA02 Xperia SSpeed :)
[Sony Xperia S, Acro S, Ion] poo-tang:
Each app i tried and closed about 6 times in a row all the same, also i forgot to say i had a e-mail when started N64oid so could be something to do with the WIFI.

Been using performance since and it works really well no force closing or lag, its actually performing better then stock. all my tests are being done fair with no over-clock at all just stock values, using no-frills
[Sony Xperia S, Acro S, Ion] Yakandu:
My phone rebooted when trying to read a p.m. in Tapatalk... Weird coincidence.

Using ondemand -100undervolted and underclocked to 1ghz with stock .73
[Sony Xperia S, Acro S, Ion] DooMLoRD:
DooMKernel (v03a) released!

DooMKernel (v03a) released!

[ changelog ]

updated recovery to DooMRecovery v04

download links at first post!!!

you can flash this over any previous version of my kernel... wifi module will automatically be flashed :)

please test out and let me know your feedback! kernel related bugs/issues should be posted in this thread, recovery related bugs/issues should be posted in recovery thread and general discussion goes in general discussion thread...

ENJOY!!!
[Sony Xperia S, Acro S, Ion] raydekok:
Could it be that the freeze problems starts when using a different region rom?

Verstuurd van mijn LT26i met Tapatalk
[Sony Xperia S, Acro S, Ion] DooMLoRD:
thats one of the things we need to test