[G 2014 Android Development] thedeadfish59:
AICP For Titan

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 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 (LAOS) we are now 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/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.
*
*/

- Accidental touch (Lineage)

- Add GMS to battery optimization

- Adjust number of notifications on Lockscreen

- Adjust volume dialog timeout

- Advanced reboot

- Aicp Extras app for customizations and beyond

- AICP Logo in Stausbar

- Allow more time steps to 'Do not disturb'

- Automatic speakerphone by checking Proximity (Dialer)

- Battery bar

- Battery bar with color change & animation on charge

- Battery save mode custom color

- Bootanimation changer

- Bluetooth battery level display for external devices

- Brightness Icon and position settings

- Brightness slider

- Charging sounds: Add option to use default charging sound

- Cpu info overlay

- Current Charging status on Lockscreen

- Custom App opening/closing Animations

- Custom Carrier Label

- Custom QS headers

- Custom volume step count

- Customize Night mode brightness settings

- Disable lockscreen media art

- Double tap to sleep on lockscreen

- DT2S on navbar (for smartbar)

- DT2S on status bar

- DUI Fling (navbar with gestures)

- DUI Pulse sound EQ in the statusbar

- DUI Smartbar (on-screen navbar)

- DUI Stock navbar option

- Enhanced Changelog in AicpExtras

- Enhanced QS tile for Hotspot (longpress for Tethering options)

- File persistence on "hosts" file between flashes

- Fingerprint authentication vibration

- Fingerprint on reboot (optional)

- Fingerprint scrolling

- Flip to Mute/Reject Call

- Headphones icon switch

- Hide Magisk Manager / SuperSU from Settings, if it is uninstalled

- Installed Apps: show link to Google Playstore

- Integrated OTA-Update App in Aicp Extras

- Launch music player when headset is connected

- Lockscreen Shortcuts

- Membar in recents (default and in SlimRecents)

- Network traffic in status bar

- Notification Light

- OmniJaws (QS weather & weather in statusbar)

- Partial screenshot

- Power menu and dialogs transparency

- Power menu on lock screen hide

- Power/reboot dialogs dim amount

- QS footer warnings

- QS switchable for location (from LAOS)

- QS Tiles Columns

- QS tile for Ambient Display

- QS tile for music playback & title display

- QS tile for Night mode

- QS Tiles Rows

- QS Tile titles visibility

- QS Tiles- AicpExtras, disable music track, sync, caffeine, PIP, nfc, sound, usb, system language, ime selector, usb tether, screenshot, flashlight, compass

- Quick settings disable on lockscreen

- Quick settings fast pull down

- Reset Battery Stats

- ROM Stats

- Screen Record

- Screenshot sound toggle

- Scrolling Cache

- Selinux mode switch

- Set start/end-colour of Pulse

- Silent Mode

- Slim Recents: allow to adjustment of round corners for cards

- SlimRecents with tweaks like App side bar display

- Small QS Tiles (scrollable)

- Smartbar: Pixel Button Animatiom

- SmartBar: show arrows for next/previous track when playing audio

- Statusbar AICP logo

- Statusbar temperature

- Statusbar Ticker for notifications and music title

- Suspend actions

- Swap volume buttons

- System app remover

- SystemUI theme (qs, power menu, navbar, volume dialog)

- Unlink Notification Volume

- Toggle to make Volume buttons change Music volume, not phone

- Volume dialog stroke settings

- Volume dialog transparency

- Volume rocker music control

- Volume Steps

- VoLte icon

- Weather in statusbar headers with icon support

- Weather settings for Lockscreen (in Aicp Extras)

- Yoga time

...and more

In the beginning we would like to thank:

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

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

DU team

SlimRoms team

Resurrection Remix team

Community

...

@LorD ClockaN

@zipsnet

@eyosen

@semdoc

@Drgravy

@Hashbang173

@SpiritCroc

@wartomato

@eboye

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

...

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!!

Latest Stable Release Version 13.1

Unofficial download link: AICP 13.1 Unofficial builds

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

Google Apps(Choose ARM/8.1): OpenGapps

In this ROM, everything works except

-Permissive SELinux

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 built on a nightly or weekly schedule.

Q. Does this ROM support custom kernels?

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 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. You will need to use the version arm64/arm/whatever for SDK 27.

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 backup 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 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", 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 then reboot.

Using the ROM:

Q. How do I enable software buttons?

A. Go to Aicp Extras/Navigation bar, and enable it.

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 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 re-flash Magisk!

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 (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 Oreo. You don't need to install any Add-on's, 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 please 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 ROM and GApps and transfer them to your device.

2. Boot to recovery (TWRP recommended).

3. Wipe the System, Cache, Data and ART/Dalvik cache.

4. Flash the ROM Zipfile.

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

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

7. Reboot your device.

The ROM has GApps persistence in between dirty flashes, so you only have to flash them once!

The root solution should be flashed together with every OTA update (= ROM Update)

Currently Supported Root Solutions:

Magisk stable

Magisk versions higher than 14.0 doesn't require flash on every dirty flash

KERNEL:

The kernel in this ROM follows LAOS source with custom additions.

PREREQUISITE FOR OTA:

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

You can still use the LAOS recovery and OTA app, but you will need to download the zip file and flash it manually from within your recovery. The Zipfile gets saved in the "aicp_ota" folder on your internal storage.

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

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

Kernel source:

kernel_motorola_msm8226

ROM & Additional links:

AICP Gerrit Code Review

AICP on Github

AICP G+ community

Contributors

thedeadfish59

Device Source Code: Device Tree

ROM Source Code: AICP Github

Credits for titan:

[MENTION=5075128]LuK1337[/MENTION] : for LineageOS codes, our codes and works mostly depends on his code

[MENTION=7344859]RenanQueiroz[/MENTION] : For his tree with HAL1 fixes and commits for CypherOS which I cherry picked here

[MENTION=6519039]jhenrique09[/MENTION] : For Offline charging helps he did for Renan

[MENTION=2233641]AdrianDC[/MENTION]: For bringing the camcorder and HAL1 fix

[MENTION=5778309]luca020400[/MENTION]

[MENTION=4802051]Somcom3X[/MENTION]

[MENTION=6294469]kaustubh88[/MENTION] & [MENTION=3857343]crpalmer[/MENTION]

[MENTION=5083850]Thecrazyskull[/MENTION]

Motorola : For providing the Kernel Source Code

CM/LOS Team

ROM OS Version: 8.1.x Oreo

Kernel: Linux 3.4.x

Version Information:

Status: Stable-Unofficial

Release Date: 03-16-2018

Current Stable Build: 05-16-2018

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

​