yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] Kaffeetrinker:
[MENTION=2233641]Adrian DC[/MENTION]

Am I right that the regular CMUpdater is still broken in CM14 for users who are using the adoptable storage feature?

I'm still on CM13 because of Xposed, so I don't know.

But I just had an idea how to fix it:

Regular CMUpdater uses a folder inside the user folder.

This folder is not accessible in CM Recovery because it's on the encrypted SD card. That's why CMRecovery won't find the update.

Would it be possible to

1. create a symlink/hardlink from

/storage/emulated/0/cmupdater

to

/storage/obb/cmupdater

So, we have no need to mess with the Update-Downloader. This hardlink should (of course) only be created when there's adopted storage.

One could also implememt the alternative download folder into the Downloader I guess.

and

2. Tell the recovery to look for updates not only in

/storage/emulated/0/cmupdater

but also in

/storage/obb/cmupdater

Because this folder is accessible even on devices with adopted storage when in CM recovery.

I think choosing the obb folder is a good idea because updates are (in some way) non-user-specific data. Just like the data that are supposed to go into the obb folder.

I'd try creating the hardlink myself, but as far as I've read, SELinux prevents me from creating hardlinks. Does a Rom developer have influence on these SELinux rules?

Do you think this is possible? If yes, would you be interested / having time to implement this?

EDIT:

I just got that I wasn't right about the nature of the obb folder.

But maybe there's another folder that could be used in the mentioned way.

EDIT2:

I was right about the obb folder. The obb folder that's on internal storage can be accessed via

/data/media/obb

I think you could also add

/data/media/cmupdater

Would look best.
[Xperia SP Original Android Development] kimikim0:
hey OP awesome ROM btw, just wondering how to hide the # icon in statusbar ? thanks
[Xperia SP Original Android Development] Kaffeetrinker:
Xposed Module CM Settings can do that.
[Xperia SP Original Android Development] kimikim0:
xposed for nougat not even release yet
[Xperia SP Original Android Development] Kaffeetrinker:
So you've gotta wait or help rovo89 finishing it...

Sorry, but that's the way it is.
[Xperia SP Original Android Development] kimikim0:
thanks btw, i though there somekind work around, so i guess not
[Xperia SP Original Android Development] Kaffeetrinker:
Anyway, next time: Questions linke this one go to Q&A.

Would have reminded you earlier, but didn't realize myself we're talkin' in the Main thread.

And for thanking someone, there's the Thanks button.
[Xperia SP Original Android Development] kimikim0:
didn't realise there Q&A Thread, not really active at SP forum as this is my second device, sorry againt, cheers
[Xperia SP Original Android Development] gseroul:
Brick ?

Hi,

I did install CM14.1 on top of CM13. I forgot to install gapps then when I restarted I had the google play services crashing all the time. I still can boot on twrp recovery, I tried to reset full factory and then I tried to reinstall CM + gapps but I have a message : error. I cannot restart the phone in a normal way, it block on logo SONY. And from the twrp and don't know what I can do...

Please if someone have an idea ....
[Xperia SP Original Android Development] gseroul:
Hi guys, finaly I succed to flash again the last TRWP on my phone, and after the CM14.1 with the gapps. It is working like a charm !

Thanks again Adrian for all your amazing job on Xperia SP !!!!!
[Xperia SP Original Android Development] sadi6801:
hi does this rom support themes?

I've installed AICP but it doesn't have themes!!!
[Xperia SP Original Android Development] kimikim0:
not available yet, still work in progress at this time
[Xperia SP Original Android Development] I_am_Blackford:
Deleted.
[Xperia SP Original Android Development] hafizhlf:
Cyanogenmod is dying :eek:
[Xperia SP Original Android Development] heliox:
LineageOS is coming?
[Xperia SP Original Android Development] hafizhlf:
https://github.com/lineageos
[Xperia SP Original Android Development] vaibhavshukla:
For our device ???
[Xperia SP Original Android Development] kimikim0:
device list that LineageOS support not available yet, we just need to wait and see
[Xperia SP Original Android Development] Kaffeetrinker:
That goes, just as questions, not into this thread!

Open your own thread or write into one of the other 10k threads about Cyanogenmod dying...
[Xperia SP Original Android Development] laim_name:
Lets wait any good/bad news from adrian
[Xperia SP Original Android Development] hafizhlf:
Final build?
[Xperia SP Original Android Development] hussein1:
yes final for CM Rom.

But

lineageos build very soon on the new post;)

https://review.lineageos.org/#/q/status:open
[Xperia SP Original Android Development] -kerberos-:
I expect Adrian is working on LineageOS already :o , I found some Gerrit notifications from him and on basketbuild is a nice folder...

Again, thousand thanks Adrian !!! :good:

By the way, since the update to the generic viskan_huashan_defconfig my battery percentage is now shown correct.
[Xperia SP Original Android Development] magc880826:
hey,

what will happen to cyanogenmod after 31st December.....?
[Xperia SP Original Android Development] mhmghomi:
What a bad news....

just for some users who wana know what will happen to cyanogen, check this TOPIC
[Xperia SP Original Android Development] Kaffeetrinker:
[MENTION=2233641]Adrian DC[/MENTION]

I made a mistake when mentioning you when I posted this, so maybe you oversaw (or overlook? I always mix up these two words) my idea.

What do you think? Stupid, interesting, something else?
[Xperia SP Original Android Development] chandrapramudya:
Offline charging problem

I have Sony Xperia SP with cyanogenmod 14 official. Now my Hp is not charging battery lvl 0%. When I connect my Xperia with charger, the logo Sony is appear first and then the lvl of battery (0%) and the red led and then green led appear. And after 2 second after that the backlights screen is on and then no one appear in LCD. I have charging for a couple hours but the Xperia still not charging. Can you help me? My battery level still 0% every time I connect to charger.
[Xperia SP Original Android Development] Xcpro:
Volume button blocked? With fake fastboot mode?
[Xperia SP Original Android Development] chandrapramudya:
Yes please open this video. Help me please

http://sendvid.com/vwmkh8q1
[Xperia SP Original Android Development] Xcpro:
You have to remove the elastic cord that block the volume button when you insert usb charge. After charge is starting you can replace It.
[Xperia SP Original Android Development] Cyrus.xda:
Hi Mr Adrian I Have Very Bad Problem I Have Multirom Primary Android 4.3 Official And Secondary Cm 14.1 i just want to go to recovery TWRP YOU JUST DESIGNED FOR MULIROM BUT SUDDENLY I PRESS VOLUME DOWN AND STRAIT IM JUST GO TO CM RECOVERY WITHOUT DOING ANYTHING BUT WHEN I GO BACK TO MY OFFICIAL ROM DOESN'T ACCESS TO MY INTERNAL STORAGE ANY MORE EVERY APP JUST WORKS FINE BUT ACCESS DENIED FOR INTERNAL STORAGE BUT ON MY SECONDARY ROM CM 14.1 EVERYTHING IS OK LAST TIME I FACED THIS PROBLEM I JUST I HAVE TO WIPE EVERYTHING RELOCK BOOTLOADER AND FLASH OFFICIAL ROM AGAIN TO ACCESS MY INTERNAL STORAGE BECAUSE I DO EVERYTHING EVEN RESTORE FROM BACKUP BUT DIDN'T HELP ITS SOS FOR ME BECAUSE I CAN'T DO THIS AGAIN IF ANYTHING GOT WRONG ITS BECAUSE SOMETING WITH CM RECOVERY THAT CAUSE MY INTERNAL STORAGE ACCESS DENIED IN MY PRIMARY ROM ANDROID 4.3 IM SO SORRY I DONT HAVE ANY LOGS PLEASE PLEASE HELP ME ???
[Xperia SP Original Android Development] halloarno:
Use only one capital letter at the beginning of a sentence. And end a sentence with a dot. If you're not willing to make your post readable, why should anyone try to understand what you're saying?
[Xperia SP Original Android Development] Daniel D.:
You should NOT flash a ROM build by Adrian DC.
[Xperia SP Original Android Development] chandrapramudya:
Do you mean I should remove the rubber band? The result still same please look this video

http://sendvid.com/9fhc8wk5

---------- Post added at 01:49 AM ---------- Previous post was at 01:45 AM ----------

Why bro? Give me the reason, sorry iam newbie.
[Xperia SP Original Android Development] OsGhaly:
Just use a charger with a little bit higher voltage than the stock charger (charge it to 5% to be able to boot your phone) then use the stock charger to complete charging to 100%.
[Xperia SP Original Android Development] chandrapramudya:
Ok I'll try with iPad charger. And I charge with usually or I charge with the volume button press with rubber band help?

I just try to charge with iPad adapter. But the result still same. The Sony appear, the red led is appear. Nd then off and the system restart the Sony appear. What's happen with my Xperia? Yesterday I try to charge with volume button press and then volume down press charging. But the result still same.
[Xperia SP Original Android Development] AmirMahdi:
Happy new year :)

List of devices getting official LineageOS Roms [ Full ]

Xperia SP (huashan)

