[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] LinuxPanda:
AICP

Android Ice Cold Project

AICP is known by everyone as the "Ice Cold Project" that started on a Desire HD years ago (2012) and since then has evolved into a mature ROM with the BEST community that you can find!!!

Until Android Lollipop, the ROM has always been based on AOKP. Unfortunately, since AOKP stopped development (but made a comeback later), we changed our base to CM.

With the re-brand of CM to LineageOS (LOS) we became LineageOS based with some tweaks from AOSP and then changed to be based on the "Ground Zero Open Source Project" (GZOSP) for Android Pie.

We changed again for Android Q with a base of AOSP repositories and some additions from LineageOS for device specific repositories.

If there are any bugs, either we will sort them out, if it concerns our code base. This ROM isn't LineageOS supported, so there is no need to report errors/bugs to them!!

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications and if
* you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
*
*/

Feature list (rough overview)

In the beginning we would like to thank:

GZOSP team

LineageOS & CM (R.I.P.) team

[MENTION=4683552]maxwen[/MENTION] and the rest of the OmniRom team

DU team

Resurrection Remix team

AOSiP team

Community

...

@LorD ClockaN

@eyosen

@semdoc

@SpiritCroc

@wartomato

@Miccia

plus the rest of the crazy bunch that we call "team"

...

We are paying for servers that build weeklies and everything that comes with this, so EVERY DONATION will really be appreciated and be used to cover those expenses.

Thank you!!

Latest Stable Release Version 15.0

AICP 15 rosy - Unofficial

Google Apps

- Open GApps

Only Pico/Nano are the recommended Open GApps packages

Please check Open GApps Package Comparison for full details

- Flame GApps

Only Basic is the recommended Flame GApps package

Full Changelog link: https://dwnld.aicp-rom.com/

(Just click the changelog button next to the download link in the list of builds available for your device)

Google Apps:

(link the best one for your device, there are several variants out there right now, nano/micro GApps from opengapps.org is almost always a good choice though)

You tell... :P

FAQ:

Before using the ROM:

Q. Can I have an ETA for the next build?

A. Yes, just look here to see what day your device is built on.

Q. Does this ROM support custom kernels officially?

A. No. You can still use them, but discussion should go in the thread of the respective kernel. We don't offer support for bugs you might encounter while using them!

Q. Why doesn't this ROM support Xposed?

A. Xposed is a hack that is geared towards AOSP. Custom ROMs modify the framework a lot, so Xposed can cause a ton of issues on custom ROMs. Now it might work for you, however it is not to be discussed in this thread, and you should refrain from posting bug reports.

Q. Alright, but I still want to flash Xposed, so which version do I need to install?

A. Information about Xposed, EdXposed or Riru Core can be obtained from the XPosed General forums .

Flashing the ROM:

Q. What do I need to know before flashing?

A. Check the flashing instructions...

Q. Can the builds be dirty flashed over each other?

A. Yes, this is the usual behaviour on flashing a new official build by (or using) the build-in updater service.

Q. How do I 'dirty flash' builds?

A. Wipe the System, Cache and ART/Dalvik cache. Flash the ROM, GApps (only needed if you wipe the system), your preferred root solution and reboot. Or just use the OTA app to preform that task for you.

Q. How do I flash kernel builds?

A1. If it's a .img file, boot into TWRP and go to the install page in TWRP, in the bottom right corner select "install image", select the desired kernel, then select "boot" as the destination, then swipe to flash, then go back to the install screen and install your root method again, if you don't want to loose root and reboot.

A2. If it's a flashable ZIP, you can flash it together with a ROM update or separately. Go to the install page in TWRP, choose the kernel zip (or add it to the flash queue right after the ROM zip). Then add your root method to the queue if you don't want to loose root. Now swipe to flash and reboot afterwards.

Using the ROM:

Q. I installed a bad theme and now I'm getting a bootloop, how do I fix it?

A. In TWRP, flash the substratum rescue zip that's in the substratum folder on the internal storage.

Q. I'm having issues with WhatsApp, how do I fix it?

A. Read this

Q. Do I need to provide a logcat if I'm reporting a bug?

A. If you want it to be fixed faster (or at all) then yes, you should definitely provide a logcat AND the model name. (Note: Please just link the logcat from your GDrive, Dropbox, etc. and do not post the content here. Thanks.)

Q. How do I get a logcat, what type should I get and more questions that can conveniently be answered by my pre-determined answer?

A1. Read this thoroughly. Also, here's a good app for getting logs: https://play.google.com/store/apps/details?id=com.tortel.syslog (Root needed).

