yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] Alvichone:
Installed that version and the best behaviour I have never seen in my Xperia SP. Great for AdrianDC!
[Xperia SP Original Android Development] Evilmonk100:
big thanks to adrian and his entire team to keep this old 2014 model still alive. and give a regular updates to user. we appreciate your work for xperia sp pie version. god bless you bro. may god fulfill your all wishes. THANK YOU VERY MUCH BRO:):):)..........
[Xperia SP Original Android Development] cdewsxSP:
AdrianDC

manual selection of networks does not work
[Xperia SP Original Android Development] MadMaxPN:
Just to share my experience flashing LineageOS 16...When i flashed latest release i had problems, since first start message appears Bluetooth not responding, ending with message system is shutting down, and thats it, phone restarts, same message appears... Anyway i resolve issue flashing previous bild (and patch), boot normaly and then flashed latest build, flashed pico gapps and everything works flawlesly... Maybe someone find usefull this post... Anyway big thanks to AdrianDC and all contributors who keep this device live with this great software, thats only reason i use xperia sp fifth year!
[Xperia SP Original Android Development] gorillanobka:
Hello Adrian

Thanks for the lineage-16.0-20181001 man. Really smooth.

Just few things I've noticed:

1) The notifications, call, media sounds are extremely low compared with your AOSP 8.1 version.

That actually can turn the whole phone unusable. I am aware that Lineage OS builds needs to adhere to a certain standard but that standard when it comes about sound is a joke.

Whomever set that sound that low it's corporate lawyer who's only concern was not raising the sound level anywhere near to anything that might be recognized as loud so they can't ever be sued for ear damage or something.

Translated in real life it means: notifications come unnoticed, calls can not be heard when you're on the street,and because the vibrator is also hardcoded on low,unlike a good old nokia 3310 you can't even feel the vibrations.

A quick workaround would be to either create one of your patches so we can flash it and raise the volume levels or if possible write a tutorial and tell us how to do it.

2)There now seems to be a delay between pressing the power button to open the phone and the the time the display comes up. Not much but it's noticeable

3)Selinux is not enforcing setenforce 1 command both from phone's terminal and from ADB won't work. What am I doing wrong here?

That's about it for now i will keep playing with it and report the findings later on.

But yeah, I'm gobsmacked really. Amazingly good job.

Thank you once again.
[Xperia SP Original Android Development] Ungewiss:
Why don't you investigate by taking a look at his patches, apply them to the lineage-16 tree and build it yourself?

To the vibrator: I barely ever notice it, too.

This is normal during developement. SELinux is set permissive and the policies are fixed after fixing the rest.

I second that, although I migrated to my own 15.1 builds - that was actually pretty easy.
[Xperia SP Original Android Development] gorillanobka:
If i knew what to look at and where to look at, I would definitely do it in a beat.

Back in the day you could play with /system/etc/mixer_paths.xml in order to raise some of the level of the volume but none of the settings would have the efficacy or efficiency of Adrian's settings implemented on AOSP8.1 .

As you know some of the settings are hard-coded and you can't change them from mixer_paths.xml (Or better said, I DO NOT KNOW how to, hence me asking for help)

I'm open to suggestions Ungewiss

Regards
[Xperia SP Original Android Development] Evilmonk100:
Adrian sorry to distrub you. But can you please make a magisk 17.1v stable flashable zip make for xperia sp. Bcz through boot bridge also it will be not istalled i will share a twrp scrrenshot of that . Please fix this problem.

Can magisk uninsraller zip also required to flash through boot bridge? Bcz when i flash normal zip it shows following msg i attched this in attachment.
[Xperia SP Original Android Development] Ungewiss:
I don't know where exactly to look at, too. Sorry. I'm not a Java or Android guy and stuff is evolving pretty fast. If _I_ would care, I would take that hour and try to find out where to look. Or just ask in IRC.

No, I don't :)

