yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] fiscidtox:
that would definitely explain why it is so glitchy...
[XPERIA X10 Android Development] agentJBM:
That's what the SE dev said....

BTW, I think it is awesome that the SE devs are communicating with the ARC devs in the XDA forums, and even answering X10 dev questions. I know you hate it when I do this but.....Good job Sony Ericsson. ;D
[XPERIA X10 Android Development] DooMLoRD:
here is wht the SE dev had to say...

http://xdaforums.com/showpost.php?p=13862741&postcount=34

the thing is w/o the build.prop hack the if we use k010 on Froyo roms we can get ~54fps consistent in FPS2D and the OS/device is really smooth... the same kernel on GB/CM7 is limiting the FPS2D scores/value to ~40fps.. though its definitely smoother than on stock kernel there is still little lag sometimes when scrolling thru menus...

so its definitely NOT THE CASE that X10 cannot handle ~30Hz refresh rate... on the contrary it can easily handle ~50Hz (as seen from various tests on custom kernels)...

with the build.prop "hack" there is a noticeable improvement BUT there are lots of artifacts in menu transitions/popups... as the SE dev said it does degrade user-experience...

all said and done SE can surely lift the FPS cap to ~60fps on their future kernels for X10 (hopefully)
[XPERIA X10 Android Development] anantshri:
wifi monitor mode

Hi all Dev's hope i am not distrubing all.

however in the new kernel's if anyone is interested can they see if wifi monitor mode could be enabled at driver level.

will make our pretty X10i instant killer.....
[XPERIA X10 Android Development] agentJBM:
Thanks for your answers. I am not a developer, but I don't see them lifting it if they believe it will effect performance in any way.

Yes, I knew it was you. That's why I asked you. I should have clarified, different thread.
[XPERIA X10 Android Development] peligo:
- Flashed custom kernel k010.1 - NO UV

- Installed "wifi_bt_fix-fxk_froyo_v01.1"

- Installed "wifi_driver_k010_NoUV.zip : WiFi Driver for FreeXperia Kernel K010(NoUV)"

Rebooted.When it finished preparing SDcard, loading 3g watchdog, Lookout... then, got WLOD. Rebooted, same above and WLOD, and it enters in a loop.

So, entered FXRecovery, reflashed custom k010.1 and only wifi fix, and it is working till now... still, no Deep Sleep in Wolfs rom (just a few minutes of testing).

I am probably using "new miniloader", installed bootloader with Lukas file: "2.6.29.6 FX k010 froyo FXR busybox in xbin v06.zip"

Should i try installing old miniloader?
[XPERIA X10 Android Development] DooMLoRD:
give it some time... few minutes is not enough... u need to atleast test for few hours...

if u are uncertain which version of miniloader u currently have u can use this:

flash find_miniloader_gscript_v1.zip via recovery, install GScript from market...

launch GScript -> Add Script -> Load file -> select find_miniloader_version.sh file -> Save script -> Run script to see which miniloader version is on ur rom currently
[XPERIA X10 Android Development] AN7 OverClocker:
i ll post it here too,

You can see if your phone goes to deep sleep within 2 mins after the phones boot.

To test it for hours to see if the phone is going to deep sleep is just a waste of time.
[XPERIA X10 Android Development] DooMLoRD:
my friend we are not checking if ur rom is going into deep sleep only... there are tons of battery issues / other issues which are coming up... thats why i have posted that u atleast check for 12 hrs...

also when u flash a new ROM/wipe cache/etc there is a time taken by the system to cache the apps/data/etc so thats why 2 mins of rom usage will not tell u anything...

u need to give time for the rom to settle down... there a lots of factors which affect battery life... a 2 min glimpse on wht u were doing right now is not going to give any idea abt ur battery usage...

EDIT:

and this is precisely why testing needs to be done -> http://xdaforums.com/showpost.php?p=13922980&postcount=8847
[XPERIA X10 Android Development] DooMLoRD:
i had already explained in great detail as to wht we are testing:

http://xdaforums.com/showthread.php?p=13886881#post13886881

the point was to locate the cause of battery drain/reboot issues... and hopefully something useful was found:

http://xdaforums.com/showpost.php?p=13922980&postcount=8847
[XPERIA X10 Android Development] sathurnn:
excuse me, when j says " i will use the one from fix that is working", what bootloader is he referring to?

thanks
[XPERIA X10 Android Development] DooMLoRD:
the older miniloader file...

it can be found on most CM7 related threads... there are a few threads by 9Lukas5 which contain links to download that file...

also i have provided the files in 1st post of this thread and most individual kernel posts in this thread....
[XPERIA X10 Android Development] Mr. Clown:
Thread cleanup, back on topic please.
[XPERIA X10 Android Development] Flo95:
Does J's K010 work on a SE 2.1 ROM with bb .52?
[XPERIA X10 Android Development] G-FACE:
OK, so. Here I am again with some testing.

Runing Wolfs' v006. k10 020b. No Set CPU. After 20 hours I have 20% drop down with not so heavy use (Mainly telephone use).

@ DooMLorD

Maybe it will be helpfull to you. Yesterday I was testing, and the phone was going to deep sleep normaly. I started to charge and when it was 100 % I disconnect the charger and feft the phone. When I got back to it after an hour the batt was dropped by 10%. I start CPU spy and saw it didn't got into deep sleep.

So what did I do. I charged the phone again to 100%, restart the phone and after the restart the phone again was able to go into deep sleep.

Seems like for me the restart fixed the deep sleep issue. At least for this charging cycle. Will see if on next charge the deepsleep will be broken again and if the restart will fix it again.
[XPERIA X10 Android Development] DooMLoRD:
u seem to be using the UnderVolted version of kernel k010 [timestamp-> May 13 14:12:03 EEST 2011] (http://xdaforums.com/showthread.php?p=13752327#post13752327)

there is a newer version of kernel k010 which has UnderVolt removed [timestamp-> May 14 12:42:58 EEST 2011] (http://xdaforums.com/showthread.php?p=13794692#post13794692)
[XPERIA X10 Android Development] G-FACE:
Yes I know, but if J020b is ok with the battery is there any reason to move to J20c.
[XPERIA X10 Android Development] DooMLoRD:
the NoUV (No UnderVolt) version was released since some users were running into frequent reboot/crashes problems... if the undervolt kernel works properly without any issues for u then there might not be any need to shift to NoUV kernel... and anyways if the chip on ur x10 is supporting UnderVolt properly, u will always get better battery with it active...

though for the sake of testing can u also try the NoUV version of kernel k010 so that u can compare battery performance urself...

also i have a few questions if u are willing to answer them:

1) which version of miniloader are u using

in ADB shell u can run:

md5sum /system/kernel/miniloader

and post output here

2) are u using any specific tool/app to cap max cpu freq to 768 Mhz? cause ur CPU is never entering 998 MHz & 1113 MHz mode

thank you
[XPERIA X10 Android Development] G-FACE:
I'm am not experiencing any wlods and crashes with the UV version. I guess i'm lucky :) for now.

I've tried the non UV version J020c before couple of days and i get a big battery drain with it (it was not entering in deep sleep) and I got back to 020b, but I didn't make the trick with the restarting to see if it will fix it. When I have time I will try it again, but it wont be today.

1) the md5sum is: c2364ffc1eaf60f184c844cbb876d32b, so which miniloader is it?

2) Aaaa ****, I thougth I swiched off setcpu, but now I saw it is started in the processes. I thought i've unticked "set on boot: option.
[XPERIA X10 Android Development] Justinhopaolo:
thanks for your experiments sir..

i love this k010 on 2.2 cm613.

it's comparable to the speed of the iphone

will be trying this later after 100% charge

