yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] Hzu:
Yeah, I know. I thought it'd work like the stock ROM where I flashed the Goro's package(3.60) and everything went fine. Haha.

EDIT : Still can't get it to work, the device boot but the kernel is not present. I've flashed all three files(boot.img, wifi.ko, and miniloader_v5). What am I missing? Currently on Free X10.
[XPERIA X10 Android Development] colossus:
Hi Doom,

Just to confirm that the wifi module does not work on cm7 roms as i tested it for somebody yesterday, this file works fine...

http://doomlord.sylvester20007.com/x10/custom_kernels/boot.img/boot.img_FreeKernel-mod362-GB.zip

but this wifi does not and gives error...

http://doomlord.sylvester20007.com/x10/custom_kernels/modules/modules_FreeKernel-mod362_wifi_CM7.zip

I did also try the other module listed and a few from your x series but no luck.
[XPERIA X10 Android Development] Hzu:
I've checked the kernel files and it did not flashed the files so I replaced them manually. But I still can't get the kernel to load.
[XPERIA X10 Android Development] DooMLoRD:
thanks for testing... i will flash on my phone and check...

thank you for confirming.. i will contact goro regarding this...
[XPERIA X10 Android Development] Hzu:
Also, I realised that Goro said he only tested the kernel on BB 52. *sigh* So it does not work on BB 54 eh? *another sigh....*
[XPERIA X10 Android Development] festa20:
Try it, I'm gna flash it on TripNMiUI GB 0.9.5 soon on BB65, will report back soon
[XPERIA X10 Android Development] tkymgr:
about kernel module

Hi all,

the kernel module checks a version magic at the time of start.

version maic is kernel name, for example my kernel version magic is "2.6.29-zdzihu-mod3.63".

when every compiling, i remake a kernel module.

so, the kernel module which adapted to it is necessary for a new kernel :)

i dont release mod-kernel 3.62 for cm7 !!

if u want, try mod 3.63 :D
[XPERIA X10 Android Development] DooMLoRD:
FreeKernel-mod350-Th#28 by ThJap

Linux Kernel Version:

2.6.29

Kernel features:

overclock & downclock undervolt optimized CPU setting (latency, speed ...)

128000- 900

245760- 950

384000- 975

576000-1000

768000-1100

998400-1275

1036800-1300

1075200-1300

1113600-1325

fps uncap

enable netfilter & iptable (can work droidwall, WiFi tether) [???]

change default to noop I/O scheduling (maybe good) from deadline

optimized into init.rc (sysctl, sche, tcp, memory thresholds, )

compiled by "GCC 4.4.5"

FIXED Camera FC on video recording

Call volume fix

disable another config for down size

disable cfs scheduler

Unsorted block images

disable many option (cifs, netfile, debug, tracer and more) for minimal

enable swap

SLAB allocating

saving battery drain

change kernel boot logo (Thanks to tkymgr)

change default CPU settings (in boot.img)

up_threshold 95 -> 90

sampling_rate 500000 -> 20000

add ignore_nice_load 0

init.rc:

disable some mkdir command on booting

disable services (nexus, bootsound, bootanim)

enable automation running in init.d script (only Th 2.1 kernel)

Requirements:

baseband .52 + the relevant kernel

clean 2.1 ROM, compatibile with .52 baseband

working xRecovery

Known Issues:

-

Tested On:

ThGo

Link to download boot.img (flashable via recovery):

[for 2.1 ROMs]

http://doomlord.sylvester20007.com/...mg/boot.img_FreeKernel-mod350_Th28-ECLAIR.zip

Additional file(s) provided with kernel:

kernel part of custom ROM

WIFI module

Bootloader Bypass files:

{there should be no need to use any of the following files but i am just keeping them for reference sake}

There seems to be some issues face by some users, where in using an older version of miniloader helped them sort out the issues. So I will provide all those versions.

Flashable update.zip via recovery, contains miniloader & splboot.ko:

bootloader_bypass_files_v1.zip [slightly older miniloader] {came with older FreeXperiaKernels}

bootloader_bypass_files_v2.zip [older miniloader] (testing only) {came with FreeKernel by zdzihu}

bootloader_bypass_files_v3.zip [older miniloader] (testing only) {came with Flashtool v0.2.9.1}

bootloader_bypass_files_v4.zip (recommended) [newest miniloader] {comes with newer FreeXperiaKernels (from CM7 J022 K011 onwards)}

[IMP]

for v4 miniloader: u need to be on the baseband from the baseband package provided in CM7 J022 for the v4 miniloader to work properly... even if u already have baseband 2.0.52 please reflash using the baseband package provided in CM7 J022...

[ I didnt get time to test these files. please post report if there was any problem to flash these files via recovery. THANKS ]
[XPERIA X10 Android Development] tkymgr:
Custom Kernel on SEMC GB2.3.3

I matched the version magic of the kernel source and compiled splboot.ko again, but I got WLOD :(

kmsg is

[ 2321.024508] Starting new spl
[ 2321.037647] Bye!
[ 2321.037753] Unable to handle kernel paging request at virtual address 00800024
[ 2321.037950] pgd = cc6c4000
[ 2321.038035] [00800024] *pgd=00000000
[ 2321.038155] Internal error: Oops: 5 [#1] PREEMPT
[ 2321.038282] Modules linked in: splboot
[ 2321.038415] CPU: 0 Not tainted (2.6.29-00054-g5f01537 #1)
[ 2321.038621] PC is at setup_mm_for_reboot+0x28/0xac [splboot]
[ 2321.038803] LR is at proc_splboot_store+0xdc/0x120 [splboot]
.
.
.
[XPERIA X10 Android Development] zdzihu:
In my understanding, they ported a lot of stuff from .32+ into this old .29 kernel, so splboot won't work out-of-the-box.

We need to wait for the new sources :)

Cheers,

z
[XPERIA X10 Android Development] serpent android:
Hi all.does anyone know what is the gpu power control level in kernel auditor settings,the default is set to 5 on adreno 530.thx
[XPERIA X10 Android Development] pathogen:
i cant get this file to work.. xrecovery says zip is bad

I did manage to copy the lib folder to the boot.img zip and get it to work that way :)

EDIT: enabling wifi causes bootloop
[XPERIA X10 Android Development] j.anderson618:
Sorry for posting get the zipsigner from market and sign it
[XPERIA X10 Android Development] jerpelea:
#define MSM_GPU_MEM_BASE 0x03000000 //0x03300000

#define MSM_GPU_MEM_SIZE 0x00200000 //0x00500000

#define MSM_FB_BASE	0x02B00000 //0x03B00000

#define MSM_FB_SIZE	0x00500000 //0x00300000

this is what i was talking about

we dont have now waking from sleep bug, only battery drain ;)
[XPERIA X10 Android Development] DooMLoRD:
yes u are right... apparently renaming a file within a zip corrupts it... :confused:

anyways... corrected update.zip for ar6000.ko module (cm7 only) uploaded (sorry for inconvenience)...

also please keep this thread clean for the devs to discuss the kernel development aspects...

for general discussions please use the following thread:

http://xdaforums.com/showthread.php?t=1018391
[XPERIA X10 Android Development] j.anderson618:
I know you just said for the devs.. but astro works perfectly for inserting items into an archive.
[XPERIA X10 Android Development] Bin4ry:
Wifi is working for me on my released beta3 kernel!

Are you sure you set the permissions right? Chmod 644 /system/lib/wifi.ko

Regards
[XPERIA X10 Android Development] Crowds:
In my case I've try to build the package from beta3 ( copy Ingram file through 7zip) and install through xrec. Could this be the reason? But it's odd.
[XPERIA X10 Android Development] MKD73:
Should it not be /system/lib/modules/wifi.ko , WB 6.1.3 v06 and wifi is not working :(
[XPERIA X10 Android Development] Bin4ry:
Yes sorry! /system/lib/modules/wifi.ko

I always miss the modules folder for some reason :D

I tested on WB Rom, you are right it's not working from System , but if you call the wifi enabling manually it works.

Also it works on SE-Rom (but you need other Ramdisk in boot.img for SE-Rom), on CM7 we have some problems with the wpa_supplicant, we are on that to fix it.

What i can say is that wifi is working with this kernel, problems are system related, for CM7 it will be fixed soon ;) We are working on the solution!

