yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] zaji06:
I have brain rom 3

when I use wipe dalvik cache I got Boot Loop

EDIT - I reflash kernel and wipe cache only - PHONE BOOT NORMALY

SOrry my ENGLISH IS BAD
[Sony Xperia P, U, Sola, Go] thebrainkafka:
yes please
[Sony Xperia P, U, Sola, Go] Gaurav8180:
ok, no problem:D. just gonna flash it and will report after 10 mins. if i found the same low signal strength(on 3G) then surely its a problem from my operator's end:D.

thank you

EDIT-here i am attaching the snapshot. you can see that there is hardly any green colour after i changed my network to dual mode(3G preferred). this snapshot has been taken while i was on v6 test 7(26/12).

i will also be posting a snapshot after using auto root kernel showing signal strength.:D
[Sony Xperia P, U, Sola, Go] thebrainkafka:
Any news
[Sony Xperia P, U, Sola, Go] Gaurav8180:
EDIT-2 here is the snapshot of signal strength with auto root kernel.

I think the problem is from my operator's end as the signal strength is still very low.
[Sony Xperia P, U, Sola, Go] OmarBizreh:
and you blame me for that :mad:

I'm kidding bro, it's good to know it's not because of my kernel ^__^ :laugh:
[Sony Xperia P, U, Sola, Go] Gaurav8180:
he he he, no bro i was not blaming you.:o its just the circumstances which forced me to post that issue. because with almost same signal strength (as in with v6 final w/o governors) i did calling for(almost 40 minutes) with no disconnection while using v6 test 7 (26/12) where as i had lots of call disconnections while using v6 final w/o governors at the same time.

this forced me to post that, sorry bro, if some how i hurt you.:crying:
[Sony Xperia P, U, Sola, Go] OmarBizreh:
dude I was joking :angel:

You have to right to post your issue my friend :D

I'm just happy it turned out to be a problem with your operator because whenever I hear signal issue I go crazy :p

It's been hunting me ever since i added those governors :p
[Sony Xperia P, U, Sola, Go] Gaurav8180:
EDIT- coming back to v6 final w/o governors.. i didn't know that my operator is betraying me,the signal drops were because of him(operator) and not because of this kernel. i am really a fool.

hmmm,ok deep, can you please let me know that its necessary to install power module with v6 final w/o governors as i read your post with written that v6 final is purely based on test 8 and test 8 was launched with module. ????
[Sony Xperia P, U, Sola, Go] OmarBizreh:
it's up to you. so far I only read one feedback after using the module and the user posted a screenshot that his phone stayed up for 2 days and yet he have 24% left in his battery.

Install the module and check maybe it helps :)
[Sony Xperia P, U, Sola, Go] Gaurav8180:
ok bro! i will check them tomorrow as its 1:00 am in my country:D. so sleeping time:D:D. good night to all of you out there.:cool:
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Goodnight my friend :D
[Sony Xperia P, U, Sola, Go] neverhood11:
It was me...now I rebooted my phone and it shows 44% ..after 2 days and 16 hours...weird :D Let`s see how much more will it last :)
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Are you sure you didn't replace your battery with a 3000mAh one :p
[Sony Xperia P, U, Sola, Go] neverhood11:
Haha I wish :) Just tried to play a game for about 15 minutes...still 39%... It`s gonna be more then 3 days for sure :)
[Sony Xperia P, U, Sola, Go] Irseq:
I call hax!
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Just a question my friend, are you using the new power module ?
[Sony Xperia P, U, Sola, Go] neverhood11:
Yes I am.. V6 kernel with governors, SmartassV2+Sio... this is the best way for me...as you can see :) No issues at all..
[Sony Xperia P, U, Sola, Go] Sephirothrx7:
What governor and scheduler are you using? Just thinking in unlocking my bootloader to use this kernel.

Edit: you just posted.
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Thanks, I will add it to the first post so people can get the best out of it :)
[Sony Xperia P, U, Sola, Go] OmarBizreh:
if you only read one comment before yours :p

Anyways he is using SmartAssv2 and SIO scheduler :) :D
[Sony Xperia P, U, Sola, Go] Sephirothrx7:
Just noticed, he posted while I was typing.:good:
[Sony Xperia P, U, Sola, Go] nwayen:
Just wanting to let you guys know that I'm getting great results with SmartAssV2 + SIO as well. At the moment 10 hours after unplugging, 62% left and more than 3 hours screen-time! Battery drain during the night is around 2-3% per 10 hours. One note though, right now I am using V4 as it seems to work best with my settings.
[Sony Xperia P, U, Sola, Go] arnes_king:
I want to install the power module and i am following the instructions but i can't use adb shell because it won't recognize my phone, the usb drivers won't install properly and i can't update them :/
[Sony Xperia P, U, Sola, Go] Sephirothrx7:
Adb shell commands should work just fine using terminal emulator on the phone.
[Sony Xperia P, U, Sola, Go] Irseq:
PA is using FXP kernel...
[Sony Xperia P, U, Sola, Go] Volcacius:
Conservative govern

