Related
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
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) 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 G900FAXX (this is a combination OXX, OXA, OXE + some additional). Final list of available CSC is as follows:
ALB, ATL, ATO, AUT, BGL, BTU, CMF, CYO, DBT, DTM, EGY, ETL, EUR, H3G, ILO, ITV, KSA, LUX, MAT, MEO, MET, MID, MOB, MSR, MWD, LEB, NEE, NZC, OMD, OMN, ORX, PHE, PHN, PRO, ROM, SEB, SEE, SER, SIO, SLK, SWC, TEB, TEM, TEN, TMZ, TNZ, TOP, TPH, TSI, TSR, TWO, VD2, VDS, VIA, VIM, XEF, XEH, XEO, XSG (underlined - VoLTE support)
NEW !!! I present you new, unique option: "Keep current CSC", so you can install my DevBase keeping your original CSC even if it is not listed above! Note that in such case this option has some limitations, so read carefully informations below.
How does it work? Normally, if your current CSC is listed above (contained in my DevBase), this option detects it and automatically applies during install. However, if the detected CSC is not contained in my DevBase, then my new script makes a copy of all known contents associated with CSC (except so-called "CSC bloatware" placed in /system/app & priv-app, e.g brand and/or country specific apps), then installer cleans /system partition as usual, then it flashes new ROM base and then it restores backed up CSC contents instead of my multi CSC pack. It seems to be easy, but was rather laborious - I have analyzed almost all multi CSC packs and most of single CSC packs available in the world (designed to work with G900FXX... base) to make this script as accurate as possible.
As you probably noticed - in such case your CSC pack will be as complete as it was before, thus if you are currently using any custom ROM - BEFORE the first installation of my DevBase I highly recommend you to flash the latest original stock ROM released for your country, then perform "wipe data" using stock recovery and then CHECK your CSC (chage it if necessary - more information below).
For further updates you do not need to repeat it every time. You can flash directly the next (newer) version of my DevBase with "Keep current CSC" option untouched in /options.prop - you can repeat such update procedure for a long time. As you probably noticed again - if your CSC is not contained in my DevBase, then your CSC pack will not be updated until you flash a newer original stock ROM for your country. But don't worry - CSC updates usually bring nothing (usually the only updated thing in CSC pack is the whitelist of LTE networks). I'm not trying to say "CSC updates are completely unnecessary". It's good idea to update it occasionally (especially if you noticed that major Android update for your country has been released). When you will decide to do it - just flash temporarily again the newest original stock ROM containing your CSC, and then you can return to my the newest DevBase (this time wipe data will not be necessary).
NOTE: Do not use so called "Superwipes" and/or additional /system "formats", otherwise "Keep current CSC" option may not work properly (e.g. if detected CSC is NOT included in my multi CSC package, then it will not be possible to keep detected CSC, as there is no CSC related content to backup / restore).
NOTE: I do not recommend to use "Keep current CSC" option if your current PDA (build number, after the dot) is other than G900FXX... (e.g. G900FDX..., G900FZH..., etc.).
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).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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?
Case 1: Your country's original CSC is available in my DevBase
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).
Case 2: Your country's original CSC is not available in my DevBase. Your original ROM contains single CSC pack (ommiting parts with model name and incremental version - name of CSC package is same as product code = CSC)
Example:
Code:
Model: SM-G900F
Model name: GALAXY S5
Country: Papua New Guinea
Version: Android 4.4.2
Changelist: 2089850
Build date: Fri, 25 Jul 2014 10:07:06 +0000
Product Code: [COLOR="Red"]PNG[/COLOR]
PDA: G900FXXU1ANG9
CSC: G900F[COLOR="red"]PNG[/COLOR]1ANH1
MODEM: G900FXXU1ANG8
In this case you need to flash your original ROM using PC Odin, then perform wipe data using stock recovery and then check your CSC in Phone Info app (note that sometimes additional reboot is required after completing pre-configuration steps to display your CSC correctly in Phone Info app).
Now you can install my DevBase - just leave "Keep current CSC" option untouched in /options.prop (it's good idea to perform "Wipe data" again from recovery to remove potential "garbage" from /data partition like e.g app data created by CSC bloatware and CSC bloatware updates).
Case 3: Your country's original CSC is not available in my DevBase. Your original ROM contains multi CSC pack (ommiting parts with model name and incremental version - name of CSC package differs from product code and usually begins with the letter "O")
Example:
Code:
Model: SM-G900F
Model name: GALAXY S5
Country: Egypt
Version: Android 4.4.2
Changelist: 2089850
Build date: Thu, 03 Jul 2014 05:08:46 +0000
Product Code: [COLOR="red"]EGY[/COLOR]
PDA: G900FXXU1ANG2
CSC: G900F[COLOR="red"]OJV[/COLOR]1ANG2
MODEM: G900FXXU1ANG2
In this case you need to flash your original ROM using PC Odin or FlashFire (see "NOTE" below), then perform wipe data using stock recovery and then check your CSC in Phone Info app (note that sometimes additional reboot is required after completing pre-configuration steps to display your CSC correctly in Phone Info app). Then becomes something strange - you will see that your CSC is XSG (United Arab Emirates) instead of EGY (Egypt)! It's because XSG is the default CSC in OJV multi CSC package in case of flashing it on ROM with other than OJV CSC package. To change CSC to EGY you need CSC Select app from Play Store (requires root and stock recovery to perform all operations correctly!). Then check your CSC again using Phone Info app - should be OK.
Now you can install my DevBase - just leave "Keep current CSC" option untouched in /options.prop (it's good idea to perform "Wipe data" again from recovery to remove potential "garbage" from /data partition like e.g app data created by CSC bloatware and CSC bloatware updates).
NOTE: Sometimes it's not possibe to flash your original stock ROM, e.g. in case you have already installed a major update, but it has not been released for your country yet. In such cases Samsung usually prevents downgrades - phone usually will not be able to boot after flashing or maybe you will not be able to flash it at all.
ALEXNDR.G900FXXU1CRH1:
1. Base:
- Odexed (original stock files) + stock kernel
- Multi CSC OXM (list of natively supported CSC as above) (*)
- Removed SecurityLogAgent.apk (annoying on rooted phones)
- Removed Rlc.apk (to avoid "OEM unlock issue")
- Rooted systemlessly (Magisk v17.1 or SuperSU 2.82 SR5) (*)
- All original features are present and works (except KNOX related apps)
- No visual changes (100% stock look)
2. CscFeature MOD (enabled some built-in, hidden features):
- Added shutter sound menu in Camera app
- Sending/receiving MMS without data on
- Show SMS/MMS sending time instead of receiving
- Added "Call/Message block" option in Settings
- Added "LTE Only" network mode (NOTE: voice calls may not work in this mode)
- 4G/3G network support in any CSC (master/slave SIM, applies to dual SIM variants)
- Call Recording (via "Record" button or "Auto record calls" option)
- Enabled "Recent App Protection" feature
3. Xposed framework & Xposed Installer app [optional] (*)
4. Virtual / physical Safe De-Bloat (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
(*) - 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 - edit the copy of this file, then place
# 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.
#
# NOTE: All below variables and values are case sensitive!
# 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
root=magisk
# Install Xposed framework matched to the ROM (there is also a possibility to detect Xposed profile
# automatically, but auto-detection will not work if user will perform wipe /system). Allowed values:
# auto - detect Xposed profile automatically
# true - force Xposed framework installation
# false - do not install Xposed framework
xposed=auto
# 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!): ALB, ATL, ATO, AUT, BGL, BTU, CMF,
# CYO, DBT, DTM, EGY, ETL, EUR, H3G, ILO, ITV, KSA, LEB, LUX, MAT, MEO, MET, MID, MOB, MSR, MWD, NEE, NZC, OMD,
# OMN, ORX, PHE, PHN, PRO, ROM, SEB, SEE, SER, SIO, SLK, SWC, TEB, TEM, TEN, TMZ, TNZ, TOP, TPH, TSI, TSR, TWO,
# VD2, VDS, VIA, VIM, XEF, XEH, XEO, XSG
CSC=KCSC
# Custom CSC Features. Allowed value in each line: <Example_line>value</Example_line>
<CscFeature_Sip_EnableSymbolInSecondary>en_GB;en_US;az;ca;cs;da;de;et;es;eu;el;fr;gl;ka;hr;it;is;kk;lv;lt;hu;nb;nl;pl;pt;ru;ro;fi;sr;sk;sl;sv;tr;uk;ko;hy;bg;ar;fa;ur;zh_CN;</CscFeature_Sip_EnableSymbolInSecondary>
<CscFeature_Sip_ConfigOpBranding>SPR</CscFeature_Sip_ConfigOpBranding>
<CscFeature_Common_SupportWcdmaInSlave>true</CscFeature_Common_SupportWcdmaInSlave>
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_Setting_EnableMenuBlockCallMsg>true</CscFeature_Setting_EnableMenuBlockCallMsg>
<CscFeature_Setting_CustNetworkSelMenu4>LTEONLY</CscFeature_Setting_CustNetworkSelMenu4>
<CscFeature_Setting_SupportRealTimeNetworkSpeed>true</CscFeature_Setting_SupportRealTimeNetworkSpeed>
<CscFeature_SmartManager_DisableAntiMalware>true</CscFeature_SmartManager_DisableAntiMalware>
<CscFeature_SystemUI_SupportRecentAppProtection>true</CscFeature_SystemUI_SupportRecentAppProtection>
<CscFeature_Contact_EnableCallButtonInList>true</CscFeature_Contact_EnableCallButtonInList>
<CscFeature_Message_DisplaySmsTimeAs>server</CscFeature_Message_DisplaySmsTimeAs>
<CscFeature_Message_DisplayMmsTimeAs>server</CscFeature_Message_DisplayMmsTimeAs>
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
<CscFeature_Web_EnablePromptToExit>true</CscFeature_Web_EnablePromptToExit>
<CscFeature_RIL_ForceConnectMMS>true</CscFeature_RIL_ForceConnectMMS>
# Custom physical debloat list. Allowed value in each line: path to app's directory in /system.
# (NOTE: wildcards are allowed here)
/system/app/SecurityLogAgent
# Custom virtual debloat list. Allowed value in each line: exact app name with .apk extension.
# (NOTE: without app's path/directory, wildcards are NOT allowed here!)
ExampleSystemApp1.apk
ExampleSystemApp2.apk
NEW !!! 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", "rescue", "xposed", "CSC_xxxx.zip":
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. "G900Fxxx_DevBase_v5.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. "G900Fxxx_DevBase_v5.x_noroot.zip")
In DevBase v4.5+ there is a "rescue" option, which may be especially helpful in case of encrypted device if you experienced bootloop caused by e.g. systemless mod/module/xposed stored on /data (without access to /data from TWRP). In case of bootloop just place "rescue" string anywhere in the ZIP file name, e.g. "G900Fxxx_DevBase_v5.x_rescue.zip" and then (re)install the ROM - should help in case of (probably) all possible bootloop reasons. In addition to the normal (re)installation of the ROM (thus restoring the original /system, kernel, modem, etc.) this option will also force "Core Only Mode" in Magisk and will move all SYSTEMLESS DevBase modifications to /data/devbase/system/.backup, before performing bind mounts, so original files will be used.
In DevBase v4.6+ there is a possibility to force CSC by renaming ZIP file name - this is the only case-sensitive variable which have to be put at the beginning of ZIP file name and must be folloed by "_" (due to the fact that there is a high risk that ZIP file name may contain CSC code accidentally). Example (to force CSC DBT): "DBT_G900FXXU1xxxx_DevBase.zip"
In DevBase ROM v5.6+ there is "xposed" option which allows you to force Xposed framework installation. It is NOT forced by default - you need to force it manually while installing ROM with Xposed first time, renaming ZIP's file name to e.g. "G900Fxxx_DevBase_v5.x_xposed.zip". Next ROM's updates will detect and apply Xposed profile automatically, unless you wipe /system - then auto detection is not possible.
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
@rovo89 & @wanam for Xposed framework & Xposed Installer app
@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
DOWNLOADS
Download ROM:
>> G900FXXU1CRH1_DevBase_v5.9.zip << (Android 6.0.1 - stable, updated Sep-07-2018, more info in post #7953)
>> Recent ROM versions for SM-G900F <<
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
v5.9 (starting from G900FXXU1CRH1 DevBase):
- Changed device detection method to bootloader's prefix (instead of ro.product.*)
- Improved support for applying custom mods automatically at each ROM's install/update, introduced in v5.6 (added support for etc, fonts, media & usr directories in {storage}/devbase/system)
- Added support for custom {storage}/devbase/post-installation.sh script
v5.8 (not released for G900F):
- Improved unzip_flash function in the installer to detect properly more flashing errors (e.g. EXT4 partition mismatch)
- Changed /odm flashing method to file based due to potential /odm partition mismatch (applies to carrier branded treble devices)
- Minor optimizations/improvements in the installer (this time mainly to improve installation speed)
- Busybox has been removed from /system/xbin to run properly some banking apps
v5.7 (not released for G900F):
- Improved/expanded built-in RMM lock prevention (thanks to @jesec for idea of overriding properties via factory.prop)
- OEM unlock status will always be displayed correctly in Developer options (to avoid confusion) with stock kernel included in the DevBase ROM
v5.6 (not released for G900F):
- Added "App Lock" feature (Settings -> Advanced features)
- Added Xposed framework as installation option (it is NOT forced by default - you need to force it manually while installing with Xposed first time, e.g. by "xposed" string in ZIP's file name, but next ROM's updates will detect and apply Xposed profile automatically, unless you wipe /system - then auto detection is not possible)
- Added support for applying custom mods automatically at each ROM's install/update by placing modded apps in {storage}/devbase/system/(priv-)app or placing modded framework files in {storage}/devbase/system/framework (where {storage} may be: /sdcard, /external_sd or /usb-otg)
v5.5 (not released for G900F):
- Added support for flashing optional, CSC related partitions ($OMR, $PRELOAD)
- Added possibility to update recovery (optional, performs update if exists $NAME/images/recovery.img)
- Return to using only the original XML files in the CSC package (thanks to @fei-ke for omc-decoder)
- Partition(s) may be wiped only by writing new block's image
- Minor optimizations / improvements in the installer
v5.4 (not released for G900F):
- Big step forward in DevBase ROM customization ability - almost all current ROM features (hidden up to v5.3) have been moved to options.prop (you will be able to easy add new or remove current feature)
- Return to dm-verity-opt-encrypt boot patcher if necessary (wherever it works well, there are still devices which need "no_verity" function introduced in v5.1)
- Initial support for forcing (changing) CSC in case of devices with /odm as CSC location
- Minor optimizations / improvements in the installer
v5.3 (not released for G900F):
- Improved algorithm of search & change "ro.security.vaultkeeper.feature" property to 0 (/system & /vendor)
v5.2 (not released for G900F):
- Added support for devices with /odm as CSC location
- Added support for flashing $ODM, $VENDOR, $KEYSTORAGE, $DQMDBG images
- Added support for custom debloat list and custom CscFeature list in options.prop
- options.prop file format has been changed to CR/LF (Windows) - more noob-proof solution, user can edit a copy of options.prop file even in Windows Notepad (the installer still supports ANY text format of options.prop file - Win/Unix/MAC)
v5.1 (not released for G900F):
- Created new "no_verity" function in the installer, compatible with Samsung's Oreo, based on @Chainfire's patch tool (no-verity-opt-encrypt has been removed). In case of Oreo & Magisk as root solution - "no_verity" function will be used as additional support for patching fstab* (as long as Magisk does not do it correctly)
v5.0 (not released for G900F):
- SYSTEMLESS DevBase has been removed due to the fact, that in case of modern devices/firmwares we need to perform many changes physically in /system anyway, so it loses the sense of use here. If you liked it - you can still install it separately from HERE (it does not need to be re-installed after ROM update as it is installed in /data)
- Added "skipblcp" option to let users skip BL/CP update (additionally it disables auto-reboot when the installer finished work as it is just not necessary then)
- Added "phydebloat" option to let users choose beetween virtual and physical debloat (to get more space in /system)
- Other (minor) optimizations & improvements
v4.6 (starting from G900FXXU1CRA2 DevBase):
- Initial support for devices with /system/omc as CSC location
- SYSTEMLESS DevBase updated to v2.0 (see changelog HERE)
- Added possibility to force CSC by renamig ZIP filename. Due to the fact that trere are many different CSC and it is possible that $ZIPNAME may contain a CSC accidentally - to force CSC you need to put CSC in $ZIPNAME at the beginning and CSC must be followed by "_". Example $ZIPNAME (to force CSC DBT): "DBT_N910FXXU1xxxx_DevBase.zip"
- Added auto efs-backup during install. Installer will create first backup (efs_backup.img.gz) and recent backup (efs_recent.img.gz). The installer will prefer external storage as default backup location (/external_sd or /usb-otg) due to encryption support. MD5 sum and restore command will be stored in efs_backup.txt or efs_recent.txt file
- Other (minor) optimizations & improvements, e.g. added more error messages in case of something went wrong during install
v4.5 (not released for G900F):
- Added new "rescue" option (readable only as string in ZIP file name due to the fact, that we will need this option rarely). It can be a potentially very helpful option in case of bootloop @ encrypted device, caused by a systemless mod/module/xposed stored on /data (without access to /data from TWRP) - more info in post #1
- SYSTEMLESS DevBase updated to v1.14 (see changelog HERE)
v4.4 (not released for G900F):
- Added new "encrypt" option (readable only as string in ZIP file name due to the fact, that we need to do it only once). Now you can easy encrypt all data in your device, just during the ROM upgrade (without data loss) - unfortunately, it does not work in older devices (like G900F/N910F and older), it is just a new unified installer's feature
- SYSTEMLESS DevBase updated to v1.13 (see changelog HERE)
v4.3 (starting from G900FXXU1CQG1 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 v1.11 (see changelog HERE)
v4.2 (starting from G900FXXS1CQD8 DevBase):
- 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 (starting from G900FXXS1CQC2 DevBase):
- 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 (starting from G900FXXS1CQC2 DevBase):
- 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 G900FXXU1CPH6 DevBase):
- Added hexpatch to root_from function (support for SM-N930x, thanks to @Chainfire)
v3.7 (starting from G900FXXU1CPF3 DevBase):
- Another major improvement/bugfix in deodex_from function (full support for 64 bit OS)
v3.6 (starting from G900FXXU1CPE2 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 G900FXXU1CPE2 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 G900F):
- 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 (not released for G900F):
- 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 G900F):
- Potential fix for reported problems with root (rare cases)
v3.3 (starting from G900FXXU1CPD7 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 G900F):
- Fixed installer's issue if there is a [space] present in ZIP filename or a directory containing DevBase (see #1728)
v3.2 (starting from G900FXXS1CPC8 DevBase):
- 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 G900F):
- 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 G900FXXS1BPC3 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 (starting from G900FXXU1CPB2 DevBase):
- 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 (starting from G900FXXU1POL2 DevBase):
- 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 (starting from G900FXXU1BPA2 DevBase):
- 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 (starting from G900FXXU1POK5 DevBase):
- 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.7GB 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 G900F (klte(xx)). If you want to try this ROM on other S5 devices - you need to remove this check manually from updater-script (it is more conscious procedure). NOTE: device check may not work correctly with Mobile Odin PRO!
- Added more CSCs with VoLTE support
v2.0 (starting from G900FXXU1POK1 DevBase):
- 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 G900FXXU1POJ5 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...
DOWNLOADS
Useful PC Odin flashable files:
>> Recent bootloader versions for SM-G900F <<
>> Recent modem versions for SM-G900F <<
>> Recent kernel versions for SM-G900F <<
(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".
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 G900F (Marshmallow) <<
>> MODs for G900F (Lollipop) <<
In case of MODs installed to /system - you can restore original apk using backup stored in /data/backup/alexndr
hello
some screenshots pleaseeeee
Urban pendu said:
some screenshots pleaseeeee
Click to expand...
Click to collapse
That's why putting screenshots is not necessary:
_alexndr said:
[...]
1. Base (deodexed using (bak)smali 2.0.3):
- [...]
- NO VISUAL CHANGES (100% stock look)
Click to expand...
Click to collapse
BTW - info for KNOX 0x0 users:
Don't worry if you see message like below displayed in Mobile Odin PRO - it's normal and always appears on KNOX devices
I've already tested scenario which allow to keep KNOX 0x0 using Mobile Odin PRO - ON MY PHONE !!!
My KNOX flag in DM is still 0x0 but I can't guarantee anything! Everything you are doing at your own risk
Thanks @_alexndr, finally proper init.d support with the stock kernel, without the need of an external app (universal init.d app)
I've tested it out, and it's working beautifully.
I will integrate it in my ROM (XtreStoLite), and give you the proper credits of course!
Finally a clean ROM deodexed ! Many thanks to you bro´ :good::good:
ManDone.vRs said:
Finally a clean ROM deodexed ! Many thanks to you bro´ :good::good:
Click to expand...
Click to collapse
What u mean 'finally' so is my rom :sly: lol
Sent from my SM-G900F using XDA Premium 4 mobile app
Thanks Alexndr great job knox 0x0 ....:good:
szuwar1978 said:
Thanks Alexndr great job knox 0x0 ....:good:
Click to expand...
Click to collapse
Congrats, the first brave man who believed me that it is possible :good:
BTW: Big thanks to @Chainfire for his amazing tool - Mobile Odin Pro
_alexndr said:
Useful optional files (PC Odin flashable):
Bootloader ANE4: BL_G900FXXU1ANE4.tar.md5
Modem ANE2: CP_G900FXXU1ANE2.tar.md5
Note:
To update 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 modem using CP button in Odin.
Click to expand...
Click to collapse
It's good to see you in S5 Forum. Im using your NF4 rom in Note 3.
Thanks Alexndr great job knox 0x0
Great ROM thanks
Ran this a couple of days as a base and I must say I didn't think that much to it !
Sent from my SM-G900F using XDA Premium 4 mobile app
I have no signal at all when I install this rom. Luckily I did a back up before I installed but I'd really like to give it a go. Any ideas?
UK EE network.
Sent from my SM-G900F using XDA Premium 4 mobile app
Andyokane said:
I have no signal at all when I install this rom. Luckily I did a back up before I installed but I'd really like to give it a go. Any ideas?
UK EE network.
Sent from my SM-G900F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nobody reports that issue... What is the version of your WORKING rom and modem? Maybe you have installed rom based on the newest NG1/NG2?
Waiting for NG2.
mabmed said:
Waiting for NG2.
Click to expand...
Click to collapse
Update availabe of course - no wipe data is required
I've tested migration ANE4 -> ANG2 on my phone. My KNOX is still 0x0
Important notes for KNOX 0x0 users:
- In this migration you have to choose in MOP "After flash" -> "Download Mode"
- Tick "Update stock recovery" in the Aroma Installer ("Advanced options")
- At the end of installation in the Aroma - untick "Reboot Device"
- When the phone goes to DM - flash IN ONE STEP (using PC Odin) bootloader (load as BL) and modem (load as CP)
Even if you forget to tick "Download Mode" in "After flash" MOP menu - you can try to remove battery when the phone experiences bootloop, instert it and then go directly to DM and flash BL and CP using PC Odin
Good luck
Sorry, I tried googleing but cannot find anything on it. What is CSC and how can I find out which one I'm on? So sorry for the noob question, if a kind soul can point me there would be real nice. I really like to try this rom without having to wipe data. Thanks.
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
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) 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 !!! 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).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 !!! 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
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)
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".
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
Nice work
Have you found much difference between the G900F and G900FD firmwares?
For example, would it be easy enough to patch a F firmware to work on FD?
Only FD S5???
djb77 said:
Nice work
Have you found much difference between the G900F and G900FD firmwares?
For example, would it be easy enough to patch a F firmware to work on FD?
Click to expand...
Click to collapse
No, it's not easy as FD kernel and many FD apps have some special features included to support dual sim (e.g. Messages app from G900F works with G900FD but doesn't recognize many dual SIM operations).
core720 said:
Only FD S5???
Click to expand...
Click to collapse
I have no experience with MD variant. I bought G900FD variant 3 days ago
Maybe it is enough to replace the kernel and the modem to work properly in Brazil...
_alexndr said:
No, it's not easy as FD kernel and many FD apps have some special features included to support dual sim (e.g. Messages app from G900F works with G900FD but doesn't recognize many dual SIM operations).
Click to expand...
Click to collapse
Cool, thanks for that info. If it was possible I would integrate FD support into TGP, but it doesn't sound as easy as the other variants.
alexndr Thank you for your work
deodexed clearance
_alexndr said:
Download ROM:
>> G900FDXXU1BOF1_DevBase_alexndr.zip << (Android 5.0, updated Jun-27-2015)
>> 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.
Download Deodexed ROM:
Note:
Deodexed ROM might be potentially less stable due to performing additional actions using tools that are still under early development (thanks to @_riddle & @svadev). If you do not know why do you really need deodexed ROM then it means you do not really need it! Please do not report bugs without the information that you are using deodexed version.
>> Recent Deodexed ROM versions for SM-G900FD <<
Click to expand...
Click to collapse
Finally some new action abt this awesome phone, so 1st of all let me say thank you!!!!
Second, I just want to clear something about the deodexed version of this rom. You said might be unstable due....
Unstable ight come from the fact that you have used those scripts to deodex it? Or due the fact that some apps might not work on deodexed roms? im a bit confused abt that afirmation.
Anyway Im downloading both versions for testing and I will try to use them for couple of days before posting up again for info.
chasemyass said:
Finally some new action abt this awesome phone, so 1st of all let me say thank you!!!!
Second, I just want to clear something about the deodexed version of this rom. You said might be unstable due....
Unstable ight come from the fact that you have used those scripts to deodex it? Or due the fact that some apps might not work on deodexed roms? im a bit confused abt that afirmation.
Anyway Im downloading both versions for testing and I will try to use them for couple of days before posting up again for info.
Click to expand...
Click to collapse
Testing started...
I was on android 4.4.2 as you can see from my BB from screenshot and used FlashFire to flash the odexed version and all my installed apps remained, but (there is always a but isnt it? ) phone was working in slow motion and the google didnt wanted to upgrade play services since i was coming from an older version (didnt received any error) so my next logical reaction was tdo a factory reset from recovery.
After that everythings works awesome so far. I will keep you guys updated if anything needs to get noticed here.
Congratz again and ty for this rom
Sent from my SM-G900FD
chasemyass said:
Finally some new action abt this awesome phone, so 1st of all let me say thank you!!!!
Second, I just want to clear something about the deodexed version of this rom. You said might be unstable due....
Unstable ight come from the fact that you have used those scripts to deodex it? [...]
Click to expand...
Click to collapse
Yes, exactly As I have mentioned already - these tools are under early development. Potentially problems may occur but not necessarily
BTW - I'm on deodexed for 3 days (just for testing) - no problems so far
chasemyass said:
Testing started...
I was on android 4.4.2 as you can see from my BB from screenshot and used FlashFire to flash the odexed version and all my installed apps remained, but (there is always a but isnt it? ) phone was working in slow motion and the google didnt wanted to upgrade play services since i was coming from an older version (didnt received any error) so my next logical reaction was tdo a factory reset from recovery.
After that everythings works awesome so far. I will keep you guys updated if anything needs to get noticed here.
Congratz again and ty for this rom
Sent from my SM-G900FD
Click to expand...
Click to collapse
I highly recommend you to update BL / CP also (note that BL / CP contains also a part of radio firmware -> NON-HLOS.bin / modem.bin).
It is not good combination: Lollipop ROM + KitKat baseband (NON-HLOS+modem)
_alexndr said:
Yes, exactly As I have mentioned already - these tools are under early development. Potentially problems may occur but not necessarily
BTW - I'm on deodexed for 3 days (just for testing) - no problems so far
I highly recommend you to update BL / CP also (note that BL / CP contains also a part of radio firmware -> NON-HLOS.bin / modem.bin).
It is not good combination: Lollipop ROM + KitKat baseband (NON-HLOS+modem)
Click to expand...
Click to collapse
Hmm I will try, but if I will do that, will I loose root? And what will be so problematic regarding kk bb with lp rom cooked over? No need to explain, just pass a link so I can see by myself. Thx
Sent from my SM-G900FD
chasemyass said:
Hmm I will try, but if I will do that, will I loose root? And what will be so problematic regarding kk bb with lp rom cooked over? No need to explain, just pass a link so I can see by myself. Thx
Sent from my SM-G900FD
Click to expand...
Click to collapse
No, you will not lose root
There were a lot of problems reported in G900F in case of using the newest firmware + an older modem/baseband (e.g. lost of wifi passwords every reboot).
I'm not sure if there are same problems in G900FD, but devices are very similar so could be...
_alexndr said:
No, you will not lose root
There were a lot of problems reported in G900F in case of using the newest firmware + an older modem/baseband (e.g. lost of wifi passwords every reboot).
I'm not sure if there are same problems in G900FD, but devices are very similar so could be...
Click to expand...
Click to collapse
I will test and report here then. As I will test a bit more with this setup... Thank you mate!
EDIT: Bug confirmed. Wifi psswd lost after reboot when using KK baseband, duh!
Sent from my SM-G900FD
thanks for this rom
I found one bug on deodex version
when I set alarm and turn it off the alarm icon still appear on statusbar
chasemyass said:
I will test and report here then. As I will test a bit more with this setup... Thank you mate!
EDIT: Bug confirmed. Wifi psswd lost after reboot when using KK baseband, duh!
Click to expand...
Click to collapse
So please update bootloader + modem to the newest version (BOF1 + BOE2) and should be ok
iNTER5LOve said:
thanks for this rom
I found one bug on deodex version
when I set alarm and turn it off the alarm icon still appear on statusbar
Click to expand...
Click to collapse
Strange, no problem here on deodexed. Try to backup your apps & data and then perform wipe data / factory reset from recovery
(note that deodexed version needs about 10 minutes for first boot after performing wipe data)
_alexndr said:
So please update bootloader + modem to the newest version (BOF1 + BOE2) and should be ok
Strange, no problem here on deodexed. Try to backup your apps & data and then perform wipe data / factory reset from recovery
(note that deodexed version needs about 10 minutes for first boot after performing wipe data)
Click to expand...
Click to collapse
my fault
its wanam xposed issue not your rom :good:
Hello!
My phone says in About menu 900FD, but on the download screen: 900MD. Is it normal? I have bought it as 900FD.
Now I'm on a deodexed stock ROM (installed with FlashFire to save KNOX0x0). Do I need clean install the DevBase ROM, or simply dirty flash is enough?
G.
Georgie9117 said:
Hello!
[1] My phone says in About menu G900FD, but on the download mode: G900MD. Is it normal? I have bought it as G900FD.
[2] Now I'm on a deodexed stock ROM (installed with FlashFire to save KNOX0x0). Do I need clean install the DevBase ROM, or simply dirty flash is enough?
Click to expand...
Click to collapse
[1] Don't worry, same here. I was also confused due to this info in DM, but did some test that confirmed it is definitely G900FD. See attachments G900MD doesn't support e.g. LTE800 (band 20) while G900FD support it. No comments are required
[2] Dirty flash SHOULD be enought.. I could guarantee that wipe data will not be necessary only in case of flashing over pure stock installed via PC Odin or FlashFire
xXx No Limits ☆ S5 ROM for G900F/W8
☆Fast☆Snappy☆Smooth☆Stable ☆
[FONT="][FONT="][FONT="]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/FONT]
[/FONT][/FONT]
About the ROM
GALAXY S5 Model ☆ SM-G900F/W8
Android 6.0.1 ☆ G900FXXS1CQAV
Changelist: 9493471
Security Updates: Januar 1, 2017
Rooted: SuperSU v2.77 Stable
Major flash options
SuperSU + suhide
Odexed
Deodexed
xXx Tweaks
Keyboards
Kernel selections
Xposed
Xposed Material Design Installer
Viper4Android|Beats|Atmos
Good Lock
Modded Camera
The base of this rom is very close to the original Samsung Touchwiz build and I’m flashing the original stock system image as I believe that this provides the most stable rom base for the S5. This method ensures totally correct permissions and symlinks which makes the rom most stable and compatible. You can choose if you want to install the rom either odexed or deodexed.
xXx System Tweaks
Based on that I added several useful CSC, build.prop and init.d tweaks for more and consistent system and network speed and improved Ram management. These tweaks also improve multitasking and keeps the system constantly fast.
A modified hosts file take care of the annoying ads and I added a fix which solves some issues which was introduced with the new security handling of Marshmallow.
Debloating
The rom is light debloated already and removes only apps which could be downloaded anytime later from Google Playstore
You could use my BareBone Cleaner to selectively remove much more apps and services which you don’t need to further improve available Ram and Speed and come down to a Barebone level and a very light Rom. The advantage to do this with the stock based TouchWiz rom is that the Camera, Bluetooth, NFC, Fingerprint etc. keep 100% working as expected.
SystemUI variations
Also I’m offering some extra flashable SystemUI options to add Good Lock or 3minit battery, the S7 white taskbar theme, and some more little tweaks.
Xposed
To round up everything you can install the Xposed framework which is totally ready to go. You just need to add the modules you want to use.
Sound enhancements
This is a combo of Viper4Android, Sony Beats, eXtremeBeats Aural Maximizer and Dolby ATMOS for a class’s better sound experience than you know it from the stock rom thanks to xda members guitardedhero, Ben Feutrill and worstenbrood.
[FONT="]Kernels[FONT="]
Currently you can choose between 3 different kernels. [/FONT] [FONT="]The default kernel is obviously the stock kernel for highest compatibility and stability. [/FONT] [FONT="]If you are interested in true SELinux permissive kernels with plenty of additional features you are able to choose between the [/FONT]Phoenix Kernel[FONT="], [/FONT]CrazySuperKernel and Boeffla-Kernel. Just visit their threads to see which kernel fits best your requirements.
[FONT="]Keyboards[/FONT][FONT="]
Currently you can choose between 3 different keyboards. [/FONT] [FONT="]The S5 stock keyboard, the S6 keyboard, the Sony Xperia Keyboard and the C5 Keyboard.[/FONT] [FONT="]The S6 keyboard unfortunately do not support key vibration while this and much more options are available with the Sony and very similar C5 Keyboard.[/FONT]
[/FONT]
Instructions
Flash Options
In the root of the rom installer package you find the file “xXx.options.prop”.
To change any installation options you will need to edit this file with Notepad++.
You may also copy this file onto your internal or external sdcard. In this case the installer will read the options from the sdcard instead of the file inside the installer.
xXx.options.prop editing
The easiest way is probably to download the xXx.options.prop using the download link in the op or second post to your PC and install Notepad++.
Never edit this file with any other editor on your PC. But you could also edit the prop file on with your phone. In this case you can use any given editor.
Then you change all desired values. You will always get explanation line and after that the option to be changed.
Then save your changes and place the modified xXx.options.prop to the root of your internal sdcard.
This way also future rom updates will use this settings instead the default settings in the rom zip.
xXx.options.prop options
root.supersu=
0 = no root
1 = enable root access (default)
2 = Experiental might bootloop - SuperSU + suhide 0.55 by @chainfire to get Safety Net & Pokemon Go working
deodexed.rom=
0 = odex (default)
1 = deodex
Difference between Odexed and De-Odexed Roms
kernel=
0 = Stock Kernel (default)
1 = Phoenix Kernel Reborn v1 powered by @tamirda
2 = CrazySuperKernel v4 powered by @CrazyGamerGR
3 = Boeffla-Kernel new Anykernel v2.4 Final powered by @Lord Boeffla
keyboard.mod=
0 = Stock S5 keyboard (default)
1 = S6 Keyboard (key vibration not working!)
2 = Stock S5 + Sony Xperia Keyboard
(Sony keyboard needs to be enabled in android settings)
3 = C5 Keyboard (like S6 Keyboard but newer and key vibration works!)
systemui.mod=
0 = pure stock SystemUI (default)
1 - White theme, 3minit battery, rounded notifications and recents, Sdcard notifications fix
2 = Good Lock v24.0.16
Here you find an introduction and demo as a Youtube video.
Good Lock is a SystemUI enhancement developed by Samsung which provides many new options for the notification area, recent apps screen and lock screen. I added that as a third “battery.mod” option in the xXx.options.prop. Default is 0 which will install the stock SystemUI. If you set it to 2. Just flash the separate SystemUI options to get Good Lock or one of the other SystemUI options. If you flashed Good Lock you will get a new app in the drawer which provides you with configurations and tons of options.
Please Note: Good Lock is replacing the complete SystemUI. This means when you want to have one of the other SystemUI options with the mods like 3minit or rounded notifications etc. it will totally replace Good Lock again.
3 - White theme, rounded notifications and recents, Sdcard notifications fix
Like option 1 but without 3minit battery
xXx.tweaks=
0 = no Tweaks
1 = Tweaks enabled (default)
A collection of system tweaks which optimizes overall speeds and RAM management
5-Way Reboot menu
Privat Mode fixed
Changed default Window Animation Scales to 0.5 for faster animations
Updated hosts file for Adblock
Screen Overlay Fix
SystemUpdateService Disabler
2 = xXx Tweaks + Qualcomm Adreno 330 Beta Drivers with Stability Fix by @DAS82 based the on @airidosas252 framework
Detailed information about this you will find here
Camera Mod=
0 = stock camera (default)
1 = camera mod thanks to @amk1
Detailed information about all mod features you will find here
Screen.overlay.fix=
0 = stock camera (default)
1 = camera mod thanks to @amk1
Detailed information about all mod features you will find here
xposed=
0 = no xposed
1 = Xposed + original Rovo Xposed Installer (default)
2 = Xposed + Material Design Xposed Installer thanks to @dvdandroid
sdcard.fix=
sdcard Fix Permissions script
fix ownership and permissions of files and directories on the sdcard to what they would be
if Android OS had put them there itself, since some apps can't access pushed files that have root.root as owner/group
Sometimes Apps FC when trying to access/write files on sdcard even with correct r/w permissions.
This might fix this issues.
Please Note: Depending on how much files you have stored on your sdcard it can take
up to several minutes to scan and fix it!!
Don't become nervous when Rom flashing process will stuck here for a while,
it will continue - Promised !!
Allowed values:
0 - disabled
1 - enabled (default)
sound.mod=
0 = Stock sound system
1 = OLD - V4A Combo - Viper4Android + Sony Beats + eXtremeBeats Aural Maximizer by @guitardedhero and Ben Feutrill
2 = OLD - Like Option 1 + Dolby ATMOS thanks to worstenbrood
3 = NEW - Viper4Arise/eXtremeBeats Combo by @A.R.I.S.E. Sound Systems and @Ben Feutrill (default)
security.files=
Take care of security-related system files if there are any like SuperSU PIN, Avast Anti-Thelf in root mode etc.
0 - skip backup
1= (default) - makes a backup and then restore at the end of installation
stock.recovery=
Flashing Marshmallow and installing SuperSU will trip Knox to 0x1 anyway. So just keep the default setting here to stay with your custom recovery.
0 – (Default) - check KNOX status and overwrite if 0x0
1= force overwrite current recovery with stock recovery
CSC=
This will provide you with two major options
KCSC – (default)
Keep current CSC, recommended in most cases.
This will save your current CSC before the system partition will be overwritten and after the new system is in place your current CSC will be restored.
Choose one of the following CSC’s and force this CSC to be installed during rom flash.
It should look like this sample CSC=BTU
Make sure everything is UPPERCASE
ALB, ALE, ARO, ATL, ATO, AUT, BGL, BMC, BTU, BVO, CHO, CMF, COO, CYO, DBT, DTM, EON, ETL, EUR, H3G, ILO, ITV, KSA, LUX, MEO, MET, MOB, MOT, MSR, MWD, NEE, NZC, OMD, OMN, ORX, PCI, PCW, PEO, PHE, PHN, PRO, ROM, SEB, SEE, SER, SIO, SWC, TDR, TEB, TEM, TEN, TMB, TMZ, TNZ, TOP, TPA, TPH, TSI, TSR, TTT, TUR, TWO, UPO, VD2, VDH, VDS, VIA, VIM, VNO, XEF, XEH, XEO, XME, XSG, XTC, ZTO
Click to expand...
Click to collapse
Space
CSC Options
This is a multi CSC rom which currently provides with the following sales codes
ALB, ALE, ARO, ATL, ATO, AUT, BGL, BMC, BTU, BVO, CHO, CMF, COO, CYO, DBT, DTM, EON, ETL, EUR, H3G, ILO, ITV, KSA, LUX, MEO, MET, MOB, MOT, MSR, MWD, NEE, NZC, OMD, OMN, ORX, PCI, PCW, PEO, PHE, PHN, PRO, ROM, SEB, SEE, SER, SIO, SWC, TDR, TEB, TEM, TEN, TMB, TMZ, TNZ, TOP, TPA, TPH, TSI, TSR, TTT, TUR, TWO, UPO, VD2, VDH, VDS, VIA, VIM, VNO, XEF, XEH, XEO, XME, XSG, XTC, ZTO
By default the “CSC” option in “xXx.options.prop” is set to CSC=KCSC.
This means "Keep current CSC". As long as you don’t wipe your system partition before you flash this rom this will keep the CSC of your current rom in place.
If you are typically using one of the above listed CSC’s just replace KCSC with the desired code of your mobile provider.
Click to expand...
Click to collapse
Space
Modem and Bootloader
It’s recommended to flash the corresponding Modem and Bootloader before you flash this rom.
As in most cases Modem and Bootloader will be flashed at the same time I combined them in one tar.md5 which have to be flashed with Odin. Just open the file AP…….tar.md5 in the “AP” section in Odin and flash it.
Bootloader & Modems for G900F
https://www.androidfilehost.com/?w=files&flid=39275
Click to expand...
Click to collapse
Space
Debloating
This rom is only very light debloated. If you want to debloat further you could use my BareBone Cleaner.
The BareBone Cleaner is an Aroma Installer based tool which will debloat your TouchWiz Lollipop rom up to a core minimum in order to increase available ram and get rid of performance wasting apps and services which are not mandatory.
You get rid of all the Samsung crap, bloatware, the annoying “check cover” warning or other apps which you could easily add again to your personal liking from the Google Playstore.
http://forum.xda-developers.com/galaxy-s5/development/mod-urwsoft-barebone-cleaner-t3043479
Click to expand...
Click to collapse
How to Flash everything
Create a Nandroid Backup in custom recovery of everything first
Shutdown the phone and pull the battery for about 10 sec.
Disconnect your phone from your PC
Then restart the phone straight to the download mode.
Now open Odin as Administrator on your PC and load the bootloader md5.
Now connect the phone to the PC and make sure Odin reports the phone connected.
Now hit ?Start? in Odin to flash it.
To be on the save side, shut down the phone and pull the battery again for about 10 sec.
Boot the phone into custom recovery (TWRP 3.0.0.0)
Hit ?Wipe? and then ?Advanced Wipe?
Go to Install Section, select Rom zip, flash the rom and reboot.
Wipe Dalvik / Art Cache, System, Data and Cache.
Optional you could now debloat your rom with the BareBone Cleaner. Could be done later as well.
Takes about 8-10 min until setup screen will show up.
Enjoy the rom.
Click to expand...
Click to collapse
xXx.options.prop editing
The easiest way is probably to download the xXx.options.prop using the download link in the op or second post to your PC and install Notepad++.
Never edit this file with any other editor on your PC. But you could also edit the prop file on with your phone. In this case you can use any given editor.
Then you change all desired values. You will always get explanation line and after that the option to be changed.
Then save your changes and place the modified xXx.options.prop to the root of your internal sdcard.
This way also future rom updates will use this settings instead the default settings in the rom zip.
Click to expand...
Click to collapse
Download folders
The following download links are fixed folder links which will provide you with a list of all available versions. Just choose your preferred version.
xXx No Limits Roms for G900F/W8
https://www.androidfilehost.com/?w=files&flid=48391
Bootloader & Modems for G900F/W8
https://www.androidfilehost.com/?w=files&flid=39274
Download "xXx.options.prop" only
http://forum.xda-developers.com/devdb/project/?id=13659#downloads
URWsoft Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?w=files&flid=27003
Please Note: FlashFire 0.30+ users need to deselect the reboot option on the very last Cleaner Screen. Otherwise you would need to pull the battery.
Credits
:good::good::good:
@_alexndr - @airidosas252 - @amarullz - @amk19 - @arter97- @bejunk - @Ben Feutrill - @Chainfire - [FONT="]@[FONT="]CrazyGamerGR[/FONT] - [/FONT][FONT="]@DAS82 - [/FONT][FONT="]@dvdandroid - @edgarf28 - @gharrington - @guitardedhero - @klenamenis [/FONT]- [FONT="]@[FONT="]Lord Boeffla - [/FONT][/FONT][FONT="]@loserskater - @mcdachpappe [/FONT]- @mike1986. - [FONT="]@or1m - @osm0sis - [/FONT]@rufus.wilson - @tamirda - [FONT="]@topjohnwu - @wanam[/FONT]
XDA:DevDB Information
S5 Rom, ROM for the Samsung Galaxy S 5
Contributors
xXx
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Stable
Current Stable Version: 6.1
Stable Release Date: 2017-2-02
Created 2016-01-31
Last Updated 2017-2-02
Instructions and Features of the latest available Rom version
Version 6.1 based on CQAV is available for Download Many of you who are using TWRP 3.0.0-0 or PhilZ Recovery experienced issues after flashing v6.0 with write access of apps to the internal sdcard. This was caused by the sdcard fix script from osm0sis which obviously only works with TWRP 3.0.2 or higher.
Version 6.1 solves this issue and is compatible again with TWRP 3.0.0-0 or PhilZ Recovery.
If you are already successfully using v6.0 you can stay with it as this is the only difference between v6.0 and v6.1. If you need to flash the rom again to use other options etc. you should use v6.1.
Downloads
G900F specific downloadsxXx_NoLimits_6.1_ G900FXXS1 CQAV.zip
https://www.androidfilehost.com/?fid=745425885120704156
G900F - Lastest CQAV bootloader & CQAW modem combination
https://www.androidfilehost.com/?fid=529152257862691417
G900W8 specific downloadsxXx_NoLimits_6.1_G900W8VLS1DPF3.zip
https://www.androidfilehost.com/?fid=529152257862700164
G900W8 - Lastest DPF3 bootloader & DPF3 modem combination
https://www.androidfilehost.com/?fid=24591000424953408
All devices downloads
xXx.options.prop
http://forum.xda-developers.com/devdb/project/?id=13659#downloads
Aroma based Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?fid=24591000424945878
New Version 6.0 based on CQAV is available for DownloadMany of you was looking for an update of the sound mods. Thanks to all beta testers I was able to implement a new combo of the latest ARISE + eXtremeBeats.
Big thanks again to all beta testers who helped me to keep the rom alive as I don’t have my S5 anymore.
What’s new in 6.0 vs. 5.9:
New G900F Rom base CQAV
Change list 9493471
New Android Security Patch Level – Jan. 1, 2017
New Bootloader & Modem Combi
CQAV Bootloader
CQAW Modem
Updated several build.prop settings to improve smoothness, multitasking and lag free operation thanks to @airidosas252
More details here
Sound mods
NEW Viper4Arise/eXtremeBeats xXx Combo thanks to @A.R.I.S.E. Sound Systems and @Ben Feutrill
Set sound.mod=3 in xXx.options.prop to get it. (new default)
To get my favorite headset sound profile for perfect bass and clarity open Viper4Arise app, go to the menu and “Load Effect Profile” called “Deep Bass+Clarity” thanks to @mantakos
After applying the profile, don’t forget to switch on the Master Power” switch in Viper4Arise
Please Note: This new sound mod combo is not compatible with the previous one. It will completely replace any old sound mod and I didn’t add Dolby ATMOS as an option for this as this new combo itself is more than awesome especially in combination with the Effect Profile from mantakos.
Known Issue: After each phone restart you will see the green apps updating screen for about 1 sec. Don’t worry, but we couldn’t get rid of this so far.
OLD V4A Combo is still available with the following settings:
Set sound.mod=1 in xXx.options.prop to get Viper4Android + eXtremeBeats
Set sound.mod=2 in xXx.options.prop to get Viper4Android + eXtremeBeats + Dolby ATMOS
SDcard Fix Permissions script thanks to @osm0sis
Added this script as a new option.
It’s NOT solving the known r/w access permission issues in Marshmallow but fix ownership and permissions of files and directories on the sdcard to what they would be if Android OS had put them there itself, since some apps can't access pushed files that have root.root as owner/group.
Sometimes Apps FC when trying to access/write files on sdcard even they seem to have correct r/w permissions. This might fix this issues.
Set sdcard.fix=1 in xXx.options.prop to get it. (new default)
Please Note: Depending on how much files you have stored on your sdcard it can take up to several minutes to scan and fix it!! Therefore don't become nervous when Rom flashing process will stuck here for a while. It will continue. Promised J
Also this sdcard.fix option is triggered whenever you choose the new sound mod to be installed.
Updated xXx.options.prop to v14
New defaults
sdcard.fix=1
xposed=2
sound.mod=3
SuperSU 2.7.7 Stable for best compatibility
Updated Boeffla Config App to 2.4.28
Requires a system restart after a clean install and the very first initial Boeffla Settings App execution
Special Notes:
Rooting option is enabled by default but flashing this Rom with root enabled will trip Knox so you will end up with in Knox 0x1.
Some Tweaks are requiring the rom to be deodexed. Therefore installing xXx Tweaks will also trigger rom deodexing no matter what.
Please make sure to provide root permission to the SystemUpdateService Disabler when asked
sdcard.fix option is triggered no matter what if you choose the new sound.mod=3 to be installed
Known issue: There seem to be an issue that the stock music player fc after it was updated to the latest version via Play store. We will look into that and hopefully find a fix.
Suhide is still on v0.55 and most probably don’t work since Nov. security updates anymore.
root.supersu=2 in xXx.options.prop was not tested anymore and I suppose that it would not work anymore and end up in a bootloop.
So better use root.supersu=1 only.
Downloads
G900F specific downloadsxXx_NoLimits_6.0_ G900FXXS1 CQAV.zip
https://www.androidfilehost.com/?fid=745425885120704155
G900F - Lastest CQAV bootloader & CQAW modem combination
https://www.androidfilehost.com/?fid=817550096634741921
G900W8 specific downloadsxXx_NoLimits_6.0_G900W8VLS1DPF3.zip
https://www.androidfilehost.com/?fid=457095661767133248
G900W8 - Lastest DPF3 bootloader & DPF3 modem combination
https://www.androidfilehost.com/?fid=817550096634742364
All devices downloads
xXx.options.prop
http://forum.xda-developers.com/devdb/project/?id=13659#downloads
Aroma based Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?fid=24591000424945878
New Version 5.9 based on CPLV is available for Download
Even I always said that I would like to stay on the G900FXXU1 type firmware I decided now to switch to G900FXXS1. The reason is that for 2 or 3 month now the monthly Android Security updates was always provided as “S1” about 2 weeks before “U1”. Also as @TheHiman reported earlier, it looks like the S1 type firmware supports VoLTE which the “U1” firmware don’t. http://forum.xda-developers.com/gala...7#post70012597
The main reason why I wanted to keep staying with the U1 type was that switching back and forth may not allow dirty flashes without experiencing errors from Google Partner Setup etc. I had some beta testers who tested several configurations and confirmed that even dirty flashing works fine. So shouldn’t be an issue.
There was several users complaining about slow boot up times and it was reported that SuperSU 2.7.7 stable didn’t have this issue. For beta testing I used latest v2.7.9 SR1 and this failed in combination with PhoeniX Reborn kernel. Therefore I decided to go for SuperSU 2.7.7 stable. If you still want to go for the latest SuperSU just flash it after the rom in sequence or any time later.
I saw several requests to update the sound mods like V4A and eXtremeBeats to the latest version. I didn’t find the time yet to do so.
Big thanks again to all beta testers who helped me to keep the rom alive as I don’t have my S5 anymore.
What’s new in 5.9 vs. 5.8:
New G900F Rom base CPLV
Change list 9493471
New Android Security Patch Level – Dec. 1, 2016
New Bootloader & Modem Combi
CPLV Bootloader
CPJ1 Modem
Updated SuperSU 2.7.7 Stable
Updated PhoeniX Kernel to new PhoeniX Reborn Kernel V1.0 MM
Set kernel=1 in xXx.options.prop to get it
Updated Good Lock to v24.0.16
Set battery.mod=2 in xXx.options.prop to get it
Please Note: Fingerprint don’t work with Good Lock. Workaround here
Changelog
Updated Boeffla Config App to v2.4.22
Requires a system restart after a clean install and the very first initial Boeffla Settings App execution
Special Notes:
Rooting option is enabled by default but flashing this Rom with root enabled will trip Knox so you will end up with in Knox 0x1.
Some Tweaks are requiring the rom to be deodexed. Therefore installing xXx Tweaks will also trigger rom deodexing no matter what.
Please make sure to provide root permission to the SystemUpdateService Disabler when asked
Known issue: There seem to be an issue that the stock music player fc after it was updated to the latest version via Play store. We will look into that and hopefully find a fix soon.
Suhide is still on v0.55 and most probably don’t work with latest Nov. security updates anymore. root.supersu=2 in xXx.options.prop was not tested anymore and I suppose that it would not work anymore and end up in a bootloop. So better use root.supersu=1 only.
Downloads
G900F specific downloadsxXx_NoLimits_5.9_G900FXXS1CPLV.zip
https://www.androidfilehost.com/?fid=673368273298919727
G900F - Lastest CPLV bootloader & CPJ1 modem combination
https://www.androidfilehost.com/?fid=529152257862691417
All devices downloads
xXx.options.prop
http://forum.xda-developers.com/devd...3659#downloads
Aroma based Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?fid=24591000424945878
New Version 5.8 based on CPK3 is available for Download
Yes, I said I will stop the development for the S5. That’s still true. What I did is just created a new 5.8 version based on CPK3 and updated several components like supersu, kernel, xposed etc. As long as this method is working without the need to update any of the mods it’s an faily easy task for me.
Nevertheless, an experienced user tested it for me and everything seems to work fine. Therefore, herewith I make the G900F version available to all of you.
What’s new in 5.8 vs. 5.7:
New G900F Rom base CPK3
Change list 9493471
New Android Security Patch Level – Nov. 1, 2016
New Bootloader & Modem Combi
CPK3 Bootloader
CPJ1 Modem
Updated SuperSU 2.7.8 SR5
Updated Xposed framework by wanam to v87.1
· Updated Material Design Xposed Installer to latest Nov. 2016 Version
Set xposed=2 in xXx.options.prop to get it
Set xposed=1 for original Rovo Xposed Installer v3.1 (default)
Updated Boeffla-Kernel and App to v2.4 Final
Set kernel=3 in xXx.options.prop to get it
Requires a system restart after the very first initial Boeffla Settings App execution
Special Notes:
· Rooting option is enabled by default but flashing this Rom with root enabled will trip Knox so you will end up with in Knox 0x1.
· Some Tweaks are requiring the rom to be deodexed. Therefore installing xXx Tweaks will also trigger rom deodexing no matter what.
· Version 5.8 can be dirty flashed over at least all 4.x versions. All earlier Versions especially Lollipop version like v1.6 or older should definitely be clean installed.
o Although it helps to make a clean install from time to time to get rid of some weird issues. Read user experience here
· Please make sure to provide root permission to the SystemUpdateService Disabler when asked
· Suhide is still on v0.55 and most probably don’t work with latest Nov. security updates anymore. root.supersu=2 in xXx.options.prop was not tested anymore and I suppose that it would not work anymore and end up in a bootloop. So better use root.supersu=1 only.
Downloads
G900F specific downloadsxXx_NoLimits_5.8a_G900FXXU1CPK3.zip
https://www.androidfilehost.com/?fid=385035244224402767
G900F - Lastest CPK3 bootloader & CPJ1 modem combination
https://www.androidfilehost.com/?fid=385035244224402568
G900W8 specific downloadsxXx_NoLimits_5.7_G900W8VLS1DPF3.zip
https://www.androidfilehost.com/?fid=457095661767103996
G900W8 - Lastest DPF3 bootloader & DPF3 modem combination
https://www.androidfilehost.com/?fid=24591000424953408
All devices downloads
xXx.options.prop
http://forum.xda-developers.com/devdb/project/?id=13659#downloads
Aroma based Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?fid=24591000424945878
New Version 5.7 based on CPJ6 is available for Download
What’s new in 5.7 vs. 5.6:
New G900F Rom base CPJ6
Change list 9493471
New Android Security Patch Level – October 1, 2016
New Bootloader & Modem Combi
CPJ6 Bootloader
CPJ1 Modem
Hopefully finally fixed DCMprovider error message
G900W8 stock firmware was not updated yet but got the xXx 5.7 rom update which this time is the DCMprovider error message fix only. If you don’t experience that, no need to update.
Special Notes:
· Rooting option is enabled by default but flashing this Rom with root enabled will trip Knox so you will end up with in Knox 0x1.
· Some Tweaks are requiring the rom to be deodexed. Therefore installing xXx Tweaks will also trigger rom deodexing no matter what.
· Version 5.7 can be dirty flashed over at least all 4.x versions. All earlier Versions especially Lollipop version like v1.6 or older should definitely be clean installed.
o Although it helps to make a clean install from time to time to get rid of some weird issues. Read user experience here
o Important Note for G900W8 users: v5.7 is based on latest G900W8VLS1DPF3. If you are coming from v5.0 (or lower) G900W8VLU1DPD3 you most probably will experience errors from Google Partner Setup etc. You could try to wipe data of the respective app to fix this but best you can do is a clean install.
· Please make sure to provide root permission to the SystemUpdateService Disabler when asked
· Suhide is still on v0.55. Chainfire recently posted that he will update it but it might take some more time as he is planning to release a new SuperSU version first.
· If anybody is missing his desired CSC please provide me with information which specific stock rom includes that.
Downloads
G900F specific downloadsxXx_NoLimits_5.7_G900FXXU1CPJ6.zip
https://www.androidfilehost.com/?fid=457095661767103997
G900F - Lastest CPJ6 bootloader & CPJ1 modem combination
https://www.androidfilehost.com/?fid=457095661767103992
G900W8 specific downloadsxXx_NoLimits_5.7_G900W8VLS1DPF3.zip
https://www.androidfilehost.com/?fid=457095661767103996
G900W8 - Lastest DPF3 bootloader & DPF3 modem combination
https://www.androidfilehost.com/?fid=24591000424953408
All devices downloads
xXx.options.prop
http://forum.xda-developers.com/devdb/project/?id=13659#downloads
Aroma based Barebone Cleaner
(Latest TWRP versions have issues. TWRP 3.0.0.0 or FlashFire works for sure)
https://www.androidfilehost.com/?fid=24591000424945878
reserved for further resources
Downloading,thanx.
My baseband now is BOJ3,must i change in BOL3 or just flash your rom.Iam on 5.1.1 lolipop
Isn't their an option for tweaks and odex? Are there any tweaks like build prop added for odex? Cheers
Congratulations @xXx ! This is an amazing ROM! It is super fast and smooth and yet friendly on the battery under normal usage/sleep. Everything I tried works without a hitch so far. Thank you very much for sharing!
Two questions bro, it works on 900M? And your rom has system control? Like hct or phoenix?
Again i say that your work is very good and i rated it 5 stars ...i flashed the rom deodexed + tweaks, smooth as butter here. Because i posted in your cleaner thread i also repeat this:
!WARNING!: Deleting 3minit app from system makes the system ui crashing;
FIX: Dirty re-flash the rom and all goes well. For who wants the stock battery, simple open 3minit and navigate to "user", then choose the 15th one (even if it's not the 15th you should see the stock icon in users section) for having the stock battery icon back
Probably a stupid question, but do you think this will work on a G900i variant? This rom sounds really good and there are not many options for rom based on G900i.
I just get 50k on antutu
Thanks for this rom , i will test today and i will report !
mladenovic73 said:
Downloading,thanx.
My baseband now is BOJ3,must i change in BOL3 or just flash your rom.Iam on 5.1.1 lolipop
Click to expand...
Click to collapse
this depends on the rom you are using right now. If this is very close to stock without any tweaks and mods you should be fine if you just flash over. Otherwise I would recommend to wipe system first to make a clean install.
Thanx man.
What about xposed?
Sent from my SM-G928F using Tapatalk
luigy-cer7 said:
Two questions bro, it works on 900M? And your rom has system control? Like hct or phoenix?
Click to expand...
Click to collapse
john-au said:
Probably a stupid question, but do you think this will work on a G900i variant? This rom sounds really good and there are not many options for rom based on G900i.
Click to expand...
Click to collapse
this rom is basically for G900F and includes the respective stock kernel. You might be lucky to get it working if your G900 variant is snapdragon based and if you flash a custom kernel right after you flashed the rom. Rom content for G900M, G900T or G900W8 is similar to G900F. So should work fine with custom kernel while G900i, G900L are a bit different and might show some NFC, Wifi issues etc. Exynos based models like G900H are not working at all with this rom.
tobs3596 said:
I just get 50k on antutu
Click to expand...
Click to collapse
Debloated? Are you using stock kernel?
lovewisher said:
What about xposed?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
works fine. Use arter97 http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3113463. Latest stable release only works on deodexed roms. Latest beta also work on odexed.
xXx said:
works fine. Use arter97 http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3113463. Latest stable release only works on deodexed roms. Latest beta also work on odexed.
Click to expand...
Click to collapse
thnx for reply dear can u tell me name which file should i download lots of file showing i have no idea
marko11071989 said:
Debloated? Are you using stock kernel?
Click to expand...
Click to collapse
which kernel is recommended?
lovewisher said:
What about xposed?
Click to expand...
Click to collapse
xXx said:
works fine. Use arter97 http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3113463. Latest stable release only works on deodexed roms. Latest beta also work on odexed.
Click to expand...
Click to collapse
lovewisher said:
thnx for reply dear can u tell me name which file should i download lots of file showing i have no idea
Click to expand...
Click to collapse
This Xposed Framework installation description is for deodexed rom only!
Create a backup first
Install XposedInstaller app from from rovo89 XposedInstaller_3.0_alpha4.apk
Important! Install the apk first before you flash the following xposed framework zip, otherwise you will end up in a bootloop.
Download the xposed framework zip xposed-v75-sdk21-arm-arter97-snapdragon.zip and place it on your internal/external SDcard
Flash the xposed framework zip
Reboot your system and you are ready to add your desired xposed modules
I wanted a working init.d to mod some stock Interactive Gov settings in AospExtended ROM so I took the clever universal init.d enabler created by @_alexndr and modified it for a slightly different outcome.
The untouched version ends up using /system/bin/debuggerd as the host file to launch init.d support. This works perfectly well except debuggered is called at the post-fs-data point in the boot process.
This is too early for some init.d settings to stick as they can be overwritten later in the boot process by stock settings. I found /system/bin/mpdecision is called on property:sys.boot_completed=1 making it a much better candidate to use for our phone. So the original script has been modified to use mpdecision instead of debuggerd as the host file to start init.d
I also removed some lines automatically setting up a 99SuperSUDaemon init.d script since we may have magisk instead
All the magic is done in update-binary for those wondering how this works.
Tested working on AospExtended V4.2
Edit: to completely uninstall - delete /system/bin/mpdecision and rename /system/bin/mpdecision_real to mpdecision. Too easy!
Edit, edit: Some custom kernels disable mpdecision by renaming the same file that is being used here. That will prevent correct operation but can be easily overcome by first letting the custom kernel rename mpdecision (to mpdecision.bak) then make another (empty) file called mpdecision so it will become the host to launch init.d functionality. The key to correct operation is that the init.qcom.rc file still has the line that starts mpdecision.
Edit, edit, edit: What is wrong with the built in sysinit script to enable init.d you might well say.......2 problems: it requires busybox and it runs too early in the boot process (on post-fs-data)
Hope this comes in useful.
I am trying to modify my phone rom to fit it with microg and I have successfully deodexed it and applied signature spoofing patch. But it started to go into bootloop, after adding some logging I have figured out that patched services.jar is triggering selinux protection. Normally on linux it is quite simple to disable but on android I am unable to find a way to disable it without recompiling kernel, where I feel too much of a greenhorn to do it.
Is there a "simple" way to modify system.img (android 9) to disable or put selinux into permissive mode or change selinux rules?