[ROM][UNOFFICIAL][7.1.2] AICP 12.1 for Redmi 4A [OMS]

Status
Not open for further replies.
Search This thread

muralivijay

Senior Member
Nov 30, 2014
236
304
tiruchirapalli


logo_black.png


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 evolved into a mature ROM with the BEST community you can find!!!

Until 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 when it comes to hardware, drivers and some features.
With the rebrand of CM to LineageOS (LAOS) we are now actually LAOS based with some tweaks from AOSP.

If there are any bugs, either we will sort them out or the LAOS team will if it concerns their code base. This rom isn't LAOS supported, so no need to report errors or bugs to them!!


Code:
#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.
 *
 */


features.png

Feature list (rough Overview)


credits.png


In the beginning we would like to thank:

LineageOS & CM (R.I.P.) team
Maxwen and the rest of the OmniRom team
DU team
SlimRoms team
Resurrection Remix team
Community
...

team.png


@LorD ClockaN
@zipsnet
@eyosen
@semdoc
@Drgravy
@Hashbang173
@SpiritCroc
@wartomato
@eboye
plus the rest of the crazy bunch that we call "team"
...


donations.png


We are paying for servers that build nightlies/weeklies and everything that comes with it, so EVERY DONATION will really be appreciated and be used to cover those expenses.
Thank you!!



downloads.png

DOWNLOAD NOUGAT FIRMWARE
Latest Stable Release Version 12.1



changelog.png


Google Apps:
Beans gapps
Or
Open GApps (ARM or ARM64 7.1 pico or nano, depending on your phone's architecture)

Things Working:
WiFi
RIL
Camera
FPS
Mtp
VoLTE

issues.png


You tell... :p

FAQ:]​
Before using the ROM:
Q. Can I have an ETA for the next build?
A. Yes, just look in the OP to see, if your device is build on a nightly or weekly schedule.

Q. Does this ROM support custom kernels?
A. No. You can still use them (as long as they are LOS based), but discussion should go in the thread of the respective kernel. We don't offer support for bugs you might encounter using them!

Q. Why doesn't this ROM support Xposed?
A. Xposed is a hack that is geared towards AOSP, custom ROM's modify the framework a lot, so Xposed can cause a ton of issues on custom ROM's. 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. Xposed is not yet available for nougat (officialy), however there are unofficial versions. You will need to use the version arm64/arm for SDK 25.

Flashing the ROM:
Q. What do I need to know before flashing?
A. Check the install instructions in the first post...

Q. Can the builds be dirty flashed over each other?
A. Yes, however make a nandroid first as there is a chance of getting a bootloop or encountering bugs. Also bugs may only be reported on a clean flash.

Q. How do I dirty flash builds?
A. Wipe System, Cache and ART/Dalvik cache. Flash the ROM, your preferred root solution and reboot.

Q. How do I flash kernel builds?
A1. 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", 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 then reboot.
A2. LOS based kernels sometimes come as a flashable ZIP file too. You can flash them 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, clear Cache & ART/Dalvik cache and then reboot.

Using the ROM:
Q. How do I enable software buttons?
A. Settings -> Navigation -> Enable navigation bar. The bar can be configured separately in its settings.

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 in the substratum folder on the internal storage.