http://www.lineageosrom.com/2016/12/list-of-devices-getting-official.html
[Xperia SP Original Android Development] AdrianDC:
That website is totally unofficial and most of it is wrong,

they simply copy pasted the list of CM maintained devices throughout the years.
[Xperia SP Original Android Development] chandrapramudya:
Hi master,

Can you help me with my Xperia sp problem before? I don't know what I must doing to fix my Xperia sp. can I flash my Xperia with this condition? With 0% charging
[Xperia SP Original Android Development] Xcpro:
Yes. And yes, could be a charger problem. Or maybe could be a permanent blocked volume button, in that case you have to send to repair center. Good luck.
[Xperia SP Original Android Development] todonormal:
Your phone working good before with cyanogenmod 14.1? Do you use equal sd card?

Disconnect.

Pulse button back(hardware reset) 20 seg

Comment your results
[Xperia SP Original Android Development] mrskyou:
Sure, she is.
[Xperia SP Original Android Development] deadlecter:
hey,thanks for this amazing rom,bugs so far

i sent some apps from my tablet to my phone via Bluetooth and coudlnt install them from the "recieved menu",it keeps force closing but no problem installing from my file manager,secend bug is status bar,looked every where still cant find anywhere to customize it,double tap on status bar to sleep cant be turned off othar than that everything is amazing
[Xperia SP Original Android Development] ralfbergs:
I believe this must be a typo, as ext4 is the default FS. You probably meant F2FS?
[Xperia SP Original Android Development] AdrianDC:
MicroSD are 99% never ext4 default, either fat32, vfat or exfat.

Using the format ext4 for MicroSD is not yet supported for use inside AOSP 7 or CM-14, it's a work in progress.
[Xperia SP Original Android Development] Ungewiss:
Ext4 support on CM13 for microSD is pretty annoying regarding permissions. I still use it without journal, though, since I only store music and map data on it
[Xperia SP Original Android Development] ralfbergs:
I meant for the OS (/system) itself, so there must be ext4 support in the kernel.

Interesting. Naive as I am I thought if it's supported for the OS, it should be supported for all other partitions as well... What's the background, why is there special treatment required for the uSD?
[Xperia SP Original Android Development] AdrianDC:
Quite simply because the ext4 is not something normally done by users

and needs additional work on the mounting & permissions of external storage.
[Xperia SP Original Android Development] smogf:
Wow.

Its awesome. I can live with non working thinkgs and want to test it and use it. but I use my device as daily driver and miss me one thing. Since there is no xposed framework for N yet, I have to find another possibility to disable my damaged proximity sensor. Any possibility to disable it without xposed?? It always say that sth is near so I have black screen while calling :(
[Xperia SP Original Android Development] AdrianDC:
Made you a sensor HAL with fake proximity always far, have a try.
[Xperia SP Original Android Development] smogf:
What can I say. You are genius. Thanks a very very very lot. You are amazing. Works perfect.
[Xperia SP Original Android Development] Iekuta:
Amazing ! You did that again !

Thank you so much :D
[Xperia SP Original Android Development] NasNaj29:
A day with CM14

Hi Adrian DC, first of all i want to say thank you for your job for bring our phone back and back as always. You did a great job which earn our respect. Many thanks to you. I want to write down what did I get after 1 day with your CM14. But before that, im sorry for not make a copy of logcat.

In the first build 140916, Ive having just a small bug. but it is not a big thing like the E sign always appear instead H+ for my network. In the second build, my camera is crash (default and 360). Then i reverted back to 1409. I do experience very fast, smooth and really good battery life! Really good performance even it still an Alpha:) Thanks Adrian DC. Sorry for no log. i know the rule. hehe :D
[Xperia SP Original Android Development] laim_name:
waiting for official nightlies :good:
[Xperia SP Original Android Development] aganhakiem:
Bug Report

Hello, once again i apreciate your hardwork that make this device amazing ;)

i used the 0918 build and i experienced annoying bug,

when i play music ( i try several music player, the default music player and spotify) the music gone when i open another app, open notification, and lock my device. this is rather annoying because i usually use my sp to chat or browse while listening to music at the same time. here i attach the logcat. hope it helps :):o

edited: I went back to 0914 build and everythings work fine except ussd is broke for now, but overall it's a very good alpha :good:

Edited again: the problem back,the music home if i lock the screen, open notification, and open home or another app. i dont have any idea why -_-
[Xperia SP Original Android Development] abhishek2945:
Sd card can't open in ES file explorer and no detection of file in music player ..!!

anybody know the solution of this ..?
[Xperia SP Original Android Development] aganhakiem:
maybe i can help with the E sign intstead of H+, go to setting > Mobile network > and change preferred network type to GSM/WCDMA/LTE, the E sign is caused by the default setting of preferred network is only GSM.

