yashsingh1/xdaforums huggingface dataset:
[Xperia SP General] TheAvengingTITAN:
Google it. Its the easiest step of all. Don't expect to get everything to be served to you.
[Xperia SP General] _ayke:
Haha, ok Ill google it.

---------- Post added at 02:57 PM ---------- Previous post was at 02:31 PM ----------

Haha It worked! I love you Guys! No homo...
[Xperia SP General] TheAvengingTITAN:
Good for you lol :D

Sent using CM12.1
[Xperia SP General] NicestRudeGuy:
calls are really laggy

the calls are really laggy

:(
[Xperia SP General] _ayke:
So I came across 3main problems.

1-calls, as u all know

2- its quite laggy

3- when I reboot, it gets stuck at cyanogen mod animation then I have to force reboot it 3-4 times after which optimizing apps and opening app start which sometimes just never finishes.

Otherwise its the most complete ROM of lollipop for XSP
[Xperia SP General] kanav96:
And the word of the day is

.

.

.

.

.

.

Patience :angel:
[Xperia SP General] Tomoms:
We already know that, and devs are doing their best to fix the bug :)
[Xperia SP General] TheAvengingTITAN:
So about the logcats... We got one in and that's it?

Sent using CM12.1
[Xperia SP General] Mrcl1450:
I've got enough by pm don't worry.
[Xperia SP General] TheAvengingTITAN:
Oh that's great news, I was going to start sending logcats if nobody did.

Sent using CM12.1
[Xperia SP General] DahakePL:
Nice decision to switch hosting to basketbuild
[Xperia SP General] TheAvengingTITAN:
Basketbuild ? Oh thank God its about time. I don't understand why people upload to mega, its a pain for me to download stuff from it ._.

Sent using CM12.1
[Xperia SP General] Mrcl1450:
This is the reason I don't build for locked bootloader. (T_T)
[Xperia SP General] TheAvengingTITAN:
Seems like the image there is broken sir...

Besides, there's vwadam, furrydaus and a bunch more people developing for LBL. Nothing to worry about mate. :)
[Xperia SP General] Tomoms:
So I was setting up a build environment on my pc because I wanted to fork CM's source code and build my own zips, manually reverting all the changes applied after February 10th to the device tree, hoping that calls would work again. But then I tried Vanir ROM from 02.11 and calls didn't work. The strange thing is that between 02.09 (date of FXP working build) and 02.11 (date of Vanir bugged build) nothing was changed in the device tree. So where does the problem lie? Is there a part of Android's source code that conflicts with our device tree?
[Xperia SP General] trioset:
Almost certainly, search cyanogenmod github for sony_msm8960, hardware_qcom, kernel_sony_msm8960t etc.
[Xperia SP General] Mrcl1450:
After almost 10 hours building I've go a error because the lack of ram. :mad:

I seriously need to get more ram. I think my pc will fly from the window today.
[Xperia SP General] lvints:
Keep calm man kkk. You were doing a new build? Had any more ideia to resolve calls?
[Xperia SP General] Mrcl1450:
I'm not sure, but i'm testing the max I can. I see people building in 10 min not 10 hours :mad: Well nothing can be done about this, we just have to wait. Patience is a virtue.
[Xperia SP General] Tomoms:
I checked those repos, most of them are abandoned and the latest branch is cm-10.2 or cm-11.0. I have done what I was able to do. In the upcoming days I will build and test.

---------- Post added at 06:43 AM ---------- Previous post was at 06:41 AM ----------

How much RAM have you got?
[Xperia SP General] kontini:
Maybe it's something between 9-10 February in hardware_qcom_audio project in cm-12.0-caf-8960 branch
[Xperia SP General] Tomoms:
Maybe.

Offtopic: Google is going to remove all the SELinux mode changer apps from the Play Store.
[Xperia SP General] TheAvengingTITAN:
What?! Why?? Howd you know??

Sent using CM12.1
[Xperia SP General] Tomoms:
Because Google is stupid.

http://www.reddit.com/r/Android/comments/30xxdr/apps_that_modify_selinux_state_are_not_allowed_to/

http://xdaforums.com/marketing-analytics/app-stores/apps-modify-selinux-forbidden-google-t3068805
[Xperia SP General] TheAvengingTITAN:
Well... Wtf are we gonna do now... Did you get a message from them yet?

Sent using CM12.1
[Xperia SP General] Tomoms:
We now have got 2 options:

1. get the apk from an external site

2. use SuperSU even in CM ROMs (instead of their built-in Superuser app) and place the SELinux script in su.d
[Xperia SP General] TheAvengingTITAN:
I accidentally flashed SuperSU onto this ROM, so you're telling me I can manage selinux from there?

Sent using CM12.1
[Xperia SP General] trioset:
I have managed to recreate the calls issue on locked bootloader and think that the segfault is caused by libaudiopolicymanagerdefault.so

Attached is a zip with the version of this library from the LB build, flashing it might fix calls fingers crossed.

If it doesn't there is a second zip you can use to go back to the current UBL version.
[Xperia SP General] Tomoms:
Not directly.

So you have the ROM, you have SuperSU and you have a recovery. Then reboot to recovery and flash this http://xdaforums.com/showpost.php?p=59233034&postcount=38

It works, I've tried it myself.

---------- Post added at 09:43 AM ---------- Previous post was at 09:35 AM ----------

I'm going to try it right now. I'll be back in a while with news.
[Xperia SP General] Spasik:
so got it somebody working ?
[Xperia SP General] Tomoms:
Calls are finally fixed!!

Yes yes yes yes yes yes yes :good::good::good:

Calls Are Working!! [MENTION=6184902]trioset[/MENTION] you are a genius. Post the fix in the General forum and let's start using Lollipop!

Great!
[Xperia SP General] DahakePL:
WHAT!?!!!
[Xperia SP General] Tomoms:
Yep, you're not dreaming! Calls are fixed!
[Xperia SP General] bamiasHELLAS:
Great work you guys !!! I am so happy !!!!

Thank you [MENTION=6184902]trioset[/MENTION] !!!
[Xperia SP General] suresh86:
Great news! what about mobile data? and other bugs? i am so eager to flash it...:)
[Xperia SP General] DahakePL:
[MENTION=5411190]Mrcl1450[/MENTION]

You should apply the fix to your new build :D

Hope it works well
[Xperia SP General] TheAvengingTITAN:
Mobile Data was already working. Just calls are fixed
[Xperia SP General] DahakePL:
So... torch is left right?
[Xperia SP General] TheAvengingTITAN:
Thank you [MENTION=6184902]trioset[/MENTION], what you have done will benefit every SP user and the future of lollipop development :)

I will not flash that zip now but instead flash the next build with the zip in it. Happy days :D
[Xperia SP General] DahakePL:
Posted on XSP facebook group
[Xperia SP General] Tomoms:
Wait wait wait. Calls work, but audio does not.
[Xperia SP General] DahakePL:
Facepalm
[Xperia SP General] Furrydaus:
You've made something big today. Good job :) I am astonished that you can find that small little flaw in our code. Will be uploading it to my github as a commit if you don't mind [MENTION=6184902]trioset[/MENTION] :)

---------- Post added at 06:28 PM ---------- Previous post was at 06:27 PM ----------

Audio should be easy to fix. I'll look through our code. We've at least got a hold on good ground to find this little rascal in our code

---------- Post added at 06:28 PM ---------- Previous post was at 06:28 PM ----------

Torch was deactivated because it was buggy. Developers over at cm are fixing it
[Xperia SP General] Tomoms:
Fixing audio

I prepared some logcats taken when I was trying to play music with Google Play Music.

One was taken when using NuPlayer (the new player), the other was taken when using AwesomePlayer (the obsolete player).
[Xperia SP General] nplezka:
Sorry but... I read this:

"30/03/15

-Sound Fixed!