Any chance of getting conservative governor?
[Sony Xperia P, U, Sola, Go] Irseq:
The ones from XU section are way better!
[Sony Xperia P, U, Sola, Go] edrit011:
Thank you, I'll try it.
[Sony Xperia P, U, Sola, Go] chewdaniel:
k on v3. works great. only 1 other problem besides can't enter recovery... and this problem happens with ThJap's kernel too...

from what i have noticed... the network drop only happens with hotplug. doesn't happen on ondemand...
[Sony Xperia P, U, Sola, Go] Gaurav8180:
I think you are right, this network problem only happens when the one cpu is offline. I was using cpu sleeper dual core app, and same network drop happened to me. Then i stopped that cpu sleeper service, and now i don't have any kind of network problem. I think hotplug is not recommended for our phone, irrespective of its good battery saving technique.
[Sony Xperia P, U, Sola, Go] whowho:
I have a wifi tethering problem. It can't work.:crying:
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Hey guys sorry for the delay, I was supposed to release v3 yesterday but was kinda busy :(

As for the requests for governers they are added now :)

I'm still working on the recovery hopping it will be solved soon :)

Again sorry for the delay :-/
[Sony Xperia P, U, Sola, Go] S suxeN:
v3 pre-version is working fine here except for mobile tethering. i can activate but cant configure.

Also i'd reccomend releasing v3 not until recovery is in there and working :) Take your time bro!
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Sure, one of the reasons for having a custom kernel is having a working recovery :D

Can you please perform the following command and send me the log file to be able to fix the issue:

adb shell

dmesg >> /sdcard/kernel_log.txt

or pastebin the output for me to read :)
[Sony Xperia P, U, Sola, Go] S suxeN:
done ;)

you got a dm
[Sony Xperia P, U, Sola, Go] Saeedblack:
thank you very much for building this kernel.plz add smartass v2 and more governers and too add call recording ability to your kernel unti that was a perfect one for this device
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Version 3 is out, finally got that recovery fixed :P

As for the smartass v2 governor I will add it for the next release, didn't have the time to added for this one :-/

By the way, I have no init.d scripts nor build.prop extra values on my phone and yet the phone was as fast as the other Xperia P that I tested which is running stock kernel + init.d scripts (those scripts found in Droid Manager) + some build.prop values (also from Droid Manager)

So I was somewhat lost here, can anyone please give a detailed feedback about performance improvements you found? :)

NOTE: I tried many times making a flashable zip file via CWM but the phone never booted after flashing :(

Sorry for that guys I will keep on trying to understand how really this procedure is done. remember this is the my first time I build a custom kernel so please be patient if I delay few things :)
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Ok guys I have added a poll to check out the overall feedback of this kernel. Don't forget to vote :)

Thank You :)
[Sony Xperia P, U, Sola, Go] Irseq:
Pegasusq and lulzactiveq, uber multicore governors, thats what we need ;) And they are in XU section, and even better, they work on XP!
[Sony Xperia P, U, Sola, Go] S suxeN:
Thanks for your hard work. Flashing tomorrow morning
[Sony Xperia P, U, Sola, Go] OmarBizreh:
And that's what you will get :)

Will be checking out XU section and include them for the next release.

Check the first post tomorrow for progress :)

And I'm sorry but till now I wasn't able to make the bootable zip file like you requested. still facing some issues :-/
[Sony Xperia P, U, Sola, Go] Windows X:
sio i/o scheduler please.
[Sony Xperia P, U, Sola, Go] Irseq:
Yeah, that's the best one.
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Just downloaded the source of the requested schedulers (SIO is one of them)

Will be working on implementing them tonight :D