* did you install anything else after the kernel??
[XPERIA X10 Android Development] Justinhopaolo:
The 2nd indicates unused cpu state

...how come? Did you install something else?
[XPERIA X10 Android Development] DooMLoRD:
there seems to be one more miniloader version floating around:

miniloader (FlashTool v0.2.9.1)

3027be419599e5f9a8774c6ae9573407

here is a flashable zip for this: (ONLY FOR TESTING)

[SPECIFICALLY FOR THOSE HAVING "DEEP SLEEP" ISSUES]

bootloader_bypass_files_v3.zip
[XPERIA X10 Android Development] G-FACE:
No i didn't.

Yes, i forgot somehow Set cpu running. But I removed it after a while.
[XPERIA X10 Android Development] The Gingerbread Man:
Cm7 v20c k10 no uv

Thanks doom but for now

I restored my back up and installed abovd file. Will try this one from a fresh install tomorrow

Edit; this mini loader gives an interesting result from the 'find mini loader version' script from g script.
[XPERIA X10 Android Development] svejstrup:
@DooMLoRD

i tried the bootloader_bypass_files_v3.zip and i works! my phone didn't go into deep sleep before but it does now :)

wolfbreak's 2.2 K010

edit: ok i said that too early.. the first couple of minutes it worked but now it doesn't anymore :(
[XPERIA X10 Android Development] DooMLoRD:
ya because when i made that script i only knew abt two versions...

here is the newer script to search for all 3 miniloader versions:

find_miniloader_gscript_v2.zip

(flash via recovery and reload in gscript)
[XPERIA X10 Android Development] Shaumux:
@DoomLord

Which of the these miniloaders is actually the newest?

Do you have any idea about the differences in these, except the removal of the debug code that was mentioned earlier?
[XPERIA X10 Android Development] DooMLoRD:
the newest is the one supplied with latest CM7 versions...

or if u want to download it separately u can download it from post #1 of this thread: bootloader_bypass_files_v1.zip
[XPERIA X10 Android Development] Shaumux:
And this is the one people are having the deep sleep problem with?