If you want to try on stock rom, use split_bootimg.pl -> take Kernel and repack it again with a stock ramdisk -> then boot this boot.img with stock ROM, you will get wifi with this custom kernel ;)

Regards
[XPERIA X10 Android Development] Tony84:
what do you mean for set the permissions right?
[XPERIA X10 Android Development] GlossGhost:
Bin4ry says, that You have to set the permissions to 644 (CHMOD)

Here's the numerical permissions:

# Permission

7 full

6 read and write

5 read and execute

4 read only

3 write and execute

2 write only

1 execute only

0 none

Here's one image: (Thanks to DooMLoRD)
[XPERIA X10 Android Development] 9Lukas5:
Sorry, but what means "call the wifi enabling manually"?
[XPERIA X10 Android Development] Bin4ry:
Beta4

Zip for xRecovery:

Stock-Roms [or Roms-which use STOCK as base]

http://www.multiupload.com/YBB52ER6JF

CM-Mod:

http://www.multiupload.com/S1NABNCZEB

For this version i switched ramdisk to a Stock-compatible one.

On Stock images Wifi should work out of the box, CM7 still needs some fixing for wpa_supplicant. J is working on it.

Other Roms ? -> no idea, test yourself :P

Regards

Bin4ry
[XPERIA X10 Android Development] timotuithof:
Do you have any ideas for making a kernel on BB 54 and higher??
[XPERIA X10 Android Development] break1:
+1

Is it possible to have custom kernel on other basebands? I dont wanna stuck on bb52 forever :p
[XPERIA X10 Android Development] Bin4ry:
yes, but why? BB52 is the best one, on >= bb54 some functions are broken. For example automatic time is broken for me (Stock ROM).

So i don't like it!

Why don't you simply switch to BB52?

But normally it is possible to build kernels for bb54!

Regards

Bin4ry
[XPERIA X10 Android Development] meddle70:
Hey binary do we just flash the zip in recovery? Can someone post a screenshot of of what the about phone looks like? I want to test this out.

Thanks!
[XPERIA X10 Android Development] break1:
Cause i simply have the best battery life on bb58. And i think thats an important aspect,right? :)
[XPERIA X10 Android Development] Bin4ry:
No!

You can have the same or even better battery life!

The Batterylife is mainly controlled by kernel, cpusleep, speed, voltage etc. etc.

NOT baseband. So we are able to reconstruct these functions even on BB52!

So if this kernel is finished we will have even a better batterylife than on STOCK kernel with bb58 ;)

Regards
[XPERIA X10 Android Development] meddle70:
I've gotten over a day and a half on bb 52 no problem.

Im not sure if this kernel is working on froyo roms. Someone can prove me wrong.
[XPERIA X10 Android Development] Bin4ry:
Yes use xRecovery as on every other xRecover zipfile!

Your about phone should state:

2.6.29-FreeXperia_beta4

TheDoctor@Tardis

Regards

Bin4ry
[XPERIA X10 Android Development] 9Lukas5:
I have tried k004 on freex10 rigt now:

first start a lot fcs from system and other things (it was heavy to click restart cause of the many fc's who opened again and again)

after that i gone to xrec again and cleared cache and dalvik cache

now it always hangs after the lines "Goroh cuomized SPL, Booting custom kernal..., bye!

now flashing back k003

Bin4ry, i ask it again, what means to enable wifi manualy??
[XPERIA X10 Android Development] break1:
Okey, i'll give it a try tonight,lets see what happens :)
[XPERIA X10 Android Development] laill:
Sorry r spamming,but same for wb v6

cheers,

L

Sent from my rooted Xperia X10
[XPERIA X10 Android Development] Bin4ry:
I added another zip for use on CM-mod builds.

This builds need another Ramdisk!

So 2 zips included. Regards.

@9Lukas5:

To start manually you have to insmod with right parameters and use eeprom.ar6002 -> send eeprom files if it not does automatically.

also start wlan_tool with right parameters.

You have to google the parameters, i'm not sure yet and it was too much :D There is an startscript for this if you google a little.

Actually i have them on the other pc ;)

Regards
[XPERIA X10 Android Development] 9Lukas5:
ok....i must go now and it isn't so important that i couldn't life without wifi, so if you have could you upload it and send a pm with the link or if it's not such a huge file you can simply mail it me to Lukas.Wiest@kies-gmbh.de

thanks
[XPERIA X10 Android Development] laill:
For the CM build,it boots

but wifi still error(need to do it manually?)

Long press on screen cause fast reboot

chders,

L

Sent from my rooted Xperia X10
[XPERIA X10 Android Development] break1:
hey guys,

i flashed wolfbreaks latest rom, cause i wanted to try new custom kernel.

after that i did:

- flashed baseband 52

- flashed baseband patch 49-52

- booted into system, crashed system server(to get network and data)

- waited 1-2 minutes

- booted into xrec and installed FreeXperia custom kernel beta 4

- rebooted

rom started with stock kernel, what did i do wrong? hope someone can help me!
[XPERIA X10 Android Development] laill:
1)wrong thread

2)to activate custom kernel,you need to flash the activation patch

3)beta4 is somehow still have problems

cheers,

L

Sent from my rooted Xperia X10
[XPERIA X10 Android Development] break1:
which activation patch?
[XPERIA X10 Android Development] Tony84:
hi, installed it on miui gbread trip 0.02 with bb 49, but in phone infos there's still the stock kernel. why?
[XPERIA X10 Android Development] cjsabaki:
Tony,

After u flash the kernel, flash trips kernel addon 1 or 3, reboot should have bin4ry's new kernel now.

Sorry for spamming dev's

Chris

Sent from a kustom kernel Trip!NMiui special!
[XPERIA X10 Android Development] GiZmo80:
Im on CM7v15 after flash ur new CM Kernel my mobile boots but get extrem fast an WLOD

Is it my fault? With k003 all is verry smooth but bat is draining fast
[XPERIA X10 Android Development] SkyStars:
Fresh install of J's CM7 v15 k002,

CM-Mod beta 4 kernel: WLOD or fast boot after making it to the lockscreen.

Stock-Roms beta 4 kernel: Doesn't Boot past SE screen
[XPERIA X10 Android Development] HunteronX:
Using the CM-Mod beta 4 kernel on Wolfbreak's rom (CM6.1.3 v6), the phone boots fine, but wi-fi still doesn't work - it just says 'Error' straight away, unlike before with the version 003 kernel, where there was a pause first.

Thanks for your work, though, Bin4ry. Hopefully, these bug reports will help. :)
[XPERIA X10 Android Development] break1:
how did you get the kernel to work??
[XPERIA X10 Android Development] Tony84:
I did as you say but I can't pass over the black kernel boot screen..
[XPERIA X10 Android Development] Koloboк:
Guys do you read first post?

Thread for reports: http://xdaforums.com/showthread.php?t=1018391

Mods delete our spam please.
[XPERIA X10 Android Development] HunteronX:
Here's my edited chargemon file.

It also included in this flashable zip (FreeXperia_kernel_beta4_edited.zip) - I edited the contents of Bin4ry's one.
[XPERIA X10 Android Development] DooMLoRD:
@HunteronX

thank you!!

@ALL

the file posted above should be used only if u have xrecovery (not freexperia recovery)

those files should work for FreeX10-beta4 & its derivatives (most other froyo roms available here)

DO NOT TRY THE ABOVE FILES in CM7 ROM or STOCK ROM if u have FreeXperia Recovery installed

if u break ur recovery its ur own fault...

P.S.:

in xRecovery the recovery was placed @ /system/bin/xrecovery.tar

in FreeXperia Recovery the recovery files are shifted to @ /system/recovery/recovery.tar.bz2 OR /system/recovtools/xrecovery.tar.gz
[XPERIA X10 Android Development] RaDi:
@ Bin4ry

is there a differant between X10 & Arc looked phone ? like orange ?

can u try to See this one :: http://www.megaupload.com/?d=WZE79YZN

its offical ROM for Arc modifide , Arc users say that they flash it by your last Flash tool !

and this is more intesting , its the looder For Arc! http://www.multiupload.com/KN7SQNKLQ2

what can we do with those files ? ?

--

RaDi13
[XPERIA X10 Android Development] lichti1901:
Hey Bin4ry, is ur beta 4 kernel working on wolfs 6.1.3?
[XPERIA X10 Android Development] Bin4ry:
Well for ROM questions you just have to try :D I'm busy with fixing bugs, just like J ;)

