yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] DooMLoRD:
NEED TESTERS!!!

zKernel_20072011 with FreeX10-beta4 ramdisk (should work for most froyo roms) [please test and report back]

Screenshot:

Tested to be working on:

FreeX10-beta4

no dhcp issues

no other wifi issues

Additional Notes:

you should not need to use any wifi patches for this to work (atleast on FreeX10-beta4 it doesnt)

if u have previously used the wifi patch wifi_bt_fix-fxk_froyo_v01.1.zip please remove it using remove_fix_v01.1.zip and try using this test kernel

[optional] you might need to "wipe cache" & "wipe dalvik cache" via recovery, reboot and let the device for some time before u can try out things (wiping cache cause the first bootup to be VERY LONG, that is expected no need to get alarmed)

Using:

kernel => zKernel_20072011

ramdisk => FreeX10-beta4 (modded for Custom Kernel)

logo => troll face "U MAD?" ;)

All credits go to:

zdzihu (kernel)

zdzihu (ramdisk)

me (slightly modifying ramdisk for making it compatible with Custom Kernel) [splicing these two together ;)]

aZuZu (working hard to get the custom kernel boot tools ready ;) )

u guys for testing these thing we cook-up :)

Download link:

(boot.img only)

http://doomlord.sylvester20007.com/...g/boot.img_zKernel_20072011_FROYO_FreeX10.zip

[VIMP NOTE FOR FROYO USERS who do not see any change in custom kernel after flashing the boot.img]

Download link:

(wifi.ko module only)

http://doomlord.sylvester20007.com/x10/custom_kernels/modules/modules_zKernel_20072011_wifi.zip

I WANT U GUYS TO TEST IT ON THE ROMS U CURRENTLY USE

can u please test if HD recording works?

PLEASE TAKE A BACKUP OF UR CURRENT WORKING ROM BEFORE TESTING THIS!!

THANK YOU!
[XPERIA X10 Android Development] Lockon Stratos:
Waking up from 19mhhz is smooth with or without profiles in setcpu
[XPERIA X10 Android Development] bharadwaj1991:
interactive governor..isn't working on my freex10 beta4...even tried installing it brand spankin new...still won't work. cpu frequency gets stuck on one specific speed and never changes.

in hw_config.sh there are lines

# zdzihu: cpufreq fix

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential

echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

maybe something has to do with that...please help
[XPERIA X10 Android Development] Mobzter:
Guess il write about my initial thoughts..

Froyo 2.2.1

ZKernel 20.07.2011

FreeX10-beta 4 (my own theme based upon this)

SO FAR....

-seems to bootup fine..

-smooth and fast!

-battery seems to be going ok..

-setcpu 19mhz - 384mhz ondemand whilst screen off tested.. seems fine when screens turned on again!

-seems to be sleeping pretty well

-wifi working fine