A2. If you are already rooted, you can use the built-in feature to make a logcat and provide that. Just look into the others section in the AICP Extras main page.

The ROM should contain everything you need to enjoy Android Q. You don't need to install any Add-ons, simply download the latest ROM and GApps, then follow the flashing instructions and go!

If you want the device to run the ROM "rooted", you can flash a root solution of your choice after the ROM Zipfile.

It is STRONGLY recommended to fully wipe your device before flashing and please avoid restoring system apps and system data with Titanium Backup (or with any backup/restore app) as this can cause stability issues that are very hard to debug, restoring regular apps is fine though.

If you believe you know what you're doing - then fine, go ahead, but please don't complain if you experience any strange behavior.

How to flash for the first time:

(Again: Don't do it if you don't know!)

1. Download the ROM and GApps and transfer them to your device.

2. Boot to recovery (TWRP recommended).

3. Wipe the System, Cache, and Data (you might need to format the data partition!).

4. Flash the ROM Zipfile.

5. Flash the GApps (optional, needed for e.g. Google Playstore to work), GApps are already included for some a/b devices.

6. Reboot and set up your device, enable developer settings and in them OEM unlock/Advanced reboot/USB tethering.

7. Reboot back into TWRP recovery.

8. Flash the root solution of your choice (optional).

9. Reboot your device.

The procedure may vary from device to device and is a bit different on system updates!

The ROM has GApps persistence in between dirty flashes, so you only have to flash them once! This might differ on AvB Devices.

Currently supported Root Solution:

Magisk stable

Magisk versions >= 20.3 don't usually need to be flashed on every dirty flash.

Depending on the device, you may need to flash it every time, unless your maintainer says otherwise, you should be fine.

PREREQUISITE FOR OTA ("Over-The-Air" Updates):

TWRP recovery is needed to be able to flash using the built-in OTA app.

Please make sure that you are on the latest TWRP recovery, keep in mind that this could also be an unofficial version!

On encrypted devices you will have to enter your PIN/password in TWRP before the process starts.

If you want to contribute to AICP, or want see what is being worked on/merged, feel free to visit our Gerrit code review system. (Link is at the bottom!!!)

ROM & Additional links:

AICP's Homepage

AICP Gerrit Code Review

AICP sources on Github

AICP Download page for official builds and media content

AICP Discord Community

AICP Telegram channel for server notifications on official builds

Contributors:

(mention all the devs who have contributed to your device tree, kernel, vendor, etc,

only mention the main ones though, probably the top four or so, otherwise this list will be a mile long xD)

You want to see a "normal" night at the "DEV office", click here!!
​

Flashing Instructions:

You need to flash manually via recovery because OTA update doesn't seem to work with twrp/orangefox.

Clean Flash

• Downloaded the new rom build to your phone using the direct link or XenonOTA app

• Reboot to recovery

• Take full backup in twrp

• Wipe (system, vendor, data, cache, dalvik)

• Flash the new build

• Flash GApps package

• Reboot - The first boot can take up to 5 minutes

Dirty Flash

• Downloaded the new rom build to your phone using direct link or updater app

• Disable Magisk modules if you're using any

• Reboot to recovery

• Take full backup in twrp

• Wipe (system, vendor, cache, dalvik)

• Flash the new build

• Flash GApps package

• Reboot

What's working:

• Audio

• Bluetooth

• Call recording

• Camera/Camcorder/Flash

• Charging/Offline-charging

• Cast

• Doze/Deep-sleep

• Fingerprint

• FM radio

• Google voice assistant

• GPS - With location services

• Hotspot/Tethering

• IR

• Sensors

• Torch

• RIL (Calls, SMS, Data)

• VoLTE

• Wi-Fi

SELinux Status:

• Enforcing [without neverallows]

Known issues:

• GPS - Without location services

Untested:

• Device Encryption

Notes:

• ROM built with doge kernel, so report bugs only if you're using doge kernel

• Join, Telegram Group for support

Necessary config changes for gcam

:

1) Video recording resolution should be set to 1080/720p

2) HDR mode should be turned off for selfie cam

Device Source:

• Kernel Source

• Device Source

• Vendor Source

XDA:DevDB Information

AICP, ROM for the Xiaomi Redmi 5

Contributors

xDoge

Source Code: https://github.com/AICP/

ROM OS Version: Android 10

ROM Kernel: Linux 3.18.x

ROM Firmware Required: Oreo

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 15

Created 2020-05-17

Last Updated 2020-09-21