Press thanks if it helps :highfive:

As you can read in the second post, the rom is missing ext4 support, and i think your sd card is in ext4, try to format your sd card into different partition like FAT32, hope it helps :highfive:
[Xperia SP Original Android Development] abhishek2945:
Already tried nothing is happen ..!! anyways thanks for the help i'm get back to the official cm 13..
[Xperia SP Original Android Development] NasNaj29:
Its really helps. thanks. By the way, do you experienced Camera crashed on the 1809 build? i cant use cam at all
[Xperia SP Original Android Development] Cris Ferreira:
I'm using 18/09 build and pictures and panorama functions are OK. Only camcorder don't save movies. The storage are set to SD.
[Xperia SP Original Android Development] aganhakiem:
nope, the annoying bug that i experienced was the sound of music you play just gone, if u open notification panel, open another apps, or even lock the screen, the sound is just "voila" its gone :confused: , do u experience that, or maybe u have a workaround that might help, ty ty :good:
[Xperia SP Original Android Development] Kaffeetrinker:
answered to 2 day old post, whoopsie :-S
[Xperia SP Original Android Development] mhmghomi:
Guys...

Just check https://www.cmxlog.com/14.1 and look at the commits... :) and just take a look at xsp changes... :)

For example here https://review.lineageos.org/#/c/154899

And look at Adrian's name :), he is rocking again ;)
[Xperia SP Original Android Development] MadMaxPN:
When theme engine will be implemented?
[Xperia SP Original Android Development] ma4a3er:
cm14.1 is no longer exist u can install lineageos 14.1 instead and follow up with them tell the theme engine been integrated
[Xperia SP Original Android Development] Kordius:
U made my day :D
[Xperia SP Original Android Development] Iekuta:
AdrianDC ...

the god of Xperia SP :silly::laugh::laugh:
[Xperia SP Original Android Development] SparkyCola:
RAW Image, how hard is it to implement

Around a year back you mentioned here https://xdaforums.com/xperia-sp/orig-development/5-1-1-cyanogenmod-12-1-t3096100/post65453729#post65453729, that RAW image wasn't developed bcs. there where more important things to do.

