348 pagesV  « < 238 239 240 241 242 243 > »  
 
REPLY
> MIUI - Modification and decorations | Modification and decorations of MIUI firmware, instructions, discussion.
Rusm
Message#1
25.07.16, 19:33
a.k.a shoma_81
*********
[online]

Group: Honorary Gameday
Messages 10209
Check in: 17.10.11
Xiaomi Mi 4 WCDMA

Reputation:-  2657  +

MIUI - Modification and decorations

Important information. Read a must!

  • Before writing a topic, read:
    How to unpack system apk from MIUI firmware in ApkTool
  • When publishing instructions or using them in your mods, pleasedo not forget to specify the authors.
    It is also worth pointingmanual dependency on third-party componentsincluding from independent or standalone settings.

  • Rules of conduct in the subject (in case of non-compliance, posts can be deleted without warning):

    • This topic is nottable orders. All messages with requests for editing will be deleted.
    • Messages with instructions issued not bypatternmay not get into the catalog of instructions.
    • Before you ask a question or write instructions, use the search on the topic, perhaps your question has already been considered.
    • All images are hidden under the spoiler tag
    • In the subject we discuss only MIUI modifications. There are separate branches for discussing and searching topics.
    • Authors of instructions, like no one else but younot responsiblefor the performance of your devices!
    • It is customary to express gratitude by changing the reputation, no need to litter the topic.
    • You should not breed holivar about MiuiPro in this topic. For this there is a section of the meat grinder.

Patterns of modifications and instructions
Copy the content into your message and fill. If possible, try to use the code tag when inserting pieces of code in your instructions.
[CENTER] [COLOR = blue] [SIZE = 3] [B] Here we write the name of the lesson, as well as the version of MIUI [/ B] [/ SIZE] [/ COLOR] [/ CENTER]
Additional information if necessary (apktool version, android version, thanks, etc.)
[SPOILER = Description] Description, detailed instruction [/ SPOILER]
[SPOILER = Screenshots] Attach screenshots if necessary [/ SPOILER]

Catalog of instructions
Settings
Status bar, curtain notifications
Multimedia and sounds
Launcher / Desktop
Lock screen
Caller / Contact
Reboot Menu / Recent Menu
Other
Useful links and tools
Useful topics
The authors of modifications and the Administration of the forum are not responsible for the performance of your devices!
Remember: everything you do - you do at your own peril and risk!

Topics Curator:VaderQMS


Post has been editedVADER - 06.03.19, 23:36
Reason for editing: Own item in MIUI 8.9,10 settings
shuchvadim
Message#4782
24.10.18, 18:24
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 13071
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1168  +

* BingO_BongO, Another option: how to find out how it is implementing of the proposed option and above tossing file and add , right "to turn off, but if you honestly I neimeyu even a rough idea how to do it.
BingO_BongO
Message#4783
24.10.18, 18:30
Mom, Dad, Rock'n'Roll.
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2628
Check in: 26.08.11
Xiaomi Mi 6 6/128

Reputation:-  617  +

* shuchvadim
Mean download the theme tune to the shutdown and there to see?


--------------------
All good.
sanal154
Message#4784
24.10.18, 18:40
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1049
Check in: 09.09.12
Xiaomi Redmi 3S

Reputation:-  436  +

Good day, today is not from that not from this mutated MT, the region did not change in the system does not go , "Nothing updated
It was
Attached Image
Attached Image
Attached Image

has become
Attached Image
Attached Image
Attached Image
shuchvadim
Message#4785
24.10.18, 18:46
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 13071
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1168  +

* BingO_BongO, Was meant another, but if there are threads yes
snatch.iva
Message#4786
24.10.18, 20:08
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2687
Check in: 01.04.12

Reputation:-  564  +

* sanal154,
Remove theme update applications, and deny him access to the Internet. I also suddenly threads (the last two days) began spontaneously updated in the Update component is not displayed.
MIKE-M13
Message#4787
24.10.18, 21:00
...
*********
[online]

Group: Friendssavagemessiahzine.com
Messages 2628
Check in: 08.10.12
Xiaomi Mi 5S Plus Prime

Reputation:-  925  +