-Adaptive Brightness disabled by default (No more hot reboots if you don't enable)"

So... WTF
[Xperia SP General] Tomoms:
You have to make up your mind...

Choose: audio working and broken calls or calls fixed and no audio (audio will only work in calls).
[Xperia SP General] nplezka:
Woops, when you're right, you're right. :silly:
[Xperia SP General] SingularityHRT3:
Now as call is working (and I dont care about torch as We can use 3rd party apps), I just want audio to be fixed (will flash tomorrow anyway, hope audio gets fixed by then)... Did anyone try Viper4android???

[MENTION=5411190]Mrcl1450[/MENTION] time to update OP with the new fix and add audio bug...
[Xperia SP General] Tomoms:
I don't think Viper will solve the problem. I fixed calls using the file libaudiopolicymanagerdefault.so from FXP zip (instead of LBL Lollipop) since FXP has got both calls and audio working, but it broke audio anyway.
[Xperia SP General] SingularityHRT3:
Is the call audible only with the front speaker or it is audible in the main back speaker also???
[Xperia SP General] nplezka:
Guys, are you experiencing bugs with media storage? After a couple of reboots it multiplies songs in all music players on 5.0.2 and I have to wipe the cache. It's the same on 5.1? I didn't read about it on 5.0.2 thread :/

Inviato dal mio Xperia SP con xda Forum
[Xperia SP General] TheAvengingTITAN:
No, none of us have encountered any bugs in that sector
[Xperia SP General] Tomoms:
Back speaker works too.
[Xperia SP General] TheAvengingTITAN:
so... i heard we lose audio. In what sense? As in do we lose the audio in the call or audio all together.

Im confused... and curious xP
[Xperia SP General] SingularityHRT3:
All audio seems to be working fine with the call bug fix in latest VanirAOSP 040115 built... Now that is the most stable built for XSP with almost everything working (with call fix and network SELinux permissive fix)...
[Xperia SP General] TheAvengingTITAN:
I checked its thread but all i find is 4.4.4 versions in the downloads???
[Xperia SP General] Tomoms:
Ok, so as I suspected, the problem arises only when using android 5.1 and the call fix. Android 5.0.x + call fix = ok.
[Xperia SP General] MK99:
I'm not sure whether the effect, but vanir have new "typo"-update.
[Xperia SP General] Mrcl1450:
New Build

My sim isn't working so I can't test if calls are working.

If someone have sim working in this build please test the calls (without any fix zip)

Maybe ril isn't working so try flash ril from 30/03 build + set to permissive.
[Xperia SP General] miki.cis:
Great job guys!!!

Can just anyone try, if Spotify works when the call fix is flashed? Because i remember it was working when there was the problem with no audio in other players in previous builds. thanks!
[Xperia SP General] Duwadibu:
Hello;) Has anyone idea why I don't have a signal? I entered pin code and changed selinux mode I don't know whats going on :/
[Xperia SP General] Marco20:
Same Problem here
[Xperia SP General] Kordius:
Fix calls ! Work sound ! 5.1 ^ ^

I FIX IT !!

Calls and sound work everywhere !

FIX :D
[Xperia SP General] Starkiller564:
Going to try it, but just in case, how do I flash ril from a different build?
[Xperia SP General] DahakePL:
Anyone try that please :P
[Xperia SP General] Tomoms:
I will test it within an hour.
[Xperia SP General] DahakePL:
Confirmed working :D
[Xperia SP General] Pranav_Rd:
My stupid WIFI wont connect.. any idea how?

It connects on my other phone. Also if i make a mobile hotspot it connects to it.. Just the home wifi gives me problem.
[Xperia SP General] TheAvengingTITAN:
I had a similar problem once. What I did was boot into recovery, then wipe cache then boot back and try to connect

Sent using CM12.1
[Xperia SP General] Jurn_Software:
HI!

Who has the complete list of bugs?:)
[Xperia SP General] Mrcl1450:
The OP.
[Xperia SP General] Jurn_Software:
Sorry, I do not understand you.

I do not know English very well.
[Xperia SP General] DarknessFalls:
It's fine :good:
[Xperia SP General] kanav96:
buuuuuuurrrrrrnnnnnnnnn!!!!!!!!!!!!!! >_<
[Xperia SP General] ironshadow2:
So, if I flash the latest build with call fix and audio fix I will have fully working lollipop build?
[Xperia SP General] Mrcl1450:
With all this spam I still don't know nothing about last build. So no one is interested in testing?
[Xperia SP General] Mrcl1450:
No you will not. No one will have a full working build just because we have a fix zip. Sim still have bugs, brightness still don't work etc, etc. So no it's not fully working.
[Xperia SP General] Kordius:
Build 20150402 don't detect SIM Card. After set SELinux to permissive also don't detect.

Surprise :D
[Xperia SP General] Tomoms:
Incredible. Great. :victory:
[Xperia SP General] MK99:
Booting...
[Xperia SP General] kanav96:
Will confirm About the build in an hour
[Xperia SP General] ironshadow2:
can u try if zip fixes are working?
[Xperia SP General] Mrcl1450:
:laugh: Cm team joke.

=======================

Building again with sim fix (I hope).
[Xperia SP General] Starkiller564:
Build 20150402 can't install gapps, they fc continuously at the very start not allowing me to do anything.
[Xperia SP General] TheAvengingTITAN:
Theres a new build???? WHERE?

oh hes building it again... nevermind *facepalms*
[Xperia SP General] Starkiller564:
Can confirm not detecting SIM card
[Xperia SP General] MK99:
Confirm, not sim... Not even after selinuxmode is changed.
[Xperia SP General] nplezka:
So, tell me if I'm wrong:

If I install 0330 version with the latest fix you're talking about, everything is working, so calls and audio (except for RIL+SElinux and adaptive brightness of course), and if I install 0402 version RIL isn't working even if SElinux changed in permissive. I'm right?

I have to decide if I can update to 5.1
[Xperia SP General] kenyeldodol:
Hey guys working perfect and great ROM thanks for your job hehe :D:D
[Xperia SP General] Kordius:
To get dialy use CM12.1

To get dialy use CM12.1 we need:

1. Install 20150330 build + Gapps

2. Set SELinux to permissive

3. Flash this FIX
[Xperia SP General] DahakePL:
Still no signal after changing selinux, help :(
[Xperia SP General] TheAvengingTITAN:
I cant seem to get where you guys found build 0402... And i dont know which fix does what anymore.

I'm confused beyond repair. Gonna wait till OP releases a new build before i do something dumb as usual.
[Xperia SP General] Mrcl1450:
Please if you want to thanks just press the Thanks! button.

===========================================================

Guys last warning about the spam.

This is a development thread, here we just talk about testing and development. Is extremely hard to talk about testing here because when I say something we already have another page and no one see.

Please don't spam with useless posts. Talk about Cm12.1 here: http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956
[Xperia SP General] TheAvengingTITAN:
To Prevent spam and to make life much much easier,

I have created a chatroom for us to discuss. All you need is a username, no account to be created.

See you there: http://www.e-chat.co/room/72636
[Xperia SP General] Kordius:
[GUIDE] RIL on Vanir/FXP CM12

"Do you have a SIM PIN set? If YES just continue reading. If NO, please set one BEFORE flashing a CM12 ROM."

For me working c:
[Xperia SP General] wuarx:
Which build are you using?
[Xperia SP General] Kordius:
Just read post #276.
[Xperia SP General] DahakePL:
Got cm12.1 to fully work, RIL working, calls working, data and wifi too, battery needs more testing, device heats up a bit, many functions which are useful, beatiful design and animations, torch isn't working but that's not a big deal because any 3rd party app from playstore can make it work.

I'm still testing it but it feels like the best LP rom for XSP until now.
[Xperia SP General] Mrcl1450:
Thread for questions is here http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956

I don't say it anymore.
[Xperia SP General] krokanic:
Which gapps... Can i use cyanogenmod 12 gapps??
[Xperia SP General] Kordius:
I used gapps from OP ; p
[Xperia SP General] Starkiller564:
Guys, I can't flash anything with Cyanogenmod Recovery, it gives me Cannot Load Volume /misc error. Can't change the recovery with the method from the first post either.
[Xperia SP General] bearaczek:
What about LBL, if is any chance to get it in the near future?
[Xperia SP General] TheAvengingTITAN:
So far from what we know, no.

Sent using CM12.1
[Xperia SP General] CARUPANBOW:
If you have root access just google for rashr apk copy it from your computer and then from the phone flash the recovery you need.
[Xperia SP General] Starkiller564:
I can't, it gives me an error
[Xperia SP General] Kordius:
Try this
[Xperia SP General] Starkiller564:
Okay, I've already figured this out myself, but I'm definitely going to try this one next time I screw up. c:
[Xperia SP General] TheUnknownThing:
Thank you so much for this, I shall try it out soon!

---------- Post added at 02:08 PM ---------- Previous post was at 01:48 PM ----------

This rom is still in its early stage and it is best to wait if you need to receive calls, text, browse, game or anything for that matter! It is good to report bugs and tell the dev what issues you are facing but don't make it hard for yourself. Use CM11 while you wait for a more stable version :)
[Xperia SP General] Android_trucker:
Does this ROM work with the second fix? i.e .SH system script fix.
[Xperia SP General] krokanic:
Can someone tell me if SMS working?

For me it doesnt...
[Xperia SP General] NicestRudeGuy:
cm-12.1-20150402 this is the latest build

will be flashing this build and is this was found working smooth as the cm-12.1-20150330 ill confirm it :)
[Xperia SP General] TheAvengingTITAN:
Like me and [MENTION=4537559]miki.cis[/MENTION] said, you need aa third party SMS app like textra or hangouts and set it as default for SMS

To prevent the spanning of this thread, please use the Q&A thread the OP has provided, thanks!

Sent using CM12.1
[Xperia SP General] artupazira:
I just did quick testing for the cm-12.1-20150402-UNOFFICIAL-huashan.zip build

I flashed along with the sound fix from [MENTION=4737573]Kordius[/MENTION] and GApps in the OP

Here is my review:

1. SIM Card doesn't work like the other's report

2. If I flashed with the recommended GApps in the OP, the initial setup wizard keep FC after Google account login.

3. Then I flashed without GApps, it works normally, but still no SIM Card detected

Keep up the good work devs!!!
[Xperia SP General] kenyeldodol:
What you've installed FIX_SIM.zip for sim not detect?:o

sorry for bad english
[Xperia SP General] NicestRudeGuy:
sim not working on latest build

sim is not working in 402 build have done veery thing so far :(
[Xperia SP General] Jurn_Software:
Does this firmware root permissions?
[Xperia SP General] Starkiller564:
Wi-fi doesn't work properly anymore, it just says that the network is "saved" but doesn't connect to it. Also, the lock icon on the lockscreen always shows "locked" state, even when secure lock is off or Smart lock is unlocked.
[Xperia SP General] Furrydaus:
Would it be possible for you to upload the source code or at least fork and commit your changes so everyone can benefit by having a stable device source? :)
[Xperia SP General] lop2lop:
Yes ! Go to "Settings > Developer Options" and Change "Root Access" to "Apps And ADB" or "Apps" and try to use your app that requests root access !

Which build you use ?! Clean installed ?!
[Xperia SP General] Starkiller564:
3003 clean installed. Figured out the wifi thing by wiping cache, but the lock icon is still there. Not that it bothers me that much, but it kinda annoys me when Smart lock is on.
[Xperia SP General] Jurn_Software:
Thank you very much!
[Xperia SP General] lop2lop:
I don't have any idea about it ! but reinstall maybe fix this problem !

Use Thanks! Button to thanks !

Everybody please use THIS Thread for Asking Questions and Solve problems This Thread is Just For Development !
[Xperia SP General] Starkiller564:
Thanks for help, but I don't think this icon is worth reinstalling. :D
[Xperia SP General] Mrcl1450:
Sure as soon I can I will sent a pull request to your git
[Xperia SP General] Jurn_Software:
Before flashing rom i set pin to sim,then i change SELinux to permissive, but sim card not recognized.

how can I fix it?
[Xperia SP General] lop2lop:
DELETED
[Xperia SP General] Mrcl1450:
If you have rom related problems, question or whatever please use this thread http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956

I will ignore all the unrelated testing or development questions here. Thank you.
[Xperia SP General] MohRez:
[MENTION=5411190]Mrcl1450[/MENTION]

Hi there

Is battery usage of this rom better than other lollipop roms ?
[Xperia SP General] zenoomsp:
1. Flash rom:

cm-12.1-20150403-UNOFFICIAL-huashan.zip

2.Flash sim-fix:

http://xdaforums.com/showpost.php?p=59233034&postcount=38

3.Flash Fix_Calls_Torch_5.1

http://xdaforums.com/xperia-sp/general/fix-lollipop-c-t3071448

4.Install SuperSU

http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

6.Reboot

Call ok Sound ok :D
[Xperia SP General] Mrcl1450:
Did you tested calls without the fix?
[Xperia SP General] Mrcl1450:
New Build

Sim still needs the fix. Calls needs to be tested. Someone can confirm if calls are working without the zip fix?

If you have rom related problems, question or whatever please use this thread http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956 I will help the max I can.

I will ignore all the unrelated testing or development questions here. Thank you.

If you have a bug to report please do a logcat.
[Xperia SP General] wuarx:
But fix with PIN is working in this build, right?
[Xperia SP General] Zygmus:
deleted
[Xperia SP General] Tomoms:
Little offtopic: there's the new cm-12.1 branch in huashan's device tree on GitHub!
[Xperia SP General] Araib93:
I know its not that major but we have a broken screen off animation. In 5.0+ when turning screen off it transforms into greyscale while fading in and opposite when turning screen on where as on SP it shows lockscreen for a sec and then fades abruptly. Also there are visual artifacts when using Movies app for watching video. Like I said I know its not major but would be nice if they could be fixed (not hoping for anytime soon though since call is first priority)
[Xperia SP General] AdamBialas:
Recovery in this room is not working for me :(
[Xperia SP General] Kordius:
Calls don't working without fix ; p
[Xperia SP General] AdamBialas:
I have error on play music using every player on this rom :(
[Xperia SP General] Spasik:
Use VLC media player it just works for me
[Xperia SP General] Hittngaudi:
hey guys. really great to see that CM 12.1 is coming and developed by u all for the xperia sp! Thank you!

it would be great if you can make then (when it's stable build) a cm 12.1 build for Locked Bootloader, because for me, i can't unlock it (not allowed by the smartphone).
[Xperia SP General] supermax3:
this rom need flash somefixes-cm12-lbhuashan-V3.zip ?
[Xperia SP General] MisterKaplan:
use this : https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
[Xperia SP General] demonio98:
GOOD :good:

.

. ​
[Xperia SP General] lvints:
[MENTION=5411190]Mrcl1450[/MENTION]

Any chance you make a build with only one storage? As happened in the builds of PA by NexusPrime
[Xperia SP General] berezker:
Is everything working perfectly?

did you apply a fix for the SIM to work or the rom itself has it fixed/
[Xperia SP General] Rupant:
You will have to apply the fix for the sim. Its not included in the rom.
[Xperia SP General] berezker:
Which fix because there are alot of fixes
[Xperia SP General] Rupant:
Just go back to page 32 post 316 it will help you
[Xperia SP General] Mrcl1450:
New Build

Sim fix + SuperSU still needed (Working on this atm). Calls are working now without fix.

ChangeLog:

-Added USB Mass Storage.

-Fixed Calls.

Don't spam this thread with useless posts

If you have rom related problems, question or whatever please use this thread http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956
[Xperia SP General] bamiasHELLAS:
[MENTION=5411190]Mrcl1450[/MENTION] do we need to clean install over 20150403, or just flash the zip?
[Xperia SP General] asanan1:
Have Somethings to Present

delete
[Xperia SP General] Araib93:
No sim fix needed (not even pin) if using this kernel. You just forgot to add torch fix else it is bugfree :) Probably more stable and smooth than 4.4 IMO