[ROM][Unofficial][8.1.0][deprecated] Lineage OS 15.1 for Xperia Z1 compact 29.12.18 - Xperia Z1 Compact Android Development

This Thread is deprecated!
Please use https://forum.xda-developers.com/sony-xperia-z1-compact/development/rom-lineageos-15-1-xperia-z1-compact-t3884247/
We'll provide Lineage 15.1 builds there as well. They come in two different flavours:
pure LineageOS
Security hardened microG LineageOS
Functionality is completely the same as provived by the builds from this thread - they are build from the same sources. Only difference: The new builds are signed to guarantee a maximum of security.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you. Hard & a lot.
*
*/
Status
List template by AdrianDC
Code:
- Boot : Ok
- GApps : OpenGApps Micro recommended
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : Ok
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- Touchscreen : Ok
- FM Radio : Ok
- ANT+ : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & music : Ok
- Bluetooth audio : Ok
- MHL: didn't test
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Ok, but installing updates only works with adb sideload!
- SEPolicies : Enforcing
Download
https://androidfilehost.com/?w=files&flid=269301
latest version: https://www.androidfilehost.com/?fid=11410963190603873784
Click to expand...
Click to collapse
FAQ
What about device encryption?
Device encryption is working. You only have to keep in mind that you need a PC with adb to install systemupdates.
Flashing via recovery isn't working until now, because there isn't a recovery capable of decrypting Oreo /data partitions at the moment. But an easy "adb sideload" should do the job. Or installing from the external SD card.
Click to expand...
Click to collapse
What about reboot to recovery?
Reboot to recovery is only working with magisk installed. Investigating this...
Reboot to recovery is working as it should now (and of course also without magisk).
Click to expand...
Click to collapse
What about GPS?
GPS apps like GPS Status&Toolbox or SatStat don't get location fixes. Nevertheless navigating with Osmand or googleMaps should work. Positionfinding is also slow. Got better
Click to expand...
Click to collapse
I found a bug. What should I do?
We need your feedback for optimization. But your feedback is only useful in connection with logs --> see section Bugreports
Click to expand...
Click to collapse
What about root access?
Root isn't included per default (except root over adb, but it's off by default).
If you want to gain root access to your apps use one of these (depending on your taste/needs):
Official Lineage Add-on https://download.lineageos.org/extras use su (arm) 15.1 here and flash via TWRP
Magisk https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
Bugreports
You'll find information about logging here.
Please also note how you got the error or how it can be reproduced.
Click to expand...
Click to collapse
Sources
Kernel: https://github.com/AICP/kernel_sony_msm8974
Manifest: https://github.com/115ek/manifest
Click to expand...
Click to collapse
Credits
SpiritCroc: big thanks to him for maintaining the device trees and a lot of very useful hints
rcstar6696
SuperLamic
drakonizer
AdrianDC
munjeni: thanks for tips and tricks
nailyk: thanks for tips and tricks
All the other contributors on sony msm8974 platform
LineageOS team
Click to expand...
Click to collapse
XDA:DevDB Information
Lineage OS 15.1 for Xperia Z1 compact - amami, ROM for the Sony Xperia Z1 Compact
Contributors
115ek, SpiritCroc, drakonizer, rcstar6696, SuperLamic, AdrianDC, nailyk, LineageOS team
Source Code: https://github.com/115ek/manifest
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Version Information
Status: Beta
Beta Release Date: 2018-09-10
Created 2018-09-10
Last Updated 2019-03-18

Changelog
13.12.2018
fixed wrong bluetooth MAC address (00:00:00:00:5a:ad on all devices), now displaying correct device specific one
12.12.2018
synced LineageOS sources (security patch level December 05, 2018)
11.11.2018
fix problem with Lineage SU addon by using 64-bit binder API (thanks @NyQuilXT)
synced LineageOS sources (security patch level November 05, 2018)
14.10.2018
fixed GPS 3D fix
08.10.2018
fixed MHL (thanks @koron393)
added callrecording
synced LineageOS sources (security patch level October 05, 2018)
23.09.2018
fixed reboot to recovery without magisk
minor improvements from AICP devices trees (thanks @SpiritCroc)
synced LineageOS sources
10.09.2018
initial release

Hi 115ek. Thanks for making this. I'm not new to flashing but I have a question nonetheless. What do you mean by
Encryption : Ok but needs recovery capable of Oreo decryption for installing updates (AFAIK such a recovery doesn't exist until now for our device...)
Click to expand...
Click to collapse
I'm actually having some trouble finding a up-to-date recovery.

Jeroen1000 said:
Hi 115ek. Thanks for making this. I'm not new to flashing but I have a question nonetheless. What do you mean by
I'm actually having some trouble finding a up-to-date recovery.
Click to expand...
Click to collapse
You can use this https://androidfilehost.com/?fid=5862345805528046823 or that https://forum.xda-developers.com/sony-xperia-z1-compact/orig-development/recovery-twrp-3-2-1-t3759450.
For Lineage 15.x flashing you need TWRP>=3.2.x If the version is older you'll end up in a error 7.
Concerning decryption: Google introduced some new encryption stuff and so the decryption of /data from inside TWRP is broken. Some guys are working on it (@nailyk).
Encrypting the device should work fine, but I don't know what happens if you want to update the encrypted device. (I'm going to test that ).
Basically you need to store the update package outside of encrypted partitions... Maybe adb sideload works - but it's circumstantial.
Edit:
That's only interesting if you plan to encrypt your device. Otherways you can relax.
Edit2:
adb sideload should do the job. But you need a PC for updating. Installing an image directly via recovery isn't possible until now.

With sources for both kernel and system unlike the other port! Thanks, I'll definitely be using this!

Xperia J1 Compact
could this work on an Xperia J1 Compact?
it's basically the same phone with the same specs right?

The rom looks very stable and balance, but I've some problems with root procedure. I tried the lineage addon, the root seems active, but opening apps (es. Ad away) results unrooted, any ideas?
Update: Now Works. Flashed lastest Magisk

Amazing to see this old device on Oreo, just installed and it feels smooth and nice. Just a pity that I have broken the sim card connectors inside so I cant use it as a phone but I will fins use of it at home just for fun. Thank you for your work 115ek :good:

Great to see this rom realy! This rom have stock camera?

munjeni said:
Great to see this rom realy! This rom have stock camera?
Click to expand...
Click to collapse
What do you mean with stock camera?
There was a thing with kernel versions 3.4 and 3.10, wasn't it? We're using 3.4.
Concerning the camera: I'm not that expert, but it looks okay I would say.
Feel free to contribute: There's still the reboot-to-recovery problem and Pie is in the starting blocks.

115ek said:
Feel free to contribute: There's still the reboot-to-recovery problem and Pie is in the starting blocks.
Click to expand...
Click to collapse
my phone reboots to recovery.
Need to install Magisk
without it I also do not reboot to recovery

raschad said:
my phone reboots to recovery.
Need to install Magisk
without it I also do not reboot to recovery
Click to expand...
Click to collapse
Thanks, but I already knew this
But I like to reboot to recovery without magisk. I think there are people around who don't like/need magisk (including me).
The fact that it works with magisk may locate the problem to the boot.img. I have init_sony in mind and will check that.
Any ideas welcome

115ek said:
Thanks, but I already knew this
But I like to reboot to recovery without magisk. I think there are people around who don't like/need magisk (including me).
The fact that it works with magisk may locate the problem to the boot.img. I have init_sony in mind and will check that.
Any ideas welcome
Click to expand...
Click to collapse
I meant does this rom have stock camera blobs? Do you have property: ro.bootmode
and does /proc/cmdline shows diferent bootreason when you set reboot reason to recovery?

munjeni said:
Do you have property: ro.bootmode
and does /proc/cmdline shows diferent bootreason when you set reboot reason to recovery?
Click to expand...
Click to collapse
Good news: an easy import of your init_board_device.h did the trick. Maybe a timing problem?
Anyway: reboot to recovery is now working correctly, even without magisk
Is that okay for you: http://gerrit.aicp-rom.com/c/AICP/device_sony_msm8974-common/+/73688 ?

I just found this https://github.com/LineageOS/androi...neage-15.1/init/init_sony/init_board_device.h its just prototype so seems you have missed init_sony/init_board_device.h in your device tree...

munjeni said:
I meant does this rom have stock camera blobs?
Click to expand...
Click to collapse
We're using them https://github.com/AICP/proprietary_vendor_sony/tree/o8.1/rhine-common/proprietary/vendor, so I guess yes.
You're more into topic, aren't you? How to distinguish between AOSP and stock blobs? There were some mysteries around DRM, camera quality and so on. I remember a separate thread you also participated in...
But I'm not really into this topic.

munjeni said:
I just found this https://github.com/LineageOS/androi...neage-15.1/init/init_sony/init_board_device.h its just prototype so seems you have missed init_sony/init_board_device.h in your device tree...
Click to expand...
Click to collapse
No, it's actually in here: https://github.com/AICP/device_sony_msm8974-common/blob/o8.1/include/init_sony/init_board_device.h
But It's different from yours. Yours performs another keycheck.

Seems rom have stock blobs. To distinguish between AOSP and stock blobs... depends on kernel you have using, aosp kernel can't be used with stock blobs since aosp camera kernel module is diferent, but I'm out of development for long, have no free time and to be honest I still didn't forgot treatment & injustice for my status on xda, that made me more inactive here. Recognised members have bad treatment here, seems senior members have much more priority than recognised members, and thats reason why everybody here need to care how many hours per day to waste here. I decided to stop wasting my time on xda since xda leaders do not respect anybody's hard work here. I recommend the same to everyone here.

I tried "reboot to recovery", after Sony logo the phone reboot again (also if you press recovery button), and to enter in recovery you've to push again the button at the second reboot.
It is like a normal reboot... But it's not a problem ?

ULT][MO said:
I tried "reboot to recovery", after Sony logo the phone reboot again (also if you press recovery button), and to enter in recovery you've to push again the button at the second reboot.
It is like a normal reboot... But it's not a problem
Click to expand...
Click to collapse
What recovery are you using? I recommend this one: https://forum.xda-developers.com/sony-xperia-z1-compact/orig-development/lineageos-12-1-z1c-current-sec-patches-t3614936.
With mine from here https://forum.xda-developers.com/sony-xperia-z1-compact/orig-development/recovery-twrp-3-2-1-t3759450 it still won't work. Maybe a timing thing.
But it's okay if we have at least one working TWRP.
And oreo /data decryption is still an issue we have to address.

Related

[ROM][Nougat][3] Unofficial LineageOS 14.1

Unofficial LineageOS 14.1 for Sony Z1 Compact
Code:
#include
/*
* 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.
*/
General
This is an unofficial LineageOS 14.1 as is build for the Sony Z1 Compact, (Amami/D5503).
The builds will be builds when i want it, as long as LineageOS updates and support LineageOS 14.1 or when it goes official.
I won't include features that I dislike. If u want something else, build it.
Install
How to install:
New Install (coming from another ROM)
Do a full backup with your favorite latest Nougat compatible recovery (3.1.0.0 ATM)!
Download the Rom zip and an OpenGapps file for 7.1.2, 32 bit, Arm
Do a full wipe in recovery (data/factory reset, system)
Install the Rom zip and Gapps zip through recovery compatible with Nougat!
Enjoy!
Coming from previous version of LOS14.1
Do a full backup with your favorite latest Nougat compatible recovery!(optional, for if things go wrong)
Download the Rom zip
Install the Rom zip (and Gapps if getting erros with Google services) through recovery compatible with Nougat!
Enjoy!
Downloads
Latest-Rom: lineage-11-20170810-UNOFFICIAL-smi.zip
XDA Download Section
Github Version number is different
Project manifest
Manifest/Roomservice
Bugs/Issues
HW overlay needs to be disabled for some full screen video applications and front camera
Bluetooth may not work as expected
Reboot to recovery doesn't always work
Needs a compatible recovery to install
Camera may not work 100%
Will never pass full CTS test?
Wifi starts without data connection after reboot
NFC HCE will maybe never be supported, used for android pay
Thanks and credits
SpiritCroc
SuperLamic
All MSM8974 Maintainers
Sony (OSS)
LineageOS
All the rest that have helped to construct these builds and develop software for Z1 Compact directly or indirectly in the past.
XDA:DevDB Information
Unofficial LineageOS 14.1, ROM for the Sony Xperia Z1 Compact
Contributors
Hazou
Source Code: https://github.com/LineageOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: LineageOS
Version Information
Status: Testing
Current Beta Version: lineage-14.1-2017080
Beta Release Date: 2017-08-10
Created 2017-07-14
Last Updated 2017-08-10
Hazou said:
Unofficial LineageOS 14.1 for Sony Z1 Compact
I won't include features that I dislike. If u want something else, build it.
2017-07-14
Click to expand...
Click to collapse
Nice, thanks. Could you summarize which features you did implement? I'm currently using LOS by Micha-Btz, and it's working great,but I might try this out if it's any different...
levone1 said:
Nice, thanks. Could you summarize which features you did implement? I'm currently using LOS by Micha-Btz, and it's working great,but I might try this out if it's any different...
Click to expand...
Click to collapse
Can't say for sure what he changes. Not all his repos are open to public.
This version is the latest updated version of lineage, at the time of build. With all the newest changes from the msm8974 maintainers to get a working Android 7.1.2 on this device. The only extra difference is that I included the smartcard API, so u could use NFC pay with a compatibele sim card.
Hazou said:
Unofficial LineageOS 14.1 for Sony Z1 Compact
Click to expand...
Click to collapse
Which kernel does this ROM use? I can't find a repository at your GitHub
Might be a good idea to link to these sources from OP as public sources are required by GPL.
Btw, this information seems to be wrong
Hazou said:
Downloads
Latest-Rom: lineage-11-20170227-UNOFFICIAL-smi.zip
Click to expand...
Click to collapse
hahnjo said:
Which kernel does this ROM use? I can't find a repository at your GitHub
Might be a good idea to link to these sources from OP as public sources are required by GPL.
Btw, this information seems to be wrong
Click to expand...
Click to collapse
Thx for sharing. Will add them right away. They are indeed not on mine or lineage GitHub. The kernel source is on another GitHub. Will add a local_manifests to the message.
Thx. Works great so far.
My findings:
- original Sony camera app has that hw overlay issue.
- automatic brightness seems to be calibrated to bright
- wlan works smoothly (current aicp has has issues with that)
Not tested Bluetooth yet
Regards
Update:
[2] lineage-14.1-20170721-UNOFFICIAL-amami.zip
Fixes:
Audio_effect fix
A tiny bit better battery life
Fix nightly reboot when charging
Thermal improvements in config
LineageOS changes
Known bugs:
HW overlay needs to be disabled for some full screen video applications
Bluetooth may not work as expected
Reboot to recovery doesn't always work
Needs a compatible recovery to install
Camera may not work 100%
Will never pass full CTS test?
Wifi starts without data connection after reboot
NFC HCE will maybe never be supported, used for android pay
Great firmware!
Problems with lineage-14.1-20170721-UNOFFICIAL-amami.zip
- I still get nightly (while recharging) and some times random reboots
- HW Overlay with Camera
I didnt have any other issues yet
@Hazou thanks for your work! This device still can work well and thanks for support LOS!
Pardon, is it possible to have this feature enabled to receive mms when data is disabled? It can be much of annoyance and inconvenience to have data always be turned on for those with limited data or having to turn data on and of manually just to receive mms
https://review.lineageos.org/#/c/172853/ I can beta test a patch if need, very useful feature. This device deserves a good maintainer like you!
Thanks again sir for attention!
echo124 said:
@Hazou thanks for your work! This device still can work well and thanks for support LOS!
Pardon, is it possible to have this feature enabled to receive mms when data is disabled? It can be much of annoyance and inconvenience to have data always be turned on for those with limited data or having to turn data on and of manually just to receive mms
https://review.lineageos.org/#/c/172853/ I can beta test a patch if need, very useful feature. This device deserves a good maintainer like you!
Thanks again sir for attention!
Click to expand...
Click to collapse
Thank you, But I am not alone Doing this stuff with many others
And yes, we could implement this, than u need to test it, will have a look at it for next update
Hazou said:
Thank you, But I am not alone Doing this stuff with many others
And yes, we could implement this, than u need to test it, will have a look at it for next update
Click to expand...
Click to collapse
Great, will test and thans much to all developers for their time and awesome work! Thanks for this very much!
is the gps working?
- GPS works
- HWOverlay needs to be disabled for Cam or Youtube
- Nightly reboots if the phone is charging over night - even with 21.07.2017 version
Hopefully the team could fix it. Great work so far
Frash said:
- GPS works
- HWOverlay needs to be disabled for Cam or Youtube
- Nightly reboots if the phone is charging over night - even with 21.07.2017 version
Hopefully the team could fix it. Great work so far
Click to expand...
Click to collapse
Yup, we are working on them. Just takes a lot off time to debug and find the issue. Also it's holiday season; sun, beach, party
New version 8-10
Changelog:
3AM bug solved
Touch firmware update (changed to stock amami)
Time correctly set at boot
Update in media codecs/profiles
BLE peripheral mode enabled
Network type change and search should be fixed
Thanks for the update!
Thanks for the update, Hazou!
Unfortunately, changing of network operator does not work with my 2 SIM cards.
I can change the network type and search for network operators, but changing the network operator is not possible.
I have tested various ROMs (AICP, Lineage - yours and Micha-Btz - and Paranoidandroid, v6.03).
Only with the stock Rom and with Paranoidandroid I can change the network operator.
The problem seems related to accessing the SIM card (at least my SIM cards). When the Z1C can read the contacts stored on a SIM card, I can also change the network operator.
Can you change the network operator without problem?
Hi Hazou,
there also seems to be a problem with the telephone function if you toggle the loudspeaker or the mute button during a call.
Once you click mute and enable the mic again, it will stay muted... Same problem seems with the loudspeaker button from time to time.
Would be great if this could be fixed.
Good work! It is really appreciated!
Hi Hazou,
I have also a problem with telephone calls. The microphone seems always to be muted.
When I use Google Duo or WhatsApp Calls if works flawlessly.
The reboot bug while charging is also still existant.
Bisides that: Nice work, thanks for that.

[10.0][STABLE] AOSiP Quiche beta

Android Open Source illusion Project
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
"AOSiP stands for Android Open Source illusion Project. We are an AOSP based custom ROM, twisted with the latest features from all over the Android development community. Quality and stability is our first priority as we are dedicated to bringing you the best Android has to offer.
AOSiP brings you the most wanted features, while keeping speed and stability our top priority.
AOSiP features multiple customization options, so your phone can look the way you want it."
Known issues:
- AOSiP ten is not officially released yet. There are missing features!
- Display > lockscreen > advanced settings (this wont to do anything)
- Instagram video recording (You will sound like a robot)
- Wi-Fi display reboots the phone
- Green pictures when using the stock camera/ Whatsapp in lowlight (this is related to YUV processing). Use provided gcam instead.
- Report unknown bugs with logs please!
Instructions :
Clean flash:
- Flash latest Pie ROM by Xiaomi (10.0.13.0). You may use option to retain userdata.
- Use fastboot to boot to latest TWRP.
- Falsh the TWRP installer zip and Force-encryption-disabler zip
- Reboot to TWRP
- Flash the ROM zip
- Flash TWRP installer
- Got to Reboot --> Change boot slot (if on A: A --> B or if on B: B --> A)
- Reboot to recovery
- (Optional, but recommended) Flash GAPPS linked below (other GAPPS for Android 10 may work too)
- (Optional) Flash Magisk (>v20.1!!!!)
- Reboot and wait, will take longer than normal reboot!
Dirty flash (upgrade from existing AOSiP 9 install):
- Reboot to TWRP
- Factory reset in TWRP. No need to wipe userdata! (Skip if you are on ten already)
- Flash ROM zip
- Flash TWRP installer
- Got to Reboot --> Change boot slot (if on A: A --> B or if on B: B --> A)
- Reboot to recovery
- (Optional, but recommended) Flash GAPPS linked below (other GAPPS for Android 10 may work too)
- (Optional) Flash Magisk (>v20.1!!!!)
- Reboot and wait, will take longer than normal reboot!
Note: It is strongly advised to make a backup before upgrading!
Downloads :
Download from Sourceforge
Open GApps Note: OpenGAPPS for ten now officially out, so link changed. Nano package is still recommended!
Recommended Gcam
Kernel Source
Device Tree
Vendor Tree
Props to all the guys from daisy-development-q and especially Lyceris-chan!
Have fun!
XDA:DevDB Information
[10.0][STABLE] AOSiP Quiche beta, ROM for the Xiaomi Mi A2 Lite
Contributors
opal06
Lyceris-chan
Tunasahinn
acras01
pawelik001
Offain/33bca
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2019-11-27
Last Updated 2019-11-27
Thank you! Respect mate
Edit:
PS. With gapps you reccomend. Can i use Bit... or Open.. ?
gumka77 said:
Thank you! Respect mate
Edit:
PS. With gapps you reccomend. Can i use Bit... or Open.. ?
Click to expand...
Click to collapse
I used the OpenGAPPS from test folder I linked in the OP. Bit... might work, but no guarantee. Just try them and report back, so maybe other users can learn from your experiences.
Note: Updated my main phone from AOSiP Pie to Ten and had some wierd issues. Factory resetted in TWRP and now everything working. So making a backup and factory reset before updating is recommended
When viperos q?
Thanks you , I see your sources is stable thanks for upgrade aosip
opal06 said:
Android Open Source illusion Project
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
"AOSiP stands for Android Open Source illusion Project. We are an AOSP based custom ROM, twisted with the latest features from all over the Android development community. Quality and stability is our first priority as we are dedicated to bringing you the best Android has to offer.
AOSiP brings you the most wanted features, while keeping speed and stability our top priority.
AOSiP features multiple customization options, so your phone can look the way you want it."
Known issues:
- AOSiP ten is not officially released yet. There are missing features!
- Device side should be fine, but please report all bugs here with logs!
Instructions :
Follow guide by davidrocher: https://github.com/tkchn/daisyinstall
This works for Android 10 too! Please use correct version of OpenGAPPS.
Note: It is strongly advised to make a backup before upgrading and performing a factory reset in TWRP.
Downloads :
Download from Sourceforge
Open GApps
Kernel Source
Device Tree
Props to all the guys from daisy-development-q and especially acras1!
Have fun!
XDA:DevDB Information
[10.0][STABLE] AOSiP Quiche beta, ROM for the Xiaomi Mi A2 Lite
Contributors
opal06
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2019-11-27
Last Updated 2019-11-27
Click to expand...
Click to collapse
i can't believe wifi, call, bluetooth audio, cam, fingerprint, navigation, google, youtube, spotify, usb connection to pc works
Only two things i've discovered, there is no clock app (i installed Gapps pico maybe that the problem) and AOSiP Updater seems not working.
Can someone give me a clock/ alarm app - opensource ? (App of Tibor Kaputa doesn't work)
schmidt_here said:
i can't believe wifi, call, bluetooth audio, cam, fingerprint, navigation, google, youtube, spotify works
Only two things i've discovered, there is no clock app (i installed Gapps pico maybe that the problem) and AOSiP Updater seems not working.
Can someone give me a clock/ alarm app - opensource ? (App of Tibor Kaputa doesn't work)
Click to expand...
Click to collapse
See if this works for you:
View attachment Clock_v1.0.0.zip
Thanks for the rom, what base is needed?, is November security patch?
Txatxiquesi said:
Thanks for the rom, what base is needed?, is November security patch?
Click to expand...
Click to collapse
yes, november
i don't remember wich version it was, i think 10.0.9. Try 10.0.13 and then post if it works
ps: i installed omniclock from playstore - it works
Fingeprint swipe doesn't work
opal06, kudos for signature spoofing built-in, I can use microG.
Can i update kernel to Celexas kernel v.2. (from devotag) ?
Thank you all very much for your positive feedback.
schmidt_here said:
i can't believe wifi, call, bluetooth audio, cam, fingerprint, navigation, google, youtube, spotify, usb connection to pc works
Only two things i've discovered, there is no clock app (i installed Gapps pico maybe that the problem) and AOSiP Updater seems not working.
Can someone give me a clock/ alarm app - opensource ? (App of Tibor Kaputa doesn't work)
Click to expand...
Click to collapse
As for the missing clock, I did not notice it during testing, but you are obviously right. For a stock feeling you can download the Clock app by Google, but there are many other good alternatives.
AOSiP updater is not working because I did not update the OTA file. AOSiP ten is still beta from ROM source side, so I won't enable OTA until it's official from their side.
Txatxiquesi said:
Thanks for the rom, what base is needed?, is November security patch?
Click to expand...
Click to collapse
As base any pie base should work, but latest is best.
schmidt_here said:
yes, november
i don't remember wich version it was, i think 10.0.9. Try 10.0.13 and then post if it works
ps: i installed omniclock from playstore - it works
Fingeprint swipe doesn't work
Click to expand...
Click to collapse
Have you enabled fingerprint swipe in Settings --> System --> Gestures? For me it works fine
gumka77 said:
Can i update kernel to Celexas kernel v.2. (from devotag) ?
Click to expand...
Click to collapse
Probably, just try and report. If something goes wrong, go to TWRP and flash ROM again without wiping data. You won't loose any settings or data.
Plis build with nitrogen kernel
test
opal06 said:
Have you enabled fingerprint swipe in Settings --> System --> Gestures? For me it works fine
Click to expand...
Click to collapse
Yes, it's enabled. It doesn't disturb me, maybe i've to make a fresh install and take another version base.
Yesterday i had an issue, i couldn't download from play store until i deactivated and reactivated the app. Also i couldn't install apk's downloaded manualy from website.
Maybe it's a unique incident
schmidt_here said:
Also i couldn't install apk's downloaded manualy from website.
Click to expand...
Click to collapse
I had a similar issue trying to install apps with Amaze file manager. I had no problem installing apps with the built-in file manager and also with F file manager from f-droid, in my case it was obviously an incompatibility of Amaze with 10. I'm on 10.0.9 base btw. Also I was able to delete system apps with Amaze and magisk 19.3 but not with 20.1. And I can't uninstall Whatsapp no matter what, the installer just quits so I must do it with adb uninstall.
celrau said:
I had a similar issue trying to install apps with Amaze file manager. I had no problem installing apps with the built-in file manager and also with F file manager from f-droid, in my case it was obviously an incompatibility of Amaze with 10. I'm on 10.0.9 base btw. Also I was able to delete system apps with Amaze and magisk 19.3 but not with 20.1. And I can't uninstall Whatsapp no matter what, the installer just quits so I must do it with adb uninstall.
Click to expand...
Click to collapse
That's normal behavior for magisk 20.1 because the system mount point had been changed from /system to / so most root using apps don't know how to use it. Besides that you can use the system debloater magisk module and that should work just fine.
lacia-chan said:
That's normal behavior for magisk 20.1 because the system mount point had been changed from /system to / so most root using apps don't know how to use it. Besides that you can use the system debloater magisk module and that should work just fine.
Click to expand...
Click to collapse
I just did some reading on this, you are right
Flashing Nitrogen R2 kernel results in bootloop with this rom. R1 works fine. Any fix?
good job
I'm using your rom for 1-2 days now Looks like every features work really well to me. I'l report back later if I see anything. Thanks OP

[ROM][UNOFFICIAL] LineageOS 17.1 for Nexus 5 (hammerhead) [DISCONTINUED]

LineageOS 17.1 is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
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. Your changelog is whatever was merged into gerrit.
Known bugs:
Fantom icons in launcher after installing/updating apps. Fixed since 2020-03-18 build.
Expanded desktop doesn't work. LineageOS team planning to remove this feature entirely. This feature was removed in latest builds.
For some users phone won't boot after installing Magisk. Right now there is no solution. Use rom without Magisk. Fixed since 2020-02-22 build. Credits to @Sashko98 for help!
Screen timeout does not work if the Screen lock is set to none. Fixed since 2020-05-31 build.
Random drops of the bluetooth connection. Fixed since 2020-06-13 build.
Screen mirroring via slimport HDMI adapter doesn't work.
PMF aka 802.11w doesn't work.
Downloads:
ROM: https://sourceforge.net/projects/hammerhead-lineageos/files/17.1/
GAPPS: https://opengapps.org/?arch=arm&api=10.0&variant=pico
Credits:
Many thanks to the LineageOS team and all the contributors out there in the community
Contributors:
@z3DD3r, @EnesSastim, @Sashko98, @razorloves, esa-n, jprimero15 and others
Source Code:
Device tree: https://github.com/z3DD3r/android_device_lge_hammerhead/tree/lineage-17.1
Kernel tree: https://github.com/z3DD3r/android_kernel_lge_hammerhead/tree/lineage-17.1
Vendor tree: https://github.com/z3DD3r/android_vendor_lge/tree/lineage-17.1
Android version: 10.0.0 (Q)
Kernel version: Linux 3.4.113
SELinux: Enforcing
Status: Stable
Created 2020-01-23
Last Updated 2020-06-23
GAPPS Installation
To install GAPPS you should increase the /system partition size
This can be done for example with TWRP HH.R
[RECOVERY][UNOFFICIAL] TWRP HH for Nexus 5 (hammerhead)
TWRP HH for Nexus 5 About: TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with...
forum.xda-developers.com
Also LineageOS Team have recommendations about GAPPS
Here are the most important two copied from LineageOS WiKi:
If you opt to use Open GApps, they offer a variety of sizes of packages that include and overwrite different apps. We only recommend package sizes up through nano. If you use a larger package, we can not guarantee that everything will function on your device, as in many of these cases our included apps are overwritten in favor of the Google App equivalents.
Google apps should be installed via recovery immediately after installing LineageOS. If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.
reserved
Thanks for your work.
I'm running 17.1-20200122. Works amazingly well so far. No bugs detected.
Thank you @z3DD3r for your amazing work for Hammy
Hardware Macaddress
Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.
My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..
Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.
Kindly advise a fix. Thanks in advance.
zheega said:
I'm running 17.1-20200122. Works amazingly well so far. No bugs detected.
Click to expand...
Click to collapse
How is the battery-drain for you? I tried an earlier version and that wasn't nice regarding battery. Almost half the time compared to the 16.0.
I've just run a single charge on the last build, but seems good so far. Better than 16.0 I would say.
Encryption working flawlessly !!!
Beta TWRP decrypts DATA in recovery !!! (carefully read instructions and posts.)
Excellent work, everybody.
anilspice said:
Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.
My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..
Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.
Kindly advise a fix. Thanks in advance.
Click to expand...
Click to collapse
Static ip works for me and I dont have mac randomization.
I dirty flashed from lineage-16.0-20191225 to 17.1-20200124 and wiped cached/davik. Everything seems fine (old apps, lte, camera, wifi). Only thing I miss is homescreen icon grid is max 5x5, I liked 5x7. Nice work!
I'm trying to flash the rom to my nexus5 with twrp. The installation went ok, but when i boot, it seems to stuck at the loading screen (blue ball going from right to left). Am I doing something wrong?
anilspice said:
Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.
My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..
Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.
Kindly advise a fix. Thanks in advance.
Click to expand...
Click to collapse
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?
Toedels said:
I'm trying to flash the rom to my nexus5 with twrp. The installation went ok, but when i boot, it seems to stuck at the loading screen (blue ball going from right to left). Am I doing something wrong?
Click to expand...
Click to collapse
Looks very strange. Have u wiped your partitions before installation? Tell me version of TWRP and versions of ROM, GAPPS and Magisk you tried to install.
z3DD3r said:
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?
Looks very strange. Have u wiped your partitions before installation? Tell me version of TWRP and versions of ROM, GAPPS and Magisk you tried to install.
Click to expand...
Click to collapse
I'm a little further. I've installed lineage-17.1-20200119-UNOFFICIAL-hammerhead.zip and it's booting. But when i want to install open_gapps-arm-10.0-pico-20200124.zip, it says there's not enough space.
Did you resize your partition?
EnesSastim said:
As 07/19 u have to resize, here is the tutorial:
How to increase system (assuming that u have unmodified partitions):
1. Flash twrp-3.3.1-HH-hammerhead.img
2. Open terminal (TWRP -> Advanced -> Terminal)
3. Type hh_repart -m
4. Wait until your phone reboots.
How to revert everything:
1. Open terminal (TWRP -> Advanced -> Terminal)
2. Type hh_repart -r
3. Wait until your phone reboots.
4. Install original TWRP (3.3.1-0 at the current moment)
Download: https://mega.nz/#!x840QaZT!zjxqy1mK07u--T0Jt4451BLiwmpELe4GFdgW-20s4zc
Credits: @z3DD3r
Click to expand...
Click to collapse
Toedels said:
I'm a little further. I've installed lineage-17.1-20200119-UNOFFICIAL-hammerhead.zip and it's booting. But when i want to install open_gapps-arm-10.0-pico-20200124.zip, it says there's not enough space.
Click to expand...
Click to collapse
This old build is permissive and device is not certified in Play Market. Use build 20200123 or newer cos they are enforcing.
z3DD3r said:
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?
Thanks for response. Had earlier been using crdroid pie rom till Nov 2019 with system partition extended to 1.5 GB and Micro gapps. All was fine till then. As I usually keep on updating the apps regularly..In Dec 19 wifi stopped working. I thought had a hardware failure. The hammerhead kept on going without wifi as it was not a daily driver. In Jan I repartioned the sys again to 2GB using TWRP 3.3.1-2.0GB HH and installed LOS 17.0 with stock gapps as I had enough space. It worked with few minor issues then i kept on upgrading every day as you kept on building now on 25 th Jan 17.1 LOS with 16jan stock gapps.
All builds worked perfectly...but without wifi, which used to trun on sometimes after I copied .mcaddr from /persist to /data/misc/wifi folder through TWRP file manager...but is still unable to download or update data and automaticaly switches back to cellular data.
As far as logcat...kindly advise how to!! As I had never done that.
I am not a developer or IT guy. Hope above helps.
Regards
Added info: Had gone back to stock and installed TWRP HH 1.5 Gb few times. Installed LOS 16 to but the same issue remains...unable to connect to my home static IP as my wifi is hidden and all devices on my home network have individual IP address.
Click to expand...
Click to collapse
Somebod y said:
Did you resize your partition?
Click to expand...
Click to collapse
That did the trick! I'll try to install the latest version now.
It feels really smooth. Didn't expect that on such old device.
There's an article about your ROM on German ZDNet. Hope to see this eventually being official one day.
https://www.zdnet.de/88376265/lineageos-android-10-fuer-nexus-5/
wifi does not work, cannot connect !!
.

[EOL][SODP][ROM][LineageOS][XZ2, XZ2C, XZ3] LineageOS 17.1 [STABLE][UNofficial]

The Sony Open Devices Project is always happy about volunteers (coding, testing, etc)
Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!
Official site
Unofficial site
Code:
#include <std_disclaimer.h>
/*
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
This is the LineageOS ROM for the Sony Xperia XZ2 (akari), XZ2C (apollo) and XZ3 (akatsuki)
This ROM build will always mainly based on Code from Sony AOSP & LineageOS and maybe include cherry-picks.
I plan to make monthly builds, after a new security patch level, if there is no need for a critical hotfix.
FAQ:
Switch the A/B slot for every monthly release to make sure you execute the same amount of write cycles on the entire flash storage. (Extends hardware lifetime)
fastboot & adb
https://developer.sony.com/develop/open-devices/get-started/flash-tool/useful-key-combinations/
https://wiki.lineageos.org/adb_fastboot_guide.html
https://developer.android.com/studio/releases/platform-tools
Stuck at SONY logo? Maybe you need to flash the OEM binary to oem_a and oem_b, while just oem is not enough.
For a complete security patch you have to install the newest stock firmware and boot it once.
https://github.com/sonyxperiadev/bug_tracker/issues/258#issuecomment-445816826
TL;DR Flash the latest stockfirmware, boot it once, to update your baseband/mobile network drivers and then flash this ROM.
(I prefer and support only newflasher from XDA and xperifirm to download the firmware.)
Maybe this helps windows users:
https://developer.sony.com/posts/flash-tool-updated-with-new-feature/
jerpelea said:
for a complete security patch you have to
1. flash the stock firmware using https://developer.sony.com/develop/open-devices/get-started/flash-tool/
2. build and flash the ROM
* The security patch may affect or not the proprietary parts depending on HW and implementation
* After official support ends you can still get security updates for kernel and Android but loader and firmware will be stuck to the latest official release
Click to expand...
Click to collapse
Bugtracker:
SODP Bugtracker -> If you think the problem is in SODP
LineageOS Bugtracker -> If you think the problem is in LineageOS
My Bugtracker -> If you think the problem is in my implementation
Bugreport:
A bugreport needs
Code:
logcat -b all
and a way to reproduce the issue.
A crash of the system requires the content of the /sys/fs/pstore folder as bug report
Be aware that a second reboot erases this folder
A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition
You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`
To rescue a not responding phone:
VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.
VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.
VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.
Thank you very much for your help, code contribution & testing! (Random order):
@jerpelea, the sony employees and their volunteers (people like you and me) coding this wonderful piece of software
@dhacke for providing a download server
@Raphos for the initial installation manual without a recovery system, after I switched to OTA zips.
@kgvarunkanth for the jenkins build server
And many thanks to the few donators!
A telegram group for technical SODP stuff:
Sony [*Kim Jong*Un]official OD Chat
https://developer.sony.com/develop/open-devices OEM binaries: @SMDW_downloads Bug Tracker: https://github.com/sonyxperiadev/bug_tracker This group is only for dev stuff. For support: https://t.me/xdadevelopershub
t.me
XDA:DevDB Information
LineageOS, ROM for the Xperia XZ2
Contributors
MartinX3, SODP Team
Source Code: https://github.com/MartinX3-AndroidDevelopment-LineageOS/
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest Stock Firmware
Based On: LineageOS
Version Information
Status: No Longer Updated
Current Stable Version: 17.1
Created 2020-02-02
Last Updated 2020-10-23
Download & Installation
Download ROM:
Android File Host
FTP-Server from @dhacke
Download Drivers:
OEM (Tama) binaries
Please use the the OEM build which came before my last release, unless otherwise written.
GCAM Camera App:
Suggested GCams But GCAM's aren't usable at the moment until a camera hardware resource budget bug got fixed in the OEM binary blob.
Installation with a recovery:
fastboot flash oem_a oem_*.img
fastboot flash oem_b oem_*.img
Flash the ROM in a recovery
Reboot into recovery just to make sure you're on the new slot
Google Apps like Playstore
Dual Sim Patcher
(In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Flash the ROM without a recovery:
Extract the payload.bin from the .zip file
Extract the .img files with the Playload Dumper
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot -w (Wipes your internal storage and the userdata)
Continue with the normal installation
News
24.08.2020
since we have now an official lineageos based on stock, this rom would be double work.
So i stop the los port.
(sadly unless a dev owns a xz2p or xz3 these phones won't be supported in the official stock based lineageos)
the only difference between the stock and sodp editions are:
Sodp will get gcam support later and has camera2api level 3.
Stock will never support gcam apps and has the limited stock camera2api level.
Sodp uses a 4.14 kernel and probably get mainline support later.
Stock uses the stock 4.9 kernel and will probably be there forever.
Sodp targets to use as much open source as possible.
And livedisplay doesn't work in my sodp version.
Ps: After the september exams in the new semester i look for a rom replacement for the sake of diversity.
It's good to have a choice and with the available official supported sodp based pixel experiment, we have a rom which sadly forces you to use the full gapps (google apps package).
Click to expand...
Click to collapse
13.07.2020
july security patch level
oemv9c support
and any other sodp open source changes since my last build
Click to expand...
Click to collapse
18.06.2020
june security patch level
oemv8 support
and any other sodp open source changes since my last build
fixes for charger, battery, sleep (sideeffect working bluetooth audio) and more!
Click to expand...
Click to collapse
11.05.2020
may security patch level
oemv6 support
and any other sodp open source change since my last build
ps: Camera is work in progress.
Please flash gapps and the dual sim patcher again after applying an ota update.
It seems that the ota zip replaces every partition and deletes the modifications (like gapps).
Also it enforces avb heavily which prevents modifications like gapps from getting loaded.
So i deactivated avb now.
(but since the device bootloader can't be relocked the avb is not really useful anyway)
Click to expand...
Click to collapse
14.04.2020
now android 10.0.0_r33
april security patch level
oemv5 support
and any other sodp open source change since my last build
switched to:
zip files to flash
dual sim patcher instead of dual sim rom files
removed buildin gapps, since you can flash it now via twrp
installing this rom as an update won't remove the installed gapps.
ps: Camera is work in progress.
Click to expand...
Click to collapse
09.03.2020
march 2020 security update
oemv4 -> camera & other improvements
and any other lineageos / sodp open source changes since my last build
ps: Camera is work in progress.
Ps0:
Other than the aosp release, this lineageos got the new ril by qcom enabled for mobile network access.
Please test and report bugs. (dmesg & logcat, -> and pstore if the device crashes)
it will get activated in the next aosp release as well, if it makes no trouble.
Click to expand...
Click to collapse
01.03.2020
oemv4 is needed or device won't boot.
Oemv4 is not backward compatible with older releases.
oemv4 -> camera & other improvements
and any other lineageos / sodp open source changes since my last build
ps: Camera is work in progress.
Ps0:
Other than the aosp release, this lineageos got the new ril by qcom enabled for mobile network access.
Please test and report bugs. (dmesg & logcat, -> and pstore if the device crashes)
it will activated in the next aosp release as well, if it makes no trouble.
Click to expand...
Click to collapse
29.02.2020
added support for every sodp supported xperia https://github.com/martinx3-androiddevelopment-lineageos/
(except the loire and tone platform which no one requested.)
the oemv4 rom release will delay a bit.
Was in the need to delete my build cache for aosp and lineageos.
Click to expand...
Click to collapse
25.02.2020
need to take down the builds.
Oemv4 which comes tomorrow got some additional last minute changes today which needs a new rom compilation.
Click to expand...
Click to collapse
24.02.2020
oemv4 is needed or device won't boot.
Oemv4 is not backward compatible with older releases.
oemv4 -> camera & volte & other improvements
and an other lineageos / sodp open source changes since my last build
ps: Camera is work in progress.
Oemv4 maybe comes tomorrow.
Click to expand...
Click to collapse
15.02.2020
feburary security patch level
fixed bugs, now my sony aosp release and this lineageos port should contain the same amount of bugs (aside from the stuff on the lineageos part).
Switched from alpha to beta version.
The only instability i found on my own xz2 is a crash at night in flightmode without charger.
Anything else doesn't crash it here.
Might be various reasons.
If anyone has the same bug, please provide logs in my github issue tracker.
(and please look if your logs contain more informations than my logs).
Click to expand...
Click to collapse
02.02.2020
the first lineageos 17.1 build based on the sodp device trees.
My vanilla sodp release and lineageos should share the same bugs.
Plus bugs / missing features in lineageos and bugs introduced by myself porting sodp to lineageos :silly:
sadly i can't upload it at the moment to android file host.
Their new "stackpath" ddos blocking solution banned me, because i tried to upload the rom in 6 browser tabs. :silly:
fixed
have fun!
Ps: Camera is work in progress.
Twrp 10 is not ready, so i sadly can't start develop one for the xz2, xz2c, xz3.
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
that's the reason i include opengapps pico for now.
And to use magisk, simply patch the boot.img by yourself in the magik manager app and flash it via fastboot.
Maybe you need to deactivate vbmeta, which wasn't the case at my site.
Gcam doesn't work with oemv3.
There is a library missing.
Click to expand...
Click to collapse
02.02.2020
The first LineageOS 17.1 build based on the SODP device trees.
My vanilla SODP release and LineageOS should share the same bugs.
Plus bugs / missing features in LineageOS and bugs introduced by myself porting SODP to LineageOS :silly:
Sadly I can't upload it at the moment to Android File Host.
Their new "Stackpath" DDOS blocking solution banned me, because I tried to upload the ROM in 6 browser tabs. :silly:
Fixed
Have Fun!
PS: Camera is work in progress.
TWRP 10 is not ready, so I sadly can't start develop one for the XZ2, XZ2C, XZ3.
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
That's the reason I include OpenGapps Pico for now.
And to use Magisk, simply patch the boot.img by yourself in the magik manager app and flash it via fastboot.
Maybe you need to deactivate vbmeta, which wasn't the case at my site.
GCAM doesn't work with OEMv3.
There is a library missing.
Click to expand...
Click to collapse
Nice work Martin!!!
I had looked forward to be released this rom
And i have a question to you.
Does this rom support VoLTE?
Orihamburger said:
Nice work Martin!!!
I had looked forward to be released this rom
And i have a question to you.
Does this rom support VoLTE?
Click to expand...
Click to collapse
Thank you
Yes, at least I can use VoLTE in my country with my provider.
You need to test it by yourself. [emoji14]
I need some help from testers for logs and observed behavior.
It seems that the phone crashes while sleeping in combination with the installed firmware on my XZ2.
Does this crash only happen when someone upgraded his phone to stock 10.0 first or does it also happen with a previously installed stock 9.0 rom?
https://github.com/MartinX3-AndroidDevelopment-LineageOS/bug_tracker/issues/1
MartinX3 said:
I need some help from testers for logs and observed behavior.
It seems that the phone crashes while sleeping in combination with the installed firmware on my XZ2.
Click to expand...
Click to collapse
I had the same on PE.
PE rom flashed over latest stock firmware, then latest aosp oem binary.
And always when I Iock phone for some time, impossible to wake up it. Only restart helps using volup+power.
P.S. now i'm on stock.
zhka said:
I had the same on PE.
PE rom flashed over latest stock firmware, then latest aosp oem binary.
And always when I Iock phone for some time, impossible to wake up it. Only restart helps using volup+power.
P.S. now i'm on stock.
Click to expand...
Click to collapse
Thank you
I'm curious if it is the same issue.
hi martin, thanks a lot for your work, a question, in this version the general stability of this rom is the same of your sonyaosp project? i will try today or tomorrow
nikkdib said:
hi martin, thanks a lot for your work, a question, in this version the general stability of this rom is the same of your sonyaosp project? i will try today or tomorrow
Click to expand...
Click to collapse
Thank you, you're welcome
In theory it only contains bugs from SODP and LineageOS :silly:
MartinX3 said:
Thank you, you're welcome
In theory it only contains bugs from SODP and LineageOS :silly:
Click to expand...
Click to collapse
ok i try to flash. now i have stock bugged android 10 firmware
edit: ok i flashed this rom and for now my phone seems doesn't crashed or freeze. i try to install gcam but gcam crash
nikkdib said:
ok i try to flash. now i have stock bugged android 10 firmware
edit: ok i flashed this rom and for now my phone seems doesn't crashed or freeze. i try to install gcam but gcam crash
Click to expand...
Click to collapse
Gcam should work with OEMv4
There is a library missing to run this application.
The XZ3 Dual file is corrupted. It is only 50MB in size
nickholtus said:
The XZ3 Dual file is corrupted. It is only 50MB in size
Click to expand...
Click to collapse
Thank you, but the dual sim version only contains the files different from the single sim version.
MartinX3 said:
Thank you, but the dual sim version only contains the files different from the single sim version.
Click to expand...
Click to collapse
Ahhh damnn, sorry my fault! Stupid mistake
Very promising release=) However, I need your help, Bro, cause I'm officially stuck with the stock=))) Before I used your OMNI for 6 months and it was completely fine just the camera wasn't working at all regardless of any fixes I've tried! After that, I switched my H8266 xz2 Dual to your SODP to try Android 10, which I didn't like after playing with it for a while. And now - I flashed latest 52.0.A.8.131 or newer 52.1.A.0.532 for the US device - I COULDN'T find the correct twrp as well as I CAN'T install OMNIrom. I have a simple question ==> besides the stock, which rom is stable enough here to have a working camera and TWRP. From what I see, almost each rom has some issues. Instead of Lineage 17, could you fix the links for working 16th version? FIX me if I'm wrong=)))
Mazurik said:
Very promising release=) However, I need your help, Bro, cause I'm officially stuck with the stock=))) Before I used your OMNI for 6 months and it was completely fine just the camera wasn't working at all regardless of any fixes I've tried! After that, I switched my H8266 xz2 Dual to your SODP to try Android 10, which I didn't like after playing with it for a while. And now - I flashed latest 52.0.A.8.131 or newer 52.1.A.0.532 for the US device - I COULDN'T find the correct twrp as well as I CAN'T install OMNIrom. I have a simple question ==> besides the stock, which rom is stable enough here to have a working camera and TWRP. From what I see, almost each rom has some issues. Instead of Lineage 17, could you fix the links for working 16th version? FIX me if I'm wrong=)))
Click to expand...
Click to collapse
Thank you
At the moment the source code of TWRP 10.0 is not available/usable, but is needed to create a TWRP with the 10.0 code environment.
Why you can't install omnirom?
The TWRP only work for the 9.0 ROMs at the moment and will be fixed in the future.
The LineageOS 16.0 release wasn't made by me and I can't do anything (except creating my own LineageOS 16.0 but my time/ressources are sadly limited :silly
does anyone know how well gcam works compared to stock camera on locked device?
tb_ said:
does anyone know how well gcam works compared to stock camera on locked device?
Click to expand...
Click to collapse
The camera driver is work in progress
The gcam workarounded missing features on 9.0.
Now on 10.0 we need to wait for OEMv4 for a working gcam.

[Unofficial] [Stock-based] Lineage 15.1 for Xperia X Performance [EOL]

Lineage 15.1 for Xperia X Performance [Stock based]​
Code:
#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 9.x (Pie),
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
About LineageOS Legal : http://lineageos.org/legal/
Important Information
1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
2. This ROM will never work with any versions of Google Camera (GCam)!
3. You need to flash Stock 41.3.A.2.149 before flashing this ROM.[
4. This ROM is suitable for dual and single model
5.VoLTE is supported, but you need to enable it on stock firmware at first./COLOR]
Downloads Links
LineageOS 15.1:
Unofficial: https://www.androidfilehost.com/?w=files&flid=307067
A special twrp recovery for this ROM:
https://www.androidfilehost.com/?fid=8889791610682924454
Google Applications (optional):
OpenGapps: http://opengapps.org/ (ARM64->Android 9.0->Pico, Nano or Micro)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
LineageOS clean install:
Download the latest build of LineageOS ROM
Full wipe and factory reset (recommended / backup to make sure not to loose data)
Flash the LineageOS ROM zip from the Recovery
Flash the GApps to have the Google Applications (optional)
Every additional zip you want to flash (optional)
Reboot
LineageOS update/upgrade:
Download the latest build of LineageOS ROM
Wipe cache and dalvik cache
Flash the latest LineageOS ROM zip from the Recovery
Every additional zip you want to flash (optional)
Reboot
LineageOS addonsu for root access:
Download the addonsu for arm64: LineageOS Downloads / Extras
Flash the zip on a working Lineage installation (once)
Upon ROM updates, the addonsu is preserved
Reboot
About the builds:
Source: https://github.com/sony-msm8996
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
Also thanks to:
The LineageOS Team
The CyanogenMod Team
The SODP Team.
Chippa_a
Everyone involved in working and testing
Contributors
Sjll, Olivier
ROM OS Version: 8.1
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: Ok
- RIL - Phone - Data: Ok
- VoLTE: Ok
- GPS: Ok
- Camera: Ok
- Camcorder: Ok
- Lights: Ok
- MicroSD: Ok
- Accelerometer: Ok
- Compass: Ok
- Gyroscope: Ok
- QTI sensors: Ok
- Touchscreen: Ok
- FM Radio: NA
- Fingerprint: Ok
- Vibrator: Ok
- Microphone: Ok
- Audio & music: Ok
- Bluetooth audio: Ok
- NFC: Ok
- Kernel: Ok
- Graphics: Ok
- 3D Rendering: Ok
- Clock: Ok
- DRM: No test
- Offline Charging: No
- USB: Ok
- USB Tethering: Ok
- USB OTG: Ok
- Encryption: No
- SEPolicies: Permissive
Result
I tested the project you didn't test and I can test it once. Now I know that GPs and microSD are working
And I hope you will continue to optimize lineages OS based on sodp
LeafNic said:
I tested the project you didn't test and I can test it once. Now I know that GPs and microSD are working
And I hope you will continue to optimize lineages OS based on sodp
Click to expand...
Click to collapse
Thanks for feedback.
New version uploaded, it is stable now.
will you make los 17.1 for it?. your build make my device cool not like treble, i can cook eggs on it
um....btw , he is the one who maintain project treble on dora
correct me if i'm wrong
Thestardr said:
will you make los 17.1 for it?. your build make my device cool not like treble, i can cook eggs on it
Click to expand...
Click to collapse
LOL
amnesia1408 said:
um....btw , he is the one who maintain project treble on dora
correct me if i'm wrong
Click to expand...
Click to collapse
Yup.
Is there a guide to isntall this? I got the bootloader unlocked using the key generet with the IMEI from the sony website, but when I tried "fastboot boot recovery.img", the phone just booted up normally.
I then tried flashing the recovery.img, this was reported as succesful, but the phone still booted normally whenever i did "adb reboot recovery".
Right now I got it back to stock, with bootlaoder locked and 41.3.A.2.149 NOBA installed.
try to boot to recovery manually
turn off your phone
hold power+volume down to turn on your phone
it take time to enter recovery mode so be patient
amnesia1408 said:
try to boot to recovery manually
turn off your phone
hold power+volume down to turn on your phone
it take time to enter recovery mode so be patient
Click to expand...
Click to collapse
I tried that now. I can see the "Sony" logo on the screen for around 5 seconds, but then a very brief red flash and the phone reboots. This behavior repeats itself while holding power and volume down.
If I release any of the two buttons during the "Sony" logo, the phone boots the system normally.
you can try out recovery at the project treble pie thread , i think the fstab file is still same with this recovery , well i dont think it worth to try , it consume your time to reinstall the stock if it fail when installing the rom
good luck if you want to try that
MartinFierce said:
Is there a guide to isntall this? I got the bootloader unlocked using the key generet with the IMEI from the sony website, but when I tried "fastboot boot recovery.img", the phone just booted up normally.
I then tried flashing the recovery.img, this was reported as succesful, but the phone still booted normally whenever i did "adb reboot recovery".
Right now I got it back to stock, with bootlaoder locked and 41.3.A.2.149 NOBA installed.
Click to expand...
Click to collapse
some version of twrp dont work with this phone so it will boot to system instead of twrp, it dont care how many times you have tried. try using sjii twrp-Q, its support many roms
Hi, thanks for the continued development!
Can I flash this rom over the one based on SODP?
leandrox said:
Hi, thanks for the continued development!
Can I flash this rom over the one based on SODP?
Click to expand...
Click to collapse
you should flash 41.3.a.2.149 first and then install for original performance
edit: but why. sodp support gcam and more hyper performance
can someone give me a link download firmware 41.3.a.2.149 pls
Thestardr said:
you should flash 41.3.a.2.149 first and then install for original performance
edit: but why. sodp support gcam and more hyper performance
Click to expand...
Click to collapse
Thanks, yes, I will stay on the SODP based ROM.
SikeClaus said:
can someone give me a link download firmware 41.3.a.2.149 pls
Click to expand...
Click to collapse
you can download it on xperiasite.pl here
say no to xperifirm, xperifirm dont have imei after flash (aka imei error, this mean no sim card will work and *06# will crash. i face this)
Thestardr said:
you can download it on xperiasite.pl here
say no to xperifirm, xperifirm dont have imei after flash (aka imei error, this mean no sim card will work and *06# will crash. i face this)
Click to expand...
Click to collapse
Xperifirm always worked fine for me
Thestardr said:
say no to xperifirm, xperifirm dont have imei after flash (aka imei error, this mean no sim card will work and *06# will crash. i face this)
Click to expand...
Click to collapse
Fine here , you should choose the correct region

Categories

Resources