yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] todonormal:
lineage-14.1-20170509-nightly-huashan-signed.zip Thanks [MENTION=2233641]AdrianDC[/MENTION]
[Xperia SP Original Android Development] fsw_informatrix:
As I stated in detail in post #176 the 20th of April, on my SP the LineageOS updater still can't update the ROM automatically and a manual install in TWRP is still necessary :(

And the Zip signature verification failed on both the 05/02 and 05/09 updates :(:( as seen in the attached TWRP log.
[Xperia SP Original Android Development] AdrianDC:
TWRP is not compiled or provided by LineageOS.

As you noticed, since LineageOS we sign the official releases.

Since TWRP does not have the LineageOS signing keys, it can't flash a signed build with signature check enabled,

that's normal and proves the signature works, hence in your use case you should not enable it.
[Xperia SP Original Android Development] fsw_informatrix:
Bonjour AdrianDC,

First, about the LineageOS updater : coming from AICP ROM after the Magisk disaster (when it stopped working even through your Sony Elf Boot Bridge, thank you also for that tool), I thought it would use the same kind of automated script and this was a bug.

But, I really opened my eyes this time and saw that on the first post, in the "LineageOS update / upgrade" section, you said "- Flash the latest LineageOS ROM zip from the Recovery" so, my bad :o, it seems so by design.

That's really weird, because on the unofficial LineageOS build for my Nexus7/Grouper, doing the same check, i've got a nice "Zip signature verified successfully" in the recovery.log that you can find here :confused:
[Xperia SP Original Android Development] AdrianDC:
Simply because unofficial builds do not have access to our private official signature files,

hence using the default test-keys used by most ROMs & Tools up until now.

Elements signed with test-keys can be flashed randomly everywhere,

not really relevant / useful unlike specific signature keys from OEMs or projects like LineageOS.
[Xperia SP Original Android Development] fsw_informatrix:
Of course it is signed with a test-key, thank for the clarification, I was beginning to suspect something like this after reconsidering your previous reply.

I really like using TWRP, but is there any recovery that can have access to the private official signature files and flash a signed build with signature checked?

Keep the good work.
[Xperia SP Original Android Development] larrystein:
Gapps mini browser seems broken!

twrp-3.1.0-0-huashan

lineage-14.1-20170509-nightly-huashan-signed

open_gapps-arm-7.1-mini-20170512

Every page I open in browser, after a couple of seconds, aw, snap!

Chrome from play store seems fine though!

I have no idea if it is Gapps or Lineage that is broken but something is.

Anyone else have this problem?

Larry

---------- Post added at 09:29 AM ---------- Previous post was at 09:19 AM ----------

I have a simple cure for you. Switch to Linux and never have that problem again :p.

But seriously, have you googled how to use fastboot on windows?
[Xperia SP Original Android Development] codegen013:
I still can't install from apk files, any suggestion or workaround about this?
[Xperia SP Original Android Development] MastahMatt:
But seriously, have you read the topic and my answer a few post later? So next time, keep your condescension for yourself :p
[Xperia SP Original Android Development] Majid.s:
I think you didnt falsh gapps.
[Xperia SP Original Android Development] codegen013:
I have install pico version of opengapps.
[Xperia SP Original Android Development] todonormal:
lineage-14.1-20170516-nightly-huashan-signed.zip Thanks [MENTION=2233641]AdrianDC[/MENTION]
[Xperia SP Original Android Development] laim_name:
Last year I thought that Marshmallow will be last Android version for our phone but you surprised us with Nougat.

AdrianDC, i know, it's rude to ask you, but will you look on development Android GO based on Android O for XSP?
[Xperia SP Original Android Development] AdrianDC:
I'm already working on and running Android O (master branch) on my Huashan so I guess the answer is yes... ;)
[Xperia SP Original Android Development] feromgar:
It seems that I need to post this same message every now and then: We don't deserve you, man. Thank you for keeping our device alive.
[Xperia SP Original Android Development] MastahMatt:
I really hope this time memory management will be better! Every year they said at Google I/O: "this new release will consume less memory than ever". Seriously? Did they check in the settings how many MB were consumed by Google Play Services, GUI, Maps and so on :D

Well anyway, let's give them a chance!
[Xperia SP Original Android Development] engr_exxi:
Will consume less memory (with respect to the average RAM size of newer devices) and now devices' memory are way higher 2GB or higher? haha
[Xperia SP Original Android Development] ervinakoc x:
Thank you for letting the device live to be always healthy

:D:good:
[Xperia SP Original Android Development] -kerberos-:
Hi Adrian,

totally unbelievable! :D Many thanks!! I use additional a Samsung S8 for work and this still have 7.0... My "old" Sony Xperia SP instead 7.1.2 and later on Android O...

Regards -kerberos
[Xperia SP Original Android Development] codegen013:
Is there anyone with the same problem I have? Can't install apks.
[Xperia SP Original Android Development] ratabit:
Is the last version?

I use lineage-14.1-20170502-nightly-huashan-signed.zip and i don't have this problem. Today i will install lineage-14.1-20170516
[Xperia SP Original Android Development] codegen013:
Always update the ROM every week. Since the beginning of Lineage OS until now, there's no way to install from apks.
[Xperia SP Original Android Development] ratabit:
I don't have problems for install apks with last version and olders.

Open the Settings menu. In the menu, “Security" check 'Unknown Sources'. Have you done this?
[Xperia SP Original Android Development] hannor:
New release (24 May 2017) is out HERE

Thanks, Adrian.
[Xperia SP Original Android Development] laim_name:
Is there any chances that anyone can build working hce driver for our phone? It needs for working android pay on our device.
[Xperia SP Original Android Development] codegen013:
It's always checked.
[Xperia SP Original Android Development] Gavao:
The wifi range is very weak and often disconnects
[Xperia SP Original Android Development] JetArmstrong:
I had this problem since they day I bought it. I don't think it's the ROM's fault, probably faulty device
[Xperia SP Original Android Development] Indie Zex:
Hi there,

I just wanted to say thanks to AdrianDC for all his hard work!
[Xperia SP Original Android Development] Gavao:
On other rom's it works normally
[Xperia SP Original Android Development] KojiroAK:
Issue with "higher" 5GHz channels

Version: 14.1 20170524-NIGHTLY-huashan

Wifi with 5GHz works well, but it doesn't "see" anything above Channel 64.

I allready tried to change the "country code" to Europe (Switzerland would be more appropriate but not available) but that didn't help.

Other Android devices (with Stock ROMs) "see" and connect to the highter channels.

No big issue but would be nice to be able to use the higher channels, specially in areas with high density of 5GHz networks.
[Xperia SP Original Android Development] mscinme:
About HCE

Hi Adrian! Three days ago I try to install this archive (sony xperia zr hce drivers), and I switch on "Tap & Pay" in Setting -> Wireless & Network. But if I turn on the nfc button, catlog shows an error. Tell me please - what's that?
[Xperia SP Original Android Development] MBCricket:
Is there any version for locked bootloader?
[Xperia SP Original Android Development] noxene:
Hello, first of all thanks Adrian, i have been using lineageOS without a problem, doing every OTA update, and now i am with the last 20170530 build.

I have encountered a issue: wifi disconnect when using bluetooth. If i turn on bluetooth and search for devices, sometimes wifi disconnect (and reconnects only after some minutes). Instead when using app like "bluetooth 4.0 scanner" and "Mi Fit" it happens every time, wifi disconnects when bluetooth is turned on to search devices, so the issue can replicated.

Thanks in advance for any help.
[Xperia SP Original Android Development] todonormal:
lineage-14.1-20170606-nightly-huashan-signed.zip. Thanks [MENTION=2233641]AdrianDC[/MENTION]
[Xperia SP Original Android Development] akimester:
Maybe its not ROM-specific issue ,but :

Mobile data enabled and after a long phonecall ,my phone cant reconnect to mobiledata ! A small X sign appears on the network coverage indicator,like im totally offline

- i use 2G only

- network coverage is excellent

in this situation i have to switch airplane mode on and off to solve the problem. Sometimes only a reboot helps.

Guys ,do you have any idea ?

Thanks in advance !
[Xperia SP Original Android Development] Docmine7:
My Opinion

I am using daily, and Rom is very good :) , but sometimes it has instabilities, the camera app and gallery force close sometimes, I also use Google Camera to take Photo sphere and also force close :crying: .

I translated this from Portuguese to English using Google Translate

Edit: the bugs with camera has been tested in lineage-14.1-20170606-nightly
[Xperia SP Original Android Development] De5iant:
antutu 5.7.5 crashes during start 3d test on all lineageos builds and all cm13 (on cm12 ok), it's a bug or normal?

p.s. sry for my bad english
[Xperia SP Original Android Development] ratabit:
Does work MTP usb?

I don't remember if it worked in an earlier version, in CM 14 it was fine. Was caused by repartition of phone?
[Xperia SP Original Android Development] emcom:
Something is wrong with MTP transfer via USB - not working for me, but was working 100% before - on previous build.

I did a 100% clean install and all the wipes.

Phone is not visible from the PC, while on previous build it was, of course.
[Xperia SP Original Android Development] 26didi89:
Hi Adrian,

First of all, be thanks Adrian for your huge work! I follow your work for a some time now and finally registered on XDA to write this post. For now, my xperia SP turns on a CM13 snapshot (I don't remenber which one) which give me satisfaction. Thanks to you, I don't want to throw my phone each time it freeze!

I think I will try LineageOS in the near future to see if there are some improvements.

I recently notice something on your work on gerrit. There are some code duplication on CVE-2015-0571. I don't have access for code review so I post here...

Again big thanks
[Xperia SP Original Android Development] AdrianDC:
Thanks !

CVE-2015-0571 is an old CVE built out of multiple changes to the prima WiFi kernel sources.

I initially merged the fixes in May 2016, and added a few additional ones lately.

Nice catch, there were indeed 1-2 code duplications that surprisingly went through the picks !
[Xperia SP Original Android Development] mojtaba_sa:
best ROM for SP .. thns
[Xperia SP Original Android Development] Docmine7:
i again

I'm using it daily, and I'm telling you THIS ROM IS Awesome, thanks AdrianDC, thanks for you spending your time working on this ROM. :)

--------------------- ====== -----------------------

I'm diarely using this rom without using ROOT, and it runs fine with games and other apps like Pokemon Go, Minecraft PE, Horizonchase, Whatsapp, Youtube, Chrome (with lag sometimes) Camera, Call and others ...

I see Problems:

Wifi Infinite getting IP address (3x today i need reboot to fix) this happened today when i was playing pokemon go with my brother using the wifi hotspot to me.

Rarely has instability in performance and use of egressive battery

I hope you continue to develop this rom. THANKS :)