Q I keep losing root with Magisk, how do I fix it?
A Check this out, if that doesn't work for you ask for help in this thread, read or ask in the Magisk thread on XDA or just flash Magisk again!

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. (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
A2. If you are already rooted, you can use the built-in feature to make a logcat and provide that. Just look into the root section in the AICP Extras menu.

instructions.png


The ROM should contain everything you need to enjoy Android Nougat. You don't need to install any Add-Ons, simply download the latest ROM, GApps, flash it 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 if possible avoid restoring system apps and system data with Titanium Backup as this can cause stability issues that are very hard to debug.
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:
(Again: Don't do it if you don't know it!)

1. Download the NOUGAT FIRMWARE ,ROM and GApps and transfer them to your device
2. Boot to recovery (TWRP recommended)
3. Wipe system, Cache, data and ART/Dalvik cache
4. Flash Nougat firmware Zipfile
5. Flash the Rom zipfile
6. Flash/Install GApps (optional, needed for e.g. Google Playstore to work)
7. Flash/Install the root solution of choice (optional)
8. Reboot to system


Supported root solutions:

Magisk v13.x

SuperSU - stable and beta available (Site by CCMT that took over the the marketing from chainfire)
SuperSU - direct download link for the latest SuperSU directly from the dev (chainfire)

Lineage SU-addon (check your needed version: 14.1 arm or arm64) -> the removal zip is available here too.


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

sources.png


ROM & Additional links:
Gerrit Code Review
Github


IceColdJelly AICP G+ community

ROM OS Version: 7.1.x Nougat
ROM Kernel: Linux 3.18.xx
ROM Firmware Required: Unlocked bootloader, MIUI 9

Version Information
Status: Stable

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

XDA:DevDB Information
AICP 12.1, ROM for the Xiaomi Redmi 4A

Contributors
Nik001, muralivijay, ataberkozen for using their vendor/device source and for all who helped me to build this Rom.

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

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: MIUI 9
Based On: LineageOS

Version Information
Status: UNOFFICIAL

Created 2017-12-24
Last Updated 2017-12-24
 
Last edited by a moderator:

kentone

Senior Member
Nov 29, 2012
119
51
Xiaomi Redmi 4a
Xiaomi Mi A3
Mate, the rom is perfect 0 bugs for now, even the tethering works, but I faced a bit of lag, and I saw the zram was set over 900mb (1800 or so), the swappiness at 0 (so if im not wrong it will not swap to the zram, and therefore the zram has no sense), and the cache pressure was a bit low.
I putted this values with kernel adiutor and now is smooth:
Zram 970mb
Swapiness 60
Vfs cache pressure 80
Hope it helps

Enviado desde mi Redmi 4A mediante Tapatalk

---------- Post added at 01:47 AM ---------- Previous post was at 01:33 AM ----------

Oh and also had to flash the nougat firmware fix, because the backlight on bug appeared

Enviado desde mi Redmi 4A mediante Tapatalk
 
  • Like
Reactions: DarknessFalls

Wizardviper55

Member
Jul 13, 2016
5
1
Mate, the rom is perfect 0 bugs for now, even the tethering works, but I faced a bit of lag, and I saw the zram was set over 900mb (1800 or so), the swappiness at 0 (so if im not wrong it will not swap to the zram, and therefore the zram has no sense), and the cache pressure was a bit low.
I putted this values with kernel adiutor and now is smooth:
Zram 970mb
Swapiness 60
Vfs cache pressure 80
Hope it helps

Enviado desde mi Redmi 4A mediante Tapatalk

---------- Post added at 01:47 AM ---------- Previous post was at 01:33 AM ----------

Oh and also had to flash the nougat firmware fix, because the backlight on bug appeared

Enviado desde mi Redmi 4A mediante Tapatalk

What do mean by the backlight bug? you mean when you turn off the screen it only goes black but doesn't turn off?
if that what you mean, please provide me with a link for the fix to the problem mentioned, thanks.
 

kentone

Senior Member
Nov 29, 2012
119
51
Xiaomi Redmi 4a
Xiaomi Mi A3
What do mean by the backlight bug? you mean when you turn off the screen it only goes black but doesn't turn off?
if that what you mean, please provide me with a link for the fix to the problem mentioned, thanks.

On this another rom, theres a link for the Nougat firmware needed to the screen work:
https://forum.xda-developers.com/redmi-4a/development/official-dotos-v1-1-t3716819

Hope it helps mate, im using the rom for 3 days and is perfect I think ;)
 

muralivijay

Senior Member
Nov 30, 2014
236
304
tiruchirapalli
Mate, the rom is perfect 0 bugs for now, even the tethering works, but I faced a bit of lag, and I saw the zram was set over 900mb (1800 or so), the swappiness at 0 (so if im not wrong it will not swap to the zram, and therefore the zram has no sense), and the cache pressure was a bit low.
I putted this values with kernel adiutor and now is smooth:
Zram 970mb
Swapiness 60
Vfs cache pressure 80
Hope it helps

Enviado desde mi Redmi 4A mediante Tapatalk

---------- Post added at 01:47 AM ---------- Previous post was at 01:33 AM ----------

Oh and also had to flash the nougat firmware fix, because the backlight on bug appeared

Enviado desde mi Redmi 4A mediante Tapatalk


