yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gdeliana:
Ok, this my battery drain after choosing the tightest settings for the cpu:

System: FXP 201 extended(removed bloatware according to me very light fw) + extended kernel

CPU: max:1.4 GHz; min:24MHz; governor: smartassV2; IO scheduler: SIO; VDD_levels lowered to 750 for the lowest frequencies (posted VDD in page 60 of this thread)

WIFI: enabled power save

During the night (8 hr.) i had just 3% drain.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
I don't know the event numbers, but I guess they will be the same as the key test in CWM. This is the code for the boot decision:

# boot decision
if [ -s /dev/keycheck -o -e /cache/recovery/boot ]
then
busybox echo 'RECOVERY BOOT' >>boot.txt
...
else
busybox echo 'ANDROID BOOT' >>boot.txt
...
fi

So, you'll have to look into /dev/keycheck.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mdfzhi:
I think its better for users to just replace the binary then whining about broken rom reboot option :p

Btw i'm not sure too the event keycode. In current two stage boot init it defined as when pressing event2 for booting into recovery. We got until event9 in /dev/input/*
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] singh_dd93:
Where is this dev/keycheck

Tried finding a lot but am unable that's the reason I posted here
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ncmz:
I'll tell you what is NEW compared to the thing I didn't have before this unusual battery drain. I'hve installed Viber (apk in background), GPS status, activated cantacts Sync with Facebook and that's all. I suspect of the fb's sync but not from others apks...I'll not touch any configuration to see what's going on and give a feedback here.

--------Edit--------

I have WiFi and Sync turned on, nothing else...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
Probably here.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mdfzhi:
i think its /dev/input/event2

thats probably for vol down, what we use so far to boot into recovery.

in bootrec-devices

export BOOTREC_EVENT="/dev/input/event2"

so /dev/input/event2 (which my guess is vol down key) is aliased to BOOTREC_EVENT.

then in init.sh

busybox cat ${BOOTREC_EVENT} > /dev/keycheck&

so when we pressed the BOOTREC_EVENT key which is aliased of /dev/input/event2 erlier in bootrec-devices, it trigger /dev/keycheck which then

if [ -s /dev/keycheck -o -e /cache/recovery/boot ]

triggered loading recovery cpio image.

pardon me if i'm mistaken :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] singh_dd93:
Yes this is exactly what I know too

Event2 is for volume down.

I think now I will make a kernel by just changing these events again to find which key represent which code
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mdfzhi:
do tell if u found the key event for vol up. i'm too lazy to do it myself, not sleeping last night when trying to make twrp work with stock ramdisk. we got until input9 in /dev/input/*, so u probably need to test one by one :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] singh_dd93:
I just started from event 0 and with this on pressing any volume key or home key it enters the recovery. Dies not enter with power key. And camera key not tested.

I have to go somewhere now will test others later
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skygio99:
@M66B: i'm using the last Smultron Hikari's built, can i use your CM10_FXP201_wifi_ps.zip to renabled wifi power safe on this build ?

Now i have 10% of battery drain for hours and my phone comes hot with wifi on

Thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
Yes, you can.

Please let me know if it helps.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Nosferatu Alucard:
Im also having massive battery drain since I flashed 201.

Maybe it is related to disabled WiFi power save, since I did not install any new apps or change my config.

As you can see on the image the battery drained completely over night when phone was idle all the time.

Also Android OS is consuming almost all of the battery

Gesendet von meinem Xperia Mini Pro mit Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
Also install BetterBatteryStats to find out the cause.

And try to flash the Wi-Fi modules with power save enabled to see if that is the cause.

Which device are you using?

Edit: I also like to know the CPU scheduler you are using.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gdeliana:
Also you can use these two lines in build.prop:

pm.sleep_mode=1
ro.ril.disable.power.collapse=0
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
I am still not sure if power collapse should be enabled or disabled for best battery life and if the setting is use or not.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skygio99:
after an hour of reactivation of wifi power safe I had 3% battery consumption (normaly for me) and the temperature of the phone seems normal.

before it was 8-10% hourly and the phone warmed just a little

Anyway i got to say that with the wifi power safe disabled wifi was very reactive and very fast to make connections
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
So, for everybody having battery drain issues, try to flash the Wi-Fi modules with enabled power save as provided on the extended kernel page in the miscellaneous section.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mdfzhi:
i already test wiping, backup, and restore with twrp. works awesome so far. thanks again for it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
am/pm seems to be hardcoded, but there is a twrp setting for the time zone. I already tested most of the twrp, else I wouldn't have included it in the latest release, but thanks anyway.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lvints:
Guys, when I tried install walkman give error "status 2" this is normal?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mdfzhi:
no worries for am/pm since can adjust manually in settings, and it saved and stayed upon reboot. btw i think u forgot to compile with battery display enabled. it support battery display but nowhere to be found in your build.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
I disabled the battery percentage, because it didn't work for me.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Solution here

