[ROM][SNAPSHOT][7.1] LineageOS 14.1 for Xperia SP

Search This thread


Senior Member
Feb 14, 2014
I've been having this weird issue with the phone disconnecting itself from my WiFi network and getting stuck on "obtaining ip" . This only happen on my phone (my laptop and my mother's Moto G also on LOS 14.1 are unaffected) and it occurs randomly.


Recognized Developer
Dec 22, 2009
AdrianDC, glove mode is not working properly when on - it does not work, when when off - is work. Need fix (lineage-14.1-20180614-nightly-huashan-signed).

The same for me, and I already reported this few months ago - but AdrianDC said this is normal.
I don't think that it's normal, but anyway... does not disturb that much.

I just validated (again) that the High Touch Sensitivity is working properly.
The hardware interface is configured with the proper values (both on and off).

If it had been wrong, it would have been months the issue would have annoyed all users, me first.


Oct 31, 2017
Sorry, but majority, do not care about little things.
For example, CyanogenMod does not have such problems.


New member
Jul 7, 2018
Wifi disconnection issue!

Hi everyone, i want to know if you guys aware about the wifi disconnection issue? since i've installed this rom i'm having this trouble... the wifi disconnects itself and after a couple of seconds it reconnects but not every time... it's a pain... and seems like the developer have no clue about it... because i've installed every rom update and it still doing the same thing... hope you guys can help me, thanks!
  • Like
Reactions: WaLmeN


Oct 31, 2017

first one activation - black screen
rebooted - volume up + power
second activation - welcome screen - error system ui - error google play - no touch key ui
rebooted - volume up + power
third activation - ok, but smartphone is heated very much in idle time
one day use - does not coolling - hovering bugs do not pass

my use


New member
Feb 28, 2014
Finally flashed my SP(5302) MSM8960

Huashan promoted to LineageOS 15.1.
Final 14.1 release stored over my downloads as final snapshot.


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

Feels really great ;)

Cheers Adrian
  • Like
Reactions: AdrianDC

s bandit

May 8, 2016
hi. I look for zram size changer file ,plz send me file to change zram to 128mb or disable it on lineage 14.1 with twrp


Senior Member
Jun 11, 2011
Hello Community, hello Adrian.
are you still working at SEMC 2011 device's ROMs, e.g. at lineage 15.x versions? Or anybody else supporting these beautiful devices, like done at 'LegacyXperia'?
(unfortunately I still couldn't find anybody here)
Or do you support your late and single Nougat versions, please?
Any little support at least for fixing last bugs I would appreciate very much!...

My device is a SE Ray (the smallest mobile with high display and camera resolution ever been on the market).
Your last and only ROM lineage-14.1-20170514-UNOFFICIAL-LegacyXperia-urushi.zip Nougat version (even including TWRP) is running very fine, fast and quite stable. Really amazing!!

There are JUST 2 little exceptions both refering video (and audio) recordings:
1) When I record videos with this device the sound is recorded almost only during the first 15 to 40 seconds and then just stops while the video recording itself goes on. Very strange!
I tried several audio settings and video resolutions but there is no change.
Any idea why this always happens?...
Could you be able to reproduce this phenomena in order to fix it?

2) The microphone sensitivity for those recordings is generally much too low. (not so for cellular or internet calls!)
Maybe I even could be able to modify this setting by myself!?... (which Android system file sets the mic gain?)

Do you need any log from me for the points?
(however, I doubt that this is logged. There is no error message at all. It just happens...)

