yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] psyko12:
Does mujenji's kernel work with this one? Or would I get errors :)

Thanks!

BTW: Is there a way to install Sony Back Up and Restore here so I can put back my sms and call history back?

I've placed it under System/app/back up and restore with permission 644, but error upon reboot, Application failed to run.
[Sony Xperia P, U, Sola, Go] mirost1:
CM works only with FXP kernel mate.
[Sony Xperia P, U, Sola, Go] D9ALT:
То munjeni kernel CM9 and MIUI work too, and perfect work!
[Sony Xperia P, U, Sola, Go] munjeni:
Here is CM9 patch for "enabling" auto backlights and custom settings for backlights levels...

https://github.com/munjeni/android_...mmit/d81011791578190f3b12dbc2da3fe55d091cccca

https://github.com/munjeni/android_...mmit/65a7f428bead0b36adaed4506cfb13989cd900f6
[Sony Xperia P, U, Sola, Go] mirost1:
This is great mate, thank you. Will you have a look at what munjeni posted to help?
[Sony Xperia P, U, Sola, Go] munjeni:
Sory, but why not here? Forum is allready opened for speaking, CM9 thread is opened here... etc, so why not here? Is google+ better for comunity...? I done test build with including light sensor thing... do you giving me permission for posting link to an test build?
[Sony Xperia P, U, Sola, Go] satan89:
They did this for all other xperia devices also , everything under one roof maybe?

Sent from my ST27i
[Sony Xperia P, U, Sola, Go] teocomi:
Hello, a question that I have since a long time:

on my Xperia Go CM9, there is always around 50MB of RAM free, on another device with the same amount of total RAM (HTC Wildfire S, CM9 or CM10), the free memory is around 180MB, same apps running!

Actually CM on the Xperia is using 100MB memory more than the other device, is this normal? What is this caused by? Can I "remove" any sistem service to make things smoother?

It would be very nice to reduce system usage, because now apps are removed from cache too soon and then it takes ages to open them again (eg launcher!!)

Thanks!

NB

As already said both devices are running the same apps, no strange animated backgrounds or so..
[Sony Xperia P, U, Sola, Go] jerpelea:
free ram= wasted ram
[Sony Xperia P, U, Sola, Go] jerpelea:
i am looking @ your patches
[Sony Xperia P, U, Sola, Go] jerpelea:
pushing them to cm

thanks
[Sony Xperia P, U, Sola, Go] mirost1:
This is great FXP, lets hope they work and lets hope you implement them in your next build.

Great work bro.
[Sony Xperia P, U, Sola, Go] munjeni:
Fix for that is compiling alsa-lib from source! You can use /system/lib/libasound.so from my MIUI to get these thing working! Please let me know if these will fix your problem!
[Sony Xperia P, U, Sola, Go] munjeni:
Got some workarounds for FM audio routing bug... possible fix (qurently untested) is -> http://paste.ubuntu.com/1604482/ :good:
[Sony Xperia P, U, Sola, Go] helkaluin:
Could some one please (un)confirm: notification light doesn't light up in FXP205.
[Sony Xperia P, U, Sola, Go] munjeni:
Tested but fm not working... we have missing OMX component (*AFM??), or maybe we need to use audio libs from stock rom instead of current "patched" ???

EDIT:

No! Problem with FM is not OMX because the same message I getting in stock rom :(:

Logcat in stock rom -> http://paste.ubuntu.com/1608948/
[Sony Xperia P, U, Sola, Go] Vladislavb92:
I can confirm. Doesn't work anymore properly. Hoping for fix in 206 or 207. Or maybe it's kernel related problem in 205?
[Sony Xperia P, U, Sola, Go] munjeni:
This is bug in audio routing! Logcat:

Hope we get that fixed!

Edit:

IN source code, function:

Few fuctions latter, function:

Instead of 8 we need to set (field public static final int FM_RADIO_RX = 8) to 16 ??? Hope this fix FM audio routing!? Or maybe we runing audio in PCM_8_BIT instead of PCM_16_BIT ?!?
[Sony Xperia P, U, Sola, Go] helkaluin:
Tracked in https://code.google.com/p/freexperia/issues/detail?id=1635&sort=-id
[Sony Xperia P, U, Sola, Go] munjeni:
USB tethering fix:
[Sony Xperia P, U, Sola, Go] helkaluin:
Notification light abnormally long pulse length fixed in 206. Thank you based FXP.
[Sony Xperia P, U, Sola, Go] mirost1:
In this release:

- video recording dont work

- on most calls the other side doesnt hear what i say

- audio recording doesnt work properly

- i just got 3 messages for my birthday sent 2 hours ago

- imo there is a huge battery drain

It seems that things that worked before dont work now. Going back to 204.
[Sony Xperia P, U, Sola, Go] Anthrax:
+1

reported in XSOLA section.......

your bad buddy(for BDAY msgs)......

Nyways happy bday.......
[Sony Xperia P, U, Sola, Go] munjeni:
+1

Audio was broken for camera recorder in FXP206:

http://paste.ubuntu.com/1630698/

Is working now... some one confirm?

FXP, did you resolved audio route for fm? Did you seen this post?
[Sony Xperia P, U, Sola, Go] jerpelea:
the problem seems to be in audio blob
[Sony Xperia P, U, Sola, Go] munjeni:
There is missing a lot of audio thing... for example (after comparing stock framework thing, found there is big diference in bluetooth audio, but not big in normal audio...), for example possible fix for "unknow audio source 8" is this patch:

Going to get fm working in my MIUI port, will let you know if i found something interesing!

please let me know what is fix for leds notifications... do you have direct link to the patch? Tnx!
[Sony Xperia P, U, Sola, Go] munjeni:
HI, I done patching stock FM radio, got it working but there need some fine cracking to get it working... fail on libstagefright! I think using this radio we can get FM audio routing fixed (by implementing missing features by looking from logcat :))?! Good thing its opening and searching for frequency, have menu,...etc

Logcat by using cm9 framework/FmReceiverService.smali -> libanalogbrodcasting.so -> http://paste.ubuntu.com/1637592/

Logcat by using patched cm9 framework/FmReceiverService.smali -> libfmradio.so -> http://paste.ubuntu.com/1637630/

Interesting things about "fail to start player":

and

Hope this help FXP for idea about missing audio things!?
[Sony Xperia P, U, Sola, Go] munjeni:
FXP, do you know what is missing here??: http://paste.ubuntu.com/1639385/
[Sony Xperia P, U, Sola, Go] munjeni:
Got stock FM radio working (scanning and displaying frequencies) for about 2 seconds:p, no more SIGSEGV... but radio turn off automatically because missing audio source 8. Here is some workarounds for audio that was missing in latest FXP build (missing audio and video recording): http://paste.ubuntu.com/1640507/, its working again!Hope we get FM working soon
[Sony Xperia P, U, Sola, Go] ScratMan38:
And A2DP... :D
[Sony Xperia P, U, Sola, Go] teocomi:
What is the expected behaviour of the 3 button lights? To me they only lit up when I change brightness level, but otherwise they always stay off :S

Is this a bug or misconfiguration? Thanks
[Sony Xperia P, U, Sola, Go] Adoxo:
The battery life seems shorter than the previous build, which seemed shorter than the default ICS. When I just left the screen off with the sony ICS it would lose about 10% overnight now with the FXP206a it's about 20-30.
[Sony Xperia P, U, Sola, Go] jerpelea:
hy

i saw it

but for now i couldnt find anything
[Sony Xperia P, U, Sola, Go] munjeni:
I think I found whats missing for fm audio! After opening libaudiopolicy.so with ida I see next:

http://paste.ubuntu.com/1646710/

if you look into paste you will see:

R0, PC ; "DEVICE_OUT_FM_RADIO_TX"

but we have defined:

DEVICE_OUT_FM_RADIO_RX

so its reason why prebuilt stock libaudiopolicy.so can not see output 8 for audio!!?? Please look into libhardware_legacy from linaro android!
[Sony Xperia P, U, Sola, Go] jerpelea:
"AwesomePlayer( 1537): setDataSource_l('fmradio://rx')

W/ANM ( 1537): [WARN] anm_ap:1609 getForcedInputDevice(): invalid input sour

ce 8

E/ANM ( 1537): [ERR] anm_ap:3440 getInput(): Failed to open input, AUDIO_SOU

RCE_FM_RADIO_RX, device 1000000, SR (48000) F (1) C (c)

E/MediaPlayer( 3764): error (1, -19)	"
[Sony Xperia P, U, Sola, Go] munjeni:
Ok, do we have defined fm output (0x2000)? I seen somewhere booth input and output need to be opened to get it working!? We need to add fm input into forced_input enum?
[Sony Xperia P, U, Sola, Go] jerpelea:
https://github.com/CyanogenMod/android_system_core/commit/84a539ea11d081b793f16c439205d01d11fb3e0e

https://github.com/CyanogenMod/andr...mmit/ce527312a73010de0f6b72d9bb46da6892e14dd1

https://github.com/CyanogenMod/andr...mmit/706e15c552e137a1ca80927ed2a433af7c570001

i know that is hard to search on cm repo ;)
[Sony Xperia P, U, Sola, Go] munjeni:
:laugh::good:
[Sony Xperia P, U, Sola, Go] nosmaster:
Usiing 206a bolume seems v quiet anybody else or any way I can turn it up. Sliders are up all the way
[Sony Xperia P, U, Sola, Go] krachlatte:
Hi guys,

could you commend why these values differ from the original bootimage used by sony?

from your boot.img

cachepolicy=writealloc noinitrd init=init board_id=1 root=/dev/ram0 rw rootwait console=ttyAMA2,115200n8 androidboot.console=ttyAMA2 androidboot.hardware=st-ericsson mem=96M@0 mem_mtrace=15M@96M mem_mshared=1M@111M mem_modem=16M@112M mem=32M@128M mem_issw=1M@160M hwmem=64M@161M mem=287M@225M mpcore_wdt.mpcore_margin=359

from kernel.sin out of original sony ftf.

cachepolicy=writealloc noinitrd init=init board_id=1 logo.nologo root=/dev/ram0 rw rootwait console=null androidboot.console=null androidboot.hardware=st-ericsson mem=96M@0 mem_mtrace=15M@96M mem_mshared=1M@111M mem_modem=16M@112M mem=32M@128M mem_issw=1M@160M hwmem=71M@161M mem=280M@232M mpcore_wdt.mpcore_margin=359

thx
[Sony Xperia P, U, Sola, Go] munjeni:
Good ! Its memory layout! We not know which one is right or which one layout we have installed by diferent ota firmware!? Any one analysed?
[Sony Xperia P, U, Sola, Go] doctor_droid:
Hi munjeni

Will u plz make a eye here

http://lwn.net/Articles/415681/

http://patchwork.linuxtv.org/patch/6044/

Its related to hwmem and CMA

The previous post of kernel differences had different hwmem values... So I was googling and found this written by st Ericsson consultant

Although it shows no specific value which should b assigned.....bt it mentions our board...

The post is also a bit old...( sorry if its useless m not a developer jz a future dentist :)
[Sony Xperia P, U, Sola, Go] munjeni:
Not checked diference in current kernel but will check if that is implement and will try too if not! I doing the same thing by crontab (on every minute) by executing this:

sync && echo 3 > /proc/sys/vm/drop_caches

That command clean and invalidate cached memmory for about ~80mb everytime when script is executed... its in memory tweak update in my stock rom thread... android is really smoother after these invalidating :) ... but I not found something good to do that by kernel side... Sony kernel really have buged memory freezer because memmory is all times bussy and full!
[Sony Xperia P, U, Sola, Go] munjeni:
Is wifi keep on while screen is off?
[Sony Xperia P, U, Sola, Go] hans3103:
good

I tried the freexperia fxp 207 and i found out that deepsleep was not working, so it drain the battery fast. For the rest it was good..... Tonight i installed fxp205 and this is (so far) better. Deep sleep works and i think its more smooth. This rom is for me good for everyday use i will try it for a while.

Thanks!

:good:
[Sony Xperia P, U, Sola, Go] antonio.v.s:
I have an xperia GO, I have installed the fxp 205, 206, 207 and always have the same fault, I can´t manually select a network.

I live near a frontier and with the automatic selection sometimes my phone connect with a foreign network I have disabled the roaming and my phone lost the cover.
[Sony Xperia P, U, Sola, Go] nosmaster:
206a can't connect to network phone shows mobile signal but wont connect to thw network was working fine thw pthee day as I got a txt
[Sony Xperia P, U, Sola, Go] krachlatte:
guys what would you need to fix the A2DP issue?

would a logcat be a good start ?

cheers
[Sony Xperia P, U, Sola, Go] doctor_droid:
Audio routing is missing for a2dp n fm radio
[Sony Xperia P, U, Sola, Go] ScratMan38:
And what does it mean ? what do they need ? the audio format (samples rate, word length, data bit number, alignment...) ? the name of the used interface (I2S, TDM or SPI) ?
[Sony Xperia P, U, Sola, Go] krachlatte:
thx
[Sony Xperia P, U, Sola, Go] munjeni:
We have runing "hardcoded" audio libs that was not from stock Sony Xperia Go rom, so all problems related to audio is from that! Stock audio blobs not working in CM9 rom, we have no source code...etc, and thats all about that. Funny and sad, on Sony site you can see "we support developers" but is that true? I don't think. :( ... funny and sad is that we are limited to the Sony prebuilts and we are unable to get JellyBean and other good roms because Sony can not get support to us as said on his site, at least to give us help for missing audio routing! So Sony I giving you reversed:good:
[Sony Xperia P, U, Sola, Go] jerpelea:
unfortunately everybody blames sony but the root of the problem is ST-Ericsson (the one that produced SOC), Sony has released for all its devices the same OSS material.

ST-Ericsson has on its developer git mostly outdated blobs instead of sharing code

on the other hand Qualcomm has an well developed git with lots of info for every soc that it produces

br

J
[Sony Xperia P, U, Sola, Go] doctor_droid:
Isnt any way to force st ericsson to release sources!!??

No wonder their letharginess has kept sony novathors to b limited to cm9.1 while devices wid other soc are enjoying cm10.1 ....probably when android reaches version 5 we shall have a stable cm10 tht moment all thanks to st ericsson policies
[Sony Xperia P, U, Sola, Go] munjeni:
Seems everything is from ST-Ericsson and Sony is foxed by ST, but I not agre with Sony because Sony need to remove "line" from his site about open development because we are foxed too by Sony by looking into these line! I never had Sony device before, its my first device, I buyed Sony because I seen "line" on his site about open development and thinked this device is ideal for my learnings and development, but I get foxed because its not true... in any way every device have something missing, for example HTC had missing kernel source code but had everything other public... Sony have kernel complete public but have missing audio, ril, ...etc ... in any way I am satisfied with having Sony because its better than HTC :)

OK, sorry for offtopic, lets back to the theme. I will play more with audioflinger and will let you know if I found something. About RIL and problem related to "network search", I have got fixed problem related to the network search, but its smali hack, maybe we backport that to java...? Here is commit about fix -> https://github.com/munjeni/miui_sony_xperia/commit/f118318100ba3d08ab4bfa1ab32443b48c1ca092 I must say battery drainage is fixed too by importing RIL smali from stock rom! Still not analysed but there is something about power consuption:

...etc :good:
[Sony Xperia P, U, Sola, Go] munjeni:
FXP, do you have idea what cause wifi to sleep after screen goes ofline? I got some infos about wifi:

- when screen goes off (phone not connected to the usb) wifi switching to off

- when screen is off (phone not connected to the usb) iw get these power saving mode byself to "on"

- I turning power save mode to off but when screen goes off these power save mode is automatically again "on"

I made an script and tried an "infinity loop" but power save is again switched to "on" :(

Script:

#!/system/bin/sh

GET_WLAN_CONNECTION_STATUS=`iw dev wlan0 link | grep onnected | awk '{print $1}'`
GET_WIFI_SLEEP_POLICY=`sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT value FROM system WHERE name='wifi_sleep_policy';"`
POWER_SAVE_STATE=`iw wlan0 get power_save`

while true; do
if [[ "$GET_WIFI_SLEEP_POLICY" == "2" ]]; then
if [[ "$GET_WLAN_CONNECTION_STATUS" == "Not" ]]; then
GET_WLAN_CONNECTION_STATUS="Not connected"
iw wlan0 set power_save on
fi

if [[ "$GET_WLAN_CONNECTION_STATUS" == "Connected" ]]; then
iw wlan0 set power_save off
fi

fi

echo "wlan connection status = $GET_WLAN_CONNECTION_STATUS"
echo "wifi sleep policy = $GET_WIFI_SLEEP_POLICY"
echo "power save state = $POWER_SAVE_STATE"

sleep 1;
done

Do you have idea which binary put these command to the iw "iw wlan0 get power_save"?? Thanks!

Allso:

This command (iw phy phy0 wowlan enable any) is wrong when I try from adb shell !?
[Sony Xperia P, U, Sola, Go] jerpelea:
comand should configure your wlan sleep if you have corect iw version

in my opinion script is not the right way
[Sony Xperia P, U, Sola, Go] munjeni:
These command not working in your rom too! Wifi going off when screen goes off in your rom too! So I ask help from you. Why power save is enabled for iw but I disabled them? Idea?
[Sony Xperia P, U, Sola, Go] elia222:
Fxp, I can confirm that also on xperia u's cm9 the wifi is disabled when the screen goes off.
[Sony Xperia P, U, Sola, Go] munjeni:
Seems there is (framework? Or trought an binary? Or kernel side?) command for example for automatically putting command to the iw (power_save on)... I tried to disable them but its allways enabled when screen gone off !
[Sony Xperia P, U, Sola, Go] dimon2242:
On FXP for Xperia P wifi policy is working :silly:
[Sony Xperia P, U, Sola, Go] munjeni:
Did you tried to get help from Sony about audio??? You deserve help!
[Sony Xperia P, U, Sola, Go] jerpelea:
we are all w8ing for 4.1 release
[Sony Xperia P, U, Sola, Go] jerpelea:
patience is an virtue
[Sony Xperia P, U, Sola, Go] netmaniack:
Just got random audio crash. Ears speaker and speaker in the back was not working. I noticed when i receved a call and picked up - no sound. Hanged up and checked volumes and there was no sound on back speaker to. i didn't hear a test tone from volume sliders as I used to. After restart everithing was ok.

Edit: I'm using FX210.
[Sony Xperia P, U, Sola, Go] mirost1:
no one reported this till now, try clean flash again.
[Sony Xperia P, U, Sola, Go] ruifung:
No build with a2dp working yet?
[Sony Xperia P, U, Sola, Go] ruifung:
Is it normal for the Baseband version to show "Unknown" ?

EDIT: And the Emergency Call button isn't visible on the pin unlock screen.
[Sony Xperia P, U, Sola, Go] munjeni:
XP, I got some analyse about FM radio. Here is some things that missing in CM (red lines):

Stock rom logcat:

Seems mediaserver is not called (I can not see them in logcat)! We having crash after blue line (everything before blue line is the same like in stock rom! Do you have ideas? :(

After blue line (from stockrom logcat) in CM logcat we have this:

CM logcat:

Interesting thing is anm_ap: line number(diferent than line number from stock rom logcat)! Maybe we achieve some things from these two lines in anm library (info about right input source)? In booth ways we have invalid input device 8, but something is diferent, don't have idea what :(
[Sony Xperia P, U, Sola, Go] jerpelea:
adm is blob and we can not fix it
[Sony Xperia P, U, Sola, Go] munjeni:
This is I am sure wrong:

AUDIO_SOURCE_FM_RADIO_RX, device 1000000, SR (48000) F (1) C (c) ...I will try to search in decompiled adm for more infos :(

Edit:

Or maybe problem is:

E/MediaPlayer( 3155): error (1, -19)

Found some ansfers here -> http://stackoverflow.com/questions/...1-4-while-playing-an-audio-from-assets-folder about mediaplayer and here about error codes for media player -> https://github.com/android/platform.../master/pvmi/pvmf/include/pvmf_return_codes.h

So media player error is:

Is it unsuported codec, or no permission to the "fmradio://rx" , or problem definitelly is error opening input device??? :(

FXP, please let me know where you found audio prebuilts for your curent rom? Is these audio libs patched? Where you found them?
[Sony Xperia P, U, Sola, Go] yumiee96:
Should I Wipe Data if I want to update CM9? I'm currently using CM9 FXP210 :silly:
[Sony Xperia P, U, Sola, Go] mirost1:
You dont need to.
[Sony Xperia P, U, Sola, Go] yumiee96:
Oh, thanks... Actually I'm using FXP208 not 210...

Damn brain :eek:
[Sony Xperia P, U, Sola, Go] munjeni:
Great!
[Sony Xperia P, U, Sola, Go] helkaluin:
What are the incentives behind initially implementing a limit of 3 background apps in FXP 210, and then now changing it to 10? Are there any realistic benchmarks supporting this specific value?
[Sony Xperia P, U, Sola, Go] ruifung:
- Snip - Wrong post.
[Sony Xperia P, U, Sola, Go] jerpelea:
it influences how many apps work in background

ex : facebook,audio player,messngers

apps that notifiy you when something new appears

limit 3 was too low (giving best free ram) default is 15

10 seems to be better option for 512 mb devices
[Sony Xperia P, U, Sola, Go] mirost1:
Thanx for your answer FXP, and thanx for your great work mate. Cheers
[Sony Xperia P, U, Sola, Go] helkaluin:
Stale DHCP lease problem in Android. Delete /data/misc/dhcp/dhcpcd-wlan0.lease and reboot.
[Sony Xperia P, U, Sola, Go] Andreas083:
Great work! Running Fxp 212 now and it is very fast and stable.

I have one question though. As I switched the system dialer I can't access the "call" settings (don't know the english word) where you can set to redirect calls, calls on hold, dailpad settings etc. It is usually in the System settings menu in other roms. How can I access this without the built in dailpad?

The only way I found was to manually add a manual redirect with *21*number# command wich adds a phone symbol in the notification. Press it and youre in.

Also it is possible the get facebook to sync contact photos? Can't find that function in the Facebook app anymore. I installed another app with this specific function. It works for contacts but It doesn't show my picture in the message app in my sent sms.
[Sony Xperia P, U, Sola, Go] helkaluin:
FXP, are there any reasons that the idProduct values are different from the values supplied by libmtp?

Compare:

https://github.com/CyanogenMod/android_device_sony_lotus/blob/ics/config/init.st-ericsson.usb.rc

and:

http://sourceforge.net/p/libmtp/cod...97c32402ffb21b22f979/tree/src/music-players.h
[Sony Xperia P, U, Sola, Go] jerpelea:
no

just got them from sony shipped rom

i corrected the values now

thanks
[Sony Xperia P, U, Sola, Go] yumiee96:
Great!! Downloading now!
[Sony Xperia P, U, Sola, Go] wfoxs:
Hello fxp. I just wanna share my problems with browser. If i use browser for long time, data connection sometime turn off it self. And browser close it self to, I mean just close like I hit home button. thanks

#sorry for my english
[Sony Xperia P, U, Sola, Go] egzi:
GCM trouble

I have Xperia Go with 9-20130405-UNOFFICIAL-lotus. It seems that the GCM (Google Cloud Messaging) doesn't work. It doesn't notify about new emails in GMail at all, and disconnects from google Talk when going into sleep.

Besides that camera crashes when attempt to use funny faces feature.

Greetings!
[Sony Xperia P, U, Sola, Go] j to the 4n:
Is the latest release good for a daily driver?

Any major issues?

Wanna install a custom rom for my gf....she's complaining about performance on the stock ics rom.

Don't want to get slapped again through the whole house if something is not as smooth as she wants or something is broken that she needs (-:
[Sony Xperia P, U, Sola, Go] sp4x:
I use it for every day use, both in my work and private use, works awesome!

I do miss the option to overclock and choose more governor but it is way better than stock
[Sony Xperia P, U, Sola, Go] yumiee96:
Great one... Will download it this night

---------- Post added at 06:29 PM ---------- Previous post was at 06:26 PM ----------

No issues so far on my XGO
[Sony Xperia P, U, Sola, Go] hdmiacc:
do u test connection with data connection.. because i faill to connect to data.. but wifi work properly...
[Sony Xperia P, U, Sola, Go] drogina1:
i still can not install this rom :( i still get in recovery error status 7 :( please some one explane how to fix this? i see i must something chance in adb mode but where i must change this?
[Sony Xperia P, U, Sola, Go] yumiee96:
I dont know about that.. I'm always use wifi
[Sony Xperia P, U, Sola, Go] hdmiacc:
i also subscribe for data.. because not all place prove wifi connection
[Sony Xperia P, U, Sola, Go] egzi:
This will do:

http go(dot)apeboys(dot)org