> 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: (7352)
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: (575)
Hello everyone, who knows which file / line is responsible for the width of the bar status, I want to bring the icons closer to the edges, 6.0.1
Attached Image


Post has been editedlexadjsss - 17.06.16, 19:40



Rep: (7352)
Lexadjsss @ 06/17/2016, 20:39*
Which file / line is responsible for the width of the bar status, I want to bring closer closer icons to the edges, 6.0.1

The width of the bar status is not at what, see in the string
SystemUI / res / layout / status_bar.xml
<LinearLayout Android: Orientation = "Horizontal" Android: id = "@ ID / STATUS_BAR_CONTENTS" Android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: paddingstart = "4.0dip" android: paddingend = "8.0dip">

Also in other elements, if necessary without Android indents: paddingstart = "0.0dip" Android: paddingend = "0.0dip">



Rep: (575)
Sagitt67 @ 06/17/2016, 20:04*
SystemUI / res / layout / status_bar.xml
In short, it is, to replace on your lines to try.
Attached Image



Rep: (7352)
lexadjsss
Without a difference, you have links to Dimens - exhibit forcibly 0.0dip



Rep: (575)
Sagitt67 @ 06/18/2016, 00:34*
forcibly
Thank you, everything turned out, you can clean theme



Rep: (7352)
Supplement toCustom Settings - System Settings. Android 6.0.1

screenshot :
Attached Image

Author : sagitt67
Firmware : MMNE Update Pack N915FXXU1DPE1 version 1.2.
Description : -
System settings :
* Screen when connected to a USB socket.

Edit Services.jar / Smali / Com / Android / Server / Power / PowerManagerService.smali
in the method.method private updateIsPoweredLocked (I) V
add and delete lines green - Where do the registers come from


IPut V1, P0, LCom / Android / Server / Power / PowerManagerService; ->mDirty: I

iget-object v1, p0, Lcom / android / server / power / PowerManagerService; ->MwirelessChargerDeTector: LCom / Android / Server / Power / WirelesschargerDetector;

Iget-Boolean V4, P0, LCom / Android / Server / Power / PowerManagerService; ->Mispowered: Z.

igetv5 , P0, LCom / Android / Server / Power / PowerManagerService; ->mPlugType: I

igetv6 , P0, LCom / Android / Server / Power / PowerManagerService; ->mBatteryLevel: I

INVOKE-VIRTUAL {V1, V4,v5 , v6 }, LCom / Android / Server / Power / WirelessChargerDeTector; ->update (ZII) Z

...

Invoke-Direct {P0, V12, V10, V0}, LCom / Android / Server / Power / PowerManagerService; ->shouldWakeUpWhenPluggedOrUnpluggedLocked (ZIZ) Z

move-result v1

iget-objectv5 , P0, LCom / Android / Server / Power / PowerManagerService; ->mContext: Landroid / content / Context;

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

move-result-objectv5

constv4 , 0x1

const-string / jumbov6 , "USB_Plugged"

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

move-resultv4

if-eqzv4 ,: COND_D5


IF-EQZ V1 ,: COND_D5

IF-EQZ V11,: COND_D5

new-instance v1, Ljava / lang / StringBuilder;

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

iget-objectv4 , P0, LCom / Android / Server / Power / PowerManagerService; ->mScreenOnReason: Ljava / lang / String;

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

move-result-object v1

const-stringv4 "Powered Change"

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

move-result-object v1

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

move-result-object v1

iput-object v1, p0, Lcom / android / server / power / PowerManagerService; ->mScreenOnReason: Ljava / lang / String;

const / 16 v1, 0xb

IPut V1, P0, LCom / Android / Server / Power / PowerManagerService; ->mLastWakeUpReason: I


Const-String V4, "Android.Server.power: Power"

const / 16 v5, 0x3e8

iget-object v1, p0, Lcom / android / server / power / PowerManagerService; ->mContext: Landroid / content / Context;

Edit ROMCONTROL / RES / XML / SYSTEM_SETTINGS_PREFS.XML
Add a string
<SwitchPreference Android: title = "Screen when connected to a USB jack" Android: Key = "USB_Plugged" Android: Summaryon = "Enabled" Android: SummaryOff = "Disable" />



