yashsingh1/xdaforums huggingface dataset:
[Xperia SP Original Android Development] s bandit:
you cant understand my question,sorry my English not good

I ask you for change cpu value

me go to root/system/frimwork/frimwork-res.apk/res/xml/power-profile and cpu value,this true??

and for use your ram setting ,me go to unpack boot/fstab.qcom then write

write /sys/module/zswap/parameters/enabled 1

write /sys/module/zswap/parameters/max_pool_percent 100

write /sys/module/zswap/parameters/zpool z3fold

write /sys/module/zswap/parameters/compressor lz4

write /sys/module/zcache/parameters/clear_percent 19200

write /sys/module/zcache/parameters/max_pool_percent 30

write /proc/sys/vm/swap_ratio_enable 1

write /proc/sys/vm/swap_ratio 70

write /proc/sys/kernel/sched_upmigrate_min_nice 7

write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus 2

write /sys/devices/system/cpu/cpufreq/interactive/ignore_hispeed_on_notif 1

,this true??
[Xperia SP Original Android Development] cdewsxSP:
that's right

bootloader/init.board.perf.rc

string on boot write below
[Xperia SP Original Android Development] s bandit:
sorry for many question

what software use for unpack repack system.new.dat ?

I use ur tool prime .unpack is done but repack not work
[Xperia SP Original Android Development] cdewsxSP:
I do not pack, it's a long time, copy system folder and boot.img into archive ...

View attachment lineageZ.zip
[Xperia SP Original Android Development] s bandit:
I

I try but show error in twrp

updater process ended with error :7

error installing zipm file:rolleyes::rolleyes:
[Xperia SP Original Android Development] cdewsxSP:
change version twrp
[Xperia SP Original Android Development] s bandit:
my twrp version is 3.2.3

you use what version twrp?

and I use your ram setting,very good and so fast and advise to member use that
[Xperia SP Original Android Development] cdewsxSP:
twrp-3.0.2-1-huashan for 6-7 android
[Xperia SP Original Android Development] s bandit:
does any way to remove zram in kernel?

no change size.remove zram

:rolleyes:
[Xperia SP Original Android Development] cdewsxSP:
I found a solution that eliminates brakes.

Problem in GoogleSearch, without him system works much better and faster.

When installing gapps, select full packs(open_gapps-arm-full)

open archive, folder GApps

delete everything, except:

batteryusage-all.tar.lz
calsync-all.tar.lz
chrome-arm.tar.lz
dialerframework-common.tar.lz
facedetect-lib-arm.tar.lz
faceunlock-all.tar.lz
faceunlock-lib-arm.tar.lz
googletts-arm.tar.lz
taggoogle-all.tar.lz

Install this package with firmware and enjoy.
[Xperia SP Original Android Development] s bandit:
I test it I use pico gapps 7.1 ,I delet GApps files and install rom with this gapps

now google play store have problem.first time google play store work when close it and open it

again (google play sotre has stoped)

but system very fast ,so fast

I think finlly you find xperia sp lag problem ,hope you can fix it

performance is awesome
[Xperia SP Original Android Development] cdewsxSP:
use only full pak, works well without problems.
[Xperia SP Original Android Development] CGmimi:
My phone don't start with rom lineage-15.1-20190320-nightly-huashan-signed, Do you have the same problem ?
[Xperia SP Original Android Development] Bertjefred:
Hi guys,

First of all super thanks to AdrianDC for the rom it is awesome. This weekend I merged one old SP and one new but no lockable bootloader SP to one New SP with unlockable bootloader and I am running and loving this rom. I only have one small thing. And that is that notifications do not seem to come through while I am connected to Wifi. Do any of you know where I might need to look for an answer for this?

Thanks!
[Xperia SP Original Android Development] fsw_informatrix:
I installed it yesterday and have no problems booting / using It as usual. I would do a clean flash, if I were you...
[Xperia SP Original Android Development] s bandit:
when developers work on lineage os 16 or aosp 9????

I hope me Adrian work on aosp caf 9 too
[Xperia SP Original Android Development] MrCooper95:
We're still receiving up to date new builds on LOS 15.1 and I'm pretty happy about it.

Having Android Pie is what we would like but it isn't what we need, especially for an old phone like this.

I just use Android Pify Xposed Module.
[Xperia SP Original Android Development] polo_joe:
Does camera work with latest lineage os 16 build from april 22nd?
[Xperia SP Original Android Development] gandooo:
yes it's work
[Xperia SP Original Android Development] polo_joe:
[MENTION=2233641]AdrianDC[/MENTION] is it possible to use VoLTE on huashan?
[Xperia SP Original Android Development] Haxk20:
Interestingly the device supports VoLTE but I don't know if its enabled for this device.
[Xperia SP Original Android Development] eng_alshami:
Hello every one,

first : thanks to developer for huge amazing work.

I installed latest build+su without gapps , I faced a little problem: the caller got black for every call(in/out).

I've searched a lot for the solution in this thread (also other threads) but I didn't find any solution, also i tried (proximity sensor reset apk) BUT it not works

previously i had (NOTE II) with the same problem, but it fixed using (proximity sensor reset apk)

ANY SOLUTION PLEASE !!!!
[Xperia SP Original Android Development] eng_alshami:
Well

for those who experiencing same issue, I just found a simple solution.

find "com.hatcyl.android.Hardware_Disabler" apk

run it -> choose : apds9702, this will resolve the problem and stop proximity sensor.

Hoope this help some one
[Xperia SP Original Android Development] mrefayee:
I have installed the ROM without gapps... The ROM is very good and stable... But i have one problem with this ROM, it is Network drop.... When i call to someone the Network goes off and LTE is not showing, LTE comes only after rebooting... plz help me to solve this issue... Bcoz of this i can't able to use or access the internet continuosly...
[Xperia SP Original Android Development] globe79:
Do you mean lineage-16.0-20190422-UNOFFICIAL-huashan.zip? Try to fiddle with APN settings - check if it corresponds to your needs. Be sure to use IPv4, if your network is v4 only or IPv6, when on IPv6. Avoid IPv4/IPv6 settings - this sometimes breaks things.
[Xperia SP Original Android Development] mrefayee:
Thanks for ur reply.. I'm Using Lineage OS 15.1 not 16...
[Xperia SP Original Android Development] Ungewiss:
Does anyone know why there are no official builds anymore?
[Xperia SP Original Android Development] NyQuilXT:
Last build (yesterday) failed:

https://gitlab.com/LineageOS/builder/android/pipelines/65799620
[Xperia SP Original Android Development] goldenpis:
Thanks for this.

Posted using my old fashiined xperia sp with lineage os 15.1 :good:
[Xperia SP Original Android Development] polo_joe:
[MENTION=2233641]AdrianDC[/MENTION]

Do we get updated los 16 build?

Gesendet von meinem Xperia SP mit Tapatalk
[Xperia SP Original Android Development] TGHH:
Actually the smoothest ROM for this device so far! Even though it's an quite outdated phone this build runs quite smooth - great job guys!
[Xperia SP Original Android Development] Ungewiss:
I second that. But don't try to seriously use Firefox.. ;) Use chrome-based alternatives instead (like the built-in webview).

[MENTION=2233641]AdrianDC[/MENTION] deserves some environmental award :)
[Xperia SP Original Android Development] Barkuti:
Hello! :o

Mmmkay, let's see if I can find some helping soul around here.

Quite recently a friend of mine asked me to upgrade his Xperia SP into something useable nowadays.

I already have some experience installing custom Android ROMs (Moto G, Huawei Y5 II, Lenovo Zuk Z2 & Z2 Pro) but this Xperia SP leaves me with some doubts. I mean, the bootloader thing is like :confused: non-existent, very different.

Summarizing the work I've already done:

Unlocked bootloader. :good:

Downloaded TWRP from the HUASHAN development downloads page and installed the img file to boot (fastboot flash boot twrp-3.2.3-20180810-boot-huashan.img), booted into recovery and installed the zip file (twrp-3.2.3-20180810-fota-huashan.zip) to set TWRP recovery into the FOTA partition.

Right now the device only boots into TWRP or goes into fastboot, which is as it should as I've been told.

Now I have a question. Let me copy & paste LineageOS clean install steps from the first page:

- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool If I do this in the first place, the device won't boot at all because it still has the stock ROM. Shouldn't I leave this step as the final one, after the ROM install? :confused:

- (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread) Already done.

- (Optional) Wipe the data & cache (Backup to make sure not to lose data)

- Flash the LineageOS ROM zip from recovery

- (Optional) Flash a GApps package to have the Google Applications

- (Optional) Every additional zip you want to flash

- Reboot

Thanks in advance for your support. :victory:

:)
[Xperia SP Original Android Development] ghst7:
You can skip that step, as it is said in the op the step is Optional so if you don't know what is it's purpose you absolutely don't need it.

You already have twrp, the only thing you need now is to:

* boot to TWRP, wipe everything but the recovery partition and the external sd card if you have one.

* Flash the Lineage ROM.

* Flash gapps if you want.

* Flash Magisk if you want, I think that 17.1 was the last version still compatible with the Huashan but I could be wrong, don't forget you need to use Bootbrigde for that.