Since I have some programming skills (java and c++, I'm not a pro though) and you didn't say it was impossible I was wondering how hard it would be (I'd like to do it, not know but I'd be on my list of stuff to do).
[Xperia SP Original Android Development] AdrianDC:
8960 Sony devices have outdated Camera stacks, unsupported camera sensor, using HAL1 and everything's closed-source prebuilt blobs from Stock 4.3.

Hacking around the camera to try getting something even close to RAW would be an absolute waste of time imho, sorry.
[Xperia SP Original Android Development] SparkyCola:
Thanks for the info and for saving a lot of my time.

---------- Post added at 10:42 PM ---------- Previous post was at 10:27 PM ----------

Wait what about other Xperias with the same camera, that are one here at Sony's open-source project (if any have the same cam, but some have at least the same resolution (search for 8MP).
[Xperia SP Original Android Development] kjwg:
My phone is now very stuttering, unresponsive, since last 2 weeks.

I am sure it has something to do with google play , as I have not much lag before.

This is totally the end of SP for me, as Lineage is still in Nightly.
[Xperia SP Original Android Development] Ungewiss:
Try the latest lineage os nightly. Really.
[Xperia SP Original Android Development] wolfmannight:
hahaha... Right.....
[Xperia SP Original Android Development] laim_name:
if someone needs one of the last CM builds for our phone (for any reason), you can bring it from my google drive

https://drive.google.com/drive/folders/0B9ezDTx7eDfLNHVsUE9ub3FCeUU

there are last fxp builds i found (cm 10.1, 10.2) and all official cm builds that were uploaded to cm servers (cm 11, 12.1, 13 and 14.1)
[Xperia SP Original Android Development] honza_81:
Excellent! Thanks!
[Xperia SP Original Android Development] maximecool92:
Hello from France my english is poor im am sorry

This is working with all Sony Xpedia SP ?

This is stable ? because use my phone all days

i have android 4.1 but is so old i want upgrade it

not many risk in % ?

how unlock bootloader?
[Xperia SP Original Android Development] dic1911:
That's 100% you'll brick your Xperia SP if you don't read the instructions properly before you do anything stupid.

And from the question you asked, you didn't search before post.

There's plenty of tutorial out there, try Google it.
[Xperia SP Original Android Development] hannor:
Good news: wireless screen (screencast, miracast, etc.) works flawlessly on this ROM. Good old CyanogenMod team rulez! :good:
[Xperia SP Original Android Development] le grande magnetto:
revived my old SP with this. a bit slow tho :D
[Xperia SP Original Android Development] hussein1:
thank you for hard works.

added cm theme engine to the build 22 Sep?:confused:
[Xperia SP Original Android Development] qAnAthemA:
Check it out and tell us:D
[Xperia SP Original Android Development] miladn78:
Not yet
[Xperia SP Original Android Development] yunamunchy:
whats new on 22 build?
[Xperia SP Original Android Development] Victor V.:
22 build is more stable. Added some options in "settings" - privacy, system profiles etc. Theming's not supported. File managers and music apps read SD card.
[Xperia SP Original Android Development] smogf:
Nice new build. Is gps working? Btw.... i love 3D performance in N. Its amazing.

Wysłane z mojego Xperia SP przy użyciu Tapatalka
[Xperia SP Original Android Development] Krawzer:
GPS is working just fine for me on 22/09 build
[Xperia SP Original Android Development] Ishrak:
Quick Look at This ROM !!!

Here's the video link : https://www.youtube.com/watch?v=e9VcQ3C1P6k
[Xperia SP Original Android Development] AdrianDC:
Thanks!

Small comment about the easter egg because you struggled quite a lot with it,

you did not notice the cat at the bottom of the screen, as a "toast notification".

Read more about it on the forum & on the internet, Nougat is slightly more complicated.

PS: Charge your phone.
[Xperia SP Original Android Development] Cris Ferreira:
Did you a clean install?

Are you using gapps?

My GPS in dirty flash of 22/09 build dont function. I am not using gapps.
[Xperia SP Original Android Development] Gshrestha:
3D performance:confused::confused:
[Xperia SP Original Android Development] destiny4life:
I was watching his video and really wishing to shout in front of him Dumbo! watch on bottom of the screen :D:D:D
[Xperia SP Original Android Development] smogf:
Yup. 3D games with 4xMSAA on have double fps in common with CM13 for me. Dont know if its fresh ROM syndrom, but I dont think so. I've already had all apps wich I had in CM13 and games runs much smoother and faster with same amount of free RAM.

Wysłane z mojego Xperia SP przy użyciu Tapatalka
[Xperia SP Original Android Development] Beh2ad:
Camcorder

Camcorder still Broken? :confused:
[Xperia SP Original Android Development] [BRA] Giovani:
First page, post 2.

use Q&A for this http://xdaforums.com/xperia-sp/help/qa-cyanogenmod-14-0-xperia-sp-t3461765
[Xperia SP Original Android Development] aamie1:
GPS?

I have read opposing statements in this thread as to whether or not the GPS works.

I am currently using the AOSP build for my bank but would love God too. If someone could confirm I will have to choose between banking and mapping.

Thanks
[Xperia SP Original Android Development] mrskyou:
On the 20160927 build the gps works.
[Xperia SP Original Android Development] Keyro Zen:
USSD Code not working

Hi all,

This rom is awesome, smooth and all are working perfectly. thanks to the devs :good::good:

Only one issue for me, that ussd code is not working, it's loading but no response... :confused::(

pls help.

thanks
[Xperia SP Original Android Development] AdrianDC:
Please don't double post (here and Q&A).

It's spamming everyone with notifications, duplicates the content and all.

And please read the "FEATURES AND ISSUES".

Tx.
[Xperia SP Original Android Development] Keyro Zen:
Thanks Adrian, sorry for disturbing.

:o
[Xperia SP Original Android Development] Tomoms:
Quick review

A few days ago I decided to try CM14 on my phone, to see how this Android Nougat was, what features it brought etc. I haven't used it for more than one day, so what I'm writing is not a detailed review, but only a quick list of the positive things that have impressed me.

As we all know, the camcorder is broken and so are all the screen recording apps, so my humble hypothesis is that there's something wrong with the hardware video encoder, but anyways I've got a very small knowledge in this field so I'd better move on and talk about something else.

The OS seemed to run more smoothly than CM13, I even restored my 50 apps with Titanium and started using the phone normally and I really appreciated this extra responsiveness of the phone. What's more, the phone boots faster and as soon as it loads the launcher it's ready to be used smoothly, no need to wait for more than a few seconds.

Another good thing I noticed: now, when I open Snap camera and tap on the screen to focus something before taking a photo, the phone focuses the object almost immediately and always at the first attempt, whereas on CM13 it takes a longer amount of time and a bigger number of attempts.

Ok, so in the end it looks like a really promising CM release, and it's bound to improve with time so... Prepare your phones!