[Mods]Samsung ¬Android Mods Collection[Exynos]

Hello Users...!!! Is Thread Useful.......!!!


  • Total voters
    321
Search This thread

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
5q9btskl.png


Code:
I Hope All Agree With Me And Share Guides Here.
Please Feel Free To Contribute As Well.

Notes:
Code:
"This Thread is For Samsung Exynos Devices Only"
"This Thread is Purely Meant For Custom ROM Devs / Learners"
"Others Please Ignore And Don't Send Files To Us To Mod For you or Ask For Flashable Zips"

Note To Beginners:
Code:
You Will Need Basic Knowledge For Editing Decompiled Apks and Jars.

Thread Rules:
Code:
*Post Guides Here Which Work 100% Only On Galaxy Devices Like S7/S7E, S8/S8+, Note 8, S9/S9+, N9 Based on Android Versions - MM, NN, OO, PP.
*If You Post A Guide, Then Be Sure Its Your Own Guide.
*If Guide Is Not Owned By You Then Please Link To The Post Of Original Developer And Show Only The Changes Here.
*If Guide Is Not Owned By You Then Give Credits And Write That - " The Users Have To Thank In Linked Thread From Original Thread.".
*Please Add Screenshots For All Guides you post, Also use Xda Upload Tab For Uploading Pictures.
*Keep your Guides up to Date.

Lets Get Started:

c6ixvam3.png

SecSettings

* Outdoor Mode in Settings for Oreo:
https://xdaforums.com/showpost.php?p=76226004&postcount=25

* Nav Bar Colors Oreo
https://xdaforums.com/showpost.php?p=76226163&postcount=30

* Rom Logo to SecSettings for Oreo
https://xdaforums.com/showpost.php?p=76226277&postcount=34

* Adding Changelog Option To SecSettings Oreo
https://xdaforums.com/showpost.php?p=76226336&postcount=35

* Guide To Add Apps To SecSettings
https://xdaforums.com/showpost.php?p=76627541&postcount=157

* Guide To Change User Manual Link In Settings Menu To Any Else:
* Add On To User Manual Link In Settings Menu To Any Else: Remove SBrowser Link By Default And Use Any Other Browser:
https://xdaforums.com/showpost.php?p=76672397&postcount=181

* The Vibration Of The Soft Keys Switch
https://xdaforums.com/showpost.php?p=76903005&postcount=258

* Show Touch Key Light Duration on Display Settings
https://xdaforums.com/showpost.php?p=77590799&postcount=591




bj67qkxd.png

SystemUI:

* Guide to Remove High Volume Warning in Oreo
https://xdaforums.com/showpost.php?p=76093180&postcount=5

* Guide to Remove High Volume Warning in Pie
https://xdaforums.com/showpost.php?p=78541271&postcount=841

* Guide to Remove Dual Sim Bar from Notification Panel
https://xdaforums.com/showpost.php?p=76225807&postcount=18

* GUIDE_TUTORIAL_THINK-OUTSIDE-THE-BOX - Global context for android application - example on SystemUI
https://xdaforums.com/showpost.php?p=67930675&postcount=8317

* Guide menu reset and off on samsung oreo
https://xdaforums.com/showpost.php?p=76170901&postcount=9

* SystemUI Tiles NN/OO/Pie
https://xdaforums.com/showpost.php?p=76225941&postcount=22

* NETWORK TRAFFIC WITH DARK TINT
https://xdaforums.com/showpost.php?p=76270955&postcount=42

* DOUBLE TAP TO SLEEP ON STATUSBAR (ROMCONTROL OPTIONAL)
https://xdaforums.com/showpost.php?p=76291283&postcount=44

* ENABLE LOCKSCREEN ROTATION (ROMCONTROL OPTIONAL)
https://xdaforums.com/showpost.php?p=76298464&postcount=45

* TOGGLE COLOR INVERSION
https://xdaforums.com/showpost.php?p=76302363&postcount=46

* COLOR SIGNAL CLUSTER WITHOUT LOSS DARK TINT
https://xdaforums.com/showpost.php?p=76311765&postcount=47

* Center clock
https://xdaforums.com/showpost.php?p=76372750&postcount=50

* Guide to Hide Status Bar Icons in Lock Screen
https://xdaforums.com/showpost.php?p=76475592&postcount=112

* Permanently Disable High Level Brightness Popup In Oreo
https://xdaforums.com/showpost.php?p=76452776&postcount=108

* Permanently Disable High Level Brightness Popup in Pie
https://xdaforums.com/showpost.php?p=78541298&postcount=842

* Custom Animation GIF For TW Oreo!
https://xdaforums.com/showpost.php?p=76445897&postcount=99

* FontUtils (Custom fonts for all TextViews with RC)
https://xdaforums.com/showpost.php?p=76422128&postcount=77

* Guide To Add Quick Face Unlock Without Swipe ( With Google Smart Lock )
https://xdaforums.com/showpost.php?p=76598193&postcount=147

* Signal Cluster To The Left ( With/Without RomControl ) ( On-The-Fly )
https://xdaforums.com/showpost.php?p=76746630&postcount=194

* Guide - Move status bar views to right - left or center on fly
https://xdaforums.com/showpost.php?p=76791767&postcount=200

* [GUIDE]Change Battery Icon on Every 10% Drain on Tw Oreo
https://xdaforums.com/showpost.php?p=76859738&postcount=237

* Mini Guide - Force always visible Free Form Menu item in notifications
https://xdaforums.com/showpost.php?p=76849834&postcount=228

* SIM Panel Responsive Switch
https://xdaforums.com/showpost.php?p=76918617&postcount=276

* Dual Sim Bar from Notification Panel with switch
https://xdaforums.com/showpost.php?p=76918617&postcount=276

* Fingerprint Unlock without RomControl & with RomControl
Unlock Device Using Fingerprint Unlock After Reboot
https://xdaforums.com/showpost.php?p=77035733&postcount=341

* USE BIOMETRIC ON REBOOT
Unlock Device Using Fingerprint/IRIS/Face Unlock After Reboot
https://xdaforums.com/showpost.php?p=77013566&postcount=323

* Unlock Device Using Fingerprint/IRIS/Face Unlock After Reboot
Unlock Device Using Fingerprint Unlock After Reboot
https://xdaforums.com/showpost.php?p=76409989&postcount=70

* TOGGLE FOR FINGERPRINT WAKE-UP
https://xdaforums.com/showpost.php?p=77070109&postcount=384

* Advanced Power Menu - Up to 15 Toggles, custom colors Oreo
https://xdaforums.com/showpost.php?p=77180584&postcount=428

* Advanced Power Menu - For Odex ROM Using Deodexed Services/SystemUI Pie
https://xdaforums.com/showpost.php?p=78910083&postcount=944

* Control Points Of Display By Rom Control - For Advanced Power Menu Pie Post(944)
https://xdaforums.com/showpost.php?...ums.com/showpost.php?p=77201991&postcount=445

* DeluxeOutdoor - Custom outdoor button on notif. panel
https://xdaforums.com/showpost.php?p=77239798&postcount=452

* Screen off TimeOuts Tile - User Screen and Lock Screen (normal mode and power save mode)
https://xdaforums.com/showpost.php?p=77167897&postcount=421

* Guide To Add Next Alarm In The Lockscreen With Toggle
https://xdaforums.com/showpost.php?p=77565698&postcount=586

* Modded Screen Recorder apk and SystemUI Tile Oreo/Pie
https://xdaforums.com/showpost.php?p=77608911&postcount=596

* Native Samsung Blur in Panel
https://xdaforums.com/showpost.php?p=77685087&postcount=615

* Enable/Disable Dim Effect in Panel
https://xdaforums.com/showpost.php?p=77720648&postcount=629

* Guide To Remove Low Battery Warning:
https://xdaforums.com/showpost.php?p=78544636&postcount=846

* Guide To Add Battery Temperature:
https://xdaforums.com/showpost.php?p=78544796&postcount=847

* Guide To Add Next Alarm In Lockscreen:
https://xdaforums.com/showpost.php?p=78544958&postcount=848

* Native Blur On Notification Panel Pie:
https://xdaforums.com/showpost.php?p=78918234&postcount=955

* Notification Panel Texts Colored Mods Pie:
https://xdaforums.com/showpost.php?p=78924963&postcount=974

* Custom Background, Main Text Color And Status Text Color, Matrix Animation In Power Menu Pie:
https://xdaforums.com/showpost.php?p=78956822&postcount=1005

* 3 Styles Custom Icons For Extended Power Menu Pie:
https://xdaforums.com/showpost.php?p=78971950&postcount=1019

* Device Info Pie:
https://xdaforums.com/showpost.php?p=78999495&postcount=1060

* Guide To Change Notifications Background With Or Without Rom Control Pie:
https://xdaforums.com/showpost.php?p=79006409&postcount=1065

* Show/Hide The Text Under Toggles. The Color Of The Text Under Toggles. On the Fly Pie:
https://xdaforums.com/showpost.php?p=79019145&postcount=1085

* Settings Of The Text Of Mobile Data In The Panel Of Quick Settings Pie:
https://xdaforums.com/showpost.php?p=79043349&postcount=1109

* Move Statusbar/Keyguard Views On The Fly Pie:
https://xdaforums.com/showpost.php?p=79105580&postcount=1143

* Guide To Add Display Settings Tile In Quick Settings Pie:
https://xdaforums.com/showpost.php?p=79938627&postcount=1361





rp6g6phg.png

Framework-res



r68n2xya.png

Services.jar

* Guide To Permanently Disable Flag Secure in Oreo
https://xdaforums.com/showpost.php?p=76226139&postcount=29

* Guide To Permanently Disable Flag Secure in Pie:
https://xdaforums.com/showpost.php?p=78541237&postcount=840

* Guide To Fix SnapChat (Secure Flag) in Pie:
https://xdaforums.com/showpost.php?p=79719514&postcount=1311

* Fully spoof signature check Guide
( Services.jar & Core-oj.jar - Signature Check Disable, Installing Apps Older Versions Over Newer For Oreo )
https://xdaforums.com/showpost.php?p=77001987&postcount=314

* Signature Check Disable For Oreo
https://xdaforums.com/showpost.php?p=76226193&postcount=31

* Signature Check Disable For Pie
https://xdaforums.com/showpost.php?p=78541156&postcount=837

* Signature Check Disable For QQ
https://xdaforums.com/showpost.php?p=81414375&postcount=1453

* Installing Apps Older Versions Over Newer For Oreo
https://xdaforums.com/showpost.php?p=76226212&postcount=32

* USB Plug/Unplug disable wake up with toggle in RomControl
https://xdaforums.com/showpost.php?p=69794937&postcount=6

* Tweaks: bypass MicroSD/Sim2 tray lock
https://xdaforums.com/showpost.php?p=77001643&postcount=313

* Guide - Rotate The Screen 360 Degrees With Switch in RC - QQ
https://xdaforums.com/showpost.php?p=82270321&postcount=1493

* Guide - A bit different way for Toast Animations
https://xdaforums.com/showpost.php?p=77053616&postcount=375

* Fix For Share External On FB With Disabled Signature Oreo
https://xdaforums.com/showpost.php?p=77947900&postcount=701

* Fix For Share External On FB With Disabled Signature Pie
https://xdaforums.com/showpost.php?p=78870334&postcount=929

* Guide To Fix Key-Lights On Non Supported Ports
https://xdaforums.com/showpost.php?p=78056575&postcount=783

* Guide To Change DVFS, HQM and SSRM Properties To Stock On Ported ROM's
https://xdaforums.com/showpost.php?p=78055789&postcount=782

* Guide To Patch Secure Folder App in Pie:
https://xdaforums.com/showpost.php?p=79926283&postcount=1357
https://xdaforums.com/galaxy-note-8...ms.com/showpost.php?p=82978861&postcount=1522


hl4giob8.png

Framework.jar


*




55oohlw6.png

Always On Display

* Guide To Add Custom Home Button Icon in Always On Display
https://xdaforums.com/showpost.php?p=77814196&postcount=655




5euu3tbk.png

Jet Black UI Tweaks


Code:
OneUI Night Mode Color Coding Is #080808(Grayish Black), Follow The Below Tweaks If You Need Jet Black UI In Samsung Apps/UI (#000000)
Simply Install Color Picker App & Check For Yourself.

* Guide To Mod Framework-Res For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503277&postcount=1413

* Guide To Mod SystemUI For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503337&postcount=1414

* Guide To Mod SecSettings For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503403&postcount=1415

* Guide To Mod TouchWizHome For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503433&postcount=1416

* Guide To Mod SamsungMessages For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503451&postcount=1417

* Guide To Mod SamsungDialer For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503461&postcount=1418

* Guide To Mod SamsungContacts For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503471&postcount=1419

* Guide To Mod SamsungInCallUI For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503477&postcount=1420

* Guide To Mod TelephoneUI For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503485&postcount=1421

* Guide To Mod Accessibility For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503491&postcount=1422

* Guide To Mod ClockPackage For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503493&postcount=1423

* Guide To Mod SamsungGallery For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503499&postcount=1424

* Guide To Mod SmartManager For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503507&postcount=1425

* Guide To Mod SecMyFiles For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503511&postcount=1426

* Guide To Mod Finder For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503513&postcount=1427

* Guide To Mod DigitalWellbeing For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503519&postcount=1428

* Guide To Mod VoiceRecorder For Jet-Black UI Pie:
https://xdaforums.com/showpost.php?p=80503523&postcount=1429


e5y3jp5n.png

Samsung Camera

*




zp69aa6s.png

Dialer / INCALLUI

* Guide To Add Big Photo And FullScreen Caller ID in Samsung Dialer
https://xdaforums.com/showpost.php?p=77994504&postcount=743

* Guide - Dialer Background on-the-fly QQ
https://xdaforums.com/showpost.php?p=82305847&postcount=1497

* Guide - Full Screen Caller ID - QQ
https://xdaforums.com/showpost.php?p=82308837&postcount=1501






hfhemcci.png

SAMSUNG LAUNCHER

* TouchWizLauncher - Adding 8 Icons to Dock
https://xdaforums.com/showpost.php?p=76225882&postcount=20

* TouchWizLauncher Landscape/Portrait Mode For Home
https://xdaforums.com/showpost.php?p=76225962&postcount=23

* ENABLE LANDSCAPE MODE ON TW (SMALI WAY)
https://xdaforums.com/showpost.php?p=76282170&postcount=43

* TOUCHWIZ : CUSTOM SIZE / COLOR APP NAMES WITH ROMCONTROL
https://xdaforums.com/showpost.php?p=77249344&postcount=457

* Double Tap Gestures On Home Screen (13 Actions) (Launcher_3)
https://xdaforums.com/showpost.php?p=77510030&postcount=521



l9ex4ruj.png

Build.prop Tweaks:

* Build Prop Tweaks:
https://xdaforums.com/showpost.php?p=76225678&postcount=12

* Guide To Fix SafetyNet CTS & Basic Integrity Failure in Magisk Root
https://xdaforums.com/showpost.php?p=77715437&postcount=624



o8x4wmqr.png

CSC_OMC_ODM TWEAKS


5rtx9pg9.png

UPSM Tweaks

*




xrkj82zu.png

TEMPLATE ZIP
Add Your Files To This Zip & Flash via TWRP Recovery

* Template Zip - For Flashing /System Files:
https://www.androidfilehost.com/?fid=6006931924117890407

* Template Zip - For Flashing /Vendor Files:
https://www.androidfilehost.com/?fid=6006931924117890410

* Template Zip - For Flashing /System & /Vendor Files:
https://www.androidfilehost.com/?fid=6006931924117890408

* Template Zip - For Flashing /ODM Files:
https://www.androidfilehost.com/?fid=6006931924117890409


ayblxflb.png

Kernel Mods

* Fix For Oreo DeOdex (ROM WITHOUT ARM/ARM64)
( You Can Boot ROM Without Using System/Framework/ARM/ and System/Framework/ARM64 Folders )
https://xdaforums.com/showpost.php?p=76579292&postcount=141



rgepzoxb.png

ROM Control:

* [SOURCE CODE][DEV TOOL][SDK 21+]6thGear RomControl v2.+ for Devs
https://xdaforums.com/android/general/source-code-6thgear-romcontrol-v2-devs-t3411916



pkeyogiv.png

Root


b736b5wv.png

Xposed

* [OFFICIAL] Xposed for Lollipop/Marshmallow
http://xdaforums.com/showthread.php?t=3034811

* [UNOFFICIAL]Xposed for Samsung Lollipop/Marshmallow
https://xdaforums.com/xposed/unofficial-xposed-samsung-lollipop-t3180960

* [UNOFFICIAL] Material Design Xposed Installer
https://xdaforums.com/xposed/material-design-xposed-installer-t3137758


p6pxrly7.png

ROM Building Kitchens


uinxakn9.png

General Tools

* [GUIDE] How to Decompile APKs with ODEX files [Noob Friendly]
https://xdaforums.com/android/software/guide-how-to-decompile-apks-odex-files-t3325340

* [TOOL] Android Image Kitchen - Unpack/Repack Kernel Ramdisk [Win/Android/Linux/Mac]
https://xdaforums.com/showthread.php?t=2073775

* Odin3 Tool For Windows:
https://xdaforums.com/showthread.php?t=2711451

