yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] KelleyCook:
For me, CM11 used to be laggy, but that went away when they converted to the shared Kernel at the beginning of July.

Its now much nicer than stock.
[Xperia SP Original Android Development] TechnoSparks:
There is a bug that I could not recreate however i found a solution to it.

I thought it has to do with the rear mic fix file, however seems it isn't.

My earpiece doesn't emit any sound at all. I thought my friend's phone was broken or something however things startled me when it was actually my phone itself is the problem.

I cannot play any sound at all yet all volume sliders are already at the highest rate as possible. I tried rebooting, and even flashed the nightly again! The problem still persists. What then i do is plug in my earphones. Then remove it. Voilà then it worked like a charm. I can play sounds now, the speaker now works as it should.

As I cannot recreate this bug however, this must have something to do with the headset detection feature (you know, when you remove your headset, the music pauses?). Would be nice if future releases minimises this problem.

Just a simple bug report. Maybe this could help one or two on the internet. By the way, if i found a quite important bug to report, where should I attempt to report it? I am quite new to Cyanogenmod, so I don't really know everything.

EDIT

I can recreate it by calling a person (I called my mobile operator's bot lol) with my earphones plugged in and then remove it in the midst of the call. Starting from that point, the problem returns.
[Xperia SP Original Android Development] ironshadow2:
Last build I used was 20140710 and I faced some lag, when I installed a Stock based ROM, I was surprised how it was much smoother than CM
[Xperia SP Original Android Development] Th3Duck:
[MENTION=5765352]TechnoSparks[/MENTION]. I had the same problem but then on stock. When listening to music and unplugging the headphones without pausing the music usually resulted in the phone thinking there where still headphones plugged. This meant no sound out of the speakers.

Plugging headset in playing and then pausing music and after that unplugging headphones cleared the problem. Could try that when the bug appears again.

As you said probably has to do something with detecting the headphones.
[Xperia SP Original Android Development] igor_anta:
It's a hardware problem. When that happened to me I re-flahed a rom and it was still stuck on headphones. Just disconnect and reconnect the headphones to fix it.
[Xperia SP Original Android Development] underdog2k9:
My Phone often gets stucked in Standby since some days. Have to reboot then. Anybody else got that Problem? I am in latest nightly.
[Xperia SP Original Android Development] Androidkeeda:
Same here bro... I was cm11 fan and use to update daily.... But i found its to be laggy and then i flashed ultimate pure xsp... And i m surprised too that how 4.3 works sooooo well.... No lags at all...
[Xperia SP Original Android Development] Rycon33:
^^^ I'm curious where you guys are encountering the lag. UI or games?

CM for the last few nightlies has been solid here on my phone.
[Xperia SP Original Android Development] Nathan rd:
i had this in stock rom , it may be h/w not s/w related

---------- Post added at 01:53 PM ---------- Previous post was at 01:45 PM ----------

using cyan delta to update may cause lag as i do
[Xperia SP Original Android Development] ironshadow2:
Right now I'm using pararoid android ROM and it is based on .205 frameware and it is it faster than cm

I don't think I'm going back to cm soon.

And one more thing, have anyone tried William kernel 4 with this ROM? And how is it?
[Xperia SP Original Android Development] Rycon33:
Ironshadow, that ROM you're mentioning has the device tree forked from CM and the frameworks from Paranoid Android. So it's not based on Sony's .205 firmware.?

Tapatalked from my Xperia
[Xperia SP Original Android Development] ironshadow2:
Oh sry , I meant it uses stock kernel,

How is the performance on the latest nightly of cm?
[Xperia SP Original Android Development] TechnoSparks:
[MENTION=5360098]Th3Duck[/MENTION] Yeah i do think it does have to do with that. But differ from yours, I only can have this problem in calls only. While playing music doesn't do such thing on my SP (though I don't mean there are not any possibilities)

Fix already known. As I don't ever faced this, including the time when I first grabbed this device, I might need to take a little bit of concern to post on this thread. Just for sharing purposes only. It doesn't bugs me out so much, but yeah I know it is a hardware problem, but it might still be software related. Take a computer as an example, they do not really have that detection feature (i am saying about vanilla Windows (without OEM drivers, eg laptops) or Linux) pulling out the earphone is the middle of something does not break anything.