Why magisk? There is addonsu, if you just want root access. But to be honest: I never cared to look what magisk really is, since I never saw a need.
[Xperia SP Original Android Development] Evilmonk100:
Why magisk? There is addonsu, if you just want root access. But to be honest: I never cared to look what magisk really is, since I never saw a need.[/QUOTE

Magisk is great. We have opt to install modules through magisk like xposed. And su now beacomes old everyone now shifting to magisk. Magisk hide is also great a feature. Someone told me that adrian konw the exact problem. Thats why posted here.
[Xperia SP Original Android Development] gorillanobka:
OK, Mr 1 Hour on Irssi.

It's good to know it's only gonna take one hour. It could have fooled me.
[Xperia SP Original Android Development] Ungewiss:
If you know how to use find and grep and have an idea what that could be called (likely something with 'volume'), I doubt it takes an hour.
[Xperia SP Original Android Development] gorillanobka:
Thank you for your input.

It's obvious you never actually tried to look for those settings, but I'm feeling so much better now that our 5 years problem has been so was expertly elucidated by you.

Lineage OS has been plagued by these ****e settings in the volume department since the beginning of the times.

A simple search through the forum will come with with tones of threads where people are dripping and griping about this.

From what I could see guys like [MENTION=2233641]AdrianDC[/MENTION] are actually not messing with the /system/etc/mixer_paths.xml too much.

The settings they apply seem to be done directly into the kernel and they seem to remove hard coded limits straight from the source code.

But then again I might be wrong.

Anyway, as always I'm gonna revert back to AdrianDC's AOSP 8.1 which is actually way better (when it comes about sound settings) and can be used as a daily driver.

With lineage-OS not only my connectivity drops completely when I lock the screen but I can't even hear the notifications for the incoming SMS's and Whatsapp messages. I am actually missing phone calls because the volume is so low and it can not be heard on the streets. London can be quite noisy.

Anyways....

Have a lovely evening everyone and one again a "big thank you" to [MENTION=2233641]AdrianDC[/MENTION] for his work.

QUOTE=Ungewiss;77852585]If you know how to use find and grep and have an idea what that could be called (likely something with 'volume'), I doubt it takes an hour.[/QUOTE]
[Xperia SP Original Android Development] Evilmonk100:
Is any one konw how to permanently stop zram config? And how to reduce swap from 400mb to 10mb in zram? I use roeshoft app to swap off but it wont work after reboot it will reset setting.
[Xperia SP Original Android Development] gorillanobka:
Have you tried this one?

https://xdaforums.com/showpost.php?p=74165089&postcount=1
[Xperia SP Original Android Development] Evilmonk100:
Thank bro but the above thread is not for stop zram it make zram swap more aggressive. I want permanent stop zram in rom.
[Xperia SP Original Android Development] gorillanobka:
I assume you already tried from adb

swapoff /dev/block/zram*

Have you?
[Xperia SP Original Android Development] Ungewiss:
Save your sarcasm and stop whining.

If you were not so annoying, I would have taken a look since I always have a copy of the source tree here. I also do not see any reason, why it matters if it is a kernel based setting (then most likely there is a sysfile) or somewhere else.

Have fun with AOSP.
[Xperia SP Original Android Development] Evilmonk100:
Bro can you tell me the procedure/steps to off zram. I will not try this method. If you know then tell me steps so that ican off it.:)
[Xperia SP Original Android Development] cdewsxSP:
Evilmonk100

Try this, unpack boot.img, search fstab.qcom,

edit string /dev/block/zram0 none swap defaults zramsize=419430400,zramstreams=2 change to /dev/block/zram0 none swap defaults zramsize=0,zramstreams=2
[Xperia SP Original Android Development] gorillanobka:
OK

Well done, you !

Now... Have you actually tried AOSP?

Don't knock it until you've tried it...

It's a thing of beauty.
[Xperia SP Original Android Development] DocTDB:
Just a quick report on lineage 16.0 20181001 rom, installation went smoothly with the latest TWRP build and OpenGapps pico. I'm loving it so far, it's like having a new phone each time.

Found 1 bug so far, When accessing Settings > Display > Advanced > Expanded desktop it gives me a " LineageOs Settings keeps stopping".

Other than that thanks again for the time you spend, I will keep in touch if I find new bugs.
[Xperia SP Original Android Development] NyQuilXT:
Hi,

just a short question: Will https://review.lineageos.org/c/LineageOS/hudson/+/224156 be merged someday or will this be dropped in favor of LOS 16.0 ?

I'm only asking, because I'm not sure if I still wait or install some unofficial 15.1 / 16.0 build or maybe reinstall an official LOS 14.1...

Greets,

NyQuil :)
[Xperia SP Original Android Development] Ungewiss:
I did a migration build and switched over to my own (still unsigned) builds without loosing my data. I got too used to LOS 15.1 to switch back to LOS 14 :)

My plan is to migrate back to LOS builds when they are either at 15.1 again, or 16.0.