Though could anyone please test Overclocking for me? SetCPU shows me current frequency as 1GHz while in Real Time State it shows me that 1.2GHz is the one active :-/ so I'm kinda confused over here ... Any one recommend another app to test ?
[Sony Xperia P, U, Sola, Go] neverhood11:
Why u can`t install drivers proparly? Try these drivers: http://uloz.to/xDLsBf1/flashtool-drivers-exe
[Sony Xperia P, U, Sola, Go] arnes_king:
[/COLOR]

I have the flashtool drivers but windows won't recognize my phone when it is turned on, i can't even transfer anything
[Sony Xperia P, U, Sola, Go] MajestyZ:
Look into device manager when your phone is attached. Any yellow signs?

Try and remove your phone's installed drivers completely from your pc and reattach the phone to make windows search for drivers again.
[Sony Xperia P, U, Sola, Go] arnes_king:
I've tried that and everything else, but this is happening i think because of thebrainsrom .... anyway i tried to install the power module via terminal emulator but now when i type Insmod it says not found :/
[Sony Xperia P, U, Sola, Go] neverhood11:
Did u set up USB debugging on ??
[Sony Xperia P, U, Sola, Go] arnes_king:
Yes, and it worked before but after i flashed a different rom (thebrainsrom) and kernel (slidingxp) since then it isn't working
[Sony Xperia P, U, Sola, Go] Sephirothrx7:
It's insmod, with a i at the beginning.
[Sony Xperia P, U, Sola, Go] chewdaniel:
insmod. with an i at the beginning. lowercase i... cap won't work. like i said... commands are case sensitive ;)
[Sony Xperia P, U, Sola, Go] Hefko:
During the night :) Good job

b

Sent from Xperia P using XDA premium
[Sony Xperia P, U, Sola, Go] atarum0r0:
how can i Clearing Cache and Dalvik-Cache recommended?

i cannt undestand, my xperia p is rooted i istalled driver, usb debug is turn on and mobile is turn on but i have every time this

thx
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Try removing your phone drivers from Device Manager, then reinstall drivers again. if still no go try a different USB port :)
[Sony Xperia P, U, Sola, Go] josie87:
Hi Deep,

man! You made a huge progress during the last days. Respect! I flashed V6 final without govenors on thebrainsrom, works great. Battery drain is perfect.

Thanks dude!
[Sony Xperia P, U, Sola, Go] MajestyZ:
I've got V6 without govenors installed on the brainsrom V4 as well, but I'm not really satisfied yet.

I've added a few screenshots to this post to let you see what's happening, Deep, perhaps it might be of use for you.

As Batterystats shows, it might be Gtalk which is causing this problem (I never use it, so might as well freeze it).

The battery was at 90% when I went to sleep, 77% when I woke up. Batterystats, however, shows it was on 83% since the last boot, which is impossible.

Might have to do with a calibration problem though.

I'm sorry for the screenshots being in dutch, but the icons should do the job.
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Try installing the power module provided. Also contact Rom developer about this issue, the kernel works fine with on Stock ROM and yesterday neverhood11 confirmed it fave him 3 days of battery usage. he might have brightness to lowest level (which will help) but the point is it gave him great batter life.

It's always been giving issues with the Brains Rom, I solved signal issues by removing extra governors.
[Sony Xperia P, U, Sola, Go] MajestyZ:
I know, and I'm not blaming you here, don't worry :).

I have the power modules installed and I've got the system/init.d/modules folder removed.

The brightness of my screen has always been on lowest as well (which doesn't matter at night anyways :p).

I might try the stock rom later on.
[Sony Xperia P, U, Sola, Go] OmarBizreh:
You understood me wrong my friend. I'm providing users something, and they have the right to get the best of it and not use it while having to face many issues. :)

Have you tried removing cache and dalvike cache ?!

Also Disabling background processes will help, especially in your case where you said GTalk is always running in background and you don't use it. I doubt it's the main reason for having that drain. but contacting Rom dev about the issue might give him a clue on what is wrong in the rom so it's not closing unused processes.

Though I will check kernel configurations but I can't promise a fix for this issue :)
[Sony Xperia P, U, Sola, Go] Gaurav8180:
yehhhhhh!!!!!!!!!! i installed power module on the first go:D. thanks to chewdaniel for providing that immensely helpful post and thanks to deep for making this power module. I am extremely happy with the kernel performance and battery drain.:D:D
[Sony Xperia P, U, Sola, Go] MajestyZ:
Haha alright, I know! And I'm not facing any issues right now, my phone is running perfectly smooth.

I have indeed removed cache and dalvik cache. I'll try and figure out what causes the drain, most likely Gtalk and other stuff like that.

But as you can see in the screenshot "PowerManagerService" is causing Kernel Wakelocks, does that one have to do with the PowerModule? Or is it a random Android process?
[Sony Xperia P, U, Sola, Go] neverhood11:
My battery "finally" died today...after 2 days,23 hours :)
[Sony Xperia P, U, Sola, Go] arnes_king:
I did the power module installation on my phone via terminal emulator but after the reboot when i type "insmod" i get this :

usage: insom <module.o>

Other than that, the V6 is really perfect, my battery is also 2-3 days with it on smartassV2 with sio, no signal losts or reboots
[Sony Xperia P, U, Sola, Go] OmarBizreh:
it's LSMODE <-- this will list running modules on your phone :) (of-course it's low case characters :p )
[Sony Xperia P, U, Sola, Go] arnes_king:
Result :

/system/bin/sh: lsmode: not found
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Try: busybox lsmod

and check: ls /system/xbin you should find lsmod between the list of items that appears :)
[Sony Xperia P, U, Sola, Go] arnes_king:
I thought that it is "ismod" but now i figured out that it is "Lsmod" (small letters)

now i get when i type that :

apm_emulation 5658 0 - Live 0xbf02c000

cw1200_wlan 4117 0 - Live 0xbf027000

cw1200_core 121387 1 cw_1200_wlan, live 0xbf000000
[Sony Xperia P, U, Sola, Go] josie87:
Battery is awesome. I'm using v6 final with the brains rom.
[Sony Xperia P, U, Sola, Go] casca:
hello Deepunkown, I'm new to the Xperia P world so forgive my question but I've been having troubles with charging the XP battery sometimes and I think the battery charging is controlled by the kernel so...

If I install your kernel, do you think my problem http://xdaforums.com/showthread.php?p=36108819#post36108819 will be gone?

I've searched and tried everything I could remember but it's a random problem and I haven't been able to replicate it on my own

any feedback is highly appreciated.

thanks
[Sony Xperia P, U, Sola, Go] OmarBizreh:
From the link you provided I guess it's a system issue, if it was a kernel issue the phone wouldn't detect that it have been connected to power source. so there is no issue on kernel side (besides, if it's a driver issue raised by the kernel, you would've seen the name of the driver who raise that issue).

Have you tried a clean system installation?! wipe out everything then re-install android?! (using PC Companion will do a fresh restore, or SEUS)

Since no one wants to lose data, use the backup app provided by Sony. the only thing that app didn't backup for me is contacts because they are retrieved from my Google Account. But before you attempt to do a fresh install, try clearing caches and dalvike caches though I doubt that will help.
[Sony Xperia P, U, Sola, Go] casca:
thank you for your fast and kind reply.

I've tried every little thing I could remember...

From full wiping to installing through flashtool and SUS of both firmwares .544 and newer .54 versions, I have done it all.

So what I'm trying to say is that a fresh install won't sadly do the trick.

you were saying that "if it was a kernel issue the phone wouldn't detect that it have been connected to power source", but if you look at the link I gave you, you will see 3 different behaviours and output commands. what do you think it could be then?

the only thing I haven't done yet is returning back to the official 2.3.7, but then again... this happens randomly so it could happen in 2 weeks or the next charge

any idea that I haven't tried is welcome :)
[Sony Xperia P, U, Sola, Go] OmarBizreh:
The reason why I said it's not a kernel issue, because the following line

(source: Interrupts and Interrupt Handling)

If you are not into hardware stuff, don't read the link because it needs some base knowledge in Operating systems and hardware. but my point is since you have seen in the log cat that the Power service failed (or in your case got disconnected right after it was connected) that means kernel got the interrupt that was sent when you connected the phone to wall charger (or pc) and the operating system was notified about it, but something went wrong in starting the service that handles this interrupt. But the system and the kernel knew it is an interrupt coming from connecting the phone to the charger. so it is a system error, the service responsible for handling that interrupt failed at some point.

how did I know that, your log contains this when failed to charge:

while it contained this when it charged:

this line wasn't included in the failure point:

which means the process responsible for that didn't get the broadcasted message that the charger was connected.

since you said it randomly happens. please next time check what the phone is doing, for example let's say the phone was being used to play a game and connected to the charger, if the CPU is loaded then there is a big chance something was lost between the loads of operations the cpu is doing :)

so next time check what the phone is doing if it wasn't doing anything that might cause load of operations to the CPU , you wont lose anything if you ask Sony about it. because if it's a bug in the system all users would've faced the same. and I'm pretty sure it's not a bug caused by the way the phone is being used. and I doubt it's a hardware issue.
[Sony Xperia P, U, Sola, Go] Gaurav8180:
What could be the best battery lasting time with heavy usage.???

My battery has come to 27% from 90% in around 5.5 hours. And usage was pretty much. So can anybody tell me is this fine ??.

I am using stock rom. 54, with v6 w/o gov

Gov - smartassv2 with sio and with power module.
[Sony Xperia P, U, Sola, Go] megablakbar:
This is awesome !
[Sony Xperia P, U, Sola, Go] Gaurav8180:
Oh really, that's cool, thank you :D
[Sony Xperia P, U, Sola, Go] casca:
thank you very much for the explanation my friend,

So, in resume what you are saying is that it didn't start charging due to the cpu having lost this instruction, right?

android.content.BroadcastReceiver(17207): Charging receiver got broadcast: android.intent.action.ACTION_POWER_CONNECTED

If so, I'm now even more intrigued... on my topic, the #1 attempt to charge only has this instruction and nothing else:

12-30 03:08:19.040 W/PowerUI (2386): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }

it didn't return any other line, not even when I disconnected the charger...but the fact is that it actually charged properly at this time.

what do you think?

tks
[Sony Xperia P, U, Sola, Go] OmarBizreh:
After I wrote my reply I was thinking I doubt it's the reason that I mentioned, because no matter what there is a queue even if the CPU is busy the queue will hold pending requests until CPU is free.

You need to give more info from the log cat to be able to find out what the issue really is.

but from #2 & #3 the issue is because of broadcasting is not done. don't know between #1 and the rest, I need more info :)
[Sony Xperia P, U, Sola, Go] casca:
thank you very much for helping. The full logcat is attached.

just to try and help you a little bit, the time/key moments on the logcat when I connected / disconnected the charger are:

charge #1 (charged OK)

charger plugged in

12-30 03:08:19.040 W/PowerUI (2386): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }

the logcat doesn't show when I disconnected the charger or any other instruction regarding the charger

(weird right?)

shouldn't there be at least one instruction saying the charger has been disconnected?!!?!?

charge #2 (showed up as charging but did not charge)

Charger plugged in

12-31 01:51:18.070 W/PowerUI (2386): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }

...

charger unplugged

12-31 12:01:25.996 D/DefCapUpdaterReceiver(3063): onReceive Intent { act=android.intent.action.ACTION_POWER_DISCONNECTED flg=0x10000010 cmp=com.sonyericsson.capabilities/.DefCapUpdaterReceiver }

...

12-31 12:01:26.156 D/android.content.BroadcastReceiver(17207): Charging receiver got broadcast: android.intent.action.ACTION_POWER_DISCONNECTED

charge #3 (charged OK)

charger plugged in

12-31 12:01:36.076 W/PowerUI (2386): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }

...

12-31 12:01:36.186 D/android.content.BroadcastReceiver(17207): Charging receiver got broadcast: android.intent.action.ACTION_POWER_CONNECTED

...

Charger unplugged

12-31 14:41:29.391 D/DefCapUpdaterReceiver(15159): onReceive Intent { act=android.intent.action.ACTION_POWER_DISCONNECTED flg=0x10000010 cmp=com.sonyericsson.capabilities/.DefCapUpdaterReceiver }

...

12-31 14:41:29.411 D/android.content.BroadcastReceiver(17207): Charging receiver got broadcast: android.intent.action.ACTION_POWER_DISCONNECTED

#3 is what I assume should happen everytime...

thank you very much once again for having a look at this.

I wish you all a great 2013.
[Sony Xperia P, U, Sola, Go] BeDesireS:
Happy New Year to all of you! :)

Gesendet von meinem LT22i mit Tapatalk 2
[Sony Xperia P, U, Sola, Go] Gaurav8180:
Happy New year guys, yehhhh, time to party :D
[Sony Xperia P, U, Sola, Go] megablakbar:
Oh I forgot,happy new year guys :D
[Sony Xperia P, U, Sola, Go] OmarBizreh:
Happy new year everyone :D

I'm sorry for not releasing the fix of the kernel that actually holds the new governors I told you about. but the university was closed for three weeks, and going to open again this Monday, and the professors told us they have made the deadline for graduation projects the third week of this month instead of the first week of February :(

So I'm busting my as* with my friends to finish it, the only thing done so far is the introduction and the design of the PC and Android apps :(

we still have to figure out the hardware we are going to communicate with along with the instruction codes to be used between hardware and software :(

Edit:

The following user mukakallan sent me this message:

I would appreciate it if someone could contact him and help him with his issue, as I can only reply to him now but I can't keep helping him as I need any extra free minute I can get :(
[Sony Xperia P, U, Sola, Go] doctor_droid:
Happy new year to u too :)
[Sony Xperia P, U, Sola, Go] MajestyZ:
I can help him. Did you refer to this thread? Might be a better thing to do.

I'll send him a PM though.