yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] flash-:
if u are already on CM then cm recovery is enough for u with these options ....but if u are on another ROM then u need twrp to do a FULL WIPE and to flash the ROM :)
[Xperia SP Original Android Development] AdrianDC:
TWRP is not required.

CyanogenRecovery is meant to be usable for everyone with CM.

For a clean install, you just Factory Reset.

The GApps is in deed a problem because they survive,

for this purpose we ported the system format to CM Recovery,

but everyone's still not agreeing on that, so...

But in my opinion, you should install TWRP anyways, because you can do everything with it,

and you can still use CyanogenRecovery in parallel, because added my dual recovery boot from cm-13.0 to cm-12.1 too,

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

Volume+ is be the usual FOTA Recovery, if not Cyanogen Recovery,

but Volume- is now only Cyanogen Recovery, so dual recovery.
[Xperia SP Original Android Development] flash-:
but if he was on another ROM(not cm ) a factory reset from cm recovery would be enough for a real "clean install " ? :rolleyes: [MENTION=2233641]Adrian DC[/MENTION]
[Xperia SP Original Android Development] suren77:
piano tiles 2 not running just black screen what to do need help?

`
[Xperia SP Original Android Development] hamed24:
Hi [MENTION=2233641]Adrian DC[/MENTION] ,which build of cyanogen 12.1 unofficial is better? I want smooth ROM without lag for daily use with pico gapps. You think what ROM better for me? Unofficial? official ? aosp ? Which one of them you suggest?

sent from Xperia™ SP | Android 5.1
[Xperia SP Original Android Development] flash-:
did u try to enable developer option then enable awesome player from it ? :)
[Xperia SP Original Android Development] mrskyou:
[MENTION=6046799]hamed24[/MENTION]

The best one , CM13 on 6.0.1 (Marshmallow), on my mind.

We see the difference of performances between this zone ans the CM12.1 on 5.1
[Xperia SP Original Android Development] dic1911:
his name is "Adrian DC" at XDA, confirm before mention people next time plz xD
[Xperia SP Original Android Development] hamed24:
Are you test last build?

sent from Xperia™ SP | Android 5.1
[Xperia SP Original Android Development] mrskyou:
0329 build yeah, so smooth.
[Xperia SP Original Android Development] AbboodSY:
Well, I'm on the 27/3 unofficial build and I'm facing a small freezes here and there, of course I'm not using helium kernel, but installed xposed with only one module (serajer) to activate superuser.

Just reporting
[Xperia SP Original Android Development] Ypolitos:
Hi,

I just installed the TWRP 3.0 r5 fota via zip file (by the way, the FOTA cleaner was mandatory to flash, otherwise could not get into TWRP - no way)

and I will do a clean install of a ROM. 2 questions:

1) do you advice me to format data & cache (not microSD) to f2fs filesystem or leave it to ext as is now? Will I gain something by changing it to F2FS?

2) I till now have 12.1 (unofficials and nightlies), generally happy, shall I turn to 13.0? or still use 12.1?

I already did a backup of my ROM via TWRP.
[Xperia SP Original Android Development] dic1911:
1. some said that f2fs is faster than ext, but some said that f2fs gives issues(post from some time ago), not sure about it, you can try though, for me, I stay on ext4.

2. see others' review/report about the rom before making decision, if that's alright with you, just go for it, but make sure you have a working backup :good:
[Xperia SP Original Android Development] h4xw4r:
May i ask one thing do you set the battery on power save mode ?
[Xperia SP Original Android Development] gmsalomao2:
So... Is it working? Can anybody confirm that, please?
[Xperia SP Original Android Development] AdrianDC:
Q&A is there for a reason.
[Xperia SP Original Android Development] sh_shashi1:
The proximity snesor does not work at all in outdoors under sunlight . As soon as I make a call , the screen turns off even though the phone is anywhere but close to ears.
[Xperia SP Original Android Development] AdrianDC:
The newest Beta build is really stable and working fine for me,

I need confirmation on it in general, so that I can finally push the whole kernel update.

To sh_shashi1, I'll look at it but I didn't see anything wrong so far.
[Xperia SP Original Android Development] kjwg:
Hi

I just installed this rom and it works great. I have a few problem about switching taxi app and map apps and listening to music, sometimes the black screen will show up and freeze for about half a minute. This is happening to all 12.1 based rom that I tested too. The work around is to forbid listening to music while using phone.
[Xperia SP Original Android Development] AndyCZ0527:
Constant update

Hi. Could please somebody tell me what happens if I do not update often, and in fact if do not update the NIghtly official 12.1 ROM anymore.

I am asking this beacuse I have the version realeased the 1st April 2016, and it works fine. So what happens if I do not uptade it anymore?

I ask this also beacuse I see the updates are released very often.

Thank you.
[Xperia SP Original Android Development] Daniel D.:
:confused:
[Xperia SP Original Android Development] flash-:
nothing actually ...if u like the ROM then keep it :p >>it won't affect anything at all ...when u feel it became laggy then flash the latest version but there is no harm of keeping ur phone running on same ROM ;)
[Xperia SP Original Android Development] dic1911:
use Q&A thread for asking questions next time

cuz xperia sp ain't got enough ram to handle that heavy multitasking
[Xperia SP Original Android Development] kjwg:
I wonder this happens to all 1g ram phones? Or is just x sp
[Xperia SP Original Android Development] flash-:
the fact the xperia sp is 2013 phone with a very slow RAM memory and very old cpu ....grand prime or huawei honor 3c lite have 1gb ram but they perform better than the sp ...alot better on there stock ROMs....so no not all phones are slow with 1gb ram but old phones like ours ? yeah they are slow for sure :)
[Xperia SP Original Android Development] leskal:
with cm-12.1-20160407-UNOFFICIAL-huashan.zip + open_gapps-arm-5.1-aroma-20160408(gapps-config.txt attached bellow) + UPDATE-SuperSU-v2.65-20151226141550.zip + capps-release.zip is smooth as hell for 2 days in row. nice work AdrianDC!!! :)
[Xperia SP Original Android Development] kjwg:
When I work, I fresh reboot, I dont open app more than 4 apps, I dont think it is much of a ram issue.

1. taxi app

2. google map

3. phone

4. message.

5. music

and then the phone will knock out with this pattern.
[Xperia SP Original Android Development] leskal:
4th day in row and i doesn't face any black screen or soft reboot, i think you have to push the new kernel and again nice work AdrianDC :)
[Xperia SP Original Android Development] sanzNya:
+1 latest beta its very stable. Its sweet kernel i think... thanks adrian..
[Xperia SP Original Android Development] leskal:
today i had a soft reboot... :( i open chrome, viber and hangouts and i let the screen to lock automatically, after 2 sec soft reboot, i tried to represent the soft reboot to log it but with no success maybe it was random.. also after soft reboot sim toolkit app dissapeared from menu
[Xperia SP Original Android Development] AdrianDC:
Soft reboots are not kernel related (hard reboot), so that's a good start.

Then an adb log after that crash would have contained the log of the crash, you should have saved that logcat.
[Xperia SP Original Android Development] leskal:
ok, i will do it next time, but i don't know where to find these logs...
[Xperia SP Original Android Development] dic1911:
run "adb logcat" from your pc, install adb and adb driver if you haven't do that
[Xperia SP Original Android Development] leskal:
i have already done that but i didn't do logcat when i have the soft reboot
[Xperia SP Original Android Development] Andreus94:
I'm with the 21-02 unofficial build for nearly two months (I had no time to change).....the best user-experience I've never had wit XSP...I reached about 600 consecutive hours of power on (so never a reboot or lag, only sometimes with a lot of RAM usage).

Now I want to try last builds , and soon I want to try the CM13...thanks a lot for your work:good:
[Xperia SP Original Android Development] leskal:
i tried to represent the soft reboot with no success but as mention before it is not related to kernel, so the kernel is ready to go :good::good::good::D:D:D:D
[Xperia SP Original Android Development] AdrianDC:
Are there any users still complaining about WiFi disconnecting in sleep ?

Try editing /system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini to uncomment "gStaKeepAlivePeriod = ...".

If done, compare how it goes and also check the battery drainage + WiFi logs in battery settings.
[Xperia SP Original Android Development] leskal:
i change it and i did reset and i have error with the encryption...
[Xperia SP Original Android Development] wellnz:
Get back to the original file/parameters and do this:

McastBcastFilter=3

to

McastBcastFilter=0

Work for me.
[Xperia SP Original Android Development] krek4:
USB charge only not working.
[Xperia SP Original Android Development] mrskyou:
Dont think so, no issue on my side.

Edit : sorry i'm on cm13
[Xperia SP Original Android Development] leskal:
+1
[Xperia SP Original Android Development] vvaklnprm:
Differences between Feb and current builds

I used the 02/02 Feb UNOFFICIAL build for close to two months and it was rock solid and handled everything I threw at it. No reboots/crashes/stutters.

But sadly there seems to be a lot of that in this month's 07/04 UNOFFICIAL build, so I immediately switched back to Feb 03 UNOFFICIAL build, and its back to a good old solid experience.

I am not complaining, just wanted to the Dev to know this.

P.S. System/cache/data/Dalvik wiped every time I flash a new build

P.P.S If no one else is facing such issues, I request the Dev to ignore this post.

Thanks for all your hardwork :)
[Xperia SP Original Android Development] krek4:
I as well faced soft reboots on latest unofficials, one of those reboots while I was playing a game killed my sd card :laugh: though nightlies work fine for me.
[Xperia SP Original Android Development] riedenthied:
Helps a lot in CM13, too. :)
[Xperia SP Original Android Development] Daniel D.:
The new kernel changes are awesome, even in 12.1. There are a few things which are gone now: The long pause when returning from flight mode after a few hours, the bad scrolling behavior and it feels smoother. Thanks for that!
[Xperia SP Original Android Development] gmsalomao2:
Contacts suddenly not syncing with contacts.google.com anymore.

Nightly 04/10

edit: SOLVED by installing latest OpenGApps micro
[Xperia SP Original Android Development] Arvind7352:
It's okay, but informing this with LogCat/Log/last_kmsg when u faced these lags/soft-reboots/whatever wouldn't make your comments Ignorable, will it? (If it Repeats while performing a specific Activity)

Soft-Reboots, Lags aren't a Module-Specific problem for a Developer to just look at it and Fix it up. It Requires Finding that Module in the Log (<- Tester's Contribution), Debugging it.

Just an Advice, not a Warning. :)
[Xperia SP Original Android Development] leskal:
fm works perfect in 20/04 than in previous build and generally works perfect, testing for 2 weeks, soft reboots only in 5th day for unknown reason but it was the first and last time in my view the new kernel is much more better than the nightly and the stock. and again thank you for supporting our device AdrianDC, Excelent work:D:D:D:D:D:D:D:D:D:D:good::good::good::good::good:

Edit: i try the Charge only when i connect the phone to pc but it seems it doesn't work:rolleyes:
[Xperia SP Original Android Development] tsewangyougyal:
Yes it does but its also working great . i really love the cm update on my device still there is an issue always unresolved. for me the cm 12.1 on my xperia sp on the last update has fixed audio quality issue but problem i faced long time ago since start using cm 12.1 its laggy, heating problem and hanging too much whenever connected to internet or wifi ,otherwise there is no problem ,i hope this issue can be resolved,well other than this i have no other issue and like cm its the best android xperiance i ever have thanks for developer
[Xperia SP Original Android Development] kjwg:
finally i have a perfect working sp. No instruction mention anything about wiping internal storage, it is a must and it works perfect now.
[Xperia SP Original Android Development] Daniel D.:
I had one reboot the last days and bluetooth doens't work - I think it's not new. I hope I took the right logs and can attach them with the app.

Reboot (Logcat & last_kmsg): https://drive.google.com/file/d/0B2BjC2gRHSTncVNCdVJ1OTlpS28/view?usp=drivesdk

Bluetooth: https://drive.google.com/file/d/0B2BjC2gRHSTnTG1aRy1JM1Q3d0k/view?usp=drivesdk
[Xperia SP Original Android Development] K-Ge:
Currently on beta build 20/04.

FM radio, both reciever and transmitter is not working, after dirty update from ( i think) february build.

First, i realized when I tried to open FM transmitter after adding ro.fm.transmitter=true in build.prop. After realizing that it isn't work, i delete that key, do reboot, tried to open FM radio, and its still not working.

here is the error code :

04-22 22:50:43.990 28432 28432 I HeadsetService: Headset=true; Bluetooth=false ; USB=false
04-22 22:50:43.999 28432 28432 I HeadsetService: Preferences updated.
04-22 22:50:44.108 1397 1397 I qcom-fm : /system/etc/init.qcom.fm.sh: In FM shell Script
04-22 22:50:44.126 1399 1399 I qcom-fm : /system/etc/init.qcom.fm.sh: mode: normal
04-22 22:50:44.147 1401 1401 I qcom-fm : /system/etc/init.qcom.fm.sh: Version : 199217
04-22 22:50:44.177 1404 1404 I qcom-fm : /system/etc/init.qcom.fm.sh: inserting the radio transport module
04-22 22:50:45.320 1411 1411 E qcom-fm : /system/etc/init.qcom.fm.sh: FM QSoC firmware download and/or calibration failed: exit code 255

I've forgot to flash gapps, walkman, and walkman buildprop framework before. (flashed it on second boot). Gonna try dirty flash once again tonight. Hope that will fix the problem.

Here is the full log. I do open FM radio app, both with headset plugged in, and plugged out. When plugged in, i got message about something2 restarting your FM radio.

edit :

I just realized that you make radio fix build 18/04. Did i need to flash that [MENTION=2233641]Adrian DC[/MENTION] ?
[Xperia SP Original Android Development] gmsalomao2:
Function to "Prevent audio ducking" does not work when videos from YouTube are playing.

Here's the log: http://pastebin.com/sa6njCnk
[Xperia SP Original Android Development] vsEnjoi:
Just curious, does the awesome LED on the bottom of the SP work with Cyanogenmod?
[Xperia SP Original Android Development] Daniel D.:
Yes, why not?
[Xperia SP Original Android Development] AdrianDC:
Today's build is fully updated with the latest kernel, that I am ready to merge as it is.

The replaced fake touchscreen issues are gone, and everything works fine so far.

Only a bit of sepolicies fixing will come later, rest won't change much anymore.

Merging into 12.1 Nightlies once it's confirmed to be ok for everyone.
[Xperia SP Original Android Development] kpr2897:
Just installed the latest build and touchscreen is working absolutely fine . Thanks a lot [MENTION=2233641]Adrian DC[/MENTION]
[Xperia SP Original Android Development] Excalipub:
Weird sounds on background [All April Roms]

I have clean installed latest nightly ROM (24 April) with micro GAPPs flashing them together at the same time and got the same weird sounds on background as with previous April versions (that, as I remember, didn't happen with March Roms) mostly while I'm in calling but also the same happens in other random cases. The sounds are likely notification sounds (not mine ones from settings) but without dispaying any notification. Any suggestion?
[Xperia SP Original Android Development] sanzNya:
Latest beta is nice and superb.. i think our device must have millestone release for cm12.1. Just great adrian.. just great...
[Xperia SP Original Android Development] leskal:
When the phone is shut and i plug the cable it charge but when i unplug it, it freeze with the led on and screen off
[Xperia SP Original Android Development] AdrianDC:
There's a ~5-10 secs delay where the offline charging survives and checks if you plug back the USB,

then it enters the power off sequence which can be relatively long yes.
[Xperia SP Original Android Development] reprobatefields:
Is encryption working properly in the latest builds? I remember that it worked in early February builds, but when I tried it in in middle March it crashed during reboot after encrypting (stuck on CM logo screen) and ROM reflash was required.
[Xperia SP Original Android Development] AdrianDC:
It does not work, upon "Encryption" the device now just reboots & nothing is done.

I just tried on a completely clean SP to have encryption working, with clean installs of Nightlies only,

and if a pattern lock is set, the phone will not boot anymore / bootloop.

I consider the feature unavailable / broken in 12.1 and will not go further into it.

The fact the current sources trigger a simple reboot rather than a failed encryption ending in data loss suits me better in fact.

I will have a try at it on CM13, but as of now, I stopped updating my 12.1 kernel & sources and will try to merge this all asap,

as I consider it reliable and stable as it is now. CyanogenMod 12.1 will therefore be stabilized on the newest kernel & continue until further notice.
[Xperia SP Original Android Development] AdrianDC:
Posting separately for information purposes :

From the tests I've done, Huashan CM-12.1 (Nightly or Beta) does not support Encryption properly,

and will not be fixed to prevent any user to launch an Encryption and loose all data.

The issue is not seemingly device sources related, for the following reasons :

CM-13.0 full device encryption just worked on first try for me, and took about 10-15 minutes.

Basically the Encryption requires you have have a password / pattern set, a battery above ~80%,

and will reboot a total of 2 times, once with the Bootanimation / Encryption process,

then a second time with the bootanimation, the pattern unlock & then normal bootanimation to Android.

As of now, I saw no denials during the whole process & usage so looks ok on that side.

Be conscious that this is a one way conversion, that it adds a double boot (one for unlock, one normal),

and that it involves a small risk with data due to the required resizing of Data partition (easy with TWRP)

which will be explained in the commit I'll push to gerrit soon for that.

Also important to know is that TWRP does support those encrypted partitions perfectly,

the pattern lock UI shows up to request the unlock of data partitions & it then works as usual.

And of course it will not be available on my CM13 builds until next release, as well as the required

next release of TWRP & MultiROM recoveries to adapt to that change.
[Xperia SP Original Android Development] leskal:
I have signal with roaming and it shows only the R icon in xperia sp but for the first time i see in alcatel one touch c3 pop the R icon and right of it the type of network i have as in the picture, can you do the same for the SP?
[Xperia SP Original Android Development] Excalipub:
Weird sounds problem SOLVED

Just for everyone who has the same weird sounds in background: This problem does not concern at all Adrian's ROM which is almost perfect. Just turn off the NFC from menu and weird sounds completely ceased. Turn on NFC only when needed. These sounds will happen only if you have your smartphone in a flip/wallet style case with NFC credit card inside the cover's slot as me. For verification simply bring the phone in contact with your NFC card and immediately the specific sound notification will be heard.

Kudos to this forum: http://tinyurl.com/jzqmhxn
[Xperia SP Original Android Development] busionario:
Hello! First of all, thank you very much Adrian DC for all your work in our Xperia SP, without you this phone would not last so much!

I've installed latest beta, 20160429, and I have problems with FM Radio, it doesn't detect the headphones, so the FM Radio app is no working because it demands me to connect the headphones. But they're connected and working correctly with other apps.

And another thing, I'm coming from the 12.1 Sabermod Rom by [MENTION=1077833]infected_[/MENTION] , and now with your ROM I miss that when I receive a notification the screen was on for 2 seconds to see the notification, and then it went off automatically. It's not implemented this feature on your ROM?
[Xperia SP Original Android Development] Arvind7352:
If you meant Ambient Display, its implemented in all of the ROMs

Feature is present at 'Settings -> Display -> Ambient Display (Toggle)
[Xperia SP Original Android Development] busionario:
Yes, it was this, thank you very much, it works perfectly!! :good:
[Xperia SP Original Android Development] dealbaba:
sorry for this question.. but how to install xposed framework with this rom?? for 4.3 it was just done through xpoed installer..
[Xperia SP Original Android Development] ghst7:
So basically you're going to need two files, the xposed framework which you have to manually install by flashing through recovery now, after that you can install normally the xposed app

Both files can be found here in the official thread

http://xdaforums.com/showthread.php?t=3034811&page=1

The version for lollipop is sdk22 if I'm not mistaken.

Best of luck
[Xperia SP Original Android Development] AdrianDC:
Released a full kernel update for 12.1 : https://basketbuild.com/devs/AdrianDC/Huashan/CyanogenMod-12.1

It also includes the few required changes to be flashed on top of the latest NIGHTLY.

This is a final step for kernel testing, I'll be merging it all very soon,

testing it all on the second SP, all good so far. Looking forward confirmations.

Best 12.1 Antutu results BTW
[Xperia SP Original Android Development] Ungewiss:
I flashed the kernel on 05/01 nightly three hours ago and have not encountered issues so far.
[Xperia SP Original Android Development] krek4:
No matter which build I test my phone always takes 32k in Antutu. Weired, huh?!

05/01 nightly is very smooth probably best experience i had with cm12.1 :good:
[Xperia SP Original Android Development] Ungewiss:
My phone drained more than 10% tonight. With the old kernel its is barely 1%.
[Xperia SP Original Android Development] leskal:
too many soft reboot, i attach the last_kmsg
[Xperia SP Original Android Development] AdrianDC:
This is a modified kernel, or you set yourself in permissive.

last_kmsg doesn't help at all if it's a soft reboot. Soft reboots are Android related,

hard reboots are kernel related, so always share an adb log & last_kmsg for both cases.
[Xperia SP Original Android Development] leskal:
i dodn't modify the kernel i just did a clean install of cm-12.1-20160507-UNOFFICIAL-huashan.zip with open gapps and supersu 2.65
[Xperia SP Original Android Development] AdrianDC:
I don't use SuperSU, and mostly I don't see a need in using it at all.

I might look at it one day but can't for the moment.

Important news for 12.1 & 13.0 based kernels : http://xdaforums.com/showpost.php?p=66756175&postcount=317

I'll be merging the kernel very soon because this is a primary issue that never got solved.
[Xperia SP Original Android Development] mhmghomi:
Hi

I have a problem and it's I can't see any ambient display option in settings >display and lights.I have installed the latest nightly version in some minutes ago (a clean installation). Tnx for your help.
[Xperia SP Original Android Development] AdrianDC:
This is not a feature included into Nightlies, sorry.
[Xperia SP Original Android Development] AmirMahdi:
Hello .I'm on cm-12.1-20160429-UNOFFICIAL and every thing is great, But when i connect usb flash drive to my phone it reboots.

Can anyone help me for this problem?

I need to connect my flash memory to my phone several times in each day.