yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] DooMLoRD:
DooMKernel v15 released!

DooMKernel v15 released!!!!

major update!

[ changelog ]

MAIN KERNEL

added fully working two way call recording (tested and works perfectly)

tested to be working using: CallRecorder app

TRIAL version: http://xdaforums.com/showpost.php?p=19345181&postcount=750

p.s.: keep watching that thread for newer trial versions

added CPU governors:

BrazilianWax

Smoothass

Lagfree

added I/O scheduler: Simple I/O (sio)

added SLQB memory allocator (and set it as default)

added TinyRCU along with fixes (and set it as default)

bumped BFQ to v2-r1

added Stochastic Fair Blue Net scheduler

bumped jHASH to v3

increased VM max readahead to 512kb

some patches to fix kernel memory leaks

minor fix to display the kernel version info correctly in "About Phone"

RAMDISK

added some mounting tweaks

added support for bootsounds (currently broken on stock rom but same code works perfectly on CM7 so i will work more on this later)

added some tweaks for sdcard performance, Virtual Memory teaks, task killer tweaks

added support for userinit scripts:

if sd-ext is mounted then it will execute /sd-ext/userinit.sh & shell scripts in /sd-ext/userinit.d/ folder

also scripts in /data/local/ will be executed... it will execute /data/local/userinit.sh & shell scripts in /data/local/userinit.d/ folder

P.S.:

please dont keep asking me wht does a particular change mean...

please search on google...

remember all changes i make are done to improve kernel performance...

the changes will improve CPU, network performance among other things and give u guys more options to play with ;)

[ NOTICE ]

since i have changed the kernel version string stock wifi modules will no longer work on my kernel...

if u try to enable them on new kernel (v14 onwards)

u will get "ERROR" while starting WIFI

...

i will be providing modules for my kernel which HAVE TO BE FLASHED VIA RECOVERY for wifi/bt (and other things) to work correctly

stock modules will also be provided which again will have to be flashed via recovery if u want to return to stock kernel OR if u revert to older v13 or lower kernels

remember i have already told this to u guys... if i see some users reporting that wifi is giving error because u did not follow my instructions ur post WILL BE IGNORED....

so installation steps same as v14

[ download links ]

[ARC/ARC S] DooMKernel (v15) (FW: 4.0.2.A.0.42) [ 2.0Ghz version ]

[ MD5HASH: 8232c2d731ce4ccb8fb8f852c2f580be ]

[ARC/ARC S] DooMKernel (v15) (FW: 4.0.2.A.0.42) [ 1.6Ghz version ] (alternate version [will show up as 1015] to be used if th 2.0ghz kernel doesnt boot)

[ MD5HASH: 77cbd037ce88842c9ff7f23496d808b7 ]

MODULES for DooMKernel (v15)

MODULES for stock kernel or DooMKernel (v13 and lower)

i will update 1st post later... busy with some work...

[rant] ah man its a big pain to neatly manage these threads :P [/rant]

i didnt get time to test the kernel out fully... i was busy testing PLAY kernel and FLASHTOOL work... please test out everything and post ur feedback...

ENJOY!
[Xperia Arc Android Development] chitose_ndy:
Hip hip hurray!!!!
[Xperia Arc Android Development] Flo95:
V15 works fine, seems even faster after some testing :)

The ramdisk does apply the tweaks you implemented to the build.prop, doesn't it?

I was scared about the memeory tweaks but they seem to work pretty well with SuperCharger V6 so far.

But I still don't get the I/O scheduler thing. What's the best one for performance and battery life? I'm using the stock one atm.

But for CPU governor I find smartassV2 still the best, clocks up fast, but also down again so very good for speed + battery
[Xperia Arc Android Development] DooMLoRD:
Supercharger script will override the memory tweaks...

I personally prefer BFQ I/O scheduler... As for CPU governor my favorite is Scary for casual use and Interactive for demanding use...

But I provide all options in my kernel... Use whichever you prefer :)

Like my x10 kernel, these too are "Power to the people" kernels... ;)
[Xperia Arc Android Development] harfot:
Downloaded, flashed, installed the other stuff from CWM, used ADB to reinstall AD2SDX and reset system only to find out that it's working like a charm - I agree with Flo95 that it seems working faster ;) using Lagfree and BFQ .

Thanks, Doom
[Xperia Arc Android Development] Flo95:
Ok, I will stick to SuperCharger for now, when I have time I just remove it from beeing started at boot and reboot and then I try your tweaks and choose the faster setup.

Ok, just selected the BFQ I/O scheduler, too for testing.

