yashsingh1/xdaforums huggingface dataset:
[Xperia SP Themes and Apps] halloarno:
Is your ksm disabled? (By default on latest test add on). Since I manualy disable it in several roms, my freeze problems are gone.
[Xperia SP Themes and Apps] Araib93:
Yes I heard that KSM was causing problems on 5.1, it was disabled but the problem was there. I reflashed CM 12.1 1011 and 1011 addon after a full wipe. Restored my contacts using vCard and so far no freeze, a random reboot occurred for unknown reason when I was restoring some themes using titanium but after that all is good.

Edit: I am starting to think gapps were causing freezes. But to live without gapps is super hard for someone who loves android because of gapps...
[Xperia SP Themes and Apps] AdrianDC:
When you have random reboots, please add the /proc/last_kmsg with it,

otherwise we just can't start solving it and it may even be ignored.

Pull the file just after the reboot, from Android or from recovery.

Not after 5 more normal reboots.
[Xperia SP Themes and Apps] Araib93:
It was a one time thing I guess because I haven't faced any random reboot after that. Still I will make sure to post log if it happens in future, its the least we all can do to help you guys make this rom more stable :)
[Xperia SP Themes and Apps] AdrianDC:
Tomorrow's build will contain Multiple LEDs directly in CM.

This is the end of a 3 months long LibLights odyssey ;) .

This means I'm no longer compiling the whole framework core modules,

the zip will be about 10-12MB instead of the 43-58MB it used to be.

12+/10 Addons won't be backwards compatible, know that.
[Xperia SP Themes and Apps] aumAP:
What is "Gello" in next build? New browser?
[Xperia SP Themes and Apps] AdrianDC:
Don't look at it, it's common CM commits but they aren't in huashan.

Gello is the new Web browser that CM is working on.
[Xperia SP Themes and Apps] mrskyou:
11/10 build + 11/10 patch test ! No problems ! Nice work ! :)
[Xperia SP Themes and Apps] Dragonkind:
No big problem with nightly 1010 and addons 1011!

But alarm seems to be not ringing when it is deep sleeping...
[Xperia SP Themes and Apps] KelleyCook:
Seems very suspicious. Go and flash stock and see if it randomly reboots, especially when you take a picture. If it does you probably need to replace your battery.
[Xperia SP Themes and Apps] toshco:
Same here - Alarm starts 2-3 min later than it was timed. Can't turn it off by swipe because screen was freeze. After wildly push some buttons, freeze was gone and shows the homescreen. Then I was able to turn off the alarm.

edit: Log attached - Maybe there are some hints
[Xperia SP Themes and Apps] Dragonkind:
The situation what I faced was that it hadn't rang until I turning my screen on…
[Xperia SP Themes and Apps] yunamunchy:
is this fine on aicp 10? im used to flashing updates from you immediately when i was on cm12.1
[Xperia SP Themes and Apps] AdrianDC:
No this is the CM-12.1 ROM, not just a patch.

Other ROMs will have to wait my commits are merged (or not ^^),

and add my device commits to their sources.
[Xperia SP Themes and Apps] salamkonaziz:
tnx 4 ure great work

plz make it for 4.3 devices

tnx
[Xperia SP Themes and Apps] guize:
Great news man!

It looks like a patch (files from first page), so it raises questions.

No point flashing in other roms (AICP)???

---------- Post added at 03:24 PM ---------- Previous post was at 03:20 PM ----------

Realy great!
[Xperia SP Themes and Apps] Steph310:
Nice work!

Possible to enable light notifications during daydream mode ?
[Xperia SP Themes and Apps] Furrydaus:
People use DayDream? :eek:

Jokes aside, AdrianDC probably can put that feature in easily considering that he's already produced fine work for the Xperia SP in terms of the LED Notification sector for CM
[Xperia SP Themes and Apps] AdrianDC:
No the files in the first page are hard coded libraries adapted to your needs,

and the new thing I worked on and published in the last test build are dynamic settings.

AICP will import my commits and use my LibLights when I'll be done.

:D

Never using it too ^^, tried sometimes but I'm not a fan.

DayDream I can't tell, need to check its code.

Allowing notifications during DayDream may be easy to do depending on how it's done,

but getting everyone on CM to agree changing it is an other thing ^^.

By the way, the new LibLights that I'm finishing for the new Settings will work better,

maximum brightness will be lowered to a decent current, white color is getting better, not bright pink anymore,

I've flashed the SONY 4.3 to compare and their white was a bit pink too but only a bit,

current results I get are fairly similar, will check if it can be even better.

Battery notification colors will ignore the maximum brightness setting I've put,

allowing the specific battery colors to be chosen separately has it already is.
[Xperia SP Themes and Apps] NicestRudeGuy:
hey dude long time no see :p
[Xperia SP Themes and Apps] Unusual Man:
Hey!

I use DayDream! :p

It's nice option, but somethimes it's not working...Very rarely...
[Xperia SP Themes and Apps] guize:
Working great!

No issues so far.

Good job!

PS - I´d like Ambient Display config to work as good as this.
[Xperia SP Themes and Apps] Furrydaus:
You're right. My C's missing
[Xperia SP Themes and Apps] NicestRudeGuy:
Lamo thats y u were glasses coz java dev cant C# :D
[Xperia SP Themes and Apps] anisingh62:
Really I am your faaannnn now what a great work by which no one dev could do !!!

btw how did you do this have you done any course for developing?? :)
[Xperia SP Themes and Apps] AdrianDC:
:) Tx ^^.

Let's say I done a lot of things by myself since I was little, and the 4 years of development for the LG Viewty,

then Android things on the Xperia Arc S, my Android applications and now the Xperia SP...

Add to that the electronics I do on my car, electronic / programmed modules I made,

and things I now do at eng school and in interships over the last 3 years..

I have a test CM12.1 build on the latest changes of Illumination support,

let me know how it works, I think it's really stable and fully updated,

it includes Marcelo's latest changes except audio we're testing and debugging.

[ https://mega.nz/#!DpkFSAQL!ifY28CdMfB0ZZIjaXRFX7iAuIzd7wpGUHxFh4Lzw6YY ]

As a reminder on what is to test :
[Xperia SP Themes and Apps] anisingh62:
thanks for telling about urself u r great a person with wonderfull knowledge to which i have been impressed

as well as think about so many people who are using xperia sp/p/s/u will give so many wishes for this wonderful work by you

thanks a lot man but could you pls provide some way so we could test it in our aicp builds
[Xperia SP Themes and Apps] AdrianDC:
For AICP you'll have to wait the commits are merged in CM and committed to AICP,

+ huashan sources updated to the changes I'm finishing for device branch.
[Xperia SP Themes and Apps] Kaffeetrinker:
A few days ago I said I would have a look whether we could get an illumation when unlocking the screen (like on stock rom). I wanted to use Tasker for that.

Sadly, I didn't think of the fact that illumination is only possible when screen is locked. It was a stupid idea somehow...

My new idea:

A script that is activated when screen is unlocked, directly uses the illumination API and let the LEDs light up a few seconds.

I have no idea whether I can manage to write something like that or not.

I'll try in a few days and I'll report back;)

Btw, congratulations to the officialiness (does this word even exist?! Now it does :P ) of CM12.1! :)

Gesendet von meinem

Sony Xperia SP - Cyanogenmod 12.1
[Xperia SP Themes and Apps] AdrianDC:
Won't give much details just yet, but I'm also starting a new commit with an other option,

that concers every phone and not just Illumination Bars : Allow the lights to be on with the screen on.

And to be honnest, it already works in tests, I now have lights during DayDream and phone on :D .

[MENTION=6686062]Kaffeetrinker[/MENTION] : The script would slow down the waking of the phone