* [OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
https://xdaforums.com/showthread.php?t=2588979

* [Q&A] AROMA Installer - [Dev Move To DevDB]
https://xdaforums.com/showthread.php?t=1461712

* [Script][Tool] how to create a tar.md5 file from img For Odin
https://xdaforums.com/showthread.php?t=2446269

* How can a modder have easy life / Pushing apps into system / Easier than you think
https://xdaforums.com/showpost.php?p=67255785&postcount=6998

* [TOOL] Frija - Samsung Firmware Downloader
https://xdaforums.com/s10-plus/how-to/tool-frija-samsung-firmware-downloader-t3910594


6pzftsjd.png

Uncategorized

* [Smali/Baksmali] JesusFreke - Smali/Baksmali Jars
https://bitbucket.org/JesusFreke/smali/downloads/

* Some OMC manipulation tips
https://xdaforums.com/showpost.php?p=76206008&postcount=10

* Use ODM instead of OMC/CSC in Oreo
https://xdaforums.com/showpost.php?p=76861271&postcount=240

* Use Product instead of ODM/OMC/CSC in Pie
https://xdaforums.com/showpost.php?p=79289296&postcount=1236

* Decode/Encode OMC/CSC Files Tool
https://xdaforums.com/android/software/decode-encode-omc-files-omc-decoder-t3791471

* Decode/Encode OMC/CSC Files
https://xdaforums.com/galaxy-note-8/how-to/decrypt-decode-note-8-omc-csc-files-t3770940

* [GUIDE] Making Dump Files Out of Android Device Partitions via ADB
https://xdaforums.com/showthread.php?t=2450045

* [Guide][Video Tutorial] How to build Custom ROMs and Kernel Modification![O][N][M][L]
https://xdaforums.com/android/general/guide-how-to-build-custom-roms-kernel-t3814251

* For those who want to go from 6th ROM Control to GRX Settings
https://xdaforums.com/showpost.php?p=76987927&postcount=312

* [MOD][TEMPLATE] APK-Patcher Lite
https://xdaforums.com/android/software/mod-apk-patcher-lite-t3868675?nocache=1

* Fixing Private Mode on Non Supported Frameworks (i.e S8+ / Note 8 / S9 ) Oreo
https://xdaforums.com/showpost.php?p=77108226&postcount=408

* How To Fix S9+/S9 Dolby on Oreo Roms
https://xdaforums.com/showpost.php?p=77100856&postcount=405

* RMM prenormal work around
https://xdaforums.com/showpost.php?p=76388485&postcount=51

* All about CPU Governors and GPU governors
http://ajgupta.github.io/android/2015/01/28/CPU-and-GPU-governors/

* Guide To Bypass Google Pay App - Magisk Hide
https://xdaforums.com/showpost.php?p=77719104&postcount=626

* [GUIDE] Root/Install TWRP on any NON-US Samsung after 2018 updates
https://xdaforums.com/samsung-a-series-2017/how-to/guide-root-install-twrp-samsung-t3747535

* "Lockscreen & Home " Default Wallpaper:
https://xdaforums.com/showpost.php?p=77508855&postcount=518

* SysScope: Set Device Status Official
https://xdaforums.com/showpost.php?p=70453055&postcount=81

* Guide To Disable MTP (USB) Pop-up:
https://xdaforums.com/showpost.php?p=77832011&postcount=680

* [Guide][tut] [LP/MM] Hide/Enable Layouts (small apps, Icons, Nav and more) no smali
https://xdaforums.com/crossdevice-dev/sony-themes-apps/guide-hide-enable-layouts-small-apps-t3417499

* Guide To Add Single CSC & Remove OMC_ODM
https://xdaforums.com/showpost.php?p=77811752&postcount=652

* AppLock For Oreo 8.0
https://xdaforums.com/showpost.php?p=76225695&postcount=13

* Screen Recorder
https://xdaforums.com/showpost.php?p=76225863&postcount=19

* Power Plan Feature for Device Maintenance Oreo
https://xdaforums.com/showpost.php?p=76225983&postcount=24

* Guide for GMS Doze
https://xdaforums.com/showpost.php?p=76225714&postcount=14

* Guide to Fix Data Mount in TWRP for Oreo
https://xdaforums.com/showpost.php?p=76226096&postcount=28

* [APP][Root][2.1+][OFFICIAL] AdAway
https://xdaforums.com/showthread.php?t=2190753

* ADB Prop Tweak
https://xdaforums.com/showpost.php?p=76225725&postcount=15

* Guide to Calibrate Battery
https://xdaforums.com/showpost.php?p=76225734&postcount=16

* [FontPack] -v7.2- 1120 Fonts Compatible with Oreo
https://xdaforums.com/galaxy-s6/themes-apps/font-pack-966-fonts-one-apk-s6-s6edge-t3154336

* [ADVANCED TUTORIAL][NOT-FOR-THE-WEAK-HEART][6THGEAR INFO CORNER] Content observer the 6thGear way
https://xdaforums.com/showpost.php?p=68027127&postcount=8549

* [GUIDE]All-In-One(stock FW/CSC/ROOT/TWRP recovery/FRP unlock/PIT/unbrick/bootloader)
https://xdaforums.com/galaxy-s7/how-to/guide-onelatest-stock-fw-csc-root-t3702963

* [30/09/16][Sounds] Iron Man 3 Added !!! [BOOTANIMATIONS] for S5/N4/S6/E /N5/S7/E
https://xdaforums.com/galaxy-s6/themes-apps/bootanimation-android-n-prev-4-audio-t3410272

* [TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms]
https://xdaforums.com/showthread.php?t=2239421

* [GUIDE] Restore You IMEI And Fix Corrupted EFS
https://xdaforums.com/android/general/guide-restore-imei-fix-corrupted-efs-t3116217

* [DEV][TEMPLATE] AnyKernel2 - Easily Mod ROM Ramdisk + Pack zImage
https://xdaforums.com/showthread.php?t=2670512

* [TOOL] Public ID Converter
https://xdaforums.com/android/software/tool-public-id-converter-t3064175

* SystemUI Compilation Error Fix!
https://xdaforums.com/showpost.php?p=76361966&postcount=49

* How to Port Samsung Rom to other Samsung devices (Updated as of 4/19/2017)
https://xdaforums.com/android/software/how-to-port-samsung-rom-to-samsung-t3481114

* [SOURCE CODE][DEV TOOL][SDK 21+]6thGear RomControl v2.+ for Devs
https://xdaforums.com/android/general/source-code-6thgear-romcontrol-v2-devs-t3411916

* TEE:
A TEE processor is typically a separate microprocessor in the system or a virtualized instance of the main processor.
The TEE processor is isolated from the rest of the system using memory and I/O protection mechanisms supported by the hardware.

https://source.android.com/security/trusty/

* Android Tips and Tricks
https://xdaforums.com/showthread.php?t=1723643

* [REF][GUIDE]Most Upto Date Guide on CPU Governors, I/O Schedulers:
https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

* [GUIDE] How to fix IMEI / DRK issues [ALL MODELS][COMBINATION UPDATE 03 NOV 2017]
https://xdaforums.com/s7-edge/how-to/guide-how-to-fix-check-drk-imei-issues-t3379516

* [GUIDE][COMPLETE] All in one Android Development [NOOB FRIENDLY]
https://xdaforums.com/chef-central/android/guide-one-android-development-t3175121?nocache=1

* [GUIDE][COMPLETE] Android ROM Development From Source To End
https://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763

* [GUIDE/TIPS] How to Port OEM Apps / Vendor Apps to Your Current ROM
https://xdaforums.com/showthread.php?t=2476050

* OTA Update Center App (v 2.0.5)
http://xdaforums.com/showthread.php?p=29501085#post29501085



pijig5ug.png

Click To Join "Samsung ¬Android Mods Collection Support" Group
Click To Join "Samsung ¬Android Mods Collection[Exynos]" Channel

XDA:DevDB Information
[Mods]Samsung ¬Android Mods Collection[Exynos], ROM for the Android General

Contributors
yash92duster, ananjaser1211, Kill-Switch, amtra
ROM OS Version: Android 10
ROM Firmware Required: Samsung Exynos Devices Only, Android Versions - KK, LL, MM, NN, OO, PP

Version Information
Status: Stable
Stable Release Date: 2020-07-05

Created 2018-08-07
Last Updated 2020-07-05
 
Last edited:

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
Guide to Remove High Volume Warning in Oreo:

Decompile SystemUI.apk

Locate to
com/android/systemui/volume/VolumeDialogControllerImpl.smali

Find the method and replace it fully with new method

From
Code:
.method private onShowSafetyWarningW(I)V
    .locals 2

    iget-object v0, p0, Lcom/android/systemui/volume/VolumeDialogControllerImpl;->mKnoxStateMonitor:Lcom/android/systemui/KnoxStateMonitor;

    invoke-virtual {v0}, Lcom/android/systemui/KnoxStateMonitor;->isSafetyWarningDialogEnabled()Z

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_0

    sget-object v0, Lcom/android/systemui/volume/VolumeDialogControllerImpl;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "KnoxStateMonitor : Disable SafetyWarningDialog"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/android/systemui/volume/VolumeDialogControllerImpl;->mAudio:Landroid/media/AudioManager;

    invoke-virtual {v0}, Landroid/media/AudioManager;->disableSafeMediaVolume()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/android/systemui/volume/VolumeDialogControllerImpl;->mCallbacks:Lcom/android/systemui/volume/VolumeDialogControllerImpl$C;

    invoke-virtual {v0, p1}, Lcom/android/systemui/volume/VolumeDialogControllerImpl$C;->onShowSafetyWarning(I)V

    return-void
.end method

To
Code:
.method private onShowSafetyWarningW(I)V
    .locals 2

    iget-object v0, p0, Lcom/android/systemui/volume/VolumeDialogControllerImpl;->mAudio:Landroid/media/AudioManager;

    invoke-virtual {v0}, Landroid/media/AudioManager;->disableSafeMediaVolume()V

    return-void

.end method


This Guide is optimized from
https://xdaforums.com/showpost.php?p=70176615&postcount=46
Thanks to Grouxho
 
Last edited:

a.raul

Senior Member
Apr 21, 2014
375
510
Mordor
Guide menu reset and off on samsung oreo

GUIDE MENU RESET AND OFF ON SAMSUNG OREO

WITH FIX FOR RECOVERY, DOWNLOAD AND TORCH from @AbrahamGC and DeluxRom

Your work here:

https://www.htcmania.com/showthread.php?t=1404819

EVERYTHING USED HERE IS FROM THE DELUXROM DEVICE, ANY DEV THAT YOU WANT TO USE IN
YOUR ROMS SOMETHING ABOUT THIS WORK, YOU MUST CONTACT ME OR @AbrahamGC

ANY QUESTIONS ARE ASKED IN THE THREAD AND NO PERSONAL MODIFICATIONS ARE MADE,
IF YOU ARE HERE IT IS BECAUSE YOU KNOW HOW TO DISCOVER IN THE MODIFICATIONS ....



IF YOU FOLLOW THE GUIDE TO THE FOOT OF THE LETTER, THERE WILL BE NO PROBLEM IN MOD.

I DO NOT BE RESPONSIBLE FOR THE BAD UTULIZATION OR INTERPRETATION OF THE MOD.

THIS MOD CONSISTS OF VARIOUS PARTS AND WE WILL USE framework-res.apk, SystemUI.apk and ScreenRecorder.apk

THE GUIDES ARE MADE IN SPANISH AND ENGLISH IN * .smali FOR A BETTER UNDERSTANDING AND WITH THE BEST POSSIBLE TRANSLATION. THEY ARE WITHIN THE .RAR

menu_extendido_reinicio_Oreo_Samsung.rar

WITH ScreenRecorder.apk WE WILL HAVE ACCESS TO THE ADJUSTMENTS OF THE APPLICATION IN THE APPLICATION DRAWER
 

Attachments

  • Screenshot_20180409-025431.jpg
    Screenshot_20180409-025431.jpg
    113.1 KB · Views: 6,232
  • Screenshot_20180409-025442.jpg
    Screenshot_20180409-025442.jpg
    121 KB · Views: 6,193
  • Screenshot_20180409-025956.jpg
    Screenshot_20180409-025956.jpg
    96.5 KB · Views: 6,135
  • menu_extendido_reinicio_Oreo_Samsung.rar
    1.9 MB · Views: 2,490

corsicanu

Recognized Developer
Some OMC manipulation tips :)
Please take some time to read patiently everything. As always i`m not responsable for any damage that you do to your device.
Hello guys, i want to share some info with you. As recognised devs say from time to time, we just need to think outside the box, everything is there for us to read/learn. I`m gonna debate in this post 2 issues that i had and the workaround for them:

1. OMC code changing wants to wipe data..
But who will agree to that without a fair fight? I investigated the frameworks and found out that samsung sets country code to use from the mcc/mnc of the sim card inserted. Inside efs/imei should be a country code file named mps_code.dat, which it contains some code. Usually at the first boot framework is creating a new file in there named omcnw_code.dat containing sim card code.. After booting, it compares both files mps_code.dat and omcnw_code.dat and if the string inside doesn`t match, it prompts for a reboot to apply the country or reboot to factory reset to use new sim. Now, if you don`t have stock recovery to securely perform the wipe, you`ll probably end in bootloop. First time i ended in bootloop because of twrp, second time i mounted efs from twrp and manually changed the mps_code.dat according to sim country. Booted up and all just was ok, without the wipe that samsung added.
Therefore i tried to make a method inside SystemServer.smali (services.jar/smali/com/android/servers) that loads at boot, looks for the omcnw and if it`s found, it will delete mps_code.dat and rename omcnw_code.dat to mps_code.dat, so you won`t feel the change but also no more wipe prompt.
Under the # direct methods, anywhere after .method public constructor <init>()V i added this method:
Code:
.method private static deleteOmcnw()V
    .locals 5

    const-string/jumbo v2, "/efs/imei/omcnw_code.dat"

    const-string/jumbo v3, "/efs/imei/mps_code.dat"

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    invoke-virtual {v0, v1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v0, [COLOR="Blue"]"omcnw"[/COLOR]

    const-string/jumbo v1, [COLOR="Blue"]"Some log lines, blah blah blah"[/COLOR]

    invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0
.end method
And ofc now we need an invoke for this method.
I added it in .method private run()V after loading libandroid_servers
Code:
    invoke-static {v0}, Landroid/os/Process;->setCanSelfBackground(Z)V

    invoke-static {}, Landroid/os/Looper;->prepareMainLooper()V

    const-string/jumbo v0, "android_servers"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

    [COLOR="Blue"]invoke-static {}, Lcom/android/server/SystemServer;->deleteOmcnw()V[/COLOR]

    invoke-direct {p0}, Lcom/android/server/SystemServer;->performPendingShutdown()V

    invoke-direct {p0}, Lcom/android/server/SystemServer;->createSystemContext()V

    new-instance v0, Lcom/android/server/SystemServiceManager;
After this, no more prompt about wipe to use the sim.

2. OMC is a pain when it comes to add features..
I wanted to add csc features but either omc was encrypted (which has a solution now), or either way too many xmls to edit.. Investigated a bit SemCscFeature.smali (framework.jar/smali_classes3/samsung/android/feature) and gave me an idea that actually worked.
The point was to duplicate loadNetworkFeatureFile method, rename it, point it to certain location where we will add a single xml file containing all the features we want and add the invoke right after loadNetworkFeatureFile invoke. By doing this, doesn`t matter what csc is loaded, the system will load our custom xml too. Less time to add features, cleaner way to load, and it doesn`t even need to decrypt omc. And by using a duplicate of loadNetworkFeatureFile we can encrypt our xml too :) .
I`m gonna post my methods too, might be a bit sloppy code, i lost myselff inside of it, but as long as it does what it`s supposed, doesn`t matter anymore :laugh:
Gonna hide the method as it is a long one
Code:
.method private loadHadesFeatureFile(ZLjava/lang/String;)V
    .locals 24

    const/16 v16, 0x0

    const/4 v12, 0x0

    const/4 v14, 0x0

    const/4 v7, -0x1

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v10, 0x0

    [COLOR="Blue"]const-string/jumbo v10, "/system/etc" # custom xml path here[/COLOR]

    :try_start_0
    new-instance v11, Ljava/io/File;

    new-instance v20, Ljava/lang/StringBuilder;

    invoke-direct/range {v20 .. v20}, Ljava/lang/StringBuilder;-><init>()V

    move-object/from16 v0, v20

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v20

    [COLOR="Blue"]const-string/jumbo v21, "/hades.xml" # custom xml name here[/COLOR]

    invoke-virtual/range {v20 .. v21}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v20

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    move-object/from16 v0, v20

    invoke-direct {v11, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v11}, Ljava/io/File;->exists()Z

    move-result v20

    if-eqz v20, :cond_0

    invoke-virtual {v11}, Ljava/io/File;->length()J

    move-result-wide v20

    const-wide/16 v22, 0x0

    cmp-long v20, v20, v22

    if-gtz v20, :cond_1

    :cond_0
    return-void

    :cond_1
    invoke-static {}, Lorg/xmlpull/v1/XmlPullParserFactory;->newInstance()Lorg/xmlpull/v1/XmlPullParserFactory;

    move-result-object v9

    const/16 v20, 0x1

    move/from16 v0, v20

    invoke-virtual {v9, v0}, Lorg/xmlpull/v1/XmlPullParserFactory;->setNamespaceAware(Z)V

    invoke-virtual {v9}, Lorg/xmlpull/v1/XmlPullParserFactory;->newPullParser()Lorg/xmlpull/v1/XmlPullParser;

    move-result-object v16

    new-instance v13, Ljava/io/FileInputStream;

    invoke-direct {v13, v11}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
    :try_end_0
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_0 .. :try_end_0} :catch_b
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_d
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_f
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    :try_start_1
    move-object/from16 v0, p0

    invoke-direct {v0, v11}, Lcom/samsung/android/feature/SemCscFeature;->isXmlEncoded(Ljava/io/File;)Z

    move-result v20

    if-eqz v20, :cond_3

    invoke-virtual {v13}, Ljava/io/FileInputStream;->available()I

    move-result v18

    move/from16 v0, v18

    new-array v0, v0, [B

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v13, v0}, Ljava/io/FileInputStream;->read([B)I

    invoke-virtual {v13}, Ljava/io/FileInputStream;->close()V

    move-object/from16 v0, p0

    move-object/from16 v1, v19

    invoke-direct {v0, v1}, Lcom/samsung/android/feature/SemCscFeature;->decode([B)[B

    move-result-object v17

    new-instance v15, Ljava/io/ByteArrayInputStream;

    move-object/from16 v0, v17

    invoke-direct {v15, v0}, Ljava/io/ByteArrayInputStream;-><init>([B)V
    :try_end_1
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_2
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_5
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    const/16 v20, 0x0

    :try_start_2
    move-object/from16 v0, v16

    move-object/from16 v1, v20

    invoke-interface {v0, v15, v1}, Lorg/xmlpull/v1/XmlPullParser;->setInput(Ljava/io/InputStream;Ljava/lang/String;)V
    :try_end_2
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_2 .. :try_end_2} :catch_c
    .catch Ljava/io/FileNotFoundException; {:try_start_2 .. :try_end_2} :catch_e
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_10
    .catchall {:try_start_2 .. :try_end_2} :catchall_2

    move-object v14, v15

    :goto_0
    :try_start_3
    invoke-interface/range {v16 .. v16}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I

    move-result v7

    :goto_1
    const/16 v20, 0x1

    move/from16 v0, v20

    if-eq v7, v0, :cond_c

    const/16 v20, 0x2

    move/from16 v0, v20

    if-ne v7, v0, :cond_6

    invoke-interface/range {v16 .. v16}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
    :try_end_3
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_3 .. :try_end_3} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_3 .. :try_end_3} :catch_2
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_5
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    move-result-object v2

    :cond_2
    :goto_2
    :try_start_4
    invoke-interface/range {v16 .. v16}, Lorg/xmlpull/v1/XmlPullParser;->next()I
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_7
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_4 .. :try_end_4} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_4 .. :try_end_4} :catch_2
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    move-result v7

    goto :goto_1

    :cond_3
    const/16 v20, 0x0

    :try_start_5
    move-object/from16 v0, v16

    move-object/from16 v1, v20

    invoke-interface {v0, v13, v1}, Lorg/xmlpull/v1/XmlPullParser;->setInput(Ljava/io/InputStream;Ljava/lang/String;)V
    :try_end_5
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_5 .. :try_end_5} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_5 .. :try_end_5} :catch_2
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    goto :goto_0

    :catch_0
    move-exception v6

    move-object v12, v13

    :goto_3
    :try_start_6
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v6}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    if-eqz v12, :cond_4

    :try_start_7
    invoke-virtual {v12}, Ljava/io/FileInputStream;->close()V

    const/4 v12, 0x0

    :cond_4
    if-eqz v14, :cond_5

    invoke-virtual {v14}, Ljava/io/ByteArrayInputStream;->close()V
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_7 .. :try_end_7} :catch_9

    :goto_4
    const/4 v14, 0x0

    :cond_5
    :goto_5
    return-void

    :cond_6
    const/16 v20, 0x4

    move/from16 v0, v20

    if-ne v7, v0, :cond_2

    :try_start_8
    invoke-interface/range {v16 .. v16}, Lorg/xmlpull/v1/XmlPullParser;->getText()Ljava/lang/String;

    move-result-object v3

    if-eqz v2, :cond_2

    if-eqz v3, :cond_2

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/samsung/android/feature/SemCscFeature;->mFeatureList:Ljava/util/Hashtable;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    invoke-virtual {v0, v2}, Ljava/util/Hashtable;->containsKey(Ljava/lang/Object;)Z
    :try_end_8
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_8 .. :try_end_8} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_8 .. :try_end_8} :catch_2
    .catch Ljava/io/IOException; {:try_start_8 .. :try_end_8} :catch_5
    .catchall {:try_start_8 .. :try_end_8} :catchall_0

    move-result v20

    if-eqz v20, :cond_8

    :try_start_9
    invoke-interface/range {v16 .. v16}, Lorg/xmlpull/v1/XmlPullParser;->next()I
    :try_end_9
    .catch Ljava/io/IOException; {:try_start_9 .. :try_end_9} :catch_1
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_9 .. :try_end_9} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_9 .. :try_end_9} :catch_2
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    move-result v7

    goto :goto_1

    :catch_1
    move-exception v5

    :try_start_a
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_a
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_a .. :try_end_a} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_a .. :try_end_a} :catch_2
    .catch Ljava/io/IOException; {:try_start_a .. :try_end_a} :catch_5
    .catchall {:try_start_a .. :try_end_a} :catchall_0

    goto :goto_1

    :catch_2
    move-exception v4

    move-object v12, v13

    :goto_6
    :try_start_b
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v4}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_b
    .catchall {:try_start_b .. :try_end_b} :catchall_1

    if-eqz v12, :cond_7

    :try_start_c
    invoke-virtual {v12}, Ljava/io/FileInputStream;->close()V

    const/4 v12, 0x0

    :cond_7
    if-eqz v14, :cond_5

    invoke-virtual {v14}, Ljava/io/ByteArrayInputStream;->close()V
    :try_end_c
    .catch Ljava/io/IOException; {:try_start_c .. :try_end_c} :catch_3

    goto :goto_4

    :catch_3
    move-exception v5

    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_5

    :cond_8
    :try_start_d
    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/samsung/android/feature/SemCscFeature;->mFeatureList:Ljava/util/Hashtable;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    invoke-virtual {v0, v2, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_d
    .catch Ljava/lang/Exception; {:try_start_d .. :try_end_d} :catch_4
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_d .. :try_end_d} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_d .. :try_end_d} :catch_2
    .catch Ljava/io/IOException; {:try_start_d .. :try_end_d} :catch_5
    .catchall {:try_start_d .. :try_end_d} :catchall_0

    goto/16 :goto_2

    :catch_4
    move-exception v8

    :try_start_e
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v8}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_e
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_e .. :try_end_e} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_e .. :try_end_e} :catch_2
    .catch Ljava/io/IOException; {:try_start_e .. :try_end_e} :catch_5
    .catchall {:try_start_e .. :try_end_e} :catchall_0

    goto/16 :goto_2

    :catch_5
    move-exception v5

    move-object v12, v13

    :goto_7
    :try_start_f
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_f
    .catchall {:try_start_f .. :try_end_f} :catchall_1

    if-eqz v12, :cond_9

    :try_start_10
    invoke-virtual {v12}, Ljava/io/FileInputStream;->close()V

    const/4 v12, 0x0

    :cond_9
    if-eqz v14, :cond_5

    invoke-virtual {v14}, Ljava/io/ByteArrayInputStream;->close()V
    :try_end_10
    .catch Ljava/io/IOException; {:try_start_10 .. :try_end_10} :catch_6

    goto/16 :goto_4

    :catch_6
    move-exception v5

    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_5

    :catch_7
    move-exception v5

    :try_start_11
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_11
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_11 .. :try_end_11} :catch_0
    .catch Ljava/io/FileNotFoundException; {:try_start_11 .. :try_end_11} :catch_2
    .catch Ljava/io/IOException; {:try_start_11 .. :try_end_11} :catch_5
    .catchall {:try_start_11 .. :try_end_11} :catchall_0

    goto/16 :goto_1

    :catchall_0
    move-exception v20

    move-object v12, v13

    :goto_8
    if-eqz v12, :cond_a

    :try_start_12
    invoke-virtual {v12}, Ljava/io/FileInputStream;->close()V

    const/4 v12, 0x0

    :cond_a
    if-eqz v14, :cond_b

    invoke-virtual {v14}, Ljava/io/ByteArrayInputStream;->close()V
    :try_end_12
    .catch Ljava/io/IOException; {:try_start_12 .. :try_end_12} :catch_a

    const/4 v14, 0x0

    :cond_b
    :goto_9
    throw v20

    :cond_c
    if-eqz v13, :cond_d

    :try_start_13
    invoke-virtual {v13}, Ljava/io/FileInputStream;->close()V
    :try_end_13
    .catch Ljava/io/IOException; {:try_start_13 .. :try_end_13} :catch_11

    const/4 v12, 0x0

    :goto_a
    if-eqz v14, :cond_5

    :try_start_14
    invoke-virtual {v14}, Ljava/io/ByteArrayInputStream;->close()V
    :try_end_14
    .catch Ljava/io/IOException; {:try_start_14 .. :try_end_14} :catch_8

    goto/16 :goto_4

    :catch_8
    move-exception v5

    :goto_b
    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_5

    :catch_9
    move-exception v5

    const-string/jumbo v20, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-static/range {v20 .. v21}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_5

    :catch_a
    move-exception v5

    const-string/jumbo v21, "SemCscFeature"

    invoke-virtual {v5}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object v22

    invoke-static/range {v21 .. v22}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_9

    :catchall_1
    move-exception v20

    goto :goto_8

    :catchall_2
    move-exception v20

    move-object v14, v15

    move-object v12, v13

    goto :goto_8

    :catch_b
    move-exception v6

    goto/16 :goto_3

    :catch_c
    move-exception v6

    move-object v14, v15

    move-object v12, v13

    goto/16 :goto_3

    :catch_d
    move-exception v4

    goto/16 :goto_6

    :catch_e
    move-exception v4

    move-object v14, v15

    move-object v12, v13

    goto/16 :goto_6

    :catch_f
    move-exception v5

    goto/16 :goto_7

    :catch_10
    move-exception v5

    move-object v14, v15

    move-object v12, v13

    goto/16 :goto_7

    :catch_11
    move-exception v5

    move-object v12, v13

    goto :goto_b

    :cond_d
    move-object v12, v13

    goto :goto_a