Yes, that's great, but there are sooo many options to choose from ^^
[Xperia Arc Android Development] adiktz:
Try installing Google USB drivers...!!!
[Xperia Arc Android Development] bassie112:
Just put in Lagfree+Sio (supercharger still active). Have to say it is indeed quite lag free. Before I did notice some lag during unlock, now it's gone. I also noticed it gets in deepsleep very effectively. Like 75% up till now, before it was like 25% and 50% on the 122MHz.

Question: does it also overwrite other tweaks like "Render UI with GPU" (if that even works)?
[Xperia Arc Android Development] DooMLoRD:
Hi u can check the folder /res/scripts/ to see which tweaks are getting applied by my kernel...

Also I have coded it in such a way that first my tweaks are executed then init.d scripts are executed... That way it doesn't interfere with what users put in there :)
[Xperia Arc Android Development] bassie112:
Very smart my friend, very smart indeed.
[Xperia Arc Android Development] Flo95:
Network tweaks work nice.

Finally got a ping under 100ms with my provider, normally are 120-140ms and now 89-120ms, also the download is a bit faster I guess. Tested on HSDPA.

Just hope they won't drain my battery as I fins the battery life good atm.
[Xperia Arc Android Development] Soheil_rf:
V15 VS Stock Kernel

FW: .42

V15 Kernel : Without ANY use

Time >>6h,34min >>>>>> 16% usage

Stock Kernel : Normal use

Time : 7h,10min >>>> 9% usage
[Xperia Arc Android Development] Galomtala:
If I'm updating from v14, do I have to install the wifi module again?
[Xperia Arc Android Development] babygau:
Yes, U have to do with newer wifi module included
[Xperia Arc Android Development] spida_singh:
Try smartassv2 with new kernal... Try setxperia for your cpu controls. Im currently using sio as my i/o, with smartass v2 as my govenor, set at 1.2GHZ. Stock voltages applied. I saw 1 to 2% battery usage in deep sleep for an hour.
[Xperia Arc Android Development] Galomtala:
Ok, I missed the (v15) behind the module. :(
[Xperia Arc Android Development] doomed151:
Just curious, did you get rid of debugfs?
[Xperia Arc Android Development] birdcut:
I use Arc S with Doom's kernel v.15 and here is my battery life test result:

- Stock kernel with SetCPU - Ondemanded Gov: ~0.57%/hour in deep sleep.

- Doom kernel with SetCPU - SmartAss V2 Gov: ~0.83%/hour in deep sleep.

So the battery usage has improved alot since Doom's Kernel v.13 which has ~2%/hour in deep sleep. Well done Doom :).
[Xperia Arc Android Development] DooMLoRD:
Lots of debugging related things have been removed form kernel sources to make it more light... I have used fxp sources as reference and disabled those debugging components...
[Xperia Arc Android Development] Beppemi:
I have to upgrade from V14, but i need to reflash before stock fw (.42)? Or i can reflash via fastboot, without problem? Sorry for the noob question but i'm new user of Arc, and some things change from other devices....

Thank so much Mr Doom, i testing kernel wirh bfc scheduler and smartassV2 profile, and no battery drain, and all are smooth and fast. :):)
[Xperia Arc Android Development] Soheil_rf:
1~2 % battery usage in an hour is too much for standby

Last night i flash stock kernel for testing

charge my phone to 100% and calibrate battery with BatteryCalibration app

in 7 hour battery usage only 2%

you can check the attachment
[Xperia Arc Android Development] Starwalker:
I like this Kernel very, very much. Its very fast, light and with al lot of useful features and tweaks.

But I also have the problem, that the energy drain in deep sleep seems to be 2%-3% per hour. Last night, I lost 16% in 7 hours. Phone was completely in deep sleep mode and wifi, data, etc. were disabled. With the stock or Blend Kernel I´m loosing 3% battery in 7 hours with the same configuration.

I have tried several combinations of governors and schedulers, without luck. Maybe the users with better battery life can post their settings for testing?

Thanks in advance and best regards

Lars
[Xperia Arc Android Development] DooMLoRD:
@increased battery drain issue

see guys i have literally wasted 3 weeks trying to figure out this issue... now i want to concentrate on other things...

if anyone finds out wht is the exact reason for this, and if u think its related to my kernel, my kernel sources are posted at github:

for stock kernel:

https://github.com/DooMLoRD/Xperia-2011-Kernel-2.6.32.9

for CM7/MIUI kernel:

https://github.com/DooMLoRD/semc-kernel-msm7x30

please check them out and let me know if there is anything in those sources which is the reason for this increased battery drain...

