[N960F/DS/N][ALEXNDR] * S2CSD2 *PIE/OREO* DevBase v6.0 * DeX, Gear & Encryption support by _alexndr (13/04/2019)

Section pour les Roms Customs pour les Samsung Galaxy Note 9
User avatar

Auteur du sujet
Sakura France
Co-Admin
Posts: 1375
Joined: Fri 4 Aug 2017 18:16
Location: Sous la couette
Appareil Android: Samsung
Has thanked: 203 times
Been thanked: 305 times

[N960F/DS/N][ALEXNDR] * S2CSD2 *PIE/OREO* DevBase v6.0 * DeX, Gear & Encryption support by _alexndr (13/04/2019)

Post by Sakura » Tue 4 Dec 2018 17:01

ROM CUSTOM



[N960F/DS/N][ALEXNDR] * S2CSD2 * *PIE/OREO* DevBase v6.0 * DeX, Gear & Encryption support

InfoInfo
Vous êtes seul responsable des installations et manipulations que vous effectuez sur votre appareil.
Ni moi ni aucun membre de MMG, ne pourront être tenus pour responsables pour d'éventuels problèmes rencontrés.

Merci de bien lire avant de commencer et surtout n'hésitez pas à demander de l'aide si vous ne comprenez pas quelque chose.


Description


ALEXNDR.N960FXXS2CSD2

1. Base:
- Odexed (original stock files) + stock kernel
- Multi CSC OXM (list of natively supported CSC as above) (*)
- Removed KNOX related content (useless on rooted phones)
- Removed Rlc.apk & vaultkeeperd (to avoid "OEM unlock issue")
- Rooted systemlessly (Magisk v19.0) (*)
- All original features are present and works (except KNOX related apps)
- Added "App Lock" feature (Settings -> Advanced features)
- 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 "Show network speed" toggle (Settings -> Display -> Status bar)
- 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 / skipped in DevBase, so you can easy (re)install any of these app if you like
- ONLY pre-installed system apps are removed / skipped, DevBase installer will never touch any updated app nor app installed manually from a store
- By default virtual Safe De-Bloat is applied with exact same effect as physical (completely skips apps at boot). You can force to delete apps physically but it is recommended only if you really need more space in /system

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 / skipped apps list:

Excel
Facebook
LinkedIn
OneDrive
PowerPoint
Word

(*) - 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

# Possibility to skip flashing BL/CP (Exynos devices). It will also skip
# auto-reboot when the installation has finished (it is normally required
# for flashing BL/CP operation to pass successfully). Allowed values:
# false - flash the newest BL/CP matched to the ROM (default)
# true - do NOT update BL/CP and skip installer's auto-reboot

skipblcp=false

# CSC Selection. Allowed values:
# KCSC - Keep current CSC, recommended in most cases (automatic selection or keep current CSC contents).
# You can force the use of natively supported CSC by typing (use UPPERCASE!): ACR, AFG, AFR, ATO, AUT, BGL,
# BNG, BRI, BTC, BTU, CAC, CAM, CPW, DBT, DKR, ECT, EGY, EUR, GLB, ILO, INS, ITV, KSA, LAO, LUX, LYS, MAT,
# MID, MM1, MTL, MWD, MYM, NEE, NPL, NZC, OPS, ORX, PAN, PAK, PHE, PHN, PNG, PRO, ROM, SEB, SEE, SEK, SIN,
# SKZ, SLK, SMA, SMP, STH, TEB, TEL, THL, THR, TMC, TNZ, TPH, TUN, TUR, VAU, VFJ, VNZ, WTL, XEF, XEH, XEO,
# XEU, XEZ, XFA, XFE, XME, XNX, XNZ, XSA, XSG, XSP, XTC, XXV, XNF

CSC=KCSC

# Custom CSC Features. Allowed value in each line: <Example_line>value</Example_line>

<CscFeature_Common_SupportWcdmaInSlave>true</CscFeature_Common_SupportWcdmaInSlave>
<CscFeature_VoiceCall_ConfigRecording>RecordingAll owed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_Setting_EnableMenuBlockCallMsg>true</CscFeature_Setting_EnableMenuBlockCallMsg>
<CscFeature_Setting_CustNetworkSelMenu4>LTEONLY</CscFeature_Setting_CustNetworkSelMenu4>
<CscFeature_Setting_SupportRealTimeNetworkSpeed>tr ue</CscFeature_Setting_SupportRealTimeNetworkSpeed>
<CscFeature_SmartManager_ConfigSubFeatures>roguepo pup|autoclean|autorestart|applock|trafficmanager</CscFeature_SmartManager_ConfigSubFeatures>
<CscFeature_SmartManager_DisableAntiMalware>true </CscFeature_SmartManager_DisableAntiMalware>
<CscFeature_SystemUI_SupportRecentAppProtection>tr ue</CscFeature_SystemUI_SupportRecentAppProtection>
<CscFeature_Message_DisplaySmsTimeAs>server</CscFeature_Message_DisplaySmsTimeAs>
<CscFeature_Message_DisplayMmsTimeAs>server</CscFeature_Message_DisplayMmsTimeAs>
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
<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/BBCAgent
/system/app/[Kk]nox*
/system/app/MDMApp
/system/app/SamsungDLPService
/system/*app/SamsungPass*
/system/*app/SamsungPay*
/system/*app/SecureFolder*
/system/app/SecurityLogAgent
/system/app/UniversalMDMClient
/system/priv-app/ContainerAgent*
/system/priv-app/Fast
/system/priv-app/KLMSAgent
/system/priv-app/[Kk]nox[!D]*
/system/priv-app/PaymentFramework
/system/priv-app/Rlc
/system/container

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

Excel_SamsungStub.apk
Facebook_stub.apk
FBAppManager_NS.apk
FBInstaller_NS.apk
FBServices.apk
FotaAgent.apk
LinkedIn_SamsungStub.apk
OneDrive_Samsung_v3.apk
PowerPoint_SamsungStub.apk
Word_SamsungStub.apk

NEW !!! Starting from DevBase v3.0 there is a new customization method - you can change frequently switched root options or encrypt your device just by renaming installer's ZIP file name (instead of editing options.prop file). Currently supported "strings" in the file name: "magisk", "supersu", "noroot", "encrypt", "rescue", "skipblcp", "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. "N960Fxxx_DevBase_v5.x_supersu.zip")

Case 3 - do not root device
(place "noroot" string anywhere in the ZIP file name, e.g. "N960Fxxx_DevBase_v5.x_noroot.zip")

Regardless of the above root options, starting from DevBase v4.4+, you can also use "encrypt" option (place "encrypt" string anywhere in the ZIP file name, e.g. "N960Fxxx_DevBase_v5.x_encrypt.zip"). All your data will be encrypted "on-the-fly" at next boot after ROM update/reinstall. Wipe data is NOT necessary to use this option. You will NOT lose your data & apps but it is extremely important - do not interrupt encryption process during this "special" boot! Booting can take much longer and you may think it is a bootloop, but it isn't! If you have a large amount of used data - it is recommended to connect your phone to the charger during boot (and open a beer to avoid heart attack while waiting). You do not need to use "encrypt" option again in case of another DevBase update(s) - please read carefully notes below.

In DevBase ROM 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. "N960Fxxx_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 ROM 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_N960Fxxx_DevBase_v5.x.zip"

In DevBase ROM v5.0+ there is a "skipblcp" option which allows you to skip BL/CP update (it also disables auto-reboot when the installer finished work as it is just not necessary then). Just place "skipblcp" string anywhere in the ZIP file name, e.g. "N960Fxxx_DevBase_v5.x_skipblcp.zip" and then install the ROM.

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. "N960Fxxx_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.

Notes related to encrypted devices:

How to confirm that your data are encrypted:

1. Go to TWRP and check if it is possible to mount /data. If NOT - all is ok "Failed to mount '/data' (invalid argument)" will be the a frequent message that you need to like in the future

How to update DevBase ROM to a newer version:

1. Copy a newer DevBase ROM to extSdCard or OTG storage (you do NOT need to use "encrypt" option in ZIP file name again, if your device is encrypted already - it just remain encypted)
2. Go to TWRP -> "Install" and flash ZIP file from extSdCard or OTG
3. That's all

The risk of data loss in case of encrypted devices, depending on the ROM scenario:

1. DevBase only: VERY LOW RISK (*)
2. Coming from other custom ROM with encrypted data - MEDIUM RISK (recommended backup)
3. Installing other custom ROM over DevBase - MEDIUM RISK (recommended backup, anyway)
4. Installing pure stock (using Odin) over DevBase (or over any other custom ROM) - VERY HIGH RISK (not recommended!)

(*) There is still a risk to get into a bootloop if you install stuffs like: Xposed framework, incompatible Magisk or Xposed module, incompatible systemless MOD in /data/devbase/system, etc. In case of bootloop just try to use "rescue" option described above

Notes related to EFS backup:

During install, my ROM's installer always performs EFS backup to {storage}/.backup/efs (where {storage} may be /external_sd, /usb-otg, /sdcard - in the preferred order). It is recommended to copy EFS backup occasionally outside the phone and store in safe location (PC, OTG, etc). There are 2 backups - when you first time installed my ROM (efs_backup.tar.gz) and recent, created additionally, just in case (efs_recent.tar.gz). Most useful will be most probably the first one (efs_backup).

You probably will never need these files, but sometimes s**t happens and restoring EFS backup may be the only one way to rescue your device!

When do I need to restore EFS backup?
- lost/invalid IMEI number
- proper IMEI but unable to connect to the network
- connected to the network but unable to make a call and/or transfer data
- unrecoverable bootloop (even after clean DevBase install with default settings)

NOTE: In contrast to many other custom ROMs - my installer uses gzip compression (*.img.gz) to store EFS backup(s). Restore command for your device is stored in txt file in the same directory with EFS backup. If you forgot command - you can read txt file containing proper command @ PC (Notepad) or even directly form TWRP using Terminal's 'cat' command, e.g.:

Code:
cat /external_sd/.backup/efs/efs_backup.txt
NOTE: Do not panic, read the txt file peacefully and type command exactly as it is in TWRP's Terminal, then tap blue [enter] button. After all - please reboot device. If the problem was EFS related - your device just has been rescued





Changelogs

v6.0 (starting from N960FXXS2ARL3 DevBase):

- Introduced logging entire installation process (to devbase_install.log file, placed in /data or /cache in case of encrypted devices). These logs may significantly increase the possibility of my help in case of problems with/after installation
- Major imrovements/bugfixes/optimizations related to Android Pie support (e.g. takes care about special SELinux contexts for /odm content, introduced in Pie)
- Removed SuperSU support. Changed allowed "root" variable value in options.prop to true/false (backward compatible with old options.prop)
- Removed "skipblcp" option - baseband/modem will be always updated, bootloader need to be flashed separately (update is usually not mandatory)



Pré-Requis

  • Avoir activé l'option développement et mode déboguage usb
  • Avoir installé les drivers USB fournis avec le mobile.
  • Etre root et Avoir dernière version TWRP installée voir
  • Avoir installé BL et Modem via Odin
  • Avoir accès au mode Recovery
  • Téléphone chargé
  • Faire un backup avant toutes modifications et une sauvegarde de vos contacts, données, sms, etc... sur votre compte Google ou applications



Téléchargements



SM-N960F/DS
(Android 9.0)

(Android 8.1)





SM-N960N
(Android 9.0)

(Android 8.1)






Installation


sur votre carte SD externe
  • installez le fichier Rom
  • Démarrez votre téléphone en mode Recovery (Volume haut + home + Power)
  • Faire un Nandroid Backup
  • Faire Wipe > Format Data, Factory Reset
  • Faire glisser pour valider
  • retour
  • Flashez la Rom
  • Quand l'installation est terminée
  • puis retour et Reboot system



Source

Merci @_alexndr
Last edited by Sakura on Mon 15 Apr 2019 16:34, edited 7 times in total.
Reason: MaJ Pie S2CSD2 13/04/2019
These users thanked the author Sakura for the post:
Bydyphil
Rating: 25%



Image

- Pas d'aide en MP -

Tags:

User avatar

Bydyphil Germany
Fondateur
Posts: 891
Joined: Tue 1 Aug 2017 22:44
Location: Allemagne
Appareil Android: Samsung Galaxy s8 plus
Dlsrom TEAM_MMG
Samsung Galaxy S6 Edge
Has thanked: 364 times
Been thanked: 95 times

[N960F/DS/N][ALEXNDR] * S2ARK2 * DevBase v5.9 * DeX, Gear & Encryption support by _alexndr

Post by Bydyphil » Tue 4 Dec 2018 17:37

:hello: et :merci: pour le partage :pouce:
These users thanked the author Bydyphil for the post:
Sakura
Rating: 25%
Image

User avatar

Auteur du sujet
Sakura France
Co-Admin
Posts: 1375
Joined: Fri 4 Aug 2017 18:16
Location: Sous la couette
Appareil Android: Samsung
Has thanked: 203 times
Been thanked: 305 times

[N960F/DS/N][ALEXNDR] * XXS2ARL3/KSU2BRL5 * DevBase v6.0 * DeX, Gear & Encryption support by _alexndr

Post by Sakura » Mon 7 Jan 2019 19:46

MaJ V6.0 - 01/01/2019
These users thanked the author Sakura for the post:
Bydyphil
Rating: 25%

Image

- Pas d'aide en MP -

User avatar

Auteur du sujet
Sakura France
Co-Admin
Posts: 1375
Joined: Fri 4 Aug 2017 18:16
Location: Sous la couette
Appareil Android: Samsung
Has thanked: 203 times
Been thanked: 305 times

[N960F/DS/N][ALEXNDR] * XXU2CRLT * DevBase v6.0 * DeX, Gear & Encryption support by _alexndr

Post by Sakura » Wed 9 Jan 2019 16:50

MaJ XXU2CRLT 08/01/2019
These users thanked the author Sakura for the post:
Bydyphil
Rating: 25%

Image

- Pas d'aide en MP -

User avatar

Auteur du sujet
Sakura France
Co-Admin
Posts: 1375
Joined: Fri 4 Aug 2017 18:16
Location: Sous la couette
Appareil Android: Samsung
Has thanked: 203 times
Been thanked: 305 times

[N960F/DS/N][ALEXNDR] * XXU2CSA2 * DevBase v6.0 * DeX, Gear & Encryption support by _alexndr (13/01/2019)

Post by Sakura » Thu 17 Jan 2019 14:25

MaJ 13/01/2019
These users thanked the author Sakura for the post:
Bydyphil
Rating: 25%

Image

- Pas d'aide en MP -

User avatar

Auteur du sujet
Sakura France
Co-Admin
Posts: 1375
Joined: Fri 4 Aug 2017 18:16
Location: Sous la couette
Appareil Android: Samsung
Has thanked: 203 times
Been thanked: 305 times

[N960F/DS/N][ALEXNDR] * S2CSD2 *PIE/OREO* DevBase v6.0 * DeX, Gear & Encryption support by _alexndr (13/04/2019)

Post by Sakura » Mon 15 Apr 2019 16:35

MaJ Pie S2CSD2 13/04/2019
These users thanked the author Sakura for the post:
Bydyphil
Rating: 25%

Image

- Pas d'aide en MP -

Return to “Roms Customs”