[ROM][UNOFFICIAL][7.1.2] LineageOS 14.1 for Xperia Z

Not open for further replies.
Search This thread


Senior Member
Aug 14, 2012
Having wifi disconnections issues (according to Google that seem a pretty common Lineage issue), I've decided to "start fresh".

I've restarted in TWRP, done a normal wipe and flashed latest image (lineage-14.1-20170708-UNOFFICIAL-yuga.zip) and OpenGapps latest "nano" version.
The process worked but I'm getting errors, two of them annoys me:
Running boot script...
/sbin/postrecoveryboot.sh: source: line 4: can't open '/sbin/bootrec-device'
/sbin/postrecoveryboot.sh process ended with ERROR: 2
E:unknown command [log]
E:unknown command [log]

The recovery log contains a bunch of others errors too, like those:
I:Unable to unlink '/data/data/com.google.android.googlequicksearchbox/files/second_screen_content'
I:Unable to unlink '/data/data/com.google.android.googlequicksearchbox/databases/opa_history'
I:Unable to unlink '/data/data/com.google.android.googlequicksearchbox/databases/opa_history-journal'

I think I'm going to redo the process again, that time wiping "/data" to
Meanwhile, if anyone have other advise, don't' hesitate
Last edited:


Senior Member
Jul 15, 2017
Awesome work chippa...who cares otherwise to work on a discontinued model by its own company... And the ROM works as butter.... You made my Xperia z all new and powerful again... Thanks a ton
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    [SIZE="4"][FONT="Arial"]#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
    Official LineageOS website : http://lineageos.org
    LineageOS Legal page : http://lineageos.org/legal
    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.

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

    Installation Instructions
    1. Download the latest build
    2. Place ROM in your SD card or Internal Storage
    3. Reboot into recovery mode
    4. Full wipe and factory reset (recommended)
    5. Flash ROM
    6. Reboot

    Update Instructions
    1. Download the latest build of LineageOS
    2. Place the build in your SD card or Internal Storage
    3. Reboot into recovery mode
    4. Wipe cache and dalvik cache
    5. Flash build
    6. Reboot

    Downloads Links
    LineageOS 14.x:
    Unofficial builds are stopped.
    New thread: https://forum.xda-developers.com/xperia-z/orig-development/lineageos-14-1-xperia-z-t3637730

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (ARM->Android 7.1 -> Pico or Nano)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.0 : https://dl.twrp.me/yuga/
    This ROM has built-in TWRP recovery (Press Volume - to open the ROM recovery).

    Also thanks to :
    • The LineageOS Team
    • The CyanogenMod Team
    • Everyone involved in working and testing
    Kernel: APQ8064

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

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

    Version Information
    Status: Beta

    Created 2017-01-01
    Last Updated 2017-06-27
    New build available!

    * Android 7.1.2 with April security patch
    * OMS7 support also adapted for new version
    * Kernel updates. F2FS should work correctly now. You can switch using TWRP recovery (advanced wipe opts), only cache and data supported.

    Note: 7.1.2 for Lineage still WIP, i just force synced to it.
    So here may be some bugs (but I have not noticed any major).

    Download: https://drive.google.com/file/d/0B7CPZEsTdmVdRF9nWC12YXpLRXM/view?usp=sharing
    New build with updated sources available!

    It seems no more problems with Snap camera :)

    Download: https://basketbuild.com/filedl/devs...4.x/lineage-14.1-20170211-UNOFFICIAL-yuga.zip
    New build with updated sources available!

    Download: https://basketbuild.com/filedl/devs...4.x/lineage-14.1-20170122-UNOFFICIAL-yuga.zip

    Note! Please do not report about Snap camera problems (touch focus in photo, crash when switch to video record mode), these a known problems. Wait for fix.
    Workaround for video record: switch to panorama and then to video record mode. Or just use another camera app.
    New build with updated sources available!

    Also new kernel here, so
    please check the overall stability and provide report.

    Download: https://basketbuild.com/filedl/devs...4.x/lineage-14.1-20170226-UNOFFICIAL-yuga.zip