[Unofficial] Lineage 18.1 for Xperia XZ [Treble] - Sony Xperia XZ ROMs, Kernels, Recoveries, & Other

Lineage 18.1 for Xperia XZ​
Code:
/*
* 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. DON'T Flash OEM from SODP.
3. You need to flash Stock Oreo and boot into it before flashing this ROM.
4. This ROM is suitable for dual and single model
5. You will meet a delay when recognize sim at the first boot.
6. VoLTE is supported, but you need to enable it on stock firmware at first.
Downloads Links
LineageOS 18.1:
Unofficial: https://sourceforge.net/projects/release-sjll/files/kagura/18.1/
Google Applications (optional):
NikGapps: https://nikgapps.com/ (ARM64->Android R->core,)
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
About the builds:
Source: https://github.com/linelessos
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.
Olivier
Chippa_a
Everyone involved in working and testing
Contributors
@erikcas @Sjll
ROM OS Version: 11.0
ROM Kernel: Linux 4.4.x
Version Information
Status: Beta

FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: 2.4 Ghz Only
- 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: No test
- USB OTG: No test
- Encryption: No
- SEPolicies: Permissive

First of all , thanks @erikcas @Sjll for your time and effort.
What I did.
1. Celean install. ( f8331 .192 stock rom )
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy lineage-18.1-20210418-UNOFFICIAL-kagura.zip , NikGapps-core-arm64-11-20210130-signed.zip to phone.
5. install lineage18.1 rom zip and Nikgapps-core zip.
6.Reboot. it should take 2 min or less.
------------------------------------------------
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..

star__dust said:
First of all , thanks @Sjll for your time and effort.
.....
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..
Click to expand...
Click to collapse
URGENT notification! For 20210418 build​Here providea temp fix, for bluetooth, doze issue. I will fix it in next build.
1. Enable USB debug and allow debug as root in developer settings.
2. Run
Code:
adb root
adb shell mount -o remount,rw /vendor
adb pull /vendor/etc/vintf/manifest.xml
3. Open mainfest.xml with text editor, then Remove these codes in it:
Code:
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
4. Save and run
Code:
adb push manifest.xml /vendor/etc/vintf/manifest.xml
adb reboot

Sjll said:
URGENT notification! For 20210418 build​Here providea temp fix, for bluetooth, doze issue. I will fix it in next build.
1. Enable USB debug and allow debug as root in developer settings.
2. Run
Code:
adb root
adb shell mount -o remount,rw /vendor
adb pull /vendor/etc/vintf/manifest.xml
3. Open mainfest.xml with text editor, then Remove these codes in it:
Code:
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
4. Save and run
Code:
adb push manifest.xml /vendor/etc/vintf/manifest.xml
adb reboot
Click to expand...
Click to collapse
it says bluetooth version 2.0 not bluetooth version 1.0!
-------------------------------------------
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
------------------------------------------------
Anyway, I remove the this part of line but it didn't change anything.

star__dust said:
it says bluetooth version 2.0 not bluetooth version 1.0!
-------------------------------------------
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
------------------------------------------------
Anyway, I remove the this part of line but it didn't change anything.
Click to expand...
Click to collapse
Make sure you really deleted this part in manifest.xml in vendor partition. For my test result, it solved the doze issue.
Or wait for next build.

Sjll said:
Make sure you really deleted this part in manifest.xml in vendor partition. For my test result, it solved the doze issue.
Or wait for next build.
Click to expand...
Click to collapse
unfortunately, it is still same!

star__dust said:
unfortunately, it is still same!
Click to expand...
Click to collapse
Sorry, I posted wrong codes. You need to remove 2.0 and only keep 1.0.

Sjll said:
Sorry, I posted wrong codes. You need to remove 2.0 and only keep 1.0.
Click to expand...
Click to collapse
I did remove bluetooth version 2.0 codes. as I said before it didn't change anything.
I got to say that rom was really smooth and stable for a beta build.
I will wait next build. Thanks anyway.

hehe, LOS 18.1 for this device, good news
@Sjll: Is it possible the include the signature spoofing patch (to be able to use microG) in your new build ?
That would be great since there is no opportunity to patch this from 'outside' afaik ...
Thanks in advance

2faraway2 said:
hehe, LOS 18.1 for this device, good news
@Sjll: Is it possible the include the signature spoofing patch (to be able to use microG) in your new build ?
That would be great since there is no opportunity to patch this from 'outside' afaik ...
Thanks in advance
Click to expand...
Click to collapse
I will consider it.
star__dust said:
First of all , thanks @erikcas @Sjll for your time and effort.
What I did.
1. Celean install. ( f8331 .192 stock rom )
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy lineage-18.1-20210418-UNOFFICIAL-kagura.zip , NikGapps-core-arm64-11-20210130-signed.zip to phone.
5. install lineage18.1 rom zip and Nikgapps-core zip.
6.Reboot. it should take 2 min or less.
------------------------------------------------
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..
Click to expand...
Click to collapse
star__dust said:
I did remove bluetooth version 2.0 codes. as I said before it didn't change anything.
I got to say that rom was really smooth and stable for a beta build.
I will wait next build. Thanks anyway.
Click to expand...
Click to collapse
You need to check your proximity sensor with Dev Check App.

Sjll said:
I will consider it.
You need to check your proximity sensor with Dev Check App.
Click to expand...
Click to collapse
I have checked proximity sensor with Dev Check App. My proximity sensor works fine and rest of sensors too.
The problem is when I tap on person name in contacts list , calling screen doesnt pop up but you can hear dial sound.
Except the above problem it seems everything works fine for now.

star__dust said:
I have checked proximity sensor with Dev Check App. My proximity sensor works fine and rest of sensors too.
The problem is when I tap on person name in contacts list , calling screen doesnt pop up but you can hear dial sound.
Except the above problem it seems everything works fine for now.
Click to expand...
Click to collapse
I have installed lineage-18.1-20210419-UNOFFICIAL-kagura.zip without NikGapps-core-arm64-11-20210130-signed.zip.
Now, everything seems just fine.
Thanks.

star__dust said:
Second Try..
What I did.
1. Celean install. ( f8331 .192 stock rom ) ..if you have already done it skip this part.
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy llineage-18.1-20210419-UNOFFICIAL-kagura.zip , MindTheGapps-11.0.0-arm64-20210412_124247.zip
5. install lineage18.1 rom zip (reboot).
Click to expand...
Click to collapse
6. if you want to Gapps then get in twrp and flash MindTheGapps.
7.Reboot..

Anything to care of if using the single model (F331) ?

2faraway2 said:
Anything to care of if using the single model (F331) ?
Click to expand...
Click to collapse
rom says "Sony Xperia XZ Dual!"....be caution.
This mean, rom will change your phone model number from F8331 to F8332!
just in case , during first clean installation get your twrp backup for your f8331 rom.
if you want to get back old stock rom f8331, you will need your backup to turn your phone model back from f8332 to f8331.

alright, thanks mate, that should be no prob at all

lineage-18.1-20210419-UNOFFICIAL-kagura.zip Test Review​Edit: Some are minor
** Experiencing reboot when taking photos using Camera for a while. (especially front camera, 15 seconds or sometimes while taking 2-4 photo) EDIT: I finally get the error after using 3rd party camera it shows me this error. (Camera ID 0 at the back and ID 1 at the front) you can recreate the error using the attached 3rd party apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
** Frequently reboot when auto rotation is on while the phone is on landscape mode.​** Random reboot when using fingerprint unlock. (encountered 4th time now)​* After receiving notification screen won't turn on. (experience once)
* Double tap to sleep/wake don't work
** When turning on the phone from a long sleep, the touchscreen won't work or frozen, you need to press the power button for the phone to sleep then press again to turn it on for the screen to work. (I thought at first it's on the gestures that are not working but after several times of occurrence I notice that it's not responding to any touch, you have to turn off the screen and turn it on again for the touch to function)
* Sometimes you cant pick USB Preferences when connecting to a computer, but restarting the phone can fix the problem.
** Heating issue.​---------------------------
USB OTG: Ok - works fine.
USB Tethering: Ok - works fine.
The data signal is better than stock. (in my experience)
---------------------------
rooting using Magisk makes me boot-loop.
still testing...​

Hi @Sjll will this rom work for the Xperia XZs?

in the following conditions, the device will reboot
sometimes in camera, but the built-in gcam go is working fine for me.
the flashlight is turned on
sometimes while unlocking the device through the fingerprint sensor
IDK why but while launching the "mi home" app
and there are some issues in the following
sometimes especially after a long time of not using the device, the screen will freeze after it was turned on. it's the same whether it has the fingerprint unlock activated or not. after it was unlocked through the fingerprint and go into the home screen, it's not responding to any gestures. it happens more frequently than lineage os 16.
for some reason, it can't pair with my wireless headphone, and it says "system UI not responding". and I press "stop" and the screen goes black and it reboots.
the speaker and microphone are not functioning well during the "phone call" on the "local" hardware. I also encountered this issue when at lineage os 16. when I was in lineage os 16, my solution is connected to a wireless headphone, and it solved the problem. but since I can't connect to a wireless headphone currently, I can't figure out any solution and I can't make any phone calls. to be specific, when I am calling others, I can hear their sound, but they can't hear my sound. if I turn on the speaker mode, I will hear my own sound from my speaker with lots of noise.
and I am only a junior high student if any info I've given is wrong, I apologize.

Related

[ROM][UNOFFICIAL][8.1.0][TB-X704F] LineageOS 15.1 for Lenovo Tab4 10 Plus

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What works:
Wifi
Bluetooth
Audio
LED
USB
RIL
Encryption
Fingerprint
Camera (partly)
Broken
Camera (autofocus & hdr)
Hall sensor
Selinux Enforcing
Source code:
device: https://github.com/yener90/android_device_lenovo_TBX704
kernel: https://github.com/yener90/android_kernel_lenovo_msm8953
vendor: https://github.com/yener90/android_vendor_lenovo_TBX704
Important
If you are using this ROM first time, wipe data. Wipe data completely. I mean the option where you need to enter "yes". Use this option and then flash the rom.
This ROM only works with the TWRP I added.
If you want to use GAPPS, flash it directly after flashing ROM. Don't let the ROM boot. Otherwise your device will not get certification, so you will not have Google Access.
Instructions (thx @matshias, just changed few lines to get ROM flashing working)
Put your ROM (and GApps) onto your sdcard (sdcard must be exfat or fat32, NTFS not supported)
Install fastboot and adb on your PC, e.g. from here
Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
Connect your PC to your tablet and run
Code:
adb reboot bootloader
using adb on command line. The tablet will reboot into bootloader mode where you will only see the Lenovo logo. Now you use
Code:
fastboot oem unlock-go
to unlock. This will factory reset your device
Don't setup, cause you will need to format your tablet later again. Shutdown tablet. Hold volume up and power button to start to bootloader
Then run
Code:
fastboot flash recovery twrp-3.2.3-0-<your-filename>.img
to flash TWRP
Select with volume buttons "Recovery Mode" and press power button
Select to write to system, otherwise you can't flash ROM
Backup at least system and boot partitions to your sdcard cause you will wipe data in next step. Choose "System Image" for the system partition backup.
Format data using this tutorial
Flash ROM
Optionally flash SuperSU or Magisk in TWRP which should install system less. Keep OEM unlock enabled if you flash or modify anything
Restart
Download
2019-04-08
• changes to fingerprint
• changes to sdcard (careful those who are using sd card as internal)
• security updates: 2019-04-05
• updated TB-X704L fix file for fingerprint support
ROM
TB-X704L fix
TWRP
Older downloads
2019-04-05
• partly fixed camera (autofocus & hdr dont work), use Open Camera
• some debugging features disabled, should improve performance
ROM
2019-03-30
• fixed fingerprint
• first attemps fixing camera (will take longer than expected...)
ROM
2019-03-27
• intital release
ROM
Optional downloads
Dolby Digital Plus (use the TWRP one)
GAPPS (use 8.1 arm64; I suggest using pico variant)
Thanks
@highwaystar_ru (he gave me the important hint, also used his sources and his thread )
@LumenReaper (for his work with CM14.1, where I took big part of his device tree :fingers-crossed
@Flowah123 for the TB-X704L files :fingers-crossed:
Donations
For donations you can click here
Thanks to @rorzer, @Preyer11, @Tschumi, @MrMagic, @max_work & 5 x anonymous
Please don't support Lenovo and buy their tablets
Code:
[I]Updates vary depending on the model where our tablets receive Android and security updates after the introduction.
We announced Tab 4 10 Plus in February 2017 and since then it has received seven OTA updates.
However, this model has reached the end of its update cycle and will not receive any more updates in the future.
- Lenovo (2018-05-11)[/I]
Just seven updates and not even one major upgrade, please don't support them.
Reporting bugs
Please tell what mods you are using and what tablet variant (TB-X704F or L or ABCDEFGH..)
If your tablet doesnt start:
go to TWRP. use file manager, go to sys/fs/pstore, copy the files and upload it here.
if your tablet starts and bug appears later:
go to TWRP. use file manager, go to sys/fs/pstore, copy the files
start your tablet normal, let the bug appear, enter adb root
use adb logcat and adb shell dmesg, copy the content to a text file and upload here
XDA:DevDB Information
[ROM][UNOFFICIAL][8.1.0][TB-X704F] LineageOS 15.1 for Lenovo Tab4 10 Plus, ROM for the Lenovo Thinkpad Tablet
Contributors
yener90
ROM OS Version: 8.x Oreo
Version Information
Status: Testing
Created 2019-03-27
Last Updated 2019-05-13
The system itself runs very well. Also TWRP is very nice in landscape.
Maybe some notes after a short test phase, because your post is not so detailed yet.
Works:
- Encryption (forceencrypt is enabled)
- Clearly better audio quality than in Lineage 14.1 (Yener has already made me aware of my mistake)
- Significantly newer kernel (3.18.115 instead of 3.18.31)
Broken:
- Hall sensor
- selinux (for completeness only)
All in all very good rom. Thank you Yener!
Great work guys! I am waiting for the fingerprint to get fixed and then installing asap.
ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away
---------- Post added at 04:38 PM ---------- Previous post was at 04:38 PM ----------
ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away
peterCR56 said:
ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away
Click to expand...
Click to collapse
This rom has force encrypt enabled, so it will not go away
LumenReaper said:
This rom has force encrypt enabled, so it will not go away
Click to expand...
Click to collapse
good to know, i thought i missed something
:victory: finally
Thank you for doing this!!!
Thank you for working on this device!!! I thought the Tab 4 10 Plus I imported for Korea was never going to see another update after I read the news awhile back. I took the plunge and installed TWRP and rooted my device tonight. I can't wait to get Oreo or even Pie installed on my tablet in the future!
First off, very well done @yener90 and @LumenReaper, thank you.
Am I correct in thinking that if I flash this to my TB-X704V it should work except for the SIM functions ?
Also are Gapps included?
TIA
Sparkrite said:
First off, very well done @yener90 and @LumenReaper, thank you.
Am I correct in thinking that if I flash this to my TB-X704V it should work except for the SIM functions ?
Also are Gapps included?
Click to expand...
Click to collapse
I'm not sure, if X704V works. Try to boot from the recovery, I uploaded, from your pc.
For this switch to bootloader mode and enter fastboot boot twrp.img
If you get on your screen an error like: no dtb found, than your device requires special fix.
Don't try it out then.
yener90 said:
I'm not sure, if X704V works. Try to boot from the recovery, I uploaded, from your pc.
For this switch to bootloader mode and enter fastboot boot twrp.img
If you get on your screen an error like: no dtb found, than your device requires special fix.
Don't try it out then.
Click to expand...
Click to collapse
Cheers, for fast reply.
I'll certainly try that out later today and let you know.
EDIT:
Just tried it and booted to your TWRP just fine, nice landscape view BTW.
All appears OK, but while it "saw" the ext SD I couldn't explore it but I could the explore the internal SD.
Just one thing, when I went to exit by rebooting to system, it crashed and just hung there.
Sparkrite said:
Cheers, for fast reply.
I'll certainly try that out later today and let you know.
EDIT:
Just tried it and booted to your TWRP just fine, nice landscape view BTW.
All appears OK, but while it "saw" the ext SD I couldn't explore it but I could the explore the internal SD.
Just one thing, when I went to exit by rebooting to system, it crashed and just hung there.
Click to expand...
Click to collapse
Thats normal. Install twrp and boot to recovery. There it will never freeze.
Try it out. Before you do copy your system files to your pc. Maybe for your device some files are required.
Just one more thing, as I said, does the ROM have Gapps already installed?
TIA
Sparkrite said:
Just one more thing, as I said, does the ROM have Gapps already installed?
TIA
Click to expand...
Click to collapse
Nope
UPDATE
Download
2019-03-30
• fixed fingerprint
• first attemps fixing camera (will take longer than expected...)
ROM Download
I'm thinking on buying this tablet, but I've heard that the 5ghz wifi has some dropouts. Have anyone test it out with this rom with iperf? (Wifi Speed Test app for example)
Also I'm interested to know what issues have been found with the fingerprint. (1 minute before the dev solved it)
MiSSigNNo said:
I'm thinking on buying this tablet, but I've heard that the 5ghz wifi has some dropouts. Have anyone test it out with this rom with iperf? (Wifi Speed Test app for example)
Also I'm interested to know what issues have been found with the fingerprint.
Click to expand...
Click to collapse
Don't buy it please.
Don't support Lenovo. That ******* dont care about their customers.
I just developed that rom, to show that ****** that its not hard to build an Oreo ROM for this nice tablet.
yener90 said:
Don't buy it please.
Don't support Lenovo. That ******* dont care about their customers.
I just developed that rom, to show that ****** that its not hard to build an Oreo ROM for this nice tablet.
Click to expand...
Click to collapse
What would you recommend instead?
I come from a CHUWI Hipad that was a complete disaster: really hard to even create a TWRP
I've been looking for other alternatives and essentially we have:
Huawei and Kirin: 0% development with closed Kirin processors
Samsung/LG/Asus/Xiaomi: The cheapest with 3Gb goes for over $250 (there aren't many brands with cheap tablets in fact)
Chuwi, Teclast, ... all are **** brands with Mediatek processors that are even worse than Kirin for dev purposes.
So essentially for under $200 with 3Gb+ RAM there is only one Snapdragon tablet called Lenovo Tab4 10 Plus
But the only issue I've found so far reading reviews are the dropouts with 5Ghz WIFI AC band.
MiSSigNNo said:
What would you recommend instead?
I come from a CHUWI Hipad that was a complete disaster: really hard to even create a TWRP
I've been looking for other alternatives and essentially we have:
Huawei and Kirin: 0% development with closed Kirin processors
Samsung: The cheapest with 3Gb goes for over $250
Chuwi, Teclast, ... all are **** brands with Mediatek processors that are even worse than Kirin for dev purposes.
So essentially for under $200 with 3Gb+ RAM there is only one Snapdragon tablet called Lenobo Tab4 10 Plus
But the only issue I've found so far reading reviews are the dropouts with 5Ghz WIFI AC band.
Click to expand...
Click to collapse
Hehehe I also had a Chuwi Tablet and was a disaster . 5GHz was solved with latest update.
Xiaomi Mi Pad 4 Plus sounds nice for me. Xiaomi also has a much better support. It came out after my Lenovo Tablet. If that would be available than, I would buy Xiaomi.
Thanks for this. Great job.
Can we have R/W system? AdAway freezes when trying to overwrite system hosts file. Basically I would be happy with your first release supporting hosts file linked to other path either even without fingerprint or camera support.
yener90 said:
Hehehe I also had a Chuwi Tablet and was a disaster . 5GHz was solved with latest update.
Xiaomi Mi Pad 4 Plus sounds nice for me. Xiaomi also has a much better support. It came out after my Lenovo Tablet. If that would be available than, I would buy Xiaomi.
Click to expand...
Click to collapse
Yeah, I like Xiaomi Mi Pad 4 Plus, the problem is that the cheapest in my country is for $400, if I buy in Aliexpress it goes for nearly $300... and I found this tablet for just $180 (half the price!) in Amazon
I understand that most brand OS support is **** (including Samsung), and I definitely have a Xiaomi Pocophone F1 because they have a really great support not only in ROM dev, but good prices for replacements (screens and all that).
But If they have solved the 5Ghz issue, then I believe that we should even try in the future to go for official Lineage 16 as they did on the oldie Yoga Tab 3 Plus

[ROM][UNOFFICIAL][10][Q]LineageOS 17.1 for z5c (suzuran)

Hi all:
Here is a LineageOS 17.1 ROM for Z5 compact (suzuran).
Download 2022-09-11
This is a 7z archive with the zip'ed rom and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable md5sum checking. The zip file itself is not signed, so you have to disable zip verification.
Kernel sources
Tree sources
Features:
OS Version: 10.0 (Q)
Kernel: Linux 3.10
Kernel 3.10.108
New: Android security patch level: 5 September 2022
Using sony blob's from stock version 32.4.A.1.54
Memory issues finally fixed!
Battery consumption significantly reduced! For further reduction, please follow these instructions.
Google Pay does not give an error when starting the app. This does not mean, that payment is working. I can't test it, because I don't use this feature at all. Please report if it's working or not.
Updated aptX encoder blobs.
P2P-Crashes fixed.
Important informations:
You should be familiar with general installation of custom ROMs.
Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!) There is a version 3.2.3 out there, but with that version I had problems to restore my backups. 3.2.1 is just working perfect for me!
OR use my self built TWRP-version 3.6.2!
This ROM needs a clean install, old /data may cause problems!
This ROM is NOT pre-rooted.
It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
Otherwise the baseband files may not match.
Working:
Bluetooth
Camera; both built-in camera (Snap) and 3-rd party camera apps.
Snap may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
Enforced SELinux support (see attached screenshot)
Fingerprint
FM-Radio
GApps (pick this version: ARM64, 10.0, pico [tested])
German app AusweisApp2 working (see this post)
GPS
Headset
LiveDisplay (see attached screenshots)
Location services
Notification LED
Offline charging
Phone calls (see attached screenshot)
SafetyNet test passed successfully
Signed build
SMS
Torch
WiFi
These things are NOT (or badly) working:
Camera focus at low distances.
Encryption
Payment
Streaming (mirroring)
VoLTE
Maybe some more things are not working.
If you have problems with GApps:
Sometimes the SetupWizard of GApps crashes on and on. Then you have to boot into TWRP, mount system, and go into terminal, where you have to delete SetupWizard (see screenshots):
Code:
cd /system/system/priv-app
rm -rf SetupWizard
Reboot.
Use this rom at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this rom in any way.
Benefits:
Added F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
I've set maximum speaker volume to a higher value.
I've increased microphone gain.
I've changed the microfone gain to avoid echo in phone calls.
Changelog
Troubleshooting:
If you're running into an error, please search in this thread if this error is already posted, before you post it again!
If not, I need a LOG to see what went wrong. Without a LOG I can't help you!
A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:
Code:
adb root
adb shell logcat -b all -d > logcat
Send my this LOG file via PM.
If you think this could be a SELinux related issue, please try to set the device to permissive mode first.
If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:
Code:
adb pull /sys/fs/selinux/policy
If you stuck in a bootloop you can fetch a LOG with this trick:
Press the power button and the volume up button together until the device shuts down.
HOLD the power button.
Release the volume up button and press the volume down button immediately after releasing the volmue up button.
The device should start into TWRP recovery.
Tap on "Advanced", then on "Terminal" and enter these commands line by line:
Code:
cd sys/fs/pstore
cp * /sdcard
Send me the copied file(s), if any, via PM.
Hi Bernie,
First things first : Thank you so much for your amazing work on this device.:highfive:
So hard to find a good, compact and up to date smartphone.
So i tried your Los17.1 and i just noticed another issue : ram usage.
Without nor the gapps neither other apps installed, the system is using 1.6go ram (even the keyboard can take time to appear once you launch an app)
On your Los14.1 (i tried with the last one you created, a few days ago) : it would be something like 0.8go ram (so everything run smoother) still without gapps and other apps / settings.
Maybe, now our days, 3go ram is mandatory for android + gapps + 3rd party ...
Ryu--X said:
So i tried your Los17.1 and i just noticed another issue : ram usage.
Without nor the gapps neither other apps installed, the system is using 1.6go ram (even the keyboard can take time to appear once you launch an app)
Click to expand...
Click to collapse
I know about that. I've tried with gapps and I can confirm that ram is running out of free space. Sometimes the system is not responding any more (screen is flickering and it seems that nothing happens) and I have to restart it (press power button quite a long time until power menu appears).
It is indeed far away from being a daily driver... :angel:
Another issue: It seems that location services (gps) are not working.
Does anybody confirm that?
Although Bernard warmed us that this ROM is not precisely ready yet, I tried to give it a go, Twice, already. At each time, some variations: with and without gapps (Pico and Nano), via the recommended TWRP and the 3.3.1 one. The result is always the same: after the language selection, my phone reboots on the 'Just a sec', endlessly. I have to restore a nandroid backup, on order to have a working phone again.
Sent from my Xperia Z5 Compact using XDA Labs
Berni-0815 said:
It is indeed far away from being a daily driver... :angel:
Another issue: It seems that location services (gps) are not working.
Does anybody confirm that?
Click to expand...
Click to collapse
I can confirm that unfortunately GPS isn't working.
By the way, i saw many other good roms on many devices ... that had an alpha rom far worse than this one
casouzaj said:
Although Bernard warmed us that this ROM is not precisely ready yet, I tried to give it a go, Twice, already. At each time, some variations: with and without gapps (Pico and Nano), via the recommended TWRP and the 3.3.1 one. The result is always the same: after the language selection, my phone reboots on the 'Just a sec', endlessly. I have to restore a nandroid backup, on order to have a working phone again.
Sent from my Xperia Z5 Compact using XDA Labs
Click to expand...
Click to collapse
i didn't have this behavior on my tests, but i usually let the system start and wait for few minutes before using it (especially on 1st boot).
Also, i always reboot once after the 1st boot.
Hope it will help
casouzaj said:
after the language selection, my phone reboots on the 'Just a sec', endlessly.
Click to expand...
Click to collapse
Clean install?
That should not happen...
Ryu--X said:
I can confirm that unfortunately GPS isn't working.
Click to expand...
Click to collapse
You have to enable google's location service in location settings. With that, maps is working with correct location; but I don't know if the location comes from gps, wlan or network. It's raining since many days and I don't want to stand outside in the rain and wait for gps connection... :angel:
I've tried to install f-droid and their location services; no better results...
By the way, i saw many other good roms on many devices ... that had an alpha rom far worse than this one
Click to expand...
Click to collapse
Yes, I know. The problems are always the closed-source binaries from qualcom and sony that are not properly working on LineageOS versions > 14.1
We're working on it but I'm not able to say if we can fix these issues.
BTW: Is anyone able to make an outgoing call successfully?
Berni-0815 said:
Clean install?
That should not happen...
Click to expand...
Click to collapse
Yup,, every single time!
Sent from my Xperia Z5 Compact using XDA Labs
As I said, that should not happen...
Berni-0815 said:
BTW: Is anyone able to make an outgoing call successfully?
Click to expand...
Click to collapse
i tried both calling and receiving a call without issue.
Just a pop up saying mobile network is unavailable ,at the end ,when i hang up (but it's wrong, network is still available)
Ryu--X said:
i tried both calling and receiving a call without issue.
Just a pop up saying mobile network is unavailable ,at the end ,when i hang up (but it's wrong, network is still available)
Click to expand...
Click to collapse
Weird! At my device this popup comes in the moment when trying to make an outgoing call. And this call is not started! The other end does not ring!
Could you please tell us, which preferred network type is set in *#*#info#*#* "Phone info" and in "Mobile network settings" (see screenshots)?
I'm not on any aspect a Dev but I give you all my energy on continuing the developpment of this ROM.
Any other support available ?
Berni-0815 said:
Weird! At my device this popup comes in the moment when trying to make an outgoing call. And this call is not started! The other end does not ring!
Could you please tell us, which preferred network type is set in *#*#info#*#* "Phone info" and in "Mobile network settings" (see screenshots)?
Click to expand...
Click to collapse
Here it is !
And you can make an outgoing call sucessfully? The other end rings and you can make a call?
Berni-0815 said:
And you can make an outgoing call sucessfully? The other end rings and you can make a call?
Click to expand...
Click to collapse
Yes exactly , both ways are ok (incoming and outgoing).
Ryu--X said:
Yes exactly , both ways are ok (incoming and outgoing).
Click to expand...
Click to collapse
Hmmm. Then is must be a problem with my german providers (with their apn I think); I've tested two: T-Mobile and O2. With both I can't make outgoing calls...
New version out; see 1st post
Berni-0815 said:
Hmmm. Then is must be a problem with my german providers (with their apn I think); I've tested two: T-Mobile and O2. With both I can't make outgoing calls...
Click to expand...
Click to collapse
Pretty strange, indeed.
The phone i tested with is on another provider than my z5c.
I got to say that i checked the apn before making my tests, and they were good.
I will retry with the new version tonight .
Thanks
The APN shouldn't matter for regular calls unless you're using Wifi calling or VoLTE, maybe disable both and see if it works.

[ROM][UNOFFICIAL][11][R]LineageOS 18.1 for z5c (suzuran)

Hi all:
Here is a LineageOS 18.1 ROM for Z5 compact (suzuran).
New: ROM with microG apk's included in priv-app:
Download 2023-06-12
Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!
If you want to remove microG, enter these command line by line in a terminal:
Code:
adb root
adb shell
mount -o remount,rw /
rm /system/priv-app/DroidGuard/DroidGuard.apk
rm /system/priv-app/FakeStore/FakeStore.apk
rm /system/priv-app/GmsCore/GmsCore.apk
rm /system/priv-app/GsfProxy/GsfProxy.apk
exit
Reboot!
Or flash this microG-remover.
This is a 7z archive with the zip'ed ROM and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable md5sum checking. The zip file itself is not signed, so you have to disable zip verification.
Kernel sources
Tree sources
Features:
OS Version: 11 (R)
Kernel: Linux 3.10
Kernel 3.10.108
New: Android security patch level: 5 June 2023
Using Sony blob's from stock version 32.4.A.1.54
Important informations:
You should be familiar with general installation of custom ROMs.
Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!)
OR use my self built TWRP-version 3.6.2!
This ROM needs a clean install, old /data may cause problems!
This ROM is NOT pre-rooted. For rooting you can use Magisk.
It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
Otherwise the baseband files may not match.
Working:
Audio
Bluetooth
Camera (with the restriction to 8 MP); both built-in camera (Snap) and 3-rd party camera apps.
Camera2 may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
Enforced SELinux support
Fingerprint
FM-Radio (maybe it needs a few restarts before it's working)
GApps (MindTheGApps 11 arm64)
German app AusweisApp2
GPS
Headset
Hotspot
LiveDisplay
Location services
Notifications
Notification LED
Offline charging
Phone calls
Reboot into recovery and bootloader
SafetyNet test passed successfully
Signed build
SMS
Sounds
Torch
WiFi
...please tell me...
These things are NOT (or badly) working:
Encryption
Camera focus at low distances.
Payment
Streaming (mirroring)
VoLTE
Maybe some more things are not working.Please tell me...
Use this ROM at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this ROM in any way.
Benefits:
Added Aurora-Store, F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
I've set maximum speaker volume to a higher value.
I've increased microphone gain.
I've changed the microfone gain to avoid echo in phone calls.
Changelog
Troubleshooting:
If you're running into an error, please search in this thread if this error is already posted, before you post it again!
If not, I need a LOG to see what went wrong. Without a LOG I can't help you!
A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:
Code:
adb root
adb shell logcat -b all -d > logcat
Send my this LOG file via PM.
If you think this could be a SELinux related issue, please try to set the device to permissive mode first.
If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:
Code:
adb pull /sys/fs/selinux/policy
If you stuck in a bootloop you can fetch a LOG with this trick:
Press the power button and the volume up button together until the device shuts down.
HOLD the power button.
Release the volume up button and press the volume down button immediately after releasing the volmue up button.
The device should start into TWRP recovery.
Tap on "Advanced", then on "Terminal" and enter these commands line by line:
Code:
cd sys/fs/pstore
cp * /sdcard
Send me the copied file(s), if any, via PM.
One last request:
Please, do not ask about problems for which my ROM is not responsible.
From now on I will only react to problems that I can reproduce and that are caused by my ROM.
I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
If you want to remove apps, that are available in much better variants (or that you don't need ), enter these lines one by one in a terminal:
Code:
adb root
adb shell
mount -o remount,rw /
rm -rf /system/product/app/Email
rm -rf /system/product/app/Exchange2
rm -rf /system/product/app/Jelly
rm -rf /system/product/app/Recorder
rm /system/product/priv-app/Eleven/Eleven.apk
rm /system/system_ext/priv-app/Gallery2/Gallery2.apk
"Email" is the built-in E-Mail app, I've replaced it with K-9 Mail
"Jelly" is the built-in browser, I've replaced it with Firefox
"Eleven" is the built-in music-app, I've replaced it with poweramp
"Gallery2" is the built-in picture gallery, I've replaced it with simple gallery pro
Don't forget to reboot!
Hello,
Thanks for updating the ROM!
The performance is about the same (maybe a bit faster), and everything works OK.
However hotspot is still not working for me.
litelinux said:
However hotspot is still not working for me.
Click to expand...
Click to collapse
Oh, I'm sorry, I haven't answered your post in the los18 thread.
I'll take a look at it asap.
I'm using this ROM since some hours now and I have to say, that it's working very good. Better that expected. The device is not getting warm (or hot) and the battery comsumption is very low.
I'll take a closer look at this for some days now.
If the overall performance is convincing, I will delete the "BETA" status...
Is the "Recent Apps" button in the nav bar working?
I just installed this rom, but that button is not working.
Maybe app switcher is missing.
esrevinu said:
Is the "Recent Apps" button in the nav bar working?
I just installed this rom, but that button is not working.
Maybe app switcher is missing.
Click to expand...
Click to collapse
Working for me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Posted on accident, please delete)
@litelinux Thank you for the answer.
I had installed NikGapps full version. It seems that some gapps made that trouble. With NikGapps core, I can use "Recent Apps" button.
But, even NikGapps core version seems to cause unexpected reboots if micro SD card is set as phone storage(adopted storage), not potable storage.
And, is it normal that the fingerprint reader works when the screen is off?
Hello,
Animations are not as smooth as in Android 10, such as:
Opening/closing recents
Notification panel
Background grayout of popup boxes
Horizontal scrolling
Not sure what the problem is...
Sorry for repeating this but I really hope it would be solved.
esrevinu said:
And, is it normal that the fingerprint reader works when the screen is off?
Click to expand...
Click to collapse
I can't confirm that at my device.
litelinux said:
Animations are not as smooth as in Android 10
Click to expand...
Click to collapse
Maybe because it's still in development state? At my device, for example, the fingerprint reader is not working when the device had been in deep sleep mode for a longer time. Then I have to unlock it by using the "normal" swipe...
esrevinu said:
And, is it normal that the fingerprint reader works when the screen is off?
Click to expand...
Click to collapse
Berni-0815 said:
At my device, for example, the fingerprint reader is not working when the device had been in deep sleep mode for a longer time. Then I have to unlock it by using the "normal" swipe...
Click to expand...
Click to collapse
Both are present on my device.
litelinux said:
Both are present on my device.
Click to expand...
Click to collapse
That's right. Something must have been messed up! I have to investigate it more.
Berni-0815 said:
That's right. Something must have been messed up! I have to investigate it more.
Click to expand...
Click to collapse
You need to cherrypick this commit
Keyguard: Allow disabling fingerprint wake-and-unlock · LineageOS/[email protected]
* When the fingerprint sensor is embedded in the power key, wake-and-unlock is total chaos. Add an option to disable it. * The default behavior is unchanged. Change-Id: I50c0a857daba92c17470d...
github.com
Hello,
Thanks for the ROM,
I installed this version, it works fine at the moment.
Indeed, the photo lag application but by installing open camera it's OK.
On the other hand, the resolution of the camera is at the maximum at 8.3MP.
You also have this resolution blocked?
With lineage OS 14 I was at 23MP
esrevinu said:
You need to cherrypick this commit
Click to expand...
Click to collapse
Thanks. I've already seen that there have been made changes in that files. But unfortunately there have been made so much changes that a simple cherry-pick is not possible! I've tried to manually change these files and I'm hoping, it works.
I will report....
FRFaucigny said:
On the other hand, the resolution of the camera is at the maximum at 8.3MP.
You also have this resolution blocked?
With lineage OS 14 I was at 23MP
Click to expand...
Click to collapse
I've blocked nothing! AFAIK the maximum resolution of the built-in sensor is 8,3MP and the resolution of 23MP is realized by software upscaling. Try to take a photo of the same object with 8,3MP and 23MP and compare them. I for myself have never seen any difference.
So, for me 8,3MP is fine..
Bummer. I was hoping root install for F-Droid would be fix by now.
You're right! I haven't tested if the so called "FDroidPrivilegedExtension" can be used in this version. I'll try it next.
Is that what you're meaning?

[ROM][UNOFFICIAL][12][S]LineageOS 19.0 for z5c (suzuran)[ALPHA]

Hi all:
Here is a LineageOS 19.0 ALPHA ROM for Z5 compact (suzuran).
Download 2022-03-12
This is a 7z archive with the zip'ed ROM and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable md5sum checking.
Kernel sources
Tree sources
Features:
OS Version: 12 (S)
Kernel: Linux 3.10
Kernel 3.10.108
New: Android security patch level: 5 February 2022
Using Sony blob's from stock version 32.4.A.1.54
Important informations:
You should be familiar with general installation of custom ROMs.
Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!)
OR use my self built TWRP-version 3.6.0!
This ROM needs a clean install, old /data may cause problems!
This ROM is NOT pre-rooted. For rooting you can use Magisk.
Working:
Audio
Bluetooth
Fingerprint
FM-Radio (maybe it needs a few restarts before it's working)
German App AusweisApp2 (needs extended length NFC data; default in LineageOS 19.0)
LiveDisplay
Location services (see screenshot)
NFC
Notifications
Notification LED
Offline charging
Phone calls
Reboot into recovery and bootloader
Sensors
SMS
Sounds
WiFi
Please tell me...
Please keep in mind: This is an early ALPHA version and in permanent development status.
These things are NOT working (or badly working):
Camera
Encryption
Payment
Streaming (mirroring)
Maybe some more things are not working.
Use this ROM at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this ROM in any way.
Benefits:
Added F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
I've set maximum speaker volume to a higher value.
I've increased microphone gain.
I've changed the microfone gain to avoid echo in phone calls.
Changelog
Troubleshooting:
If you're running into an error, please search in this thread if this error is already posted, before you post it again!
If not, I need a LOG to see what went wrong. Without a LOG I can't help you!
A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:
Code:
adb root
adb shell logcat -b all -d > logcat
Send my this LOG file via PM.
If you think this could be a SELinux related issue, please try to set the device to permissive mode first.
If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:
Code:
adb pull /sys/fs/selinux/policy
If you stuck in a bootloop you can fetch a LOG with this trick:
Press the power button and the volume up button together until the device shuts down.
HOLD the power button.
Release the volume up button and press the volume down button immediately after releasing the volmue up button.
The device should start into TWRP recovery.
Tap on "Advanced", then on "Terminal" and enter these commands line by line:
Code:
cd sys/fs/pstore
cp * /sdcard
Send me the copied file(s), if any, via PM.
One last request:
Please, do not ask about problems for which my ROM is not responsible.
From now on I will only react to problems that I can reproduce and that are caused by my ROM.
I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
The SIM card recognition works now; please stay tuned.
Currently I'm fighting with a crash loop while trying to enter SIM PIN.
Seems this is going to be a longer fight...
Berni-0815 said:
Currently I'm fighting with a crash loop while trying to enter SIM PIN.
Seems this is going to be a longer fight...
Click to expand...
Click to collapse
Hello Berni
For a short time, I tried rom with a spare device.
I also installed NikGapps.
First, it doesn't recognize the sim.
I tried rebooting several times, but it doesn't recognize it.
Also, I can't move the app icon.
The safety net was fine with Magisk.
Please do its best. 
I haven't uploaded my latest changes because they are too unstable!
norabitox said:
I can't move the app icon
Click to expand...
Click to collapse
That's not a bug, that's a feature!
Long-press on an empty part of the screen and tab on "Home settings" and switch the first switch ("Lock layout") to the "on" position.
The logic behind this feature is reverse, so don't wonder.
Berni-0815 said:
That's not a bug, that's a feature!
Click to expand...
Click to collapse
Is that so
Thank you
New version out; see 1st post.
Now working:
Phone calls
SMS
WiFi
FM-Radio (maybe it needs a few restarts before it's working)
LiveDisplay
Offline charging
Notification LED
I could flash your android 12 version. recovery is changed to stock recovery, I reflashed twrp.
Welcome Screen was flickered, after 2 reboots I could create my profile on my z5 compact.
I had a lot of crashed on homescreen.
Call and sms are working.
Weird! I don't have any crashes! Could you please grab and send LOGs?
good work, does gapps work?
Thanks will try out this rom after awhile
Please don't forget: This is a very early ALPHA version! Don't expect any miracle!
And if possible, grab LOGs and search them for fatal errors (" F " <- a blank, a capital letter F and a blank) and for messages like "dlopen failed: cannot locate symbol".
I'm using "grep" for that:
Git:
grep " F " logcat > logcat.fatal
grep "dlopen failed: cannot locate symbol" logcat > logcat.symbol
...or like that...
Hi! Could you port this rom on sony Z5 premium?
I'm only building for suzuran (Z5 compact E5803, E5823)!
Please ask @Joel16 for further assistance.
He's the maintainer for Z5 premium.
Berni-0815 said:
I'm only building for suzuran (Z5 compact E5803, E5823)!
Please ask @Joel16 for further assistance.
He's the maintainer for Z5 premium.
Click to expand...
Click to collapse
Ok THX!
arpias said:
Ok THX!
Click to expand...
Click to collapse
Just an FYI until it gets into more of a 'beta' phase I won't be building android 19 for Z5P.
Joel16 said:
Just an FYI until it gets into more of a 'beta' phase I won't be building android 19 for Z5P.
Click to expand...
Click to collapse
Ok Joel, i'll wait for it, THX in advance!
New version out; see 1st post.
Android security patch level: 5 January 2022
Stability improvements: Removed IMS and VoLTE stuff due to too much weird errors.
New version out; see 1st post.
Sensors now working

[ROM][UNOFFICIAL][BETA][13][T]LineageOS 20.0 for z5c (suzuran)

Hi all:
Here is a LineageOS 20.0 BETA ROM for Z5 compact (suzuran).
New: ROM with microG apk's included in priv-app:
Download 2023-06-26
Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!
If you want to remove microG, enter these commands line by line in a terminal:
Code:
adb root
adb shell
mount -o remount,rw /
rm /system/priv-app/DroidGuard/DroidGuard.apk
rm /system/priv-app/FakeStore/FakeStore.apk
rm /system/priv-app/GmsCore/GmsCore.apk
rm /system/priv-app/GsfProxy/GsfProxy.apk
exit
Reboot!
Or flash this microG-remover.
This is a 7z archive with the zip'ed ROM and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable md5sum checking. The zip file itself is not signed, so you have to disable zip verification.
Kernel sources
Tree sources
Features:
OS Version: 13 (T)
Kernel: Linux 3.10
Kernel 3.10.108
New: Android security patch level: 5 June 2023
Using Sony blob's from stock version 32.4.A.1.54
Important informations:
You should be familiar with general installation of custom ROMs.
Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!)
OR use my self built TWRP-version 3.7.0!
This ROM needs a clean install, old /data may cause problems!
This ROM is NOT pre-rooted. For rooting you can use Magisk.
It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
Otherwise the baseband files may not match.
Working:
Audio
Enforced SELinux support
Fingerprint (sometimes crashes)
GApps (tested: MindTheGApps)
German App AusweisApp2
GPS
LiveDisplay
Location services
NFC
Notifications
Notification LED
Offline charging
Phone calls
Reboot into recovery and bootloader
Sensors
Signed build
SMS
Sounds
WiFi
...please tell me...
These things are NOT (or badly) working:
Bluetooth
Camera
Encryption
FM-Radio (removed; causes crashes of bluetooth!)
Headset
Network Traffic Monitoring
Payment
Streaming (mirroring)
Torch
VoLTE
Maybe some more things are not working. Please tell me...
Use this ROM at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this ROM in any way.
Please keep in mind, that this is a BETA version and there are some things not or not fully working. The ROM feels a little bit sluggish too! Please don't expect miracles...
...but it WORKS!
Benefits:
Added Aurora-Store, F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
I've set maximum speaker volume to a higher value.
I've increased microphone gain.
I've changed the microfone gain to avoid echo in phone calls.
Changelog
Troubleshooting:
If you're running into an error, please search in this thread if this error is already posted, before you post it again!
If not, I need a LOG to see what went wrong. Without a LOG I can't help you!
A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:
Code:
adb root
adb shell logcat -b all -d > logcat
Send my this LOG file via PM.
If you think this could be a SELinux related issue, please try to set the device to permissive mode first.
If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:
Code:
adb pull /sys/fs/selinux/policy
If you stuck in a bootloop you can fetch a LOG with this trick:
Press the power button and the volume up button together until the device shuts down.
HOLD the power button.
Release the volume up button and press the volume down button immediately after releasing the volmue up button.
The device should start into TWRP recovery.
Tap on "Advanced", then on "Terminal" and enter these commands line by line:
Code:
cd sys/fs/pstore
cp * /sdcard
Send me the copied file(s), if any, via PM.
One last request:
Please, do not ask about problems for which my ROM is not responsible.
From now on I will only react to problems that I can reproduce and that are caused by my ROM.
I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
Hello! Can you made this rom for z5 premium?
No! There is a maintainer for z5p, please ask him.
Berni-0815 said:
No! There is a maintainer for z5p, please ask him.
Click to expand...
Click to collapse
Okay, thx!
Awesome, thanks for the constant support to z5c!
New version (Halloween edition!) out; see 1st post.
No crashes any more; therefore I've bumped this version to BETA state
Bluetooth crashes no longer. A connection can be established, but it disconnects again immediately after connection; dunno why!
FM-Radio removed; it caused crashes of bluetooth
GApps are working! I've tested MindTheGApps
Oh! I've forgotten: Signature spoofing is now working!
Haven`t tested your new release on my old Xperia Z5C yet, but I installed unofficial LOS 20.0 in my Xperia XZ2, by @dtrunk90, and with his ROM, bluetooth A2DP/AVRCP profiles work pretty fine. Don`t know if the kernel plays a critical part on this matter. For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it. Thanks for giving our old little beast a new life, anyway!
casouzaj said:
Haven`t tested your new release on my old Xperia Z5C yet, but I installed unofficial LOS 20.0 in my Xperia XZ2, by @dtrunk90, and with his ROM, bluetooth A2DP/AVRCP profiles work pretty fine. Don`t know if the kernel plays a critical part on this matter. For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it. Thanks for giving our old little beast a new life, anyway!
Click to expand...
Click to collapse
Not sure if this helps but check the comments in https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/339303
For some reason switching BtAudio to AIDL breaks a2dp offload for some devices.
I've tried to reactivate a2dp. Unsuccessfully. It's now realized as a module and that's not the same as before.
casouzaj said:
For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it.
Click to expand...
Click to collapse
Feel free to port the kernel to 4.9 or anything else. We won't, because this really is a pain in the ass and could end in total frustration...
New version out; see 1st post.
Android security patch level: 5 November 2022
Los20 with MindTheGApps shows unreproducible random crashes. Until now I dunno why and I'm working on it.
But I think, it's not at my side and has to do with the (so my idea) early beta build of MindTheGApps...
I've tested on my Z5c with "NikGapps-go" yedterday and it work very well (store, mail, galery, map) without any crash.
MMS working after manual configuration of the APN (SFR).
The ROM is very smooth, more faster than lineage 19. Nice job!
Berni-0815 said:
it's not at my side and has to do with the (so my idea) early beta build of MindTheGApps
Click to expand...
Click to collapse
I've seen a lot of java illegal exception error messages; so, yes, its a problem at MindTheGApps' side.
Gadoin said:
I've tested on my Z5c with "NikGapps-go"
Click to expand...
Click to collapse
What are the differences between "core" and "go"? What does "go" exactly mean?
Berni-0815 said:
What are the differences between "core" and "go"? What does "go" exactly mean?
Click to expand...
Click to collapse
"go" apps are for low-end devices.
Apps run into navigator.
Navigator? Is that a kind of browser?
Oops i'm sorry for my english, i mean browser.
"go" apps runs into default browser.
Hm, our Z5C is now rather low-end, compared to today's flagships
So the Go version might be just the right thing. Sadly, I didn't get it to work on 19, and I'm still a bit afraid to switch to 20
NikGApps (I've installed the "core" flavour!) are working flawlessly indeed. Much better than MindTheGApps!

Categories

Resources