[Samsung Galaxy S 5 Unified Development] Gunthermic:
Once again my Sammy tablet is a bit diff...

.method public updateSettings()V
.locals 17

.prologue
.line 1714
move-object/from16 v0, p0

iget-object v12, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v12}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v8

.line 1715
.local v8, resolver:Landroid/content/ContentResolver;
const/4 v9, 0x0

.line 1722
.local v9, updateRotation:Z

const-string v12, "multi_window_enabled"

const/4 v13, 0x0

const/4 v14, -0x2

invoke-static {v8, v12, v13, v14}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v1

.line 1726
.local v1, enableMultiWindowUISetting:I
move-object/from16 v0, p0

iget-object v13, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mLock:Ljava/lang/Object;

monitor-enter v13

.line 1728
:try_start_0
move-object/from16 v0, p0

iget-boolean v12, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsMultiWindowEnabled:Z

if-eqz v12, :cond_1

.line 1729
move-object/from16 v0, p0

iget-boolean v12, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemReady:Z

if-eqz v12, :cond_1

.line 1730
move-object/from16 v0, p0

iget v12, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mEnableMultiWindowUISetting:I

const/4 v14, -0x1

if-ne v12, v14, :cond_c

.line 1731
move-object/from16 v0, p0

iget-object v12, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v12}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v12

const-string v14, "multi_window_flashbar_shown"

const/4 v15, -0x1

const/16 v16, -0x2

move/from16 v0, v16

invoke-static {v12, v14, v15, v0}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v6

.line 1734
.local v6, lastFlashBarVisibility:I
if-nez v6, :cond_b

Where and how to put this last piece of code. in. I have tried several times, but all I get is Sammy Logo. No boot...

#Music Mod
const-string v7, "volbtn_music_controls"

const/4 v9, 0x0

invoke-static {v12, v7, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

move-object/from16 v0, p0

iput v3, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolBtnMusicControls:I

const-string v7, "volbtn_timeout"

const/16 v9, 0x190

invoke-static {v12, v7, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

move-object/from16 v0, p0

iput v3, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolBtnTimeout:I

const-string v7, "volbtn_vol_up"

const/16 v9, 0x57

invoke-static {v12, v7, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

move-object/from16 v0, p0

iput v3, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolBtnVolUp:I

const-string v7, "volbtn_vol_down"

const/16 v9, 0x58

invoke-static {v12, v7, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

move-object/from16 v0, p0

iput v3, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolBtnVolDown:I
#End of Add - Music Mod