yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
I use my phone heavy all last 24h since I go out to play paintball, 3G and RSS all the time, plus occasional web surf, and still have 24% left this morning... very impressive. But the battery not drain linear (or at least the count said so) - the first 20% gone in just few hours without doing anything, the next 50% drain normal, and the last 30% last me more than 12 hours... Maybe time for calibrate...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
As a reminder here, the best way to do that,

is to drain battery till 0% (phone must switch off by it's own).

And then charge it offline (while it's off, plug it to charger).

I think 3hours most are enough to be sure about 100%, so then without disconnecting charger,

press power button.

That's how I calibrate my battery when I see strange behavior.

Unfortunately after 1.5 years my full charge (max) mAh are lower than before :(

But still, with extreme use, it gets me 1 day and 25-30% left.

Also have in mind that 100% is not when you see the icon at 100%

It has to get to 100% and then leave it for another half hour.

Because you reach a full charge only when the voltage of battery stabilizes at 4.2V (100%).

But removing it before (best is before 90%), gets you more charge cycle life (normal charge cycles before battery capacity decreases: ~500 full charges).

Hopefully our small beast doesn't care about less than 1500mAh, like it's bigger brothers :)

Offtopic: When Ray 2 is gonna get out? Xperia R, would be a good name :P
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kingkingyyk:
Unfortunately, the trend now is all about big screen. :crying:

Would be good if Ray 2 comes with Xperia SP spec and good camera post processing algorithm.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Well the funny thing is that, xperia ray takes better pictures than xperia P, S and T

(tested with friends' phones, and compared on a good LG screen with dynamic contrast off.)

Ideally, with the new trend, the new RAY should be something like zperia ZR but with a 4" 720p screen and size smaller to xperia P

And also must have RGB notifiacation led like ZL.

The screen is doable, 1080p screens have lolwhat dpi. But the board, plus packing a 2300mAh battery,... dunno..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
The Ray 2 is already out last year, called Xperia SX, but due to low sale even in Japan, it not able to make it to international, you can see the comparison here: http://sonyviet.vn/2012/05/do-dang-xperia-sx-vs-ray/ The next one is Ray 3, rumors come around second half this year, with 4 - 4.4 inch screen (still the smallest one in high-end phone of 2013 lineup).

No more 3.x ish screen... we will need to accept that small but hi-end phone is a dying breed, and will extinct around next year.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
I've heard of it somewhere, but never saw specs, looks or compared it.

Except from the uninspired look (I say kinda ugly) and the low battery (for these specs), everything else is there.

Really good on specs. So if this got low sales, then we probably won't see a Ray 3.

I blame looks on 2.

Something is off for me, probably the big-angled rounded corners with the long bezel ratio.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arcatarc:
....hmmm,i think i'll keep my Ray for a long time...(i never had a smartphone as long as my sexy Ray..) :fingers-crossed:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Nokia 3510i (4y) and Nokia N73 (3y) the longest runs.

My ray goes well till now though. 1.5y and still good.

I got it 208euro and still laugh at friends' phones which got them 350-500euro and they are lagging

and have worse camera quality than mine, even in dark lit rooms :P

And yeah sexy as hell. One of the biggest reason I chose it
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tobbbie:
The Ray was (and still is) the smallest high resolution device for Android. If it only had more RAM it would fit for the next years. I escaped the small screen with my Galaxy Tab 2 7, so when I have some browsing I better do it there. Ray only sees use for phone, GPS tracking (for sports) and Music (on the commute) now. And it fits all my pockets where previously my beloved HTC Tornado was :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
Oh, that SX is much better in video or IRL, it got a lot of sharp corners :)

But the long bezel maybe due to TV chip or something...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arcatarc:
.....my only regret is not having bought another one (or two) when I found an offer to 99 euro in a popular electronics store :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Exactly only ram is missing.

As for the size, it's a real "phone". Enough said.

Saw a video of SX. Still something seems off. Definitely the long size.

Xperia Sola for example has the same size but it's beautiful.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arcatarc:
dear friend this time I do not agree with you :) : the style of Ray is unbeatable (simple and effective in pure Japanese style, is like a sword KATANA) :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Well that's what I meant. Ray is truly still unbeatable.

Sola was compared because it was 2012 phone, so the could do SX like sola
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] esrom02:
Hi, so after a day using v2.8 all seems good but:

1. while playing candy crush, suddenly "mksh" is asking for root permission? as well as "init" something like that.. what are those? are they related to your kernel? this is the first time I encountered this..

2. I dunno, I checked my battery after playing, it was 25%, I kept the phone for like 30 minutes, I checked it again and it was down to 18%.. connections off, autosync off, location off.

Sorry if these doesn't have to do with your kernel, though this is the first time I encountered these matters..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Don't be. Strange things must seek answers :)

