[UNOFFICIAL BUILD] A Pi/e/ test ROM for the Xiaomi Redmi Note 5 Pro "whyred"

Hi, I flashed my redmi note 5 pro( whyred) with the rom from the first post. I’m in love with the /e/ OS, so far everything works well. I Have some questions, Will be an update? Or the rom dies here? Any security update? What can i do to maintain this rom alive?
Big Thanks to the developer.

1 Like

Hi @Krasi thanks for testing out the Pi/e/ test build.
As mentioned these are test builds which we have made to check out how they work on specific devices. We have a small team of dedicated testers who have been building Pi/e/ ROM’s for their devices and testing it out. Thanks to some excellent support from the user who also helped us with their feedback and tested these ROM’s.
Now we are preparing to release the Pie version of /e/ . Since it is a version change there are some device specific instructions that will also be required to be shared with the users. Especially users who are currently on previous versions of the OS on their devices. Flashing Pie at least the initial build may be manual. Subsequent builds will be OTA for all devices. Once the device is on the supported list the support + patches will be regular.
Lineage dropping support for a device will not be a reason for /e/ dropping support. At present we are not dropping any device from our supported list. In fact we are adding more devices to our list of supported devices !
We are working on the infrastructure to regulate receiving security patches on all devices - especially ones not supported by Lineage but still on our list.

Hi, @Manoj thanks for the detailed info. That are good news for the owners of whyred, I‘ll wait impatient the official release of pie. Meanwhile I’ll enjoy of this fresh air (/e/ rom).

We should be coming out the Pi/e/ release announcements soon. Since it is a version change it will be for a few devices at a time .

I have problem with pie builds, first build was compiled on server, now i use my pc and all my pie builds fail at 99%, so if someone want build this rom with all updates ( fresh install required for new rom as sources changed) here is instruction:
In your /srv/e/src/PIE folder open terminal and run this commands:

sudo git clone https://github.com/MyCats/android_device_xiaomi_whyred device/xiaomi/whyred -b lineage-16.0

sudo git clone https://github.com/MyCats/android_kernel_xiaomi_whyred kernel/xiaomi/whyred -b lineage-16.0

sudo git clone https://github.com/MyCats/android_vendor_xiaomi_whyred vendor/xiaomi/whyred -b lineage-16.0

sudo git clone https://github.com/LineageOS/android_packages_resources_devicesettings packages/resources/devicesettings -b lineage-16.0

and then run this script:

sudo docker run \
-v “/srv/e/src:/srv/src:delegated” \
-v “/srv/e/zips:/srv/zips:delegated” \
-v “/srv/e/logs:/srv/logs:delegated” \
-v “/srv/e/ccache:/srv/ccache:delegated” \
-e “BRANCH_NAME=v1-pie” \
-e “DEVICE_LIST=whyred” \
-e “CUSTOM_PACKAGES=‘MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth OpenCamera eDrive Weather Notes Tasks NominatimNlpBackend Light DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer’” \
-e “SIGNATURE_SPOOFING=restricted” \
-e “INCLUDE_PROPRIETARY=false” \
-e “OTA_URL=https://ota.ecloud.global/api” \
-e “REPO=https://gitlab.e.foundation/e/os/android.git” \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest

New build ready, download here
WARNING! I did not test this build, i don’t have this device, so use at own risk.

2 Likes

Thanks @andrelam, I’ll test it this weekend. What kind of flash do you recomend? I mean clean, dirty or something else?

@Krasi clean flash requried, as sources changed, this rom was build with my instructions posted higher here.

Hi @andrelam, last night I flashed the rom from your post. Flash process went well, with no issues. Now I’ll install the apps that I use daily. And if there is something that doesn’t work well, I’ll let you know.
Thanks for the effort and Your time.

2 Likes

You’re welcome. Glad it worked.

Hi guys, the rom from @andrelam’s post works well, until now. I’ve been trying to build on my on with the files from @Unknown’s post, but my PC always fails. What Am I doing wrong?

Can you be more specific on what goes wrong, log file or something?

Hi @andrelam, here is my log file. It’s too long and I’ll put the last few lines, It stops at 99% just as @Unknown says. I’m on Manjaro linux.

[ 98% 799/815] glob vendor/lineage/overlay/common//*
[ 98% 800/815] glob vendor/nxp/opensource/halimpl/halimpl/utils/*.cpp
[ 98% 801/815] glob vendor/nxp/opensource/interfaces/nfc/1.0/src
[ 98% 802/815] glob vendor/qcom/opensource/interfaces/display/config/1.1/src
[ 98% 803/815] glob vendor/qcom/opensource/interfaces/display/config/1.0/src
[ 98% 804/815] glob vendor/qcom/opensource/interfaces/display/config/1.2/src
[ 98% 805/815] glob vendor/qcom/opensource/interfaces/display/config/1.3/src
[ 98% 806/815] glob vendor/qcom/opensource/interfaces/display/config/1.4/src
[ 99% 807/815] glob vendor/qcom/opensource/interfaces/display/config/1.5/src
[ 99% 808/815] glob vendor/qcom/opensource/interfaces/display/config/1.6/src
[ 99% 809/815] glob vendor/qcom/opensource/interfaces/display/config/1.7/src
[ 99% 810/815] glob vendor/qcom/opensource/interfaces/wifi/1.0/src
[ 99% 811/815] glob vendor/qcom/opensource/interfaces/wifi/hostapd/1.0/src
[ 99% 812/815] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/src
[ 99% 813/815] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
[ 99% 814/815] glob frameworks/base/core/res/res/
/*
ninja: error: ‘/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/WfdCommon_intermediates/javalib.jar’, needed by ‘/srv/src/PIE/out/target/product/whyred/dex_bootjars/system/framework/boot.prof’, missing and no known rule to make it
22:32:59 ninja failed with: exit status 1

failed to build some targets (03:26 (mm:ss))

[Tue Jul 30 22:32:59 UTC 2019] Failed build for whyred
[Tue Jul 30 22:32:59 UTC 2019] Finishing build for whyred
[Tue Jul 30 22:32:59 UTC 2019] Cleaning source dir for device whyred
22:33:03 Entire build directory removed.

build completed successfully (4 seconds)

And this, i have no docker installed, so don’t shoot me if it doesn’t work:
sudo docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:master

@andrelam, I run It twice and got exact the same error :grimacing:

And this, i have no docker installed, so don’t shoot me if it doesn’t work:
sudo docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:master

Hi guys, I’ve been trying these days tu build a pie rom but no luck. I even installed Ubuntu and I’m still getting the same goddamn error. @andrelam how did You build it? Another question, It’s easier to build a new rom or to fetch security update on existing rom?

I used my build script. Can you please not curs here, thanks.

Oh BTW, I tried to build an Oreo just to see if everything is working well and in fact it is. But I want to build a Pie rom.

Thanks and I don’t understand what do You meen, I thot this is whyred rom thread!