[Galaxy S 5 Android Development (Snapdragon)] _alexndr:
Important notes for Developers / ROM Chefs !!!

This ROM is NOT based on any other custom ROM. My work contains many original ideas and innovations that I introduced as the first in the ROM development (see "Changelist" in post #2). Of course, it does not mean that I do not need to thank anyone - there are a lot of people who helped / inspired me anyhow (see "Credits").

I will risk the statement that at this moment my "DevBase" is the most tuned and nuanced custom ROM available at XDA Forum :cool:

I agree to use any part of my work to create other custom ROMs, but it would be great if you add me to the credits :)

Hello :)

I have decided to create a pure base, which can be a pattern for ROM Chefs (not only for beginners) :D ROM is initially safe de-bloated (read below what does it exactly mean), but all features are present and works!

ROM can be installed by normal users as well. If you like a little de-bloated ROMs, clean, but with all working features - there is no better alternative I think ;)

ROM contains my extended CSC package, which I called G900FDAXX (this is a combination OXE, OJV + some additional). Final list of available CSC is as follows:

CAC, CAU, ECT, ILO, KSA, LEB, LYS, SEK, SER, SKZ, THR, TMC, WTL, XEO, XSG

NEW !!! :D I present you new, unique option: "Keep current CSC", so you can install my DevBase keeping your original CSC. My DevBase contains all possible CSCs from G900FD variant so there is no need to worry about it :)

How does it work? This option detects your current CSC and automatically applies it during install.

NOTE: Do not use so called "Superwipes" and/or additional /system formats, otherwise "Keep current CSC" option will not work properly. Please read THIS for explanation.

How can I check my current CSC?

Install Phone INFO app from Play Store and check your CSC. If you are using stock ROM and everything is ok with your CSC - all CSC fields in Phone Info app should display the same CSC, as below (otherwise, you probably forgot about wipe data when you were installing ROM with another CSC).

[IMG="Phone Info - CSC"]https://dl.dropbox.com/s/6h5gfk3jnn4w24r/CSC_info1.jpg[/IMG]

How can I change my current CSC?

Q: Recently I tested several ROMs, in result of it my CSC has changed. I would like to install your DevBase, but first I want to restore my country's original CSC. What should I do?

No special/additional steps are needed. Just install my DevBase with edited options.prop file placed on internal sdcard or extSdCard -> type CSC=[your_csc] instead of CSC=KCSC. Remember to perform "Wipe data" in the recovery before install. Note that sometimes additional reboot is required after completing pre-configuration steps to display your CSC correctly in Phone Info app).

ALEXNDR.G900FDXXS1CQD1:

1. Base:

- Odexed (original stock files) + stock kernel

- Multi CSC (list of natively supported CSC as above) (*)

- Removed SecurityLogAgent (annoying on rooted phones)

- Rooted systemlessly (Magisk v13 or SuperSU 2.82) (*)

- All original features are present and works

- No visual changes (100% stock look)

- Safe De-Bloated (more info below)

What does it mean and why is it called "safe"?

- ONLY apps available in stores are removed from DevBase, so you can easy (re)install any of these app if you like

- ONLY pre-installed system apps are removed, DevBase installer never touch any updated app nor app installed manually from store

Thus, the following conclusions can be drawn:

1. If you install my DevBase directly over stock ROM without performing "Wipe data" - in most cases almost all these apps will remain untouched, because almost all apps have been updated already (stored on /data). But then you will be able to remove any useless app using the "Application manager", like any other app. Removed manually app will not appear again until you use my DevBase while updating.

2. If you perform "Wipe data" while installing my DevBase - then all apps listed below will be removed. If you would like to use any of these apps - just install it manually from appropriate store. Installed manually app will not be removed during the next DevBase update.

Removed apps list:

ChatON

Chrome

Drive

Dropbox

Flipboard

Google+ / Photos

Group Camcorder

Group Play

Hangouts

Play Books

Play Games

Play Movies

Play Music

Play Newsstand

Smart Remote

2. Modded systemlessly - contains SYSTEMLESS DevBase