Really? How can Cyan Delta slows a system down? I do not understand. I didn't used Cyan Delta as i haven't heard of it before. But as I can understand it better now, i thought it is good at its acclaimed feature.

---------- Post added at 03:02 AM ---------- Previous post was at 02:56 AM ----------

With it being my highly unstable daily driver, yes, it is really fast on my experience :)
[Xperia SP Original Android Development] ireaper4592:
yep just happened to me too i was using 2107
[Xperia SP Original Android Development] RoXzAn:
It also happened to me i am on 2307 build
[Xperia SP Original Android Development] ironshadow2:
I'm now on 23072014 build with William kernel and now the performance much better than before, and system ui fc is fixed now. It is better than ever for me.

Edit: the phone over heart really fast, have anyone had this problem Before :(
[Xperia SP Original Android Development] Gamm86:
Try a different kernel, should you not have switched it already, undervolt your phone and use mpdecision. (tools included in apps like "Trickster MOD")
[Xperia SP Original Android Development] Alx31:
youtube fcs...on my last build and was working on previous one...just wanted to know if here also...thx
[Xperia SP Original Android Development] h20ray:
anybody face this problem?

install nightlies with cyandelta, and after that stuck in starting application?
[Xperia SP Original Android Development] Rycon33:
Haven't experience that here. Though I remember it happened on my other phone last time, the workaround is to uninstall YouTube completely (if it's a system app, use Titanium backup app to uninstall) then reboot the phone. Install fresh and it will work again.

Tapatalked from my Xperia
[Xperia SP Original Android Development] TechnoSparks:
It would be great if "USB Storage" is used rather than "SD Card" for the USB storage section. I was previously too surprised about having my SD card formatted, when in fact I was formatting my USB disk.

---------- Post added at 02:27 AM ---------- Previous post was at 02:23 AM ----------

My YouTube is okay. Perhaps you might need some uninstalling and reinstalling the YouTube?
[Xperia SP Original Android Development] TechnoSparks:
Remember the file that fixes the rear mic problem? I saw a code review that is well, surprising.

http://review.cyanogenmod.org/#/c/68000/

Is it true for some people? I haven't conduct a test yet; but will soon enough. I wish I am knowledgeable enough to at least contribute to fix this problem.
[Xperia SP Original Android Development] MrSteve555:
Yes, it's true.

The rear mic is enabled, but gain is too low. But after increasing it's causing echoes and all kinds of weird things. There is a hacky way to get rid of echoes, but the noise is still present.

To all:

Basically there is no way to fix rear mic without other issues in our current source information. We can have rear mic enabled = noise(and some people report echoes), or rear mic disabled(and then the calls work without any issues). We can't have two things working at the same time without fixing the sources(maybe defining customplatform.c in device tree would help).
[Xperia SP Original Android Development] adfad666:
How important is Hotword detection to you guys? I've been using a build with some clever hacks and this fixed the audio issues. However it also needs some clever hacks to CyanogenMod otherwise 'ok google' will stop working. This hack is not in CyanogenMod yet so fxp and nightly builds would lose this feature until CM accepts the second half of the clever hacks.
[Xperia SP Original Android Development] peters.:
Better have fully working audio subsystem than "Ok Google" feature
[Xperia SP Original Android Development] francescohtc:
true, i've increased the mic gain with faux and i have reverbs and echoes
[Xperia SP Original Android Development] TechnoSparks:
I am experiencing a lock screen problem. This happens usually after booting up. After booting complete, the lock screen won't show up at all. This means someone who holds the phone can do anything like texting, browsing the internet etc. Only by tapping the home soft key will lead to the lock screen.

This is much of a concern for security, as one might obtain some precious information through this flaw. I, for example, store nuclear launch codes in my messaging app. As far as I can recall, I started seeing this problem from 0724 nightly up until now.

Other than that, I can't seem to put wifi tethering to work, which is a huge sadness for me as I was about to earn hard cash from my siblings lol

Another concern here is that I found this weird log entry as I am just learning to use Catlog

Based on the log entry above, it seems, obviously, mpdecision unable to put sleep mode for the secondary core. I am on the CM kernel, that is why I decided to post about it here. Any thoughts or advice for me in this matter?
[Xperia SP Original Android Development] h20ray:
after update latest nightlies, always get this problem. and i must reflash factory reset every update latest nightlies. anybody can help me?