and may result in issues sometimes, it shouldn't be worth it.

You want the lights to flash one color on unlock and turn off ?

It's doable in the same way but is it worth it ?

And especially, would it be accepted by CM ?

The Illumination settings aren't yet merged or accepted...
[Xperia SP Themes and Apps] Kaffeetrinker:
I didn't intend to merge it to the rom, I thought of a flashable zip.

The script itself would not contain anything but "Led's, flash in this color for a few seconds".

I wanted to have it started by Tasker which would have handled the surveillance of unlock. So I didn't see any problems with wakelocks.

But I see your point. Running a script would slowdown the wakeup. That's really not worth it.

Thanks for your explanation! :)

Gesendet von meinem

Sony Xperia SP - Cyanogenmod 12.1
[Xperia SP Themes and Apps] anisingh62:
I think the best you could do is illumination would light up with one colour during call when the phone has been picked up!!! how about that??
[Xperia SP Themes and Apps] mrjazzit:
new 1012 nightly, the rom seems stable and smooth, performance is finally perfect even without addons.

also update to latest opengapps and no more freezes (if related to them)
[Xperia SP Themes and Apps] Dragonkind:
The latest nightly 1012 seems to be a bit better than 1011.

But maybe it is actually the same.

Alarm still doesn't work fine in deep sleeping. :(

PS. Ambient display is also broken.
[Xperia SP Themes and Apps] mrjazzit:
here no problem with alarms, will report if i will not wake up tomorrow
[Xperia SP Themes and Apps] Hattori_Hanzo:
How is this affecting us building from source with your repos?

This is the local manifest I used so far:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="AdrianDC/android_device_sony_huashan" path="device/sony/huashan" remote="github" revision="cm-12.1_clean" />
<project name="AdrianDC/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" revision="cm-12.1_clean" />
<remove-project name="CyanogenMod/android_packages_apps_Settings" />
<project name="AdrianDC/android_packages_apps_Settings" path="packages/apps/Settings" remote="github" />
<remove-project name="CyanogenMod/android_hardware_libhardware" />
<project name="AdrianDC/android_hardware_libhardware" path="hardware/libhardware" remote="github" />
<remove-project name="CyanogenMod/android_frameworks_base" />
<project name="AdrianDC/android_frameworks_base" path="frameworks/base" remote="github" />
</manifest>

I presume I can now remove android_packages_apps_Settings, android_hardware_libhardware and android_frameworks_base since they are merged?

How about Kernel and android_device_sony_huashan? If I remove revision="cm-12.1_clean" on both of them will I get the equivalent of using the latest addons and kernel?
[Xperia SP Themes and Apps] DD12345:
10/12 nightly with 10/11 addons is brilliant related performance,but when i'm on a call even though the screen is off,the touch screen works during the call,like so many apps get opened,sometimes the call gets cut.

i'm the only one who is facing this??:confused:
[Xperia SP Themes and Apps] AdrianDC:
Yes thanks for reporting it. Will check it out.

For Ambient Display, it's my fault, I saw it tonight too while trying to wave ^^.

As the feature is still not in CM (not talking about Doze), I'll still have to rebuild a portion of the frameworks.

Well, framework, settings & libhardware are no longer needed for you guys.

For device and kernel, please don't use my work in progress "cm-12.1" branches,

or if you do, only for a test, don't share the results, want things to be clean and reliable before sharing to clean.
[Xperia SP Themes and Apps] Araib93:
Whatever you removed, I think that was causing screen freezes when gapps where installed. I am on 1012 nightly with 1012 patch and opengapps and I have no freezes. Synced my data, played temple run 2 and installed a few apps. Usually freezes happen when I do any of this but 1012 is very smooth so far.
[Xperia SP Themes and Apps] Hattori_Hanzo:
This is for my personal use only :) I just wanted to build equivalent of latest kernel and addons to test.

By the way, images I built with cm-12.1_clean branch are very stable. I'm using it as a daily driver and I have on average two days of battery life and uptime of almost 340 hours so far :) I don't remember stock rom ever pulling this off.
[Xperia SP Themes and Apps] mrskyou:
Build 10/12+patch 10/12 = perfect ! :)
[Xperia SP Themes and Apps] Dragonkind:
Using nightly 1013 with addons 1013 now.

Just the same smooth as 1011 with addons.

Compared to 1012 with addons, Doze has come back!

However, alarm still doesn't work in deep sleeping, until I turn screen on.

(Sorry for reporting again...)

I remember that I've seen a commit, but I'm not sure if it is relative:

https://github.com/Mrcl1450/android...mmit/184634335f12441b1cb66c8f1badefe8bc666f8b
[Xperia SP Themes and Apps] AdrianDC:
Good !

I added Doze back yesterday, thanks for confirming.
[Xperia SP Themes and Apps] toshco:
Two Days using the 1011-nightly with patch 1011

The phone runs very smooth without freezes/lags/dropped frames.

Only one big freeze while the Alarm starts to late. I think it’s the same as [MENTION=4776747]Dragonkind[/MENTION] reported, the only difference is that the AlarmClock wake up through wpa supplicant rekeying event and not by turning on the screen.

The Phone did two reboots the last two days. Both after about 25h Uptime.

In both cases last_kmsg shows at the end:

[13641.143016] wcnss_8960: crash shutdown : 0

[13644.243794] Rebooting in 5 seconds..

[13649.244984] Going down for restart now

No errors detected

Maybe it’s caused by dirty flashing the 1011- nightly, coming from a clean 1006-nightly and so the 1007 huashan: wifi fix did not work probably. (But I don’t want to lose the current WiFi-Mac)

Thanks to keep our XSP up to date :good:

edit: [MENTION=2233641]Adrian DC[/MENTION] and [MENTION=5411190]Mrcl1450[/MENTION]- last_kmsg attached
[Xperia SP Themes and Apps] AdrianDC:
The end of the last_kmsg doesn't help at all, sometimes we can find the original 100 lines before.

Please share the full last_kmsg files when you get something like this ;).

I haven't reinstalled my SP in a long time, think it was in August when I did something wrong while testing a kernel.

So no, "dirty" flashing, also more appropriately known as "updating" is fine :) .

Same thing for the current MAC. No need to clean reinstall unless something is wrong.

Actually you could restore your actual MAC if you want to reinstall.
[Xperia SP Themes and Apps] sanzNya:
Firstly i want to thanks to you adrian for this project. Im using build 13okt w/ latest addons. And my phone becomes absolutely great.. its very awsome. Cant believe my phone can stable like ths (if we remember how official jb 4.3 was. Its terrible on my phone. Do everything but cant help). But its a past time. Now my phone is full of greatness. Fluid. Stable and great performance... thanks again to you and marcello for cm12.1 project.. and if there is space for improvement (like feature implementation or smthing like that). It gonna be awsome for our old phone..

Great works team..
[Xperia SP Themes and Apps] DD12345:
can u please look into the alarm issue?:rolleyes:

alarm works perfectly without addons on cm12.1 13/10,but the rom sucks without your addons:(
[Xperia SP Themes and Apps] Jadimo:
I'm using the 12.10 nightly with 13.10 patches

system is super smooth, no freezes or reboots in past 2 days (watching movies, playing light games)

Only two issues to report:

Alarm doesn't ring - i tried to catch a log, but it seems that when the phone is connected to my pc the alarm works normal

While calling the screen goes of, but the phone is not locked, so i'm launching aps with my face :d

not a big deal because locking with power button works :)

And the logs when the phone is locked are spammed by :

libsuspend	Error writing to /sys/power/state: Device or resource busy
[Xperia SP Themes and Apps] akis stamatioy:
[MENTION=6291270]Jadimo[/MENTION]

I just saw a commit in cm changelog for 14/10 biuld about your 2nd issue (screen of during call but not loked) its about to take into account the proximity sensor and some other changes (maybe for no sound during call) so here it is:http://http://review.cyanogenmod.org/#/c/112691/

as for alarm dont ring i m sure adrian will find it (piece of cake for him), but generally we are in the right course soon we will have a stable rom but ...........then marshmallow rom? gets into scene.... so again experiments lags nuclear war or.......none of the developers is going to deal with our phone to built a marshmallow rom and then this will be the end forr our beloved phone, R.I.P XPERIA SP:crying::crying:
[Xperia SP Themes and Apps] Dragonkind:
Android 4.0.x (ICS) -> pre-test

Android 4.1.x~4.3 (JB) -> test

Android 4.4.x (KK) -> STABLE

So I guess,

Android 5.0.x (L) -> pre-test

Android 5.1.x (L) -> test

Android 6.x (M) -> probably STABLE

I think if CM12.1 gets bug-free totally, CM13 may not take too much time for debugging.

Thus, I am 80% sure about that the final stable Android for our beloved SP would be Android M series.

As a mid-range device of 2013, Android M is enough for us.

Don't forget that Sony had abandoned us since 12.1.A.1.207 released.

Btw, today's addons seems to be not involving the latest updates?

I haven't seen anything added on Github...
[Xperia SP Themes and Apps] AdrianDC:
For the alarm bug, we're looking into it asap.

Please try today's Addons, and let me know if it's still there.

Today's Addons were delayed because I had a big issue to fix on my server, it's ok now.

As for those who checked if my framework base / settings / libhardware GitHub

were updated or not, don't :). I don't update & sync them anymore because all my changes concerning them are merged.

For the incall proximity bug, I think I saw what you talked about, will try it more.
[Xperia SP Themes and Apps] Jadimo:
[MENTION=2233641]Adrian DC[/MENTION]

Installed the test addon and the alarm works - set it to ring after 10 minutes.

Now trying it in a longer time period, will report back if it don't work
[Xperia SP Themes and Apps] AdrianDC:
Thanks for confirming this.

Today's test includes some test commits from Marcelo.

Tomorrow's will too if I finish something tonight, and it should be automatic in the morning xD.
[Xperia SP Themes and Apps] Jadimo:
The alarm didn't ring after 30 min :/

Could someone else confirm this ?
[Xperia SP Themes and Apps] Harry Wong:
It worked as it should be (I set the alarm the night before)
[Xperia SP Themes and Apps] Dragonkind:
I set it at 6:00AM, 6:30AM and 6:50AM (UTC+8).

But only 6:30AM rang, the two other were still missed.

Like before, it rang just after turning the screen on.

PS. My SP had been in deep sleeping for the time.
[Xperia SP Themes and Apps] Araib93:
Please try this, disable default alarm app, download Google Clock app from playstore and set alarms on that. I am using build 1210 with 1210 addons and I did face alarm issue once but I disabled default and installed Clock from playstore, works like a charm.
[Xperia SP Themes and Apps] halloarno:
I dont have alarm issues. For those who have: are you on default kernel settings? Installed mods? Xposed modules? If so try clean install ROM and leave at default kernel settings (without xposed modules and/or mods) and see if problem still exits.
[Xperia SP Themes and Apps] Dragonkind:
Using nightly 1015 with addons 1015.

I don't think a clean install can solve anything...

Like Trubuchet, everytime when it gets updated, the option to view "protected apps " will be unable to use.

Then I clear data of Trebuchet, it gets normal again.

According to my experience, I also clear data of Clock.apk and set alarm.

But it still doesn't work in deep sleeping.

Until I turn screen on, it rings for 2 secs then shows a notification of "missed alarm".