-tried HD Recording.. infinity mode was alright however there were times where the audio seem to be abit behind compared to the video.. tried playing via gallery, vitalplayer and my laptop just to be sure. just tried continuous mode and that did seem to do a better recording, very very little lag whenever it did occur, although u hear that focus sort of sound quite often. Also on both i realised here and there whilst recording a video clip the way the light would dim then brighten or vice versa. could just be my luck! :(

-also had an occasion when i started this kernel first time. whilst loading facebook profile on dolphin browser.. black screen came up, then the lock screen pretty much followed few seconds after that. did end up reverting to normal ondemand mode on setcpu rather than interactive. not sure if it was cause of that but so far nothings gone wrong on these settings just yet!

if anyone wants to know some more just ask! but in the meantime dont take my word for it yet as it is just an initial test. i normally prefer to test properly when battery is charged. so il try update it soon as.. quite busy at work though!
[XPERIA X10 Android Development] Mobzter:
I had cpu spy on and when I started with this kernel, It was on interactive mode.. mine showed many frequencies being used so its prob to do with something else..

Sent via xda using Freekernel running Enigma v2.2 on Xperia x10
[XPERIA X10 Android Development] bharadwaj1991:
this kernel won't even install on a clean stock firmware after updating with seus...causes xrecovery to break and just doesn't work...all the files are installed...bootkit, boot.img...wifi module chargemon charger..just won't boot up. getting really frustrating now...

won't work on clean seus firmware...

will work without interactive governor on clean freex10 beta4
[XPERIA X10 Android Development] dominoes20:
Running FreeXperia Achotjan ARC 2.2.3 V6. Smooth. No FC's. Everything working so far. Quadrant hit 1441 which for me is a record :D

Still a little laggy but I've only been using it for 15mins.

Using Interactive governor. Set min 19200 max 1113600 on boot and have manually rebooted twice without issue.
[XPERIA X10 Android Development] azrull:
is this work with achotjan v06?
[XPERIA X10 Android Development] blueowl0708:
Same for me i think... it seems to be working if I set Interactive via CPU spy. I've allowed it to use the full range too, so let's see if I get any overclock related problems!
[XPERIA X10 Android Development] zdzihu:
Hi guys,

I already advised in the kernel thread that you need to remove these lines:

# zdzihu: cpufreq fix
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

(from hw_config.sh) to be able to use interactive governor just fine.

Cheers,

z
[XPERIA X10 Android Development] DooMLoRD:
hey bharadwaj, the kernels (boot.img) files posted in this thread WONT WORK ON STOCK SE 2.1 FW...

if u want them to work on FreeX10 then just do the following:

be on FreeX10 rom

read this: How-To for testing custom kernel

after u flash the bootkit files reboot into recovery

[optional] wipe cache/dalvik-cache

flash the boot.img & wifi module provided in this thread for that specific kernel (froyo version)

flash chargemon_FXRec_default_CUSTOM.zip file (provided in the link above)[only if u have changed to freexperia recovery]

reboot phone

enjoy custom kernel

thanks Z!

when i get back home.... i will add a script to the boot.img update.zip to remove these line...

cheers!
[XPERIA X10 Android Development] Lockon Stratos:
Tested 20072011 kernel for half a day and this maybe the smoothest zkernel I've tested. I kept the freq between 19-1113 for 12 straight hrs and no wlods or reboots.Running WBs v008.1 on bb52.
[XPERIA X10 Android Development] bharadwaj1991:
sorry about that...i was in the wrong thread..meant to put that in the original one by z. when i just installed stock fw through seus rooted and install xrecovery .3, and flashed his .zip for zkernel...it broke xrecovery and installed the kernel BUT wouldn't boot up into it. this happened multiple times. but i got it working on beta4 by deleting lines in hw_config.sh right after installing it..and then flashing kernel..everything seems ok..but 19mhz causes huge problems..and OC for the first time since using any oc kernel caused WLOD.

thank you for your patience doomlord, and z
[XPERIA X10 Android Development] blueowl0708:
Hi Z.. thanks for that, I didn't see your comment in the other thread.

Therefore, my only other question is, will this cause problems if I switch to stock kernel or a different kernel that doesn't have an interactive governer in the future?

I might just comment them out rather than delete.
[XPERIA X10 Android Development] realunited123:
Something went wrong when uploading. I uploaded again and re-checked again. Everything seems working on CM 7.1 J004.
[XPERIA X10 Android Development] chiefy009:
Will it work on 7.0.3 ?
[XPERIA X10 Android Development] realunited123:
Should work. What problem are you facing ??
[XPERIA X10 Android Development] DooMLoRD:
it should atleast fix the Wifi "error" while switching ON...

not too sure abt wifi dhcp... but please do check!
[XPERIA X10 Android Development] chiefy009:
its stops the wifi error but wont connect to a wifi network, gets to trying to obtain ip address then drops out
[XPERIA X10 Android Development] colossus:
Ok just done some testing for you on cm7 7.0.3 and wifi will not connect just keeps saying obtaining address, Z posted this ar6000.ko this morning to fix it but i have just tried that and still no luck.

http://xdaforums.com/showpost.php?p=15849483&postcount=623
[XPERIA X10 Android Development] zdzihu:
As far as I remember, DHCP (automatic IP address) didn't work on CM7. Was that problem solved?

Maybe all you need is static IP?

Cheers,

z
[XPERIA X10 Android Development] colossus:
Hi Z,

Yes on 7.0.3 everything has been sorted out and automatic ip has been running fine for a while, we have had no problems with any kernels untill 20072011, doomlords version 2a works ok and i think it is based on your latest.
[XPERIA X10 Android Development] realunited123:
It works on 7.1 without static IP. I will use FX012b ramdisk then.
[XPERIA X10 Android Development] sathurnn:
Testing zkernel 200711 on tw008 bb54 since 11.30am

I've only set setcpu to 19mhz-1113

Till now no reboot no wlod, I've noticed a little lag while scrolling app drawer

Anyway I'll wait till tomorrow
[XPERIA X10 Android Development] colossus:
Ok Real, if you make the files i will test for you.;)
[XPERIA X10 Android Development] realunited123:
Thanks for testing. :) Changed to FX012b ramdisk. But CM7.1 needs static IP. Maybe i will post both then.With FreeKernel 360 ramdisk(wifi works on CM7.1 without static IP) and FX012b ramdisk(Wifi works on 7.0.3 without static IP)
[XPERIA X10 Android Development] tethien:
Yes. It work.
[XPERIA X10 Android Development] DooMLoRD:
hi Z i think i have identified the problem...

