yashsingh1/xdaforums huggingface dataset:
[Xperia SP General] Mrcl1450:
Ok I know we all want the bugs fixed (I want it too that's why I'm working on it) and calls are the most important bug to fix now. Thank you all who are testing the rom with me and I appreciate who will continue testing so let's get back to what's important.

Here is my first attempt to fix calls and also auto brightness (less important for now)!

Before I start I want to warning you this is a test build and you have to be prepared to go back for the main build (or other rom) if don't work so don't forget the BACKUP.

This have a massive code from lb cm12 (Thanks to bagyusz) so do a CLEAN INSTALL.

I also want to ask if you will try this build, first prepare all tools to do a logcat and send me when you finish. Only start the logcat just during call.

Attempt to fix calls #1: cm-12.1-20150330-UNOFFICIAL-huashan.zip UNTESTED!

So let's do it by options. Attach your logcat telling what option did you use:

#1 - Just the build (No fix zips).

#2 - Rom zip + flash fix_hotspot_calls_sp_lp.zip

#3 - Rom zip + flash somefixes-cm12-lbhuashan-V3.zip

#4 - Rom zip + flash flash fix_hotspot_calls_sp_lp.zip and then flash somefixes-cm12-lbhuashan-V3.zip

#5 - Rom zip + flash somefixes-cm12-lbhuashan-V3.zip and then flash fix_hotspot_calls_sp_lp.zip