i will no longer be spending my time trying to resolve this issue... i have lots of stuff to work on and this is slowing down everything, a LOT....
[Xperia Arc Android Development] rustynuts34:
Installed and doing good, has all the things I need recovery and overclocking, don't really notice battery drain as I always charge the phone over night anyway, stock or custom kernels :-) As long as I get a whole day out of it im happy.

Cheers for your work matey :-)
[Xperia Arc Android Development] Flo95:
My Arc loses always a lot of battery over night, but mostly I charge it over night and over the day it lasts enough, gets me through my day so it's fine. With stock or DooMKernel. Judt gonna test it this night

I think the battery drain that was there and not bad is gone or almost gone now, at least for me. A bit higher battery consum is ok for the whole lot features we get ;)

I agree with Doom, it's better if he focuses on making this even better/faster.

Just got an idea, if you're a fan of the stock ROM, could you try to make a heavily optimized version of it? Like Android Revolution HD on HTC devices. Got the idea because of all the new tweaks added in the last version.

Maybe you have time, should have be potential to be the best custom ROM for the Arc.
[Xperia Arc Android Development] depulle87:
great progress here Doomlord looks promesing, I myself am running CM7 but a friend of mine asked me to speed up his phone. Because he has no experience at all your kernel ( stock rom) seems the best option.

but ..... why do you higly advise the .42 firmware is that the fastest or most stable ?

thanks for al your great work for all our xperias
[Xperia Arc Android Development] DooMLoRD:
now i am thinking its not the best firmware... i will do some testing on older FW...

will need help...

can ppl test out the latest kernel on older .368 baseband?

please let me know wht happens... remember the list of screenshots i requested earlier...
[Xperia Arc Android Development] Beppemi:
Nobody can answer me plzzz.. thanks:o
[Xperia Arc Android Development] doomed151:
Just flash new version with fastboot and you're done.
[Xperia Arc Android Development] fistanfilan:
SD card issue

Hi Guys

I installed latest kernel (v15) and modules (ARC-DooMKernel-v15-modules_CWM.zip)yesterday. Everything was ok. The problem arose when I did factory reset with erasing SD card. Now, After the phone reboot, it seems I cannot connect my ARC to PC via USB.

Home button seems not working any more.

PC Companion doesn't detect my phone.

Could you please help me on that issue?

Thanks & BR
[Xperia Arc Android Development] fistanfilan:
I have fixed the issue by re-flashing .368 ROM, then .42. Now everything seems ok. If you have similar issue, you can follow similar way to recover it.
[Xperia Arc Android Development] robobear:
Hi, im on v12 but came from 401A0283

And i got official update notice OTA to 402A042

Can i just update official or need to reflash original stock first?

Tried to search but cant find any reference of this. Thanks
[Xperia Arc Android Development] Flo95:
NEVER EVER do an OTA update with an unlocked bootloader!

Just update with Flashtool and flash the kernel afterwards.
[Xperia Arc Android Development] Beppemi:
Thanks so much.. i will do it right now, i believed i have to return in stock firmware before, this is my doubt... thanks so much for explanation. :)
[Xperia Arc Android Development] jumptailo:
Just flash the new kernel. No problem. But remember to install the modules using recovery.
[Xperia Arc Android Development] jtdc:
hy do you higly advise the .42 firmware is that the fastest or most stable?

hi doom, i am one of the oldies who never updated (still on 4.0.A.2.368 doomkernel v10). ".368" is the build but not baseband (my baseband 8x55A-AAABQOAZM-20302204-36 if it matters). i'm kind of contented with the state already, though i miss the new features, i don't mind. on standby will GSM radio only on, even on the 245Mhz clock my battery usage only 1% for 1-1.5 hours.

does this mean i can straightaway update to kernel v15 and do some test? but from what's stated, v15 will only run on the recent 4.0.2.A.0.42 right?

sorry if i don't make much sense, but i do like to help on what specifically to test if any.

PS.

1. Looks like that .42 recent firmware had some people experience battery drain issue, I've read from http://xdaforums.com/showthread.php?t=1323065&page=2

2. I plan to use the acronium ROM when I got the itch http://xdaforums.com/showthread.php?t=1325640 ... I see its latest version 2.0 incorporated the latest doomkernel i suppose.
[Xperia Arc Android Development] Soul788:
The new kernel is running great. Battery is normally very good. i have 1.5% in 2 hours with wifi and so on. worth it!
[Xperia Arc Android Development] tRippinthehead:
I just want to say that with smartassv2 governor battery lives much longer than with the interactive. This is on my personal observations. But still it is not a good result as to the stock kernel.
[Xperia Arc Android Development] DooMLoRD:
from the reports i am getting u can use the newest kernels on older FW too...