it depends on which ramdisk is used.. actually it depends on the wifi dhcp service arguments:

here is wht i found:

CM7.0.3 (and ROMs based on this) requires FXK12b ramdisk

CM7.1.0 (and ROMs based on this) requires FXK13 ramdisk

i think we need two separate kernels for these two versions... to solve the DHCP issues...

UNLESS we can start the wifi dhcp service using BOTH the statements together... will that even be possible? i mean will the wifi dhcp service start two separate "threads"/"processes" or will it just use the last one...

the wifi module (ar6000.ko) can be same...
[XPERIA X10 Android Development] sathurnn:
Testing zkernel 200711 on tw008 bb54 since 11.30am

On Interactive mode is so smooth, but setcpu shows frequency stuck at 1113. In cpuspy it uses only 19, 245 and 1113 mhz

On ondemand mode, it's slowed but setcpu shows that cpu uses all the frequencies

Is it regular?
[XPERIA X10 Android Development] Nikhil_007:
That works wonders z...

Everyone with problem in setcpu of freq gettng stuck..ill.suggest you to try this before asking on thread again and again.

Doomlord...u got d ramdisk perfectly right this time buddy...z kernal 20072011 modified for froyo works like a charm on tw008 by WB. Can u pl try to update your post with hw_config solution by z here else i guess confused users getting stuck on particular freq ill keep asking for solution.

Thanks a lot doom for modifying d ramdisk for users like me to get taste of z kernal on custom roms. U rock buddy.
[XPERIA X10 Android Development] DooMLoRD:
DONE... 1st post updates with link to Z's solution...
[XPERIA X10 Android Development] chiefy009:
Any wifi fix for 7.0.3 ?
[XPERIA X10 Android Development] realunited123:
Yes. Check my post again. I posted one with FX012b that works with 7.0.3.
[XPERIA X10 Android Development] chiefy009:
So many files tried didn't work for me
[XPERIA X10 Android Development] realunited123:
What is the problem now ? All you need to do is flash.

this: http://www.mediafire.com/?72zd88jcjsk9sqt

then this : http://www.mediafire.com/?di44s2b3swmo3hw
[XPERIA X10 Android Development] chiefy009:
was flashing wrong boot image sorted now will hit thanks a few times when a PC thank-you
[XPERIA X10 Android Development] colossus:
Chiefy they work bro because i am using them now, i have flashed them 3 times today what with testing various things and each they have been ok.;)
[XPERIA X10 Android Development] chiefy009:
On then now mate, was flashing wrong image ;-)
[XPERIA X10 Android Development] realunited123:
Glad it worked finally.

It seems that we will have to make 2 boot.img one for 7.1 and another for 7.0.3 unless someone finds a way to make one work with both.

Sent from my X10
[XPERIA X10 Android Development] jing000l:
somebody clarify witch line exactly should delete?!

# Z: cpufreq fix
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 998400 >/sys/devices/system/cpu/cpu0/scaling_max_freq
"echo 95 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold"
echo 30 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential
echo 58000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

# CPUTweak's Functions
Battery() {
(while [ 1 ]; do
if [ $AWAKE = "awake" ]; then
echo $BAT_AWAKE_GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 998000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 576000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
"echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold"
echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 100 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias
AWAKE=
fi;

i also attached my hw_config.sh file (tw008 WB) ,if some one have time and make it for me:p
[XPERIA X10 Android Development] OmegaRED^:
Whats your lowest CPU setting? i use 128 to combat this issue.
[XPERIA X10 Android Development] Z3US911:
which one shoud i use for trip's Miui Froyo...??
[XPERIA X10 Android Development] kaisan1:
Ohh so that is caused by the low frequency setting?? Well i set i from 19 to 1113... will forve it to use minimum 128 while playing and report back.. btw thanks for the tip..!!
[XPERIA X10 Android Development] mrhcorp:
how to remove these lines?? where and how to find a files? :(
[XPERIA X10 Android Development] Nikhil_007:
Well..just use root explorer and go to system>etc folder and open the hw_config.sh file in text editor(long click th file and select to open as text editor) and delete the above lines..

Hit thanks in case that helps:)
[XPERIA X10 Android Development] hurstov:
Morning all!

Just incase anyone is having the 'stuck at one frequency' issue with standard 2007 on CM7. I had been trying the boot.img with 360 ramdisk and had this problem. Searchin the thread found that Doom had said K013 ramdisk is the same as K012b ramdisk so flashed the boot.img with K012b ramdisk and now have full scalling. Cheers Doom! And Z of course! :D
[XPERIA X10 Android Development] simplytheone:
it works fine on my x10!

http://www.youtube.com/watch?v=Ti-u4jIsltk&hd=1

[YOUTUBE]www.youtube.com/watch?v=Ti-u4jIsltk&hd=1[/YOUTUBE]

nice work!!!

why youtube fail embed?
[XPERIA X10 Android Development] DooMLoRD:
hi there is a minor correcttion... FreeXperia k12b ramdisk is ALMOST identical to FreeXperia K13 ramdisk... the only difference is one single line which is required for dhcp to work for wifi (so the ramdisks required for CM7.0.3 & CM7.1.0 are different)
[XPERIA X10 Android Development] mobz:
Solved....
[XPERIA X10 Android Development] hurstov:
No flies on you mate! I was already using static IP so didn't notice! Don't suppose U've created a boot.img for 2007 with K013 ramdisk?
[XPERIA X10 Android Development] DooMLoRD:
i think realunited123 has already created it ;)
[XPERIA X10 Android Development] el56:
Weird problems with 7.0.3 J021 + BB67 + zKernel

Message deleted.
[XPERIA X10 Android Development] blueowl0708:
I don't suppose you'd mind making a 200711 failsafe version for FROYO?

I've tried to use Azuzu's tool to take the ramdisk from FROYO 140711 and stitch it to 200711 kernel, but it doesn't work :(

If you don't want to keep doing it, could you advise where I might be going wrong? I'll do it myself then :)
[XPERIA X10 Android Development] DooMLoRD:
oh i though realunited123 already made it... anyways i will make it immediately...