BTW:

Anyone tested on an Stock ROM? My tests on STOCK SE Rom showed that WLAN in Kernel is working fine, so in my eyes the WLAN problem on different ROM's can't be kernel related.

Regards
[XPERIA X10 Android Development] Bin4ry:
Thanks, but i have this files. It's no use for ME. I think ROM creators can better use this ;) I'm mainly working on the kernel. :)

Regards
[XPERIA X10 Android Development] DooMLoRD:
Bin4ry do u want to this tested on both baseband 2.0.xx stock SE rom & baseband 2.1.5x stock SE rom?

i have X10i_2.0.A.0.504_stock & X10a_2.1.A.0.435_stock... tell me if its a priority i will test it and report back asap...
[XPERIA X10 Android Development] GiZmo80:
So will there an kernel update in few hours?
[XPERIA X10 Android Development] pato66:
Please, I dont can install the custom kernel 4, after install sd card say broken, can you help for install it? I have a stock rom bb054 firm. 435.

Thanks in advance

Cheers

Please after answer this question delete the post, thanks for understand.
[XPERIA X10 Android Development] MKD73:
Used firmware on stock .504 with BB49 and 52 and wifi/data works perfect although switching on GPS causes reboot .
[XPERIA X10 Android Development] Bin4ry:
I have no idea HOW you installed, so i cannot answer. Need more input to help you.

Thanks for the info! That's very good :)

Regards
[XPERIA X10 Android Development] RaDi:
@Bin4ry

:) , you have toled me befor that only .sin files that register by SE, so arc files already register , so what happend if we use arc looder on X10 , could that change any thing on fastboot ?
[XPERIA X10 Android Development] Bin4ry:
No, you misunderstood a little. Arc loader.sin is also singed (sin=signed)!

This signature does not match the one of X10. So we cannot load ARC firmware to x10, we can just extract contents!

But thats still no real use for ME, because i'm just interested in stable kernel now :P

Other Rom cookers will have their eyes on ARC, some of them have used launcher already, you see there is progress ;)

Regards
[XPERIA X10 Android Development] Bin4ry:
I think the chargemon you installed does not fit your Rom.

If you have stock rom installed now: Take flashtool and install xrecovery from there. I think it will work then again.

Regards
[XPERIA X10 Android Development] GlossGhost:
Is it because the xrecovery puts a new chargemon?
[XPERIA X10 Android Development] DooMLoRD:
X10i 2.0.A.0.504 Stock SE ROM

tested on:

X10i 2.0.A.0.504 Stock SE ROM

baseband:

2.0.52

kernel version displayed:

2.6.29-FreeXperia_beta4

TheDoctor@Tardis

Wifi WORKS!!!

No issues with GPS (indoors right now so not getting gps lock)
[XPERIA X10 Android Development] DooMLoRD:
X10a 2.1.A.0.435 Stock SE ROM

tested on:

X10a 2.1.A.0.435 Stock SE ROM

baseband displayed:

Unknown

(should be 2.1.54)

kernel version displayed:

2.6.29-FreeXperia_beta4

TheDoctor@Tardis

couldnt test wifi...

device reboots in few seconds once it gets into OS...

will try flashing baseband 2.0.52 and then try again...
[XPERIA X10 Android Development] DooMLoRD:
How to find the version/type of recovery on ur current ROM

How to find the version/type of recovery on ur current ROM

the reason i have posted this is so that ppl can understand which update.zips to flash... sometimes flashing update.zips which contain different chargemon can break recovery... also i was planning, may be in few days time, to upload pre-modified chargemon files for all recoveries to enable/disable custom kernels...

if u dont already have GScipt lite then u need to install the following app GScript Lite, our fellow XDA member rogro82 has posted this tool here

download the attached "find_recovery_type.txt" script and save it as "find_recovery_type.sh" in the /sdcard/gscript/ folder...

once thats done, launch the app, click on menu button, "Add Script"... and select "find_recovery_type.sh" from the file list... now save and run this script

now depending on the recovery installed u will get either of the following outputs:

xRecovery FOUND!

FreeXperia Recovery FOUND! [TYPE 1]

FreeXperia Recovery FOUND! [TYPE 2]