Prompt what strings are responsible for the font size of the selected parameters (as I understand one line)
Attached Image
Attached Image


Post has been editedMIKE-M13 - 24.10.18, 22:13
grisha84
Message#4788
25.10.18, 07:58
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1370
Check in: 22.02.12
Xiaomi Mi 8

Reputation:-  1741  +

Вибрация при разблокировке сканером отпечатка пальца MIUI 10 download


Android 8,8.1,9. Checked on miroom 8.8.31. Requires independent or free setup.
Previously on the site multirom when it still existed and developed it was so easy for me as a modification of the vibration when you unlock android 6. Tested on my first firmware miui about 6 android. Generally the code is partially taken from their firmware, partly with other resources to the authorship does not apply, simply ported this function, who may come in useful.
Description
Settings.apk
Working with settings.apk for all versions of android is the same or similar kind as well,
Parse: Settings.apk
Open: res \ values ​​\ strings.xml
Add:
<string name = "vibrate_on">Vibration when unlocked</ string>

Open: res \ values-ru \ strings.xml
<string name = "vibrate_on">Unlock Unlock</ string>

Add the item where you want it to be:
<MiuiCheckBoxPreference android: title = "@ string / vibrate_on" android: key = "vibrate_on" android: defaultValue = "false" />

Or
<MyCheckBoxPreference android: title = "@ string / vibrate_on" android: key = "vibrate_on" android: defaultValue = "false" />

Depending on your settings
We collect

services.jar
parse:services.jar
Open:com / android / server / fingerprint / ClientMonitor
There are 2 methods:
.method public final vibrateError () V
.method public final vibrateSuccess () V

And change them all at:
.method public final vibrateError () V
.locals 4

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

const-class v2, Landroid / os / Vibrator;

invoke-virtual {v1, v2}, Landroid / content / Context; ->getSystemService (Ljava / lang / Class;) Ljava / lang / Object;

move-result-object v0

check-cast v0, Landroid / os / Vibrator;

if-eqz v0,: cond_0