Since TRWP, some zip can't be flash as CWM. You have to replace some files in the zip
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Nosferatu Alucard:
Yep this helped, flashed the modules this morning, recharged the phone and battery drain is normal again :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lvints:
Man, worked quietly.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] banciii:
Hmm. My most important experience since I installed this ROM (about 4 hours ago): don't use Viber! :D I hated it before too, but now, I barely touched my phone and it have already lost 50% battery. :S Earlier, Viber slowed down all of my non-stock ROMs and now, this one too. I checked the CPU and with Viber ON, the freq is jumping to the maximum when I don't do anything. :@ With Viber OFF, the freq stays on the minimum. I also had WiFi and Sync ON during this 3,5 hrs, which I think also drains the battery ofc, but this Viber is a piece of sh*t... but I "have to" use it, because almost every idiot familiars of mine are using it only. :P Btw. everything else works awesome. No bug, lagg (with turned OFF Viber), fc or anything, I like it. :) ... Ooops.. I just had to write it down and now I got my first freeze lol! :D I got a mail notification (gmail). I turned on the screen, pull down the notifications (without unlocking the phone) and I swiped out the mail. In the next moment, the screen turned off (I guess the locked screen time limit reached) and now I can't turn on again. :eek: I push the home/power button, but the screen doesn't want to come back, it stays dark. :( Only the buttons' backlights react, nothing else. :( I guess I have to pull out the battery. :/

Edit: the phone itself is still working, I can call it, I can connect it to the computer and copy files into the phone, so I guess only the screen is buggy. :P

Btw. should I try 'FXP201 Wi-Fi modules enabled power save'? Because I am a real amateur and I donno what are the Linaro builds and mine is that or not. :P
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zerorated24:
you mean hikari is using Linaro now? :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
The latest kernel (and the kernel contained in the latest ROM) are Linaro builds, so yes, you can install the Wi-Fi modules with enabled power save.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] aristone:
I just installed extended FXP201 (2012/01/05) with TWRP but I dont find the encryption option under settings/security.

Is it disabled in this rom?

Thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Clear all returns in corner

Hikari did it! :good:

Changed position of "Clear all button" to right corner of status bar

Fixed in 9.2 built or separate zip for 9.1 built

Thanks!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skygio99:
just a confirmation:

I read auto brightness fix with the last Smultron Hikari's built but seems me that nothing is changed.

I had to edit hw_config.sh with: echo 0 > /sys/class/leds/lcd-backlight/als/enable to fix

Anyway is not a big problem
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Auto brightness works fine in Hikari's built since few updates.

Fast and smooth, only go settings/display/brightness:

Select Max and after check automatic brightness

Don't use or change anything in "Automatic backlight" or in hw config.

His ALS didn't change. My post announcing the update and I took the opportunity to mention the specifics of hikari's built. Sorry...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
I didn't disable it, on the contrary, I enabled encryption support, so there must be another reason why it doesn't appear. I will look into it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stanlin salu:
Guys I have a idea for 'dual recovery' why dnt u guy split the nos, like 0 to 10 one person, and set by set to others, this wil remove the workload frm one person, and probably we can find the "event code", get a dual recovery kernel, I am nt sure :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] singh_dd93:
Check the post above u

He already posted the all possible event codes
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stanlin salu:
My mistake, :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
It seems that both TW_INCLUDE_CRYPTO and TW_INCLUDE_JB_CRYPTO need to be enabled for TWRP crypto support.

I will try this later today.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zerorated24:
hi there....is the gaaps in this site compatible already with twrp or I still have to update the meta-inf to make it flashable via twrp?

and also, is the kernel already linaro? because you said in some post earlier hikari's kernel is not linaro right?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Hikari's built is Linaro kernel, only the first few were not.

Gapps are same gapps-jb-20121011-signed.zip and work fine with TWRP, same "wifi drain fix" given by M66B.

In fact, only a few zips give error with TWRP. You only need change files in those rare cases.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zerorated24:
thank you my friend......:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] iPusak Gaoq™:
@M66B....

an0nym0us_ have make TWRP even more beautiful.....

