[Mods]Samsung ¬Android Mods Collection[Exynos]

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


  • Total voters
    299
Search This thread

yash92duster

Senior Member
Jan 31, 2015
13,139
15,855
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://forum.xda-developers.com/showpost.php?p=76226004&postcount=25

* Nav Bar Colors Oreo
https://forum.xda-developers.com/showpost.php?p=76226163&postcount=30

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

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

* Guide To Add Apps To SecSettings
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76672397&postcount=181

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

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




bj67qkxd.png

SystemUI:

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

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

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

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

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

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

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

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

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

* TOGGLE COLOR INVERSION
https://forum.xda-developers.com/showpost.php?p=76302363&postcount=46

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

* Center clock
https://forum.xda-developers.com/showpost.php?p=76372750&postcount=50

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

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

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

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

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

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

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

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

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

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

* SIM Panel Responsive Switch
https://forum.xda-developers.com/showpost.php?p=76918617&postcount=276

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Device Info Pie:
https://forum.xda-developers.com/showpost.php?p=78999495&postcount=1060

* Guide To Change Notifications Background With Or Without Rom Control Pie:
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=79019145&postcount=1085

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

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

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





rp6g6phg.png

Framework-res



r68n2xya.png

Services.jar

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

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

* Guide To Fix SnapChat (Secure Flag) in Pie:
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77001987&postcount=314

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

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

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

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

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

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

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

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

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

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

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

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

* Guide To Patch Secure Folder App in Pie:
https://forum.xda-developers.com/showpost.php?p=79926283&postcount=1357
https://forum.xda-developers.com/ga...rs.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://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=80503277&postcount=1413

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Guide To Mod VoiceRecorder For Jet-Black UI Pie:
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77994504&postcount=743

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

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






hfhemcci.png

SAMSUNG LAUNCHER

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

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

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

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

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



l9ex4ruj.png

Build.prop Tweaks:

* Build Prop Tweaks:
https://forum.xda-developers.com/showpost.php?p=76225678&postcount=12

* Guide To Fix SafetyNet CTS & Basic Integrity Failure in Magisk Root
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76579292&postcount=141



rgepzoxb.png

ROM Control:

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



pkeyogiv.png

Root


b736b5wv.png

Xposed

* [OFFICIAL] Xposed for Lollipop/Marshmallow
http://forum.xda-developers.com/showthread.php?t=3034811

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

* [UNOFFICIAL] Material Design Xposed Installer
https://forum.xda-developers.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://forum.xda-developers.com/android/software/guide-how-to-decompile-apks-odex-files-t3325340

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

* Odin3 Tool For Windows:
https://forum.xda-developers.com/showthread.php?t=2711451

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

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

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

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

* [TOOL] Frija - Samsung Firmware Downloader
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76206008&postcount=10

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

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

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

* Decode/Encode OMC/CSC Files
https://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=2450045

* [Guide][Video Tutorial] How to build Custom ROMs and Kernel Modification![O][N][M][L]
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76987927&postcount=312

* [MOD][TEMPLATE] APK-Patcher Lite
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77108226&postcount=408

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

* RMM prenormal work around
https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77719104&postcount=626

* [GUIDE] Root/Install TWRP on any NON-US Samsung after 2018 updates
https://forum.xda-developers.com/sa...w-to/guide-root-install-twrp-samsung-t3747535

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

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

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

* [Guide][tut] [LP/MM] Hide/Enable Layouts (small apps, Icons, Nav and more) no smali
https://forum.xda-developers.com/cr...guide-hide-enable-layouts-small-apps-t3417499

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

* AppLock For Oreo 8.0
https://forum.xda-developers.com/showpost.php?p=76225695&postcount=13

* Screen Recorder
https://forum.xda-developers.com/showpost.php?p=76225863&postcount=19

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

* Guide for GMS Doze
https://forum.xda-developers.com/showpost.php?p=76225714&postcount=14

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

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

* ADB Prop Tweak
https://forum.xda-developers.com/showpost.php?p=76225725&postcount=15

* Guide to Calibrate Battery
https://forum.xda-developers.com/showpost.php?p=76225734&postcount=16

* [FontPack] -v7.2- 1120 Fonts Compatible with Oreo
https://forum.xda-developers.com/ga...ont-pack-966-fonts-one-apk-s6-s6edge-t3154336

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

* [GUIDE]All-In-One(stock FW/CSC/ROOT/TWRP recovery/FRP unlock/PIT/unbrick/bootloader)
https://forum.xda-developers.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://forum.xda-developers.com/galaxy-s6/themes-apps/bootanimation-android-n-prev-4-audio-t3410272

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

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

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

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

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

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

* [SOURCE CODE][DEV TOOL][SDK 21+]6thGear RomControl v2.+ for Devs
https://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=1723643

* [REF][GUIDE]Most Upto Date Guide on CPU Governors, I/O Schedulers:
https://forum.xda-developers.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://forum.xda-developers.com/s7-edge/how-to/guide-how-to-fix-check-drk-imei-issues-t3379516

* [GUIDE][COMPLETE] All in one Android Development [NOOB FRIENDLY]
https://forum.xda-developers.com/ch...de-one-android-development-t3175121?nocache=1

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

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

* OTA Update Center App (v 2.0.5)
http://forum.xda-developers.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,139
15,855
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://forum.xda-developers.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,121
  • Screenshot_20180409-025442.jpg
    Screenshot_20180409-025442.jpg
    121 KB · Views: 6,082
  • Screenshot_20180409-025956.jpg
    Screenshot_20180409-025956.jpg
    96.5 KB · Views: 6,024
  • menu_extendido_reinicio_Oreo_Samsung.rar
    1.9 MB · Views: 2,452

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: 770

yash92duster