Happened to me sometimes, with /init

Started seeing these with the latest updates of SuperSU.

The times that showed up, were when messing inside root explorer.

Also 1 is related to 2. The process started acting weird, especially when I didn't permitted the root access

and used 100% cpu (in other words drain).

If you go to terminal and write ps -o user,group,args

you can see that /init and main processes/threads are user root in group root, which is what it must be.

So asking for root permission is strange.

So basically a script or an app (with root permission) runs scripted commands (sh/mksh) and thus mksh and init show up for permission.

What I do? Grant permission and then remove it from the list inside supersu app.

Because normally they shouldn't ask and this also doesn't happen often. So just, so I don't forget them, I'm removing them the next second from

root permission list.

Basically we have to wait for a fix. Until then you have to grant root permission.

In the other hand, have in mind that SuperSU tells you what really is asking for permissions.

For example if an app request functions/connection (well sth like that) to /init, it will show init asking for permissions.

Just to be sure, you use SuperSU right?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] esrom02:
yeah I'm using SuperSu thanks, what about the battery issue? or i just need to calibrate the battery?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
I use CMW Superuser, never see anything asking from init.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
If you read what I wrote, this makes /init behave strange and use loads of cpu (at least for me).

If you need battery calibration then just drain battery until phone closes and charge offline for 3 hours. And then open when still in charger.

IMPORTANT: Check your SuperSU and make sure that init and mksh have ROOT permission for now.

When this is gonna be fixed by dev of SuperSU, you can then tell supersu to forget (not deny root, just remove (forget) it from list) permissions

for init, mksh and whatever binary.

Yeah, never had problems with ChainsDD's Superuser either. But neither with SuperSU. Latest updates brought that up..

Anyway, I'll bring that up to chainfire, if he don't already know it.

EDIT:--------------

Just checked the thread of SuperSU. The 1st reported case was with SuperSU 0.99

So, I assume this will have to do with the /system processes auto permission at settings.

But still /init starts as root anyway.

So just make sure it has permission. You can even consider changing root app, if this bugs you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] esrom02:
Thank you so much, It happened to me too, I denied permission and my phone lag like hell.. If its not that bad then I'll stick with supersu.. BUT if I want to switch to SuperUser, how will I do that? :?

How many charge cycles before the calibration took effect? I still experience sudden battery drop..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Hi everyone. I am still new here in XDA, I hope I am welcome here.hehe I am using this kernel for 1 week now and all I can say that this thing flies my Xperia Ray. Can u suggest some Governors and I/O scheduler settings for hard gaming? Sorry for my noobness! I am using Superleggera with this kernel. Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
You still have to permit root access to those (by going into SuperSU interface). Also if you have the phone a year now, battery life maybe less (like mine).

As for how to change root app I wrote you at Superleggera thread. It's pretty easy. Remove SuperSU and then choose which you want and flash it.

Better stick with defaults (Smartassv2 and SIO). SmartassV2 quickly gives you the power you need, but still has the best battery drain behavior.

If you want you can, change how fast Smartass2 ramps up the frequency, but I don't think you need it because cpu stays at 1ghz and above in a game, so it needs only 96ms to go up to 1.4ghz.

Sio is still the best for games. It needs the least cpu cycles and has great throughput (mb/s, iops).

Still, if you are a hardcore gamer, better stick with Gingerbread. Otherwise with ICS in some games, you may need to enable swap (128-256mb).

And also, keep your phone clean, with not many background services (some widgets for example, kill my smoothness in ICS (with swap off) when gaming.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Thanks for the nice info mate. I saw your thread regarding the swap file script but I dont know how to execute it(Still learning scripts). As of know am using ram expander for swapping memory. Your kernel is really great and I am looking forward to support your work soon.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Any app that creates a swap file and mounts it can do the job.

My script is mostly for people that don't want an app running

and just want to enable swap to play a game and then disable it.

Fastest way to run a script is by installing script manager, find the script where you saved it, select su (you need root permission for swap)

and then run it.[/QUOTE]

Im testing your script right now and it works for me. I dumped RAM manager because it deteriorates my sdcard speeds. By the way I read somewhere in your gaming script that you locked your Next Launcher in your Ram. How did you do it? I am using Next Launcher also and it slows the phone after rebooting.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
I was, but now I made it killable again. The easiest way to make it unkillable, is to make it a system app (many apps can do that, I use Apps2Rom).

But making it unkillable will be your worst nightmare. It will slow any game, youtube, maps, big browser app you run.

Better use superchargerv6. I used it only to supercharge my services.jar. And make launcher die-hard.

Basically with a stock rom, the oom adjective of launcher is 6. That means if you run some small apps it will be killed, and then you gonna see loading again.

With supercharger it becomes 1. That means, that it can be killed only by a big ram-eater game. And that's what we want.

Make room only when needed.

Also by making launcher a system app, it will have oom_adj "-12". That's unkillable.

So in the end never make it unkillable. Just use Ultimate Jar Power Tools RC7 test6 and select to make your launcher die-hard. And say no to other multitasking options inside this script.

I use this, plus the supercharger v6 script with multitasking 256hp options, plus zram 45mb

and my friends are always cursing me on why my phone behaves faster than theirs (XS and XP, both with next launcher).

DEV UPDATE 2:

So, I did a reboot and after everything loaded up, I made a test.

Here are the results:

app_160@android:/ $ su
root@android:/ # [B]/sbin/watch -n 5 cat /proc/meminfo | grep AnonPages[/B]
(cat every 5 seconds and grep AnonPages, which is U-KSM/KSM's effect)
AnonPages: 219276 kB
AnonPages: 218952 kB
AnonPages: 218956 kB
AnonPages: 219196 kB
AnonPages: 219584 kB
----------- U-KSM ON -----------
AnonPages: 205868 kB
AnonPages: 193824 kB
AnonPages: 191720 kB
AnonPages: 191732 kB
AnonPages: 191372 kB
AnonPages: 191816 kB
AnonPages: 189428 kB

In mere seconds, uksm was able to free ~30MB

The test was done after a reboot and using Terminal Emulator

So yeah, Ultra-KSM will be an official CTCaer Kernel feature,

when the tuning is done.

The tuning will make it run a lot less frequently, scan less pages each wake up

and having lower cpu priority. We have small ram, so we don't need big scans.

Strange thing is that, because the phone is able to go into deep sleep,

uksmd doesn't affect battery. But still, I'll fine tune it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Joakim112:
Yeah. im currently using Zep's Updated V6 Supercharger and the Kick Ass Kernelizer. 5400 is my highest score so far in antutu using your kernel and Arcatarcs Rom and all i can say is :victory:. Thanks for some nice infos.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nedunilavan:
Thx 4 sharing... man

Very informative thread ever...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
Why is that TWRP doesn't recognize my backup? I wanted to restore a ROM but it's showing a blank list when clicked on Restore button from TWRP.

BTW, the backup is stored in sdcard->clockworkmod->backup folder.

Help will be appreciated.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Runner_cz:
TWRP has other format of backups! It's not compatible with CWM backups. TWRP backups are stored in TWRP directory on the SD card.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
How do you enter CWM recovery? Pressing on the power button is still bringing up TWRP.

I wanted to restore SPU ROM but TWRP fails to restore and give me an error message regarding partition not selected.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Runner_cz:
As usual - pressing volume down
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masteriori:
According to the OP, pressing volume keys triggers TWRP while power key will bring up CWM, however, pressing volume keys AND power button loaded TWRP.

Anyways, I just changed kernel to restore the ROM and will switch to CTCaer once restored. This is the quickest way for me right now.

Thank you for your help.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Again as stated before and in OP, ClockworkMod nandroid backups are not compatible with TWRP.

As for CWM not entering, are you sure you only press the Power button? If you press the power button and the volume keys,

it will enter in TWRP.

If that's not the case, have you messed with /cache partition?

To enter CWM through pressing Power button, needs a working /cache partition.

Try inside android, to create a file named cwm inside /cache/recovery/

EDIT1:----------

Or my xda email notifications are too slow, or you all are too fast in replying :eek:

EDIT2:------

A little info on how recoveries are triggered:

When red led light up, the script does two checks. 1 for power key pressing and 1 for volume keys pressing.

After that it checks if volume keys were pressed. If yes, enter TWRP.

If not it checks for power key pressing, if yes enter CWM.

Because of the priority of the checks, if you press volume keys and power key. It will pass the 1st check and skip the power key check.

That's why it's entering TWRP when pressing everything.

So next time, before rofl stomping keys in hurry

(like I do at my friend's XS, neither him or me know which one really triggers the recovery and bored to check inside ramdisk),

take your time, relax,

you have 3 whole seconds to choose between power key (cwm) OR whatever volume key (twrp) :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
Dear CTC sir

May I have a question about alarmmanager. when I was sleep I alway using flight mode.

It took many power still but sometime going fine. Do you know what happen?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
The answer is easy and it shows up. Clearly the always bad coded facebook still wakes up your phone even if you don't have any connection up.

The normal thing it should do, is to take the connectivity intent and disable the wakelocks, like most apps do.

Anyway, try to reduce how often facebook is updated. Normally having it at every hour reduces this effect.

And if you want that to really change, write feedback/bug report to facebook app team.

Lastly, try the greenify app. It can disable services you want, when your phone is alseep.

Finally uninstall mobisystems file manager and replace it with a better one. Otherwise change the settings, and tell it to not index files in suspend.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
Hi CTC sir.

about picture1 FB alarmmanager count:229 total flight mode:9h23m battery:-1%

about picture2 FB alarmmanager count:95 total flight mode:5h51m battery:-14%

Why FB count less but drain battery? My FB refresh update setting is never and no sync.

very strange.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] esrom02:
I think that's the common issue reprted by end users, FB App drains battery, I mean really, and it takes TOO MUCH RAM.. Try Friendcaster Pro, its much faster, and takes less RAM and then again use greenify :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] vleutmans:
Or try Atrium it's a nice facebook replacement.. you can configure it to completely close (no task/service in background) after exit :) No greenify needed for this one.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knightthgink:
thanks all

but I have one question.

there are two alarmmanager I can see. One is come from Android system and another is from facebook.

May I know why alarmmanager of Android system is counting so hard? more than FB.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
I used to use 184Mhz min clock... now with this kernel, I run at 245 Mhz min clock.

Last week I tried 122Mhz and battery saving is much better at night, but I also see more app force closes, slower opening and hang sometime especially with the stock browser. Smartass V2 + sio, max 1.2Ghz. Back to 245 for now to see if the problem gone away. If there's no problem anymore, I think I will love to have 184Mhz option in next release :o

PS: Apparently at least the stock browser not hanging when switch tabs anymore... Still need to use more to confirm.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
The android alarm manager can be used to register more than one alarm. For example, you can issue 10 alarms with an app,

and your phone will wake up 10 times.

The lowest clock have nothing to do with FCs or slower switching/opening apps.

Disable zram, or lower it significantly.

An FC means you are out of ram even if the other services were killed. See if your launcher is locked on memory and can't be killed

and also if you have services that are registered as foreground or visible (many apps do that, if you transfer them into /system).

As for the stock browser, it always seemed slow for me (except in GB). It's one of the 1st things I uninstall.

Try opera mini and when you want full javascript+flash use opera mobile. Untill now only those use the least ram and are the fastest for me.

(Dolphin lags and uses more ram and Chrome uses extreme ram.)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] faraaz3:
Ur kernel is awesome for battery life and as well as performance...I would request u to give ur golden touch to nAa's 3.4 kernel and make it more awesome:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] decko99:
Hi, Do I need an unlocked bootloader to flash this kernel?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Yes mate..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] foggyflute:
I always got about 150MB free due to using Greenify, the only two service allowed to run is LMT and Whatsapp so it kinda bug or mem leak with the browser... I found the stock one kinda reliable in loading ajax like expandable comment... I also keep the opera mini for simpler browsing.