The rom is 4/5 ready :cyclops:

Sorry for my terrible English. :(

(google translate)

Bonus: how to enter in TWRP recovery? i try pressig + vol or - vol and enter in other recovery
[Xperia SP Original Android Development] engr_exxi:
for me the best way is to go to Settings>Developer options(if you already enabled it)>Advanced Restart (enabled it) then press power button, select restart and have the option to reboot to recovery.
[Xperia SP Original Android Development] Xcpro:
Weird issue...my internet navigation with any browser is blocked, alla others app that use internet, like xda, wa and others work fine. Only browser, all browser that I've tried except for opera mini. I've tried to do a factory reset and reinstall all over again, without helping...
[Xperia SP Original Android Development] Docmine7:
I tried this, but it goes into another recovery, I installed LineageOS 14 with TWRP, and I can not get into the TWRP

(google translate) :eek:
[Xperia SP Original Android Development] Tomoms:
This happens because you initially flashed TWRP to the boot partition with fastboot. You simply need to install TWRP properly. Refer to this page: https://twrp.me/devices/sonyxperiasp.html

Should you need any further clarification, write in our TWRP thread, to avoid going off-topic here.
[Xperia SP Original Android Development] ratabit:
Solved restarting Privacy Guard. I should have disabling some app before to test restore :p

Thanks to all the people that work in this rom.
[Xperia SP Original Android Development] Lubakabra:
Hello

Just wanna ask if this rom supports MicroG. I know that something like "sign faking" must be supported, but nothing more. TIA
[Xperia SP Original Android Development] De5iant:
I love this rom, but Is it planned to support OpenCL?

[IMG="screenshot"]https://lh3.googleusercontent.com/heCpClMW-WnRWyuRcUfaNSYk8x6smoaFvh8fCU5Fi8R11eSdxnUZ2jlMfv00UP1raKY9aXkaVVBKDpw=w1412-h784-rw[/IMG]

here

https://drive.google.com/file/d/0ByAdFkP5yKRxd0g1TlNUeGFnbUk/view
[Xperia SP Original Android Development] MastahMatt:
Month after month I was using CyanogenMod and LineageOS, but this device was getting slower and slower after every weekly build! Today I've decided to switch back to AOSP, and finally my good ol' Xperia is back! Finally I have some memory to launch 2 Apps at the same time, crazy, right :) ?
[Xperia SP Original Android Development] AdrianDC:
OpenCL support has been deprecated through the old Adreno (GPU) Nexus releases.
[Xperia SP Original Android Development] De5iant:
It means that can't be expected in future builds of lineageos?
[Xperia SP Original Android Development] AdrianDC:
No, was removed from these old generations of Nexus devices, from which the graphic libraries come from.

Why do you need it ?
[Xperia SP Original Android Development] De5iant:
Actually, I don't really need it, I just wanted to benchmark phone in the OpenCL X Bench :)
[Xperia SP Original Android Development] dealbaba:
I actually wanted to install xposed framework which i guess in not supported by this os!! do we have lineage os 12/13 for sony xperia sp!! or should i go and download the previous cyanogemod nightlies 12/13!!?? most of download links were not working...
[Xperia SP Original Android Development] interminable01:
Previous ones

Lineage begins with android 7
[Xperia SP Original Android Development] IiroP:
You can find CM13 snapshot from https://archive.org/download/cmarchive_snapshots
[Xperia SP Original Android Development] interminable01:
Sound is weak and even microphone records voices in a low level for example in telegram app

Would u fix it thanks
[Xperia SP Original Android Development] abhishek2945:
yeah mic volume so low ..please fix this problem ..
[Xperia SP Original Android Development] interminable01:
It's really sad that speaker and microphone are weak especially in a noisy place
[Xperia SP Original Android Development] emcom:
I don't agree. Speaker works great, and - as I've been recording videos - microphones work great, too !
[Xperia SP Original Android Development] interminable01:
Thanks

Which version do u have right now?
[Xperia SP Original Android Development] emcom:
Latest build, but it was equally good before.
[Xperia SP Original Android Development] X7SHaDe:
[MENTION=2233641]AdrianDC[/MENTION], I just noticed that the cgroups are not populated. There is no cgroup/cpuset for background tasks, foreground tasks etc. (therefore Android task scheduling might not work properly)

Those are on /dev/cpuctl and /dev/cpuset (I don't know if Android uses /sys/fs/cgroup but it also contains nothing)

I don't know if it is a bug but, maybe this needs to be reported just in case ^_^
[Xperia SP Original Android Development] AdrianDC:
Not a bug, CPUSET is not implemented by the kernel.
[Xperia SP Original Android Development] AdrianDC:
Quite an important change... That you might want to have a look at.. Maybe...

https://xdaforums.com/xperia-sp/ori...-xperia-sp-t3449300/post73049970#post73049970
[Xperia SP Original Android Development] X7SHaDe:
Are there any plans of implementing it?
[Xperia SP Original Android Development] AdrianDC:
No.

CPUSETS is known to have a negative impact on performance, especially in concern with the CPU hotplugging.

Let's not introduce a potential random issue source on something that works just fine and is stable on 3.4.113 ;) .
[Xperia SP Original Android Development] dimenfer:
WOW, nice job on that, sadly I don't have an SP more [emoji22]
[Xperia SP Original Android Development] X7SHaDe:
Are you sure that you did not just forget to set "/dev/cpuset/*/cpus" to 0-1?
[Xperia SP Original Android Development] Daedroza:
This is pretty much useless. You can set it manually on-early boot as soon as the virtual fs /dev is populated if it makes any difference for you. The original implementation was for post-2015, pre-2016 devices which were shipping the long term 3.10 kernel along with cpuset implemented in it of-course.

However, it is reverted (at least in Sony Open Source Projects), it's useless, causes mess with SUSPEND.

Not to mention, it is pointless to port this on 1G RAM, dual-core processor since the amount of computation required for calculation of proper placing of tasks on processor is not that great, because there are just 2 cores present.

Kernel can easily schedule tasking on the two cores, it way better than implementing / backporting the full cpuset.

Not to mention, cpuset divides the main memory in distinct memory banks for processes. Doing this on 1GB RAM device with Android Apps running is not a practical idea because of constant memory fragmentation.

The only thing that Qualcomm has forwarded with cgroups is the implementation of cpu.notify_on_migrate that requires proper cgroups, which is already present on many of the Sony devices.
[Xperia SP Original Android Development] AdrianDC:
New release July 19 includes my lights effects implementation presented here : https://xdaforums.com/xperia-sp/ori...-xperia-sp-t3449300/post73049970#post73049970
[Xperia SP Original Android Development] 26didi89:
I am impressed to see new functionnalities being included in your ROMs so many years after Xperia SP release.

Good job Adrian!
[Xperia SP Original Android Development] NyQuilXT:
Thank you so much for all your efforts you put into the development for this device!!!

I've tried the Lights effects feature and noticed that also the audio output stops, when the screen turns off while playing music with lights effects turned on and "only pulse with display on" activated. Anyone else too? (tested with 3rd party music players like AIMP etc)
[Xperia SP Original Android Development] ervinakoc x:
Thanks again for the job! Can you do something like that when you change the photos? The pre-cursed white light when it sounds like a sound when it hits your cell and calls you can be changed; Thanks:good::D
[Xperia SP Original Android Development] AdrianDC:
My LightsEffectsService only listens to the media service events, it does not trigger play / pause commands.

It would be good that you first test / confirm you have an issue by completely disabling the lights_effects with the main switch,

then see with the awake option on and off if anything changes.

As a guess, right now all I can think off would be that the app itself has an issue interacting with display on / off situations.

I would also like to invite you to test with other music apps, especially with the default LineageOS' music player Eleven.

I tested with Eleven, Sony Music and a few other apps.

Thanks.

No I did not and do not intend to do that, because unlike music where I implemented it through a complicated registering into the media services

to know when a random music player starts / pauses / stops / get cover artwork, images are statically handled inside the application,

hence rely only on the app and no interaction is done with services to tell an image is being shown or its contents (that would be bad).

Therefore it would need me to modify and implement that on the Gallery app directly, which is not good when it concerns only 1 device from all LineageOS maintained devices,

and would also mean I would get random request of adding that or that application to support the feature,

which is exactly why I avoided for music players with the way I coded it with the media service.
[Xperia SP Original Android Development] NyQuilXT:
I don't mean any play/pause events - the audio output itself is interrupted..the player itself keeps playing...turning back on the screen...the audio output continues...

Same thing when disabling/enabling the lights effects feature in the settings menu while playing music with some 3rd party players...(tested with AIMP, Yo!tuner, Soundcloud)

Only Eleven is working fine there...and...well DI.FM radio app :eek:
[Xperia SP Original Android Development] ervinakoc x:
One more thing! Vpn programs why do not they ever work? Just in stock! It's easy to make it work; Again, thank you for your time:D
[Xperia SP Original Android Development] AdrianDC:
Alright that's interesting thanks.

I think I know what's happening : Out of the 5 audio routes needed for Lights Effects, there's only one that is also used for something else,

for the low-latency mixer used by some audio situations like the ones you used, unlike the deep-buffer mixer that is not related to these.

I'll look into it and figure a way around that when possible.

I never use VPN and therefore can't really test it for now, last time I did nothing relevant popped out.

As far as I know, apps like FlashVPN work just fine, hence VPN is fine from my point of view.

If some really use and need VPN, I'd invite them to look into it and try to figure out a fix / potential reason,

because I cannot do everything, especially for things that I am not concerned with hence can't work on myself.

Also be aware that (with lights_effects being 'almost' over) my main focus comes back to AOSP 8.0 Master (as pointed out by some already).
[Xperia SP Original Android Development] Majid.s:
Notification light

Thanks For this perfect Rom

Notification light> Use custom values , not works for me.

I set missed call to shows red color but That's show default color.

Thanks Again.
[Xperia SP Original Android Development] ervinakoc x:
I look forward to it and how it comes out:D:D:D;););)
[Xperia SP Original Android Development] AdrianDC:
You will find a zip for lights_effects in the Development downloads,

which includes the fix that should 99% sure resolve the issue your experienced.

If I'm right, it's because one of the audio routes I used to set for lights_effects,

(in fact the only one that collides with the normal audio routes from the mixer_paths),

was in fact not _required_ for the audio to reach the AS3665 LEDs controller.

Therefore it is useless to enable / disable it and by the same time override it when it's already in use.
[Xperia SP Original Android Development] abhishek2945:
after flashing ZIP file . i didn't get any settings for light effect ..??
[Xperia SP Original Android Development] NyQuilXT:
What a nice wakeup present :o Awesome, the fix did it! Thank you very much for fixing the issue so quick!
[Xperia SP Original Android Development] WaLmeN:
I have a problem with the 19 june build of lineageos. When someone calls me, the ringing is working just for a second, then silent and when I answer I dont hear caller and he dont hear me for 5-6 seconds. Sorry for my bad english ;) 12 june build works fine
[Xperia SP Original Android Development] AdrianDC:
Please test the lights_effects update I mentioned previously, might be related.