PS. I guess the purpose of re-install ROM is reinstalling apps. So I clean data of Clock.apk directly.
[Xperia SP Themes and Apps] krokanic:
Where are those 860 MB of ram... :D i don't have it on the 1015 build with 1015 addons... Am i missing somewhat... :eek:
[Xperia SP Themes and Apps] mrskyou:
Nice stability on 1015 build + 1015 patch !
[Xperia SP Themes and Apps] Dragonkind:
I just see 839.92 MB, it has been already larger than 839.6 MB in stock 4.3.

And even larger than 824 MB in previous CM12.1.

I guess it is a calculating issue.

860000 (KB) / 1024 (KB/MB) = 839.84 (MB)
[Xperia SP Themes and Apps] krokanic:
You are right but that is standard value for xperia sp, and why they are talking about 860 mb... I taught that they are some tweaks which released more free ram...

One more bug i found and i think it is known... When in call and screen goes off it is still active...just confirming...
[Xperia SP Themes and Apps] AdrianDC:
The value I rely on is in Kernel Aduitor, first screen : 860 080 kB. (Was ~843 before).
[Xperia SP Themes and Apps] Harry Wong:
Can anyone with alarm bug try to enable "keep screen stay on while charging" and see if it get fixed? I myself enabled this option and never had the problem.
[Xperia SP Themes and Apps] krokanic:
That is not a fix, it is only that the phone doesn't go in deep sleep while charging...

This morning even google clock doesn't ring for me...

---------- Post added at 02:29 PM ---------- Previous post was at 02:22 PM ----------

Are you sure... Because 860080/1024=839...MB. If you are right before we had only 823MB of free ram (after converting KB in MB...)
[Xperia SP Themes and Apps] Dragonkind:
Maybe we should test with a new install not only updating.

But I don't want to lose my all data. T__T

I am sure about that the alarm issue has existed since we use the new BFQ kernel.

Though devs are busy for CM13 recently, still want to get a bug-free CM12.1 first…

I can confirm it, we have 824MB with previous kernel. (1006 and before)
[Xperia SP Themes and Apps] toshco:
I'm on a clean installed 09/10-unofficial (BFQ kernel with the 6xxMB issue) since two days now and i had no more alarm issues since then. Maybe a clean install did the trick. Later I will switch back to a clean aktual nightly with adrians patch...

-------------

Edit: did a few more tests now on 09/10 Nightly and alarm issue is also still there - sorry
[Xperia SP Themes and Apps] krokanic:
ok, i will do a clean install, tell mi which version and which addons... i will wipe system,data,cache,and internal storage...is that ok?

---------- Post added at 06:13 PM ---------- Previous post was at 06:11 PM ----------

i also want bugfree cm12.1... cm13 can wait and to be honest i dont need it :P
[Xperia SP Themes and Apps] toshco:
------------

i have edit my post - Edit: did a few more tests now on 09/10 Nightly and alarm issue is also still there - sorry :(
[Xperia SP Themes and Apps] OsGhaly:
Installed CM 12.1 SaberMod 14/10 build two days ago and I can confirm that Alarm is working as it should with this build.
[Xperia SP Themes and Apps] Dragonkind:
A clean install needs to wipe system, data, cache and dalvik cache.

Internal storage has no need to be wiped.

I am using nightly 1016 and addons 1016 now, have not tested alarm yet.

Oh, I can also confirm another issue besides alarm.

When I have a call, the screen will be closed by sensor.

But it still can be touched.

That means I may probably end my call with my face!
[Xperia SP Themes and Apps] AdrianDC:
We know about the touchscreen incall issue since few days, will be solved when possible.

Will only update the kernel sources if the changes are more stable, that's why.
[Xperia SP Themes and Apps] Dragonkind:
I have an old question...

We have had SensorDoze now.

Would we get double-tap-to-wake in the future?

I mean if it could be switched just like other options of SensorDoze?
[Xperia SP Themes and Apps] AdrianDC:
No because it needs hardware / kernel support and we never got it to work.

+ don't forget it means having the touchscreen in low mode but always on.