Rep: (7352)
Supplement toCustom Settings - System Settings. Android 6.0.1

screenshots:
Attached Image
Attached Image
Attached Image

Author : sagitt67
Firmware : MMNE Update Pack N915FXXU1DPE1 version 1.2.
Description : - Dialog box about safe volume when the headphones is connected (including both Bluetooth) with switch.
System settings:
* Dialog about safe volume.

Edit Services.jar / Smali / COM / Android / Server / Audio / audioService.smali
In the method, add strings from (+++) to (+++) and string +
.method private checkSafeMediaVolume (III) Z
.registers11 # Change on .registers 14 (adding 3 registers, see in the Max method. The value of the Register - 6 is taken into account P0, P1, P2, and P3)
...

: cond_11
iget-object v4, p0, Lcom / android / server / audio / AudioService; ->mSafeMediaVolumeState: Ljava / lang / Integer;

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

move-result v4

+++ Iget-Object V7, P0, LCom / Android / Server / Audio / AudioService; ->mContext: Landroid / content / Context;

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

move-result-object v7

Const-String V8, "Volume_warning_Toggle"

const v9, 0x0

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

move-result v7

IF-EQZ V7,: COND_TD +++

IF-NE V4, V5,: COND_41

iget-object v4, p0, Lcom / android / server / audio / AudioService; ->mStreamVolumeAlias: [I

Further
invoke-direct {p0}, Lcom / android / server / audio / AudioService; ->callvibratemsg () v

: cond_7b
monitor-exit v3

move v1, v2

goto: goto_10

: cond_7e
+: Cond_td.
monitor-exit v3
: try_end_7f.
.catchall {: try_start_64 ..: try_end_7f}: CatchAll_61

goto: goto_10
.end method

Edit ROMCONTROL / RES / XML / SYSTEM_SETTINGS_PREFS.XML
Add a string
<SwitchPreference android: title = "Dialog on the safe volume" android: key = "volume_warning_toggle" android: summaryOn = "Enabled" android: summaryOff = "Off" />



Rep: (575)
Hi, faced a problem, she is not only me, but there are no solutions ..
In short .. The firmware is clean, deodexed, with an unsuccessful modification of the frame, frame.jar, or System.UI ... it is impossible to restore the phone ..
1. Through the recovery was filled with Orig. File with rights. Cache cleaned ..
2. Restore the backup of the systems and the date in the recovery .. then cleaned caches.
3. Removed the file .. Data / System / Users / 0 / Runtime-Permissions.xml
The solution with XDA, also did not help ...
What to do? How to restore smart? If the full backups of the entire system and user prog do not help, and replacing files into manual, especially. Every time to flash the phone is cruel. How to check the fashion test.
S6 EDGE + .. 6 0 1

Post has been editedlexadjsss - 20.06.16, 17:40



Rep: (10745)
* lexadjsss
welcome
Start here
Samsung SM-G920F Galaxy S6 - unofficial firmware (OS 5.x-6.x) (post zmeeeed1 # 50532857)
Continued here
Samsung Galaxy S6 - Modification and decorations (post zmeeed1 # 50546925)
The essence - do Nandroid backup to trouble.



Rep: (575)
ZMeeed1 @ 06/20/2016, 18:42*
The essence - do Nandroid backup to trouble.
I made a System and Data backup before the fill of the frame, then I restore no sense, and my original, and the frame and System.Ui, was useless

Post has been editedlexadjsss - 20.06.16, 19:19



Rep: (415)
Good day to all.
Uv. Sagitt67 How to add a memory cleaning button on Android 6.0.1 may have an instruction without romcontrol.



Rep: (7352)
Remenyuk_Z @ 06/20/2016, 20:28*
how to add a memory cleaning button to the curtain on android 6.0.1 maybe there is an instruction without romcontrol

Make a default cleaning display.



Rep: (416)
Lexadjsss @ 06/20/2016, 19:12*
I made a System and Data backup before the fill of the frame, then I restore no sense, and my original, and the frame and System.Ui, was useless

* lexadjsss
I had the same problem and repeatedly ... when "caught this glitch," only firmware was helped. For myself, I found only one solution: at the very beginning, before modifying the firmware, I remove the signature check. And further like such "jambs" no longer observed. I change anything and anywhere ...



Rep: (7352)
Remove the check application signatures. Android 6.0.1

Link to the original: XDA
Author : sagitt67
Firmware : MMNE Update Pack N915FXXU1DPE1 version 1.2.
Description : - We remove the application signature check. Edit in Batchapktools.
Edit Services.jar / Smali / COM / Android / Server / PM / PackageManagerService. Smali.
whole method.method static compareSignatures ([Landroid / content / pm / Signature; [Landroid / content / pm / Signature;) I replace with
.method static compareSignatures ([Landroid / content / pm / Signature; [Landroid / content / pm / Signature;) I
.registers 9

const / 4 v0, 0x0

return v0
.end method



Rep: (293)
Sagitt67 @ 06/23/2016, 00:05*
We remove the application signature verification. Android 6.0.1

Hello!
Something I can not disassemble in Batchapktools 3.4.5, Services.jar When installing in the _Input_jar folder and starts the program when unpacking, writes .. Place files for decompiling into the _Input_apk folder and in the _Framework folder threw and throw out Framework-Res.apk and twframework-res.apk and twframework .apk is still no sense ... what's the problem may be?
Firmware DN5 V0.6.
thank

Post has been editedfated - 23.06.16, 12:34



Rep: (7352)
Fated @ 06/23/2016, 13:30*
Something it is not possible to disassemble the Services.jar when installing in the _Input_jar folder

The profile branchBatch ApkToolUse the portable version. I recommend reading the readme.txt file - in Russian, where it is written, what command (digit) set to decompile .jar files.

Post has been editedsagitt67 - 23.06.16, 12:47



Rep: (390)
* fated
Instead of a unit, enter 06.



Rep: (7352)
Add 25 buttons and 20 active buttons to the curtain. Android 6.0.1

screenshots:
Attached Image
Attached Image

Link to the original: XDA
Author : sagitt67
Firmware : MMNE Update Pack N915FXXU1DPE1 version 1.2.
Description : - Add 25 buttons to the curtain and 20 active.
Download and installВ®DatabaseEditor"
1. Add 25 buttons to the curtain, here you facilitate editing:
Copy the downloaded text file template from the List_Toggles.txt archive, for example, internal memory, open the rootexplorer and open the list_toggles.txt using
Long press on the file and selecting the text editor in the menu
Attached Image
Attached Image

Select content and copy to clipboard
Attached Image

Open dbeditor.apk Find 2 pointsnotification_panel_active_app_list_for_resetand notification_panel_active_app_list.
And we consistently insert copied values ​​from the clipboard, without leaving the application reboot the device.
Attached Image

2. Add 20 active buttons to the curtain, it is easier here:
В®DatabaseEditor (post sagitt67 # 50681686)
Download archive : Attached fileshablon.zip (2.04 KB)

P.S. Please leave your opinion and performance on other devices in the application branch.
Change pointsnotification_panel_active_app_list_for_resetYou can skip - it works without it

Post has been editedsagitt67 - 24.06.16, 20:47



Rep: (4019)
Sagitt67 @ 06/22/2016, 22:25*
Please leave your opinion and performance on other devices in the application branch.

I will leave here, because The program is not related to the program, and performance is available. Add to the curtain 25 buttons and 20 active can be used by ADB. On the example of the number of active buttons
ADB Shell Settings Put System Notification_Panel_Active_Number_OF_Apps 20

The variable notification_panel_active_number_of_apps_for_reset did not touch - it works and so

Post has been editedPako777 - 24.06.16, 19:53



Rep: (7352)
Pako777 @ 06/24/2016, 20:37*
can also be via ADB

I agree, especially with your high level of knowledge in editing on android, a significant part of users is most likely easier to use the utility.


Full version    

Help     rules

Now: 11/21/20, 23:05