- All mods known from previous DevBase versions (up to v3.x) are applied systemlessly - all modified files (including modded apps) are placed in /data/devbase/system instead of physical /system partition. Mods section (#4) has been updated to install mods to /data/devbase/system/(priv-)app if systemless DevBase has been detected (otherwise will be installed as usual, to /system). Init.d support has been removed as it is deprecated (use post-fs-data.d or su.d instead). For more information, guides, tips & tricks - see SYSTEMLESS DevBase.

(*) - these options can be controlled by editing options.prop file (you can find such file in ZIP's root directory). Just place modified options.prop file (use e.g. Notepad++ to edit) in the root directory of internal emulated scdard (/data/media/0) or extSdCard (recommended if you plan to format internal emulated sdcard) and then start the installation. More info below:

#

# DevBase by ALEXNDR (_alexndr @ XDA)

#

# Configuration file to allow customize the installation.

#

# File inside the ZIP installer is just for reference - please do not modify it!

# If you want to change some options listed below - copy this file, then edit it using

# e.g. Notepad++ (do not use Windows Notepad!), then place your modified options.prop file

# in the root directory of internal emulated scdard (/data/media/0) or in the root directory

# of extSdCard (recommended if you plan to format internal emulated sdcard) and then start

# the installation.

#

# TIP: You do not need to repeat this step every next update I will release. As long as your

# customized options.prop file is present in the (ext)SdCard - future DevBase installers will

# "read in your mind" that you want to install with such options again.

#

# I agree to use any part of my work to create more advanced custom ROM,

# but it would be great if you add me to the credits

# Enable root access with the selected method. Allowed values:

# magisk - install Magisk & MagiskSU as root solution (default)

# supersu - install SuperSU as root solution, without Magisk

# noroot - do not root device (NOTE: you will get unmodified ROM!)

root=magisk

# CSC Selection. Allowed values:

# KCSC - Keep current CSC, recommended in most cases (automatic selection or copy your current CSC contents).

# You can force the use of natively supported CSC by typing (use UPPERCASE!): CAC, CAU, ECT, ILO, KSA, LEB,

# LYS, SEK, SER, SKZ, THR, TMC, WTL, XEO, XSG

CSC=KCSC

NEW !!! :D Starting from DevBase v3.0 there is a new customization method - you can change frequently switched root options just by renaming installer's ZIP file name (instead of editing options.prop file). Currently supported "strings" in the file name: "magisk", "supersu", "noroot":

Case 1 (default) - install the ROM with Magisk & MagiskSU as root solution

(just flash ZIP file "as it is")

Case 2 - install the ROM with SuperSU as root solution, without Magisk

(place "supersu" string anywhere in the ZIP file name, e.g. "G900FDxxx_DevBase_v4.x_supersu.zip")

Case 3 - do not root device (NOTE: you will get unmodified ROM!)

(place "noroot" string anywhere in the ZIP file name, e.g. "G900FDxxx_DevBase_v4.x_noroot.zip")

Installation:

CWM / TWRP recovery (KNOX 0x1) - open file using "Install (Zip)" option and confirm operation. If you want to perform "clean install' - perform "wipe data/factory reset" BEFORE flashing Zip! I highly recommend you to update bootloader/modem also to the newest versions available in post #3, to avoid potential bugs/issues.

Wipe data is NOT required if you are coming from stock ROM or a previous version of my DevBase (if you leave "Keep current CSC" option untouched in /options.prop or if you choose same CSC as you are currently using). In other cases - wipe data is highly recommended!

I do not recommend using any additional superwipes or formats before install my DevBase (my installer cleans your system well enough!).

Credits:

@Chainfire for systemless SuperSU and a lot of inspiration

@topjohnwu for Magisk, Xposed, another inspiration & some binaries used separately

@wanam for Xposed framework used in older DevBase versions

@amarullz for Aroma Installer used in older DevBase versions

@svadev & @_riddle for deodexed tools/binaries used in older DevBase versions

Hit Thanks button if you like my work. If you really appreciate my work - feel free to buy me a beer :)