thanks
[Xperia SP Original Android Development] Daniel.Medeiros:
you could try to make a full wipe then flashing again
[Xperia SP Original Android Development] fsyh95:
anyone could help me to increase the volume
[Xperia SP Original Android Development] TechnoSparks:
If those clever hacks will be accepted in CM, I would gladly wait for it. Besides, better late than never, right?
[Xperia SP Original Android Development] ironshadow2:
what is clever hacks?
[Xperia SP Original Android Development] TechnoSparks:
If you want the meaning of the words (based on how i understand it) it is

A modification to the system that is constructed cleverly to fix the already present problem.

If you are meaning where to get those hacks, no I don't know any hacks, and I am not a professional like that dude :)
[Xperia SP Original Android Development] Dragonkind:
I guess, you are using ART mode now...

Just turn back to Dalvik. ;)
[Xperia SP Original Android Development] TechnoSparks:
Flash a Zip to Fix your Mic!

Hello, this fix is no longer compatible with 20140829 Nightly as that nightly has done something very miraculous for our XSP, or simply said the mic was fixed in that version. Version prior to that nightly can still use this method

Now you can have it working. Thanks to adfad666 with his mighty Android knowledge, it is now possible to use the rear microphone on our XSP. He gave the fix in a form of a file, and I want to make the process easier, thus the existence of these two different methods to put his glorious file into your system. :D I will update the zips once there are md5sum differences on the snd_soc_msm_2x Final version of the zip is 20140828

I am not saying these things are perfect, using these things on your phone are completely your responsibility. I, in no way, will be responsible for damages occurred when using these things. Fortunately, I tried my best to make sure they will not break anything

Other ROMs compatibility

It is reported that this fix worked on Paranoid Android ROM by nexusprime. It might worked on yours too (if you're not CM), just give it a try! Telling me if it didn't work (or even work!) is a good thing to do!

Problems do present!

It is recommended to not use the modified snd_soc_msm_2x for daily use. Flash the modified file only when you think you should (like recording a video) and then go back to the original file. Why? Modified file yields another problem in which, there will be echo in calls!

Flashable Zip!

This flashable zip that should replace the original snd_soc_msm_2x with the modified one.

xsp-rear-mic-fix.zip

This flashable zip that should replace the modified snd_soc_msm_2x with the original one.

xsp-rear-mic-cm-original.zip

Shell scripts!

I also made bash scripts to handle flashing while using the phone (technically while being on the ROM). You can run it through the terminal emulator. Prioritise the terminal emulator over file managers. My scripts work awfully on some file manager's script execution feature. Probably because of the read bash function. Advanced users are recommended, though a newbie tutorial do included in this zip for newbies. Scared if I will do some damage? Read the script, and judge it from there :D README is included, be sure to read it first!

xsp-rear-mic-cm-fix-otg.zip

The zip is not for flashing via recovery! :)

Hit the Thanks button!

... and make me happy :D
[Xperia SP Original Android Development] Bruno_Puzoni:
Hey guys, I'm not sure if I should install FXP or Official Nightlies from CM.

I just want to know the differences, not which one is better.

And before any misunderstoods, yes, i already read the rules. :silly:
[Xperia SP Original Android Development] Siddhesh:
Fxp : Uses same source to build CM11, Custom fxp bootlogo, releases weekly updates so less risky but slower bug fixes.

CM Nightly : Same Source, Default Sony bootlogo, daily update so faster bug fixes and first to have new features, Has more risk(currently stable) compared to FXP.
[Xperia SP Original Android Development] Tomoms:
Hey, is there a way to download the first official nightly build of cm11 for Xperia sp? I think it was from June 5th. I really need it. Don't ask me why :silly: Thanks!!
[Xperia SP Original Android Development] ireaper4592:
think this is it http://download.cyanogenmod.com/get/jenkins/71124/cm-11-20140604-EXPERIMENTAL-huashan.zip
[Xperia SP Original Android Development] krokanic:
ok, i have an odd bug...every game that uses obb file after some time the obb file disappeares and the phone memory stays filled with size of the obb file...and ofcourse i cant play that game...
[Xperia SP Original Android Development] Tomoms:
No, that's the experimental build dated June 4th. I'm looking for the very first nightly build.
[Xperia SP Original Android Development] AndyYan:
The only way I know of - and a VERY inefficient one - is by manually flipping through one of CM's Jenkins servers (just go to OSS Reflected: http://oss.reflected.net/jenkins/ ).

From the link above you, 0604's experimental build is build #71124, so you might wanna look inside folders with #s close to that (at least you know the date of the 1st nightly, right?).

Once you find something that matches (do be careful not to download something for other devices!), just start the download. Good luck getting yourself lost in there :D

Sent from Google Nexus 4 @ CM11

---------- Post added at 10:27 PM ---------- Previous post was at 10:24 PM ----------

Can you find them from your phone?

Sent from Google Nexus 4 @ CM11
[Xperia SP Original Android Development] krokanic:
no, nowhere...i must do factrory reset to clean the memory...maybe foldermount caused that....

edit: but foldermount works great on stock 4.3...maybe it is latest android 4.4.4 problem because i had this on paranoidNexus rom too... and one more thing, games like nfs MW that uses data stored in Android/data never disappeared...

does anyone uses foldermount whit official nightly builds??

!!!the problem is resolved with the clean install of the latest nightly!!! :D
[Xperia SP Original Android Development] MetalOllie:
I'm on Nexus CM11 for LBL, latest build with the rear mic disabled. Could I use these and "flip" between them.. Obviously my phone is primarily used for calls, so the original would be in use most of the time, but I do quite a lot of video recording, so being able to quickly flash a mod to gain access to the rear mic, and then flash back when I'm done would be incredibly useful until an alternative method can be found?

Cheers!
[Xperia SP Original Android Development] Rycon33:
I just noticed, when connected to a bluetooth device, my phone is encountering audio lag(around 1 to 2 sec) when playing games, I tried Soul Calibur and Temple run brave. The music and video, youtube etc are all fine on the other hand.

Anybody else noticed this? Tried on two different blutooth device, on my Creative T15 speaker and Sony SBH50.
[Xperia SP Original Android Development] shadyg:
Hey!

I have a question, which is the best way to unlock the bootloader for this rom, the official way or the flashtool way?

I`am getting sick of the Sony stock Rom, his lag and problems.

Sorry for offtopic.
[Xperia SP Original Android Development] Gamm86:
Off topic indeed.

Follow the official guide on Sony's website: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia SP Original Android Development] elaff:
Sometimes my screen doesn't wake up, I have to reset with rear button. This happends to me few time ago, on every nightly I flashed. Any solution? Thanks in advance
[Xperia SP Original Android Development] neyon:
I got also same

I got that problem also last 2 weeks. just wait 2-5 min and work back. and also system ui crash more frequently ( back to lockscreen, lost wallpaper)

I know that wipe phone fix most things but i don't want do that every weeks :p if Next CM11 M-release come i will do wipe and stay on M-release.
[Xperia SP Original Android Development] Zygmus:
Got this yesterday, had been waiting half an hour... As I checked in logcat, there was some problems with wallpaper loading or seting (im not familiar with it). The phone was very hot during this time. I set my wallpeper to blan screen, the device's started working visible faster, and have not have the issue since it.

Just try the same and let us know.
[Xperia SP Original Android Development] jangid:
anybody help please :(

i was on free xperia rom latest nightly cm 11... and then i thought i should try aokp cm11 .. i flashed aokp kernel via flashtool ..and screen went off and whenever i try to switch on it the screen remains black its just red light blinks in the bottom of my xperia sp ... i left phone on charging but it doesnt show any charging logo ... i tried to hard reset from the button off button .. i cant connect it it flashmod so i can flash stock rom ... its just red light led bar in the bottom whenever i connect my phone to pc ..or i press power button ... please help what should i do ... i do have nanaroid backup but how i can i get in recovery cause the phone is not turing on :(
[Xperia SP Original Android Development] Rycon33:
^^ Connect your phone to the PC(ofc nothing happens). Then hold the volume-up button(still nothing will happen).

Now, press the hard reset button of the phone and you will feel one or two vibration and it will enter fastboot mode. Your phone is alive again.
[Xperia SP Original Android Development] TechnoSparks:
I do not know about this but I strongly recommend you not to do that. The snd_soc_msm_2x was strongly modified for Xperia SP. Flashing to your Nexus might gets its mics not working.

But you may flash it. But keep in mind any damages happen I won't be responsible. Have fun :D Keep in mind to back up your original snd_soc_msm_2x

EDIT: Hmm the binaries used in the zip is for the xperia sp. You might want to alter the zip or replace the snd_soc_msm_2x in your file manager manually.

MORE EDIT: I think you should not do anything and open a new thread at the board of your phone, or post a question on the related thread of your ROM. This is for your phone's safety!

---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------

I have no experience on bricking my XSP this hard but does this method works for most hard bricks? Do I have to hold the volume button while pressing the hard reset button just like how I manage to get into flashmode the normal way?

This particular knowledge really impresses me as I haven't seen any way to unbrick the XSP.
[Xperia SP Original Android Development] MetalOllie:
Sorry.. Should have been a little clearer in my post.. I have got an Xperia SP.. The Nexus refers to Nexus Prime (the user), who built the CM11 ROM for the SP.
[Xperia SP Original Android Development] Rycon33:
It happened to me a couple of times when I was self-compiling CM11(with addition of some optimization) when the kernel failed to boot or the phone doesn't even start-up. Yes, the phone needs to be connected via USB and you must hold the volume-up button while you are pressing the "hard reset" button. Then you're already safe once you're in fastboot mode.

I never tried volume-down(flash mode) but I think it will work also just the same.
[Xperia SP Original Android Development] TechnoSparks:
No need to be sorry. I think it is my fault for not realising that you're mentioning a name of a user. :)

I think the zip might work well. Trying this out won't hurt anything but do a backup first (your original snd_soc_msm_2x), else you might lost the original file for good.

Happy testing. May I know the results too if you really flashed it?

---------- Post added at 08:43 PM ---------- Previous post was at 08:39 PM ----------

Thank you so much this will definitely be in my notepad! :D
[Xperia SP Original Android Development] TechnoSparks:
Concerning about the WiFi Hotspot

Asked quite a while back in the thread, hoping for fresh response again.

On 0725 nightly I faced an error on activating WiFi hotspot. I posted if anyone had the same problem in this thread and none gave any response, so I assume the nightly has bugs related to wifi hotspot. Now as I flashed 0801 nightly, I still had the same problem, and I am really confused on what to do. Attempting to activate the hotspot will result in "Error" in the settings. Turning on the WiFi from this point won't work and a reboot is required to gain WiFi connectivity.

Not begging for a fix, I just want to know if there are any others who are having the same problem as mine?

Logcat attached, so someone interested might want to check it out. I've seen some weird tethering and connectivity errors. Sorry if the log is full of clutters, I do not know how to clean a log....
[Xperia SP Original Android Development] korenisko:
Mine working no problem
[Xperia SP Original Android Development] MrSteve555:
Permissions in /data/misc/wifi/hostapd.conf are messed up. Try chmod 777 on that file, and if it doesn't help, backup your data and factory reset.
[Xperia SP Original Android Development] TechnoSparks:
Thanks for the help, will use your suggested method if I ever have the same problem (and some familiar logs).

But unfortunately, I haven't tried your suggested method, as I somehow fixed it indirectly. I was testing another ROM earlier this evening. I did a nandroid backup of cm11, and then flashed PA. After experiencing PA (wifi hotspot works there), I restored my last nandroid backup, and surprisingly, the wifi hotspot works fine now :eek: If it is really about file permissions, then how did restoring the backup works? This is weird. Anyways it was fixed. I wish I could understand more..
[Xperia SP Original Android Development] ironshadow2:
When I install cm11 at first the rom is really fast and smooth but after a while of using it it starts to become laggy and then the lag increase. does this happen to anybody else?
[Xperia SP Original Android Development] SpaceCaker:
Same here :/ i used official cm nightly though,03-08 agust

Power lock button after press it takes long time to return on screen and such
[Xperia SP Original Android Development] ironshadow2:
what about switching between apps , opening apps and multitasking ?
[Xperia SP Original Android Development] SpaceCaker:
Had same lag after some.using :/ think that its more a CM bug then device

As on aospa it worked fluid