Just check about 10 browsers last night, found the Tint Browser, kinda best all rounder in speed, UI, memory use and functions.

Thanks for your reply, i will keep it in 122Mhz again :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Lately I got strange problem on my device, I can't enter CWM. To enter CWM, I must enter TWRP reboot. And automatic will enter CWM. And sometime when I'm reboot, it suddenly enter CWM. How to fix this sir?

Sorry for my bad English.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Opera mobile loads fine ajax content to me. I didn't know Tint browser.

Gonna check it thanks.

Hmm that's strange. Did you mess with /cache? like moving apps or sth?

When you press power key, the script creates a file named cwm inside /cache/recovery

Then cwm catches it and boots.

Also a boot file inside /cache/recovery starts twrp.

So try to wipe cache and then check your scripts/apps if any, that changes things to /cache partition.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Wipe cache solve the problem, thank you sir. :thumbup:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
This kernel supports ext3 and ext4?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] templeka:
Yes it does. It's in the op. Nobody reads them anymore? :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
Im sorry :(

Because in miui ics customrom dosent read ext3 and ext4 :(

And swap dosent work too :(

Any suggestion for this? :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arcatarc:
In CTCaerKernel,everything works better than it should...

Inviato da me!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Are you sure you mounting the partitions right? Example: mount -t ext4 -o rw /dev/block/mmcblk0p2 /sd-ext

Where's ext# is the ext filesystem and mmcblk0p# is the partition of SD.

Swap like in every kernel when you have created a partition or a swap file needs 2 commands:

mkswap $filename

swapon $filename

Where's $filename is the filename of swapfile or the /dev/block/mmcblk0p# swap partition.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] stealthware:
Thankyou CTCaer for fast response :victory:

now my ray can mount ext4 and swap :highfive:

but, can you release kernel with many governor sheduler? :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CTCaer:
Nope, because more schedulers use more ram and threads. They add much overhead and almost all of them are completely unnecessary.

The ones I have are proven the best for one core phones. Smartassv2 will provide you the best performance along with the best battery.

As explained to another post, you can also fine tune smartass to be even faster.

Lastly, for i/o scheduler, the best out there for one core are SIO and ROW.

Row currently is experimental for 2.6.32 kernels. It is faster, but many times the queue bugs out.