you should check it out HERE...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mauam:
Would be awesome if someone can port all twrp themes for mdpi.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
My assumption above is incorrect, meaning that crypto support is already compiled in correctly. The crypto settinngs are only available when ro.crypto.fs_crypto_blkdev is set. This seems to be the best resource on encryption in Android, but I don't know if it is supported in CM10.

Edit: more useful information on encryption in this ticket.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skygio99:
I have updated just now my ST15 with cmXtended_Smultron_build_9.2 but I have not the clear buttton to right corner of status bar.

I'm wrong or forgot something? :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Hikari no Tenshi:
It will be, when will be something to clear.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
No clear button if no notification.

To test and see it, simply do a screenshot!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Curtis7990:
I test this: smartassv2. 1.4ghz, noop and i got freeze everytime after few minutes. So i try every combination and i discover that the problem is the scheduler "noop". With other scheduler i can set frequency and governor as i want and no freeze, but when i set noop, no matter which frequency or governor, it freeze. Not a problem for me, just an info for everyone
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steve_Joe:
Ok noop sched has a probs

_______________

Offtopic curtis from x8?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] aristone:
Thank you @MB66, I now understand the reasons that makes very difficult or nearly impossible encrypt a XMP.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
Do you mean you can confirm this?

If it is really giving problems, I will disable it in the next release.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Perseush:
great rom!

Thank you!

I came back from modified realICS just into your rom and found it (cm-10-20130105-UNOFFICIAL-mango.zip) more than good - fast, smooth, stable and with tether!

My mango is gonna stay on it for a long long time :)!

Just one thing - fonts. Thay are still (i started using fxp since early cm 9) looking worse then on stock rom. Can we do something with it?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] andogeek10:
You can easily download an app to change your font to any font you like.:good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steve_Joe:
This from my test

Cm set only set external storage "mmcblock" in our devices

Our mtdblock "0,1,2" does not change so effect on external app

CF-Bench no effect

Antutu Huge decrease on sdcard

I attached ss for detail result

My setting:

All default just change to 1401mhz and change too noop :p

Non benchmark test

External storage app

Laggy and slow to load

Internal

No effect
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
Surely it will have an effect on performance (or not), but did you experience this:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steve_Joe:
I didnt notice any freezing just normal but little bit laggy on some apps
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Perseush:
Umm... i can see that /system of stock and fxp roms are sharing many same fonts.

IMHO jagged fonts can be caused by bad rendering - bad subpixel renderer or bad (no) antialiassing - i only guess here.

Were you able to set up nicelly looking fonts on your device? If so can you share info about soft and fonts that you used?

On the other hand: if it would be so easy then why fxp isn't providing good looking fonts out of the box?

There's many good GPL'ed fonts out there...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] krstep:
I think this is a core change in Jelly Bean. In Jelly Bean the font is Roboto Light while on ICS it was Roboto Regular.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Perseush:
But fonts on fxp 9 were also "jagged", i can see little if no difference when comparing fxp's cm 9 and 10 in case of "jagged" fonts.

Bigger and bold fxp's fonts are and were looking good, but the smaller ones looks kinda ugly i would say.

Just look at the sceenshots from previous site - thiner fonts are not good at all, while on stock there was no such problems.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Curtis7990:
Now i'm testing smartassv2, deadline and 1.2ghz. Normal battery drain while idle (0.5%), but little too much drain while data is on. With wi-fi is normal (i have power safe by default). I'm on 152.

What do you think is the best configuration for cpu?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
For me smartassv2/sio 134-1209Mhz

Zram & KSM disabled

works well...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
The ROM/kernel has not much influence on battery usage for mobile data. Different baseband versions can make some difference. Baseband .72 is advised, baseband .77 has some issues for some people (especially low call volume).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
I have added a feature list to the start post.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] andogeek10:
Well..... I like the stock asop fonts more than the stock fonts:D, so I didn't change my fonts. I was just suggesting an easy way to change your fonts to whichever you like. And I didn't notice any jagged fonts on my mini pro.

And fxp is making cm builds for our devices and as cm is based on aosp, they didn't change much of the stuff..

Sent from somewhere
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
With only data on I had a battery drain of 0,7 - 0,9 % per hour past night.

I am using SmartassV2 24-1209 Mhz and SIO.

Furthermore I use AFWall+ to selectively limit internet traffic (basically only e-mail).

This is also a good way to keep within my monthly limit (just 200 MB).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stanlin salu:
Bro, am sorry asking this, r u gonna build for 'coconut' ??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
No sorry needed.