I thought only some debug code was removed from the newer versions.
[XPERIA X10 Android Development] cocolwsq:
I'm on the WB's v006 rom with K010 J020b, and everything looks fine except for I can't go into deep sleep.And I flash the zip bootloader_bypass_files_v3.zip,and still can't go into deep sleep.:( Any suggestions?

I use setCPU to limit max to 998 and set max/min to 245 when screenoff for a better battery performance. Even without these settings I can't go into deep sleep either.
[XPERIA X10 Android Development] Justinhopaolo:
What basebabd should I he on to install WB with k010 kernel?

The speed of that phone is just iphonish
[XPERIA X10 Android Development] kivi90:
you need .52 bb to use custom kernel you NEEEEEEED.But they almost do nothing that really improve your device at the moment and i think one day later after you get them to work you will spam this thread how to go back to stock kernel because your phone sucks battery now.

sincerly

Ive edited the post - PiLoT
[XPERIA X10 Android Development] Justinhopaolo:
----------------------------
[XPERIA X10 Android Development] realunited123:
----EDITED----
[XPERIA X10 Android Development] kivi90:
Hey guy good news i got to tell you it seems i found a fix for

"unplug device from charger ****s up deepsleep aka cause high battery drain issue on custom kernel =)

As allready know custom kernel have nice things like removed fps cap

and Overclock but what are those benefits when you leave your phone

and battery says F*** U. Nothing but i found a fix.

First we all installed .52 baseband and the custom kernel. Let me give

you full overview of my installation.

1.Freshinstall 2.1

2.Flash Baseband .52

3.FLash xRecovery

4.Bootet into xRecovery

5.Wiped everything like normal

6.Installed Rom (in my case WOlfbreak v006+61patch+tw007+timescape...

7.Bootet +let it settle

8.Because wolf Rom comes with own Recovery i opened Flashtool and

clicked on install xrecovery to delete the rom based recovery and get

right recovery for custom kernel.

9.Bootet into xrecovery install bootloader_bypass_files_v3.zip which

is especially for everyone that have problems to get into deep sleep

10.install boot.img_FreeXperia-Kernel-k010_NoUV_.zip

11.then chargemon_FXRec_default_Custom.zip to actually boot the custom

kernel.

12.Then modules +wifi and BT fix for who knows it?right working bt and

wifi xD

This might be the precedure many of you followed and maybe you

actually got deepsleep after you bootet up. The problem now was that

after you connected your device to the charger deepsleep ****ed up and

you are not able to get back into it and you had to reboot phone.

Because this is really anyoing especially when you just want to copy

anything to your device and have to reboot everytime.So i focused at

the problem "anything that is related to usb/AC kills my deep sleep.

The solution was i downloaded an app called "autostarts".Its a pretty

nice app i used to turn off some apps before "autostarting" when i

dont even need them. But it can even more when you scroll down you can

see the options "power connected /disconnected". i tried my luck and

disabled the option that is related to "Energiesteuerung" when you

have english language it maybe called energymanagement or sth like

that. I use the device since a half day now and plugged/unplugged the

device several times and checked the deep sleep with CPU spy and

BAAAAM it works =).Hope for you it works too feel free to try it out

just get a app that could switch off and disable autostarts for power

connection.

PS:IT IS NOT FULLY FIXED IT "COULD" BREAK SOMETIMES BUT IT FIXES THE BREAK AFTER CHARGING BUT ITS AN IMPROVEMENT".

greets Kivi
[XPERIA X10 Android Development] DooMLoRD:
FreeXperia Kernel-011 / beta11 by jerpelea (from CM7.0.3 FINAL J021 K011 & CM7.1.0 RC0 J001 K011)

Linux Kernel Version:

2.6.29.6

Kernel features:

fixed deep sleep issues (???)

removed UV & OC

kernel 2.6.29.6

a lil more free ram

Fix FrameCap (Thank Z)

addded all mtd partitions (Thank Z)

volume fix

compiled with new gcc 4.4.3

changed SLAB alocator to SLOB

enabled swap support

added Tiny RCU

FPS cap removed

fixed iptables

Requirements:

baseband 2.0.52

[FOR CM7] use included baseband pack

Known Issues:

-

Tested On:

Cyanogen CM7.0.3 FINAL J021 K011

Cyanogen CM7.1.0 RC0 J001 K011

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

http://www.mediafire.com/?ch58saj83juyz81

MD5 hash of boot.img:

d1683fcaa42da05948c5ffc96690ee45

Additional file(s) provided with kernel:

kernel part of custom ROM

WIFI module (for CM7.0.3 / CM7.1.0)

WIFI module (for other roms)

Thank you realunited123 for providing the above files...

Bootloader Bypass files:

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 [newest miniloader] (recommended) {comes with 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}

[ 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] youssef123452002:
just tried k11 on freeX10 and wifi gave me an error

(I used the •WIFI module (for other roms))
[XPERIA X10 Android Development] DooMLoRD:
for froyo u will need wifi/bt fix

wifi_bt_fix-fxk_froyo_v01.1.zip : patch module

from:

http://xdaforums.com/showthread.php?t=1077437
[XPERIA X10 Android Development] youssef123452002:
Thx that worked
[XPERIA X10 Android Development] kivi90:
One question i read in the changelog "added UV/OC" but secpu shows me maximal clock speed of 998 removed fps cap works fine tested in quadrant and also wifi modules work without problem.

PS: i dont get deep sleep with bypass_v1 and v2 just with v3 can anybody confirm?
[XPERIA X10 Android Development] DooMLoRD:
ya probably J forgot to edit it for Kernel-011 ;)

some users have confirmed that OC is removed... also UV was removed in Kernel-010 itself

its really not clear as to why a different version of miniloader works... but hey if its working for you its good!!

thanks for sharing...
[XPERIA X10 Android Development] newalopez:
I get it with the bypass that comes with the 'screen off' fix, don't know which version is that one.
[XPERIA X10 Android Development] tsuyo.kou:
Help please

I don't know how to make boot.img from kernel.sin

It seems that Sin2Img doesn't work correctly to kernel.sin.

Does anyone know how to make boot.img from kernel.sin or have a boot.img of SE Stock ROM?

I want a ramdisk of stock rom for test purpose.
[XPERIA X10 Android Development] DooMLoRD:
i think the kernel.sin is the boot.img... just try renaming it to boot.img and try...

also i think the stock ramdisk is already there on the device... u can just flash Stock FW and get the stock ramdisk from:

/init*.rc

/ueventd*.rc

scripts
[XPERIA X10 Android Development] tsuyo.kou:
Thanks for reply,DooMLoRD

kernel.sin wasn't equal to boot.img

I renamed it to boot.img and tried to split zImage and ramdisk.

but didn't work correctly.
[XPERIA X10 Android Development] realunited123:
Doesn't kernel.sin contain the signature headers?

Sent from my X10
[XPERIA X10 Android Development] arkedk:
I believe that kernel.sin is encrypted with red key. So it's not possible to decrypt it with SIN2IMG.
[XPERIA X10 Android Development] kivi90:
Ok to early for party xD seemed that deep sleep was finally fixed for me but when i woke up today battery was nearly empty cpu spy showed that deep sleep broke after 7 hours =(
[XPERIA X10 Android Development] Justinhopaolo:
hi im also on bb 49 because a lot have tested and deep sleep most of the time works on this bb..

im having problems with wifi after ive installed the latest update by jerplea..

anyone who has a solution for this issue?

it seems to detect the wifi networks but upon trying to connect. it always fail to do so

EDIT: SIMPLE restart once was the solution
[XPERIA X10 Android Development] DooMLoRD:
FreeX10-beta4-hotfix1 custom kernel test

FreeX10-beta4-hotfix1 custom kernel test...
[XPERIA X10 Android Development] DooMLoRD:
updated all download links...

now the boot.img is in a update.zip which is flashable via recovery...
[XPERIA X10 Android Development] zdzihu:
1. Custom kernel sources: http://www.mediafire.com/?c2qfhhohi40f7l4

2. Disable fps cap: set hwsync to 0

3. Switch to 24bit color (16.7M colors): panel_data->panel_info.bpp = 24

NOTE: Apparently there's still some kind of lock in prorprietary EGL drivers, so it won't work for now...

Cheers,

z
[XPERIA X10 Android Development] AN7 OverClocker:
DooMLoRD i think the best is to include both .img and .zip files to your posts
[XPERIA X10 Android Development] rdannar:
wich part of the boot img is it, init, init.rc, initea209a.sh, etc....
[XPERIA X10 Android Development] jerpelea:
to enable 24 bit color you have to enable also 24 bit color in framebuffer

i have enabled it and used 24 bit gralloc.qsd8k

the result

readable image but bw image :(

also if you look at mem alocation map es209ra has 1/2 mahimahi video mem alocated

......we have to dig dipper
[XPERIA X10 Android Development] kafej666:
What about this:

\include\fb.h

and lines like:

__u16 input;	/* display type - see FB_DISP_* */

__u16 dpms;	/* DPMS support - see FB_DPMS_ */

__u16 signal;	/* Signal Type - see FB_SIGNAL_* */

__u16 vfmin;	/* vfreq lower limit (Hz) */

__u16 vfmax;	/* vfreq upper limit (Hz) */

__u16 gamma;	/* Gamma - in fractions of 100 */

__u16 gtf	: 1;	/* supports GTF */

__u16 misc;	/* Misc flags - see FB_MISC_* */
[XPERIA X10 Android Development] kafej666:
and this one:

\arch\parisc\kernel\perf.c

Line 331:	interface_type = (image_type >> 16) & 0xffff;

\arch\sh\boards\mach-migor\setup.c

Line 219:	.interface_type = RGB16,

Line 244:	.interface_type = SYS16A,

\arch\sh\boards\board-ap325rxa.c

Line 174:	.interface_type = RGB18,
[XPERIA X10 Android Development] kafej666:
This one looks promising:

\drivers\video\sh_mobile_lcdcfb.c

Line like:

Line: 339 tmp |= (priv->ch[k].info.var.bits_per_pixel == 16) ? 3 : 0;

or

priv->lddckr = icksel << 16;

or

red >>= 16 - info->var.red.length;

green >>= 16 - info->var.green.length;

blue >>= 16 - info->var.blue.length;

transp >>= 16 - info->var.transp.length;

and define PALLETE_NR 16 (WTF is this ;) )
[XPERIA X10 Android Development] kafej666:
\drivers\video\msm\mddihost.h and mddihost.c

EDIT:

Line:

var->bits_per_pixel = bpp * 8;	/* FrameBuffer color depth */

in \drivers\video\msm\msm_fb.c

ps. This must be in this folder "msm"
[XPERIA X10 Android Development] Bin4ry:
FreeXperia beta3:

http://www.multiupload.com/M4EPY5N11E

Kernelversion:

2.6.29-FreeXperia_Beta3

TheDoctor@Tardis

Changelog:

-Wlan fixed (use included wifi.ko)

-gps fix

-undervolt

-overclock

-cpu cahe fix

-removed cdrom

Have fun.

Regards

Bin4ry
[XPERIA X10 Android Development] jerpelea:
not used on es209ra
[XPERIA X10 Android Development] GiZmo80:
After update via xrec still Freexperia #1 in settings visible Is that right or was it my failure?

Running J's CM7 v15 k002
[XPERIA X10 Android Development] 9Lukas5:
flash the zip file i posted above via xrec, then there should stand FreeXperia_Beta3

TheDoctor@Tardis
[XPERIA X10 Android Development] GiZmo80:
THX I'll give it a second try
[XPERIA X10 Android Development] DooMLoRD:
Ok... please dont use that file... it will replace ur /system/bin/chargemon (and might break recovery)....
[XPERIA X10 Android Development] Bin4ry:
I think you gave it the wrong filename :D

2.6.29_FreeXperia_k003_by_jerpelea.zip ?!

Regards

Bin4ry
[XPERIA X10 Android Development] ImS0Raw:
Bin4ry great work. Keep going! You are truely a legend! But can you confirm, that the kernel works on 2.2.1 and that the above provided zip file of the kernel is flashable with xrecovery?

Best whishes,

Playgunsta
[XPERIA X10 Android Development] Justinhopaolo:
it's official.. i never got deep sleep with other custom kernel before..

but after ive installed gb with bb 49.. plus bootloader v3

o got it!!
[XPERIA X10 Android Development] kivi90:
Its right that most of the people i talked with had their first success with deep sleep with bootloaderbypass v3 but like me they got it working for some hours and then it breaks again and we must do a restart so its not completely fixed
[XPERIA X10 Android Development] Justinhopaolo:
o thats bad news.. thanks for the info sir
[XPERIA X10 Android Development] rmourar:
Hi there, if I understand correctly bb .49 is not a custom kernel one, and the deep sleep issue is kernel related as Jerpelea already stated in the cm7 thread...

So if you use a stock kernel I imagine that you would certainly get into deep sleep without problems...
[XPERIA X10 Android Development] GreatBigDog:
Deep Sleep Bug Hunt

Sorry for the OT but here is a link to a Deep Sleep Bug hunt thread that I started. If we all post our information there maybe we can find something in common.

http://xdaforums.com/showthread.php?t=1100786
[XPERIA X10 Android Development] DooMLoRD:
-[removed]-