Are you interested in more recent 15.1 builds and a migration path?
[Xperia SP Original Android Development] AdrianDC:
For information: I have been extremely busy with work over the last months,

and spend when I can the little free time I have on my Sony 8960 devices and LineageOS.

New 15.1 release: I just triggered a new 15.1 release for the Sony Xperia SP / T / TX / V to refresh the last one from August.

There's about one thing that makes me against moving to 15.1 officially, including for other Sony 8960 devices of the family,

and it needs time to be done properly and ready for official releases.

About Android Pie: The AOSP 9.0 and LineageOS 16.0 releases I made since the Android Pie release (for internal testing only initially..)

are almost finished as I (and some people I know) use it as daily since the start as well.

I'll see if I have time to take care of a few things within the next weekend for the 16.0 sources.
[Xperia SP Original Android Development] heliox:
Won't you never stop? :P Thanks a lot again!
[Xperia SP Original Android Development] Evilmonk100:
Once again thank you so much bro. Bro if got free time then plz make magisk 17.1 flashable zip for xperia sp. So that we can use it with lineage 16 os. Thank you.
[Xperia SP Original Android Development] hannor:
Dear Adrian, massive gratitude for your continuous work! I just installed your Android Pie (1 Oct release), it is awsome! I think it deserves a brand new thread here on XDA!
[Xperia SP Original Android Development] AdrianDC:
I also think it does, since 1 - 2 months, but haven't had time to actually do it.

I'll probably do it next time I can work on it.

Note: I rewrote all my Mega shell tools to implement mega-cmd instead of megatools,

for various reasons most of my releases since a few months were failing to release on my Mega main downloads.
[Xperia SP Original Android Development] scruffy1:
hey ho !

i'm in the midst of downloading lineage-16.0-20181001-UNOFFICIAL-huashan (thanks adrianDC), and keen to have any comments from users

can i do a dirty flash, or am i damned to go for a clean install - no big deal, but if it ain't broke (and the rom i run works really well) - then i'm not in a hurry to break it

cheers for any info before i commit to the change

ps. i note that the ring volume is pretty low on 15.1 also, and the vibration close to zero - any simple work arounds ?

other than that i have been loving this rom long time :D
[Xperia SP Original Android Development] hannor:
Hi scruffy,

I cannot remember whether I did a dirty flash or a clean install, but I can assure you that the ring volume in Lineage 16.0 is perfectly loud.
[Xperia SP Original Android Development] scruffy1:
thanks hannor

i'll give it a run :good:

edit

well, the ring is a bit louder; the vibration is definitely more intense

downsides :

google search bar is tenacious and can't be disappeared, although you can make other screens and ignore it

all the lovely setting for the camera seem to have been lost - is this just pending, or do i have to load something i forgot to do ?

the screen brightness goes to volume 11 (if you've seen spinal tap, you'll get what i mean)

but it all seems to work okay otherwise
[Xperia SP Original Android Development] cdewsxSP:
AdrianDC

Dear Adrian, please pay attention to bootloader:

in line "/ dev / block / zram0 none wap defaults zramsize = 419430400, zramstreams = 2"

should be replaced by

"/ dev / block / zram0 none wap defaults zramsize = 536870912, notrim" for low ram false

and "/ dev / block / zram0 none wap defaults zramsize = 268435456 " for low ram true

why so, because "zramstreams = 2" is not a valid command and dual compression stream is heavy for 8960 (only 1 streem), but if you really need to, write

on early-init

**** write / sys / block / zram0 / comp_algorithm lz4

**** write / sys / block / zram0 / max_comp_streams 2

and one more line

write / sys / module / msm_show_resume_irq / parameters / debug_mask 1

must be deleted or replaced by

write / sys / module / msm_show_resume_irq / parameters / debug_mask 0

After these changes, device works faste.

...command notrim - do not unload of zram compressed data, which gives a high performance.
[Xperia SP Original Android Development] Ungewiss:
Since I was about to build myself a new 15.1 today, I will test your suggestions. Thanks!

Edit: Your suggestion is not too different from Adrian's settings. The kernel doc and modinfo for zram do not say anything about some 'notrim' option. The number of threads is automatically determined according to the kernel doc. I tried and did not find any improvements to Adrian's settings.
[Xperia SP Original Android Development] NyQuilXT:
Hi,

I noticed some strange behavior with sound / music playback using headphones.