and new kernels + old .368 FW seems to be best combination...

can some more ppl please try this... especially those facing very high battery drain...
[Xperia Arc Android Development] erwin929:
Is there any way to change just the baseband.

I mean is there some way to use the latest firmware and just flash the baseband from the old .368 FW???
[Xperia Arc Android Development] DooMLoRD:
yes use newest flashtool and exclude other stuff...
[Xperia Arc Android Development] erwin929:
ok then

will try this afternoon

and tomorow I'll post some feedback
[Xperia Arc Android Development] erwin929:
ok then.

baseband flashed from the .368 FW folowing doodmlord intructions

for the moment everything is working fine.

I'll post some screenshots of battery usage comparation within 7-8 hours
[Xperia Arc Android Development] Jonzzon9:
Hi!

I have a stock SE Arc with Android 2.3.4 and FW: 4.0.2.A.0.42.

Is there something I have to do before installing this kernel?

Like root the phone or something like that?

Pretty new at this, hope you can help. :)
[Xperia Arc Android Development] doomed151:
You need to unlock the bootloader first (http://unlockbootloader.sonyericsson.com/).

If you decide to do it, read everything that's written.
[Xperia Arc Android Development] Jonzzon9:
Ok thanks!

What is fastboot and installing with the recovery?
[Xperia Arc Android Development] Flo95:
When you unlock the bootloader via se method thhey write what fastboot is, so just follow the instrucstions there.

Go into recovery to flash wifi modules after you flashed the kernel. Press the back button a few times at boot when the leds light up to enter recovery, then install custom zip and choose the wifi modules
[Xperia Arc Android Development] Jonzzon9:
Okay! I got DooMKernel running. Great work mate!

Just one question, how do you do when updating android?

They will release Ice Cream Sandwich soon and I really would like to update to that one.

Thanks again! :D
[Xperia Arc Android Development] Flo95:
Use FlashTool to update and then wait untill SE released the sources and Doom can make a kernel for ICS
[Xperia Arc Android Development] Jonzzon9:
Okey. My phone seems to be missing temperature sensors. I dont get any temperature from SetCPU.

I would like to have an eye on the temperature.
[Xperia Arc Android Development] sinkster:
It's never worked on my Arc, either stock or custom rom/kernel.

sinkster©
[Xperia Arc Android Development] Flo95:
Worked for me with looked bootloader, but since I unlocked it it doesn't...

Use Battery Life widget to see temperature
[Xperia Arc Android Development] erwin929:
@DooMLoRD

the results

here are some screenshot before and after the baseband change

I'm using the latest 402. firmware

everything is on automatic syncronization using 3G (HDSPA) wifi and gps are off, bluetooth is 24/7 on

before, almoust any usage since I've unplugt it at 5 am (close lock at the third screenshot 15% signal lost)

after. full charged and used for the same time as the first time

and in this case I've used the phone a lot more thn in the morning. few calls, some whatsapp chats, and some use. (close lock at the last screenshot. no signal loss)

for the time beeing I'm staying with this baseband;)
[Xperia Arc Android Development] xexijreil:
@erwin929

Which is the indicator of no signal loosing?? that green or pale?? You have 50/50 what does it mean??? I always have little intervals of green and pale but most of the time is pale, I'd like to know what this means. Sorry for my ignorance :o

I can't appreciate well the lvl of battery in both cases, but it seems that it's more or less the same, right?? I think I'll follow your steps :D thanks!!!
[Xperia Arc Android Development] erwin929:
The signal loss is in porcenage. In the third and sixt photo. Below the bar

Yes, I've wasted the same amount of battery in both cases but there is a lot more phone and screen usage in the afternoon.

In the morning i've bearly touch't it.

Hold down for now, because I've found a problem.

Trying to instal some market stuff and it says that I have no memory space. Even thou I do.

Anyone knows any solution

Sent from my LT15i using Forum Runner
[Xperia Arc Android Development] bassie112:
Same here for adobe reader. Don't know if it is a kernel or app problem...
[Xperia Arc Android Development] Soheil_rf:
Battery Test V15 + x.36 baseband

FW .42

Kernel V15

Baseband : .36

Without OC and default governor

battery usage : 9% in 6h 25m (sorry forget to take screenshot )

Compare with Stock kernel
[Xperia Arc Android Development] kianchong:
Thank you for the awesome kernel,but i need the stock kernel for some reason,could you provide me the one or give me some suggestion?

Thanks.
[Xperia Arc Android Development] Flo95:
Extract it from the tft file
[Xperia Arc Android Development] merlin667:
Where are the Kernel voltages coming from? I was possible to Do some undervolting. I also checked other kernels and they are also lower in many cases
[Xperia Arc Android Development] merlin667:
Second screenshot, had an error
[Xperia Arc Android Development] Flo95:
Wow, that's some extreme undervolting

What are the stock voltages of the Arc S?
[Xperia Arc Android Development] DooMLoRD:
thanks for testing...

now can u flash the ENTIRE .368 FW and do testing using newest kernel?
[Xperia Arc Android Development] fredalf:
@doomlord

I´ve installed CWM with this tool (http://xdaforums.com/showthread.php?t=1346190) on my Arc S - locked bootloader!

Is it now possible for me to use your kernel?

Thanx in advance.
[Xperia Arc Android Development] DooMLoRD:
nope... u need to unlock bootloader to flash kernels
[Xperia Arc Android Development] fredalf:
Ok - but what´s about custom Roms on stock kernel?

Is this possible?

Sorry for my noob qustions.
[Xperia Arc Android Development] DooMLoRD:
ask in the thread from where u got that recovery...
[Xperia Arc Android Development] DooMLoRD:
hey guys i see that the .58 kernel sources are now online... is the FTF for ARC available? if so can someone kindly reply to this via link to d/l it?

thanks!
[Xperia Arc Android Development] erwin929:
@DooMLoRD

any solution to this mater???

I love the new combination latest FW with 368 baseband but I dont know how to fix the market problem.

Even tryed to go back to the original baseband but I still have the same problem
[Xperia Arc Android Development] DooMLoRD:
sorry mate dont know exactly... just check the size of /data & /cache

adb shell df
[Xperia Arc Android Development] erwin929:
thats the problem.

can't find any

and recovery is giving me the same error

cant find any cach partition

I'm gona flash the firmware from the beginning;)
[Xperia Arc Android Development] DooMLoRD:
try to manually mount it
[Xperia Arc Android Development] erwin929:
dont wory mate.

I already flashed the firmware and restoring the copy from last week. xdd
[Xperia Arc Android Development] ShyamSasi:
It's a Hong Kong version http://115.com/file/aqvknnnh

http://translate.googleusercontent....1.html&usg=ALkJrhjPYLdLFzxbHDSTEZ4-gPR4DxGvTQ
[Xperia Arc Android Development] plopingo:
Hi, where can i find the last recovery for the Arc S plz ?

The only things i've found is nothing

Thanks in advance
[Xperia Arc Android Development] Crazypinoy9:
after entering the "fastboot flash boot boot.img" command how long is it supposed to sit at "sending 'boot' (6312 KB)..."?

It's been sitting there for about 3 mins now...

***Now about 6 mins...is it supposed to give me a notification to reboot?
[Xperia Arc Android Development] Crazypinoy9:
that's what i thought!

So pretty much i'm f'd...any suggestions on what my next step would be?

Would unplugging the phone be absolutely stupid?
[Xperia Arc Android Development] merlin667:
my opinion: do you have a different choice??

at which step is it hanging?? still first one (sending)?? or later one?

for my opinion as long as it was not erasing the sectors it should be safe to remove (hopefully)
[Xperia Arc Android Development] Crazypinoy9:
I just pulled the cable and the error that popped up was "FAILED (status read failed (too many links))

I restarted back into fastboot, ran the command and this time it worked. After it flashed I went into recovery to flash the modules and now I'm just waiting for the phone to finish booting up...crossing my fingers...

Thanks for all your help guys!
[Xperia Arc Android Development] Flo95:
Bricked my Arc and restored the system partition from a cwm backup I made with kernel V14, directly flashed the modules for V15 afterwards and rebooted then, everything seems to work again, but do I need to do anything more because fot he different kernel versions or am I good to go again?

Thanks
[Xperia Arc Android Development] DooMLoRD:
Wow... Ok what exactly happened?
[Xperia Arc Android Development] Flo95:
Flashed ICS theme V5 and my Arc bootlooped, forgot to do a new cwm backup before with doomkernel V15. I had one that I did with this kernel on V14. I restored that and flashed the wifi modules directly afterwards for V15. Phone works fine and fast again.

Just want to know if that's okay or do I have to reflash the kernel, too? In case your kernels needs a reflash.

Just to be 100% sure

Btw, what happened to your SGS SII? Not in your sig anymore...
[Xperia Arc Android Development] DooMLoRD:
nope u dont need to keep flashing same kernel again and again ;)

i gave the SGS2 to my bro... i already have 3 phones (now 4th) to use daily :D
[Xperia Arc Android Development] Flo95:
Ok, thanks.

Just wanted to be sure, because it was different on the X10...

Ah, okay. Congrats to be back to Xperia totally :D