Please let me know what you think.
Thank you so much!!
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 90

    #include <std_disclaimer.h>
     * Your warranty is now void.
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.

    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),
    which is designed to increase performance and reliability over stock Android for your device.

    All the source code for LineageOS is available in the LineageOS GitHub repo.
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Official LineageOS website : http://lineageos.org

    Downloads Links
    LineageOS 14.x (Unlocked Bootloader) :
    Xperia SP (Huashan) - 14.1 : https://mega.nz/#F!zp8mxS4B!X-_vO7IzoFpW12IdSn0S_A

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.x : http://forum.xda-developers.com/xperia-sp/orig-development/-t3309938

    Informations and references :
    Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8960t
    About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
    About LineageOS device side : See my GitHub trees linked below

    Flashing and updating
    LineageOS clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
    - (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)
    - (Optional) Wipe the data & cache (Backup to make sure not to lose data)
    - Flash the LineageOS ROM zip from the Recovery
    - (Optional) Flash the GApps to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    LineageOS update / upgrade :
    - (Information) Don't wipe anything unless you want to
    - (CM / UNOFFICIAL) Nothing to wipe when switching
    - (FUTURE RELEASES) Might need clean, informations will be updated
    - Flash the latest LineageOS ROM zip from the Recovery
    - (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
    - (Optional) Every additional zip you want to flash
    - Reboot

    LineageOS official upgrade from older builds :
    - (Information) Read the following post : Update & Build Prep
    - (Optional) Backup your applications and / or ROM
    - (CM / UNOFFICIAL) Flash the EXPERIMENTAL migration build and reboot to Android
    - Flash the latest LineageOS ROM and reboot to Android

    LineageOS addonsu for root access :
    - (Information) Read the Root section of the Q&A thread
    - (Download) Download the addonsu for arm : LineageOS Downloads / Extras
    - (Optional) Flash the zip on a working Lineage installation (once)
    - (Information) Upon ROM updates, the addonsu is preserved
    - Reboot

    About the builds

    Issues and reports
    - Report issues only if you are using the ROM kernel
    - If an additional mod is installed, make sure it's unrelated, and mention it
    - Make sure the issue wasn't discussed earlier in the threads
    - Share a log of the error with CatLog for example

    Q&A - FAQ
    LineageOS 14.1 Huashan Regular Questions and Answers : Q&A Thread

    About LineageOS Legal : http://lineageos.org/legal/

    The LineageOS team would like to thank everyone involved
    in helping with testing, coding, debugging & documenting! Enjoy!

    LineageOS available for Huashan also thanks to :
    - The LineageOS Team
    - The CyanogenMod Team
    - Everyone involved in working and testing​

    XDA:DevDB Information
    LineageOS 14.1, ROM for the Sony Xperia SP

    Adrian DC
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: Snapshot

    Created 2016-12-31
    Last Updated 2020-08-15

    - Boot : Ok
    - GApps : OpenGApps Micro Ok
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - ROM Recovery : Broken for signed official (see below)
    - FOTA Recovery : Ok (see below)
    - WiFi : Ok (real SONY MAC address)
    - Bluetooth : Ok (real SONY MAC address)
    - WiFi Hotspot : Ok (2.4GHz and 5GHz)
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - Lights : Ok, advanced colours control, Multiple LEDs, LEDs Brightness, ...
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - AOSP sensors : Ok
    - FM Radio : Ok
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & external audio : Ok
    - Bluetooth audio : Ok
    - NFC : Ok
    - Kernel : Ok, Updating frequently
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok (RTC real hardware clock, in TWRP recovery too)
    - Powered-off alarm : Ok
    - Offline Charging : Ok
    - Encryption : Works but system gets slower
    - SEPolicies : Fully enforced
    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?

    I'm already working on and running Android O (master branch) on my Huashan so I guess the answer is yes... ;)

    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open the ROM recovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    1. Official Lineage builds are getting progressively fixed on the new build servers & infrastructure
    2. Due to the new signing process of the ROM, there are new issues that arise and will have to be looked into
    3. I'll give infos about what the builds are meant for & about the migration solution we'll have
    4. Do not flash new builds unless you know what you are doing and have a backup, let us test for now
    5. If you have non-booting issues... The device can't die, it's a Sony ! Just power it off (Key combo or reset on the back) + fastboot
    6. Since 2 weeks my SP has a broken SIM card holder & is dismantled, I might be able to access the lab to resolder the new one this week
    7. I'm awfully busy with all Android projects and non-Android projects so please bare that in mind