sget-object v1, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_ERROR_VIBRATION_PATTERN: [J

const / 4 v2, -0x1

invoke-virtual {v0, v1, v2}, Landroid / os / Vibrator; ->vibrate ([JI) V

: cond_0
return-void
.end method


.method public final vibrateSuccess () V
.locals 4

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

const-class v2, Landroid / os / Vibrator;

invoke-virtual {v1, v2}, Landroid / content / Context; ->getSystemService (Ljava / lang / Class;) Ljava / lang / Object;

move-result-object v0

check-cast v0, Landroid / os / Vibrator;

if-eqz v0,: cond_0

sget-object v1, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_SUCCESS_VIBRATION_PATTERN: [J

const / 4 v2, -0x1

invoke-virtual {v0, v1, v2}, Landroid / os / Vibrator; ->vibrate ([JI) V

: cond_0
return-void
.end method

Then, depending on the android:
8 Android 8.1:
Open:com / android / server / fingerprint / AuthenticationClient
Find method:
.method public onAuthenticated (II) Z
We are at the end of the method about:
const / 4 v1, 0x1

or-int / 2addr v11, v1

.line 119
.local v11, "result": Z
invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->resetFailedAttempts () V

goto / 16: goto_6

And before that we add:
if-eqz v6,: cond_a

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->getContext () Landroid / content / Context;

move-result-object v0

const-string / jumbo v1, "vibrate_on"

invoke-static {v0, v1}, Landroid / preference / MiuiCoreSettingsPreference; ->getKeyParam (Landroid / content / Context; Ljava / lang / String;) I

move-result v1

if-eqz v1,: cond_a

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->vibrateSuccess () V

: cond_a

We collect.
Android 9:
Open:com / android / server / fingerprint / AuthenticationClient
Find method:
.method public onAuthenticated (II) Z
We are at the end of the method about:
or-int / 2addr v0, v2

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->resetFailedAttempts () V

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->onStop () V

: goto_a
return v0

And to add:
if-eqz v3,: cond_e

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->getContext () Landroid / content / Context;

move-result-object v4

const-string / jumbo v5, "vibrate_on"

invoke-static {v4, v5}, Landroid / preference / MiuiCoreSettingsPreference; ->getKeyParam (Landroid / content / Context; Ljava / lang / String;) I

move-result v5

if-eqz v5,: cond_e

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->vibrateSuccess () V

: cond_e

We collect.

Supplement services.jar (obligatory !!!)
Open:com / android / server / fingerprint / ClientMonitor
Adding toandroid 8
below
# static fields

.field private static final DEFAULT_ERROR_VIBRATION_PATTERN: [J


Adding toandroid 9
below
# static fields

.field private static final DEFAULT_ERROR_VIBRATION_PATTERN: [J

.field private static final FINGERPRINT_SONFICATION_ATTRIBUTES: Landroid / media / AudioAttributes;


Find
.method static constructor<clinit>() V
Replace completely android 8,8.1
.method static constructor<clinit>() V
.locals 1

.prologue
const / 4 v0, 0x4

new-array v0, v0, [J

fill-array-data v0,: array_0

sput-object v0, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_ERROR_VIBRATION_PATTERN: [J

const / 4 v0, 0x2

new-array v0, v0, [J

fill-array-data v0,: array_1

sput-object v0, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_SUCCESS_VIBRATION_PATTERN: [J

return-void

nop

: array_0
.array-data 8
0x0
0x1e
0x64
0x1e
.end array-data

: array_1
.array-data 8
0x0
0x1e
.end array-data
.end method


fully replaceandroid 9
.method static constructor<clinit>() V
.locals 2

.prologue
const / 4 v0, 0x4

new-array v0, v0, [J

fill-array-data v0,: array_0

sput-object v0, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_ERROR_VIBRATION_PATTERN: [J

const / 4 v0, 0x2

new-array v0, v0, [J

fill-array-data v0,: array_1

sput-object v0, Lcom / android / server / fingerprint / ClientMonitor; ->DEFAULT_SUCCESS_VIBRATION_PATTERN: [J

new-instance v0, Landroid / media / AudioAttributes $ Builder;

invoke-direct {v0}, Landroid / media / AudioAttributes $ Builder; -><init>() V

const / 4 v1,0x4

invoke-virtual {v0, v1}, Landroid / media / AudioAttributes $ Builder; ->setContentType (I) Landroid / media / AudioAttributes $ Builder;

move-result-object v0

const / 16 v1, 0xd

invoke-virtual {v0, v1}, Landroid / media / AudioAttributes $ Builder; ->setUsage (I) Landroid / media / AudioAttributes $ Builder;

move-result-object v0

invoke-virtual {v0}, Landroid / media / AudioAttributes $ Builder; ->build () Landroid / media / AudioAttributes;

move-result-object v0

sput-object v0, Lcom / android / server / fingerprint / ClientMonitor; ->FINGERPRINT_SONFICATION_ATTRIBUTES: Landroid / media / AudioAttributes;

return-void

nop

: array_0
.array-data 8
0x0
0x1e
0x64
0x1e
.end array-data

: array_1
.array-data 8
0x0
0x1e
.end array-data
.end method

We collect.

Screenshots
Attached Image


Addition

Post has been editedgrisha84 - 18.11.18, 17:43
Reason for editing: Added addition


--------------------
gggevgenggg
Message#4789
25.10.18, 10:01
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 985
Check in: 07.11.11

Reputation:-  849  +

* grisha84
Just forgot to specify where in the method, we add:
if-eqz v6,: cond_a

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->getContext () Landroid / content / Context;

move-result-object v0

const-string / jumbo v1, "vibrate_on"

invoke-static {v0, v1}, Landroid / preference / MiuiCoreSettingsPreference; ->getKeyParam (Landroid / content / Context; Ljava / lang / String;) I

move-result v1

if-eqz v1,: cond_a

invoke-virtual {p0}, Lcom / android / server / fingerprint / AuthenticationClient; ->vibrateSuccess () V

: cond_a

It is only for independent settings. For free setup needs to be replaced:
Landroid / preference / MiuiCoreSettingsPreference; ->getKeyParam (Landroid / content / Context; Ljava / lang / String;) I

On:
Landroid / preference / MyPreference; ->getKeyInt (Landroid / content / Context; Ljava / lang / String;) I


Post has been editedgggevgenggg - 25.10.18, 10:02


--------------------
Xiaomi Redmi Note 3 PRO 3/32, Le Eco Le2 x527, Xiaomi Pocophone F1-xiaomi.eu + modeXiaomi Pocophone F1 - Modification and decoration (Post gggevgenggg # 79544979)
To wait for gratitude is stupid, but to be ungrateful is mean.
Gr @ nD_M @ steR
Message#4790
25.10.18, 11:11
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2879
Check in: 31.03.15
Xiaomi Redmi Note 3 Pro Prime

Reputation:-  131  +

Tell me how to fasten the screen off animation on miui 10? Instructions found trying to do, and eventually something will not work probably code in miui 10 changed
grisha84
Message#4791
25.10.18, 14:04
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1370
Check in: 22.02.12
Xiaomi Mi 8

Reputation:-  1741  +

Select the type of call window MIUI 10

Android 8,8.1,9. Checked on miroom 8.10.11. Requires independent or free setup.
The code is taken from miuipro firmware, do not pretend to authorship, simply ported this function, who may come in useful.
Description
TeleService.apk
ParseTeleService.apk
I ordered the setting here (for independent settings), Where you want to:
res \ xml \ call_advanced_setting.xml
<MiuiListPreference android: entries = "@ array / call_windows_entries" android: layout = "@ layout / msim_list_preference_layout" android: title = "@ string / call_windows_title" android: key = "call_windows" android: summary = "% s" android: defaultValue = "0" android: entryValues ​​= "@ array / key_call_values" intent = "my.settings.SETPIC" />

And according tofree setup:
<MyListPreference android: entries = "@ array / call_windows_entries" android: layout = "@ layout / msim_list_preference_layout" android: title = "@ string / call_windows_title" android: key = "call_windows" android: summary = "% s" android: defaultValue = "0" android: entryValues ​​= "@ array / key_call_values" intent = "my.settings.SETPIC" />

res \ values ​​\ strings.xml
<string name = "call_windows_title">call window</ string>

res \ values ​​\ arrays.xml
<string-array name = "call_windows_entries">
<item>Full screen</ item>
<item>Pop-up window</ item>
</ string-array>
<string-array name = "key_call_entries">
<item>Hide</ item>
<item>Show</ item>
</ string-array>
<string-array name = "key_call_values">
<item>1</ item>
<item>0</ item>
</ string-array>

res \ values-ru \ arrays.xml
<string-array name = "call_windows_entries">
<item>Full screen</ item>
<item>Pop-up window</ item>
</ string-array>
<string-array name = "key_call_entries">
<item>Hide</ item>
<item>Show</ item>
</ string-array>

res \ values-ru \ strings.xml
<string name = "call_windows_title">call box</ string>

We collect.

InCallUI.apk
parse InCallUI.apk
Let's gosmali \ com \ android \ incallui \ InCallPresenter
We find a method
.method private startUi (Lcom / android / incallui / InCallPresenter $ InCallState;) Z
And completely changing on (forindependent settings)
.method private startUi (Lcom / android / incallui / InCallPresenter $ InCallState;) Z
.locals 5
.param p1, "inCallState" # Lcom / android / incallui / InCallPresenter $ InCallState;

.prologue
const / 4 v4, 0x0

const / 4 v3, 0x0

.line 1217
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1}, Lcom / android / incallui / CallList; ->getActiveCall () Lcom / android / incallui / Call;

move-result-object v1

if-eqz v1,: cond_2

.line 1218
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1}, Lcom / android / incallui / CallList; ->getIncomingCall () Lcom / android / incallui / Call;

move-result-object v1

if-eqz v1,: cond_1

const / 4 v0, 0x1

.line 1227
.local v0, "isCallWaiting": Z
: goto_0
const-string v1, "call_windows"

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mContext: Landroid / content / Context;

invoke-static {v2, v1}, Landroid / preference / MiuiCoreSettingsPreference; ->getKeyParam (Landroid / content / Context; Ljava / lang / String;) I

move-result v1

if-eqz v1,: cond_0

const / 4 v0, 0x1

: cond_0
const-string v1, "Start UI"

invoke-static {p0, v1}, Lcom / android / incallui / Log; ->d (Ljava / lang / Object; Ljava / lang / String;) V

.line 1228
if-eqz v0,: cond_5

.line 1229
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mProximitySensor: Lcom / android / incallui / ProximitySensor;

invoke-virtual {v1}, Lcom / android / incallui / ProximitySensor; ->isScreenReallyOff () Z

move-result v1

if-eqz v1,: cond_3

invoke-virtual {p0}, Lcom / android / incallui / InCallPresenter; ->isActivityStarted () Z

move-result v1

if-eqz v1,: cond_3

.line 1230
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: finish InCallActivity and updateNotification ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1231
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mInCallActivity: Lcom / android / incallui / InCallActivity;

invoke-virtual {v1}, Lcom / android / incallui / InCallActivity; ->finish () V

.line 1233
iput-object v4, p0, Lcom / android / incallui / InCallPresenter; ->mInCallActivity: Lcom / android / incallui / InCallActivity;

.line 1234
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mStatusBarNotifier: Lcom / android / incallui / StatusBarNotifier;

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1, p1, v2}, Lcom / android / incallui / StatusBarNotifier; ->updateNotification (Lcom / android / incallui / InCallPresenter $ InCallState; Lcom / android / incallui / CallList;) V

.line 1240
return v3

.line 1218
.end local v0 # "isCallWaiting": Z
: cond_1
const / 4 v0, 0x0

.restart local v0 # "isCallWaiting": Z
goto: goto_0

.line 1217
.end local v0 # "isCallWaiting": Z
: cond_2
const / 4 v0, 0x0

.restart local v0 # "isCallWaiting": Z
goto: goto_0

.line 1241
: cond_3
invoke-static {}, Lcom / android / incallui / util / Utils $ CarMode; ->isCarMode () Z

move-result v1

if-nez v1,: cond_4

.line 1242
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: showInCall ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1243
invoke-direct {p0, v3, v3}, Lcom / android / incallui / InCallPresenter; ->showInCall (ZZ) V

.line 1249
: cond_4
: goto_1
const / 4 v1, 0x1

return v1

.line 1246
: cond_5
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: updateNotification ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1247
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mStatusBarNotifier: Lcom / android / incallui / StatusBarNotifier;

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1, p1, v2}, Lcom / android / incallui / StatusBarNotifier; ->updateNotification (Lcom / android / incallui / InCallPresenter $ InCallState; Lcom / android / incallui / CallList;) V

goto: goto_1
.end method


And completely changing on (forfree setup)
.method private startUi (Lcom / android / incallui / InCallPresenter $ InCallState;) Z
.locals 5
.param p1, "inCallState" # Lcom / android / incallui / InCallPresenter $ InCallState;

.prologue
const / 4 v4, 0x0

const / 4 v3, 0x0

.line 1217
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1}, Lcom / android / incallui / CallList; ->getActiveCall () Lcom / android / incallui / Call;

move-result-object v1

if-eqz v1,: cond_2

.line 1218
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1}, Lcom / android / incallui / CallList; ->getIncomingCall () Lcom / android / incallui / Call;

move-result-object v1

if-eqz v1,: cond_1

const / 4 v0, 0x1

.line 1227
.local v0, "isCallWaiting": Z
: goto_0
const-string v1, "call_windows"

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mContext: Landroid / content / Context;

invoke-static {v2, v1}, Landroid / preference / MyPreference; ->getKeyInt (Landroid / content / Context; Ljava / lang / String;) I

move-result v1

if-eqz v1,: cond_0

const / 4 v0, 0x1

: cond_0
const-string v1, "Start UI"

invoke-static {p0, v1}, Lcom / android / incallui / Log; ->d (Ljava / lang / Object; Ljava / lang / String;) V

.line 1228
if-eqz v0,: cond_5

.line 1229
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mProximitySensor: Lcom / android / incallui / ProximitySensor;

invoke-virtual {v1}, Lcom / android / incallui / ProximitySensor; ->isScreenReallyOff () Z

move-result v1

if-eqz v1,: cond_3

invoke-virtual {p0}, Lcom / android / incallui / InCallPresenter; ->isActivityStarted () Z

move-result v1

if-eqz v1,: cond_3

.line 1230
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: finish InCallActivity and updateNotification ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1231
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mInCallActivity: Lcom / android / incallui / InCallActivity;

invoke-virtual {v1}, Lcom / android / incallui / InCallActivity; ->finish () V

.line 1233
iput-object v4, p0, Lcom / android / incallui / InCallPresenter; ->mInCallActivity: Lcom / android / incallui / InCallActivity;

.line 1234
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mStatusBarNotifier: Lcom / android / incallui / StatusBarNotifier;

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1, p1, v2}, Lcom / android / incallui / StatusBarNotifier; ->updateNotification (Lcom / android / incallui / InCallPresenter $ InCallState; Lcom / android / incallui / CallList;) V

.line 1240
return v3

.line 1218
.end local v0 # "isCallWaiting": Z
: cond_1
const / 4 v0, 0x0

.restart local v0 # "isCallWaiting": Z
goto: goto_0

.line 1217
.end local v0 # "isCallWaiting": Z
: cond_2
const / 4 v0, 0x0

.restart local v0 # "isCallWaiting": Z
goto: goto_0

.line 1241
: cond_3
invoke-static {}, Lcom / android / incallui / util / Utils $ CarMode; ->isCarMode () Z

move-result v1

if-nez v1,: cond_4

.line 1242
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: showInCall ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1243
invoke-direct {p0, v3, v3}, Lcom / android / incallui / InCallPresenter; ->showInCall (ZZ) V

.line 1249
: cond_4
: goto_1
const / 4 v1, 0x1

return v1

.line 1246
: cond_5
const-string / jumbo v1, "InCallPresenter"

const-string / jumbo v2, "startUi: updateNotification ..."

invoke-static {v1, v2}, Lcom / android / incallui / Log; ->i (Ljava / lang / String; Ljava / lang / String;) V

.line 1247
iget-object v1, p0, Lcom / android / incallui / InCallPresenter; ->mStatusBarNotifier: Lcom / android / incallui / StatusBarNotifier;

iget-object v2, p0, Lcom / android / incallui / InCallPresenter; ->mCallList: Lcom / android / incallui / CallList;

invoke-virtual {v1, p1, v2}, Lcom / android / incallui / StatusBarNotifier; ->updateNotification (Lcom / android / incallui / InCallPresenter $ InCallState; Lcom / android / incallui / CallList;) V

goto: goto_1
.end method

We collect.

Screenshots
Attached Image
Attached Image


Addition

Post has been editedVADER - 21.11.18, 15:12
Reason for editing: Supplement


--------------------
visionetik
Message#4792
25.10.18, 15:00
Not guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2464
Check in: 05.12.10

Reputation:-  964  +

Correction stock markup (Dirac) EQ

For phones with FHD + screen, Miui 10 (8.1)
Foreword
I do not know how it looks on the EQ screen HD / FHD screen, but I have to FHD + markup completely broken. Digits decibels slid down the figures with bands of frequencies left down and right. A lot of empty space on the screen. If you look closely, are rods on the slider too bowed his head to the right as sunflowers. Not to mention the dark gray interface.
Attached Image

This looks not very much.
Fix.

Description
ParseSettings.apkand throws the replacement files from the archive below.
Attached fileSettings.zip(14.89 Kb)

The archive files are fixed markup equalizer window, the amended background and icons repainted.


Open up
values ​​\ colors.xmland correct your settings for these
<color name = "dirac_equalizer_curve"># ff000000</ color>
<color name = "dirac_equalizer_curve_shadow"># ff000000</ color>

values ​​\ dimens.xmlfix on
<dimen name = "eq_effect_type_margin_top">12.0dip</ dimen>
<dimen name = "eq_first_seekbar_padding_left">40.0dip</ dimen>
<dimen name = "eq_seekbar_height">442.5dip</ dimen>
<dimen name = "eq_seekbar_width">50.0dip</ dimen>
<dimen name = "surface_margintop">23.0dip</ dimen>

values-xxhdpi \ dimens.xmlfix on
<dimen name = "eq_seekbar_height">442.0dip</ dimen>

ATvalues ​​\ style.xmlfind a style
<style name = "TranslucentTheme" parent = "@ miui: style / Theme.Dark">
<item name = "android: windowTranslucentStatus">true</ item>
</ style>

and replace it with
<style name = "TranslucentTheme" parent = "@ miui: style / Theme.Light">
<item name = "android: windowTranslucentStatus">true</ item>
<item name = "android: windowLightStatusBar">true</ item>
<item name = "android: windowTranslucentNavigation">true</ item>
</ style>

We collect.

PS
It remained a small school in a plohochitaemyh navigation bar buttons. At the final screenshot it shows. For me, it's not a problem (I use gestures), but if someone will tell you where to improve, I will be grateful.


Screenshots
Attached Image

small life hacking
Useful for those who frequently change the firmware to each time not nastravivat equalizer on the new, especially if several presets, can be their own settings file, which is miui10 (8.1) is on the way
data / user_d / 0 / com.android.settings / shared_prefs / dirac.xml
save to USB flash drive and replace the file after reinstalling the system. Pay attention, that the resolution of the file has -rw-rw ----

You can also edit the EQ presets stock, which are set out in
arrays.xml
<string-array name = "dirac_equalizer_preset_values">


Post has been editedvisionetik - 25.10.18, 15:25
MiPokser
Message#4793
25.10.18, 15:29
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 5214
Check in: 22.04.15
Xiaomi Redmi Note 5 3/32

Reputation:-  1549  +

Vertical / Horizontal Network Icons

Tested on: Xiaomi Redmi Note 5
  • Android versions:Android 8.1.0
  • Shell / firmware:MIUI 10 Global Stable

Description / Instruction
  1. Free settings - Free preferences Must be setup

Network icons

  1. upright
  2. Horizontally

Open up
MiuiSystemUI / smali / com / android / systemui / statusbar / SignalClusterView.smali

To find
.method static synthetic -get3 (Lcom / android / systemui / statusbar / SignalClusterView;) Z
.registers 2

iget-boolean v0, p0, Lcom / android / systemui / statusbar / SignalClusterView; ->mNotchEar: Z

return v0
.end method

Replaced by
.method static synthetic -get3 (Lcom / android / systemui / statusbar / SignalClusterView;) Z
.registers 2

invoke-direct {p0}, Lcom / android / systemui / statusbar / SignalClusterView; ->setStatusBarMi () Z

move-result v0

return v0
.end method

Add at the end
.method private setStatusBarMi () Z
.registers 4

const / 4 v2, 0x0

iget-object v0, p0, Lcom / android / systemui / statusbar / SignalClusterView; ->mContext: Landroid / content / Context;

const-string v1, "icon_signal"

invoke-static {v0, v1}, Landroid / preference / MyPreference; ->getKeyInt (Landroid / content / Context; Ljava / lang / String;) I

move-result v1

if-eqz v1,: cond_c

const / 4 v2, 0x1

: cond_c
return v2
.end method

We disassemble Settings.apk
Settings \ res \ values-ru \ strings.xml
<string name = "icon_signal_title">Icon network</ string>
<string name = "icon_signal_on">upright</ string>
<string name = "icon_signal_off">Horizontally</ string>

Settings / res / xml / where you are comfortable
<MyCheckBoxPreference android: title = "@ string / icon_signal_title" android: key = "icon_signal" android: defaultValue = "false" android: summaryOn = "@ string / icon_signal_on" android: summaryOff = "@ string / icon_signal_off" />



Screenshots
Attached Image


Addition

Post has been editedVADER - 12.12.18, 16:44
Reason for editing: Supplement
VADER
Message#4794
25.10.18, 19:30
Experienced
******
[online]

Topics Curator
Group: Curators
Messages 657
Check in: 16.06.15
Xiaomi Redmi Note 4 3/64

Reputation:-  496  +

[MIUI 9/10] Always show input field in dialer

Contacts.apk
Open com / android / contacts / dialer / DialerViewController.smali

In the .method public constructor method<init>

If you .locals 1, replaced by .locals 2

iput-object v0, p0, Lcom / android / contacts / dialer / DialerViewController; ->mShowInputViewRunnable: Ljava / lang / Runnable;

new-instance v0, Lcom / android / contacts / dialer / DialerViewController $ 7;

invoke-direct {v0, p0}, Lcom / android / contacts / dialer / DialerViewController $ 7 -><init>(Lcom / android / contacts / dialer / DialerViewController;) V

iput-object v0, p0, Lcom / android / contacts / dialer / DialerViewController; ->mHideInputViewRunnable: Ljava / lang / Runnable;

Replaced by
iput-object v0, p0, Lcom / android / contacts / dialer / DialerViewController; ->mShowInputViewRunnable: Ljava / lang / Runnable;

iput-object v0, p0, Lcom / android / contacts / dialer / DialerViewController; ->mHideInputViewRunnable: Ljava / lang / Runnable;

At the end of the method add (to the return-void)
iget-object v0, p0, Lcom / android / contacts / dialer / DialerViewController; ->mInputContainer: Landroid / view / View;

iget-object v1, p0, Lcom / android / contacts / dialer / DialerViewController; ->mShowInputViewRunnable: Ljava / lang / Runnable;

invoke-virtual {v0, v1}, Landroid / view / View; ->post (Ljava / lang / Runnable;) Z


Screenshot
Attached Image


Post has been editedVADER - 25.10.18, 23:59


--------------------
DeveloperAndroid ROM Tool
LightOneTeam
gdb417
Message#4795
26.10.18, 00:24
Passed by.
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 15681
Check in: 27.02.07

Reputation:-  3014  +

shuchvadim @ 19.10.18, 8:19*
Hello ! Can anyone in this topic to date. Through ADB plugin Tottle Commanderie nedaot files on my system, and also non-retentive in their editing. Presentation of the system is done through the busiboks. Change selinuks nepomogaet mode too. Miui 9 Global, android 7.1


Before working with TOTAL through the console give the command
adb shell
su
In this case, your smartphone will display a request for permission to Root Shell Shell
After that run through the plug and Total adb unite with the body.
shuchvadim
Message#4796
26.10.18, 06:52
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 13071
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1168  +

* gdb417, Tried and so nepomoglo
Zelgros
Message#4797
26.10.18, 08:13
Visitor
**
[offline]

Group: Active users
Messages 26
Check in: 06.07.18

Reputation:-  1  +

Good afternoon. Can someone tell me how to picking through the system to make the simultaneous illumination of both LEDs in the flashlight mode. Xiaomei redmi notes 4. Snapdragon, 4 to 64. Ruth is. It would be desirable to increase the brightness of the flashlight without third-party applications. Miu 9 globalka stable. Thanks.

Post has been editedZelgros - 26.10.18, 08:38
Reason for Editing: Add a description
gdb417
Message#4798
26.10.18, 08:48
Passed by.
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 15681
Check in: 27.02.07

Reputation:-  3014  +

* grisha84, Look here my response according to the word transparentDark.

Post has been editedVADER - 26.10.18, 09:40
VADER
Message#4799
26.10.18, 09:42
Experienced
******
[online]

Topics Curator
Group: Curators
Messages 657
Check in: 16.06.15
Xiaomi Redmi Note 4 3/64

Reputation:-  496  +

K
Holivar finished.
Topic cleaned.


--------------------
DeveloperAndroid ROM Tool
LightOneTeam
aleks_wot
Message#4800
26.10.18, 10:02
Experienced
******
[online]

Group: Friendssavagemessiahzine.com
Messages 428
Check in: 02.03.16
Xiaomi Redmi 5 Plus 4/64

Reputation:-  161  +

Colleagues, please send us the file stock incallui.apk and teleservis.apk from miui10global 8.10.18.

Post has been editedaleks_wot1994 - 26.10.18, 10:03
shuchvadim
Message#4801
26.10.18, 10:09
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 13071
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1168  +

* aleks_wot1994You if it is necessary to return to the unit, ask in the name of the firmware on the topic of your device

348 pagesV  « < 238 239 240 241 242 243 > » 


 mobile version    Now: 11.03.19, 19:41