Install terminal emulator and type "free -m " show me output value
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 3


    logo_black.png


    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 evolved into a mature ROM with the BEST community you can find!!!

    Until 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 when it comes to hardware, drivers and some features.
    With the rebrand of CM to LineageOS (LAOS) we are now actually LAOS based with some tweaks from AOSP.

    If there are any bugs, either we will sort them out or the LAOS team will if it concerns their code base. This rom isn't LAOS supported, so no need to report errors or bugs to them!!


    Code:
    #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.
     *
     */


    features.png

    Feature list (rough Overview)


    credits.png


    In the beginning we would like to thank:

    LineageOS & CM (R.I.P.) team
    Maxwen and the rest of the OmniRom team
    DU team
    SlimRoms team
    Resurrection Remix team
    Community
    ...

    team.png


    @LorD ClockaN
    @zipsnet
    @eyosen
    @semdoc
    @Drgravy
    @Hashbang173
    @SpiritCroc
    @wartomato
    @eboye
    plus the rest of the crazy bunch that we call "team"
    ...


    donations.png


    We are paying for servers that build nightlies/weeklies and everything that comes with it, so EVERY DONATION will really be appreciated and be used to cover those expenses.
    Thank you!!



    downloads.png

    DOWNLOAD NOUGAT FIRMWARE
    Latest Stable Release Version 12.1



    changelog.png


    Google Apps:
    Beans gapps
    Or
    Open GApps (ARM or ARM64 7.1 pico or nano, depending on your phone's architecture)

    Things Working:
    WiFi
    RIL
    Camera
    FPS
    Mtp
    VoLTE

    issues.png


    You tell... :p

    FAQ:]​
    Before using the ROM:
    Q. Can I have an ETA for the next build?
    A. Yes, just look in the OP to see, if your device is build on a nightly or weekly schedule.

    Q. Does this ROM support custom kernels?
    A. No. You can still use them (as long as they are LOS based), but discussion should go in the thread of the respective kernel. We don't offer support for bugs you might encounter using them!

    Q. Why doesn't this ROM support Xposed?
    A. Xposed is a hack that is geared towards AOSP, custom ROM's modify the framework a lot, so Xposed can cause a ton of issues on custom ROM's. 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. Xposed is not yet available for nougat (officialy), however there are unofficial versions. You will need to use the version arm64/arm for SDK 25.

    Flashing the ROM:
    Q. What do I need to know before flashing?
    A. Check the install instructions in the first post...

    Q. Can the builds be dirty flashed over each other?
    A. Yes, however make a nandroid first as there is a chance of getting a bootloop or encountering bugs. Also bugs may only be reported on a clean flash.

    Q. How do I dirty flash builds?
    A. Wipe System, Cache and ART/Dalvik cache. Flash the ROM, your preferred root solution and reboot.

    Q. How do I flash kernel builds?
    A1. 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", 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 then reboot.
    A2. LOS based kernels sometimes come as a flashable ZIP file too. You can flash them 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, clear Cache & ART/Dalvik cache and then reboot.

    Using the ROM:
    Q. How do I enable software buttons?
    A. Settings -> Navigation -> Enable navigation bar. The bar can be configured separately in its settings.

    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 in the substratum folder on the internal storage.

    Q I keep losing root with Magisk, how do I fix it?
    A Check this out, if that doesn't work for you ask for help in this thread, read or ask in the Magisk thread on XDA or just flash Magisk again!

    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. (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
    A2. If you are already rooted, you can use the built-in feature to make a logcat and provide that. Just look into the root section in the AICP Extras menu.

    instructions.png


    The ROM should contain everything you need to enjoy Android Nougat. You don't need to install any Add-Ons, simply download the latest ROM, GApps, flash it 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 if possible avoid restoring system apps and system data with Titanium Backup as this can cause stability issues that are very hard to debug.
    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:
    (Again: Don't do it if you don't know it!)

    1. Download the NOUGAT FIRMWARE ,ROM and GApps and transfer them to your device
    2. Boot to recovery (TWRP recommended)
    3. Wipe system, Cache, data and ART/Dalvik cache
    4. Flash Nougat firmware Zipfile
    5. Flash the Rom zipfile
    6. Flash/Install GApps (optional, needed for e.g. Google Playstore to work)
    7. Flash/Install the root solution of choice (optional)
    8. Reboot to system


    Supported root solutions:

    Magisk v13.x

    SuperSU - stable and beta available (Site by CCMT that took over the the marketing from chainfire)
    SuperSU - direct download link for the latest SuperSU directly from the dev (chainfire)

    Lineage SU-addon (check your needed version: 14.1 arm or arm64) -> the removal zip is available here too.


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

    sources.png


    ROM & Additional links:
    Gerrit Code Review
    Github


    IceColdJelly AICP G+ community

    ROM OS Version: 7.1.x Nougat
    ROM Kernel: Linux 3.18.xx
    ROM Firmware Required: Unlocked bootloader, MIUI 9

    Version Information
    Status: Stable

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

    XDA:DevDB Information
    AICP 12.1, ROM for the Xiaomi Redmi 4A

    Contributors
    Nik001, muralivijay, ataberkozen for using their vendor/device source and for all who helped me to build this Rom.

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

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.x
    ROM Firmware Required: MIUI 9
    Based On: LineageOS

    Version Information
    Status: UNOFFICIAL

    Created 2017-12-24
    Last Updated 2017-12-24
    2
    Thread closed - Breaching XDA Rules (Rule 13)
    1
    Mate, the rom is perfect 0 bugs for now, even the tethering works, but I faced a bit of lag, and I saw the zram was set over 900mb (1800 or so), the swappiness at 0 (so if im not wrong it will not swap to the zram, and therefore the zram has no sense), and the cache pressure was a bit low.
    I putted this values with kernel adiutor and now is smooth:
    Zram 970mb
    Swapiness 60
    Vfs cache pressure 80
    Hope it helps

    Enviado desde mi Redmi 4A mediante Tapatalk

    ---------- Post added at 01:47 AM ---------- Previous post was at 01:33 AM ----------

    Oh and also had to flash the nougat firmware fix, because the backlight on bug appeared

    Enviado desde mi Redmi 4A mediante Tapatalk
    1
    On this another rom, theres a link for the Nougat firmware needed to the screen work:
    https://forum.xda-developers.com/redmi-4a/development/official-dotos-v1-1-t3716819

    Hope it helps mate, im using the rom for 3 days and is perfect I think ;)

    Thank you for the fast reply, but i didn't find the file you mention, only the dotOS rom and the gapps link, nothing else.