yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] norigkgp1:
Wow, great ROM, just did a fresh install, installed BB52 from that .zip, xrecovery, 4 wipes, installed update.zip... and everything works just fine, excellent, fast as hell ( really ), not even a WLOD, only two " bugs ", the mentioned one about the camera ( VGA, i can deal with it ), and another one...

battery literally FLIES

, 50% in 6h, never had such a issue like this in any other ROM...

Any suggestion about that ?

P.D. No processes on background, just android keyboard, system and whatsapp ( which i always got on BG on any 2.2 ROM used before with no draining results )...

Keep up the good work, you´re getting close to excellence. :D
[XPERIA X10 Android Development] Tony_C:
What about simlock.ta, that does not become part of the flash when creating ftf?
[XPERIA X10 Android Development] sathurnn:
I've created a ftf file with bb52 from jerplea rom, and simlock.ta is into the file
[XPERIA X10 Android Development] norigkgp1:
Sorry for my noob question, but i´ve been searching in the thread if that .zip you´ve just attached is a fix for the battery drain issue... this is it ?
[XPERIA X10 Android Development] colossus:
Hi Buddy,

The fix posted is for those having issues with there phone screen going to sleep then re-booting, it is not a fix for battery performence.;)
[XPERIA X10 Android Development] cjsabaki:
Jerpelea,

$ 15.00 HEADED YOUR WAY!!

Thank you for all you do!!!

Confirm # 22V82069CL2223359

Best regards,

Chris
[XPERIA X10 Android Development] GreatBigDog:
More information on Barnacle

@J

I've been looking a bit more into the issues with getting Barnacle running from the app but I've just about run up against the limit of my understanding. I've looked into the Barnacle source code and it looks (at least to me) that the errors are being raised by the /native/wifi/iwctl.hh module.

EG:

if (ioctl(_sock, SIOCSIWESSID, &_iwr)) {
fail("Could not set ssid");
return false;
}
return true;

If so, could this a kernel issue relating to ioctl.h?

I've not looked into it any further as I could be barking up the wrong tree here. Anyway I'm going to leave it to the experts and hope that this information helps in some way.

Edit:

I'm just like a dog with a bone ;) (Pun intended). I know that their is no way I'll be able to decipher what's going on in the wifi code so I took a look at the app source code.

I found in /res/raw/run, the code that looks like it's initializing everything. Should be able to come up with some sort of work around in the code here. I guess I'll take a stab at installing eclipse and seeing what I can come up with. Of course if a Dev who knew what they were doing took a look at it instead it would go much quicker :)

#!/system/bin/sh
# main runner (process manager) for barnacle, root required

cd ${brncl_path:-.}

# load the driver
# NOTE: Android's shell is ash and there is no "test" or "["
: ${brncl_lan_script:=wifi}
chmod 750 ./$brncl_lan_script
./$brncl_lan_script load

# necessary hack for HTC phones
type ip >/dev/null 2>&1 && ip route del table gprs default >/dev/null 2>&1

# ifconfig $brncl_if_lan $brncl_lan_gw netmask $brncl_lan_netmask up
./wifi config

./dhcp &
./nat &

# the association loop
./wifi assoc

# cleanup
./wifi unload

Since Barnacle is now open source, if we managed to fix it by modifying the source, could it then just included it in the ROM as a system app?
[XPERIA X10 Android Development] setaseti:
the rom works very nice, since i've installed the 20c i had no wlod, no reboot and today the battery life is very good (84% left since i have plugged of at nearly 7am).

thanks j.

have just one question, the 20c is an update package.. where can i find the base version?

my base version was the j20 without any letter, and now i have no spareparts, dont know if this matters, but it runs good :D
[XPERIA X10 Android Development] GreatBigDog:
20c is a full version. Only thing is that the update script is not formating the Data or Cache partitions. Since you came from another version of 020 you should be fine. If you wanted to use this coming from a different ROM, just make sure to format your DATA and CACHE partitions in Recovery before installing the ROM and you'll be OK.
[XPERIA X10 Android Development] tcolec540:
Kind of O/T,

Im running 20c. I have a few little bugs that I think could be fixed with a reflash. I was going to start fresh from stock this time. So i have tried to run a repair in PC companion and it prepares, however it then says there is no software available for you. SEUS also will not reset to stock. I'm assuming I could just grab a stock and use flashtool to start over.

Although Is there a reason PC companion is basically refusing to repair the rom back to stock?
[XPERIA X10 Android Development] ad1stakt0s:
I want to share an issue that i am facing since i first use cyanogen CM 7.

My issue is that the sound of the device sometimes become kind of muted.

Specifically it decreases the volume for about 70% and the sound become like pushed from the speaker. The issue sometimes might fix after some hours but if i want to fix it right away i plug in the headphones play/pause a song (music player, even increase volume fix it) for a second, un-plug the headphones and the problem disappears. :confused:

Seriously i don't know what is going on with that, don't have a clue.
[XPERIA X10 Android Development] bengtner:
Hmpf, I have to quote myself. Bluetooth is not the only problem. On my first day battery drained down to about 20% after 6 hours. And I did not use the phone very much during this time. The phone was noticeable warm and by then I also had a few silent reboots.

Fresh install of J020c K010 with enclosed BB52.
[XPERIA X10 Android Development] ag4751:
Battery usage with 3g, GPS permanently on plus Weather app refreshing every 3 hours but only small amount of use with calls (4), messages (28) and updated 3 app from the market.
[XPERIA X10 Android Development] whatsaqazza:
GB caps fps at 40 while froyo doesn't
[XPERIA X10 Android Development] BULL3TPR00F:
is there no way to remove/bypass the GB FPS limit? and why is it even implemented in GB, isnt that counter-productive?
[XPERIA X10 Android Development] Chillaxed:
you would think it was eh? i know the galaxy S and those phones are freakishly smooth (probably 60fps) while ours are still just getting to 40 (you can tell the difference.) still a good improvement over 32fps though.
[XPERIA X10 Android Development] chiefy009:
Still getting the odd wlod now and then

sent from my gingerbread powered c64 with NO wlod
[XPERIA X10 Android Development] hatanakaf:
Had the same problem when installed soundhound.

the difference is that to make noises normal again I'd just call a random number.

Found that when I was restoring apps and since a begin with the most important ones to the less importante (soundhound - in my case), just unninstalles and all was good again.

hope it helps.
[XPERIA X10 Android Development] BULL3TPR00F:
oh for sure its a massive improvement, the screen feels so much smoother, and responsive and games run a lot better...

but still, if there was NO limit AT ALL, then it would be a billion times better.
[XPERIA X10 Android Development] yohorange:
that problem is because of soundhound or shazam or apps like those, it's present on WB froyo rom too, to fix it plug your headphones, make a call, or just uninstall the problematic app
[XPERIA X10 Android Development] ad1stakt0s:
I have the specific issue without those applications too. Before install them.
[XPERIA X10 Android Development] DooMLoRD:
Testing report

just to give a background... i started using the rom a day ago... (i used the flasher included in j020a to flash baseband)

http://xdaforums.com/showthread.php?p=13838638#post13838638

so i had to use older miniloader to fix teh "reboot when screen off" issue...

today after my X10's battery went below 15% it started rebooting like crazy till the full battery was drained....

so later i charged it in "offline mode" (just connected wall charger when device was is OFF state/ triggered /system/bin/charger) to 100%

and then rebooted the device...

so for checking again wht was the miniloader issue i reverted to original (newer) miniloader...

from my past experience i found that the "reboot when screen off" was never triggered if the device was in usb mode/usb cable attached to it... so for getting useful live logcat i connected the phone to wifi network and used adbWireless to port forward adb to desktop pc...

now i have attached the logcat (cm7_test_reboot.txt)when the reboot occurs...

found a way here to dump live dmesg:

http://www.android-support.com/module-no-more-mddi-lags-on-x10-mini-custom-roms/

A copy of live dmesg (you can use adb shell cat /proc/kmsg > dmesg-bug.txt as soon as the device is ready)

following attached files are got from using the command (adbwireless enabled):

adb shell cat /proc/kmsg > dmesg-bug.txt

dmesg-bug.txt -> was dumped in a while (few seconds) after executing the command

dmesg-bug1.txt -> was dumped when i triggered screen off (by pressing power menu... the device rebooted in a few seconds after that)

@jerpelea

can u please check these attached files logcat/dmesg/kmesg to see if there is anything useful?

P.S.: i have not experienced any WLOD till now... rebooting <15% battery yes... BUT NO WLOD SO FAR....
[XPERIA X10 Android Development] Byrana:
@doom

this is exactly what happend to me (except I never flashed any fixes) Before it happend everything was rockstable...after the first reboot everything was messed up and I couldn't get it stable anymore. Until the first reboot I had no wlod, reboots whatsoever.

Good that you found a way to lock it, I was not able too :)

J do have you any clue what's causing it?
[XPERIA X10 Android Development] DooMLoRD:
OMG!!!! Found a possible solution for fps uncap