When using headphones and playing music through some music app (tested with AIMP, DI.FM and also Eleven) music plays fine until I open android settings or opening the app recents list - also turning off the display makes me hear nothing anymore while the music app still playing the music ... visualization on lockscreen is still there (when turning on the display again)...lights effects too...plugging out the headphones and then plugging them in again fixes the problem / silence...until next action like opening the app recents or so..very strange...

Can someone confirm that behavior? I've tested it on two huashans...

NyQuilXT :)
[Xperia SP Original Android Development] AdrianDC:
Sony Huashan migrated to LineageOS 15.1, the manual networks selection has been resolved.
[Xperia SP Original Android Development] Dragonkind:
Hi, Adrian, I had sent you an email about half month ago. It was about a cross-device bug of LineageOS 14.x and 15.x, did you notice it?

If not, here's the description:

When I long-press screenshot option (the one in power menu) into partial screenshot mode, and do nothing then exit partial screenshot, it will be unable to take screenshot with power menu again unless rebooting. But I can still take screenshot with physical keys.

Another similar bug happens when I enable airplane mode with power menu, it will be unable to disable airplane mode with power menu. I need to disable it with Settings or quick settings tile first, then I can enable airplane mode again but after that still can't disable with power menu.

I had tried to fix it by myself, but no idea about how to do. Not sure if this bug also happened on 16.0, so I feedback to you and wish being able to get your help. Thank you first here!
[Xperia SP Original Android Development] scruffy1:
i'm running lineage 16.0 - lineage-16.0-20181001-UNOFFICIAL-huashan

screenshot seems to work fine, as does airplane mode... at least for me it does

my only complaint for 16 vs 15 is that the beautiful (i presume pixel) camera settings have now regressed to very basic only

is it possible to port the previous camera set up to 16 ?

i rarely use the phone for pics, but that was really impressive as a backup strategy when i wasn't carrying the rx100 (adrian isn't the only sony fetishist :D)
[Xperia SP Original Android Development] xdagops:
Just to add that when I tried version 16 the camera app did not recognise my SD card.

I have reverted back to 15 experimental.

Thanks again Adrian.
[Xperia SP Original Android Development] scruffy1:
the camera ap works and will save to sd on my 16 install; i used "open camera" ap to add a bit of extra finesse

i would suggest you need a clean install of 16 - dirty simply doesn't play nice
[Xperia SP Original Android Development] LaRazón:
I'm on the aosp rom atm, if I want to try this one, is it ok to just flash everything from twrp? What about the order?
[Xperia SP Original Android Development] scruffy1:
clean flash for the win

rom first, then gapps, but as a single process with them lined up, clean the dalvik / cache > reboot to system and wait for the requisite stabilisation

enjoy !

only detriment is that the phone ring volume is not as loud as aosp ;(
[Xperia SP Original Android Development] LaRazón:
Thanks! What about the kernel? Ring volume isn't a problem, not using it for that at the moment.
[Xperia SP Original Android Development] scruffy1:
the rom has everything set

https://basketbuild.com/devs/AdrianDC/Huashan/LineageOS-16.x
[Xperia SP Original Android Development] NyQuilXT:
Hi there,

as the music playback problem on headphons still persists on latest offical, I tested some things and found out that I had to turn off "Ok-Google" speech detection completely ( also "in google app" as "from everywhere" was already off) to get around this problem.

So long...

NyQuilXT :)
[Xperia SP Original Android Development] scruffy1:
i don't use "ok google" so i never noted a problem

i frequently listen to neutron player streaming from my server, via my audiotechnice ath700's, and it does great

even better if i could find out how to get 5ghz wifi - the specs say the xperia can do it, but no sign of it on the wifi analyser
[Xperia SP Original Android Development] Jadimo:
[MENTION=6854544]scruffy1[/MENTION]

i'm pretty sure that our Xperia with Lineage OS 15.1 connects to 5 GHz networks without problems (tested with my school and workplace networks).

You may need to check on which channel Your network is running. For some of them the antenna SWR may be just to high to get a stable connection, as the phone supported only 2.4 GHz networks out of the box if i remember correctly.
[Xperia SP Original Android Development] AdrianDC:
5GHz WiFi works just fine since Android 6.0 / 7.0, I almost only use 5GHz networks now (or even as hotspot).

However, you may have the issue due a wrong WiFi region.

The "Ok-Google" issue is an old issue that comes out regularly, apparently it bypasses the audio.
[Xperia SP Original Android Development] scruffy1:
can you suggest a channel to force so i can get reception ?

i know some of my devices are legally locked out of channel 13 (actually anything >11) on 2.4ghz

