yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] kpr2897:
xperia sp c5302 cm12 camera and clock

I have the latest build of cm12 installed on my phone . here it shows camera works fine but when I open camera it crashes and an error message is displayed . I also have the gapps. Please help me .

---------- Post added at 04:49 PM ---------- Previous post was at 04:44 PM ----------

Camera isn't working although it shows on the forum that it works . crashes and an error message is displayed. Please help
[Xperia SP Android Development] noobgeek1:
Xperia SP Lights

Thanks man for letting know about the light function. Android 5 is good on the phone but the lights are the phone's best feature and I would update only if they work on the cm12
[Xperia SP Android Development] OsGhaly:
For Google camera, some updates causing problems if you reflashed ROM.. The only solution is to uninstall these camera app updates first and then update it from play store
[Xperia SP Android Development] kpr2897:
xperia sp c5302 cm12 camera and clock

Is this problem possible , if I do not have the latest gapps downloaded.
[Xperia SP Android Development] ch3tan007:
does the cm-12-20150120 build also need the terminal scripting for data and wifi bug?

Music and Camera FC bug fixed?
[Xperia SP Android Development] trioset:
Copy the downloads linked here to your sdcard (along with ROM)

http://xdaforums.com/showpost.php?p=58538858&postcount=1535

Clean install ROM.

Install data fix.

Done.

---------- Post added at 06:02 PM ---------- Previous post was at 06:00 PM ----------

Wait for CM source update

---------- Post added at 06:08 PM ---------- Previous post was at 06:02 PM ----------

cm-12-20150120 Yes you need the data fix for data. MM and camera still buggy.
[Xperia SP Android Development] gtan2589:
Thanks for the extras. Again, though, the script is a .exe file, not a .sh
[Xperia SP Android Development] trioset:
The data fix link in that post points to a .ZIP archive, you can install it from recovery along with SU beta. If you are getting windows executables from those URLs then something isn't working your end.

No extras, barebones data fix that (hopefully) works
[Xperia SP Android Development] gtan2589:
Got it. Had to un-check "download with Dev-Host downloader". Thanks.
[Xperia SP Android Development] kpr2897:
Camera not working , crashes every time I open it with an error message

Please help

---------- Post added at 07:17 PM ---------- Previous post was at 07:00 PM ----------

Sorry but How do I do that ?
[Xperia SP Android Development] cactus92:
I solved the problems of internet looking for answers on the forum who cares. But now I have a problem with the update of Google Maps that hangs at startup. you can use an app like gravity box to get the pie control? you work side button camera?

Inviato Dal Mio Xperia SP Bianco Da Tapatalk
[Xperia SP Android Development] cactus92:
Inviato Dal Mio Xperia SP Bianco Da Tapatalk
[Xperia SP Android Development] OsGhaly:
Settings -> applications -> camera app -> uninstall updates

OR

open apps menu drawer -> touch and hold Camera then drag it over "app info" -> uninstall updates
[Xperia SP Android Development] gtan2589:
Correction. The Mobile Data Fix, no fix..

Any other options?
[Xperia SP Android Development] trioset:
Terminal: $ netcfg

Is there an IP address for rmnet0 interface? The script won't do anything if not.
[Xperia SP Android Development] gtan2589:
#!/system/bin/sh

IP=$(ip a sh dev rmnet0 | grep rmnet0$ | busybox awk '{print $2}' | busybox cut -d'/' -f1)

VALID_IP="$(echo $IP | busybox awk -F'.' '$1 <=255 && $2 <= 255 && $3 <= 255 && $4 <= 255')"

if [ -z "$VALID_IP" ] ; then

echo "The IP address isn't valid"

else

echo "The IP address is valid: $IP"

ip r add default via $IP table rmnet0 && echo -n "Route added. Testing routing... "

if [ "$(ping -c 1 4.2.2.1 | grep icmp* | busybox wc -l)" -eq "1" ] ; then

echo "OK."

exit 0

else

echo "KO."

exit 1

fi

fi

This is what's in it. If you can edit and repost the way it should be, that would be great! Thanks.
[Xperia SP Android Development] Treboeth:
#!/system/bin/sh

IP=$(ip a sh dev rmnet0 | grep rmnet0$ | busybox awk '{print $2}' | busybox cut -d'/' -f1)

VALID_IP="$(echo $IP | busybox awk -F'.' '$1 <=255 && $2 <= 255 && $3 <= 255 && $4 <= 255')"

if [ -z "$VALID_IP" ] ; then

echo "The IP address isn't valid"

else

echo "The IP address is valid: $IP"

ip r add default via $IP table rmnet0 && echo -n "Route added. Testing routing... "

if [ "$(ping -c 1 4.2.2.1 | grep icmp* | busybox wc -l)" -eq "1" ] ; then

echo "OK."

exit 0

else

echo "KO."

exit 1

fi

fi

This is the script [emoji6]
[Xperia SP Android Development] trioset:
This isn't the same script i gave you a link to is it? Clean install, install SuperSU update + init.d data script.

Here is the post you quoted to avoid any further confusion, install this version of the data fix

http://xdaforums.com/showpost.php?p=58538858&postcount=1535
[Xperia SP Android Development] gtan2589:
I tried that one too. Was I supposed to install it via recovery or fasboot? Didn't work in Recovery.
[Xperia SP Android Development] trioset:
Install it from recovery. Ignore the output about installing universal init d from play store and install the super SU beta instead. http://xdaforums.com/attachment.php?attachmentid=3156597&stc=1&d=1423451411
[Xperia SP Android Development] gtan2589:
Nope. No dice. I'm using CWM and once I ask to reboot from recovery (after the install from SD), it always asks if I want to insure the root stays in effect, I say yes, because I do. Is this normal?
[Xperia SP Android Development] trioset:
There is your problem. For the time being only install the zip for root. Don't fix root from CWM or update any other way.
[Xperia SP Android Development] okan-22:
thank you sir, i used cm11, but its very nice job. thank you :)

i already use my gapps, usable on this rom?
[Xperia SP Android Development] ralfbergs:
First thanks for your extensive reply, I really appreciate that you take the time to educate a newbie. :)

Good that you mention it, because it reminds me that I wanted to ask something:

Of course I tried moving apps to SD immediately after installing the first build on my Xperia SP, and I noticed that I can not move certain apps to the SD card which I can move on my Saga (HTC Desire S). Any idea why this is? (Yes, same app versions in both cases!)

But why would one do so? (Or do you mean to completely remove and no longer use it?)

My understanding is that when I were to unmount the external SD card everything I were to install afterwards (apps and corresponding data) would go onto the internal storage. So I could force certain apps plus their data to be internal. But there seems to be no way to force apps I install afterwards (after remounting the external SD card) to install on the external SD (or move them there after installing on the internal storage), as there seem to be quite a lot of apps that cannot be moved as I wrote above.

Pre-alpha? I was indeed not aware of this (for a pre-alpha the 2015-01-20 is really working well!) On the contrary I implied that our CM12 might be "stable" soon, as we will soon be called "official CM12" -- a conclusion which is obviously wrong.

I don't understand that comment. Are there builds which you can only install on UBL devices? If so, can you please explain why?

I was expecting that you cannot reconfig "on the fly."

What would be the effort for the above mods? Do you think "somebody" would be willing to take it?

BTW, I thought again about the storage layout that's currently in use for HuaShan, and to be honest I begin to like it. Probably the internal storage will be sufficient even for people who install many apps, and by using a huge external SD card even demands to store huge amounts of data can be satisfied. But what happens if you run out of space on the internal storage? Can you then not install more apps? Or will new apps then be automatically installed on the external storage?

If you've read so far, congrats and thanks. ;)

KR,

Ralf

---------- Post added at 23:26 ---------- Previous post was at 23:10 ----------

Not for me. Maybe somehow on your PC the association for ZIP files is corrupt?
[Xperia SP Android Development] gtan2589:
Figured it out. If you don't un-check the Dev-Host Downloader option, it brings on the exe and a pile of adware and other garbage. Still cleaning that up, BTW. Thanks.

---------- Post added at 06:07 PM ---------- Previous post was at 06:05 PM ----------

So just install the fix and get out of recovery?
[Xperia SP Android Development] trioset:
[MENTION=5010688]gtan2589[/MENTION] yes try it after a clean install please

---------- Post added at 11:29 PM ---------- Previous post was at 11:19 PM ----------

nobody here is trying to educate you, if you have a working phone after installing the ROM please report bugs or make feature requests where its been provided for.

---------- Post added at 11:48 PM ---------- Previous post was at 11:29 PM ----------

PM me rather than quote me and i will do my best to help.

---------- Post added at 11:59 PM ---------- Previous post was at 11:48 PM ----------

If you run out of space on internal storage... it will happen sooner rather than later. Which configuration will it happen first on?
[Xperia SP Android Development] gtan2589:
Hang on. Clean install? Do you mean the ROM? So start over and install the zips in this order in recovery...

cm-12-20150120-UNOFFICIAL-lbhuashan.zip

bpear-gapps-lp-20141118-faceunlock.zip

fix_hotspot_calls_sp_lp.zip