Senior Member
Jan 31, 2015
13,139
15,855
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,139
15,855
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,139
15,855
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,139
15,855
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,139
15,855
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,139
15,855
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,139
15,855
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

  • There are no posts matching your filters.
  • 2
    @ShaDisNX255

    YOU ARE THE MAN!!!!
    Android Work Profile is working with you hack :)
    Big thanks.
    Was my fault. I used old smali tools :)
    Could you share the steps for making "Work Profile" work?
    2
    Just some information for anyone that wants to try this on OneUI 5.1

    It looks like Samsung removed a bit of code in the latest release of OneUI.
    You get this error in logcat:

    Code:
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: FATAL EXCEPTION: main
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: Process: com.android.systemui, PID: 2299
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: java.lang.NoSuchFieldError: No field IS_SIM_LOCK of type Lcom/samsung/android/globalactionsdlx/util/SystemConditions; in class Lcom/samsung/android/globalactionsdlx/util/SystemConditions; or its superclasses (declaration of 'com.samsung.android.globalactionsdlx.util.SystemConditions' appears in /system/system_ext/priv-app/SystemUI/SystemUI.apk!classes4.dex)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.viewmodel.RecoveryActionViewModel.isNeedSecureConfirm(Unknown Source:12)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.viewmodel.RecoveryActionViewModel.onPress(Unknown Source:142)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.view.GlobalActionsContentItemView.lambda$setViewAttrs$3$com-samsung-android-globalactions-presentation-view-GlobalActionsContentItemView(GlobalActionsContentItemView.java:125)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.view.GlobalActionsContentItemView$$ExternalSyntheticLambda0.onClick(Unknown Source:2)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.performClick(View.java:7892)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.performClickInternal(View.java:7869)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View$PerformClick.run(View.java:30880)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:942)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:99)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Looper.loopOnce(Looper.java:226)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:313)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:8757)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

    It looks like method isNeedSecureConfirm is trying to access IS_SIM_LOCK and it's not there anymore. The way I fixed it is by going to

    smali_classes4/com/samsung/android/globalactionsdlx/util/SystemConditions.smali and add the following code:

    Search for:
    Code:
    .field public static final enum blacklist IS_SHOP_DEMO:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

    And add the following below it:
    Code:
    .field public static final enum blacklist IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;


    Then, I don't know if this next part is necessary but I did it anyway
    Replace .method static constructor blacklist <clinit>()V with the following:

    Code:
    .method static constructor blacklist <clinit>()V
        .registers 62
    
        .line 5
        new-instance v0, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v1, "GET_MOBILE_DATA_ENABLED"
    
        const/4 v2, 0x0
    
        invoke-direct {v0, v1, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v0, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->GET_MOBILE_DATA_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 7
        new-instance v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v3, "IS_ENCRYPTION_STATUS_ACTIVE"
    
        const/4 v4, 0x1
    
        invoke-direct {v1, v3, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ENCRYPTION_STATUS_ACTIVE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 8
        new-instance v3, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v5, "IS_LOGOUT_ENABLED"
    
        const/4 v6, 0x2
    
        invoke-direct {v3, v5, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v3, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOGOUT_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 10
        new-instance v5, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v7, "IS_SECURE_KEYGUARD"
    
        const/4 v8, 0x3
    
        invoke-direct {v5, v7, v8}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v5, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SECURE_KEYGUARD:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 11
        new-instance v7, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v9, "IS_CURRENT_USER_SECURE"
    
        const/4 v10, 0x4
    
        invoke-direct {v7, v9, v10}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v7, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CURRENT_USER_SECURE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 13
        new-instance v9, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v11, "IS_FMM_LOCKED"
    
        const/4 v12, 0x5
    
        invoke-direct {v9, v11, v12}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v9, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FMM_LOCKED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 14
        new-instance v11, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v13, "IS_CARRIRER_LOCK_PLUS_ENABLED"
    
        const/4 v14, 0x6
    
        invoke-direct {v11, v13, v14}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v11, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CARRIRER_LOCK_PLUS_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 15
        new-instance v13, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v15, "IS_RMM_LOCKED"
    
        const/4 v14, 0x7
    
        invoke-direct {v13, v15, v14}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v13, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_RMM_LOCKED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 16
        new-instance v15, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v14, "IS_STRONG_AUTH_FOR_LOCK_DOWN"
    
        const/16 v12, 0x8
    
        invoke-direct {v15, v14, v12}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v15, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_STRONG_AUTH_FOR_LOCK_DOWN:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 18
        new-instance v14, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v12, "IS_IN_LOCK_TASK_MODE"
    
        const/16 v10, 0x9
    
        invoke-direct {v14, v12, v10}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v14, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_IN_LOCK_TASK_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 20
        new-instance v12, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v10, "IS_KIDS_HOME_MODE"
    
        const/16 v8, 0xa
    
        invoke-direct {v12, v10, v8}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v12, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_KIDS_HOME_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 22
        new-instance v10, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v8, "CAN_SET_MODE"
    
        const/16 v6, 0xb
    
        invoke-direct {v10, v8, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v10, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->CAN_SET_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 23
        new-instance v8, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_UPSM_ENABLED"
    
        const/16 v4, 0xc
    
        invoke-direct {v8, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v8, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_UPSM_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 24
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_MODIFYING"
    
        const/16 v2, 0xd
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MODIFYING:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 25
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_EMERGENCY_MODE"
    
        move-object/from16 v16, v6
    
        const/16 v6, 0xe
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_EMERGENCY_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 27
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_BUG_REPORT_MODE"
    
        move-object/from16 v17, v4
    
        const/16 v4, 0xf
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_BUG_REPORT_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 28
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_MISSING_PHONE_LOCK"
    
        move-object/from16 v18, v2
    
        const/16 v2, 0x10
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MISSING_PHONE_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 29
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_ULTRA_POWER_SAVING_MODE"
    
        move-object/from16 v19, v6
    
        const/16 v6, 0x11
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ULTRA_POWER_SAVING_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 30
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SHOP_DEMO"
    
        move-object/from16 v20, v4
    
        const/16 v4, 0x12
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SHOP_DEMO:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 31
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_AIRPLANE_MODE"
    
        move-object/from16 v21, v2
    
        const/16 v2, 0x13
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_AIRPLANE_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 32
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_LOCK_NETWORK_AND_SECURITY"
    
        move-object/from16 v22, v6
    
        const/16 v6, 0x14
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOCK_NETWORK_AND_SECURITY:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 33
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_LOCK_DOWN_IN_POWER_MENU"
    
        move-object/from16 v23, v4
    
        const/16 v4, 0x15
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOCK_DOWN_IN_POWER_MENU:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 34
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_EMERGENCY_MODE_USER_AGREEMENT"
    
        move-object/from16 v24, v2
    
        const/16 v2, 0x16
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_EMERGENCY_MODE_USER_AGREEMENT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 35
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_RBM_MODE"
    
        move-object/from16 v25, v6
    
        const/16 v6, 0x17
    
        invoke-direct {v2, v4, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_RBM_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 36
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DEVICE_OWNER"
    
        move-object/from16 v26, v2
    
        const/16 v2, 0x18
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DEVICE_OWNER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 37
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_NOT_REQUIRED"
    
        move-object/from16 v27, v4
    
        const/16 v4, 0x19
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_NOT_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 38
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_ALWAYS_REQUIRED"
    
        move-object/from16 v28, v2
    
        const/16 v2, 0x1a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_ALWAYS_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 39
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_ONLY_LOCKSCREEN_REQUIRED"
    
        move-object/from16 v29, v4
    
        const/16 v4, 0x1b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_ONLY_LOCKSCREEN_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 41
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_TSAFE_LOCK"
    
        move-object/from16 v30, v2
    
        const/16 v2, 0x1c
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_TSAFE_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 43
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "HAS_ANY_SIM"
    
        move-object/from16 v31, v4
    
        const/16 v4, 0x1d
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->HAS_ANY_SIM:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 44
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SIM_LOCK"
    
        move-object/from16 v32, v2
    
        const/16 v2, 0x1e
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 45
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_ATT_FOTA_CLIENT_PACKAGE_ENABLED"
    
        move-object/from16 v33, v4
    
        const/16 v4, 0x1f
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ATT_FOTA_CLIENT_PACKAGE_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 46
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_FOTA_AVAILABLE_FOR_GLOBALACTIONS"
    
        move-object/from16 v34, v2
    
        const/16 v2, 0x20
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FOTA_AVAILABLE_FOR_GLOBALACTIONS:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 48
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DOMESTIC_OTA_MODE"
    
        move-object/from16 v35, v4
    
        const/16 v4, 0x21
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DOMESTIC_OTA_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 49
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_TABLET_DEVICE"
    
        move-object/from16 v36, v2
    
        const/16 v2, 0x22
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_TABLET_DEVICE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 51
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_ALLOWED_SAFE_BOOT"
    
        move-object/from16 v37, v4
    
        const/16 v4, 0x23
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ALLOWED_SAFE_BOOT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 53
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_VOICE_ASSISTANT_MODE"
    
        move-object/from16 v38, v2
    
        const/16 v2, 0x24
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_VOICE_ASSISTANT_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 55
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_WHITE_THEME"
    
        move-object/from16 v39, v4
    
        const/16 v4, 0x25
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_WHITE_THEME:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 57
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_EMERGENCY_MODE"
    
        move-object/from16 v40, v2
    
        const/16 v2, 0x26
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_EMERGENCY_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 58
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_EMERGENCY_CALL"
    
        move-object/from16 v41, v4
    
        const/16 v4, 0x27
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_EMERGENCY_CALL:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 60
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "PWD_CHANGE_ENFORCED"
    
        move-object/from16 v42, v2
    
        const/16 v2, 0x28
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->PWD_CHANGE_ENFORCED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 62
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_CLEAR_COVER_CLOSED"
    
        move-object/from16 v43, v4
    
        const/16 v4, 0x29
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CLEAR_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 63
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_CLEAR_SIDE_VIEW_COVER_CLOSED"
    
        move-object/from16 v44, v2
    
        const/16 v2, 0x2a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CLEAR_SIDE_VIEW_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 64
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_MINI_SVIEW_COVER_CLOSED"
    
        move-object/from16 v45, v4
    
        const/16 v4, 0x2b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MINI_SVIEW_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 65
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_PEBBLE_STRIPE_COVER"
    
        move-object/from16 v46, v2
    
        const/16 v2, 0x2c
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_PEBBLE_STRIPE_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 66
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_STRIPE_CANVAS_COVER"
    
        move-object/from16 v47, v4
    
        const/16 v4, 0x2d
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_STRIPE_CANVAS_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 67
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_PEBBLE_STRIPE_PALETTE_COVER"
    
        move-object/from16 v48, v2
    
        const/16 v2, 0x2e
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_PEBBLE_STRIPE_PALETTE_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 68
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_MINI_OPEN_COVER"
    
        move-object/from16 v49, v4
    
        const/16 v4, 0x2f
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MINI_OPEN_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 70
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "SUPPORT_SECONDARY_DISPLAY_AS_COVER"
    
        move-object/from16 v50, v2
    
        const/16 v2, 0x30
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->SUPPORT_SECONDARY_DISPLAY_AS_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 72
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_VALID_VERSION"
    
        move-object/from16 v51, v4
    
        const/16 v4, 0x31
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_VALID_VERSION:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 73
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_COM_CONTAINER_MODE"
    
        move-object/from16 v52, v2
    
        const/16 v2, 0x32
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_COM_CONTAINER_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 74
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DO_PROVISIONING_MODE"
    
        move-object/from16 v53, v4
    
        const/16 v4, 0x33
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DO_PROVISIONING_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 75
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "GET_KEYGUARD_SHOW_STATE"
    
        move-object/from16 v54, v2
    
        const/16 v2, 0x34
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->GET_KEYGUARD_SHOW_STATE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 77
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DESKTOP_MODE_STANDALONE"
    
        move-object/from16 v55, v4
    
        const/16 v4, 0x35
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DESKTOP_MODE_STANDALONE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 78
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DESKTOP_MODE_DUAL_VIEW"
    
        move-object/from16 v56, v2
    
        const/16 v2, 0x36
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DESKTOP_MODE_DUAL_VIEW:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 80
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_SF_EFFECT"
    
        move-object/from16 v57, v4
    
        const/16 v4, 0x37
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_SF_EFFECT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 81
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_CAPTURED_BLUR"
    
        move-object/from16 v58, v2
    
        const/16 v2, 0x38
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_CAPTURED_BLUR:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 83
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_FOLDED"
    
        move-object/from16 v59, v4
    
        const/16 v4, 0x39
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FOLDED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 85
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_BIKE_MODE"
    
        move-object/from16 v60, v2
    
        const/16 v2, 0x3a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_BIKE_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 87
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_REPAIR_MODE"
    
        move-object/from16 v61, v4
    
        const/16 v4, 0x3b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_REPAIR_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 3
        const/16 v4, 0x3c
    
        new-array v4, v4, [Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const/4 v6, 0x0
    
        aput-object v0, v4, v6
    
        const/4 v0, 0x1
    
        aput-object v1, v4, v0
    
        const/4 v0, 0x2
    
        aput-object v3, v4, v0
    
        const/4 v0, 0x3
    
        aput-object v5, v4, v0
    
        const/4 v0, 0x4
    
        aput-object v7, v4, v0
    
        const/4 v0, 0x5
    
        aput-object v9, v4, v0
    
        const/4 v0, 0x6
    
        aput-object v11, v4, v0
    
        const/4 v0, 0x7
    
        aput-object v13, v4, v0
    
        const/16 v0, 0x8
    
        aput-object v15, v4, v0
    
        const/16 v0, 0x9
    
        aput-object v14, v4, v0
    
        const/16 v0, 0xa
    
        aput-object v12, v4, v0
    
        const/16 v0, 0xb
    
        aput-object v10, v4, v0
    
        const/16 v0, 0xc
    
        aput-object v8, v4, v0
    
        const/16 v0, 0xd
    
        aput-object v16, v4, v0
    
        const/16 v0, 0xe
    
        aput-object v17, v4, v0
    
        const/16 v0, 0xf
    
        aput-object v18, v4, v0
    
        const/16 v0, 0x10
    
        aput-object v19, v4, v0
    
        const/16 v0, 0x11
    
        aput-object v20, v4, v0
    
        const/16 v0, 0x12
    
        aput-object v21, v4, v0
    
        const/16 v0, 0x13
    
        aput-object v22, v4, v0
    
        const/16 v0, 0x14
    
        aput-object v23, v4, v0
    
        const/16 v0, 0x15
    
        aput-object v24, v4, v0
    
        const/16 v0, 0x16
    
        aput-object v25, v4, v0
    
        const/16 v0, 0x17
    
        aput-object v26, v4, v0
    
        const/16 v0, 0x18
    
        aput-object v27, v4, v0
    
        const/16 v0, 0x19
    
        aput-object v28, v4, v0
    
        const/16 v0, 0x1a
    
        aput-object v29, v4, v0
    
        const/16 v0, 0x1b
    
        aput-object v30, v4, v0
    
        const/16 v0, 0x1c
    
        aput-object v31, v4, v0
    
        const/16 v0, 0x1d
    
        aput-object v32, v4, v0
    
        const/16 v0, 0x1e
    
        aput-object v33, v4, v0
    
        const/16 v0, 0x1f
    
        aput-object v34, v4, v0
    
        const/16 v0, 0x20
    
        aput-object v35, v4, v0
    
        const/16 v0, 0x21
    
        aput-object v36, v4, v0
    
        const/16 v0, 0x22
    
        aput-object v37, v4, v0
    
        const/16 v0, 0x23
    
        aput-object v38, v4, v0
    
        const/16 v0, 0x24
    
        aput-object v39, v4, v0
    
        const/16 v0, 0x25
    
        aput-object v40, v4, v0
    
        const/16 v0, 0x26
    
        aput-object v41, v4, v0
    
        const/16 v0, 0x27
    
        aput-object v42, v4, v0
    
        const/16 v0, 0x28
    
        aput-object v43, v4, v0
    
        const/16 v0, 0x29
    
        aput-object v44, v4, v0
    
        const/16 v0, 0x2a
    
        aput-object v45, v4, v0
    
        const/16 v0, 0x2b
    
        aput-object v46, v4, v0
    
        const/16 v0, 0x2c
    
        aput-object v47, v4, v0
    
        const/16 v0, 0x2d
    
        aput-object v48, v4, v0
    
        const/16 v0, 0x2e
    
        aput-object v49, v4, v0
    
        const/16 v0, 0x2f
    
        aput-object v50, v4, v0
    
        const/16 v0, 0x30
    
        aput-object v51, v4, v0
    
        const/16 v0, 0x31
    
        aput-object v52, v4, v0
    
        const/16 v0, 0x32
    
        aput-object v53, v4, v0
    
        const/16 v0, 0x33
    
        aput-object v54, v4, v0
    
        const/16 v0, 0x34
    
        aput-object v55, v4, v0
    
        const/16 v0, 0x35
    
        aput-object v56, v4, v0
    
        const/16 v0, 0x36
    
        aput-object v57, v4, v0
    
        const/16 v0, 0x37
    
        aput-object v58, v4, v0
    
        const/16 v0, 0x38
    
        aput-object v59, v4, v0
    
        const/16 v0, 0x39
    
        aput-object v60, v4, v0
    
        const/16 v0, 0x3a
    
        aput-object v61, v4, v0
    
    [/QUOTE]

    Just some information for anyone that wants to try this on OneUI 5.1

    It looks like Samsung removed a bit of code in the latest release of OneUI.
    You get this error in logcat:

    Code:
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: FATAL EXCEPTION: main
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: Process: com.android.systemui, PID: 2299
    03-27 08:22:36.546  2299  2299 E AndroidRuntime: java.lang.NoSuchFieldError: No field IS_SIM_LOCK of type Lcom/samsung/android/globalactionsdlx/util/SystemConditions; in class Lcom/samsung/android/globalactionsdlx/util/SystemConditions; or its superclasses (declaration of 'com.samsung.android.globalactionsdlx.util.SystemConditions' appears in /system/system_ext/priv-app/SystemUI/SystemUI.apk!classes4.dex)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.viewmodel.RecoveryActionViewModel.isNeedSecureConfirm(Unknown Source:12)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.viewmodel.RecoveryActionViewModel.onPress(Unknown Source:142)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.view.GlobalActionsContentItemView.lambda$setViewAttrs$3$com-samsung-android-globalactions-presentation-view-GlobalActionsContentItemView(GlobalActionsContentItemView.java:125)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.samsung.android.globalactionsdlx.presentation.view.GlobalActionsContentItemView$$ExternalSyntheticLambda0.onClick(Unknown Source:2)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.performClick(View.java:7892)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.performClickInternal(View.java:7869)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.view.View$PerformClick.run(View.java:30880)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:942)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:99)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Looper.loopOnce(Looper.java:226)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:313)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:8757)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    03-27 08:22:36.546  2299  2299 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

    It looks like method isNeedSecureConfirm is trying to access IS_SIM_LOCK and it's not there anymore. The way I fixed it is by going to

    smali_classes4/com/samsung/android/globalactionsdlx/util/SystemConditions.smali and add the following code:

    Search for:
    Code:
    .field public static final enum blacklist IS_SHOP_DEMO:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

    And add the following below it:
    Code:
    .field public static final enum blacklist IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;


    Then, I don't know if this next part is necessary but I did it anyway
    Replace .method static constructor blacklist <clinit>()V with the following:

    Code:
    .method static constructor blacklist <clinit>()V
        .registers 62
    
        .line 5
        new-instance v0, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v1, "GET_MOBILE_DATA_ENABLED"
    
        const/4 v2, 0x0
    
        invoke-direct {v0, v1, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v0, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->GET_MOBILE_DATA_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 7
        new-instance v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v3, "IS_ENCRYPTION_STATUS_ACTIVE"
    
        const/4 v4, 0x1
    
        invoke-direct {v1, v3, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ENCRYPTION_STATUS_ACTIVE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 8
        new-instance v3, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v5, "IS_LOGOUT_ENABLED"
    
        const/4 v6, 0x2
    
        invoke-direct {v3, v5, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v3, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOGOUT_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 10
        new-instance v5, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v7, "IS_SECURE_KEYGUARD"
    
        const/4 v8, 0x3
    
        invoke-direct {v5, v7, v8}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v5, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SECURE_KEYGUARD:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 11
        new-instance v7, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v9, "IS_CURRENT_USER_SECURE"
    
        const/4 v10, 0x4
    
        invoke-direct {v7, v9, v10}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v7, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CURRENT_USER_SECURE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 13
        new-instance v9, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v11, "IS_FMM_LOCKED"
    
        const/4 v12, 0x5
    
        invoke-direct {v9, v11, v12}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v9, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FMM_LOCKED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 14
        new-instance v11, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v13, "IS_CARRIRER_LOCK_PLUS_ENABLED"
    
        const/4 v14, 0x6
    
        invoke-direct {v11, v13, v14}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v11, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CARRIRER_LOCK_PLUS_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 15
        new-instance v13, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v15, "IS_RMM_LOCKED"
    
        const/4 v14, 0x7
    
        invoke-direct {v13, v15, v14}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v13, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_RMM_LOCKED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 16
        new-instance v15, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v14, "IS_STRONG_AUTH_FOR_LOCK_DOWN"
    
        const/16 v12, 0x8
    
        invoke-direct {v15, v14, v12}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v15, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_STRONG_AUTH_FOR_LOCK_DOWN:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 18
        new-instance v14, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v12, "IS_IN_LOCK_TASK_MODE"
    
        const/16 v10, 0x9
    
        invoke-direct {v14, v12, v10}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v14, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_IN_LOCK_TASK_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 20
        new-instance v12, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v10, "IS_KIDS_HOME_MODE"
    
        const/16 v8, 0xa
    
        invoke-direct {v12, v10, v8}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v12, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_KIDS_HOME_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 22
        new-instance v10, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v8, "CAN_SET_MODE"
    
        const/16 v6, 0xb
    
        invoke-direct {v10, v8, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v10, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->CAN_SET_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 23
        new-instance v8, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_UPSM_ENABLED"
    
        const/16 v4, 0xc
    
        invoke-direct {v8, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v8, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_UPSM_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 24
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_MODIFYING"
    
        const/16 v2, 0xd
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MODIFYING:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 25
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_EMERGENCY_MODE"
    
        move-object/from16 v16, v6
    
        const/16 v6, 0xe
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_EMERGENCY_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 27
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_BUG_REPORT_MODE"
    
        move-object/from16 v17, v4
    
        const/16 v4, 0xf
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_BUG_REPORT_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 28
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_MISSING_PHONE_LOCK"
    
        move-object/from16 v18, v2
    
        const/16 v2, 0x10
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MISSING_PHONE_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 29
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_ULTRA_POWER_SAVING_MODE"
    
        move-object/from16 v19, v6
    
        const/16 v6, 0x11
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ULTRA_POWER_SAVING_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 30
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SHOP_DEMO"
    
        move-object/from16 v20, v4
    
        const/16 v4, 0x12
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SHOP_DEMO:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 31
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_AIRPLANE_MODE"
    
        move-object/from16 v21, v2
    
        const/16 v2, 0x13
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_AIRPLANE_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 32
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v2, "IS_LOCK_NETWORK_AND_SECURITY"
    
        move-object/from16 v22, v6
    
        const/16 v6, 0x14
    
        invoke-direct {v4, v2, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOCK_NETWORK_AND_SECURITY:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 33
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_LOCK_DOWN_IN_POWER_MENU"
    
        move-object/from16 v23, v4
    
        const/16 v4, 0x15
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_LOCK_DOWN_IN_POWER_MENU:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 34
        new-instance v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_EMERGENCY_MODE_USER_AGREEMENT"
    
        move-object/from16 v24, v2
    
        const/16 v2, 0x16
    
        invoke-direct {v6, v4, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v6, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_EMERGENCY_MODE_USER_AGREEMENT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 35
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v4, "IS_RBM_MODE"
    
        move-object/from16 v25, v6
    
        const/16 v6, 0x17
    
        invoke-direct {v2, v4, v6}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_RBM_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 36
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DEVICE_OWNER"
    
        move-object/from16 v26, v2
    
        const/16 v2, 0x18
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DEVICE_OWNER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 37
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_NOT_REQUIRED"
    
        move-object/from16 v27, v4
    
        const/16 v4, 0x19
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_NOT_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 38
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_ALWAYS_REQUIRED"
    
        move-object/from16 v28, v2
    
        const/16 v2, 0x1a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_ALWAYS_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 39
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_POWER_OFF_UNLOCK_ONLY_LOCKSCREEN_REQUIRED"
    
        move-object/from16 v29, v4
    
        const/16 v4, 0x1b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_POWER_OFF_UNLOCK_ONLY_LOCKSCREEN_REQUIRED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 41
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_TSAFE_LOCK"
    
        move-object/from16 v30, v2
    
        const/16 v2, 0x1c
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_TSAFE_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 43
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "HAS_ANY_SIM"
    
        move-object/from16 v31, v4
    
        const/16 v4, 0x1d
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->HAS_ANY_SIM:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 44
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SIM_LOCK"
    
        move-object/from16 v32, v2
    
        const/16 v2, 0x1e
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 45
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_ATT_FOTA_CLIENT_PACKAGE_ENABLED"
    
        move-object/from16 v33, v4
    
        const/16 v4, 0x1f
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ATT_FOTA_CLIENT_PACKAGE_ENABLED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 46
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_FOTA_AVAILABLE_FOR_GLOBALACTIONS"
    
        move-object/from16 v34, v2
    
        const/16 v2, 0x20
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FOTA_AVAILABLE_FOR_GLOBALACTIONS:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 48
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DOMESTIC_OTA_MODE"
    
        move-object/from16 v35, v4
    
        const/16 v4, 0x21
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DOMESTIC_OTA_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 49
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_TABLET_DEVICE"
    
        move-object/from16 v36, v2
    
        const/16 v2, 0x22
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_TABLET_DEVICE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 51
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_ALLOWED_SAFE_BOOT"
    
        move-object/from16 v37, v4
    
        const/16 v4, 0x23
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_ALLOWED_SAFE_BOOT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 53
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_VOICE_ASSISTANT_MODE"
    
        move-object/from16 v38, v2
    
        const/16 v2, 0x24
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_VOICE_ASSISTANT_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 55
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_WHITE_THEME"
    
        move-object/from16 v39, v4
    
        const/16 v4, 0x25
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_WHITE_THEME:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 57
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_EMERGENCY_MODE"
    
        move-object/from16 v40, v2
    
        const/16 v2, 0x26
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_EMERGENCY_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 58
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_EMERGENCY_CALL"
    
        move-object/from16 v41, v4
    
        const/16 v4, 0x27
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_EMERGENCY_CALL:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 60
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "PWD_CHANGE_ENFORCED"
    
        move-object/from16 v42, v2
    
        const/16 v2, 0x28
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->PWD_CHANGE_ENFORCED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 62
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_CLEAR_COVER_CLOSED"
    
        move-object/from16 v43, v4
    
        const/16 v4, 0x29
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CLEAR_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 63
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_CLEAR_SIDE_VIEW_COVER_CLOSED"
    
        move-object/from16 v44, v2
    
        const/16 v2, 0x2a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_CLEAR_SIDE_VIEW_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 64
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_MINI_SVIEW_COVER_CLOSED"
    
        move-object/from16 v45, v4
    
        const/16 v4, 0x2b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MINI_SVIEW_COVER_CLOSED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 65
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_PEBBLE_STRIPE_COVER"
    
        move-object/from16 v46, v2
    
        const/16 v2, 0x2c
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_PEBBLE_STRIPE_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 66
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_STRIPE_CANVAS_COVER"
    
        move-object/from16 v47, v4
    
        const/16 v4, 0x2d
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_STRIPE_CANVAS_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 67
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_PEBBLE_STRIPE_PALETTE_COVER"
    
        move-object/from16 v48, v2
    
        const/16 v2, 0x2e
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_PEBBLE_STRIPE_PALETTE_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 68
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_MINI_OPEN_COVER"
    
        move-object/from16 v49, v4
    
        const/16 v4, 0x2f
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_MINI_OPEN_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 70
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "SUPPORT_SECONDARY_DISPLAY_AS_COVER"
    
        move-object/from16 v50, v2
    
        const/16 v2, 0x30
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->SUPPORT_SECONDARY_DISPLAY_AS_COVER:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 72
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_VALID_VERSION"
    
        move-object/from16 v51, v4
    
        const/16 v4, 0x31
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_VALID_VERSION:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 73
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_COM_CONTAINER_MODE"
    
        move-object/from16 v52, v2
    
        const/16 v2, 0x32
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_COM_CONTAINER_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 74
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DO_PROVISIONING_MODE"
    
        move-object/from16 v53, v4
    
        const/16 v4, 0x33
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DO_PROVISIONING_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 75
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "GET_KEYGUARD_SHOW_STATE"
    
        move-object/from16 v54, v2
    
        const/16 v2, 0x34
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->GET_KEYGUARD_SHOW_STATE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 77
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DESKTOP_MODE_STANDALONE"
    
        move-object/from16 v55, v4
    
        const/16 v4, 0x35
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DESKTOP_MODE_STANDALONE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 78
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_DESKTOP_MODE_DUAL_VIEW"
    
        move-object/from16 v56, v2
    
        const/16 v2, 0x36
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_DESKTOP_MODE_DUAL_VIEW:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 80
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_SF_EFFECT"
    
        move-object/from16 v57, v4
    
        const/16 v4, 0x37
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_SF_EFFECT:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 81
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_SUPPORT_CAPTURED_BLUR"
    
        move-object/from16 v58, v2
    
        const/16 v2, 0x38
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SUPPORT_CAPTURED_BLUR:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 83
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_FOLDED"
    
        move-object/from16 v59, v4
    
        const/16 v4, 0x39
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_FOLDED:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 85
        new-instance v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_BIKE_MODE"
    
        move-object/from16 v60, v2
    
        const/16 v2, 0x3a
    
        invoke-direct {v4, v6, v2}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_BIKE_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 87
        new-instance v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const-string v6, "IS_REPAIR_MODE"
    
        move-object/from16 v61, v4
    
        const/16 v4, 0x3b
    
        invoke-direct {v2, v6, v4}, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;-><init>(Ljava/lang/String;I)V
    
        sput-object v2, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_REPAIR_MODE:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        .line 3
        const/16 v4, 0x3c
    
        new-array v4, v4, [Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        const/4 v6, 0x0
    
        aput-object v0, v4, v6
    
        const/4 v0, 0x1
    
        aput-object v1, v4, v0
    
        const/4 v0, 0x2
    
        aput-object v3, v4, v0
    
        const/4 v0, 0x3
    
        aput-object v5, v4, v0
    
        const/4 v0, 0x4
    
        aput-object v7, v4, v0
    
        const/4 v0, 0x5
    
        aput-object v9, v4, v0
    
        const/4 v0, 0x6
    
        aput-object v11, v4, v0
    
        const/4 v0, 0x7
    
        aput-object v13, v4, v0
    
        const/16 v0, 0x8
    
        aput-object v15, v4, v0
    
        const/16 v0, 0x9
    
        aput-object v14, v4, v0
    
        const/16 v0, 0xa
    
        aput-object v12, v4, v0
    
        const/16 v0, 0xb
    
        aput-object v10, v4, v0
    
        const/16 v0, 0xc
    
        aput-object v8, v4, v0
    
        const/16 v0, 0xd
    
        aput-object v16, v4, v0
    
        const/16 v0, 0xe
    
        aput-object v17, v4, v0
    
        const/16 v0, 0xf
    
        aput-object v18, v4, v0
    
        const/16 v0, 0x10
    
        aput-object v19, v4, v0
    
        const/16 v0, 0x11
    
        aput-object v20, v4, v0
    
        const/16 v0, 0x12
    
        aput-object v21, v4, v0
    
        const/16 v0, 0x13
    
        aput-object v22, v4, v0
    
        const/16 v0, 0x14
    
        aput-object v23, v4, v0
    
        const/16 v0, 0x15
    
        aput-object v24, v4, v0
    
        const/16 v0, 0x16
    
        aput-object v25, v4, v0
    
        const/16 v0, 0x17
    
        aput-object v26, v4, v0
    
        const/16 v0, 0x18
    
        aput-object v27, v4, v0
    
        const/16 v0, 0x19
    
        aput-object v28, v4, v0
    
        const/16 v0, 0x1a
    
        aput-object v29, v4, v0
    
        const/16 v0, 0x1b
    
        aput-object v30, v4, v0
    
        const/16 v0, 0x1c
    
        aput-object v31, v4, v0
    
        const/16 v0, 0x1d
    
        aput-object v32, v4, v0
    
        const/16 v0, 0x1e
    
        aput-object v33, v4, v0
    
        const/16 v0, 0x1f
    
        aput-object v34, v4, v0
    
        const/16 v0, 0x20
    
        aput-object v35, v4, v0
    
        const/16 v0, 0x21
    
        aput-object v36, v4, v0
    
        const/16 v0, 0x22
    
        aput-object v37, v4, v0
    
        const/16 v0, 0x23
    
        aput-object v38, v4, v0
    
        const/16 v0, 0x24
    
        aput-object v39, v4, v0
    
        const/16 v0, 0x25
    
        aput-object v40, v4, v0
    
        const/16 v0, 0x26
    
        aput-object v41, v4, v0
    
        const/16 v0, 0x27
    
        aput-object v42, v4, v0
    
        const/16 v0, 0x28
    
        aput-object v43, v4, v0
    
        const/16 v0, 0x29
    
        aput-object v44, v4, v0
    
        const/16 v0, 0x2a
    
        aput-object v45, v4, v0
    
        const/16 v0, 0x2b
    
        aput-object v46, v4, v0
    
        const/16 v0, 0x2c
    
        aput-object v47, v4, v0
    
        const/16 v0, 0x2d
    
        aput-object v48, v4, v0
    
        const/16 v0, 0x2e
    
        aput-object v49, v4, v0
    
        const/16 v0, 0x2f
    
        aput-object v50, v4, v0
    
        const/16 v0, 0x30
    
        aput-object v51, v4, v0
    
        const/16 v0, 0x31
    
        aput-object v52, v4, v0
    
        const/16 v0, 0x32
    
        aput-object v53, v4, v0
    
        const/16 v0, 0x33
    
        aput-object v54, v4, v0
    
        const/16 v0, 0x34
    
        aput-object v55, v4, v0
    
        const/16 v0, 0x35
    
        aput-object v56, v4, v0
    
        const/16 v0, 0x36
    
        aput-object v57, v4, v0
    
        const/16 v0, 0x37
    
        aput-object v58, v4, v0
    
        const/16 v0, 0x38
    
        aput-object v59, v4, v0
    
        const/16 v0, 0x39
    
        aput-object v60, v4, v0
    
        const/16 v0, 0x3a
    
        aput-object v61, v4, v0
    
        const/16 v0, 0x3b
    
        aput-object v2, v4, v0
    
        sput-object v4, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->$VALUES:[Lcom/samsung/android/globalactionsdlx/util/SystemConditions;
    
        return-void
    .end method

    I did a compare to current code and the only difference is the extra registers for IS_SIM_LOCK so it should be fine to replace the whole code. I hope this isn't a vulnerability I'm opening up again 😅
    I guess you could also delete the IS_SIM_LOCK invoke from method isNeedSecureConfirm but I didn't want to do it that way, I don't know if any more stuff would be required that route
    it is enough to remove one line in the smileys that are added according to the instructions-
    .method private isNeedSecureConfirm()Z-
    ---- -----
    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/samsung/android/globalactionsdlx/presentation/viewmodel/QuickRebootActionViewModel;->mConditionChecker:Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;

    # sget-object v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

    invoke-interface {v0, v1}, Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;->isEnabled(Ljava/lang/Object;)Z

    move-result v0
    2
    it is enough to remove one line in the smileys that are added according to the instructions-
    .method private isNeedSecureConfirm()Z-
    ---- -----
    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/samsung/android/globalactionsdlx/presentation/viewmodel/QuickRebootActionViewModel;->mConditionChecker:Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;

    # sget-object v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

    invoke-interface {v0, v1}, Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;->isEnabled(Ljava/lang/Object;)Z

    move-result v0
    Awesome, thanks!
    I'll go this route instead next time :giggle:
    1
    Which firmware you are yousing on which device?
  • 85
    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://forum.xda-developers.com/showpost.php?p=76226004&postcount=25

    * Nav Bar Colors Oreo
    https://forum.xda-developers.com/showpost.php?p=76226163&postcount=30

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

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

    * Guide To Add Apps To SecSettings
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76672397&postcount=181

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

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




    bj67qkxd.png

    SystemUI:

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

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

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

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

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

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

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

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

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

    * TOGGLE COLOR INVERSION
    https://forum.xda-developers.com/showpost.php?p=76302363&postcount=46

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

    * Center clock
    https://forum.xda-developers.com/showpost.php?p=76372750&postcount=50

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

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

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

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

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

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

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

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

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

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

    * SIM Panel Responsive Switch
    https://forum.xda-developers.com/showpost.php?p=76918617&postcount=276

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    * Device Info Pie:
    https://forum.xda-developers.com/showpost.php?p=78999495&postcount=1060

    * Guide To Change Notifications Background With Or Without Rom Control Pie:
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=79019145&postcount=1085

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

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

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





    rp6g6phg.png

    Framework-res



    r68n2xya.png

    Services.jar

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

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

    * Guide To Fix SnapChat (Secure Flag) in Pie:
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77001987&postcount=314

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

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

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

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

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

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

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

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

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

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

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

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

    * Guide To Patch Secure Folder App in Pie:
    https://forum.xda-developers.com/showpost.php?p=79926283&postcount=1357
    https://forum.xda-developers.com/ga...rs.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://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=80503277&postcount=1413

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    * Guide To Mod VoiceRecorder For Jet-Black UI Pie:
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77994504&postcount=743

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

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






    hfhemcci.png

    SAMSUNG LAUNCHER

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

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

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

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

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



    l9ex4ruj.png

    Build.prop Tweaks:

    * Build Prop Tweaks:
    https://forum.xda-developers.com/showpost.php?p=76225678&postcount=12

    * Guide To Fix SafetyNet CTS & Basic Integrity Failure in Magisk Root
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76579292&postcount=141



    rgepzoxb.png

    ROM Control:

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



    pkeyogiv.png

    Root


    b736b5wv.png

    Xposed

    * [OFFICIAL] Xposed for Lollipop/Marshmallow
    http://forum.xda-developers.com/showthread.php?t=3034811

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

    * [UNOFFICIAL] Material Design Xposed Installer
    https://forum.xda-developers.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://forum.xda-developers.com/android/software/guide-how-to-decompile-apks-odex-files-t3325340

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

    * Odin3 Tool For Windows:
    https://forum.xda-developers.com/showthread.php?t=2711451

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

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

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

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

    * [TOOL] Frija - Samsung Firmware Downloader
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76206008&postcount=10

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

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

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

    * Decode/Encode OMC/CSC Files
    https://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=2450045

    * [Guide][Video Tutorial] How to build Custom ROMs and Kernel Modification![O][N][M][L]
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=76987927&postcount=312

    * [MOD][TEMPLATE] APK-Patcher Lite
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77108226&postcount=408

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

    * RMM prenormal work around
    https://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=77719104&postcount=626

    * [GUIDE] Root/Install TWRP on any NON-US Samsung after 2018 updates
    https://forum.xda-developers.com/sa...w-to/guide-root-install-twrp-samsung-t3747535

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

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

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

    * [Guide][tut] [LP/MM] Hide/Enable Layouts (small apps, Icons, Nav and more) no smali
    https://forum.xda-developers.com/cr...guide-hide-enable-layouts-small-apps-t3417499

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

    * AppLock For Oreo 8.0
    https://forum.xda-developers.com/showpost.php?p=76225695&postcount=13

    * Screen Recorder
    https://forum.xda-developers.com/showpost.php?p=76225863&postcount=19

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

    * Guide for GMS Doze
    https://forum.xda-developers.com/showpost.php?p=76225714&postcount=14

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

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

    * ADB Prop Tweak
    https://forum.xda-developers.com/showpost.php?p=76225725&postcount=15

    * Guide to Calibrate Battery
    https://forum.xda-developers.com/showpost.php?p=76225734&postcount=16

    * [FontPack] -v7.2- 1120 Fonts Compatible with Oreo
    https://forum.xda-developers.com/ga...ont-pack-966-fonts-one-apk-s6-s6edge-t3154336

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

    * [GUIDE]All-In-One(stock FW/CSC/ROOT/TWRP recovery/FRP unlock/PIT/unbrick/bootloader)
    https://forum.xda-developers.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://forum.xda-developers.com/galaxy-s6/themes-apps/bootanimation-android-n-prev-4-audio-t3410272

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

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

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

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

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

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

    * [SOURCE CODE][DEV TOOL][SDK 21+]6thGear RomControl v2.+ for Devs
    https://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=1723643

    * [REF][GUIDE]Most Upto Date Guide on CPU Governors, I/O Schedulers:
    https://forum.xda-developers.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://forum.xda-developers.com/s7-edge/how-to/guide-how-to-fix-check-drk-imei-issues-t3379516

    * [GUIDE][COMPLETE] All in one Android Development [NOOB FRIENDLY]
    https://forum.xda-developers.com/ch...de-one-android-development-t3175121?nocache=1

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

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

    * OTA Update Center App (v 2.0.5)
    http://forum.xda-developers.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 &not;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
    28
    Tweaks: bypass MicroSD/Sim2 tray lock

    So as most of you know, in latest Oreo firmwares Samsung added a check to prevent using both Sim2/MicroSD at same time in one slot (screenshot in attachments), fortunately this lock is pretty much easy to bypass, do this:

    Decompile services.jar, open /com/android/server/StorageManagerService.smali class and in it search for isSimSdBlock() method. It should look like this:
    Code:
    .method private isSimSdBlock()Z
        .locals 3
    
        const/4 v2, 0x0
    
        invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSim2Inserted()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSdInserted()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        const-string/jumbo v0, "StorageManagerService"
    
        const-string/jumbo v1, "isSimSdBlock: show popup!"
    
        invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I
    
        invoke-virtual {p0}, Lcom/android/server/StorageManagerService;->showSimSdBlockAlert()V
    
        const/4 v0, 0x1
    
        return v0
    
        :cond_0
        iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;
    
        if-eqz v0, :cond_1
    
        const-string/jumbo v0, "StorageManagerService"
    
        const-string/jumbo v1, "isSimSdBlock: close popup!"
    
        invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I
    
        iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;
    
        invoke-virtual {v0}, Landroid/app/AlertDialog;->dismiss()V
    
        sput-boolean v2, Lcom/android/server/StorageManagerService;->isShown:Z
    
        :cond_1
        return v2
    .end method

    Once you found it, all you have to do is to make sure the method always returns false, so basically all you need to do is to replace the whole method code inside to match this:
    Code:
    .method private isSimSdBlock()Z
    [COLOR="Blue"]    .locals 1
    
        const/4 v0, 0x0
    
        return v0[/COLOR]
    .end method

    Recompile services.jar, push it on your device, profit :eek:
    Credits to @corsicanu for the finding, don't forget to credit him if you're gonna use this little tweak on your project
    24
    Fully spoof signature check Guide

    So I already know there are tons of guides for disable/spoof signature check, but I decided to share my vision of it since I've even been able to resign apks with a different key and without issues (S9+ base, G965FXXS1ARD1), let's start.
    First of all you need a custom build of smali/baksmali since the current latest version of the official tool doesn't supports latest DexCode version used in Oreo, so if you try to decompile/recompile core-oj with it, you will face a bootloop caused from baksmali/smali tool that can't decode new Oreo opcodes (invoke-polymorphic). Latest build of SmaliEx supports new Oreo opcodes and can decode them without any issue, so use that one to decode/encode your .dex files (make sure you add -a 26 on the cmd of both baksmali/smali when decoding/encoding your dex files). Once you've setup the tool, decode both "classes.dex" files of core-oj.jar and services.jar frameworks.

    core-oj:

    - Open /java/security/MessageDigest.smali class and search for isEqual([B[B) method, you'll find something like this:
    Code:
    .method public static isEqual([B[B)Z
        .locals 6
    
        const/4 v2, 0x1
    
        const/4 v3, 0x0
    
        if-ne p0, p1, :cond_0
    
        return v2
    
    ...
    
        goto :goto_1
    .end method

    You have to make sure the method always returns 1/true, replace the whole method code inside to this:
    Code:
    .method public static isEqual([B[B)Z
    [COLOR="Blue"]    .locals 1
    
        const/4 v0, 0x1
    
        return v0[/COLOR]
    .end method

    - Open /java/security/Signature.smali class and search for verify([B) and verify([BII) methods, you'll find something like this:
    Code:
    .method public final verify([B)Z
        .locals 2
        .annotation system Ldalvik/annotation/Throws;
            value = {
                Ljava/security/SignatureException;
            }
        .end annotation
    
        iget v0, p0, Ljava/security/Signature;->state:I
    
    ...
    
        throw v0
    .end method
    
    .method public final verify([BII)Z
        .locals 2
        .annotation system Ldalvik/annotation/Throws;
            value = {
                Ljava/security/SignatureException;
            }
        .end annotation
    
        iget v0, p0, Ljava/security/Signature;->state:I
    
    ...
    
        throw v0
    .end method

    Like before, both methods needs to return 1, so replace them as the following:
    Code:
    .method public final verify([B)Z
    [COLOR="blue"]    .locals 1[/COLOR]
        .annotation system Ldalvik/annotation/Throws;
            value = {
                Ljava/security/SignatureException;
            }
        .end annotation
    
    [COLOR="Blue"]    const/4 v0, 0x1
    
        return v0[/COLOR]
    .end method
    
    .method public final verify([BII)Z
    [COLOR="blue"]    .locals 1[/COLOR]
        .annotation system Ldalvik/annotation/Throws;
            value = {
                Ljava/security/SignatureException;
            }
        .end annotation
    
    [COLOR="Blue"]    const/4 v0, 0x1
    
        return v0[/COLOR]
    .end method

    - Open /sun/security/util/SignatureFileVerifier.smali class and search for verifyManifestHash method, you'll find something like this:
    Code:
    .method private verifyManifestHash(Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/util/List;)Z
        .locals 12
        .annotation system Ldalvik/annotation/Signature;
            value = {
                "(",
    
    ...
    
        :cond_2
        return v5
    .end method

    Same as before, always returns 1/true, so again replace the whole method code inside to this:
    Code:
    .method private verifyManifestHash(Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/util/List;)Z
    [COLOR="Blue"]    .locals 1[/COLOR]
        .annotation system Ldalvik/annotation/Signature;
            value = {
                "(",
                "Ljava/util/jar/Manifest;",
                "Lsun/security/util/ManifestDigester;",
                "Ljava/util/List",
                "<",
                "Ljava/lang/Object;",
                ">;)Z"
            }
        .end annotation
    
        .annotation system Ldalvik/annotation/Throws;
            value = {
                Ljava/io/IOException;,
                Ljava/security/SignatureException;
            }
        .end annotation
    
    [COLOR="Blue"]    const/4 v0, 0x1
    
        return v0[/COLOR]
    .end method

    services.jar:

    - Open /com/android/server/pm/PackageManagerService.smali class and search for compareSignatures method, you'll find something like this:
    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
        .locals 8
    
        const/4 v3, 0x1
    
    ...
    
        :cond_8
        return v5
    .end method

    Here instead of core-oj methods, you have to make sure the method always returns 0/false, so replace the whole method code inside to this:
    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    [COLOR="Blue"]    .locals 1
    
        const/4 v0, 0x0
    
        return v0[/COLOR]
    .end method

    - Optional for installing Old App Versions Over Newer:
    Open /com/android/server/pm/PackageManagerService$InstallParams.smali class and search for installLocationPolicy method, you'll find something like this:
    Code:
    .method private installLocationPolicy(Landroid/content/pm/PackageInfoLite;)I
        .locals 14
    
        const/4 v13, 0x2
    
    ...
    
        return v10
    .end method

    Now search for "PackageManagerException" string, you'll get something like this:
    Code:
    ...
    
        move v1, v7
    
        :goto_3
        if-nez v1, :cond_1
    
        :try_start_1
        invoke-static {v0, p1}, Lcom/android/server/pm/PackageManagerService;->-wrap35(Landroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageInfoLite;)V
        :try_end_1
        .catch Lcom/android/server/pm/PackageManagerException; {:try_start_1 .. :try_end_1} :catch_0
        .catchall {:try_start_1 .. :try_end_1} :catchall_0
    
    ...

    All you have to do is replace the "if-nez" before try-catch block to "if-eqz", like this:
    Code:
    ...
    
        move v1, v7
    
        :goto_3
    [COLOR="Blue"]    if-eqz v1, :cond_1[/COLOR]
    
        :try_start_1
        invoke-static {v0, p1}, Lcom/android/server/pm/PackageManagerService;->-wrap35(Landroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageInfoLite;)V
        :try_end_1
        .catch Lcom/android/server/pm/PackageManagerException; {:try_start_1 .. :try_end_1} :catch_0
        .catchall {:try_start_1 .. :try_end_1} :catchall_0
    
    ...

    Now recompile your decoded classes.dex files, put them on their respective jars and push the edited jar to your phone. If all the edits has been done correctly system will boot and you'll be able to decompile/recompile and resign with whatever sign key the apks you want!

    Credits to @corsicanu, @one_love_420, @CNexus, @tdunham and @edzamber, you can find his original MM guide to disable sign check here
    22
    well followed this steps from someone in my spanish discussion rom and gave it a try at the end i got OEM unlock without waiting 7 days and thought it would be nice to share
    1 download lastest fully stock firmware and flash through Odin
    2 change date and time 8 days before
    3check for ota and wait until it says that you're on latest version , check if ota date is set to the date you set(without rebooting)
    4 reboot and check for ota again (it will take from 1 to 2 mins) go back and check if date changed
    5 reboot again and enable developer option, oem unlock will be there(you may need to wait up to 1 hr for it to show)
    6 flash twrp as you should normally do and install the atached zip without rebooting to system until you flash it
    7 enjoy oreo BL :D

    Thanks to @BlackMesa123 for his rmm state bypass zip
    Original zip post : https://forum.xda-developers.com/sa...root-january-security-patch-sm-t3739225/page3
    22
    FIX FOR OREO DEODEX (ROM WITHOUT ARM/ARM64)

    Hii guys maybe some dev found that before me, but atm I can't use full deodex ROM without arm64 and arm folders. That means can't edit framework.jar and some other files...

    There are 2 problems in Oreo deodex, one is sepolicy, we need to patch it or run a permissive kernel, my edit don't skips that, it's still needed to allow oat2dex to write on dalvik.

    My edit just fixs the delay and dalvik build on deodexed ROMs. Without it we need to wait when android is booted, "android is upgrading"... It's building the dalvik when the phone is already booted, that causes the lag. And if we reboot the phone before it finish, start again... So with this little edit the phone will build the dalvik while it's booting, and the "upgrading android" just will take 1 minute cuz dalvik it's already builded. That's all.

    NEWS : Today I ported S9+ and this trick is not working... Samsung have added a shortest default.prop on /system/vendor, but even modding it is not working. The workaround is use supersu instead of magisk, or boot with no-root and then flash Magisk. Then dalvik is builded on first boot so no lags or reboot required. (Only for flash magisk, obviously).

    I searched on ramdisk\default.prop and there are some differences with previous Android versions.

    Exactly these lines :

    pm.dexopt.first-boot=quicken
    pm.dexopt.boot=verify
    pm.dexopt.install=quicken

    Changed to :

    pm.dexopt.first-boot=interpret-only
    pm.dexopt.boot=verify-profile
    pm.dexopt.install=interpret-only

    Now the ROM can boot without arm folders and can edit framework.jar without any problem.

    :good:

    NOTE: I'm using permissive kernel. We need permissive or sepolicy patch, Superrs-kitchen can do it for you.