[ROM][UNOFFICIAL] LineageOS 18.0 for Sharp Aquos S2 [SS2] [11.0] - Android General

{
"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:
#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 11.x (R),
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. For VoLTE, you need to enable it on stock firmware, then flash this modem via fastboot. Download link
Code:
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
Downloads Links
LineageOS 18.0:
Unofficial-build: Link
LineageOS 17.1:
Unofficial-build: Link
Notice: For LineageOS 17.1, if you doesn't have signal, please flash heineken78's treble 5.3 and my modem. REMEMBER, you need to get singal on treble 5.3 at first, then flash LineageOS 17.1.
Google Applications (optional):
You need to find the one for Android 11.
Flashing and updating
How to flash
Make sure you upgraded to Official Android 8.1 from Sharp
Unlock bootloader is necessary.
You could flash 20201010 version via fastboot.
Root access:
Flash Magisk in recovery via adb sideload.
XDA:DevDB Information
Lineage 18.0 for Sharp S2, ROM for the Sharp S2
Thanks for heineken78's work of camera blobs on his LineageOS 17.1 build.
Source
Source Code: https://github.com/LineageOS
Device-tree: https://github.com/sharp-sdm660
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
ROM Firmware Required: Official Android 11.0 firmware
Based On: LineageOS
Version Information
Status: Testing
Created 2020-10-10
Last Updated 2020-11-13

FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: Ok
- Wireless display: Not-tested
- RIL - Phone - Data: Ok
- VoLTE: Ok
- GPS: Ok
- Camera: Ok
- Camcorder: Ok
- Lights: Ok
- MicroSD: Not-tested
- 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: Widewine L3
- Offline Charging: No
- USB: Ok
- USB Tethering: Ok
- USB OTG: Ok
- Encryption: Ok
- SEPolicies: Enforce

Bluetooth audio: connect to the headphones but doesn't work

stillka said:
Bluetooth audio: connect to the headphones but doesn't work
Click to expand...
Click to collapse
Thanks for feedkback, this should be because of LineageOS 18.0' source is not completed. I will check it when compile again.

@Sjll, thank you for LOS 18. Am noting some comments about it on the largest Sharp S2 4pda.ru forum, particularly compared to the widely used @heineken78 LOS 17.1. Integrating TWRP recovery would be appreciated.
Usual TWRP recovery is missing
Recovery is different. It is necessary to put something like a gaps through a fastboot
recovery is similar to stock
Can someone sew custom recovery into the bottle from Los 18? In the Los 18 boot stock recovery.
just need to put the boot from LOS 17.1, the firmware has a standard recovery
Click to expand...
Click to collapse
Google Pay not working
Google playmarket error constantly: the device is not certified
If you make a format after installing gaps, it starts, but the device does not write certified
Click to expand...
Click to collapse

paulzie said:
@Sjll, thank you for LOS 18. Am noting some comments about it on the largest Sharp S2 4pda.ru forum, particularly compared to the widely used @heineken78 LOS 17.1. Integrating TWRP recovery would be appreciated.
Usual TWRP recovery is missing
Google Pay not working
Click to expand...
Click to collapse
No problem, For twrp, I think there is a hot-boot version if you googled it. Link
If necessary, I will build one for S2.
Try
Code:
fastboot boot twrp.img
About Gpay and other bugs, we need to wait for LineageOS fix them.
BTW, if someone could catch a log on SAT(sdm660), I will try to fix LineageOS 18.0 on it.
Method:
1. Flash LineageOS 18.0 by fastboot.
2. Hot-boot into twrp, then format data.
3.
Code:
adb push adbkey.pub /data/misc/adb/adb_keys
For Linux, adbkey.pub is in
Code:
cd ~/.android
For Windows, it is in
Code:
C:\Users\<YOUR USER NAME>\.android
4. Reboot, catch a full log
Code:
adb logcat -b all > sat.txt

Sjll said:
About Gpay and other bugs, we need to wait for LineageOS fix them.
Click to expand...
Click to collapse
Hi there is no Lineage fixes for Gpay.
Gpay has dependencies from props and selinux status, even official Lineage will fail Gpay checks.
Gpay is only for locked device and stock rom or look for solution with Magisk.

heineken78 said:
Hi there is no Lineage fixes for Gpay.
Gpay has dependencies from props and selinux status, even official Lineage will fail Gpay checks.
Gpay is only for locked device and stock rom or look for solution with Magisk.
Click to expand...
Click to collapse
KK, other people told me Gpay is supported if we could pass safetynet. But I could not test it because Gpay is not available for me.

Sjll said:
KK, other people told me Gpay is supported if we could pass safetynet. But I could not test it because Gpay is not available for me.
Click to expand...
Click to collapse
Hello, I installed your firmware. I tried to put google through bitegapps, the device is not certified. You can solve the problem with google to further study the firmware.

Noticed a new lineage-18.0-20201019-UNOFFICIAL-SS2.zip (Oct-19) download is available. Any feedback for the developer?

heineken78 said:
Hi there is no Lineage fixes for Gpay.
Gpay has dependencies from props and selinux status, even official Lineage will fail Gpay checks.
Gpay is only for locked device and stock rom or look for solution with Magisk.
Click to expand...
Click to collapse
Hi. I flashed your Lineage 17.1 rom for Sharp S3 from scratch, without any fixes and so on, just flashed Gapps and Gpay works without any problems. No magisk or any tools are installed. Is this fine?

@Angel_666, there is a dedicated thread you may consider directing your @heineken78's LOS17.1 query to:
Lineage 17.1 *UNOFFICIAL* for FIH (SAT/SS2/HH1/HH6/HD1/DRG)

New version uploaded.
@stillka Bluetooth-audio fixed. :

@Sjll , thank you for the new build. Are there any other changes here for previous mentioned issues?
- integrated TWRP recovery
- Gapps "not certified" fix
- Gpay working?
- SAT (SDM660 6/128GB) support

Sjll said:
New version uploaded.
@stillka Bluetooth-audio fixed. :
Click to expand...
Click to collapse
Hi,
the ROM is packaged in .zip, inside is "payload.bin", HOW should I flash it?!
Thank you.

paulzie said:
@Sjll , thank you for the new build. Are there any other changes here for previous mentioned issues?
- integrated TWRP recovery
- Gapps "not certified" fix
- Gpay working?
- SAT (SDM660 6/128GB) support
Click to expand...
Click to collapse
Hi, for twrp, there is a standalone one, after I solved some issues left, I will release it. If you need built-in twrp. You could install it manually.
For gapps, you need to ask other people, I do not know the meaning.
For SAT, I only have a sdm630 S2, I will try to solve it if I have time.
stillka said:
Hi,
the ROM is packaged in .zip, inside is "payload.bin", HOW should I flash it?!
Thank you.
Click to expand...
Click to collapse
Flash the old fastboot version.
Enable adb debug, then run
Code:
adb reboot recovery
You will boot into Lineage rec.
Choose apply update, then adb sideload the new zip.

Sjll said:
Flash the old fastboot version.
Enable adb debug, then run
Code:
adb reboot recovery
You will boot into Lineage rec.
Choose apply update, then adb sideload the new zip.
Click to expand...
Click to collapse
I downloaded older version but its same format, can you give me link for that oldest initial version (which I tested first time..)
Sent from my Mi MIX 2S using Tapatalk

stillka said:
I downloaded older version but its same format, can you give me link for that oldest initial version (which I tested first time..)
Sent from my Mi MIX 2S using Tapatalk
Click to expand...
Click to collapse
The oldest version is v20201010-fastboot.

Sjll said:
The oldest version is v20201010-fastboot.
Click to expand...
Click to collapse
Hi, thanks, I am on latest release now, but I was not able to find gapps which can be flashed using adb sideload and works, can you recommend working gapps version?
(or how to flash gapps?)
p.s: I had to flash gapps again because first time it flashed to wrong slot (_a/_b), now I have gapps, I am getting to test the rom...

So, I cant use google store - This device isn't play protect certified.....

Related

[9] LineageOS 16.0 for z3c

{
"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 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.
*/
Introduction
LineageOS, an open-source Android distribution, is available for several devices,
with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
Join us and breathe new life in your device, be it old or new.
Click to expand...
Click to collapse
If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.
Images
Here are some Screenshots of this ROM.
Features
Individuality
Customization is paramount to productivity.
That’s why LineageOS promises to push for user personalization and preference.
Everyone is unique and your device should be too.
Click to expand...
Click to collapse
Security
Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
Trust will help you understand the security of your device and warn you about possible threats.
We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
And to make your device more secure, lock everything behind an enhanced lock screen.
Click to expand...
Click to collapse
Longevity
LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.
Click to expand...
Click to collapse
Installation instructions
Prerequisites:
Unlocked Sony Xperia Z3 Compact
Fastboot drivers to install TWRP
Micro-USB Cable to connect your phone to your computer
Install:
Reboot to TWRP. *
Wipe cache, dalvik cache, data and system.
Format data to get rid of encryption.
Install ROM.
Install 9.0 Gapps for ARM. **
* recommended TWRP: Post #2
** optional
Update:
Get the latest build
Boot into TWRP
Flash the downloaded build
Reboot, if you don't wipe system backuptool will handle to reapply your modifications, for example: GApps.
Changelog
Code:
Changelog 2019-10-07
* Fixed offmode charging at Wall chargers (previously bright screen)
* Fixed offmode charging at computers (previously reboot loop)
Old Changelogs
Code:
Changelog 2019-10-06
* Fixed camera for everyone
* Set media volume steps to 25 and voice call volume steps to 7
* Actually use our cache partition, previously we were using a link to /data/cache instead of mounting the cache partition as /cache
* Cleanup of rootdir scripts
Code:
Changelog 2019-08-28
* Rolled fingerprint back to Sony's 5.1.1 fingerprint
-> safetynet CTS check works again
* Set original shipping API level to KitKat
* Minor cleaning
Code:
Changelog 2019-08-14
* Singificantly improved GPS
* August Android Security Bulletin
* Cleaned, script generated vendor
Code:
Changelog 2019-08-05
* Attempt to fix ANT+
* Added settings to control the camera button
Code:
Changelog 2019-07-08
* July Android Security Bulletin
* Rebased Linux 3.4.113 Kernel
-> Solved video recording lags with Snap
Code:
Changelog 2019-06-15
* Fixed Audio problems
* LED Notifications work again
* Manual Network selection fixed
Code:
Changelog 2019-06-07
* June Android security Bulletin
* LED seems to work with notifications now
* 4.0 Audio HAL -> NO, this does NOT fix our problems :/
Code:
Changelog 2019-05-10
* Enforcing sepolicy
* Fixed sensors
* Fixed FM Radio
* Fixed EXFat, sdfat and vfat
* Camera works fine
* May Android Security Bulletin
* Sound seems fixed - Maximum Volume still decreases still after a few seconds when using internal speakers
Code:
Changelog 2019-05-06
* Fixed AudioFX
* Fixed Camera
Code:
Changelog 2019-04-24
* Fixed Notification LED
Code:
Changelog 2019-02-19
* Fixed GPS
* Fixed Video Playback
Code:
Changelog 2019-01-09
* Fixed Bluetooth
Downloads
Download the ROM
Sources
DEVICE:
https://github.com/z3c-pie/device_sony_z3c
https://github.com/z3c-pie/device_sony_msm8974-common
https://github.com/z3c-pie/device_sony_shinano-common
KERNEL:
https://github.com/z3c-pie/kernel_sony_msm8974
Addons
OpenGapps
Magisk
SU-Addon
Thanks
Whole LineageOS Team for this amazing ROM
@rcstar6696
@Myself5
@drakonizer
@tomascus
@koron393
@nailyk
@SpiritCroc
I hope I haven't forgot anyone
Bugs
WHAT'S BROKEN
4K Video recording doesn't work in stock camera, but works for example in OpenCamera.
You tell me.
FAQ
Q: Why i can't reboot into the recovery from advanced reboot?
A: Because you have installed Magisk 19.1 which breaks it. Keep up to date here: https://github.com/topjohnwu/Magisk/issues/1418 - fixed by @Myself5 since 2019.05.20
XDA:DevDB Information
[9] LineageOS 16.0 for z3c, ROM for the Sony Xperia Z3 Compact
Contributors
NeoArian
Source Code: https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Current Stable Version: lineage-16-20190510
Stable Release Date: 2019-05-10
Created 2019-01-05
Last Updated 2019-10-10
TWRP 3.3.1 for our z3c out of an Android 9.0 environment!
Changes:
Code:
3.3.1-0.4-z3c
* Fixed fastboot boot
* Added bootlogo
* Dropped TWRP App
Code:
3.3.1-0.3-z3c
* Fixed encryption when security patch level doesn't match the recovery's
- [url]https://github.com/z3c-pie/twrp_device_sony_z3c/commit/411862532c247aea2c7b48d52aa596b40305e9ea[/url]
Code:
3.3.1-0.2-z3c
* Added a script to handle the CPU
-> increased the battery life significant ([url]https://github.com/z3c-pie/twrp_device_sony_z3c/commit/63f864068ad2f17ae2f1202b4edc311d74e2803d[/url])
Code:
3.3.1-0.1-z3c
* Fixed time
* Further Clean up's
Code:
3.3.1-0-z3c
* Switched from Android 6.0 to Android 9.0 environment
* Completely reworked tree
* Working decryption
The latest build is attached to this post.
Old builds are available here: https://sourceforge.net/projects/ephedraceae/files/z3c/twrp/
Source is available at: https://github.com/z3c-pie/twrp_device_sony_z3c/tree/android-9.0
How to install this build:
Rename the downloaded twrp image to twrp.img
Reboot to fastboot by holding volume up while connecting your device to your computer
Open a terminal and move to the directory with TWRP in it
Type
Code:
fastboot flash recovery twrp.img
Boot into TWRP while the device is powered off press the power and volume down button
Feel free to ask questions or give feedback about TWRP here .
Have a nice day!
Additional information about the recovery on this device:
First of all we should make the basics clear: On our Z3 Compact we have got a bootloader update which can boot a recovery from powered off state by pressing volume down and the power button. Because we haven't ever had this updated bootloader and not all sony devices received the update, there have been some intelligent people who brought a special init binary which can handle recovery boots during a normal boot. This means when using advanced reboot from the ROM or pressing a volume key while the sony logo appears at boot. https://github.com/LineageOS/android_device_sony_common/commits/lineage-16.0
To make this work there is this method to extract the ramdisk: https://github.com/LineageOS/androi...eage-16.0/extract_ramdisk/extract_ramdisk.cpp which uses zlib to decompress it. So far so good, zlib can decompress the default compression for recovery ramdisk which is gzip. However LZMA is more effective to reduce the size so we took it's advantage: https://github.com/omnirom/android_...mmit/885b01223a460d3f2500155ea415bdc8573679bc in order to fit recoverys compiled from recent environments (android-9.0 in my case) into our small FOTAKernel partition.
According to this change the init_sony can't handle the recovery boot anymore because it can't decompress the recovery's ramdisk so nailyk and Diewi (as far as i know) added support to decompress LZMA compressed ramdisk's with this chain: https://github.com/sonyxperiadev/device-sony-common-init/pull/20/commits
However these commits have never been merged into the LineageOS/android_device_sony_common nor the sonyxperiadev/device-sony-common-init. Since your ROM, CarbonROM, is using a fork of LineageOS/android_device_sony_common is missing these commits the recovery boot fails with a kernel panic, like this: https://del.dog/egawososux.htm
So you can either use a recovery which doesn't compress the ramdisk with LZMA (for example the one from here: https://forum.xda-developers.com/z3-compact/development/recovery-twrp-3-2-3-0-aries-t3837192 or ask your ROM developer to pick the according commits into the sony_common tree/use my fork of LineageOS's one https://github.com/z3c-pie/android_...mits/fa85dfcc07f42d73f9a1abf1f4c82d8bf0486a93 which would enable you to use recent TWRP builds with a LZMA compressed ramdisk.
I hope i presented it clearly and in the right way,
Have a nice day!
EDIT: Minimized patch for LZMA is available here: https://review.lineageos.org/c/LineageOS/android_device_sony_common/+/252923
Click to expand...
Click to collapse
Reserved
Hi, I can't open your thread in XDA Labs app, I suppose that's the case of many people and that's why there is not much views and comments on this thread.
I didn't tried yet your ROM but it sound great and will try it ASAP.
Also which recovery do you recommend to avoid errors like error 7 (if I remember) ?
Also will you continue to work on RR ?
EDIT : after posting this comment via browser, I can now open this thread in XDA Labs
EDIT 2 : everything is working
SUPER KOKA said:
Hi, I can't open your thread in XDA Labs app, I suppose that's the case of many people and that's why there is not much views and comments on this thread.
I didn't tried yet your ROM but it sound great and will try it ASAP.
Also which recovery do you recommend to avoid errors like error 7 (if I remember) ?
Also will you continue to work on RR ?
EDIT : after posting this comment via browser, I can now open this thread in XDA Labs
Click to expand...
Click to collapse
I use twrp-3.2.3 from here: https://forum.xda-developers.com/z3-compact/development/recovery-twrp-3-2-3-0-aries-t3837192.
I don't know yet about RR. I wanna see first whether we can get Bluetooth and gps working as soon as possible.
https://sourceforge.net/projects/ep...age-16.0-20190109-UNOFFICIAL-z3c.zip/download
Another build was uploaded with the latest lineageos updates including the January android security bulletin. On the device side Bluetooth was fixed
Installed without any problems
You did a great job!
Installed without any problems. It seems all functions work fine!
update
I've been in lineage, whether for the latest version update I have to hard reset or like the ota update
SUPER KOKA said:
EDIT 2 : everything is working
Click to expand...
Click to collapse
Great to hear!
CDLion said:
You did a great job!
Installed without any problems. It seems all functions work fine!
Click to expand...
Click to collapse
Thanks!
muhibbuddin irsyad said:
I've been in lineage, whether for the latest version update I have to hard reset or like the ota update
Click to expand...
Click to collapse
To be honestly I can't follow you. Do you mean that you don't know how to update the build? For this case you have to download manually and flash it in TWRP. There are no wipes needed.
Hi, thanks for this and how is the battery performance?
Any plans for making an LineageOS for microG rom?
Thanks for the ROM, I am using it right now, everything is working good except the camera. Can take photos, but video is not working. When I'm switching to video, the app is freezing and stuck. I tried to use the stock camera with magisk, it can't take photos or video neither. Tried manual camera too, it can take photos but no video.
etram said:
WOW ... !!!
Great Job.
What about the notification LED?
Click to expand...
Click to collapse
Just tested shortly, it seems to be broken, I will add to broken things list. Thanks to notify (?)
I flash the recovery and I delete assers but I can not install this rom every time updater process ended with error 255 .Can you help me?
my log
frht5382 said:
I flash the recovery and I delete assers but I can not install this rom every time updater process ended with error 255 .Can you help me?
my log
Click to expand...
Click to collapse
I try and I install 20180105 build but I cant install new build why ?
twrp 255 error
frht5382 said:
I flash the recovery and I delete assers but I can not install this rom every time updater process ended with error 255 .Can you help me?
my log
Click to expand...
Click to collapse
frht5382 said:
I try and I install 20180105 build but I cant install new build why ?
twrp 255 error
Click to expand...
Click to collapse
Are you sure that you use the recovery from here?
https://forum.xda-developers.com/z3-compact/development/recovery-twrp-3-2-3-0-aries-t3837192
NeoArian said:
Are you both sure that you use the recovery from here?
https://forum.xda-developers.com/z3-compact/development/recovery-twrp-3-2-3-0-aries-t3837192
Click to expand...
Click to collapse
Solved.I dowloaded false file which 632 mb.Now I re download true file and it work thank you
frht5382 said:
Yes I am sure.I install 2019 01 05 build it work but I try 20190109 fail everytime error code 255
edit
I've just realized I clik download button and if I download latest version green color button I download 631 mb but down of button lineage-16.0-20190109-UNOFFICIAL-z3c.zip 448 mb which one should I download ?
why different size ?
Click to expand...
Click to collapse
The 631mb Rom is for my Xiaomi Mi 6, you have to use the one for z3c
NeoArian said:
Tue 631mb Rom is for my Xiaomi Mi 6, you have to use the one for z3c
Click to expand...
Click to collapse
I installed thank you .How to enable root access? Or magisk work ?
frht5382 said:
I installed thank you .How to enable root access? Or magisk work ?
Click to expand...
Click to collapse
Magisk works.

[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte]

{
"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 10 (Q), 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's working :
Boots
RIL (Calls, SMS, Data)
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
GPS
NFC
Flashlight
Mobicore keystore
Known issues:
VoLTE
Selinux is permissive
Instructions :
If you're on oreo, flash OneUI latest.
Download the latest build.
Reboot to recovery
Flash the latest build.
Optional: Flash GApps for Google Services and Magisk for root.
Reboot
Downloads :
All updates will be here.
Sources :
Device Tree
Common Device Tree
Vendor Blobs
Kernel Source
XDA:DevDB Information
[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte], ROM for the Samsung Galaxy J4+
Contributors
ataberkozen
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: OneUI, U2
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 1.1
Beta Release Date: 2020-02-25
Created 2020-02-25
Last Updated 2020-03-10
Changelogs :
Public Beta 3 - 18/03/2020 :
Fixed a issue which some users have broken ril.
Fixed a issue which some users have broken nfc.
Public Beta 2 - 10/03/2020 :
Merge Security Patch: 5 March 2020
Fix audio on second sim: @Geckyn
Fix HDR on Camera.
Fix FM Radio.
Fix torch releated issues.
Fix Mac Adress releated issues.
LineageOS Source Upstream.
Public Beta 1 - 26/02/2020 :
First public release.
Special Thanks :
@BarryBlackCat for non-stop, day and night testing builds.
@Geckyn for pointing out some stuff. Thanks man.
I will NOT accept your bug report if you are using a custom kernel.
I will NOT accept your bug report if you are using a modification (Like some magisk modules etc.).
I will NOT check your bug report if you didn't provide any logs (Some bugs may will be checked).
Camera doesn't take HDR photo (or hang when switching between HDR and non HDR mode), it also happened on other custom ROM as well.
No magisk module or custom kernel installed.
Here is the logcat with "camera" keyword as filter: https://pastebin.com/RrDvAtjw
Andhika24kd said:
Camera doesn't take HDR photo (or hang when switching between HDR and non HDR mode), it also happened on other custom ROM as well.
No magisk module or custom kernel installed.
Here is the logcat with "camera" keyword as filter: https://pastebin.com/RrDvAtjw
Click to expand...
Click to collapse
Thanks.
KotaMangga said:
Ashyx kernel sir?
Click to expand...
Click to collapse
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.
No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.
No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).
ROM screenshot: (Stock apps are actually there and just like in LOS 16, sorry I already uninstalled most of them)
Andhika24kd said:
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.
No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.
No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).
Click to expand...
Click to collapse
OK , thanks for the tutorial also the full explanation
Can we get some screenshots?
any temp fix for VoLTE and sec sim voice
swarupgolui said:
any temp fix for VoLTE and sec sim voice
Click to expand...
Click to collapse
Maybe you could try sending logcat when attempting voice (call?) on SIM 2. There is a handy app on Play Store called "Logcat Reader" to catch & filter logs easily, just press to round button to record the logs.
I currently can't do it since I don't have someone important to call.
swarupgolui said:
any temp fix for VoLTE and sec sim voice
Click to expand...
Click to collapse
Samsung's ims is heavily OneUI framework dependent. Fixing it is kinda miracle. I don't think it will be ever fixed. But if you contact me on telegram, we might try to fix it. Also trying to fix voice of second sim.
This rom for j6+ sir? , I cant flash it .
KotaMangga said:
This rom for j6+ sir? , I cant flash it .
Click to expand...
Click to collapse
Check the thread on j6+ forum.
ataberkozen said:
Samsung's ims is heavily OneUI framework dependent. Fixing it is kinda miracle. I don't think it will be ever fixed. But if you contact me on telegram, we might try to fix it. Also trying to fix voice of second sim.
Click to expand...
Click to collapse
telegram link?
swarupgolui said:
telegram link?
Click to expand...
Click to collapse
MacTavishAO
ataberkozen said:
MacTavishAO
Click to expand...
Click to collapse
already send the msg reply plz
my id @metalgod_IN
ataberkozen said:
Check the thread on j6+ forum.
Click to expand...
Click to collapse
no, I mean it's for j4+?
E3004 : This package is for j6primelte ; your device is j4primelte.
KotaMangga said:
no, I mean it's for j4+?
E3004 : This package is for j6primelte ; your device is j4primelte.
Click to expand...
Click to collapse
Don't click on "Download Latest Version", click on zip name with j4primelte.
I has installed the rom sir , this rom more faster.
I see little problem :
1. when i change to power saver , battery indicator going red . but after switch mode , its back normal

[ROM][UNOFFICIAL][12] LineageOS 19 for Xperia X Compact [FINAL]

{
"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:
#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 12, 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 organization.​And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​You can also view the changelog for a full list of changes & features.​​Official LineageOS website : http://lineageos.org​About LineageOS Legal : http://lineageos.org/legal​
Important Information
1. This ROM operates without ODM images, just follow the installation instructions.​2. This ROM does not intended to support Google Camera, but you can try some mods.​​Downloads Links
LineageOS 19:​Unofficial: https://sourceforge.net/projects/loire-development/files/lineageos-19.1/kugo​​Google Applications (optional):​MindTheGapps: https://androidfilehost.com/?w=files&flid=322935 (Android 12.1 -> arm64)​XDA post about GApps: https://xda-developers.com/download-google-apps-gapps​​Recommended Recovery (optional):​TWRP 3.x: https://forum.xda-developers.com/-/-t3793837​
Flashing and updating
Please install the latest version of TWRP to avoid further issues with recovery!​
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
You can also update using the built-in Updater (requires at least TWRP 3.6.x or LineageOS Recovery)​
About the builds:
Kernel sources: https://github.com/Chippa-a/android_kernel_sony_msm8956​
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
Grab a logcat right after the problem has occurred
(Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing)
If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0
(Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Also thanks to:
The LineageOS Team
The SODP Team
Everyone involved in working and testing
Contributors
Chippa_a
ROM OS Version: 12.x
ROM Kernel: Linux 4.9.x
Version Information
Status: Stable
FEATURES AND ISSUES
Boot: Ok
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
QTI sensors: Ok
Touchscreen: Ok
FM Radio: N/A
Fingerprint: Ok
Vibrator: Ok
Microphone: Ok
Audio & music: Ok
Bluetooth audio: Ok
NFC: Unknown (HCE: Unknown)
Kernel: Ok
Graphics: Ok
3D Rendering: Ok
Clock: Ok
DRM: Unknown
Offline Charging: Ok
USB: Ok
USB Tethering: Ok
USB OTG: Ok
Encryption: Ok
SEPolicies: Enforcing
what the ...!?
i downloaded los18 just yesterday, installed it this morning and now i see los19 sneaked by
thank you so much chippa_a, i will try it out tomorrow
unbelievable what your doing to this oldschool device.
Gcam works perfectly on it. Thanks a lot for this device!!!
This works beautifully and is really smooth. Never thought I'd see another rom for the XC again.
Can confirm that GCam 8.x with HDR actually works! (No crashes, or stuttering) Unlike previous roms with the most recent kernel before this new one. I don't know what magic you pulled to make this happen but thank you!
Thanks for this rom! It is very fast.... Only Chrome browser is laggy...
decsimon said:
Thanks for this rom! It is very fast.... Only Chrome browser is laggy...
Click to expand...
Click to collapse
I haven't experienced this. For me normal browsing was pretty smooth.
Have you also flashed the kernel from the .zip?
I must say that for now everything seems to work fine for me (incl. Gapps).
Tested fingerprint reader, 4G, DRM with Tidal, smooth and responsive Maps / Android Auto, smooth Chrome. No sudden reboot for now.
konstruktor said:
I haven't experienced this. For me normal browsing was pretty smooth.
Have you also flashed the kernel from the .zip?
I must say that for now everything seems to work fine for me (incl. Gapps).
Tested fingerprint reader, 4G, DRM with Tidal, smooth and responsive Maps / Android Auto, smooth Chrome. No sudden reboot for now.
Click to expand...
Click to collapse
Ok, what steps for flash kernel i must to follow? Rom, gapps, kernel? Magisk is a problem or i can flash it? (i need it for apk bank)
decsimon said:
Ok, what steps for flash kernel i must to follow? Rom, gapps, kernel? Magisk is a problem or i can flash it? (i need it for apk bank)
Click to expand...
Click to collapse
You won't need to flash the kernel separately, it's included in the zip:
1. Boot to TWRP.
2. Install the Lineage zip file.
3. Reboot to recovery.
4. Optional: In TWRP, install/flash Magisk 24.1 and/or MindThe GApps.
That's it. No issues with Chrome lag either. I've tried a few browsers and they all work well.
I've tested a few GCams, I find these two work best so far:
Parrot043: MGC_7.6.008_Parrot043_V7.apk
Download MGC_7.6.008_Parrot043_V7.apk by Parrot043.
www.celsoazevedo.com
Parrot043: PMGC_7.2.014_Relesed_V1.apk
Download PMGC_7.2.014_Relesed_V1.apk by Parrot043.
www.celsoazevedo.com
In the Advanced Settings, make sure to change AI White Balance to "Pixel 3 XL" for best colour accuracy.
Note: For the front selfie cam to work, you'll need to disable HDR first.
Please post here if you find any other good ones!
how if i try nfc on ex japan S0-02 j ?
Little adventure said:
how if i try nfc on ex japan S0-02 j ?
Click to expand...
Click to collapse
Not sure what you're asking but NFC is located under:
Settings > Connected Devices > Connection Preferences > NFC
If it doesn't turn on, you might have to flash the last Sony stock firmware first then install this rom.
Someone with the JA model might be able to help.
It works great! Very fast boot time. Everything is smooth, so far haven't noticed any bugs. Fingerprint unlock is faster than on stock and LOS 16.
Camera quality with the first GCam is also the best out of all custom ROMs I've tested. Great job! A new life for my old Xperia.
betacrypt said:
I've tested a few GCams, I find these two work best so far:
Parrot043: MGC_7.6.008_Parrot043_V7.apk
Download MGC_7.6.008_Parrot043_V7.apk by Parrot043.
www.celsoazevedo.com
Parrot043: PMGC_7.2.014_Relesed_V1.apk
Download PMGC_7.2.014_Relesed_V1.apk by Parrot043.
www.celsoazevedo.com
In the Advanced Settings, make sure to change AI White Balance to "Pixel 3 XL" for best colour accuracy.
Note: For the front selfie cam to work, you'll need to disable HDR first.
Please post here if you find any other good ones!
Click to expand...
Click to collapse
First , thanks for this Rom I'm very happy to See Android 12 on my phone.
I have tried Encryption and it doesn't work for me. I have a bootloop.
Has anyone else tested it?
And on the Encrypt page , I had astrange bug : I wasn't able to access to the"Encrypt" button at the bottom of the page . I had to set the police size at the smallest size to see it.
Maciek602 said:
It works great! Very fast boot time. Everything is smooth, so far haven't noticed any bugs. Fingerprint unlock is faster than on stock and LOS 16.
Camera quality with the first GCam is also the best out of all custom ROMs I've tested. Great job! A new life for my old Xperia.
Click to expand...
Click to collapse
Agree, fingerprint detection and unlocking is incredibly fast, didn't think it could ever be improved this much.
betacrypt said:
Not sure what you're asking but NFC is located under:
Settings > Connected Devices > Connection Preferences > NFC
If it doesn't turn on, you might have to flash the last Sony stock firmware first then install this rom.
Someone with the JA model might be able to help.
Click to expand...
Click to collapse
thanks for the answer sir
I have ex japan status bootloader yes, now position in custom rom lineage 16.0 android pie, this rom very smooth in my old device , i try turn on nfc in this rom, nfc doesnt turn on , but nfc working fine in ex global
Maybe hardware nfc ex japan different with ex global , so that maybe build tree and config specific for ex japan , correct me if i wrong sir
my experience with gapps 12.1 12L
open gapps stock - not working (endless bootanimation)
open gapps pico - unusable (loop before setting up fingerprint)
flame gapps full - unusable (loop before setting up fingerprint)
flame gapps basic - unusable (loop before setting up fingerprint)
mindthegapps - working
nik gapps omni - working
nik gapps stock - working fine so far
I have this problem...my bank apk its OK with last magisk (and fingerprints setting and Hide zygisk), but gpay dont work when i insert my card code cvv, it say that is not possibile continue because possible root phone....i try to hide all with zygisk of magisk .....
OK i resolved with module safetynet....
Toggles for me is too big, ....is possible return to standard lineageos toggles 16/17/18?
So when swipe down one time, i can see 6 toggles and not only 4....
decsimon said:
Toggles for me is too big, ....is possible return to standard lineageos toggles 16/17/18?
So when swipe down one time, i can see 6 toggles and not only 4....
Click to expand...
Click to collapse
That's Android 12. I wouldn't hold my breath that someone could port an older System UI over. You would have to get used to it I'm afraid.

[ROM][Huawei][12] LeaOS - Lineage 19.1 for Huawei device (EMUI 9)

Non-Official Lineage 19.1 for EMUI 9 hi6250 Huawei (anne) - LeaOS
{
"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"
}
LeaOS is a project which based on LineageOS 19.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Assisted GPS, NFC, CAST/Miracast, Default Sound etc..) and some eremitein patch
Changelog :
LeaOS September 2022 version
September 2022 SPL
Synchronize with last Lineage Source
Add /splash2 and /modem_log support
Add kirin and huawei properties
Support permissive or enforce kernel
Update Lite Google Apps to 2.6
LeaOS August 2022 version
Jul + Aug 2022 SPL
Synchronize with last Lineage Source and v415 phh
Port new functionnalities Treble Setting from 18.1 version (Dump log, restart ui, dynamic root, safetynet, auto run, nolog)
Add miracast support
Add scanner QR support
LeaOS Jun 2022 version
Jun 2022 SPL
Synchronize with last Lineage Source and v414 phh
Fix MediaScanner crash and no default sound (ringtone, alarms..)
Add support of EMUI 9.1.0.405 (preav partition)
Pre-requisite :
You must have TWRP installed if you want install patch. and a phone with unlock bootloader
Installation (crypt or uncrypt)
Download file : “LeaOS-19.1-20220911-iceows-ane.7z" and extract img file
Flash system image : fastboot flash system <drag system.img here>
Flash twrp image: fastboot flash recovery_ramdisk <drag twrp img here>
Boot into twrp: power + vol+ while NOT connected to pc
Resize system: Wipe > Advanced Wipe > System > Repair or Change File System > Resize File System > Swipe
Wipe cache, dalvik/art cache, internal storage, data
(optional) install AGPS patch : 4-Huawei-AGPS-AB-v1.1-signed.zip
(optional) install DRM patch for EMUI 9.1.0.405 : 8-Huawei-FixPreav-AB-v1.0-signed.zip
(optional) install now Google Apps Lite : LiteGapps_arm64_12.1_v2.6_official.zip
reboot to System and set up the phone with Lineage first start assistant. You can also add most user
Enjoy !!!
More informations to install here : https://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Not working :
Offline charging
Bluethooth pairing with code (use app)
Source Code:
https://github.com/Iceows
ROM OS Version: Android 12L (12.1)
ROM Kernel: Linux Huawei 4.9.148 or Phenix 4.9.319
ROM Firmware Required: EMUI 9
Based On: Lineage 19.1
Credits:
@Frax3r (Testing)
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
Support Group
Screencopy
Hello, exciting to see android 12 on this phone! A few questions:
* is this good enough to be used as daily driver?
* i remember previous lineage versions having problems with signal strength icon. Do your fixes include fix for this?
* i read some people having problems with wifi and fingerprint on lineage, but fixed them by going to previous stock version with better drivers, is that correct and not related to rom?
* do payments work with this rom? Google Pay and banking apps
* according to your instructions, we have to flash image through fastboot and not twrp as explained in other threads? will twrp flash produce the same result? maybe that's trivial, but i still do not understand the concept fully
* in other threads i read that you need to do factory reset from eRecovery after flashing lineage, do you not have to do that here?
* i could not find information about what this a/ab version is. can you explain?
Signal strengh and wifi are fixes by me since Lineage 18.1. I gave my patches to all the main developers of the GSI
This version of lineage 19.1 have for the moment two problems :
- offline charging
- bluetooth pairing not working
For daily use , use LeaOS Lineage 18.1 please
Betrakiss said:
Hello, exciting to see android 12 on this phone! A few questions:
* is this good enough to be used as daily driver?
* i remember previous lineage versions having problems with signal strength icon. Do your fixes include fix for this?
* i read some people having problems with wifi and fingerprint on lineage, but fixed them by going to previous stock version with better drivers, is that correct and not related to rom?
* do payments work with this rom? Google Pay and banking apps
* according to your instructions, we have to flash image through fastboot and not twrp as explained in other threads? will twrp flash produce the same result? maybe that's trivial, but i still do not understand the concept fully
* in other threads i read that you need to do factory reset from eRecovery after flashing lineage, do you not have to do that here?
* i could not find information about what this a/ab version is. can you explain?
Click to expand...
Click to collapse
-I can't say that for any gsi for our device but it is subjective nonetheless.
-Signal strength is fixed by AltairFR (iceows). Darkjoker360 (Simone) included his fix in his latest emui 8 los 18.1 build as well.
-Fingerprint as in sensor or build fingerprint? Fingerprint sensor will say failed to enroll if you had fingerprint enrolled in emui but did not remove it from emui settings. Factory reset should remove it as well. As for wifi, if you install this rom on top of latest emui build wifi will work just fine. But if you switch your kernel to something else other than stock or harmonyos based kernel it will not connect to wifi. This is not related to rom.
Emui version <9.1.0.300 : You can use any kernel
Emui version >9.1.0.300 : You can only use stock kernel from your emui version or harmonyos based ones. (Turex posted a test kernel in his thread) if you want functioning wifi.
-Google pay is not present in my country so I can't test but it is possible to pass safetynet which should allow you to use it ig.
-As long as twrp you use works properly it shouldn't matter.
-Instructions is missing a step atm, you don't need to do a factory reset if you flash an additional zip file before flashing AGPS patch. 1-Huawei-DataPrep-Crypt-AB to keep encryption or 1-Huawei-DataPrep-DeCrypt-AB to remove it. These zips replicate folder structure of factory reset so you don't need to "reboot, flash stock recovery, factory reset, reboot, flash twrp". Wait for updated instructions or check the link below instructions (Vanilla GSI steps in Flashing Any GSI part).
-AB in gsi builds means system-as-root which p20 lite is. AB in device means a and b slots for each image which isn't present in p20 lite. In short you use A-only builds in emui 8 vendor but use AB builds in emui 9 vendor. Since AltairFR builds for both vendors his sourceforge includes a and ab zips and builds. If it says A, it's not for emui 9 vendor.
Update AGPS fix and Google Apps
hi thanks for the ROM but, i putted correct wifi password but it doesn't work. Why?
freddie993 said:
hi thanks for the ROM but, i putted correct wifi password but it doesn't work. Why?
Click to expand...
Click to collapse
Wifi password on wpa3 ?
AltairFR said:
Wifi password on wpa3 ?
Click to expand...
Click to collapse
No wpa2, I also tried to Hotspot from another device without protection and doesn't work again
I've had this kind of problem before. It usually comes from the kernel or the emui version. What version are you on?
AltairFR said:
I've had this kind of problem before. It usually comes from the kernel or the emui version. What version are you on?
Click to expand...
Click to collapse
i have emui 9
freddie993 said:
i have emui 9
Click to expand...
Click to collapse
Ok but indicate minor version please
scuse me, what does minor version means? i read android 12, version lineageOS: LeaOS i don't have other information.
When i go to the update section, it gives me an error "your device does not support OTA updates!"
freddie993 said:
scuse me, what does minor version means? i read android 12, version lineageOS: LeaOS i don't have other information.
When i go to the update section, it gives me an error "your device does not support OTA updates!"
Click to expand...
Click to collapse
Minor version of emui 9. my version is 9.1.0.405 and you?
Please exec to have exact of your emui version :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
ah ok, i didn't understand, i already have those information . Please check this thread , in one post i had attached the image with those information.
Thank you
Ok , try phenix kernel please , version 4.9.235 phenix 1.0, it is my kernel on my ANE-LX1:
[GUIDE] [EMUI9] P20 Lite Basics
Special key combos: Power + Vol+ = Recovery Mode While USB connected, Power + Vol+ = Erecovery Mode While USB connected, Vol- = Fastboot Plug USB while holding down Vol+ + Vol- = Download Mode Power + Vol+ + Vol- = Force Dload Flashing Any GSI...
forum.xda-developers.com
Because you have version emui > 300
[KERNEL][EMUI 9][P20 lite] Phenix kernel
PHENIX KERNEL Disclaimer: Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses. NOTE : Use only on EMUI9 base(stock or custom) REQUIREMENTS ...
forum.xda-developers.com
Ok, I must follow the first link??
freddie993 said:
Ok, I must follow the first link??
Click to expand...
Click to collapse
Yes or just flash kernel in the attachment of the second link
What does "DRM patch for EMUI 9.1.0.405" do?
Another question: I can not pass SafetyNet. I have tried to remove root using PHH Settings => Misc Settings => Securize, but it does nothing. Even if I install PHH's SuperUser app (the Google Play does not have one any more, so I used v.1.0.3.3 from another source) I can not get it to work. I understand I am missing something, but do not know what. Any help would be appreciated.
luka_bubi said:
What does "DRM patch for EMUI 9.1.0.405" do?
Another question: I can not pass SafetyNet. I have tried to remove root using PHH Settings => Misc Settings => Securize, but it does nothing. Even if I install PHH's SuperUser app (the Google Play does not have one any more, so I used v.1.0.3.3 from another source) I can not get it to work. I understand I am missing something, but do not know what. Any help would be appreciated.
Click to expand...
Click to collapse
DRM allows you to play protected videos in Chrome or Netflix. Without this chrome patch freeze as soon as there is a video. If you need to be root use the dynamic root option (treble setting) If you want to pass safetynet install the pixel experience instead

[ROM][UNOFFICIAL][13] LineageOS 20 for Xperia X Compact

{
"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:
#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 13, 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 organization.​And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​You can also view the changelog for a full list of changes & features.​​Official LineageOS website : http://lineageos.org​About LineageOS Legal : http://lineageos.org/legal​
Important Information
1. This ROM operates without ODM images, just follow the installation instructions.​2. This ROM does not intended to support Google Camera, but you can try to play with some mods.​
About FDE and FBE​Full-disk encryption (FDE) has been completely deprecated since Android 13, and now we use software implementation of File-based encryption (FBE).​​FDE and FBE methods are incompatible with each other. FBE cannot decrypt data encrypted with FDE and cannot encrypt existing files. That's why you need to perform factory reset/format data (not just "wipe data") before switching between ROM's with different encryption methods.​​To make it a bit clear:​- FDE (e.g. stock, LineageOS-16/19) -> FBE (LineageOS-20) -> NOT POSSIBLE! Format data is required.​- FBE -> FBE -> POSSIBLE! You can update/upgrade using "dirty" installation as before, in case if encryption methods are the same​​Moreover, to work with new encryption you need a recovery with appropriate support.​​Downloads Links
LineageOS 20:​Unofficial: https://sourceforge.net/projects/loire-development/files/lineageos-20/kugo​​Google Applications (optional):​MindTheGapps: https://androidfilehost.com/?w=files&flid=322935 (Android 13.0 -> arm64)​XDA post about GApps: https://xda-developers.com/download-google-apps-gapps​​Recommended Recovery (optional):​TWRP 3.x: https://forum.xda-developers.com/-/-t3793837​
Flashing and updating
Before installation, please make sure you have read and understood everything correctly about FDE and FBE encryption methods.​​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
You can also update using the built-in Updater (requires at least TWRP 3.6.x or LineageOS Recovery)​
About the builds:
Kernel sources: https://github.com/Chippa-a/android_kernel_sony_msm8956​
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
Grab a logcat right after the problem has occurred
(Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing)
If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0
(Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Also thanks to:
The LineageOS Team
The SODP Team
Everyone involved in working and testing
Contributors
Chippa_a
ROM OS Version: 13.x
ROM Kernel: Linux 4.9.x
Version Information
Status: Beta
FEATURES AND ISSUES
Boot: Ok
Bluetooth: Unknown
WiFi: Ok
WiFi Hotspot: Unknown
RIL - Phone - Data: Ok
GPS: Ok
Camera: Unknown
Camcorder: Unknown
Lights: Ok
MicroSD: Ok
Accelerometer: Ok
Compass: Ok
Gyroscope: Ok
QTI sensors: Ok
Touchscreen: Ok
FM Radio: N/A
Fingerprint: Ok
Vibrator: Ok
Microphone: Ok
Audio & music: Ok
Bluetooth audio: Ok
NFC: Unknown (HCE: Unknown)
Kernel: Ok (WIP)
Graphics: Ok
3D Rendering: Ok
Clock: Ok
DRM: Unknown
Offline Charging: Ok
USB: Ok
USB Tethering: Unknown
USB OTG: Ok
Encryption: Ok
SEPolicies: Enforcing
It's amazing bro, i can't bealive my device got A13
It seems the device is working again - post removed
soomon said:
I installed this system, and at the 2nd reboot my phone is dead. completely dead. seems it has been bricked before I even could log into my google account.
It doesnt even react to power any more.
Of course the phone is old and wasnt used for a long time, so I dont know if it got bricked by the OS or the hardware.
but it's dead.
be careful people!
Click to expand...
Click to collapse
It's almost impossible to brick this device completely just by ROM, unless you're doing something very unusual or developer-related.
This ROM has been tested by user for more than two weeks and everything was fine. It also been tested by Xperia X users since March, there was nothing like that either... and there never was actually.
Anyway, there is no specific in your message, except "It doesnt even react to power any more". Try to get adb/fastboot modes, charge or flash stock firmware. If no luck, I'm pretty sure it's a hardware issue, probably battery or something else.
I was also thinking about this and it was hard for me to believe the custom OS could actually damage the hardware.
I am happy to report it seems to be the device itself that caused the issue and not the rom. Today it was working Since it is an old device I'm assuming it was a hardware issue, so I deleted my old post.
It's working perfectly now. thank you so much!
I'll install this asap. Cant belive that this device is live again. Im using it as main phone. Gonna post my experience with rom here. Cheers
Edit: Cant seems to make it work . i was on latest stock, did full wipe , installed clean los20 , no gapps no additional zipps . it goes past sony logo shows black screen and immediately restarts on that black screen . Any suggestions ?
Edit 2 : I could not boot to twrp , i needed to install it again after los20 zip, like there is no recovry ? Is that normal ?
After install this rom i found bugs on this rom A13 LOS 20:
-WIFI
-HOTSPOT
-TAP TO WAKE NOT WORK
- GPS can't lock
- NFC
Edit : after reinstall from Lineage 19 to Lineage 20 , Wifi , hotspot , Gps , working fine
Thanks for @Chippa_a and team , share and build rom for x compact
Deep sleep pretty good , keep it up
shandu98 said:
Edit 2 : I could not boot to twrp , i needed to install it again after los20 zip, like there is no recovry ? Is that normal ?
Click to expand...
Click to collapse
Do you have the latest TWRP offered on the other thread? If you get a boot loop back into TWRP you can try tapping restart to system which is an option within TWRP. If you still have problems after with a boot loop try a clean install by wiping dalvik, cache, system, internal storage, followed by formatting data, then reboot to TWRP flash the build and tap restart to system when finished.
my device sony x compact is stuck on twrp logo, is there any solution to fix it?
Note: before stuck on twrp logo, i want to downgrade to A12. but after I entered recovery by (power + vol-) the device was stuck at the twrp logo
Tri Akbar Fitriana said:
my device sony x compact is stuck on twrp logo, is there any solution to fix it?
Note: before stuck on twrp logo, i want to downgrade to A12. but after I entered recovery by (power + vol-) the device was stuck at the twrp logo
Click to expand...
Click to collapse
The same here. The solution for me: i flash stock Rom then Twrp and then los20. After flash los20 twrp stuck on logo, but i can use Los20. Many thanks for los20. Its a great rom.
Asta01 said:
The same here. The solution for me: i flash stock Rom then Twrp and then los20. After flash los20 twrp stuck on logo, but i can use Los20. Many thanks for los20. Its a great rom.
Click to expand...
Click to collapse
if I flash it to stockrom, does it need a TA file? because my TA file is missing.
Tri Akbar Fitriana said:
if I flash it to stockrom, does it need a TA file? because my TA file is missing.
Click to expand...
Click to collapse
I flash Stockrom with flashtool. I dont need TA file.
Tri Akbar Fitriana said:
if I flash it to stockrom, does it need a TA file? because my TA file is missing.
Click to expand...
Click to collapse
No.
Try lineage recovery it works for me, with twrp i get black screen
Chippa_a said:
Moreover, to work with new encryption you need a recovery with appropriate support.
Click to expand...
Click to collapse
For those who have issues with recovery after this ROM.
Please make sure you have installed latest unofficial version (3.7.0_12+) with support for the new FBE encryption method, as stated in OP. Older versions cannot decrypt data encrypted with this method!
Chippa_a said:
For those who have issues with recovery after this ROM.
Please make sure you have installed latest unofficial version (3.7.0_12+) with support for the new FBE encryption method, as stated in OP. Older versions cannot decrypt data encrypted with this method!
Click to expand...
Click to collapse
Thanks,with twrp 3.7.0_12 is twrp working.
Thank you chippa _a. The rom is amazing. I haven't found any bugs so far, and it's incredibly fast. A new life for the Xperia x compact. Thanks alot.
Thanks a lot for this rom! I running it for a few days and no bugs so far
I'm wondering which cam app is the best to use?
And I have one app which doesn't run because my phone is rooted, is there a solution for that?
SietZ said:
Thanks a lot for this rom! I running it for a few days and no bugs so far
I'm wondering which cam app is the best to use?
And I have one app which doesn't run because NY phone is rooted, is there a solution for that?
Click to expand...
Click to collapse
For me is Google cam port "MGC_8.2.204_Parrot043_V1" working perfect.

Categories

Resources