3g-h+.zip

data-fix.zip

UPDATE-SuperSU-v2.45.zip

Please rearrange, augment, remove.... from this list. Thanks.
[Xperia SP Android Development] MAHASONA:
I think this is the most complete answer so far. I finally got mine to work without any issues.

After doing the above you will be left with 2 bugs

1. To fix audio install all 3 viper files in the following order

- Viper4A-_Soundfix-LibFiles_-CWM.zip

- Viper4A-_Build.Prop-Tweaks_-CWM.zip

- viper_v2.3.3.0.zip

2. After reboot don't open viper, if done it will ask to install driver. Do not do that! Your audio is working fine now.

3. You may hide the viper app if you feel that's annoying or someone would open and install the driver by accident

4. A simple app like - Hide App-Hide Application Icon would do the trick (its free on Google Play)

5. Now to fix brightness all you have to do is go to Google Play and install this application - Lux Auto Brightnes

6. If you don't like the constant notification you may go to app info and remove the notification tick

Performance and battery: In my opinion both are pretty good. Battery stays for about 30 hours on average use. No major random issues in the ROM.

What's pending-

1. Audio recording is really poor. Its the same for video recording. Looking for a fix these days.

2. If you get a massage box with 2 buttons on it (super user request box) sometimes the button on the right side does not respond

3. Camera get's stuck sometimes but very rare, a simple restart always fixes the issue

I will be looking for a solution for these issues. If anyone knows any fixes please let me know. If i find anything i will post here as a reply.

This link includes all the files you need - https://mega.co.nz/#!184kHAoD!KzwnnJd_Amr8TA2MsGNjL61uKk-veNXMVeAFpyzG1gQ
[Xperia SP Android Development] trioset:
cm-12-20150120-UNOFFICIAL-lbhuashan.zip

(reboot, takes a long time)

bpear-gapps-lp-20141118-faceunlock.zip

(reboot, takes some time)

data-fix.zip

3g-h+.zip

UPDATE-SuperSU-v2.45.zip
[Xperia SP Android Development] thegreatsid:
1. MHL works perfectly, tested on my MHL monitor.

2. Audio output volume is AMAZING, drives my Audio Technica ATH-M20x MUCH better and louder than last ROM I was using.

3. 'Cant install app: insufficient space on device' :/

4. Looking forward to seeing more updates to this ROM :)
[Xperia SP Android Development] MAHASONA:
Actually you could simply flash all these at the same time and then reboot. It works just fine :)

---------- Post added at 11:04 AM ---------- Previous post was at 11:02 AM ----------

Thanks for the tip on MHL. And for to install apps you need to have space on your SD card? can this be the case?
[Xperia SP Android Development] edi194:
here we hace build from FXP

http://uploaded.net/file/ywu45pi9

only UBL, w/o any changelog
[Xperia SP Android Development] XperiaThemeLover:
Have you tested it? If so are there any noticeable bugs?
[Xperia SP Android Development] MAHASONA:
Wish they have one for LBL, but thank for the TIP.
[Xperia SP Android Development] Spasik:
I have tested it, its smooth , almost everithing worx exept any simcard is recognized as not working and music player sometimes crashed.

I found that audio is finally fixed! (Normal volume now)
[Xperia SP Android Development] XperiaThemeLover:
I tryed it too, it's a good start for sure.
[Xperia SP Android Development] sanzNya:
we already have it on LBL. just check this thread....
[Xperia SP Android Development] MAHASONA:
Thanks for the replay, yes i'm already running CM12 found on this thread. I was expecting something different. My bad...
[Xperia SP Android Development] slim_guy:
Flashed stock based ROM and internal storage is still reserved for data.and I love it
[Xperia SP Android Development] sanzNya:
What ''diffrent'' r you expect?

As we already know. Fxp team ussually just release rom for UBL user. And people with locked bl usually have another rom from other dev (like baggy already did here).

If you want stability. I thnk you just need to wait. Its maybe slow progress but its working progress and we just need to wait..
[Xperia SP Android Development] MAHASONA:
Guess i was just dreaming. Anyhow i noticed that resurrection remix already has another build for SP too. And agreed on the wait for a more stable build. Thanks for the update :)

---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------

By any chance if you need to reverse it you could always flash the CM11 R2 build. It does the trick. Just in case you know :)
[Xperia SP Android Development] slim_guy:
I don't need it, but cm11 r2 by whom? Mrsteves ?
[Xperia SP Android Development] kaushal9119:
Cm 11 R2 is by Furrydaus. Its actually Cm 11s
[Xperia SP Android Development] slim_guy:
okay thanks [emoji5]
[Xperia SP Android Development] ropis:
Please help me!

Hey,

I did all the steps in the tutorial, and it worked at first! It was perfect. But after some time the phone's screen just went black and no matter what I pressed it wouldn't turn on. Then, I used the reset off button that is located under the battery. When the phone was rebooted, it entered in some kind of loop! After the CyanogenMod icon appears, it loads for some seconds, then it gets sort of red and reboots again. Well, I entered on the recovery mode, and tried to do it all again, wiping all data, the installing cm 12 zip. It stayed with the same reboot loop, so I tried to recover from the backup. Ok, I was able to restore from the backup, however the phone wouldn't reconize the sim chip! And the wifi also wasn't working, it doesn't even activate! After that, I tried to wipe all data again and install the cm 12 another time, but the reboot loop remained. I even tried to wipe data from the recovery backup, but even so the phone wouldn't recognize the sim chip nor activate the wifi. Is there something I can do?? Maybe some kind of big reset and start the phone from zero or something like that? Please help, I'm desperate!

Thanks!
[Xperia SP Android Development] daubh:
Flash stock ROM (the ftf file). I can send you a link if you don't know how to do that :)
[Xperia SP Android Development] ropis:
I would really like the link!

Thanks! I would appreciate the link! It's the first time I'm doing this kind of stuff. I'm completely lost! haha
[Xperia SP Android Development] daubh:
Here's a guide:

http://xdaforums.com/showthread.php?t=2658952
[Xperia SP Android Development] LOGAN.2987:
hola todo excelente solo un comentario ya la e probado sin embargo el reproductor de música solo se escucha con manos libres e probado diferentes reproductores y la música no se escucha en ninguno si se pudiera solucionar este problema estaría excelente
[Xperia SP Android Development] DanielZRK:
Only English please! ;)
[Xperia SP Android Development] GuessWHO-_-:
when is the new update comming out?

is it possible to update from settings>about>update?

is there any fix for brightness level(auto if possible)?

still supporting you guys! :good:
[Xperia SP Android Development] MAHASONA:
http://xdaforums.com/xperia-sp/development/cyanogenmod11s-r2-universal-t2970965

---------- Post added at 02:02 AM ---------- Previous post was at 01:59 AM ----------

OTA will not be available. You will be required to flash from recovery. Brightness could even now be fixed with a free software like Lux Auto. Its free from Google Play.

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

The difference is that on this version it does not have the merged internal memory.

---------- Post added at 02:06 AM ---------- Previous post was at 02:04 AM ----------

This issues is still on CM12. Don't fuss here is how you fix it.

1. To fix audio install all 3 viper files in the following order

- Viper4A-_Soundfix-LibFiles_-CWM.zip

- Viper4A-_Build.Prop-Tweaks_-CWM.zip

- viper_v2.3.3.0.zip

2. After reboot don't open viper, if done it will ask to install driver. Do not do that! Your audio is working fine now.

3. You may hide the viper app if you feel that's annoying or someone would open and install the driver by accident

4. A simple app like - Hide App-Hide Application Icon would do the trick (its free on Google Play)

5. Now to fix brightness all you have to do is go to Google Play and install this application - Lux Auto Brightnes

6. If you don't like the constant notification you may go to app info and remove the notification tick

Performance and battery: In my opinion both are pretty good. Battery stays for about 30 hours on average use. No major random issues in the ROM.

What's pending-

1. Audio recording is really poor. Its the same for video recording. Looking for a fix these days.

2. If you get a massage box with 2 buttons on it (super user request box) sometimes the button on the right side does not respond

3. Camera get's stuck sometimes but very rare, a simple restart always fixes the issue

I will be looking for a solution for these issues. If anyone knows any fixes please let me know. If i find anything i will post here as a reply.

This link includes all the files you need - https://mega.co.nz/#!184kHAoD!KzwnnJ...NXMVeAFpyzG1gQ
[Xperia SP Android Development] HerrMovi:
Para preguntas en español puedes probar en los foros de htcmania. Tienen un hilo para CM12 en el Xperia SP.

You can ask in spanish in htcmania forum. There is a thread for CM12 for the Xperia SP.
[Xperia SP Android Development] Ken-nya:
Can someone tell me. Bluetooth headset does not work. When I turn on bluetooth on the phone - the headset is not visible. Are there any solutions to the problem?
[Xperia SP Android Development] ropis:
I was able to fix it!

Trying to fix what was happening in my phone, the phone died. It wouldn't turn on at all. In case anyone has the same problem as I had, the way I was able to fix it was through pc companion! I did some research, and using the pc companion I could completely repair the phone. You click on repair phone, connect it even though it is not turned on, them follow the steps on the screen. Fortunely, it worked! But with sony's old jellybean 4.3. At least the sim chip is now recognized and the wifi is finally working!
[Xperia SP Android Development] dentist24_7:
Need help

Hi bro,

I just installed the rom you developed and its really good. The problem I am facing is that as after installation I was getting continuous errors by play store so I thought doing the full reset. After that I can't go in recovery to install Gapps and niether my xperia is connecting in MTP mode. Please help

Thanks
[Xperia SP Android Development] Vinay_FXG:
Check this out!

Vanir has been updated to 5.0.2

Download links are here L http://www.emccann.net/nuclearmistake/VanirAOSPNightlies/huashan/

Testing now. Will post the review soon! :o
[Xperia SP Android Development] LOGAN.2987:
Hello good day all tube excellent but only a problem, "the play the music not playing" only through headphones and tried different players but soon i hope nothing can solve this problem:d
[Xperia SP Android Development] Buleste:
Locked or unlocked boot loader?
[Xperia SP Android Development] krokanic:
hahaha...another 5.0.2... great.. thanks for the info... downloading:laugh:
[Xperia SP Android Development] edi194:
Vanir requies unlocked bootloader
[Xperia SP Android Development] tinko0:
theme

hey guys, can someone get me theme engine apk, please
[Xperia SP Android Development] RastHacker:
It have bugs, we can't receive end call and no 3g
[Xperia SP Android Development] daubh:
Because it will be your first time trying to install a new ROM, I suggest you try a stable one first. Some ROMs like this one are in their testing stage and you'd need to be a little more tech savvy to run them. I don't use PC companion because it still only installs the .0.266 version (which is very buggy) on my phone instead of the latest .1.205. That's when I started using Flashtool. I have tried a few ROMs on my phone, including this one when it was first released (November 2014 I think) and it was almost impossible to navigate to settings to enable adb. Then knowing how to use Flashtool came in handy. More stable Cyanogenmod ROMs for lbl/ubl are MrSteve555's CM11, furrydaus's CM11 R2, bagyusz's CM11. How to tell if they are stable? Read the changelogs, read posts on the thread where people report issues and bugs.
[Xperia SP Android Development] ralfbergs:
I can not confirm that, so I can't help. ;)

I have two headsets, a very old Motorola HS820, and a pretty new hi-end Plantronics C720-M, and for these two headsets it works properly.

Maybe it's "just" your headset which has some implementations quirks and therefore doesn't work properly with the HuaShan?
[Xperia SP Android Development] daubh:
Does the .zip fix also has data fix? Or only the fixes you mentioned?
[Xperia SP Android Development] MAHASONA:
Data fixes also included :)
[Xperia SP Android Development] amanintheworld:
hi.

firstly sorry my bad english.

ı have a problem. mobil data not working. what can ı about that ?

and rom perfect. thnx for everyting
[Xperia SP Android Development] Bukur89:
Read the previous posts. Read all, from first to last page. ;)
[Xperia SP Android Development] zouhad:
data not working how fix that

hi

Everything work after install version 5.0.2 only one thing data not working can u give me fix for this

i use c5303 and thx :)
[Xperia SP Android Development] Bukur89:
Read this tread from the beggining and you will find answer. Gratitude ;)
[Xperia SP Android Development] DahakePL:
Brightness

Does the brightness works without Lux ?
[Xperia SP Android Development] RastHacker:
Please i need key to download on mega
[Xperia SP Android Development] MAHASONA:
Here you go - https://www.dropbox.com/s/ogc4onitjyy6zuc/X-SP Fix.zip?dl=0
[Xperia SP Android Development] RastHacker:
Thank you, it works but we need to activate the fix in the application every reboot?

Really thanks for the fix it really work perfectly ;P

Sent by Xperia SP using android Lolipop ;D
[Xperia SP Android Development] MAHASONA:
Are you talking about the mobile fix? if so there is also a one time fix for that. There were 3 other files in my ZIP. The super user and mobile fix and 3G fix. If flashed on 1st install all mobile and 3G related problems will be fixed. No activation after boot required. Let me know if you need detailed information on how to handle this.
[Xperia SP Android Development] DahakePL:
Brightness and data

Will bagyusz ever fix that two bugs?

It doesn't look hard to do especially for a dev like him :)

I know data is fixed but I hope he will implement that fix in the rom.

I don't need auto brightness, but I want to change brightness without LUX app.

Overall rom is near perfection ;)
[Xperia SP Android Development] air001:
This is a dev thread, but this looks like a general discussion. This means spamming. :(