[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
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-R with a base of AOSP repositories and some additions from LineageOS for device-specific repositories.

If there are any bugs we will sort them out if it concerns our codebase. 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

@maxwen and the rest of the OmniRom team

DU team

Resurrection Remix team

AOSiP team

Community

Latest Stable Release Version 16.1

Download link: Download link - Sourceforge

VENDOR : Download link - Sourceforge

Changelog: Initial Build.

Google Apps:

We recommend MindTheGapps as it has been thoroughly tested and it works well with the ROM, some other minimal GApps packages still have issues, however feel free to try other GApps if you want to, just try MindTheGapps if you have any GApps related issues

MindTheGapps: https://androidfilehost.com/?w=files&flid=322935

Mirror: http://downloads.codefi.re/jdcteam/javelinanddart/gapps

You tell... :p

FAQ:

Before using the ROM:

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

A. No, basicly it's an Unoffical Build.

Q. Does this ROM support custom kernels officially?

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

Q. Does this ROM include GApps or do I have to flash them separately?

A. No, we do not include prebuilt GApps, because of possible licensing issues with Google Software and because some users do not want GApps preinstalled as they want to use alternative services like MicroG or just prefer flashing a GApps "flavor" of their liking.

Q. Does this ROM use the camera or gallery app from stock?

A. It depends on the device. In most cases these apps include proprietary libs/code and cannot be included in the device trees on Github or we risk having the ROM banned from Github. In this case, we might try to make them installable (separate from the ROM zip), or we might provide a version of these apps with the ROM that doesn't include any proprietary libs. It's also sometimes the case that these apps are simply not included because we didn't feel the need to do so for the device in question.

Q. Does this ROM have Extended/Scrolling screenshot?

A. No, extended screenshot was implemented using an app extracted and modified from manufacturer firmware/system images and is proprietary as well. It led to the closing of many ROM's sources on GitHub.

Q. Does this ROM have FaceUnlock?

A. No, FaceUnlock was also an app extracted and modified from some manufacturers. Even Google removed the Trusted Face (FaceUnlock) feature for security reasons on Android 9.0/10.x. Adding the modified feature did the same to ROM sources as described above.

Q. Can you add (insert favorite weather provider)?

A. No, we cannot add more weather providers as the implementations change and we (the ROM) now have to pay for most services, and that is not cheap, so we decided to use the best free service that we could find, the only way to add your own is for users to apply for their own API key to use their preferred service.

Q. Does this ROM have private official builds with the above proprietary libs included?

A. No, we believe in open source software, this way users know what's in the build and can replicate it themselves, all official builds are built on our build servers using the public sources from github and no one can (or would) add their own private sources to the build.

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 behavior 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 perform that task for you.

Using the ROM:

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. 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 on the AICP Extras main page.

The ROM should contain everything you need to enjoy Android R. 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 zip file.

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 (OrangeFox recommended).

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

4. Flash the ROM zip file.

5. Flash the GApps (optional, needed for e.g. Google Playstore to work)

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!

Guide for Noobs if you cannot Boot! TESTET AND CONFIRMED!(if you didn't know what are you do, do nothing and stay on Stock ROM!

if you have already UNLOCKED BL + TWRP/OFOX, SKIP STEP 1-5:

- Unlock your BOOTLOADER

- Install TWRP/OFOX

- Flash DM-Verity

- Wipe DATA/CACHE

- Reboot to System

- Download ALT+F4 Vendor (link unter > "here in every Thread - Downloads" + Your ROM!

- Go to TWRP/OFOX, wipe > VENDOR/VENDOR_IMAGE (BACKUP EVERYTHING EXCEPT DATA)

- Flash vendor_altF4.zip.

- Reboot Recovery (not System!)

- Flash <YOUR_ROM.ZIP>

- Reboot SYSTEM

- wait for BOOT, if sometimes gives one Reboot it is normal!

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.4 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.

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

Kernel source:

GitHub - SamarV-121/android_kernel_samsung_universal7904

Contribute to SamarV-121/android_kernel_samsung_universal7904 development by creating an account on GitHub.

github.com

Device tree source:

GitHub - SamarV-121/android_device_samsung_a40

Contribute to SamarV-121/android_device_samsung_a40 development by creating an account on GitHub.

github.com

Vendor source:

SamarV-121/proprietary_vendor_samsung

Contribute to SamarV-121/proprietary_vendor_samsung development by creating an account on GitHub.

github.com

ROM & Additional links:

AICP's Homepage

AICP Gerrit Code Review

AICP sources on Github

Contributors:

@SamarV-121

@kevios12

@haridhayal11

If you like all of my shared projects and want to make a small donation, click the link below.

ℹ️ checkout the main Channel: http://t.me/sga40

ℹ️ checkout the discussion Group: http://t.me/kevios12discussion

Information:

ROM OS Version: 11.x

Kernel: Linux 4.4.xx

ROM Firmware|Vendor requirements: ALT+F4 / Stock FW

Status: {STABLE}

Release Date: 04-19-2021​