u r using the correct tools... ask aZuZu abt whts going wrong exactly... please explain the complete process/steps u followed and the error which u are getting...
[XPERIA X10 Android Development] DooMLoRD:
i was under the impression that this was already posted :(

anyways here is it...

NEED TESTERS!!!

zKernel_20072011_failsafe with FreeX10-beta4 ramdisk (should work for most froyo roms) [please test and report back]

Tested to be working on:

FreeX10-beta4

no dhcp issues

no other wifi issues

Additional Notes:

you should not need to use any wifi patches for this to work (atleast on FreeX10-beta4 it doesnt)

if u have previously used the wifi patch wifi_bt_fix-fxk_froyo_v01.1.zip please remove it using remove_fix_v01.1.zip and try using this test kernel

[optional] you might need to "wipe cache" & "wipe dalvik cache" via recovery, reboot and let the device for some time before u can try out things (wiping cache cause the first bootup to be VERY LONG, that is expected no need to get alarmed)

Using:

kernel => zKernel_20072011_failsafe

ramdisk => FreeX10-beta4 (modded for Custom Kernel)

logo => troll face "U MAD?" ;)

All credits go to:

zdzihu (kernel)

zdzihu (ramdisk)

me (slightly modifying ramdisk for making it compatible with Custom Kernel) [splicing these two together ;)]

aZuZu (working hard to get the custom kernel boot tools ready ;) )

u guys for testing these thing we cook-up :)

Download link:

(boot.img only)

http://doomlord.sylvester20007.com/...oot.img_zKernel_20072011_fs_FROYO_FreeX10.zip

[VIMP NOTE FOR FROYO USERS who do not see any change in custom kernel after flashing the boot.img]

Download link:

(wifi.ko module only)

http://doomlord.sylvester20007.com/x10/custom_kernels/modules/modules_zKernel_20072011_fs_wifi.zip

I WANT U GUYS TO TEST IT ON THE ROMS U CURRENTLY USE

can u please test if HD recording works?

PLEASE TAKE A BACKUP OF UR CURRENT WORKING ROM BEFORE TESTING THIS!!

THANK YOU!
[XPERIA X10 Android Development] DooMLoRD:
i was under the impression that this was already posted

anyways here is it...

zKernel_20072011_failsafe (should work on both CM7.0.3 & CM7.1.0) [please test and report back]

Do it at your own risk and it's not supported by the rom dev (jerpelea / others)

[ Using ]

kernel => zKernel_20072011

ramdisk => FreeXperia_k012b (for GB/CM7.0.3) & FreeXperia_k013 (for CM7.1.0)

[ All credits go to ]

zdzihu (kernel)

jerpelea(FreeXperia Team) (ramdisks)

me [splicing these two together ;)]

Chumby_666 / aZuZu (working hard to get the custom kernel boot tools ready ;) )

u guys for testing these thing we cook-up :)

[ Requirements ]

CM7/GB rom

Baseband 2.1.xx (preferably 2.1.67) (you can download it from BaseBand Collection)

Baseband patch (2.1.xx) for GB from http://xdaforums.com/showthread.php?t=1053221 use the file cm7bb54.zip

[ Download links ]

boot.img only:

2.3/CM7.0.3

CM7.1.0

wifi module

CM7

other GB

[ HOW-TO install on CM7 ]

make sure that ur rom supports custom kernel booting (CM7 by default supports custom kernel booting)

take a FULL NANDROID/RECOVERY BACKUP before testing any of this

power off device flash baseband 2.1.xx (preferably 2.1.67) using flashtool

boot device and immediately get into recovery

flash baseband patch cm7bb54.zip (if ur rom doesnt support baseband 2.1.xx) [CM7, as of now, doesnt support 2.1.xx]

flash boot.img

flash wifi module

restart device now it u should get this kernel and rom working on CM7/GB

if ur GB rom doesnt support custom kernel then u need to follow this guide:

http://xdaforums.com/showthread.php?p=13022717#post13022717

before doing anything from here... ( only skip the part when-in u have to flash baseband 2.0.52 & related patch) [i will update that guide in a while]

if ur GB rom already supports baseband 2.1.xx THEN DO NOT FLASH BASEBAND PATCH
[XPERIA X10 Android Development] el56:
Fingers crossed...

Running CM 7.0.3 J022, BB67 with cm7bb54 installed.

Yesterday I installed the (non-failsafe, from realunited123) kernel/wifi and was getting very weird behavior:

Sometimes the system would freeze at the lock screen -- freeze as in "must take the battery out to restart"

Very, very slow on bootup ... would sometimes take 3-5 minutes before everything was running at normal speed

No Deep Sleep, but about 25% of the time it was really low (like about 19MHz)

Occasional random WLODs

In all, in a span of about 24 hours I had to reboot (either because of WLOD or system freeze) about eight times.

I've just loaded the failsafe versions referenced above. So far so good (ie, no forced reboots) -- though no Deep Sleep, slowest is 245 MHz. But I've only had it up an hour.

Guess this is one way to kill time before I (hope to) get a camera by next week ;) Thanks for everyone's work on this.
[XPERIA X10 Android Development] el56:
J022 + FS kernel = best ROM I've ever used

It's now been a few days since I installed the failsafe kernel (and BB 67) onto my CM7.0.3 J022 system. The "non-failsafe" one from realunited123 was giving me frequent WLODs and boot-screen freezes, but DooMLoRD's failsafe pack of kernel/wifi appears to have fixed the problems.

Indeed, this has been the most stable (zero freezes/WLODs), least battery-draining (30%+ Deep Sleep), smoothest-feeling ROM I've ever installed. Add a camera, the "Car Home" app (isn't found on the Market for this) and Google Voice (N/A in Canada) and I could easily live out the remainder of my Rogers contract in peace.

Consider this a very positive test result. Many thanks to all Z, J, DL and everyone else involved.
[XPERIA X10 Android Development] iridaki:
No luck.

Video recording still doesn't work and now WiFi gives error too. :(
[XPERIA X10 Android Development] pietropizzi:
TipnMIU 1.5.5

Update to my prevoius post.

After disabling-enabling WIFI it doesnt reconnect to my router, must reenter Password.
[XPERIA X10 Android Development] realunited123:
Never mind.
[XPERIA X10 Android Development] DooMLoRD:
are u using ar6000.ko or wifi.ko?
[XPERIA X10 Android Development] camilo_chu:
you complete my X10i!!thank you
[XPERIA X10 Android Development] 315phatboi:
doom can u please post the link to the miui gb zkernel if there is one?
[XPERIA X10 Android Development] iridaki:
Actually, both are in the modules folder... :confused:
[XPERIA X10 Android Development] DooMLoRD:
verify permissions...

all modules should be 644

chmod 644 /system/lib/modules/*

additionally can u execute this:

busybox md5sum /system/lib/modules/*

and verify that wifi.ko & ar6000.ko have same hashes
[XPERIA X10 Android Development] pietropizzi:
Thats strange.

Cause after flashing your KernelZmixMIUI.zip i still have only wifi.ko inside which is right.

You must have flashed a package with the wrong GB module inside, not only the img file...
[XPERIA X10 Android Development] iridaki:
C:\Users\Iridaki\Desktop>adb shell busybox md5sum /system/lib/modules/*

fdc3822e1b3395e4ee5c359e9df65469 /system/lib/modules/ar6000.ko

41af7945d7f0dce148de1b4f1156b2af /system/lib/modules/wifi.ko

They don't have the same hash... What did I do wrong? :confused:
[XPERIA X10 Android Development] pietropizzi:
Try reflashiing your own pack again. An then only the boot.img for GB as doom told.

I'll try that now (still having just your pack with only wifi.ko inside)

will try dooms tip for using STATIC IP as I cannot reconnect to router
[XPERIA X10 Android Development] iridaki:
Thanks! I reflashed my zip again and removed the ar6000.ko

(turns out, I had indeed put it there by mistake! :p)

Then I flashed Doom's boot.img only (I had to rename it to boot.froyo.img)

but the problem persists. WiFi error and no video recording.

What are your results?