.end method
And the invoke:
Code:
...

    invoke-direct {p0, v2, v4}, Lcom/samsung/android/feature/SemCscFeature;->loadFeatureFile(ZLjava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_1

    invoke-direct {p0, v2, v3}, Lcom/samsung/android/feature/SemCscFeature;->loadNetworkFeatureFile(ZLjava/lang/String;)V

    [COLOR="Blue"]invoke-direct {p0, v2, v3}, Lcom/samsung/android/feature/SemCscFeature;->loadHadesFeatureFile(ZLjava/lang/String;)V[/COLOR]
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

...
The code can be simplified, i didn`t bothered to do that, feel free to manipulate it in which way you want.
Hope these tips will help someone in the future of custom roms with more features.
I will attach to this thread my modified smalis from one of my roms, i tried these methods on 7.1.1, but the idea is the same for oreo too, code might be slighlty different.
All the best :fingers-crossed:
 

Attachments

  • smalis.zip
    36.8 KB · Views: 795

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
CSC Tweaks:

Code:
<?xml  version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeature>
  <Version>ED00001</Version>
  <Country>INDIA</Country>
  <CountryISO>IN</CountryISO>
  <SalesCode>INS</SalesCode>
  <FeatureSet>

	<!-- TeamExyKings & Refined CSC Tweaks -->

	<!-- Common -->
	<CscFeature_Common_AllowExternalApkUsage>TRUE</CscFeature_Common_AllowExternalApkUsage>	
	<CscFeature_Knox_SupportKnoxGuard>FALSE</CscFeature_Knox_SupportKnoxGuard>

	<!-- AOD -->
	<CscFeature_AOD_ConfigAdditionalHomeDoubleKeyAction>;QuickCamera</CscFeature_AOD_ConfigAdditionalHomeDoubleKeyAction>

	<!-- Camera -->
	<CscFeature_Camera_EnableCameraDuringCall>TRUE</CscFeature_Camera_EnableCameraDuringCall>
	<CscFeature_Camera_DefaultQuality>superfine</CscFeature_Camera_DefaultQuality>
    <CscFeature_Camera_CameraFlicker>60hz</CscFeature_Camera_CameraFlicker>
	<CscFeature_Camera_EnableSmsNotiPopup>TRUE</CscFeature_Camera_EnableSmsNotiPopup>
	<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
	<CscFeature_Camera_CamcorderDoNotPauseMusic>TRUE</CscFeature_Camera_CamcorderDoNotPauseMusic>
	<CscFeature_Camcorder_DoNotPauseMusic>TRUE</CscFeature_Camcorder_DoNotPauseMusic>
	<CscFeature_Camcorder_DefaultQuality>superfine</CscFeature_Camcorder_DefaultQuality>

	<!-- Dialer -->
	<CscFeature_Contact_ExtendSpeedDialTo100>TRUE</CscFeature_Contact_ExtendSpeedDialTo100>
	<CscFeature_Contact_EnableCallButtonInList>TRUE</CscFeature_Contact_EnableCallButtonInList>
	<CscFeature_Contact_SupportSIMContacts>TRUE</CscFeature_Contact_SupportSIMContacts>
    <CscFeature_Contact_EnableSelectableListToExportSdCard>TRUE</CscFeature_Contact_EnableSelectableListToExportSdCard>
    <CscFeature_Contact_ExportAllNumberToSIM>TRUE</CscFeature_Contact_ExportAllNumberToSIM>	
    <CscFeature_Contact_LimitNameLength>1280</CscFeature_Contact_LimitNameLength>
	<CscFeature_Contact_EnableDynCallerIdMatchingDigitWithAutoSim>TRUE</CscFeature_Contact_EnableDynCallerIdMatchingDigitWithAutoSim>
    <CscFeature_VoiceCall_ConfigRecording>RecordingAllowedByMenu</CscFeature_VoiceCall_ConfigRecording>
    <CscFeature_Common_SupportDualIMS>TRUE</CscFeature_Common_SupportDualIMS>
    <CscFeature_Common_ConfigSvcProviderForUnknownNumber>off,whitepages,off</CscFeature_Common_ConfigSvcProviderForUnknownNumber>

	<!-- Email -->
    <CscFeature_Email_EnableSaveAsAttachment>TRUE</CscFeature_Email_EnableSaveAsAttachment>
    <CscFeature_Email_EnableSyncAndConnect>TRUE</CscFeature_Email_EnableSyncAndConnect>

	<!-- Message -->
	<CscFeature_Message_SmsInputMode>automatic</CscFeature_Message_SmsInputMode>
	<CscFeature_Message_DisableSmsToMmsConversionByTextInput>TRUE</CscFeature_Message_DisableSmsToMmsConversionByTextInput>
	<CscFeature_Message_SmsMaxByte>9999</CscFeature_Message_SmsMaxByte>
	<CscFeature_Message_RecipientLimit>9999</CscFeature_Message_RecipientLimit>
	<CscFeature_Message_SmsToMmsTextThreshold>9999</CscFeature_Message_SmsToMmsTextThreshold>
	<CscFeature_Message_MaxSlideCount>999</CscFeature_Message_MaxSlideCount>
	<CscFeature_Message_EnableVCard>TRUE</CscFeature_Message_EnableVCard>
	<CscFeature_Message_EnableSaveRestoreSDCard>TRUE</CscFeature_Message_EnableSaveRestoreSDCard>
	<CscFeature_Message_EnableFontSize>TRUE</CscFeature_Message_EnableFontSize>
	<CscFeature_Message_EnableBlackList>TRUE</CscFeature_Message_EnableBlackList>
	<CscFeature_Message_EnableSaveVMessage>TRUE</CscFeature_Message_EnableSaveVMessage>
	<CscFeature_Message_BlockSendMmsWithOnlySubject>TRUE</CscFeature_Message_BlockSendMmsWithOnlySubject>
	<CscFeature_Message_SupportAutoDeleteSpam>TRUE</CscFeature_Message_SupportAutoDeleteSpam>

	<!-- Settings -->
	<CscFeature_Settings_FOTA>FALSE</CscFeature_Settings_FOTA>
	<CscFeature_Settings_GOTA>TRUE</CscFeature_Settings_GOTA>
    <CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>FALSE</CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>
    <CscFeature_Setting_SkipWifiActvDuringSetupWizard>FALSE</CscFeature_Setting_SkipWifiActvDuringSetupWizard>
	<CscFeature_Setting_EnableDataRoamingButtonInQuickPanel>TRUE</CscFeature_Setting_EnableDataRoamingButtonInQuickPanel>
	<CscFeature_Setting_EnableMenuNetworkMode>TRUE</CscFeature_Setting_EnableMenuNetworkMode>
	<CscFeature_Setting_SkipStepsDuringSamsungSetupWizard>TRUE</CscFeature_Setting_SkipStepsDuringSamsungSetupWizard>
	<CscFeature_Setting_SupportWiFiCallingMenu>TRUE</CscFeature_Setting_SupportWiFiCallingMenu>
	<CscFeature_Setting_SupportWifiCall>TRUE</CscFeature_Setting_SupportWifiCall>
	<CscFeature_Settings_Reset_Password>TRUE</CscFeature_Settings_Reset_Password>
	<CscFeature_Setting_SupportRealTimeNetworkSpeed>TRUE</CscFeature_Setting_SupportRealTimeNetworkSpeed>
	<CscFeature_Setting_DisableMenuSoftwareUpdate>TRUE</CscFeature_Setting_DisableMenuSoftwareUpdate>
	<CscFeature_Setting_TeamExyKingsSoftwareUpdate>TRUE</CscFeature_Setting_TeamExyKingsSoftwareUpdate>
	<CscFeature_Setting_CustNetworkSelMenu4>LTEONLY</CscFeature_Setting_CustNetworkSelMenu4>
	<CscFeature_Setting_EnableMenuBlockCallMsg>TRUE</CscFeature_Setting_EnableMenuBlockCallMsg>
	<CscFeature_Setting_SupportRegulatoryInfo>FALSE</CscFeature_Setting_SupportRegulatoryInfo>
	<CscFeature_Common_ConfigYuva>powerplanning|MemorySaver</CscFeature_Common_ConfigYuva>

	<!-- SMusic -->
	<CscFeature_MediaProvider_HideVoiceFilesInMusic>TRUE</CscFeature_MediaProvider_HideVoiceFilesInMusic>
    <CscFeature_Music_TranslateUnknownTitle>TRUE</CscFeature_Music_TranslateUnknownTitle>

	<!-- SmartManager -->
	<CscFeature_SmartManager_DisableAntiMalware>TRUE</CscFeature_SmartManager_DisableAntiMalware>
	<CscFeature_SmartManager_ConfigDashboard>dual_dashboard</CscFeature_SmartManager_ConfigDashboard>
	<CscFeature_SmartManager_ConfigSubFeatures>applock|autorestart|devicesecurity|storageclean|backgroundapp|applicationpermission|autolaunch|networkpowersaving|notificationmanager|trafficmanager|roguepopup</CscFeature_SmartManager_ConfigSubFeatures>

	<!-- SystemUI -->
    <CscFeature_SystemUI_ConfigDefQuickSettingItem>Wifi,SilentMode,Bluetooth,RotationLock,Flashlight,AirplaneMode,PowerSaving,MobileData,WifiCalling,Performance,BlueLightFilter,WifiHotspot,PersonalMode,SecureFolder,Location,Nfc,Aod,AllShareCast,DeviceVisibility,Dnd,Sync,UDS,BikeMode,PowerPlanning,EdgeLighting,FloatingMessage,DormantMode,NetworkBooster,QuickConnect,SmartStay,SmartPause,AirView,AirBrowse,Toolbox,CarMode,UltraPowerSaving,SFinder,ScreenCapture,VoLte,Dolby,BatteryMode,DailyBoard,DesktopMode,SpenRemote,KidsHome,GrxScreenOnTime,GrxScreenRecord</CscFeature_SystemUI_ConfigDefQuickSettingItem>
    <CscFeature_SystemUI_SupportRecentAppProtection>TRUE</CscFeature_SystemUI_SupportRecentAppProtection>
	<CscFeature_SystemUI_SupportAssistanceAppChooser>TRUE</CscFeature_SystemUI_SupportAssistanceAppChooser>

	<!-- SIP -->
	<CscFeature_Sip_EnableSymbolInSecondary>en_GB;en_US;af;af_NA;af_ZA;agq;agq_CM;ak;ak_GH;am;am_ET;ar;ar_001;ar_AE;ar_BH;ar_DJ;ar_DZ;ar_EG;ar_ER;ar_IL;ar_IQ;ar_JO;ar_KM;ar_KW;ar_LB;ar_LY;ar_MA;ar_MR;ar_OM;ar_PS;ar_QA;ar_SA;ar_SD;ar_SO;ar_SY;ar_TD;ar_TN;ar_YE;as;as_IN;asa;asa_TZ;az;az_AZ;az_CYRL;az_CYRL_AZ;az_LATN;az_LATN_AZ;bas;bas_CM;be;be_BY;bem;bem_ZM;bez;bez_TZ;bg;bg_BG;bm;bm_ML;bn;bn_BD;bn_IN;bo;bo_CN;bo_IN;br;br_FR;brx;brx_IN;bs;bs_CYRL;bs_CYRL_BA;bs_LATN;bs_LATN_BA;ca;ca_AD;ca_ES;cgg;cgg_UG;chr;chr_US;cs;cs_CZ;cy;cy_GB;da;da_DK;dav;dav_KE;de;de_AT;de_BE;de_CH;de_DE;de_LI;de_LU;dje;dje_NE;dua;dua_CM;dyo;dyo_SN;dz;dz_BT;ebu;ebu_KE;ee;ee_GH;ee_TG;el;el_CY;el_GR;en;en_150;en_AG;en_AS;en_AU;en_BB;en_BE;en_BM;en_BS;en_BW;en_BZ;en_CA;en_CM;en_DM;en_FJ;en_FM;en_GB;en_GD;en_GG;en_GH;en_GI;en_GM;en_GU;en_GY;en_HK;en_IE;en_IM;en_IN;en_JE;en_JM;en_KE;en_KI;en_KN;en_KY;en_LC;en_LR;en_LS;en_MG;en_MH;en_MP;en_MT;en_MU;en_MW;en_NA;en_NG;en_NZ;en_PG;en_PH;en_PK;en_PR;en_PW;en_SB;en_SC;en_SG;en_SL;en_SS;en_SZ;en_TC;en_TO;en_TT;en_TZ;en_UG;en_UM;en_US;en_US_POSIX;en_VC;en_VG;en_VI;en_VU;en_WS;en_ZA;en_ZM;en_ZW;eo;es;es_419;es_AR;es_BO;es_CL;es_CO;es_CR;es_CU;es_DO;es_EA;es_EC;es_ES;es_GQ;es_GT;es_HN;es_IC;es_MX;es_NI;es_PA;es_PE;es_PH;es_PR;es_PY;es_SV;es_US;es_UY;es_VE;et;et_EE;eu;eu_ES;ewo;ewo_CM;fa;fa_AF;fa_FA;fa_IR;ff;ff_SN;fi;fi_FI;fil;fil_PH;fo;fo_FO;fr;fr_BE;fr_BF;fr_BI;fr_BJ;fr_BL;fr_CA;fr_CD;fr_CF;fr_CG;fr_CH;fr_CI;fr_CM;fr_DJ;fr_DZ;fr_FR;fr_GA;fr_GF;fr_GN;fr_GP;fr_GQ;fr_HT;fr_KM;fr_LU;fr_MA;fr_MC;fr_MF;fr_MG;fr_ML;fr_MQ;fr_MR;fr_MU;fr_NC;fr_NE;fr_PF;fr_RE;fr_RW;fr_SC;fr_SN;fr_SY;fr_TD;fr_TG;fr_TN;fr_VU;fr_YT;ga;ga_IE;gl;gl_ES;gsw;gsw_CH;gu;gu_IN;guz;guz_KE;gv;gv_GB;ha;ha_LATN;ha_LATN_GH;ha_LATN_NE;ha_LATN_NG;haw;haw_US;iw;iw_IL;hi;hi_IN;hr;hr_BA;hr_HR;hu;hu_HU;hy;hy_AM;in;in_ID;in;in_ID;ig;ig_NG;ii;ii_CN;is;is_IS;it;it_CH;it_IT;it_SM;iw_IL;ja;ja_JP;jgo;jgo_CM;jmc;jmc_TZ;ka;ka_GE;kab;kab_DZ;kam;kam_KE;kde;kde_TZ;kea;kea_CV;khq;khq_ML;ki;ki_KE;kk;kk_CYRL;kk_CYRL_KZ;kk_KZ;kl;kl_GL;kln;kln_KE;km;km_KH;kn;kn_IN;ko;ko_KP;ko_KR;kok;kok_IN;ks;ks_ARAB;ks_ARAB_IN;ksb;ksb_TZ;ksf;ksf_CM;kw;kw_GB;lag;lag_TZ;lg;lg_UG;ln;ln_AO;ln_CD;ln_CF;ln_CG;lo;lo_LA;lt;lt_LT;lu;lu_CD;luo;luo_KE;luy;luy_KE;lv;lv_LV;mas;mas_KE;mas_TZ;mer;mer_KE;mfe;mfe_MU;mg;mg_MG;mgh;mgh_MZ;mgo;mgo_CM;mk;mk_MK;ml;ml_IN;mn;mn_CYRL;mn_CYRL_MN;mr;mr_IN;ms;ms_LATN;ms_LATN_BN;ms_LATN_MY;ms_LATN_SG;ms_MY;mt;mt_MT;mua;mua_CM;my;my_MM;naq;naq_NA;nb;nb_NO;nd;nd_ZW;ne;ne_IN;ne_NP;nl;nl_AW;nl_BE;nl_CW;nl_NL;nl_SR;nl_SX;nmg;nmg_CM;nn;nn_NO;nus;nus_SD;nyn;nyn_UG;om;om_ET;om_KE;or;or_IN;pa;pa_ARAB;pa_ARAB_PK;pa_GURU;pa_GURU_IN;pa_IN;pl;pl_PL;ps;ps_AF;pt;pt_AO;pt_BR;pt_CV;pt_GW;pt_MO;pt_MZ;pt_PT;pt_ST;pt_TL;rm;rm_CH;rn;rn_BI;ro;ro_MD;ro_RO;rof;rof_TZ;ru;ru_BY;ru_KG;ru_KZ;ru_MD;ru_RU;ru_UA;rw;rw_RW;rwk;rwk_TZ;saq;saq_KE;sbp;sbp_TZ;seh;seh_MZ;ses;ses_ML;sg;sg_CF;shi;shi_LATN;shi_LATN_MA;shi_TFNG;shi_TFNG_MA;si;si_IN;si_LK;sk;sk_SK;sl;sl_SI;sn;sn_ZW;so;so_DJ;so_ET;so_KE;so_SO;sq;sq_AL;sq_MK;sr;sr_CYRL;sr_CYRL_BA;sr_CYRL_ME;sr_CYRL_RS;sr_LATN;sr_LATN_BA;sr_LATN_ME;sr_LATN_RS;sr_RS;sv;sv_AX;sv_FI;sv_SE;sw;sw_KE;sw_TZ;sw_UG;swc;swc_CD;ta;ta_IN;ta_LK;ta_MY;ta_SG;te;te_IN;teo;teo_KE;teo_UG;th;th_TH;ti;ti_ER;ti_ET;tl;tl_PH;to;to_TO;tr;tr_CY;tr_TR;twq;twq_NE;tzm;tzm_LATN;tzm_LATN_MA;uk;uk_UA;ur;ur_IN;ur_PK;uz;uz_ARAB;uz_ARAB_AF;uz_CYRL;uz_CYRL_UZ;uz_LATN;uz_LATN_UZ;uz_UZ;vai;vai_LATN;vai_LATN_LR;vai_VAII;vai_VAII_LR;vi;vi_VN;vun;vun_TZ;xog;xog_UG;yav;yav_CM;yo;yo_NG;zh;zh_CN;zh_HANS;zh_HANS_CN;zh_HANS_HK;zh_HANS_MO;zh_HANS_SG;zh_HANT;zh_HANT_HK;zh_HANT_MO;zh_HANT_TW;zh_HK;zh_SG;zh_TW;zu;zu_ZA;</CscFeature_Sip_EnableSymbolInSecondary>

	<!-- Video -->
    <CscFeature_Video_BlockNotiSoundDuringStreaming>TRUE</CscFeature_Video_BlockNotiSoundDuringStreaming>
    <CscFeature_Video_SupportPlayDuringCall>TRUE</CscFeature_Video_SupportPlayDuringCall>
    <CscFeature_Video_SupportSpeedControl>TRUE</CscFeature_Video_SupportSpeedControl>
    <CscFeature_Video_AddWidgetLayout>TRUE</CscFeature_Video_AddWidgetLayout>
	<CscFeature_Video_EnablePopupPlayer>TRUE</CscFeature_Video_EnablePopupPlayer>

	<!-- VoLTE -->
    <CscFeature_VoiceCall_ConfigOpStyleForMobileNetSetting>voltesettingscommon,checknonvoltesim,voltesettingOPS</CscFeature_VoiceCall_ConfigOpStyleForMobileNetSetting>

	<!-- WEB -->
	<CscFeature_Web_AddOptionToTerminate>TRUE</CscFeature_Web_AddOptionToTerminate>
    <CscFeature_Web_EnableMaxTabs>1000</CscFeature_Web_EnableMaxTabs>
	<CscFeature_Web_SetHomepageURL>https://teamexykings.com/</CscFeature_Web_SetHomepageURL>

	<!-- WiFi -->
    <CscFeature_Wifi_SupportAdvancedMenu>TRUE</CscFeature_Wifi_SupportAdvancedMenu>
	<CscFeature_Wifi_SupportMobileApOnTrigger>TRUE</CscFeature_Wifi_SupportMobileApOnTrigger>
    <CscFeature_Wifi_SupportSecureWifi>FALSE</CscFeature_Wifi_SupportSecureWifi>

  </FeatureSet>
</SamsungMobileFeature>


Tweaks Optimized by yash92duster and ananjaser1211

Thanks To @ananjaser1211 For Refined Tweaks
 
Last edited:

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
Build Prop Tweaks:

Code:
#Disables Error Checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0

#Screen Mirroring
wlan.wfd.hdcp=disable

#Signal Performance
ro.telephony.call_ring.delay=0
ring.delay=0						

#Fingerprint On Reboot
fingerprint.unlock=1

#Save Battery Without Performance Drop
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=180

#Launcher Is Kept in Memory
ro.HOME_APP_ADJ=1

#Allow Purge of Assets To Free Ram
persist.sys.purgeable_assets=1

#Smooth Video Stream
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true

#Force GPU Render On 2D Operations
debug.sf.hw=1

#Video Acceleration On
video.accelerate.hw=1

#Increase General Performance
debug.performance.tuning=1

#RMM Fix
ro.security.vaultkeeper.native=0

#Knox
ro.securestorage.knox=false

#Securestorsge
ro.securestorage.support=false

#Disable OEM Unlock Toggle
ro.frp.pst=

#Google Assistant
ro.opa.eligible_device=true

#Sim Slot
ro.multisim.simslotcount=2

#SafetyNet Fix
ro.knox.enhance.zygote.aslr=1

#Enable Faster Boot
ro.config.hw_quickpoweron=true

#Boot & Shutdown Animation FPS Boost
boot.fps=32
shutdown.fps=32

#Hibernate Device
persist.sys.shutdown.mode=hibernate

#Multi User
fw.max_users=30
fw.show_multiuserui=1
fw.show_hidden_users=1
fw.power_user_switcher=1
 
Last edited:

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
AppLock For Oreo 8.0:​


Add the following CSC Code in system/omc/ins/cscfeature.xml

Code:
<CscFeature_SmartManager_ConfigDashboard>dual_dashboard</CscFeature_SmartManager_ConfigDashboard>
<CscFeature_SmartManager_ConfigSubFeatures>roguepopup|autoclean|applock|autorestart|networkpowersaving|storageclean|devicesecurity|applicationpermission|autolaunch|backgroundapp|notificationmanager|fake_base_station|appclean</CscFeature_SmartManager_ConfigSubFeatures>

Then push the Applock.apk to privapp
 

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
Guide for GMS Doze:​

Locate to System/etc/sysconfig/google.xml

Change the Following
From
Code:
    <!-- GmsCore must always have network access for GCM and other things. -->
    <allow-in-power-save package="com.google.android.gms" />
    <allow-in-data-usage-save package="com.google.android.gms" />

    <!-- Play Store likewise must have network access to support other applications. -->
    <allow-in-power-save-except-idle package="com.android.vending" />

To
Code:
    <!-- GmsCore must always have network access for GCM and other things. -->
    <!-- allow-in-power-save package="com.google.android.gms" />
    <!-- allow-in-data-usage-save package="com.google.android.gms" />

    <!-- Play Store likewise must have network access to support other applications. -->
    <!-- allow-in-power-save-except-idle package="com.android.vending" />
 

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
Guide to Remove Dual Sim Bar from Notification Panel:​

When using Two Sims you get a dual Sim Bar, with this mod we can remove it

Decompile SystemUI

Go to res/values/dimens.xml

Search for qs_multisim_preffered_slot_height

Code:
From
<dimen name="qs_multisim_preffered_slot_height">52.0dip</dimen>

To
<dimen name="qs_multisim_preffered_slot_height">0.0dip</dimen>
 

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
Screen Recorder:​

Samsung's Screen Recorder App works on 7.0, 7.1.1, 8.0 Roms

Add the following CSC Code in system/omc/ins/cscfeature.xml

Code:
<CscFeature_SystemUI_ConfigOpBrandingForQuickSettingLabel>CHC</CscFeature_SystemUI_ConfigOpBrandingForQuickSettingLabel>
<CscFeature_SystemUI_ConfigOpBrandingQuickSettingIcon>CHC</CscFeature_SystemUI_ConfigOpBrandingQuickSettingIcon>
<CscFeature_SystemUI_ConfigQuickSettingPopup>CHC</CscFeature_SystemUI_ConfigQuickSettingPopup>

<CscFeature_SystemUI_ConfigDefQuickSettingItem>Wifi,SilentMode,Bluetooth,RotationLock,Flashlight,AirplaneMode,PowerSaving,MobileData,WifiCalling,Performance,BlueLightFilter,WifiHotspot,PersonalMode,SecureFolder,Location,Nfc,Aod,AllShareCast,DeviceVisibility,Dnd,Sync,UDS,BikeMode,PowerPlanning,EdgeLighting,FloatingMessage,DormantMode,NetworkBooster,QuickConnect,SmartStay,SmartPause,AirView,AirBrowse,Toolbox,CarMode,UltraPowerSaving,SFinder,ScreenCapture,UHQ,VoLte,Dolby</CscFeature_SystemUI_ConfigDefQuickSettingItem>

Then push the Screen Recorder.apk to privapp


Original Link:
https://www.apkmirror.com/apk/samsu...-record-screen-3-1-00-8-android-apk-download/
 

yash92duster

Senior Member
Jan 31, 2015
13,138
15,858
Chennai
TouchWizLauncher - Adding 8 Icons to Dock​

Decompile TouchWizLauncher.apk

Locate to
res/values/integer.xml

Code:
From
<integer name="apps_default_cellCountY">5</integer>
To
<integer name="apps_default_cellCountY">8</integer>


Code:
From
<integer name="hotseat_cellCount">5</integer>
To
<integer name="hotseat_cellCount">8</integer>

By yash92duster
 

Top Liked Posts