xRecovery is located at: /system/bin/xrecovery.tar

FreeXperia recovery [TYPE 1] is located at: /system/recovtools/xrecovery.tar.gz

FreeXperia recovery [TYPE 2] is located at: /system/recovery/recovery.tar.bz2
[XPERIA X10 Android Development] anders260:
worked, thanks Doomlord

please delete
[XPERIA X10 Android Development] Pawnty:
So, xRecovery is the optimal version of the three to have?
[XPERIA X10 Android Development] paolo599:
Why is there not a kernal with both 32fps unlocked and overclock?
[XPERIA X10 Android Development] jimbo77:
I've flashed the Custom Kernel Beta 4 and I'm still having problems with WIFI it says ERROR and the camera gives me FC at the opening. Vignete works well though ...
[XPERIA X10 Android Development] AN7 OverClocker:
with beta4 turning on the wifi takes some time before i get an error like beta3.

Also BT wont turn on.

Gps though is working ok.

Achotjan v010 cm6.1.3 which is based on Freex10
[XPERIA X10 Android Development] ChilliBo:
Hello

Im New with this custom Kernels. I dont get it work. Ive flashed the cm Version on WB v.6.0 ROM With xrecovery 0.3 With using custom zip. Its still the Stock Kernel. What did i wrong? Sry but there so many ways for each Kernel to install .. cant figure it out

A helpin Hand is needed.

BB 52

Wb ROM 6.0

Regards
[XPERIA X10 Android Development] 9Lukas5:
Hey,

@Bin4ry: I have tried k004 for stock on beta 4 cause to that time there were only the one version of k004, that one for cm7 i haven't tested yet. Are there any changes to k003?

Report to k003/Beta3 by Bin4ry tested on free x10 b4h1:

had no wlods yet

cause the overclocking to 1.1 ghz phone feels very fast

so far had no problems except the known issues that wifi/bluetooth doesn't work.

data connection works fine

battery life is normal. That means:

10% battery are gone in 15h 17m 48s:

31% cell standby

30% display

28% cell inactive

4% Opera mobile

4% Navigon Select

3% system

3% calls

Notice for my battery configuration:

My screen brightness is about 33%, i use a task killer and setcpu with the profile "screen off" min/max freq = 245/245 Mhz. In all other situations (screen on, charging...) phone can scale from 245 to 1113 Mhz by ondemand.

I use custom kernel k003 as daily at the moment, if an update comes that can make wifi/bluetooth working on normal way, i would say this kernel is ready for more optimizations.
[XPERIA X10 Android Development] Chillaxed:
i wondered this as well. there was a kernel released before that had the fps limit removed, and j said all you need to do is set something to "0" and it's unlocked. the current roms are overclocked btw.
[XPERIA X10 Android Development] youssef123452002:
I'm with u

I've tried the kernel with the fps cap removed and its so much smoother

I think that fps cap removal has a more noticeable effect

I hope it will be removed in the next version

Thanks
[XPERIA X10 Android Development] Bin4ry:
we are working on fps cap remove. But as you seen we ported so much functions and optimized so much stuff =)

See sources, we are not on "just modded" stock kernel anymore! So it's a little bit more tricky, but in the end it will be better than just staying with SE's kernel and modify it.

So a little patience please :P

Regards

EDIT:

For latest infos about what we do just check the GIT :)

https://github.com/freexperia/FreeXperia
[XPERIA X10 Android Development] ChilliBo:
Buddy i downloaded ur beta4 and flashed it with xrec but it still loads the stockkernel . I need to do something else?

BB 52

Wb 0.6 Rom
[XPERIA X10 Android Development] jimbo77:
Yes, you need to place Miniloader and splboot.ko files in /system/kernel - They're found on 1st post of this thread...

After that you just chmod 644 them and you'll be set...

Ohhh 1 last thing you'll need a propert Chargemon file...

What ROM do you have?

Jim
[XPERIA X10 Android Development] ChilliBo:
Im running wolfbreaks 0.6

How i do chmod 644?

Im New with kernelmodding sry.
[XPERIA X10 Android Development] Flo95:
So we can overclock the stock 2.1 firmware with that kernel and all functions?

Thinking about flashing to an older firmware that supports bb .52 now :D