* Reboot to system and you are all set, ready to use the phone.

Good luck.
[Xperia SP Original Android Development] TGHH:
Also I had issues with skipping to setup the Google account while setting up the phone. Google services were constantly terminated.

So make sure you login with your Google account in the setup procedure.

After all this is the most fluent ROM for this phone so far considering that this hardware is quite outdated.
[Xperia SP Original Android Development] Barkuti:
Wellp, TWRP is the only place it boots right now (without custom ROM installed yet). As far as I understand this, these custom ROM packs already cope with Xperia SP bootloader thing then. :confused:

Concerning Magisk, is there any point over the addonsu for ARM? :eek:

No problem but thanks for pinpointing. :)

Thanks and best regards everyone. :cool:
[Xperia SP Original Android Development] TGHH:
BTW, I think Magisk 16.0 is the last working for the ROM as it needs to be 32bit!
[Xperia SP Original Android Development] Barkuti:
Mmmkay, the ROM is running after some sideloads as per the LineageOS Wiki tutorial. :victory:

My friend came in a hurry to grab the device, I barely had time to tinker with it. Looks good but I didn't find any SuperSU application in the app drawer, and for sure I sideloaded the addonsu-16.0-arm-signed.zip file. So what gives? :confused:

Of course no need to hurry right now, will probably see my colleague again maybe this Sunday at the earliest. But of course, I needed to ask.

Thanks in advance. :highfive:
[Xperia SP Original Android Development] TGHH:
With Magisk and the Magisk Manager you don't need SuperSU
[Xperia SP Original Android Development] Barkuti:
Wellp, thanks for your insistence TGHH. Will now head to the Magisk General Support / Discussion and specifically ask for compatible versions there.

:cowboy:
[Xperia SP Original Android Development] polo_joe:
Thanks for latest los 16 build!

Gesendet von meinem Xperia SP mit Tapatalk
[Xperia SP Original Android Development] polo_joe:
[MENTION=2233641]AdrianDC[/MENTION]

with your latest los 16 build I can't format my sd card as portable storage. After format process I get the info that is damaged, but the card works without issues on pc. If I format the card for interal storage it works.

I tried 2 different sd cards (2 GB and 32 GB) with same behavior.

EDIT: Had to go back to build 20190422 as I wasn't able to do calls.
[Xperia SP Original Android Development] AdrianDC:
The 16.0 audio issues should be solved with the -patch-1.zip flashable addition,

therefore the calls issue will be solved too.

I'll look at the MicroSD issue when I have time.

Once this is over, both LineageOS 16.0 and AOSP 9 can start having their dedicated threads with links.
[Xperia SP Original Android Development] Shoyaibpatel786:
Hi,

I have flashed the 09/08/2019 lineage 16.0 ROM file by AdrianDC using twrp; however once my Xperia SP is booted, there was no sound. I flashed the patch-1 file which was uploaded a day later, but my Google apps are not working at all. What's the problem here? Can anyone help?
[Xperia SP Original Android Development] AdrianDC:
The new -patch-2.zip resolves the reported MicroSD internal and external support issue (f2fs and vFAT by default).

exFAT might still have an issue, I'll look at it.
[Xperia SP Original Android Development] polo_joe:
thanks, microsd and phone calls are working again!

No further issues - so far.
[Xperia SP Original Android Development] AdrianDC:
[ROM][STABLE][9] LineageOS 16.0 for Xperia SP : https://xdaforums.com/xperia-sp/orig-development/rom-lineageos-16-0-xperia-sp-t3958433

[ROM][STABLE][9] AOSP Pie for Xperia SP : https://xdaforums.com/xperia-sp/orig-development/rom-aosp-pie-xperia-sp-t3958464
[Xperia SP Original Android Development] NyQuilXT:
Hi there,

I saw a huge bunch of new commits in the official msm8960t kernel repo on Aug 25, 2019, so I built an image including those changes and tested it.

I hate to say that, but with this changes, the device gets laggy as hell...nearly unusable after a while! :(

So I had to go back to a build without those changes and the device is smooth an responsive again...

Maybe, anyone can test this with the next official image too, which should the the LOS download store soon...

NyQuilXT
[Xperia SP Original Android Development] busionario:
For me this device has been always "laggy as hell", no matter what ROM I use, stock or custom, always has been laggy. I'm flashing new versions of ROMs only waiting for a solution for this phone, this day I would celebrate! :laugh:

So, for me, there is no diffference in the August or newer versions to the previous ones.
[Xperia SP Original Android Development] Ungewiss:
Same here. One can only have one app (activity) running at any time, otherwise the system becomes unusable very quickly.
[Xperia SP Original Android Development] jinkaal:
After rooting with magisk with bootbridge. I get "CTS Profile False". is there any way to fix it?

Using latest LOS 15.1.

BTW-Which ROM is more smooth and stable LOS 15.1 from LineageOS.com or LOS 16 from AdrianDC from XDA?I know both are maintained my AdrianDC.
[Xperia SP Original Android Development] jurko217:
15.1 or nougat

15.1 is more updated (paradox - comparing to 16), so i think more stability, but 15.8. build is most stable version i had on this phone, no lags, good performance so far.

But custom kernel like helium is more optimized for 16.

Both systems lags with gapps or mindthegapps (no matter), but use mindthegapps instead or best for me is yalp store (yes, some bugs, but very minimal).

I am experienced with, both versions have one little bigga problem: Sometimes, at random restart counts, or random time, (very rare) will start "cpu drain". This means, if you have phone more heat and no app you using, clean recents, use more battery, sometimes unstable, please install kernel auditor and you can see here, cpu clock stay at 50 percent and you can do anything, it doesnt go less, even in sleep mode. More times happened to me, i charged battery at 22-23:00 to 100 percent (LOS 15.1 or 16) and at morning i had 0-35 percent and minute of using screen. Sometimes helped restart, but sometimes helped changing rom. I think its because i changed data and cache to f2fs, is rare issue by this FS, but is.

More problem i had, but i am experienced with more roms, if you havent installed gapps but yalp store, sony weather or here maps have problem with location.

Or lags after day of using... I think, nougat roms have better stability than these roms or LP with custom kernel.

"You never know what breaks today"

Quote by Jurko

​
[Xperia SP Original Android Development] jurko217:
Thank you, AdrianDC

20.10. (recent update now)

Works flawlessly, without graphic lag after day as older builds, working now for 2 days without bigger lag ! :good:

Android Oreo fast and smooth as coffee with oreo on EXT4.

And in idle, zero percent battery drained for night.

Even with 1x animation speed.

No gapps (yalp store), flashed only magisk. I will try it with gapps tommorrow.

Best update and new breath for my favorite primary phone for 6 years - Xperia SP.

Thank you, AdrianDC for recent updates. :good:
[Xperia SP Original Android Development] rbertoche:
Last version from 20191020 is indeed very fast!

Lots of sluggishness that were there for a few months vanished completely: It has a much lower CPU usage and also lower battery consumption, either idle and active.

Just after boot animations are lightning fast, that is, before apps start working in the background nonstop.

But I'm still experimenting some crashes after some hours of use or a lot of memory intensive activity. Then again I can't be sure it's not a problem with my hardware

Thanks again great AdrianDC!
[Xperia SP Original Android Development] garcimak:
With basketbuild being down, mega folder surprisingly empty, no more way to get this 20191020 version for now, could somebody please upload it ?

or is it best to upgrade to 16 from now on ?

i'm still on 20180814-UNOFFICIAL my goal IS to keep the minimalistic environnement possible on this phone.
[Xperia SP Original Android Development] ze7zez:
On MEGA and BB there were only unofficial versions.

The life cycle of official NIGHTLY ROM builds is 6 weeks.

Older versions are replaced by newer ones, because newer ones are usually better. Take the latest version of NIGHTLY.
[Xperia SP Original Android Development] garcimak:
thanks ze7zz, i'll take it as the end of the 'unofficial branch' from Adrian DC, sticking with this ROM since a long time, it's been a road.

i'm still a taker for the latest 2019xxxx-UNOFFICIAL for archiving and 'no-wipe' upgrading purpose.

and yeah, maybe a secondary unit of this phone as a benchmark to test other ROMs and NIGHTLY before migrating.
[Xperia SP Original Android Development] Dynamotron:
Been using this ROM for a long while now. Excellent work. It's rather stable, especially for a device as old as this one.

I found an issue with the GPS. Using the latest 20200217 build from the LineageOS website and the Time Server App from the Play Store (can't post links, but it's the one offered by PublicNTP), the time retrieved from the GPS satellites is exactly 619315200 seconds behind, which seems to be caused by the GPS Week Number Rollover.

Not sure how would this be fixed, but there's an open issue about it over at the LineageOS GitLab page (issue #1446: "GPS reports wrong time when affected by GPS week rollover").

Surely not a big deal for most people, but I'd appreciate if you could look into it. Thanks!
[Xperia SP Original Android Development] marce74:
xperia sp lineage os

Currently the problems I found are that the rom is too stuck, it slows down with screen freezes and apparently this development was abandoned until version 23022020. This is the last one I installed and it gives me many problems
[Xperia SP Original Android Development] Evilmonk100:
from where to download rom. mega is also empty. and linage os official remove xperia sp..
[Xperia SP Original Android Development] eric.ger.01:
I have a build from February. Does someone have a more recent version or the last build?
[Xperia SP Original Android Development] ze7zez:
Mirror

Unofficial mirror with official files
[Xperia SP Original Android Development] AdrianDC:
Hi everyone !

During this year heavily busy with work, I only made progress on Android 10 rarely, every 2 or 3 months, in a limited way.

Got back on it this week, cleaned up things done over the year and finally resolved the Sony SEMC Camera stack on Android 10,

as I don't want to put builds in public if major features do not work in a decent way.

I almost merged everything upstream, only things like SEPolicies, CVEs and minor things are left.

LineageOS 17.1 is now available in public : https://xdaforums.com/xperia-sp/orig-development/rom-lineageos-17-1-xperia-sp-t4147075

For the record, I saved the latest LineageOS 15.1 nightly on my development downloads.
[Xperia SP Original Android Development] ze7zez:
Good news also for Oreo users.

I am pleased to announce that huashan received a new unofficial lineage with security_patch=2020-08-05.

https://download.lineage.microg.org/huashan/

.
[Xperia SP Original Android Development] DahakePL:
Pico is actually working but it needs a few minutes to settle down and throw a bit of FCs and after this it's fully stable
[Xperia SP Original Android Development] scruffy1:
+1 but it took a dump several times until i left it unmolested for ages, and after that has been rock solid :good:
[Xperia SP Original Android Development] Haxk20:
I can confirm that Pico is actually working but as guys above stated it needs few minutes to be stable.

For me it was about 12 minutes until I didn't get a FC of google services.

Edit: Don't want to make another post. [MENTION=2233641]AdrianDC[/MENTION] I really like what I see on your github. Amazing work.
[Xperia SP Original Android Development] meysam1712:
Some times have problems with the Internet connection (mobile data ?) and not connect to the Internet,and icons for the connection (h+ or lte) not show,

Any idea ??
[Xperia SP Original Android Development] Alvichone:
I have too but with wifi connection (I don't have a sim card in the xperia sp). First time wifi is connect, all is ok. But when device go to deep sleep or if I turn off wifi, when I turn on again it never works. The only solution is reboot the device, but with the same scenario.

Enviado desde mi FRD-L09 mediante Tapatalk
[Xperia SP Original Android Development] Tossox:
I can confirm, me too.
[Xperia SP Original Android Development] Lubakabra:
Try to manually set APNs. Settings=>Network & Internet=>Mobile Network=>Advanced=> Access Point Names and choose the internet one.
[Xperia SP Original Android Development] mj25m:
Excuse me, when I try to flash this ROM(LOS 15.1_huashan) I get an error messafe. The same is with AOSP 8.1

But currently I'm on CosmicOS 8.1 and its gud

But I really wanna try Lineage Oreo

Thnx
[Xperia SP Original Android Development] laim_name:
what twrp version do you have?
[Xperia SP Original Android Development] mj25m:
Oh okk

I think its still in 3.1

I'll update it

Thnx man :good:
[Xperia SP Original Android Development] Akashraj11:
HELP

My sim card is not detecting in lineage os 15

I have insatlled mindTheGapps along with the rom.

Please help to fix issue
[Xperia SP Original Android Development] twilight0:
[MENTION=1978015]adrian_d[/MENTION]C thank you for your hard work. I suppose as soon as camcorder work is finalized it will be available as stable and official LOS 15.1. Will it be upgradable through the updater as usual?
[Xperia SP Original Android Development] Chufi:
Hi AdrianDC,

First of all thank you (and well done!) for this ROM. :)

It's perfect, it's fluid, everything works fine. ;)

I just have a lot of problems about the root. I flashed the addon (I tried version 13 and 14), but then superSU downloaded on the google play store can not update the binaries (it is indicated in the application "SU Binaries occupied").

I searched on the internet how to solve the problem, it is recommended to install version 2.65 of SuperSU, but this version can't update the binaries either. I also tried to flash SuperSU's ZIP, but it didn't work.

The root testing apps tell me that I don't have super user rights.

Am I the only one having this problem?
[Xperia SP Original Android Development] OsGhaly:
I managed to install SuperSU by enabling root from developer options (I don't know if this was necessary but that what I actually did first) then rebooted to recovery and installed SuperSU zip file v.2.82 and finally installed the SuperSU app from Playstore
[Xperia SP Original Android Development] DahakePL:
Why not just use magisk?