edit : well, the unifi automagically selected channel 46 on the 5ghz band in the meantime for reasons i don't know, and now i can get reception :D

doesn't seem particularly faster on browsing, but i expect video will be faster... only i don't use it for that :o
[Xperia SP Original Android Development] $Moses:
Magisk v18.0 failed to install on Nightly. Were anyone able to get it working?
[Xperia SP Original Android Development] Klaus N.:
There's a new release of BootBridge since yesterday...
[Xperia SP Original Android Development] s bandit:
l have problem with 400mb zram for gamming ,so lagy for gamming for example battelbay

plz change zram size to 128 mb or can disable zram manualy

or make file to change zram size with twrp
[Xperia SP Original Android Development] cdewsxSP:
keep testing if it helps

View attachment 15.1_zram_0_Mb.zip

View attachment 15.1_zram_128_Mb.zip
[Xperia SP Original Android Development] s bandit:
Thank you, but link have problem i cant download it

---------- Post added at 03:46 PM ---------- Previous post was at 03:04 PM ----------

thank you I download it along time I look for it:laugh::laugh:
[Xperia SP Original Android Development] rbertoche:
Hey great Adrian, thank you for another marvelous release! Still getting a bit faster, or am I crazy? can it improve every time?

I've been trying some root options and got supersu working without hiccups with the that xperia supersu version and through the boot bridge.

Magisk seems to install fine, manager reports last version is installed and goes ctsProfile: false, but otherwise seems to pass all tests, but no root through magisk. Anybody got better results?

Thanks again adrian!

Edit: I'm talking about lineageOS 16.0, of course
[Xperia SP Original Android Development] Haxk20:
For me magisk works and I have root as expected.
[Xperia SP Original Android Development] xosro:
This annoying behavior still exists after clean Installing the lineage-15.1-20181225-nightly-huashan-signed.zip .
[Xperia SP Original Android Development] s bandit:
lineage os 15.1 have problem with game with data.i test some game with data but cant play games and in loading page games hanged and cant play games, I think ram management have problem plz fix it :rolleyes:

I back to archxperia 5.1 and wait for fix this problem
[Xperia SP Original Android Development] AryanDv:
I m getting an error called error 7 during upgrading from 14.1 to 15.1 I first installed latest 14.1 than I installed 20181229 build of lineage 15.1
[Xperia SP Original Android Development] Klaus N.:
It's recommended to update twrp before flashing LineageOS 15.1.
[Xperia SP Original Android Development] AryanDv:
I have twrp version 3.2.3-0 version
[Xperia SP Original Android Development] AryanDv:
I wanted to know whether we can edit our phones navigation bar button color ? Actually that looks pretty awesome
[Xperia SP Original Android Development] meysam1712:
Battery life is very low.

Any idea?

---------- Post added at 03:56 AM ---------- Previous post was at 03:51 AM ----------

The microphone does not work when it comes to incoming calls. How can it be done?
[Xperia SP Original Android Development] s bandit:
I hope to fix ram managment and work on better performance for gaming

I don't know why developer don't work a rom for gaming optimized for game???:confused:
[Xperia SP Original Android Development] ghst7:
You got be joking to be that fool, this is a 2013 phone, dual core with a miserable 1gb of ram, right now thanks to devs like Adrian this phone has the best performance ever than you could possibly expect, it's even better than anything made by Sony itself since they dropped support barely a year after release.

So let me spare you some frustration, you wanna """game""" on a mobile phone then it's simple, buy a new phone, but don't buy a crappie one, buy a descent new phone with enough Ram and power to run whatever game you want. Otherwise don't expect miracles from an outdated hardware. Best of luck.
[Xperia SP Original Android Development] D3m0N81:
Finally flashed my SP(5302) MSM8960 (KK4.3)

platform-tools_r28.0.1-linux.zip

github.com/M0Rf30/android-udev-rules#installation

twrp-3.2.3-0-huashan.img

lineage-15.1-20190101-nightly-huashan-signed.zip

open_gapps-arm-8.1-nano-20181229.zip

addonsu-15.1-arm-signed.zip

Installed few apps from Google PlayStore along with personalDNSFilter on the side.

Feels really great !!! I'm exited for this phone after a long time ;)

1. how to disable vibration system-wide? (seems like I need Xposed FW + module, will hold for sometime)

2. how to disable "Lockscreen music visualizer"? (this one sorted out between multiple reboots ;))

postimg.cc/gallery/ucr48veq/8342800e/