[ROM][G900FD][DUOS][ALEXNDR] * CQD1 * DevBase v4.3 * Multi CSC, Safe De-Bloat

Search This thread

Georgie9117

Senior Member
Mar 4, 2009
207
67
47
Budapest
I installed Xposed for Lollipop with Wanam module. It works great - except GSM signal bar I think becouse of there are two signals in case of 900FD. There is an app update every device start since I installed Wanam but it's not a problem for me. The ROM runs great in the future!

G.
 

RONIN68

Senior Member
Oct 30, 2009
66
16
ITALIA
I installed Xposed for Lollipop with Wanam module. It works great - except GSM signal bar I think becouse of there are two signals in case of 900FD. There is an app update every device start since I installed Wanam but it's not a problem for me. The ROM runs great in the future!

G.
Hello. I tried to install Xposed but not working. Which version you have installed and how? Thanks.
 

FlemishDroid

Senior Member
Last edited:
  • Like
Reactions: Georgie9117

Georgie9117

Senior Member
Mar 4, 2009
207
67
47
Budapest
Hello. I tried to install Xposed but not working. Which version you have installed and how? Thanks.

Hello!

I used this (xposed-sdk21-arm-20150430-arter97-V4-krait.zip version) to install xposed framework and then I installed Wanam module. Used FlashFire 0.21 to install both of them. KNOX still 0x0. Enable root function to more effective work.
 

Georgie9117

Senior Member
Mar 4, 2009
207
67
47
Budapest
Hello everyone: you can install viper4android on this rom?

Hello!

Read carefully the viber4android xda forum and you get answer. I plan to install this mod (maybe today) and I will start this way: install the mod as user app and try most important functions for a while (1-2 days). If it works and no problems I will install it as system app.

(If you already installed please report results fo us, thanks!)

G.
 

acesarodrigues

Senior Member
Jan 29, 2013
59
7
My device is an MD, use the rom GERIS that is discontinued, you know if I can use I am on my device?

Enviado de meu SM-G900FD usando Tapatalk
 

Peppo

Senior Member
Aug 31, 2008
156
37
Hello!

I used this (xposed-sdk21-arm-20150430-arter97-V4-krait.zip version) to install xposed framework and then I installed Wanam module. Used FlashFire 0.21 to install both of them. KNOX still 0x0. Enable root function to more effective work.


Tried it and got error message, the rom is not deodexed. Flashed alexandr via PhilzTouch before.
 
Last edited:

Georgie9117

Senior Member
Mar 4, 2009
207
67
47
Budapest
In my case the battery life enough for 2 days with following conditions: GSM data on ~12 hours a day, Wi-Fi on ~4 hours a days, ~35-45 minutes phone talk time minimum (there was 3 hours too some days ago), no play games, browse internet 1 hour a day, and some messages on Hangouts and Viber so this way remain 15-25% battery on the end of the second day.

G.
 
  • Like
Reactions: badmania98

acesarodrigues

Senior Member
Jan 29, 2013
59
7
I could not install the ROM , was locking system process, I'm not stock ROM and did cache cleaning, have to do cleanup?
I am rom 5.0 custom.

Enviado do meu SM-G900FD através de Tapatalk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    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).

    CSC_info1.jpg

    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 :)
    34
    DOWNLOADS

    Download ROM:

    >> G900FDXXS1CQD1_DevBase_v4.3.zip << (Android 6.0.1, updated Jul-04-2017, more info in post #300)

    >> Recent ROM versions for SM-G900FD <<

    Note:
    Check MD5 sum BEFORE flash (useful TOOL), because flashing damaged or incomplete ZIP files could (soft) brick your phone! Correct MD5 sum is shown on the AndroidFileHost website while downloading.


    Changelog


    v4.3 (starting from G900FDXXS1CQD1 DevBase):

    - "root.supersu" & "root.magisk" variables in the options.prop file have been replaced by one "root" variable (dropped possibility to install both -
    SuperSU & Magisk - due to the fact that Magisk v13+ does not support SuperSU as root solution)
    - SYSTEMLESS DevBase updated to v1.9 (see changelog HERE)

    v4.2 (not released for G900FD):

    - Added possibility to add systemlessly NEW apps to /data/devbase/system/(priv-)app (up to 5 apps in "app" & 5 apps in "priv-app"). The only condition is that you need to rename its directories to CustomApp[1...5] (e.g. CustomApp1, CustomApp2, etc..). These apps will remain even if you flash a new DevBase as corresponding dummy directories will exist in future DevBase updates
    - In case of DevBase update or re-installation - installer will not remove your custom entries in /data/devbase/system/build.prop and in *.xml files placed in /data/devbase/system/csc
    - SYSTEMLESS DevBase updated to v1.6 v1.8 (see changelog HERE)

    v4.1 (not released for G900FD):

    - Added full Magisk support - MagiskSU is now default root solution (ROM should pass SafetyNet with Magisk Hide enabled in settings)
    - Since systemless Xposed does not need to be re-installed every new DevBase I will release (in case of using the same root solution) - it makes no sense to keep it anymore as installation option
    - SYSTEMLESS DevBase updated to v1.5 (see changelog HERE)

    v4.0 (not released for G900FD):

    - A huge step in the systemless direction! DevBase installer now installs pure odexed stock ROM (just slightly debloated), then systemless SuperSU, then systemless DevBase, then (optionally) systemless Xposed
    - All Knox related applications are available again (except SecurityLogAgent, to prevent annoying security alerts)
    - Fake KNOX 0x0 status (check it in PhoneINFO app) - most of Knox related apps should work again, like in case of untouched KNOX flag
    - All mods known from previous DevBase versions (up to v3.x) now 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)
    - Deodex on-the-fly feature has been removed. If you really need deodexed ROM - you can install someone else's deodexed ROM, then systemless DevBase as an overlay
    - Init.d support has been removed as it is deprecated (use su.d instead)

    v3.8 (starting from G900FDXXS1CPH1 DevBase):

    - Added hexpatch to root_from function (support for SM-N930x, thanks to @Chainfire)

    v3.7 (starting from G900FDXXU1CPF4 DevBase):

    - Another major improvement/bugfix in deodex_from function (full support for 64 bit OS)

    v3.6 (starting from G900FDXXU1CPE1 DevBase):

    - Major improvement/bugfix in deodex_from function (added "-g" switch to zip command - finally no issues in case of deodexed Android 6.0.1)

    v3.5 (starting from G900FDXXU1CPE1 DevBase):

    - Improved root_from function (Android 5.1+) - added "setprop selinux.reload_policy 1" removal from init.rc (thanks to @Chainfire)
    - Fixed bug in new alghoritm for checking whether stock recovery should be installed or not (introduced in v3.4)
    - Added new functionality - installer will store a copy of patched stock kernel in /data for those who flashed custom kernel but for some reasons want to revert to the stock kernel (Android 5.1+)

    v3.4 (not released for G900FD):

    - Completely changed alghoritm for checking whether stock recovery should be installed or not (it applies to FlashFire users). Now it depends on previously used recovery (instead of checking KNOX flag which was not 100% reliable across devices/recoveries)

    v3.32 (starting from G900FDXXU1CPE1 DevBase):

    - Updated set_csc, kcsc_backup, kcsc_restore functions to support more devices
    - Updated partition detection algorithm to support more devices
    - Fixed path to options.prop file placed in external sdcard in case of updating Marshmallow while using FlashFire
    - Minor intaller's optimizations/bugfixes

    v3.31 (not released for G900FD):

    - Potential fix for reported problems with root (rare cases)

    v3.3 (starting from G900FDXXS1BPD3 DevBase):

    - Improved method of reading options from ZIP file name (previous was directory/path sensitive also)
    - Added support to mod_csc function for other than UNIX text format (it's a little ridiculous, but in case of some CSCs - original /system/csc/other.xml file has Windows or MAC text format!)
    - Initial support for options.prop file in CRLF text format (DOS/Windows)

    v3.21 (not released for G900FD):

    - Fixed installer's issue if there is a [space] present in ZIP filename or a directory containing DevBase (see #1728)

    v3.2 (not released for G900FD):

    - Another improvements in add_initd function (details - see v1.3)
    - Improvements in set_perm, set_perm_rec and root_from functions (recovery-independent structure)
    - Improvements in deodex_from function related to Android MM
    - New get_con function in the main sh script (useful for devs)
    - BusyBox updated to 1.22.1 (bionic) [no, this is NOT a mistake!]
    - Minor intaller's optimizations/bugfixes

    v3.1 (not released for G900FD):

    - Significantly improved "add_initd" function in the update-binary shell script. Added support for (probably) all available Samsung's platforms (e.g. Exynos) and all available firmwares (based on Android 4.4+)
    - In case of installation with Xposed framework installer checks if Xposed Installer app is present in /data/app and installs it automatically if necessary
    - Minor intaller's optimizations/improvements

    v3.0 (starting from G900FDXXS1BPC3 DevBase):

    - Entire installer has been re-written from the scratch! All "magic" moved to update-binary which is a shell script. It opens up new possibilities never possible before!
    - Introduced new customization method - you can change most frequently switched options just by renaming installer's ZIP file name. Currently supported "strings" in the file name:
    "noroot" (means "do not root"), "deodex", "xposed", "initd" (no other comments are required, I hope..)
    - Starting from v3.0 init.d support is disabled by default

    v2.3 (not released for G900FD):

    - Added option to install suitable Xposed framework in one step while installing DevBase (for maximum comfort). There is a new xframework.sh script - device independent structure and full Android 5.1+/6.0+ support. Backup method is compatible with well known Xposed uninstallers (tested with @wanam's)

    v2.2 (not released for G900FD):

    - Significantly improved root_supersu.sh script - device independent structure and full Android 5.1+/6.0+ suport including on the fly kernel/ramdisk/sepolicy patching if necessary. SU binaries are still copied to /system as it is the best choice in case of custom ROMs
    - Changed order of performed operations in the updater-script due to new root_supersu.sh script advantages
    - Installer wipes partitions designated for RAW content (e.g. kernel / recovery image) before writing to them
    - Minor additions in dex_injector.sh script related to Android 6.0+

    v2.11 (not released for G900FD):

    - Fixed some minor installer's issues ("set_perm" function in set_csc.sh did not work correctly while using wildcards in the path (it was exclusively FlashFire issue! no problem with TWRP / CWM). Fortunately - only /system/etc/csc_*.txt were really "affected" - it didn't cause real issues as these files are empty)

    v2.1 (not released for G900FD):

    - As some people felt a bit disapointed / worried about DevBase v2.0 ROM file size - finally I have decided to debloat stock system.img (in same way as in v1.x => "Safe De-Bloat") and remove option to install all available bloatware. ROM file size has been reduced from about ~1.6GB to about ~1.3GB. Note for Devs / Chefs: Do not use Windows tools - you need Linux with "selinux" package installed (to handle SELinux contexts) to mount (rw) system.img safely. If you want to add / change any system content this way - remember about proper chown/chmod/chcon
    - Added device check during install as flashing directly to EMMC block is potentially more risky for "other" devices. Installer will abort installation if device is not N910F (trlte(xx)). If you want to try this ROM on other N4 devices - you need to remove this check manually from updater-script (it is more conscious procedure)

    v2.0 (not released for G900FD):

    - Completely new concept of ROM development that makes it easy to build most tuned and nuanced custom ROMs. No more arduous manual analysis or (often) invalid permissions / SELinux contexts taken from a kitchen. The main idea is to flash original, stock /system image as EMMC block (in same way as PC Odin does) instead of extracting ZIP's contents to mounted partition, then setting permissions, then creating symlinks, etc. However, it requires more knowledge related to sh scripts as ALL necessary changes need to be done on the fly, while installing (e.g. by injecting modified classes.dex and/or modified images/xmls to /res/../* into an apk). There are no limits, all depends on your creativity!
    - One common ZIP installer for Odexed and Deodexed ROM - you can control it by new "deodexed.rom" entry in options.prop (there is new dex_injector.sh script which can deodex on the fly the whole ROM using previously processed classes.dex files)
    - ROM is still Safe De-Bloated by default but removing bloatware during install is not mandatory - you can control it by new "safe.debloat" entry in options.prop (there is new protection included to avoid overfilling /system in case of large size of additional MODs and/or large multi CSC package)
    - Major improvements in csc_detect.sh script - it is able to detect previous CSC even in cases of flashing over e.g. CM based ROM and/or previously formatted system partition. However, if detected CSC is NOT included in my multi CSC package, in both mentioned cases it is still not possible to keep detected CSC (as there is no CSC related content to backup / restore)
    - Improvements in all sh scripts - additional "metadata" entries in updater-script (related to processed contents) are not required
    - Improvements in root_supersu.sh script - it is suitable for 32 and 64 bit OS
    - Added full zip support from the command line

    v1.x (initial version, further improvements, up to G900FDXXU1BOJ1 DevBase):

    - Built without using a kitchen. All set_metadata* / symlink entries are result of arduous manual analysis. For more info about the method - see hidden content for Devs / Chefs in THIS thread.
    - New customization method without using Aroma (options.prop)
    - Many useful scripts for easy installation: CSC applying/autodetection, backup/restore of security files, backup/restore of existing CSC package, XML modding on the fly, root, init.d support
    - Many small changes and improvements "in the meantime" which I simply do not remember...
    - Safe De-Bloated (see post #1 for details)
    23
    DOWNLOADS

    Useful PC Odin flashable files:

    >> Recent bootloader versions for SM-G900FD <<

    >> Recent modem versions for SM-G900FD <<

    >> Recent kernel versions for SM-G900FD <<
    (suitable kernel is already included in my ROM)

    Note:
    To update bootloader and/or modem you have to power off the phone, wait min 10 seconds and then go directly to Download Mode using Vol_down+Home+Power key combination. Load bootloader using BL button and/or modem using CP button in PC Odin. Push "Start".
    18
    DOWNLOADS

    Optional MODs

    I put some of my favorite MOD's - especially for normal users who want to use my rom - as it is. These modifications I have done personally using (bak)smali tools - these are NOT "borrowed" from other custom rom, nor from someone else's thread (thanks to @majdinj & @tdunham for their excellent modding guides). All files are TWRP / CWM / FlashFire flashable ZIPs:

    1. Modified Camera app:
    - Full functionality of the Camera app in low battery

    2. Modified Phone app:
    - Disabled increasing ringtone

    3. Modified Messages app:
    - Disabled SMS to MMS auto-converting
    - Increased SMS/MMS recipient limit (10 -> 1000)
    - Increased SMS/MMS hour limit (100 -> 1000)
    - Disabled SMS / MMS log history in call logs
    - Disabled SMS delivery notifications (*)

    (*) If you long press a message you can still check if the message has been delivered or not, we do not need to see and hear notifications for every sms. It's annoying to me!

    >> MODs for G900FD (Marshmallow) <<

    >> MODs for G900FD (Lollipop) <<

    In case of MODs installed to /system - you can restore original apk using backup stored in /data/backup/alexndr
    13
    I present you BPD3 DevBase v3.3 :cool:

    (for more info - see "Changelog" in post #2)

    I introduced possibility to change most frequently switched options (usually controlled by options.prop) by changing ZIP filename.

    Do you need init.d and Xposed? include "initd" and "xposed" strings (not case sensitive) anywhere in the name and then run the installer, e.g. (all below forms are valid):

    - G900FDXXS1BPD3_DevBase_v3.3_initd_xposed.zip
    - G900FDXXS1BPD3_DevBase_v3.3_INITd.XpOsEd.zip
    - G900FDXXS1BPD3_XPOSED_DevBase_v3.3_initd.zip
    - ... and even extremely shortened 'xposedinitd.zip' will work, but I do not recommend it (you will probably forget ZIP's purpose in a few days) ;)

    Do you need deodexed? (all below forms are valid):
    - G900FDXXS1BPD3_DevBase_v3.3_deodex.zip
    - G900FDXXS1BPD3_DevBase_v3.3_deodexed.zip (as "deodex" string is also present)
    - G900FDXXS1BPD3_DevBaseDEODEX_v3.3.zip, etc...

    List of currently supported "options" in the file name:
    "noroot" (means "do not root"), "deodex", "xposed", "initd" (no other comments are required, I hope...)

    Difference is very visible from a dev perspective - completely re-written installer and all "magic" moved to update-binary :cool:

    Enjoy :cowboy:

    ROM:

    >> G900FDXXS1BPD3_DevBase_v3.3.zip << (updated Apr-22-2016)

    Bootloader & modem (update is mandatory!):

    >> BL_G900FDXXS1BPD3.tar.md5 << (mandatory)
    >> CP_G900FDXXU1BOE2.tar.md5 << (mandatory if you have an older)

    No wipe data required if you are coming from stock ROM or a previous version of my DevBase :)