POSSIBLE SOLUTION FOR FPS UNCAP

and this is the testing result:

fps2d:

some parts of the ROM (menu transitions/app drawer opening/closing) feels really smooth (could be a placebo effect but please do chek it out urself)

@jerpelea

is this actually working or is it just a placebo effect?

if it is truly working can this be integrated into next release/hotfix???
[XPERIA X10 Android Development] BULL3TPR00F:
going to try it now myself and test out fruit ninja to see if it makes a difference with the responsiveness of the swipe.

great find
[XPERIA X10 Android Development] BULL3TPR00F:
anyone having issues with the accelerometer not working?? I was trying to play fast 5 and the car wouldnt turn, i then tried to take a screenshot using shootme with the shake method and it wouldnt take shots :S

i could have sworn it was working perfectly fine :S

EDIT: nevermind, a reboot fixed it
[XPERIA X10 Android Development] TheRuan:
Have you tried to do a battery stats reset on the xrecovery after fully charging on the wall charger? that fixed the low battery(near 25% and below reboots to me, yesterday night i was able to use the phone until 1% and it only shutdown(no reboot) when it was on the actual 0%, i haven't seen it actually, because i just used for kind of 5min when on 1% and it shutdown and gave me the red light of recharge needed, rsrsrs.

One thing i can add to your report is that for some reason, the first time i flashed the Cyanogen CM7.0.3 J020a K009 Gingerbread 2.3.3 before i did the first reboot i had completely no issue, and only after i reboot the phone for the first time the battery reboots and the screen off reboots actually started, so this must have something to do with the userprofile or userdata also.
[XPERIA X10 Android Development] BULL3TPR00F:
Hey doomlord, i tried the steps you mentioned for the fps uncap, but my phone hangs and stays there on the stop zygote and start zygote step...

stop works and makes the phone hang, but when i type start zygote, nothing happens and the phone stays hanging :S
[XPERIA X10 Android Development] utubo_sk8:
@BULL3TPR00F

add this line to your init.local.rc

setprop debug.gr.swapinterval 0

and reboot
[XPERIA X10 Android Development] BULL3TPR00F:
will give it a try right now, will report if it works
[XPERIA X10 Android Development] Mortyx10:
Hi since everyone updating every 4-5 days to a newer version i thought I should post this...

I am still on J020 from the first day of its release and it was rock solid till today...

no wold no reboots no low battery reboots nothing...but since today my wifi stoped working radomly and static IP adress also not working, and I had battery drop from 100 to 15 in less than an hour of idleing...

maybe this is useful for J to let the phone without updating for a while to see if everything is still ok.

and one question....do I need 20b before flashing 20c? sorry if it was asked...was absent for a while:p

thanks
[XPERIA X10 Android Development] BULL3TPR00F:
thats a no go, FPS is still limited at 40 FPS... never once saw anything near the 80 that doomlord was able to get..
[XPERIA X10 Android Development] Galaxynova88:
Is the custom kernel flashed with this rom?
[XPERIA X10 Android Development] BULL3TPR00F:
flash the baseband package included in the folder, and then flash the rom and the kernel will be flashed too
[XPERIA X10 Android Development] utubo_sk8:
@BULL3TPR00F

hmm. i forgot to say need to adding this line to build.prop

debug.gr.swapinterval 0

EDIT: after i applied this sometimes wlod in adobe reader...

sometimes popups (menu, notifications) won't disappear, and stays with semitransparent.
[XPERIA X10 Android Development] BULL3TPR00F:
k let me try that again then...
[XPERIA X10 Android Development] rodak:
Bug: SIP in call settings works but after exactly 20 seconds my SIP calls get disconnected, every time.

Tried CSipSimple and its even worse, call gets disconnected as soon as it connects.

Anyone else tried "native" Sip in call settings or CSipSimple?

Going on vacation soon and really need Sip :-)
[XPERIA X10 Android Development] B3AstLyBLitZ:
MESSAGE TO PEOPLE WHO GET GOOD BATTERY LIFE ON THIS ROM:

How do you guys manage to get heaps good battery and i cannot. I have tried only using 2g and not using any background apps, no wifi, no bt, nothing just screen off for about 8 hours and when i just checked it, it read 58% from 100% IN JUST 8 HOURS WHYYYY!!!!! :mad:

Please guys i would like to know exactly you guys do to make this rom have good battery life.

I just couldn't believe it when i saw that battery was down to 58% in just 8 HOURS WITHOUT USING THE DAMN PHONE :eek:

Also i had no phone calls and i didnt text anyone, didnt even unlock the phone until now. So how can the battery go down sooooo fast???:confused:

Anyone who had this problem and managed to fix it PLEASE IM BEGGING YOU TELL ME YOUR SECRETS
[XPERIA X10 Android Development] Justinhopaolo:
Is this rom useable as your daily rom?

I'm currently using cm 6.1.3 and it's blazing fast.

Is it worth changing to this rom?

I want to thank all the developers who have alloted countless hours in producing roms. I salute you sirs. Thank you for making our lives better and happy :)
[XPERIA X10 Android Development] haghdk:
I use this as my daily ROM - super speed and so far I haven't had any WLODs just a few reboots. Almost flawless!

Only thing is the battery drain but it's not that big an issue for me.
[XPERIA X10 Android Development] BULL3TPR00F:
Tried that too n it didn't work :s
[XPERIA X10 Android Development] realunited123:
open command promt

type the following

adb shell
su
setprop debug.gr.swapinterval 0
stop zygote
start zygote

it will not work in terminal emulator. you need to be on a pc.
[XPERIA X10 Android Development] TheRuan:
It's worth to try as daily rom!

Ok, let's try to explain, i'm not a Dev, but:

Every time you flash do you do a full clean install, this is not always needed but it's advisable.

Once you've installed everything you have to let you battery discharge until it gets lower 20% or near and then fully charge it, after that you have to do a battery stats reset, or else you may have the battery below 25% resets which is a pain in the ass, rsrsrs.

About programs running, if you let multiple programs running in the background your phone will obviously waste more battery, so once you don't need them anymore you can kill them by holding the right key for about 2s(if you have configured this on the Settings > Applications > Development > "Stop App via long-press".

Also another thing that makes a lot of difference but you can't control is that if your phone signal is normally weak your phone will waste more battery, if you get your phone without signal it will waste almost double battery(or something like that, not sure on the amount, but i've seen this a lot in older phones, so i guess would happen the same).

Apps that run services on the background also eat battery so maybe your apps work on the background.

High brightness on the screen wastes tons of battery.

I've been this last version almost 2 days now, rom J020c K010, the last charge was about 17 hours ago and i used about 8hours with bluetooth on streaming music to the bluetooth headset, the bluetooth is still on and yet i have 63% and no battery issues.

But i barely used phone call today less than 30min.

In Wireless config i have this now:

Wifi Off, Bluetooth On, inside Mobile network: Data enabled Off, International... Off, National... Off, Use only 2G... Off

Outside that:

GPS Off

Wifi Off mostly

Brightness is set to near 30%.

I'ven't used google sync yet, so i believe that once it's configured it may use a bit of battery as it will keep trying to sync on the background, but i believe there is a way to set it not to, don't remember where though.

Backup you rom, follow step by step instructions also check if there are any reboots once you have installed the rom, if you have screen off reboots use the screen off fix, if you have battery below 25% use xrecovery battery stats reset once you have fully charged your battery.

Yeah it ready enough for daily usage, unless you need camera or camcorder, those are not working at all at least for me, i'm able to launch them but no photos or records can be made the app locks up once i try.

If the phone keeps stable as it was today, tomorrow night i'm gonna start the other apps trials and maybe i can report something, saushaushau
[XPERIA X10 Android Development] Justinhopaolo:
I'm having problems downloading the file.. It always gets interrupted.. I'm using the link on the first page of this thread..am I doing something wrong?
[XPERIA X10 Android Development] utubo_sk8:
setprop debug.gr.swapinterval 0
[XPERIA X10 Android Development] realunited123:
my bad :) Will edit my post.
[XPERIA X10 Android Development] alucine:
+1 xperiax10mods, the same in my X10.

Before with J11 rom, 3 days, always 2G, whatsapp, etc.. today J20c very fast, but battery was down 4% per hour, in fly mode.

Maybe is a kernel problem, fps uncap, next K11 will be better or not...
[XPERIA X10 Android Development] colossus:
@Doomlord

Thanks for doing the test reports on the screen sleep/re-boot issue, maybe now we have a logcat the situation will become clearer.;)

http://xdaforums.com/showpost.php?p=13861177&postcount=8613
[XPERIA X10 Android Development] the_ult:
Test:

Installed 20c yesterday.

- Cleared Cache, etc.

- BB 52

During the day it worked without problems.

During the evening and night constant reboots. Until the battery was empty.
[XPERIA X10 Android Development] DooMLoRD:
unintall GenieNewsWidget...

Media ReScan DISABLED

switch to 2g network when u have patchy 3g coverage...