I am not going to build for devices I don't own, because I cannot test. I did once in the past and it gave me only trouble. Maybe someone else can build for you or maybe you can do it yourself. It is not very difficult, see the start post for a link to instructions.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stanlin salu:
Let me...., dnt hav time these days, xams gonna start, bt can doit for my personal use :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] daniel_m:
After some time of absence (broken touch screen), I tried out the newest version of the extended ROM again. First thing I noticed was that the automatic brightness bug is fixed now, thanks!

I recently installed PDroid 2.0, but it crashes a lot. Mostly under high CPU, e.g. directly after installing/updating an app. In PDroid, I noticed that the patch is for version 1.51, while the app is version 1.52. Could that be the problem here?

Also, I have the impression that the newest FXP201 is less stable than FXP152. I had to endure several reboots again, after updating some apps. It is the typical issue I experienced many times before: CPU at 100 %, without anything really interesting going on (from a user's perspective).

I use interactive CPU and sio I/O, and all memory optimizations are off. LogCat didn't reveal anything critical to me, even though I am having a hard time making sense out of the log. I don't even see when the phone crashed and re-started in the log ...

Is there a good tool to scan the internal memory and the SD card for errors? I am looking for something that really examines the whole memory and I don't care if it comes with a fancy GUI or if it is a command line tool.

I posted this here because I hope that this thread might be a better place than the original FXP thread to tackle down the problem. I am convinced that the reboot phenomenon is caused by something in the original FXP, and not in the extended ROM, even though it is affected as well.

The best way would be a fresh installation, but that would be extremely time consuming and I would not be able to use my phone for a long time without my usual apps and settings. It would be great if there was a way to trace back whatever crashed the phone, without touching my current system ...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
It was not a bug, it was disabled by FXP, because of the flickering in some situations.

The patches are the latest version. The app is updated more frequent than the patches. Maybe you have more luck with PDroid Manager, see here what to erase to switch apps.

There are no big differences between FX201 and FX152.

I have the same problem too sometimes, but I have been unable to identify the cause so far.

You can try for example Cool Tool (really cool!) to see if you can discover more.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] suael:
can u add a delete option to message notification or popup?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
The goal is to stay as close as possible to FXP and thus I won't change functions, sorry.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] seljachina:
which version of kernel/rom to download for smultron?

Hikari no Tenshi or nussbaum?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zerorated24:
hikari is more stable and faster according to experience.. :D

use pikachu's thunderbolt script only the main script as screensate scaling is not yet compatible(Bootloop) and also entropy seederv7, the flashable one from ryuinferno here http://xdaforums.com/showthread.php?t=1987032&page=193

I also created an ext4 1gb partition on m sd card and used link2sd. My phone performance is smoother than before, also, I recommend you to format sd card before flashing the ROM, also make a first clean install, I flashed stock ICS 587 nad then flashed kernel and ROM. But first I recommend to format sd prior to flashing stock firmware. That is all I did and everything now is smooth even without overcloking
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] skygio99:
About sd card, i replaced bundle micro sd card of my st15, it was a class 2

I'm using a class 10, now have prices quite little.

Look at read and write SD performance, before i had random slowing down troubles now my phone is more smooth :D

Edit: with scheduler "noop" or "deadline" is better have a hi-quality SD card, different is recommend to use scheduler like "sio"
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
New smultron build (20130108) uploaded, PDroid patch included as usual. As far as i know this is the only diffence to Hikari's build.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] M66B:
If someone put some effort in it, maybe it is possible for our devices.

More details in this ticket.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Micha_Btz:
hi there,

first, thanks for the build, all things work great.

today i has too thick fingers to hit on the settings menu in the notification drawer and hit the date and the system ui crashes.

i have tried some times and always the system ui crashes. what should be happen if the date is pressed in notification drawer?

have more people this behaviour? i'am on mini pro.

micha
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Pressing date opens the calender app (didn't know until now :)), pressing time opens clock or timer. No crashes.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] YoungDipCLP:
same here no problems with clicking on the date or time.

Didn't know that there is this option till now :D :good:

But i noticed my internet is somtimes loosing connection. The HSDPA or 3G icon freezes and does not change (no arrows for downloading/uploading packages).

I have to set airplane mode on and off everytime this happens.

I also had 2 random reboots and i installed this ROM 2 days ago.

I also want to ask if mini pro is chrashing while watching videos. Its important for me to know and i'm sorry if this question is asked many times in this forum but i dont have the time to search it right now because im pretty busy at the moment. Hope i still get some friendly answers! :)

To M66B,

this is a great extended ROM and i'm happy to see people that are always hungry to find new ways and methods to make their phones ROM faster/smoother/more stable :)