(Fix zips aren't mine)

Someone need to test the build first to make sure that is booting.

Don't forget Logs are important.
[Xperia SP General] slim_guy:
use third party messengers to get messenges working
[Xperia SP General] lop2lop:
I want to test it but I can't do it soon because of low speed internet :/ !

Downloading ~275MB takes about 80 minutes for me ! This is the real HELL !

I downloaded first post build last night !

So if there's anyone that wants to test following options please let us know ! Or I will test it after some hours !

[MENTION=5411190]Mrcl1450[/MENTION] :

1. can you please edit #2 post for changes and updates ?! because there's not "Last edit time" for first post and we will confuse when you updated it !

2. If bugs in cm12.1 are the same as cm12 , Please add "fix VPN" in your cm12.1's development schedule :D !

3. Can you please let us know how to generate logcat ?! (I can google it but maybe there's a lot of apps with a lot of ways and I don't know which one is better for you)

and

4. Thank you so much for your perfect work ! keeping XSP alive will make us so happy and it's because of YOU and other Devs ! So Thanks Again to all Devs.
[Xperia SP General] TheAvengingTITAN:
Its been two days now :D and I can't believe I'm saying this, but I can finally enjoy a lagfree lollipop build on the SP. Hopefully I'll update to the next build because testing and logcats aren't where I specialize.

Once again, thanks for the ROM!

---------- Post added at 11:25 AM ---------- Previous post was at 11:17 AM ----------

To anyone who it may concern: Xposed for Android 5.1 is not ready yet (according to the developer of Xposed) and the only versions supported up to now is Android 5.0.2 and below (personally tested by me on RR)

Hope this cleared things up :D
[Xperia SP General] svsaoji:
SELinux mode changer helps to detect sim card but the calling problem is not solved yet. Couldnt hear the voice of person on call... How can i fix this? please help
[Xperia SP General] TheAvengingTITAN:
Please read the previous page before posting this, thanks.
[Xperia SP General] sadab:
Great Work!!!!

Nice work dev :good: everything is working fine except mobile data and call :cowboy:
[Xperia SP General] miki.cis:
Data work fine and fully for me :P
[Xperia SP General] sadab:
Help me to fix mobile data :P
[Xperia SP General] NicestRudeGuy:
ill be tring it today :o
[Xperia SP General] pranavthombare:
Idk bro how you can't use it, maybe your device hasn't correctly set the apns.

I use mobile data myself on 5.1 and works awesome. Just facing call bugs and bad luck that it was now that I'm receiving so many calls whereas it was 2 calls a week lol.
[Xperia SP General] TheAvengingTITAN:
i just tested to see if data was working for me and it works fine :D. I know the pain with the phone calls brother, i have a seperate phone lined up just in case of emergency lol.
[Xperia SP General] NicestRudeGuy:
which zip u have flashed

i wonder which of the zip you've flased plz tell :confused:
[Xperia SP General] pranavthombare:
No zip bro, tried the method 2 in sim fix thread but making a sim pin helped me in the first attempt
[Xperia SP General] NicestRudeGuy:
help me to get data

this rom is super duper smooth but:laugh:

plz guyz im unable to get the data and sim card help me out
[Xperia SP General] Mrcl1450:
:( I still don't know if calls work or not with test build.

Please test anyone of 5 methods and paste logcat to pastebin.com. Thank you
[Xperia SP General] TheAvengingTITAN:
Follow this: http://xdaforums.com/xperia-sp/general/guide-ril-vanir-fxp-cm12-t3040025

method 1 worked for all of us.

Remember to read everything carefully from the OP

---------- Post added at 02:55 PM ---------- Previous post was at 02:52 PM ----------

You need to assemble a team of 5 people including yourself and assign one fix to each person and one for yourself. This will speed things up.
[Xperia SP General] NicestRudeGuy:
tried all non of them work

tried all of them but none of them worked :(
[Xperia SP General] lop2lop:
I wanted to test but my sim card is fully locked and it needs PUK to unlock and I can't find it :) just F*ck !
[Xperia SP General] Mrcl1450:
Ok thank you. Logs?
[Xperia SP General] Mrcl1450:
Btw have someone tested the auto brightness?
[Xperia SP General] TheAvengingTITAN:
You can find your PUK by contacting your service provider.

---------- Post added at 03:12 PM ---------- Previous post was at 03:11 PM ----------

Did you set the PIN on your sim card?

did you wait on the lockscreen until the mode became Permissive?

---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------

I think he meant he tested both methods for the sim card recognition and data :P
[Xperia SP General] NicestRudeGuy:
logcat will be uploaded in hours

plz show me the simplest process of getting logcat

is this is bug report which is in the developer options ?

---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------

just follow TheAvengingTITAN's link and choose 1st method :o
[Xperia SP General] sadab:
At last the mobile data is working fine :laugh:
[Xperia SP General] Mrcl1450:
No, you have to enable debugging, download a logcat tool http://xdaforums.com/showthread.php?t=1726238, start the log and test call.
[Xperia SP General] Mrcl1450:
Guys without logcats I can't find problems even if you report any type of bugs. If you are reporting any bug ALWAYS do a logcat, search in google, xda or whatever. Otherwise is useless if I don't know the root of the problem.
[Xperia SP General] TheAvengingTITAN:
You're probably not getting logcats because there are not many people testing. We will have to reach-out to other threads for help. If any of those fixes, this will be known as the first stable Lollipop ROM for the Xperia SP, benefiting all.
[Xperia SP General] lop2lop:
My Sim Card now unlocked !

I Flashed Stock ROM now to do a very clean Install ! Now I'm waiting for First Boot !

I will share logcats here so soon ... !

About #4 and #5

#4 - Rom zip + flash flash fix_hotspot_calls_sp_lp.zip and then flash somefixes-cm12-lbhuashan-V3.zip

#5 - Rom zip + flash somefixes-cm12-lbhuashan-V3.zip and then flash fix_hotspot_calls_sp_lp.zip

1. Meaning Flash all 3 files without any reboot and etc ?!!

2. Can I flash ROM without fixes and Create a Backup and after backup flash fix #1 , after logcat , restore Backup and flash fix #2 , after logcat , restore ..... ?!!! :D
[Xperia SP General] miki.cis:
Well that would take you so long... To know if it works you shall do a clean flash and it's much faster (and better for testing) to do a clean flash each time...
[Xperia SP General] lop2lop:
Damn :/ !!!

Boot Animation Makes me :D:D:D:D !!!

If There's Anyone Who Want's To Test It And Generate Logcat , Let Share This Work Between Ourselves ! I'll Do #1 And I Will Get 3 Logs about #1 !
[Xperia SP General] TheAvengingTITAN:
Respect man, respect.
[Xperia SP General] Tomoms:
I'm almost sure those fixes won't work, they were meant for the LBL version- The kernel is different. The device tree is different. Everything is different.

In my opinion there is a way to fix calls. And you can try to fix them [MENTION=5411190]Mrcl1450[/MENTION] :good:

All you need, in my opinion, knowing when calls stopped working and knowing that you used official cm-12.0 device tree, all you need to do is trying to manually revert the changes brought by this commit http://review.cyanogenmod.org/#/c/80410/ once you have synced the sources.

Probably the problem has been caused by that commit.
[Xperia SP General] SingularityHRT3:
FXP 09-02 has call working... None after that worked (including Vanir, RR n CM)... So the change is sure after 9th Feb and the next Lollipop built for SP (any built)...
[Xperia SP General] trioset:
Here's a zip with just the RIL and mobile data fix (from the somefixes V3 for LB).

The hotspot + calls fix was found to break HSDPA data hence the need for the RIL update (it came from cm12 mint nightlies). Think the hotspot config went into the bagyusz sources.

Mobile data problem is probably due to the kernel not having support for UID based routing. This zip contains a small bash script that replaces /system/bin/ip logs commands from netd and forwards them to busybox ip. Could be tidier but it works on LB build.

As you've already fixed audio and the other fixes may not be relevant to your build, might be better to start from this one.

edit: attachment removed, see below
[Xperia SP General] lop2lop:
Here is my 3 Logcats about option #1 !

First and Second are during call and third one is from "before call" to "after Call" !

I don't know if my logs are usable or not :( but I hope ...
[Xperia SP General] TheAvengingTITAN:
Just to keep you updated... Mobile data works just fine for us. Its just the calls.
[Xperia SP General] miki.cis:
I've encountered another problem (i'll try to gather some log): When i recieve an sms, pushbullet does recognize it and pushes it to my pc, but i get no notification on the phone and recieved sms' are nowhere to be found in the phone...

Any idea how can i get them (some of them were important and i need to restore them)???

Thanks in advance!

NVM, one quick and important tip:

Once you install the rom, install a different SMS app and set it as default while setting up your phone before using, otherwise you'll loose any recieved messages. ;)

( [MENTION=5411190]Mrcl1450[/MENTION] maybe you should add this to the OP, i guess I wasn't the only one to encounter this, [MENTION=6163210]TheAvengingTITAN[/MENTION] had similar problem)
[Xperia SP General] trioset:
Then you had better not flash the some-fixes V3. Here is a zip with just the RIL from that zip. Thanks for the update!
[Xperia SP General] TheAvengingTITAN:
Has this been tested...?
[Xperia SP General] lop2lop:
OH MY GOD ! VPN Works NICE !

Guys what you saing ?!

What are these attachments ?!

If you wanna test something I'm here to do it :D
[Xperia SP General] TheAvengingTITAN:
Those are zips from LBL CM12. It could solve our calls problem.

There's something for you to test :)
[Xperia SP General] DahakePL:
Only the calls remain to fix
[Xperia SP General] lop2lop:
Which one of these fixes should I try ?!

*** Flashlight Not works ... (it's a serious bug :D )
[Xperia SP General] TheAvengingTITAN:
DEV Notes

Developer Notes

RED means solved. Black is to work on.

1. Sound

2. Package installer

3. Data

4. Calls

5. Torch (Quick Settings)

Once all of the above are dealt with, this ROM will be Stable!

Excpect this to be updated as time goes by! :D

---------- Post added at 07:49 PM ---------- Previous post was at 07:48 PM ----------

RIL.zip
[Xperia SP General] Mrcl1450:
Sorry but OP have a Bug list you don't need to do it
[Xperia SP General] TheAvengingTITAN:
There are people who dont read the OP and just spam the area with bugs. Thats why i kept this up. And in case someone comes across a new bug, this list will be updated almost immediately.
[Xperia SP General] Pranav_Rd:
Could you please provide a mirror link? Media fire or devhost maybe.. Thanks :)
[Xperia SP General] pranavthombare:
call worked on some version of fxp i remember, if only we could try using ril part of that and it might work??

anyone tried this?^
[Xperia SP General] lop2lop:
I Flashed RIL.zip but still call problem ... !

After press Call button the Dialer freezes for some seconds and after second person answered some times you can hear her/his voice (less than 1sec) But second person can hear your voice clearly without any problem !

Other things are great !

I'm really wondered about battery and booting duration ! This ROM is really perfect ! very very smooth ! the only lags that I found are these :

opening App Drawer sometimes is a little laggy !

Dialer app after press Dial button !

changing volume during calls !

---------- Post added at 12:20 AM ---------- Previous post was at 12:10 AM ----------

I think call problem is about Audio issues more than Radio !

Because in calls phone becomes so laggy specially when you change volume during call ! And in previous version there was an serious Audio Bug and I think audio bugs in previous version not fixed completely !
[Xperia SP General] trioset:
Try flashing this one if you don't mind.
[Xperia SP General] lop2lop:
Flashed ! Nothing changed ... !
[Xperia SP General] TheAvengingTITAN:
Guys I think I might have found the solution to the calling problem...

Just an hour ago, me and [MENTION=4537559]miki.cis[/MENTION] solved the SMS issue by replacing the stock messaging app using another app such as Hangouts or Textra...

I know this might sound dumb and i have absolutely no idea what I'm talking about (lol) but could this work the same way with calls? a third party phone application??? I'm off to test this right now :3
[Xperia SP General] MK99:
Sorry, but no. Third party app doesn't help.
[Xperia SP General] lop2lop:
I don't know any good third party phone application ! give me a download link I'll test it bro !
[Xperia SP General] TheAvengingTITAN:
Have you tried it? What makes you so sure?

---------- Post added at 09:40 PM ---------- Previous post was at 09:40 PM ----------

I don't know any either, I'm searching ?
[Xperia SP General] Mrcl1450:
Voice calls problem doesn't have any relation with any app(sms have), so no.
[Xperia SP General] TheAvengingTITAN:
Okay, thanks for the confirmation
[Xperia SP General] MartinJkn:
tried it with the new whatsapp calls, didn't work
[Xperia SP General] MK99:
I've tested a few apps. Otherwise I don't know it either. ;)
[Xperia SP General] TheAvengingTITAN:
pretty sure whatsapp calls are online, lol
[Xperia SP General] Ely_Sinha:
Hmm you might be right about it. Although Hangouts et al are absolute substitutes to SMS, I am unsure if there are any calling apps to suffice for an actual phone call. What came to my mind after reading your post is, can we try the calling feature with apps like Line, Viber or even WhatsApp call (as most of us have already received the WhatsApp update for that feature) ? I know that with these apps the calls that we make are made Over The Air and thus, they are not absolute substitutes to an actual phone call like how Hangouts are to SMS. But if we try this we can at least be sure of whether it's the Audio problem or the Radio problem and then work our way from there.

Don't know if this direction of thinking is correct and useful or not, just a thought that came to my mind.
[Xperia SP General] lop2lop:
*** Adaptive Brightness works Nice !
[Xperia SP General] trioset:
Try this zip, only one microphone for calls.
[Xperia SP General] Mrcl1450:
Finally someone confirmed that! -1 Bug :good:
[Xperia SP General] lop2lop:
I have random reboot now !

I don't know it's about Adaptive Brightness after reboot Or AudioFix !!!
[Xperia SP General] trioset:
Can you turn adaptive brightness off in display settings?
[Xperia SP General] lop2lop:
Yes I turned it off and rebooted !

ROM is little laggy now and in phone app during call some times proximity doesn't work ! and after some second phone rebooted !

I'm restoring backups right now ! after end I will test Adaptive Brightness completely !

---------- Post added at 02:12 AM ---------- Previous post was at 01:56 AM ----------

Unfortunately Adaptive Brightness is not working fine ! when you turn it on it works great but after a manual reboot your phone will reboot automatically after some seconds !

It is Not Matter ! Right [MENTION=5411190]Mrcl1450[/MENTION] ?!!!

There is so many third app party to use auto brightness !

Focus on Call problem !
[Xperia SP General] Mrcl1450:
This is not a device related bug. Cm team will eventually fix this.
[Xperia SP General] Ely_Sinha:
True! Once that is fixed, we will finally have a stable Android 5.x ROM for our XSP.

Other minor bugs can be taken care of in the future as well. :D
[Xperia SP General] miki.cis:
Ok, but i still think this should be mentioned in the OP...
[Xperia SP General] Skej13:
Hi, I have problem from flickering screen
[Xperia SP General] lvints:
The best idea I've seen on the topic. :victory:

Have you tried [MENTION=5411190]Mrcl1450[/MENTION] ?
[Xperia SP General] _ayke:
help!!!!

When I got to selinax they say that my phone isn't root, what to do?

---------- Post added at 02:04 AM ---------- Previous post was at 01:54 AM ----------

Selinux says that super su manager won't allow it to access su or my device isn't rooted, what to do
[Xperia SP General] viskerelv:
In Settings > Developer options enable Root Access for "ADB and Apps"
[Xperia SP General] _ayke:
Thanks a lot!
[Xperia SP General] trioset:
Hmmm. As the SIM card is not loaded without setting Selinux to permissive anyway, reverting the policy won't make any difference. Calls problem more likely due to mediaserver segmentation fault when setting up in-call audio.
[Xperia SP General] miki.cis:
I finally got phone calls to work properly!!!

Use this fix!
[Xperia SP General] ramcool789:
How about having him as bootanimation :p
[Xperia SP General] kenyeldodol:
where the link? i'm not found. :confused:
[Xperia SP General] TheAvengingTITAN:
Lol xD
[Xperia SP General] MartinJkn:
oh sry i thought the voice calls bug also includes online calls
[Xperia SP General] _ayke:
I changed selinux to permissive and restarted, still no success at the sim card reading.
[Xperia SP General] TheAvengingTITAN:
Follow every single little step of Method 1

link: http://xdaforums.com/xperia-sp/general/guide-ril-vanir-fxp-cm12-t3040025
[Xperia SP General] lvints:
Too bad :crying:
[Xperia SP General] shahrukhqasim:
Locked Bootloaders

Does anyone have an idea what will I need to do if I want to port it for Locked Bootloaders?
[Xperia SP General] TheAvengingTITAN:
No, that's why this ROM isn't made for locked bootloaders. It's extremely hard to fix bugs on LBL lollipop ROMs if you havent heard already. Best if you unlock your bootloader for a LP ROM

I unlocked my bootloader for this. If you are one of those people who cant unlock their bootloader, we can wait and see. Until then, I recommend you use Resurrection Remix. Once the problems on UBL are solved, maybe the dev will consider helping the LBL community.
[Xperia SP General] shahrukhqasim:
Actually I want to do that thing :p I can do development at high level but development of ROM, it seems to be quite hard. And there are no books. All explorations. I need to ask these developers how did they become experts :o

PS: Yeah, I can't unlock my bootloader :(
[Xperia SP General] TheAvengingTITAN:
I know the pain brother, my previous phone was the same, stuck on LBL. There are lots of guides scattered everywhere, some on XDA, some on other sites. Google it, they're easy to find :D. I'd recommend you start developing a KitKat based ROM because Lollipop right now is a big challenge even for the most experienced developers.

Maybe you can take the challenge and start working on LBL lollipop ;) , vwadam is developing a CM12 Z4 based ROM for LBL. Maybe you can ask him for help or even collab with him and help develop the ROM together.

Good luck friend. :)
[Xperia SP General] Mrcl1450:
Stop writing useless posts like this or I will lock the thread.

Yes but don't ask it here. We have a Q&A section for something.
[Xperia SP General] miki.cis:
Sorry man, you act like you don't know what date it is today... It was meant to make you laugh, not to make you angry...
[Xperia SP General] TheAvengingTITAN:
Chill dude... it's just a joke
[AT&T LG G3] matrixddl:
I am on KitKat and want to stay on it for some more time.

My old phone has custom rom which shows the number location when call is received.

Would like to know if there is way to get the location of the caller when received in AT&T kitkat?

Thanks
[Android Q&A, Help & Troubleshooting] samtrat:
Why does not help anyone ... please help I opened the topic....

http://xdaforums.com/android/help/htcdesire-816-4-4-2-please-help-t3063961

:crying:
[Galaxy Note 4 Q&A, Help & Troubleshooting] alexowen:
Hello xda, I updated to latest lollipop BOC3, when I press lock button, screen lags at locking, It is not a big problem but it drives me crazy. and although when I press home/lock to wake up phone captivate buttons flicker and then screen turnes on (buttons are always turned off) I think this is hardware problem because searched at forum and no threats... anyone has that problem ? sm-n910 c 5.0.1
[Galaxy Note 4 Q&A, Help & Troubleshooting] alexowen:
guys :(
[Galaxy Note 4 Q&A, Help & Troubleshooting] Ashatar:
Maybe your buttons are always off because you have it disabled in settings...Go to Settings/Display and wallpaper/Touch key light duration and set it to whatever time you like...
[Galaxy Note 4 Q&A, Help & Troubleshooting] alexowen:
yes I have disabled lights because I dont like it, it irritates me when i oress button first flickers captivate buttons and then screen turnes on, although that lock screen lag -_-
[Galaxy Note 4 Q&A, Help & Troubleshooting] Ashatar:
Well then I don't see a problem here...unless your capacitive buttons turn on even though you set them to "Always off" ? The lock screen lag is there, but it isn't that noticeable to me.Sometimes it is, but rarely...
[Galaxy Note 4 Q&A, Help & Troubleshooting] Raver27:
Our you referring to the faint flicker of the captivate buttons even with the setting off,I turned mine off but can see a faint flicker when waking phone up.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Raver27:
I take it no one else has this issue?
[Galaxy Note 4 Q&A, Help & Troubleshooting] bekasulaberidze:
[MENTION=5773893]alexowen[/MENTION] [MENTION=3376244]Raver27[/MENTION] [MENTION=4859778]Ashatar[/MENTION] I have same problem guys, captivate button flickers even when it is turned off when I wake my phone and second problem on LP is lockscreen lag which irritates me, when I lock screen first brightness goes down and then screen turnes off, this is hardware problem not software
[Galaxy Note 4 Q&A, Help & Troubleshooting] LightspeeDLee:
I like the capacitive button lights, like it so much i set the time for: 6seconds before dimming. Tho i can understand if it flickers on n off instead of just an on, i would want it off too. The lag on the lockscreen must be like 2-3 seconds? i dont have ir on mine. It's like 1 seconds, which is nothing.
[Sony Xperia L] Rohan purohit:
UNOFFICIAL CM12.1​

WHAT'S WORKING

-Mostly everything

NOT WORKING

- Nothing

-if u face any bugs report with a logcat

DOWNLOADS

Updated link

SCREENSHOTS

Credits & thanks

@necrotic-nosphe

@Saatvik Shukla

@varun.chitre15

Enjoy

XDA:DevDB Information

[ROM] [UNOFFICIAL] CyanogenMod 12.1 Builds [5.1] | TAOSHAN, ROM for the Sony Xperia L

Contributors

Rohan purohit

Source Code: https://github.com/CyanogenMod/android_device_sony_taoshan/tree/cm-12.0

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: unlocked bootloader

Version Information

Status: Testing

Created 2015-03-29

Last Updated 2015-04-09
[Sony Xperia L] adil089:
Awesome work man. Really good to see the first 5.1 build.