switch off wifi/gps/bt for most of the time...

no other sync than GMAIL & XDA (no FB/Twitter sync)

increase syncing gap (sync less frequently) in other apps

use battery monitoring & cpu monitoring apps to find out which app is causing max battery drain

keep brightness at 25%-40%

hope this helps...
[XPERIA X10 Android Development] BULL3TPR00F:
thats exactly what i did on my pc and its not working for me. after stop zygote it doesnt start again when issuing start zygote. the phone just hangs and stays like that until i adb reboot or pull the battery.

x10a running j020c k010

@ DooMLoRD, could you possibly upload an update zip or something, i cant get this working for the life of me :S
[XPERIA X10 Android Development] Justinhopaolo:
Unable to download file again :(
[XPERIA X10 Android Development] realunited123:
how long did you wait ? It stays unresponsive for a minute or two and then goes to boot animation..
[XPERIA X10 Android Development] Justinhopaolo:
Can anyone give me a new download link of the rom? Pleease
[XPERIA X10 Android Development] The Gingerbread Man:
+1 would like to see something like this in the form of a hot fix or similar.
[XPERIA X10 Android Development] BULL3TPR00F:
used the update.zip create by utubo_sk8 and it worked perfectly.

http://xdaforums.com/showpost.php?p=13870559&postcount=17

constant scores of average 80 fps in fps2d, and fruit ninja feels slightly smoother (unless im just halucinating lol), but neocore scores stay the same at just around +/- 30 fps average...
[XPERIA X10 Android Development] DooMLoRD:
thats because this "improves" 2d performance and not 3d.... for better 3d performance we need GPU overclock (or better GPU which is not possible)...
[XPERIA X10 Android Development] jackiie:
i tried the *.zip on my cm 6.1.3 wolfbreak (z's kernel v1- had the fps uncaped before at ~52 fps, but i wanted to test this method :) ) and i got an avg fps of 133, but when i play any game it seems like as if the cpu is to slow rendering the pictures.

e.g. doodle jump. the green floors are cut while moving up and its juddering.

dunno if this info is helpful, but i wanted to post this. even if its the wrong thread :)

//edit: same happens while scrolling through the app-drawer (launcher pro plus
[XPERIA X10 Android Development] chiefy009:
OOOhhhhhh I flashed this on my cm7, because well why not havent flashed for a while got withdrawals, everything is ok rebooted twice and took a while to load to begin with

could this explain the cap ? It ruins the screen on and off animation the animation is to fast, only flash this if you dont want the animation anymore
[XPERIA X10 Android Development] alucine:
Thanks DooMLoRD for your settings, but can you explain this ?:

My settings J11 two months, battery 3 days, fly mode at night.

The same settings thats J11, the same app thats J11, in J20c only 1 day ?

I think that is a problem in kernel to drain battery.
[XPERIA X10 Android Development] Justinhopaolo:
Anyone? Help please
[XPERIA X10 Android Development] rassam:
hi guys i followed the instructions to flash my x10

but it just seems to frees on the boot screen with free xperia on the screen

please help me
[XPERIA X10 Android Development] superleeds27:
Anywya we can use this on Stock Kernel, Im getting sick of the low battery rebootas!
[XPERIA X10 Android Development] chiefy009:
no radnnar tried to provide patches that didnt work, I asked J and there wont be a stock version
[XPERIA X10 Android Development] cobrato:
I tried it on rdannar's gb miui stock kernel and I got 80fps too !!

scrolling through folders can see obvious jagged horizontal line but seems faster

gonna try it on 2.2 miui stock kernel

Edit: 2.2 is even more crazy, I got 150fps on stock kernel. is it real?
[XPERIA X10 Android Development] tcolec540:
Probably a dumb noob question but is there a way to just raise the fps cap rather than remove it all together. Say to 60 fps. To limit the tearing but still be smoother?
[XPERIA X10 Android Development] GreatBigDog:
Did you flash the baseband that was included with the download package? Also if you're coming from another ROM other than V020b of this one you should use recovery to format your data and cache partitions before flashing the ROM. Factory Data Reset in recovery will also do this for you.
[XPERIA X10 Android Development] realunited123:
Don't think 150 is real lol Have you tried to run it again ? Also stdev of 64+ lol it is definitely not real.
[XPERIA X10 Android Development] Morbidx13:
thought i would give this a bash and so far its been hellish.

followed instructions and flashed the baseband then rom.

loads up let it reboot, started to play with it and it seems to give WLOD for everything and constant reboots. i didnt do anything wrong with the install and no idea why its behaving this way.

:confused: