> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.



Editing system applications Samsung SM-N915 Galaxy Note Edge | Editing system applications Samsung SM-N915 Galaxy Note Edge



Rep: (7350)
Editing system applications Samsung SM-N915 Galaxy Note Edge

This topic discusses the process of editing system files that you can implement yourself.

Forum Rules пїЅ | Description пїЅ | Discussion пїЅ | Firmware пїЅ | Purchase пїЅ | Accessories пїЅ | Editing system applications пїЅ | Modifications of software and decorations пїЅ | Custom firmware (OS 5.X.X) пїЅ | Samsung SM-N915 Galaxy Note Edge Fans Club пїЅ | Modified and stock kernels пїЅ

Before any changes in the system, do not forget to make BackUp files to be modified.
All the manipulations you do with your device, you do at your own peril and risk.

Rules of conduct in the topic, recommendations on the design of posts. Read a must.

  1. Do not duplicate the "Modification ..." branch, where ready-made solutions are laid out. Here they have a place to be only as an exception to the rules.
  2. Posts with open screens will be deleted without warning!
  3. Orders, requests, requests in this thread are not considered, for this purpose there isOrder table for compiling and editing system resources and applications,all posts that violate the rules will be deleted without warning!
  4. Offtopic and flood prohibited and punishable!
  5. Editing applications from Cyanogen Mod, MIUI, other modifications are not discussed!
  6. In the future, all posts that violate this concept will be deleted without warning!



Instruction Template
Copy the content into your message and fill
[CENTER] [SIZE = 3] [B] [COLOR = royalblue] Here we write the name of the instruction [/ COLOR] [/ B] [/ SIZE] [/ CENTER]
[CENTER] Insert the main screenshot here [/ CENTER]
[COLOR = blue] [B] Author [/ B] [/ COLOR]: Specify the author
[COLOR = blue] [B] Firmware [/ B] [/ COLOR]: Specify the version / number, code / deodex
[COLOR = blue] [B] Description [/ B] [/ COLOR]: Full description
[SPOILER = Extras. screenshots] If there are additional screenshots, then insert it here [/ SPOILER]
[COLOR = blue] [B] Installation [/ B] [/ COLOR]: Specify the installation method / method
[COLOR = blue] [B] Download [/ B] [/ COLOR]: Attach files to download



Catalog of this thread
Android 4.4.4

Android 5.0.1
Custom settings


Shutdown menu

Lock screen

Shutter and status bar

Settings

Contacts, dialer and messages

System

miscellanea

Android 5.1.1
Custom settings

Edit and change the graphics and text color

Lock screen

System changes

Sidebar Changes

Curtain changes and bar status

Changes of Contacts, Calls, SMS

Adding Blur Effect (Gaussian Blur)


Android 6.0.1
Custom settings


useful links

User activity
Remember:
Everything you do - you do at your own peril and risk!
The authors of the instructions and the administration of the forum is not responsible for the performance of your devices!

Be mutually polite! On our forum, it is customary to express gratitude by raising the reputation of a particular participant. If you want to thank the user for the published decoration, clickPicturenext to his reputation. If you do not have 15 helpful posts, ask the moderator to raise the reputation of the person who helped you through the buttonPicture

Dear users! Please rate posts usingUser Moderation, buttonsAttached ImageandAttached Image. Remember, using this feature, you help keep the topic clean. Thank!


Post has been editedsagitt67 - 14.01.19, 12:47
Reason for editing: added guide



Rep: (7350)
Remove the check application signatures.

Author : sagitt67
Firmware : N915FXXU1ANJ8Deodex
Description - Remove the test application signatures.
edit services.jar
services / smali / com / android / server / pm / PackageManagerService.smali
whole method.method static compareSignatures ([Landroid / content / pm / Signature; [Landroid / content / pm / Signature;) I
change for

.method static compareSignatures ([Landroid / content / pm / Signature; [Landroid / content / pm / Signature;) I
.locals 7

const / 4 v0, 0x0

return v0
.end method



Post has been editedsagitt67 - 19.04.15, 18:02



Rep: (7350)
Addition to Add autoload to settings
Author : sagitt67
Firmware : N915FXXU1ANJ8Deodex
Description - Edit the file AndroidManifest.xml
AndroidManifest.xml
Inserts a string at the end of the file

<activity android: label = "@ string / accessibility_settings" android: name = "com.android.settings.fingerprint.FingerPrintSettingsUseFingerprint" android: screenOrientation = "behind" android: theme = "@ style / SettingsTheme">
<intent-filter>
<action android: name = "android.intent.action.MAIN" />
</ intent-filter>
</ activity>
+++ <activity android: name = / "autostarts.LewaManageAutostarts.">
</ application>
<uses-permission android: name = "com.samsung.android.permission.ENROLL_FINGERPRINT" />
</ manifest>


After editing the file AndroidManifest.xml SecSettings.apk sign the application, for example byZipSignerand apply the guide post above.



Rep: (7350)
old TV effect (crt-off effect).

Author : sagitt67
Firmware : N915FXXU1ANJ8Deodex
Description - The effect of the old TV (crt-off effect).
edit services.jar
services \ smali \ com \ android \ server \ power \ DisplayPowerController.smali
in the method.method private initialize () V

.line 868
iget-object v0, p0, Lcom / android / server / power / DisplayPowerController; ->mElectronBeamOffAnimator: Landroid / animation / ObjectAnimator;

const-wide / 16 v1, 0xc8 # replaced by const-wide / 16 v1, 0x190

invoke-virtual {v0, v1, v2}, Landroid / animation / ObjectAnimator; ->setDuration (J) Landroid / animation / ObjectAnimator;


in the method.method private updatePowerState () V (+) Inserted

iget-object v9, p0, Lcom / android / server / power / DisplayPowerController; ->mPowerState: Lcom / android / server / power / DisplayPowerState;

iget-boolean v8, p0, Lcom / android / server / power / DisplayPowerController; ->mElectronBeamFadesConfig: Z

if-eqz v8,: cond_2b

const / 4 v8, 0x2

: goto_d
+ Const / 4 v8, 0x1
invoke-virtual {v9, v8}, Lcom / android / server / power / DisplayPowerState; ->prepareElectronBeam (I) Z

move-result v8




Rep: (7350)
Unlock items in the panel volume and volume settings.

screenshots
Attached Image
Attached Image
Attached Image

Author : sagitt67
Firmware : N915FXXU1ANJ8Deodex
Description - Volume unlock items in the panel and volume settings.
SecSettings / smali / com / android / settings / RingerVolumePreference.smali
in the method.method protected onBindDialogView (Landroid / view / View;) V
red delete rows


.line 395
.restart local v18 # "id": I
: goto_5
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 396
.local v16, "hideSection": Landroid / view / View;
invoke-virtual / range {p0 .. p0}, Lcom / android / settings / RingerVolumePreference; ->getContext () Landroid / content / Context;


move-result-object v2

invoke-static {v2}, Lcom / android / settings / Utils; ->isVoiceCapable (Landroid / content / Context;) Z

move-result v2

if-eqz v2,: cond_9

move-object / from16 v0, p0

iget-object v2, v0, Lcom / android / settings / RingerVolumePreference; ->mContext: Landroid / content / Context;

Further

.line 397
: cond_9
const v2, 0x7f0b044f

move-object / from16 v0, p1

invoke-virtual {v0, v2}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v2

const / 16 v3, 0x8

invoke-virtual {v2, v3}, Landroid / view / View; ->setVisibility (I) V

.line 398
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V

.line 403
.end local v16 # "hideSection": Landroid / view / View;

: cond_a
const-string v21, "com.sec.android.app.clockpackage"

.line 404
.local v21, "mSamsungClockPackageName": Ljava / lang / String;
const / 16 v22, 0x0

Further

.line 408
: cond_c
const v18, 0x7f0b0457

.line 409
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 410
.restart local v16 # "hideSection": Landroid / view / View;
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V


.line 412
const v18, 0x7f0b0458

.line 413
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 414
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V

.line 416
.end local v16 # "hideSection": Landroid / view / View;

: cond_d
invoke-static {}, Lcom / android / settings / Utils; ->isDomesticSKTModel () Z

move-result v2

if-nez v2,: cond_e

.line 417
const v18, 0x7f0b045d

.line 418
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 419
.restart local v16 # "hideSection": Landroid / view / View;
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V


.line 420
const v18, 0x7f0b045e

.line 421
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 422
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V

.line 424
.end local v16 # "hideSection": Landroid / view / View
;
: cond_e
invoke-static {}, Lcom / sec / android / app / CscFeature; ->getInstance () Lcom / sec / android / app / CscFeature;

move-result-object v2

const-string v3, "CscFeature_Settings_WaitToneVolumeDisable"

invoke-virtual {v2, v3}, Lcom / sec / android / app / CscFeature; ->getEnableStatus (Ljava / lang / String;) Z

move-result v2

if-eqz v2,: cond_f

.line 425
const v18, 0x7f0b045e

.line 426
move-object / from16 v0, p1

move / from16 v1, v18

invoke-virtual {v0, v1}, Landroid / view / View; ->findViewById (I) Landroid / view / View;

move-result-object v16

.line 427
.restart local v16 # "hideSection": Landroid / view / View;
const / 16 v2, 0x8

move-object / from16 v0, v16

invoke-virtual {v0, v2}, Landroid / view / View; ->setVisibility (I) V

.line 431
.end local v16 # "hideSection": Landroid / view / View;

: cond_f
invoke-virtual / range {p0 .. p0}, Lcom / android / settings / RingerVolumePreference; ->getContext () Landroid / content / Context;

move-result-object v2

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

move-result-object v2

const-string v3, "all_sound_off"

const / 4 v4, 0x0

invoke-static {v2, v3, v4}, Landroid / provider / Settings $ System; ->getInt (Landroid / content / ContentResolver; Ljava / lang / String; I) I

move-result v8

.line 432
.local v8, "allSoundOff": I
const / 4 v2, 0x1

framework2.jar / smali / android / view / VolumePanel $ StreamResources.smali
in the method
# direct methods
.method static constructor<clinit>() V
change in lines


.line 233
new-instance v0, Landroid / view / VolumePanel $ StreamResources;

const-string v1, "BluetoothSCOStream"

const / 4 v3, 0x6

const v4, 0x10406c0

const v5, 0x108047c

const v6, 0x108047c

move v7,v2 # change to move v7, v11

Further

.line 248
new-instance v3, Landroid / view / VolumePanel $ StreamResources;

const-string v4, "AlarmStream"

const / 4 v6, 0x4

const v7, 0x10406bd

const v8, 0x108047a

const v9, 0x108047b

move v5, v14

move v10,v2 # change to move v10, v11


Post has been editedsagitt67 - 20.04.15, 02:26



Rep: (5)
sagitt67 @ 25.01.2015, 16:58*
Make a dark background and light text in the Last Post during the call.


Author: sagitt67
Firmware: N915FXXU1ANJ8 Deodex
Description: - Making a dark background and light text (message and icon) in the last message during the call.
background and icon
Background is InCallUI / res / drawable-sw360dp-xxxhdpi / call_tips_popup_bg.9.png
Icon is InCallUI / res / drawable-sw360dp-xxxhdpi / call_tips_popup_bg.9.qmg
It is necessary to convert and replace logs_list_icon_sms.png way above post.


text
InCallUI / res / layout / caller_info_card_item.xml
Change the text color to the color in the lines starting with<Textview


where and how to change the background and font color in the dialer (a button to end a call, Bluetooth, etc.)



Rep: (7350)
greed2
InCallUI \ res \ layout \ call_button_fragment.xml
Change in 2 rows in the first (second from top) addandroid: background = "# 00000000"In a different row (sixth from the top)
<LinearLayout android: orientation = "horizontal"android: background = "@ color / button_background"android: layout_width = "fill_parent" android: layout_height = "wrap_content" android: paddingStart = "@ dimen / button_cluster_side_padding" android: paddingEnd = "@ dimen / button_cluster_side_padding">
onandroid: background = "# 00000000"

Post has been editedsagitt67 - 10.03.15, 10:09



Rep: (5)
I understand it is to replace the font color. how to change the background button (end call, Bluetooth, etc.)? (I do not want a white background)



Rep: (7350)
greed2
I understand it is to replace the font color

You somewhere saw lines<The TextView, make your own, here is a modificationsoftware modification and embellishment for Samsung SM-N915 Galaxy Note Edge (Post sagitt67 # 36578515)Total Commander to open the uncompressed original and modes and compare the difference.



Rep: (7350)
Activate items in the setup and an icon in the Quick Launch - Guidance (Air View).

Attached Image
Attached Image
Attached Image

Attached Image
Attached Image
Attached Image

Author : sagitt67
Firmware : N915FXXU1ANJ8Deodex
Description - Activate the item in the settings and an icon in the Quick Launch toolbar - Guidance (Air View)
Activate the settings
editsystem / etc / floating_feature.xml
in rows
SEC_FLOATING_FEATURE_COMMON_GESTURE WITH FINGERHOVERwe change FALSE on TRUE .

SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_FINGER_AIR_V IEWwe change FALSEonTRUE.


Activate the icon in the Quick Launch toolbar
according to principleEditing system applications Samsung SM-N915 Galaxy Note Edge (Post sagitt67 # 36503006)
editsettings.db Appends at both points
AirView;



Rep: (7350)
Extended reboot menu (in Russian) Android 5.0.1

Attached Image
Attached Image
Attached Image

Author : sagitt67
Firmware : N915FXXU1BOA2 / XXU1BOC6Deodex
Description : Advanced reboot menu (in Russian) 5 points.
edit android.policy.jar
From the downloaded archive copy files
android.policy / smali / com / android / internal / policy / impl / GlobalActions.smali
in the method.method private createDialog () Lcom / android / internal / policy / impl / GlobalActions $ GlobalActionsDialog;

.line 1172
new-instance v2, Lcom / android / internal / policy / impl / GlobalActions $8 ;

const v3, 0x1080a7d

const v4, 0x10407cd

move-object / from16 v0, p0

invoke-direct {v2, v0, v3, v4}, Lcom / android / internal / policy / impl / GlobalActions $8 ;-><init>(Lcom / android / internal / policy / impl / GlobalActions; II) V

move-object / from16 v0, p0

iput-object v2, v0, Lcom / android / internal / policy / impl / GlobalActions; ->mRestart: Lcom / android / internal / policy / impl / GlobalActions $ SinglePressAction;

8 change to 99

android.policy / smali / com / android / internal / policy / impl / GlobalActions $ SinglePressAction.smali
at the beginning of the file we add from+++ before +++ ( remove icons )
# annotations
.annotation system Ldalvik / annotation / EnclosingClass;
value = Lcom / android / internal / policy / impl / GlobalActions;
.end annotation

.annotation system Ldalvik / annotation / InnerClass;
accessFlags = 0x40a
name = "SinglePressAction"
.end annotation


+++ # static fields
.field public static rebootMode: I

.field public static final rebootOptions: [Ljava / lang / String;

.field public static final rebootString: [Ljava / lang / String; +++


# instance fields
.field public customAction: I


Further paste method with the contents

# direct methods
+++ .method static constructor<clinit>() V
.locals 9

const / 4 v8, 0x5

const / 4 v7, 0x4

const / 4 v6, 0x3

const / 4 v5, 0x2

const / 4 v4, 0x1

const / 4 v3, 0x0

new-array v0, v8, [Ljava / lang / String;

const-string v2, "\ u041f \ u0435 \ u0440 \ u0435 \ u0437 \ u0430 \ u0433 \ u0440 \ u0443 \ u0437 \ u043a \ u0430"

aput-object v2, v0, v3

const-string v2, "\ u0411 \ u044b \ u0441 \ u0442 \ u0440 \ u0430 \ u044f \ u043f \ u0435 \ u0440 \ u0435 \ u0437 \ u0430 \ u0433 \ u0440 \ u0443 \ u0437 \ u043a \ u0430"

aput-object v2, v0, v4

const-string v2, "\ u041f \ u0440 \ u043e \ u0448 \ u0438 \ u0432 \ u043a \ u0430"

aput-object v2, v0, v5

const-string v2, "\ u0420 \ u0435 \ u043a \ u0430 \ u0432 \ u0435 \ u0440 \ u0438"

aput-object v2, v0, v6

const-string v2, "\ u0411 \ u0435 \ u0437 \ u043e \ u043f \ u0430 \ u0441 \ u043d \ u044b \ u0439 \ u0440 \ u0435 \ u0436 \ u0438 \ u043c"

aput-object v2, v0, v7

sput-object v0, Lcom / android / internal / policy / impl / GlobalActions $ SinglePressAction; ->rebootString: [Ljava / lang / String;

new-array v1, v8, [Ljava / lang / String;

const-string v2, "Reboot"

aput-object v2, v1, v3

const-string v2, "Hot Reboot"

aput-object v2, v1, v4

const-string v2, "Download"

aput-object v2, v1, v5

const-string v2, "Recovery"

aput-object v2, v1, v6

const-string v2, "Safe Mode"

aput-object v2, v1, v7

sput-object v1, Lcom / android / internal / policy / impl / GlobalActions $ SinglePressAction; ->rebootOptions: [Ljava / lang / String;

return-void
.end method +++

.method protected constructor<init>(Ii) v
.registers 5
.param p1, "iconResId" # I
.param p2, "messageResId" # I



Download archive : Attached filesmali.zip (4.13 KB)


Post has been editedsagitt67 - 26.03.15, 15:36



Rep: (7350)
Full date on the lock screen and in the curtain Android 5.0.1

Attached Image
Attached Image

Author : sagitt67
Firmware : N915FXXU1BOA2 / XXU1BOC6Deodex
Description : Full data on the lock screen and curtain.
SystemUI / res / values-en / strings.xml
in rows

<string name = "status_view_wday_day_month_no_year">E, d MMMM </ string> - change to EEEE d MMMM
<string name = "status_bar_date_format_day_month">E, d MMMM </ string> - change to EEEE d MMMM


Post has been editedsagitt67 - 26.03.15, 15:36



Rep: (7350)
Disable the Safe volume dialog box appears when you connect headphones Android 5.0.1

screenshot
Attached Image

Author : sagitt67
Firmware : N915FXXU1BOA2 / XXU1BOC6Deodex
Description - Disable the Safe volume when headphones are plugged in the dialog box.
framework / smali / android / media / AudioService.smali
in the method.method private checkSafeMediaVolume (III) Z
Add row
( blue )

iget-object v4, p0, Landroid / media / AudioService; ->mSafeMediaVolumeState: Ljava / lang / Integer;

invoke-virtual {v4}, Ljava / lang / Integer; ->intValue () I

move-result v4

goto: goto_rs

if-ne v4, v5,: cond_5d

iget-object v4, p0, Landroid / media / AudioService; ->mStreamVolumeAlias: [I

aget v4, v4, p1

if-ne v4, v5,: cond_5d

and-int / lit8 v4, p3, 0xc

if-eqz v4,: cond_5d

iget v4, p0, Landroid / media / AudioService; ->mSafeMediaVolumeIndex: I

further at the end of the method add the line (blue )

: catchall_5a
move-exception v2

monitor-exit v3
: try_end_5c
.catchall {: try_start_5 ..: try_end_5c}: catchall_5a

throw v2

: goto_rs
: cond_5d
: try_start_5d
monitor-exit v3
: try_end_5e
.catchall {: try_start_5d ..: try_end_5e}: catchall_5a

goto: goto_16
.end method


Post has been editedsagitt67 - 26.03.15, 15:35



Rep: (7350)
Tweaks Caller Android 5.0.1

screenshot
Attached Image
Attached Image

Firmware : N915FXXU1BOC6Deodex
Description - Tweaks dialer.
call recording
editsystem / csc / others.xml add row
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</ CscFeature_VoiceCall_ConfigRecording>


unlock and add items to set up your phone ->Call ->Melodies and Sounds
* High quality sound and * Call louder in the bag
TeleService / smali / com / android / phone / CallFeaturesSetting.smali
in the method.method protected initSoundSetting (Z) V
remove (red ) string


const-string v3, "extra_ringtone_preference"

invoke-virtual {p0, v3}, Lcom / android / phone / CallFeaturesSetting; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v3

check-cast v3, Landroid / preference / CheckBoxPreference;

iput-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mExtraRingerPreference: Landroid / preference / CheckBoxPreference;

iget-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mNaturalSound: Landroid / preference / CheckBoxPreference;

if-eqz v3,: cond_2

iget-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mNaturalSound: Landroid / preference / CheckBoxPreference;

invoke-virtual {v2, v3}, Landroid / preference / PreferenceGroup; ->removePreference (Landroid / preference / Preference;) Z

const / 4 v3, 0x0

iput-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mNaturalSound: Landroid / preference / CheckBoxPreference;

: cond_2
const-string v3, "extra_ringer"

invoke-static {v3}, Lcom / android / services / telephony / common / PhoneFeature; ->hasFeature (Ljava / lang / String;) Z

move-result v3

if-nez v3,: cond_3

iget-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mExtraRingerPreference: Landroid / preference / CheckBoxPreference;

if-eqz v3,: cond_3

iget-object v3, p0, Lcom / android / phone / CallFeaturesSetting; ->mExtraRingerPreference: Landroid / preference / CheckBoxPreference;

invoke-virtual {v2, v3}, Landroid / preference / PreferenceGroup; ->removePreference (Landroid / preference / Preference;) Z

: cond_3
invoke-virtual {p0}, Lcom / android / phone / CallFeaturesSetting; ->getApplicationContext () Landroid / content / Context;

remove narastayushy call signal

Telecom.apk / smali / com / android / server / telecom / secutils / SecAsyncRingtonePlayer.smali
in the method.method static synthetic access $ 000 (Lcom / android / server / telecom / secutils / SecAsyncRingtonePlayer; Landroid / net / Uri;) V


iget-object v0, p0, Lcom / android / server / telecom / secutils / SecAsyncRingtonePlayer; ->mHandler: Landroid / os / Handler;

const-wide / 16 v2, 0x7d0 # Change on const-wide / 16 v2, 0x1

invoke-virtual {v0, v6, v2, v3}, Landroid / os / Handler; ->sendEmptyMessageDelayed (IJ) Z

remove the pop-up window "includes conditional call forwarding"
TeleService.apk / smali / com / android / services / telephony / TelephonyConnectionUtils.smali
in the method.method private static displaySSInfo (Landroid / content / Context; Lcom / android / internal / telephony / gsm / SuppServiceNotification;) V
remove (red ) string


const-string v2, "vzw_volte_ui"

invoke-static {v2}, Lcom / android / services / telephony / common / PhoneFeature; ->hasFeature (Ljava / lang / String;) Z

move-result v2

if-nez v2,: cond_0

invoke-static {p0, v0}, Lcom / android / services / telephony / TelephonyConnectionUtils; ->suppServiceNotificationMobileOriginatedMessage (Landroid / content / Context; I) V

: cond_0
: goto_0
return-void

: cond_1
if-ne v1, v7,: cond_0

invoke-static {p0, v0}, Lcom / android / services / telephony / TelephonyConnectionUtils; ->suppServiceNotificationMobileTerminated (Landroid / content / Context; I) V

const-string v2, "vzw_volte_ui"

remove the delay after the call
LegacyInCallUI.apk / smali / com / android / incallui / CallList.smali
in the method.method private getDelayForDisconnect (Lcom / android / incallui / Call;) I
line with the values


const / 16 v1, 0x1388 # Change on const / 16 v1, 0x1(2 times)

const / 16 v1, 0x1194 # Change on const / 16 v1, 0x1



Rep: (5)
sagitt67 @ 17.12.2014, 23:37 *
Fullscreen photo with recording


and where and what to change, what would have been the usual photo? (Not full screen)



Rep: (7350)
greed2
Downloading modification LegacyInCallUI.apk pull the file and take your original file, both sequentially decompile, then this methodEditing system apk Samsung GT-i9100 Galaxy S II (post sagitt67 # 30221502)see the difference and you will see that the edited, but recovery is usually the size of a photo and background you need to look under the buttons.



Rep: (7350)
Disable scroll cache Android 5.0.1

Author : sagitt67
Firmware : N915FXXU1BOC6Deodex
Description - Disable scrolling cache (for its smoothness).
framework.jar / smali_classes2 / android / widget / AbsListView.smali
framework.jar / smali_classes2 / android / widget / AbsListView.smali
in the method

.method private createScrollingCache () V
.registers 3

const / 4 v1,0x1 # Change on const / 4 v1, 0x0

iget-boolean v0, p0, Landroid / widget / AbsListView; ->mScrollingCacheEnabled: Z

if-eqz v0,: cond_19

iget-boolean v0, p0, Landroid / widget / AbsListView; ->mCachingStarted: Z

if-nez v0,: cond_19

invoke-virtual {p0}, Landroid / widget / AbsListView; ->isHardwareAccelerated () Z

further in the method

.method private initAbsListView () V
.registers 10

const / 4 v4 , 0x 0 # - off. for information - not to change

const / 4 v5 , 0x 1 # - incl. for information - not to change

invoke-virtual {p0, v5}, Landroid / widget / AbsListView; ->setClickable (Z) V

invoke-virtual {p0, v5}, Landroid / widget / AbsListView; ->setFocusableInTouchMode (Z) V

invoke-virtual {p0, v4}, Landroid / widget / AbsListView; ->setWillNotDraw (Z) V

invoke-virtual {p0, v4}, Landroid / widget / AbsListView; ->setAlwaysDrawnWithCacheEnabled (Z) V

invoke-virtual {p0,v5 }, Landroid / widget / AbsListView; ->setScrollingCacheEnabled (Z) V # v5 change to v4

iget-object v6, p0, Landroid / widget / AbsListView; ->mContext: Landroid / content / Context;


Post has been editedsagitt67 - 01.04.15, 20:14



Rep: (7350)
Gillette_757
Specially written in parentheses, if you really need - search online, or on the internet, there is still editing.



Rep: (7350)
Enable Toolbox support (Toolbar) Android 5.0.1

screenshots
Attached Image
Attached Image
Attached Image

Author : sagitt67
Firmware : N915FXXU1BOC6Deodex
Description - Includes support for Toolbox (Toolbox).
description:

system / etc / floating_feature.xml
in line

<SEC_FLOATING_FEATURE_SETTINGS_DEFAULT_TOOLBOX>FALSE </ SEC_FLOATING_FEATURE_SETTINGS_DEFAULT_TOOLBOX> change to TRUE

Next methodEditing system applications Samsung SM-N915 Galaxy Note Edge (Post sagitt67 # 36503006)viaSQLite Editor-9.apk edit settings.db open and prescribe Toolbox;
Increase the max. the amount of added applications to the toolbar to 12 (5 by default)
SecSettings.apk / smali / com / android / settings / toolbox / ToolboxList.smali
in the method

# direct methods
.method static constructor<clinit>() V
.locals 1

const / 4 v0, 0x5 # Change on const / 16 v0, 0x c

sput v0, Lcom / android / settings / toolbox / ToolboxList; ->MAX_TOOLBOX_APPS: I

sput v0, Lcom / android / settings / toolbox / ToolboxList; ->MAX_DEFAULT_APPS: I

const-string v0, "com.samsung.android.app.galaxyfinder"

framework.jar / smali / com / samsung / android / toolbox / TWToolBoxFloatingViewer.smali
in the method

# direct methods
.method public constructor<init>(Landroid / content / Context;) V


iget v2, p0, Lcom / samsung / android / toolbox / TwToolBoxFloatingViewer; ->FIXED_SHORTCUT_ITEM_GAP: I

iget v4, p0, Lcom / samsung / android / toolbox / TwToolBoxFloatingViewer; ->FIXED_SHORTCUT_ITEM_SIZE: I

add-int / 2addr v2, v4

mul-int / lit8 v2, v2, 0x4 # Change on mul-int / lit8 v2, v2, 0x c

add-int / 2addr v0, v2

iget v2, p0, Lcom / samsung / android / toolbox / TwToolBoxFloatingViewer; ->FIXED_ROUND_TAIL_SIZE: I

add-int / 2addr v0, v2

iput v0, p0, Lcom / samsung / android / toolbox / TwToolBoxFloatingViewer; ->TOTAL_HEIGHT: I




Post has been editedsagitt67 - 30.03.15, 10:54



Rep: (7350)
Add a flashlight in the curtain Android 5.0.1

screenshots
Attached Image

Author : sagitt67
Firmware : N915FXXU1BOC6Deodex
Description : - Add a flashlight to blind.
description:

edit SecSettings.apk:
From the downloaded archive copy icon
SecSettings.apk / smali / com / android / settings / NotificationPanelMenu.smali
at the end of the method add, beforereturn-void
.method private makeConvertPanelName () V


const-string v1, "flashlight"

const-string v2, "notification_panel_flashlight"

invoke-virtual {v0, v1, v2}, Ljava / util / HashMap; ->put (Ljava / lang / Object; Ljava / lang / Object;) Ljava / lang / Object;

iget-object v0, p0, Lcom / android / settings / NotificationPanelMenu; ->mConvertPanelItemstring: Ljava / util / HashMap;

const-string v1, "notification_panel_flashlight"

const-string v2, "flashlight"

invoke-virtual {v0, v1, v2}, Ljava / util / HashMap; ->put (Ljava / lang / Object; Ljava / lang / Object;) Ljava / lang / Object;

iget-object v0, p0, Lcom / android / settings / NotificationPanelMenu; ->mConvertPanelItemstring: Ljava / util / HashMap;


return-void
.end method

SecSettings.apk / res / values ​​/ strings.xml
at the end of the file add the line
<string name = "notification_panel_flashlight">Flashlight</ string>


SecSettings.apk / res / values-ru / strings.xml
at the end of the file add the line
<string name = "notification_panel_flashlight">Torch</ string>



edit SystemUI.apk:
From the downloaded archive copy icons
SystemUI.apk / smali / com / android / systemui / statusbar / phone / PhoneSt atusBar.smali
in the method.method protected makeStatusBarView () Lcom / android / systemui / statusbar / phone / PhoneStatusBarView;
in rowsred deleted blue add


iget-object v4, v0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mCarrierLabel: Landroid / widget / TextView;

move-object / from16 v0, p0

iget-object v5, v0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mClearAll: Landroid / widget / TextView;

invoke-virtual {v3, v4, v5}, Lcom / android / systemui / statusbar / phone / NotificationPanelView; ->setCarrierView (Landroid / widget / TextView; Landroid / widget / TextView;) V

: cond_d
: goto_7
const / 4 v3, 0x0
new-instance v3, Lcom / android / systemui / statusbar / policy / FlashlightController;

move-object / from16 v0, p0

iget-object v4, v0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mContext: Landroid / content / Context;

invoke-direct {v3, v4}, Lcom / android / systemui / statusbar / policy / FlashlightController; -><init>(Landroid / content / Context;) V


move-object / from16 v0, p0

iput-object v3, v0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mFlashlightController: Lcom / android / systemui / statusbar / policy / FlashlightController;

new-instance v3, Lcom / android / systemui / statusbar / policy / AccessibilityController;

SystemUI.apk / res / values ​​/ strings.xml
at the end of the file add the line
<string name = "quickpanel_flashlight_text">Flashlight</ string>


SystemUI.apk / res / values-ru / strings.xml
at the end of the file add the line
<string name = "quickpanel_flashlight_text">Torch</ string>


Once assembled (BatchApkTool) again parseSystemUI.apk and paste was going new icons
SystemUI.apk / smali / com / android / systemui / qs / tiles / FlashlightTile.smali
in the method.method protected handleUpdateState (Lcom / android / systemui / qs / QSTile $ BooleanState; Ljava / lang / Object;) V
in rows


iput-object v1, p1, Lcom / android / systemui / qs / QSTile $ BooleanState; ->label: Ljava / lang / String;

iget-boolean v1, p1, Lcom / android / systemui / qs / QSTile $ BooleanState; ->value: Z

if-eqz v1,: cond_6

const v1,0x7f02012d # <public type = "drawable" name = "tw_quick_panel_icon_flashlight_on" id = "0x7f02098a" />

: goto_2
iput v1, p1, Lcom / android / systemui / qs / QSTile $ BooleanState; ->iconId: I

iget-boolean v1, p1, Lcom / android / systemui / qs / QSTile $ BooleanState; ->value: Z

if-eqz v1,: cond_7

const v0, 0x7f0d027c

: goto_3
iget-object v1, p0, Lcom / android / systemui / qs / tiles / FlashlightTile; ->mContext: Landroid / content / Context;

Further

invoke-virtual {v1, v2, v4, v5}, Lcom / android / systemui / qs / QSTile $ H; ->postAtTime (Ljava / lang / Runnable; J) Z

goto: goto_0

: cond_5
const / 4 v1,0x0

goto: goto_1

: cond_6
const v1,0x7f02012c # <public type = "drawable" name = "tw_quick_panel_icon_flashlight_off" id = "0x7f020989" />

goto: goto_2

: cond_7
const v0, 0x7f0d027b

goto: goto_3
.end method

Further adding to the shutter icon flashlight method here Editing system applications Samsung SM-N915 Galaxy Note Edge (Post sagitt67 # 36503006)
edit settings.db
AppendFlashlight;


Download archive: Attached fileFlashlight_icons.zip (27.11 Kb)



Rep: (1216)
sagitt67 @ 27.03.2015, 16:03*
const / 4 v4, 0x0 # - off.

const / 4 v5, 0x1 # - incl.

I have both of these lines, I want to disable the cache for the scroll. That they need to change something, ie do
const / 4 v4, 0x0 # - off.

const / 4 v4, 0x0 # - incl.


Full version    

Help     rules

Time is now: 15/08/20, 00:50