8

[ROM][UNOFFICIAL][11] LineageOS 18.1 for Xiaomi Redmi Note 5 Pro [Whyred][2023-0...

 8 months ago
source link: https://forum.xda-developers.com/t/rom-unofficial-11-lineageos-18-1-for-xiaomi-redmi-note-5-pro-whyred-2023-08-13.4534005/page-11#post-88895337
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[ROM][UNOFFICIAL][11] LineageOS 18.1 for Xiaomi Redmi Note 5 Pro [Whyred][2023-08-13]

The original Lineage 18.1 supports Disk Based Encryption, so this one should support it also.
After the project was officially abandoned I begin compiling it by myself syncing Lineage sources, until Android Webview was broken.
I encrypted with DBE my phone and it works with no problem. It demands to unlock the access with the pattern to access system or recovery.
I don't know how to repair or change it to Chromium Webview as @SunilSuni did, so I couldn't update my ROM any more.
I'm seriously thinking about changing to Sunil ROM, after several months...

You can try using mulch more secured and patched than cronium

github.com

GitHub - A4Alpha/mulch-webview-overlay: Easily install the security-hardened Mulch SystemWebView from DivestOS

Easily install the security-hardened Mulch SystemWebView from DivestOS - GitHub - A4Alpha/mulch-webview-overlay: Easily install the security-hardened Mulch SystemWebView from DivestOS
github.com
gitlab.com

DivestOS Mobile / Mulch · GitLab

The DivestOS WebView
gitlab.com

WiMiOP

Senior Member
Jul 17, 2015
It does supports encryption (Atleast thats what i remembered when i last flashed this)

Tried to flash on a phone with a FBE disk, and it bootloops.

Tried Havoc OS 4.20 from here : https://sourceforge.net/projects/ao...20230721-whyred-Unofficial-GApps.zip/download and it boots. Either this LOS has a different encryption system nor it doesn't support it at all

Tried to flash on a phone with a FBE disk, and it bootloops.

Tried Havoc OS 4.20 from here : https://sourceforge.net/projects/ao...20230721-whyred-Unofficial-GApps.zip/download and it boots. Either this LOS has a different encryption system nor it doesn't support it at all

Yes, I explain it before, this LOS 18.1 only supports Disk Based Encryption (DBE) not FBE.

Reactions: WiMiOP

You can try using mulch more secured and patched than cronium
github.com

GitHub - A4Alpha/mulch-webview-overlay: Easily install the security-hardened Mulch SystemWebView from DivestOS

Easily install the security-hardened Mulch SystemWebView from DivestOS - GitHub - A4Alpha/mulch-webview-overlay: Easily install the security-hardened Mulch SystemWebView from DivestOS
github.com
gitlab.com

DivestOS Mobile / Mulch · GitLab

The DivestOS WebView
gitlab.com

Thanks for your advise but I'm a newbie with ROM cooking I don't even know where to start...

Well, I have dirty installed this ROM over my 6 months old own build with File Based Encryption from TWRP 3.7.0.9 and it has booted with no trouble and everything seems to work fine like before. It has also a SD card added like internal storage also encrypted and all the content is perfectly accessible.

It seems that the common base has made it possible.

What do you think @SunilSuni?

Reactions: SunilSuni

SunilSuni

Senior Member
Jul 5, 2017 1,714 1,095 Bengaluru
The original Lineage 18.1 supports Disk Based Encryption, so this one should support it also.
After the project was officially abandoned I begin compiling it by myself syncing Lineage sources, until Android Webview was broken.
I encrypted with DBE my phone and it works with no problem. It demands to unlock the access with the pattern to access system or recovery.
I don't know how to repair or change it to Chromium Webview as @SunilSuni did, so I couldn't update my ROM any more.
I'm seriously thinking about changing to Sunil ROM, after several months...

I will help you in solving Chromium Webview problem,
As the file size got increased, LineageOs team switched to git-lfs for Chromium Webview
follow the below steps for resolving the build issue

sudo apt install git-lfs
cd ~/android/lineage/
repo init --git-lfs
rm -rf external/chromium-webview/prebuilt/*
rm -rf .repo/projects/external/chromium-webview/prebuilt/*.git
rm -rf .repo/project-objects/LineageOS/android_external_chromium-webview_prebuilt_*.git
repo sync --force-sync
source build/envsetup.sh
breakfast whyred
croot
brunch whyred

Let me know if the build successful or not

Well, I have dirty installed this ROM over my 6 months old own build with File Based Encryption from TWRP 3.7.0.9 and it has booted with no trouble and everything seems to work fine like before. It has also a SD card added like internal storage also encrypted and all the content is perfectly accessible.

It seems that the common base has made it possible.

What do you think @SunilSuni?

Technically my UNOFFICIAL build is same as OFFICIAL one there is no changes except fixing occasional build failure issue.

same goes for my UNOFFICIAL PixelExperience Plus Build

@SunilSuni I really like the SOT in this rom , I'm trying other rn , but the SOT really bad , do you have this rom kernels ready to flash ? I'm trying other rom because Jamesdsp engine keep crashing on this rom... On a13 also the same. But on my a11 current rom it keep crashing but not as bad like other rom.

EDIT : Is this the same kernels in your LOS 18.1 rom ?
Last edited: Yesterday at 5:39 AM

SunilSuni

Senior Member
Jul 5, 2017 1,714 1,095 Bengaluru
@SunilSuni I really like the SOT in this rom , I'm trying other rn , but the SOT really bad , do you have this rom kernels ready to flash ? I'm trying other rom because Jamesdsp engine keep crashing on this rom... On a13 also the same. But on my a11 current rom it keep crashing but not as bad like other rom.

EDIT : Is this the same kernels in your LOS 18.1 rom ?

I am using official LineageOS Kernel 4.4.302
I have uploaded kernel file and can be found here

As per my observations, SOT depends on Vendor image and i have uploaded both Vendor.img and Kernel file
Kernel_Vendor

I have some questions. Can you please answer them?
1- Does this ROM support OTA updates? And if not, can I update it using recovery with the Apply update option or there is another way?
2-Is the file that is smaller than the ROM (which is the same name as the zip of the ROM, but ending with .img) the Lineage Recovery for this ROM?
Thanks!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK