> Attention!

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



Decorating Orders Desk for Sony Ericsson and Sony Xperia | Mods, graphics, translations and other tuning



Rep: (245)
Attached Image

Logo author muzontnt

In this topic we leave requests for changing and editing system files, changing graphics in applications, mods, etc.


Links to relevant and useful topics:

Forum Rules | Icons, dock bars and backgrounds | Wallpaper | Search for themes, icons, wallpapers, widgets | Photoshop | Editing framework-res.apk | New way to change applications (translation) | Lessons, FAQ on editing system resources | Pantry Graphics | Battery Indicator Percentage

The rules of the topic.
  1. In this thread, we leave requests for changing graphics in applications, creating mods, etc.
    All questions on search, resizing, color, etc. set in the profile topics.
  2. Strictly prohibited questions; how to install, how to set permissions, where to copy a file, etc. etc.
    This topic is not for consultation, only the execution of orders!

  3. We describe all requests as completely as possible, we write concisely, so that everyone can understand what it is about.
    When composing a message, it is necessary to indicate the version of the firmware, the code / deodex, whether a mod has already been installed, wishes, attach files for editing, etc.
  4. Be sure to attach frames from the firmware, in addition to the system files that are intended for editing. The frames (located in the system \ framework) are called files.
    framework-res.apk and SemcGenericUxpRes.apk


    In the absence of the necessary files, the request will be denied and the order will be deleted.

  5. To fully understand your desires, be sure to supplement your orders with screenshots.
  6. It is forbidden to upload screenshots in BMP format.
  7. Registration of messages with a request for modification is allowed only in accordance with the template.
    All non-template messages will be deleted without warning!
  8. The topic is fully subject to the rules of the forum.
    Failure to comply is punishable.
  9. Removed without warning:messages containing images outside the spoiler;

General conditions and recommendations:
  • Patiently waiting for an answer. Duplication of messages is prohibited by the Rules of the forum.
  • The one who undertakes to help writes an approximate answer: "Nick (the one who wants the decorator), I'll do it."
    Conducting dialogue in the process of creating a mod to implement in QMS
  • If the order is made, add it at the bottom of the post.
    [SIZE = 3] [COLOR = green] [B] Done [/ B] [/ COLOR] [/ SIZE]

  • Acknowledgments: If you want to thank the user for the help, do not write the message “Thank you! You are super!!!".
    Just press the buttonAttached Imagenext 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 buttonAttached Image
  • If you used material from this topic in your work, be sure to include the name of the author.

Manuals
Mods made in this topic
Android 2.3

Android 4.X
Dialers


Lockscreen BLACKBERRY TEN !!! For HDPI phones ("Android 4.0.x (ICS) - 587")
Vibration with line busy, call completed. For HDPI 587 4.0.4
Modified Conversations from SXZ for phones of 2011!
scrubbers (sliders) with normal markers for HDPI
Themes from Xperia Z
Sony Xperia â„¢ HDPI Butanimation
SMS (Conversations.apk) with xperia Z
Laucher 5.1.S.0.0 modified with graphics (for 2012 models)
Xperia AX_v1beta mod
The final version of the new launcher from T-patches!
curtain with 20 corners and settings 6.0
Fully customizable curtain with 20 widgets (with Small Apps support) , The same curtain with fixed transparency
Minimod (working on all bodies of the 2011 line on firmware .431 and .587)
Shutter with interest (587 firmware) (with support for Small Apps)
status bar with a clock in the middle
Reduced font in setting and lock screen
"Stretched" setting without add. points (option 3), but with WaiFay location:here
Background reading from applications and without mourning frames:here
"Stretched" setting without NaviBar (option 2):here
Another setting (var. 2) with a different location ext. items:here
Framework with slightly modified graphics:here
Another framework with modified graphics:here
Shutters "designer"here
Shutter v7here
Shutter for SXS + m7 Control Panel!Here

AndroidKK 4.4.2 - 4.4.4



Post design template.
Copy to your message and fill.
[CENTER] [size = 3] [b] [COLOR = crimson] Application for editing. [/ COLOR] [/ b] [/ size] [/ CENTER]
[B] Device Name [/ B] - we indicate the exact model
[B] Android version [/ B] - we indicate the version of the android and the firmware version (coke or deodex)
[SPOILER = Wishes. What should be done:] VERY DETAILED DESCRIBE WHAT IT IS NECESSARY TO DO [/ SPOILER]
[SPOILER = Screenshots:] indicate in the screenshots that we want to change [/ SPOILER]
[b] [color = "darkblue"] Files: [/ color] [/ b] HERE POST THE ARCHIVE WITH ALL NECESSARY FILES (be sure to attach your framework-res.apk and SemcGenericUxpRes.apk files from the framework folder)


topic curator sergos77

Post has been editedsergos77 - 21.03.16, 14:45
Reason for editing: cap update



Rep: (1267)
DodgeWooW @ 12/28/2012, 12:12*
I can not find


INSTRUCTIONS for activating the wake-up function on the volume and camera buttons


make outandroid.policy.jar
search fileKeyguardViewMediator.smali

delete0x18 line-activates c. up
delete0x19 line-activates c. way down
delete0x1b row - activates the camera

K
Added to the header


Post has been editedart0502ver - 28.12.12, 11:39



Rep: (275)
Incomplete instructions for adding killApp by long pressing the Nazat button
(if Ivan adds instructions that need to be added to the setings add here too)
1. Decompileframework-res.apk

one line should be added:
in values ​​/ string.xml
<string name = "app_killed_message">Application killed</ string>

in values-ru / string.xml
<string name = "app_killed_message">Applications stopped</ string>

Well, in the values ​​/ public.xml prescribe the identifier of this line
in order

<public type = "string" name = "app_killed_message" id = "0x01040528" />

Id assign your in order
Example
<public type = "string" name = "recovery_progress" id = "0x01040520" />
<public type = "string" name = "recovery_confirm" id = "0x01040521" />
<public type = "string" name = "recovery_confirm_question" id = "0x01040522" />
<public type = "string" name = "global_action_screenshot_txt" id = "0x01040523" />
<public type = "string" name = "permlab_smallapp" id = "0x01040524" />
<public type = "string" name = "permdesc_smallapp" id = "0x01040525" />
<public type = "string" name = "permlab_externalTaskSwitcher" id = "0x01040526" />
<public type = "string" name = "permdesc_externalTaskSwitcher" id = "0x01040527" />
<public type = "string" name = "app_killed_message" id = "0x01040528" />

2. We decompile android.policy.jar


2. Downloading the attached archive
3. Unpack the archive, copy both files from it along the path android.policy \ smali \ com \ android \ internal \ policy \ impl with replacement
4. Compile android.policy.jar, replace the classes.dex file from the android.policy \ build \ apk folder in the source file of the file we compiled
5. Everything is ready
6. Nuance: before copying files, make sure that you have the PhoneWindowManager file $ 24.smali and the PhoneWindowManager file $ 25.smali is missing.

There are lines in PhoneWindowManager $ 25.smali

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

const v6,0x1040523(default id from downloaded archive)

const / 4 v7, 0x0

0x01040523, you need to replace the one that we added in the framework-res.apk. (for example, I have 0x01040528)


Looking for a picksetingsI don’t know this, please contact Ivan} -)
networks where this feature is already enabledAttached fileSettings.apk(3.35 MB)

and more stock networks with sewed kilapAttached fileSettings.apk(3.35 MB)

and here is the archive with smilesAttached fileandroid.policy.rar(32.95 KB)

looking for one instructionEditing system apk Samsung GT-i9100 Galaxy S II (Post # 16736546)

Post has been editedviorel78 - 28.12.12, 18:18



Rep: (7744)
Drop somebody's files before the change and changed with KILLAPP. I want to do for my phone, but I do not know how. Or instructions in Russian.

read here:Desk orders for decorations for Sony Ericsson and Sony Xperia (Post # 17717418)
and here:Editing system apk Samsung GT-i9100 Galaxy S II (Post # 16736546)



Rep: (1267)
Translated a new curtain V7
And at the same time I fixed the cant in the smiles with notifications
Attached fileSystemUI.apk(1.23 MB)
Attached fileSystemUIPreferences.apk(102.51 KB)


Attached Image
Attached Image




K
Added to the header


Post has been editedmike220 - 03.01.13, 15:41



Rep: (275)
Ivan, yes, this braviya2 in life will not work on a network with a lock. On the whole night, the picking campaign in which bravia works.
In short, you need to make changes in DispleySettings.smali (just replace it will not work need to be added) here I kind of copied from there everything related to this hemorrhoids --- for me it's too hard
# direct methods
.method public constructor<init>() V
.locals 2

.prologue
.line 56
invoke-direct {p0}, Lcom / android / settings / SettingsPreferenceFragment; -><init>() V

.line 75
const / 4 v0, 0x0

iput v0, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiVersion: I

.line 96
const / 4 v0, 0x0

iput-object v0, p0, Lcom / android / settings / DisplaySettings; ->mLockscreen: Landroid / preference / PreferenceScreen;

.line 98
new-instance v0, Landroid / content / res / Configuration;

invoke-direct {v0}, Landroid / content / res / Configuration; -><init>() V

iput-object v0, p0, Lcom / android / settings / DisplaySettings; ->mCurConfig: Landroid / content / res / Configuration;

.line 102
new-instance v0, Lcom / android / settings / DisplaySettings $ 1;

new-instance v1, Landroid / os / Handler;

invoke-direct {v1}, Landroid / os / Handler; -><init>() V

invoke-direct {v0, p0, v1}, Lcom / android / settings / DisplaySettings $ 1; -><init>(Lcom / android / settings / DisplaySettings; Landroid / os / Handler;) V

iput-object v0, p0, Lcom / android / settings / DisplaySettings; ->mAccelerometerRotationObserver: Landroid / database / ContentObserver;

return-void
.end method




.line 298
invoke-direct {p0}, Lcom / android / settings / DisplaySettings; ->updateSwIqiCheckbox () V

.line 299
return-void
.end method

.method private updateSwIqiCheckbox () V
.locals 5

.prologue
const / 4 v0, 0x1

const / 4 v1,0x0

.line 317
iget v2, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiVersion: I

packed-switch v2,: pswitch_data_0

.line 328
: goto_0
return-void

.line 319
: pswitch_0
iget-object v2, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

const-string v3, "persist.service.swiqi.enable"

invoke-static {v3, v1}, Landroid / os / SystemProperties; ->getInt (Ljava / lang / String; I) I

move-result v3

if-eqz v3,: cond_0

: goto_1
invoke-virtual {v2, v0}, Landroid / preference / CheckBoxPreference; ->setChecked (Z) V

goto: goto_0

: cond_0
move v0, v1

goto: goto_1

.line 322
: pswitch_1
iget-object v2, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

invoke-virtual {p0}, Lcom / android / settings / DisplaySettings; ->getContentResolver () Landroid / content / ContentResolver;

move-result-object v3

const-string v4, "com.sonymobile.swiqi2_mode"

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

move-result v3

if-eqz v3,: cond_1

: goto_2
invoke-virtual {v2, v0}, Landroid / preference / CheckBoxPreference; ->setChecked (Z) V

goto: goto_0

: cond_1
move v0, v1

goto: goto_2

.line 317
: pswitch_data_0
.packed-switch 0x1
: pswitch_0
: pswitch_1
.end packed-switch
.end method




.line 145
: goto_0
const-string v5, "ro.service.swiqi2.supported"

invoke-static {v5, v7}, Landroid / os / SystemProperties; ->getBoolean (Ljava / lang / String; Z) Z

move-result v5

if-eqz v5,: cond_4

.line 146
const / 4 v5, 0x2

iput v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiVersion: I

.line 147
const-string v5, "swiqi_strings_swiqi_txt"

invoke-virtual {p0, v5}, Lcom / android / settings / DisplaySettings; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v5

check-cast v5, Landroid / preference / CheckBoxPreference;

iput-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

.line 148
iget-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

invoke-virtual {v5, v7}, Landroid / preference / CheckBoxPreference; ->setPersistent (Z) V

.line 149
iget-object v8, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

const-string v5, "com.sonymobile.swiqisettingsservice"

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

move-result v5

if-eqz v5,: cond_3

move v5, v6

: goto_1
invoke-virtual {v8, v5}, Landroid / preference / CheckBoxPreference; ->setChecked (Z) V

.line 150
iget-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

const v6,0x7f0b0660

invoke-virtual {v5, v6}, Landroid / preference / CheckBoxPreference; ->setTitle (I) V

.line 163
: goto_2
invoke-virtual {p0}, Lcom / android / settings / DisplaySettings; ->getResources () Landroid / content / res / Resources;

move-result-object v5

const v6, 0x7f090007

invoke-virtual {v5, v6}, Landroid / content / res / Resources; ->getBoolean (I) Z

move-result v5

if-eqz v5,: cond_0

.line 164
const-string v5, "brightness"

invoke-virtual {p0, v5}, Lcom / android / settings / DisplaySettings; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v0

check-cast v0, Lcom / android / settings / BrightnessPreference;

.line 166
.local v0, brightnessPreference: Lcom / android / settings / BrightnessPreference;
const v5,0x7f0b061d

invoke-virtual {v0, v5}, Lcom / android / settings / BrightnessPreference; ->setSummary (I) V

.line 169
.end local v0 #brightnessPreference: Lcom / android / settings / BrightnessPreference;
: cond_0
const-string v5, "lockscreen"

invoke-virtual {p0, v5}, Lcom / android / settings / DisplaySettings; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v5

check-cast v5, Landroid / preference / PreferenceScreen;

iput-object v5, p0, Lcom / android / settings / DisplaySettings; ->mLockscreen: Landroid / preference / PreferenceScreen;

.line 170
return-void

.line 137
: cond_1
: try_start_0
iget-object v8, p0, Lcom / android / settings / DisplaySettings; ->mNotificationPulse: Landroid / preference / CheckBoxPreference;

const-string v5, "notification_light_pulse"

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

move-result v5

if-ne v5, v6,: cond_2

move v5, v6

: goto_3
invoke-virtual {v8, v5}, Landroid / preference / CheckBoxPreference; ->setChecked (Z) V

.line 139
iget-object v5, p0, Lcom / android / settings / DisplaySettings; ->mNotificationPulse: Landroid / preference / CheckBoxPreference;

invoke-virtual {v5, p0}, Landroid / preference / CheckBoxPreference; ->setOnPreferenceChangeListener (Landroid / preference / Preference $ OnPreferenceChangeListener;) V
: try_end_0
.catch Landroid / provider / Settings $ SettingNotFoundException; {: try_start_0 ..: try_end_0}: catch_0

goto: goto_0

.line 140
: catch_0
move-exception v4

.line 141
.local v4, snfe: Landroid / provider / Settings $ SettingNotFoundException;
const-string v5, "DisplaySettings"

const-string v8, "notification_light_pulse not found"

invoke-static {v5, v8}, Landroid / util / Log; ->e (Ljava / lang / String; Ljava / lang / String;) I

goto: goto_0

.end local v4 #snfe: Landroid / provider / Settings $ SettingNotFoundException;
: cond_2
move v5, v7

.line 137
goto: goto_3

: cond_3
move v5, v7

.line 149
goto: goto_1

.line 151
: cond_4
const-string v5, "ro.service.swiqi.supported"

invoke-static {v5, v7}, Landroid / os / SystemProperties; ->getBoolean (Ljava / lang / String; Z) Z

move-result v5

if-eqz v5,: cond_6

.line 152
iput v6, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiVersion: I

.line 153
const-string v5, "swiqi_strings_swiqi_txt"

invoke-virtual {p0, v5}, Lcom / android / settings / DisplaySettings; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v5

check-cast v5, Landroid / preference / CheckBoxPreference;

iput-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

.line 154
iget-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

invoke-virtual {v5, v7}, Landroid / preference / CheckBoxPreference; ->setPersistent (Z) V

.line 155
iget-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

const-string v8, "persist.service.swiqi.enable"

invoke-static {v8, v7}, Landroid / os / SystemProperties; ->getInt (Ljava / lang / String; I) I

move-result v8

if-eqz v8,: cond_5

: goto_4
invoke-virtual {v5, v6}, Landroid / preference / CheckBoxPreference; ->setChecked (Z) V

goto: goto_2

: cond_5
move v6, v7

goto: goto_4

.line 158
: cond_6
invoke-virtual {p0}, Lcom / android / settings / DisplaySettings; ->getPreferenceScreen () Landroid / preference / PreferenceScreen;

move-result-object v5

const-string v6, "swiqi_strings_swiqi_txt"

invoke-virtual {p0, v6}, Lcom / android / settings / DisplaySettings; ->findPreference (Ljava / lang / CharSequence;) Landroid / preference / Preference;

move-result-object v6

invoke-virtual {v5, v6}, Landroid / preference / PreferenceScreen; ->removePreference (Landroid / preference / Preference;) Z

.line 159
const / 4 v5, 0x0

iput-object v5, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

goto: goto_2
.end method



.line 354
.end local v0 #chooser: Landroid / content / Intent;
.end local v3 #pickTheme: Landroid / content / Intent;
: cond_5
iget-object v8, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

if-eqz v8,: cond_8

iget-object v8, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

if-ne p2, v8,: cond_8

.line 355
iget v8, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiVersion: I

packed-switch v8,: pswitch_data_0

goto: goto_0

.line 358
: pswitch_0
const-string v7, "persist.service.swiqi.enable"

iget-object v6, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

invoke-virtual {v6}, Landroid / preference / CheckBoxPreference; ->isChecked () Z

move-result v6

if-eqz v6,: cond_6

const-string v6, "1"

: goto_2
invoke-static {v7, v6}, Landroid / os / SystemProperties; ->set (Ljava / lang / String; Ljava / lang / String;) V

goto: goto_0

: cond_6
const-string v6, "0"

goto: goto_2

.line 362
: pswitch_1
invoke-virtual {p0}, Lcom / android / settings / DisplaySettings; ->getContentResolver () Landroid / content / ContentResolver;

move-result-object v8

const-string v9, "com.sonymobile.swiqi2_mode"

iget-object v10, p0, Lcom / android / settings / DisplaySettings; ->mSwIqiEnabled: Landroid / preference / CheckBoxPreference;

invoke-virtual {v10}, Landroid / preference / CheckBoxPreference; ->isChecked () Z

move-result v10

if-eqz v10,: cond_7

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

goto: goto_0

: cond_7
move v7, v6

goto: goto_3


I think it will be easier to transfer the settings of Lockscreen from the ski to this network

Post has been editedviorel78 - 30.12.12, 05:43



Rep: (928)
Attempt to port a flashlight with SGS3!

Instruction ishere .
Also oriented on readyMOD for SGS2 . there is also such such for SGS3.
1. Added all lines to fileKeyguardViewMediator.smali - As a result, the phone worked stably!
2. FileKeyguardViewMediator $ 2.smali took ready with mod for SGS2 as he, in my opinion: scratch_one-s_head: is no different from ours (except for the lines responsible for the flashlight) - as a result, the phone worked stably until the first lock (changing lockscreen for AOSP, for example, did not affect the result)
3. The biggest problems with editing a filePhoneWindowManager.smali , despite the fact that at first glance there is nothing to edit, but the logic prompted that all the values ​​that should be replaced in the instruction like this:
IT WAS:
:cond_21
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v41 , v0

invoke-virtual / range{v41 .. v41} , Lcom / android / internal / policy / impl / KeyguardViewMediator; ->isShowingAndNotHidden () Z

move-resultv41

if-eqzv41 , : cond_22

.line 1275
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v41 , v0

move-object / from16 v0,v41

move v1, v8

invoke-virtual {v0, v1}, Lcom / android / internal / policy / impl / KeyguardViewMediator; ->setTorch (Z) V

.line 1276
rem-int / lit8v41 , v31 , 0xf

if-nez v41,:cond_22

.line 1277
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v41 , v0

invoke-virtual / range{v41 .. v41} , Lcom / android / internal / policy / impl / KeyguardViewMediator; ->pokeWakelock () V

:cond_22

BECAME:
:cond_9
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v26 , v0

invoke-virtual / range{v26 .. v26} , Lcom / android / internal / policy / impl / KeyguardViewMediator; ->isShowingAndNotHidden () Z

move-resultv26

if-eqzv26 , : cond_a

.line 1275
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v26 , v0

move-object / from16 v0,v26

move v1, v8

invoke-virtual {v0, v1}, Lcom / android / internal / policy / impl / KeyguardViewMediator; ->setTorch (Z) V

.line 1276
rem-int / lit8v26 , v16 , 0xa

if-nezv26 , : cond_a

.line 1277
move-object / from16 v0, p0

iget-object v0, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mKeyguardMediator: Lcom / android / internal / policy / impl / KeyguardViewMediator;

move object / from16v26 , v0

invoke-virtual / range{v26 .. v26} , Lcom / android / internal / policy / impl / KeyguardViewMediator; ->pokeWakelock () V

.line 1604
:cond_a

+ eachcond_x after the added lines increased by +1 until the end of the method.
As a resultcyclorebute :'(
And it is not entirely clear where to add (and how to change) the values ​​that should lie before these lines?
And with the values ​​that are markedpink color?

Mod flashlight did based onandroid.policy from pack XPERIA_HD_MiniPack + m7Parts! _V5 .

FILES:

1. Archive with changedKeyguardViewMediator.smali - the phone works with it!
Attached fileORIG_android.policy.rar(42.75 KB)

2. Archive with files for SGS2 - my landmark.
Attached fileSGS2_android.policy.rar(48.81 KB)

3. Archive with files with instructions from XDA
Attached fileInstructions.rar(174.3 KB)

4. Unsuccessfully edited by mePhoneWindowManager.smali
Attached filePhoneWindowManager.smali.rar(31.98 KB)


I ask those who understand this to help or at least to suggest whether it is realistic to do this?

Post has been editedDodgeWooW - 03.01.13, 02:21



Rep: (7744)
Due to the numerous requests from users, he compiled a small manual
How to calculate transparency in Android

Any color in the Android system applications is defined in two ways: either by specifying the system color (white, black, holo, etc.), in this case, this color is written in the frame, or using a specific code.
The code is an eight-digit set of numbers, of which the first two are color transparency, the next six are the color itself.
ff000000
Whereff - transparency (in this case, opaque 100%), 000000 - color (in this case black)
The color code is easy to learn by entering the word in the Yandex search engine.Colour ". Then you will be taken to the color definition page, where after selecting a color, our code will be written in the window (and the name of the color, always wondering who comes up with these names?: D)
Screen
Attached Image

Now about transparency.
I do this:
For example, I need the background color to be 80%transparent
1. Calculate the formula
2.55 x (100-80)=51 where 80 is our transparency
2. Go here:http://www.radiolibrary.ru/services/notation.html
3. In the left column, we expose the decimal numbering system (normal), in the right hand column the hexadecimal (Java and Android, respectively), we enter our result in the upper window51 , click Translate and see Translation result =33 where 33 is our desired transparency for Android
Screen
Attached Image

4. As a result, the required transparency will be recorded as33000000 - black with 80% transparency
In the same way, only in the reverse order, you can find out what transparency is set for a particular color.


K
Added to Useful


Post has been editedmike220 - 05.01.13, 18:05



Rep: (928)
Found a replacementthis venture, so probably hang up :)
Analogue is a programWidgetlocker lockscreen
a lot of settings and the main thing is stable!
It looks like this:
Attached Image

Implementationflashlight made very convenient, when you slide on a flashlight, the screen remains locked and does not go off (completely) until you repeatedly slide over the flashlight!



Rep: (928)
ivan-68,
viorel78,
I also thought about it, how to tie the third link there?Widgetlocker has such a lock too

I think you need to disassembleWidgetlocker find item " actions built into Widgetlocker "such a window will appear, and see with which line this item launches the TeslaLED program? and try, at first, at least to fasten the camera instead of the camera.
Attached Image



Viorel78 @ 01/05/2013, 14:20*
scary flashlight icon

icons, you can tie any;)

Post has been editedDodgeWooW - 05.01.13, 16:55



Rep: (891)
How to properly modify themes for Xperia 2012 \ 2013


Introduction
So friends. By popular demand, I decided to write instructions on how to change themes for Xperia 2012 so that they also work. There is some kind of protection on the topics, maybe they missed through the obfuscator, maybe something else. In any case, the theme becomes either completely non-working and disappears from the available ones, or it acquires an image of a white envelope instead of a preview and is not fully applied.
Firstly, the instruction of my authorship, i.e. at the time of writing there is no other way. Everything that you see on XDA, either simply replaces the pictures, or it came out from under my compiler.
Secondly, it was written exclusively for people who already have a certain amount of experience in modifications, i.e. How to install apkulzu, for example, I will not describe - our forum is wonderful + Google to help.
And thirdly: I will try not to make memoirs out of instructions and more experienced modders will have to read another spoiler of everything, I will give an algorithm and tools. :)

Sequence of actions \ Tools
We will need:
-ApkTools (I am using version 150, experimental)
-Notepad ++
-AptDiff (or any other program to compare files in HEX-mode.)

The solution is old school. Let's go to the algorithm:

1. Unpack the topic.
2. Changing nothing we pack it.
3. In the folderbuild \ apk \ change the name of the desired part of the compiled theme.
4. We change in resources something and we pack. Received in the folderbuild \ apk \ two copies of compiled resources are modified and unchanged, both are compiled.
5. Open these resources in AptDiff and look at the differences.
6. Extract the required resource file from the original theme file, open it in Notepad ++, and click on it.Plugins-HEX-Editor-View in HEXand, comparing differences, we correct our source file of resources.
7. Save, throw in the archive with the theme, rejoice.

In the next spoiler, let's look at all this with an example of changing the color scheme)

Example step by step
1. So, unpack the subject. Take for example GreenTheme.
2. Drag and drop the theme just disassembled on a batch file with a value of -b (compile).
3. The color scheme lies inres \ values ​​\ colors.xml , and after compilation will be in resources.arsc then rename resources.arsc at 0resources.arsc .
4. In order to change the colors of the theme, we need to replace the color code inres \ values ​​\ colors.xml In stock The greenTheme lines look like this:
<color name = "semc_theme_accent_color">#ff4ed546</ color>
<color name = "semc_theme_illumination_color">#ff31cf18</ color>

Let's make it into an orange theme. The code highlighted in blue is the degree of transparency, the code highlighted in green is the actual color. To find out the code of a certain color, you can use Photoshop, but I use the Yandex service, we enter on the Yandex page in the search bar "Orange" and it gives us the color code-ffa500
We correct our xml for this color, we get:
<color name = "semc_theme_accent_color">#ffffa500</ color>
<color name = "semc_theme_illumination_color">#ffffa500</ color>

Save the file. Drag the theme folder onto the batch file with the -b value (compile again).
Received in the folderbuild two copies of compiled resources changed and unchanged , both compiled.
5. Open the resource data (0resources.arsc \ resources.arsc from the folderbuild \ apk ) AptDiff and look at the differences.
6. Extract from the original theme file (greentheme.apk) the resource file (resources.arsc, just winrar somewhere), open it in Notepad ++, poke it inPlugins-HEX-Editor-View in HEXand, comparing differences, we correct our source file of resources. I will not give values, from firmware to firmware, they are different, it is meaningless ...
7. Save the resource file edited in HEX-mode and add it to the archive of the original theme as in the original (sorry for taftalogiya), i.e. "Compression Mode" = "Without Compression".
As a result, the resources, more precisely, the color scheme, were changed, while the preview and the possibility of using the background remained. Hooray, we shod protection in general and Sony programmers in particular)

What can be modified
Preview threads
Replace without problems with similar ones in resolution \ format and name, but do not even think about adding them to the archive with a theme with any degree of compression - only "Without compression "otherwise the topic will not be fully applied

Theme Pictures
Replaced without problems, find to taste, rename as in the original and replace.

Theme colors
Lie inres \ values ​​\ colors.xml , change as described in the spoiler "Example step by step". However, on devices with a color bar, the second line of color may end up being displayed differently from what the color actually looks like. The solution is to select the appropriate color for a long time and persistently so that the Xperia S \ SL \ U LEDs display them in tune to the main color (the first line of the code)

Topic title
Stored inres \ values ​​\ strings.xml, edit only through HEX, but there is one but the number of characters in the new name should correspond to the number of characters in the old one. In other words, if the name of the topic (and in greentheme.apk the nameEmerald) - for example, 7 characters, then your name should be the same, no more, no less.



K
Added to useful


Post has been editedmike220 - 06.01.13, 11:59



Rep: (7744)
batman9286 @ 01/09/2013, 13:41*
I have 4.0.4 Xperia Pro stock

aboutcolors of the text of notifications in the open curtain at 4.0
path \ framework-res \ res \ values ​​\styles.xml
lower font
lines
<style name = "TextAppearance.StatusBar.Icon" parent = "@ style / TextAppearance.StatusBar" />
<style name = "TextAppearance.StatusBar.EventContent" parent = "@ style / TextAppearance.StatusBar">
<item name = "textSize">12.0sp</ item> - the size
<item name = "textColor"># ff000000</ item> - Colour (black here)
</ style>
upper font
lines
<style name = "TextAppearance.StatusBar.EventContent.Title" parent = "@ style / TextAppearance.StatusBar.EventContent">
<item name = "textSize">16.0sp</ item> - the size
<item name = "textStyle">bold</ item> - thickness (fat here)
<item name = "textColor"># ff000000</ item> - Colour
</ style>

K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:29



Rep: (466)
batman9286
SystemUI / res / layout / pathstatus_bar_tracking.xml
lines:
<com.android.systemui.statusbar.phone. Carrier Label android: textAppearance = "@ style / TextAppearance.StatusBar.Clock" android: gravity = "center" android: layout_gravity = "bottom" android: paddingBottom = "20.0dip" android: layout_width = "fill_parent"android: layout_height = "wrap_content" />
Change to:
android: layout_height = "0.0dip"


K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:30



Rep: (1514)
another way, do not delete anything, just make the text transparent:
find the following lines in the SystemUI \ res \ layout \ status_bar_tracking.xml file:
<com.android.systemui.statusbar.phone.CarrierLabelandroid: textAppearance = "@ style / TextAppearance.StatusBar.Clock" android: gravity = "center" android: layout_gravity = "bottom" android: paddingBottom = "20.0dip" android: layout_width = "fill_parent" android: layout_height = "wrap_content" />
bold fix on:
android: textAppearance = "@ style / TextAppearance.StatusBar.CarrierLabel"
After opening SystemUI \ res \ values ​​\ styles.xml and create:
<style name = "TextAppearance.StatusBar.CarrierLabel" parent = "@ android: style / TextAppearance.StatusBar.Icon">
<item name = "android: textSize">16.0dip</ item>
<item name = "android: textStyle">normal</ item>
<item name = "android: textColor">#00000000</ item>
</ style>
as a result, the operator's logo will be transparent


K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:31



Rep: (912)
Garik31RUS,
Garik31RUS @ 01/12/2013, 14:08*
Please do: themes for your phone se lww

Try ..Attached fileDefaultThemes.apk(6.05 MB)

I don `t know the quality of how it happened, if anything, I can't check ...
It turned out about this option ...


[attachment = 2420313: [gotowal ... 819_3745.jpg]


Unsubscribe ...

Attached images
Attached Image


Post has been editedlapis21 - 12.01.13, 18:27
Reason for editing: + from Garik31RUS



Rep: (1267)
INSTRUCTIONS for adding sound to butanimation
Due to the number of requests for adding sound to the download ....
The instruction itself is quite simple:
1. we take animation (efficient on your device)
2. cut the sound or take ready-made mp3 format
3. rename our sound tobootanim.mp3
4. open the boot animator with the archiver and immediately (without making any movements in the folders) add soundwithout compression - Android at the stage of loading can not "unclamp" resources, so if you screw up, you will see a black screen instead of an animated cartoon
five . then move it as standard with replacement

Addition:
- with the Vibo mode and without sound - the animated cartoon goes in silence
- for maximum effect (when checking or for whatever reason) it is necessary to setmultimedia volume to maximum and then reboot

ps
how to change the resolution, increase / decrease the frame rate, do playback in folders and set / remove the cyclicality I will not describe it already in the corresponding topic



K
Added to the header


Post has been editedmike220 - 18.01.13, 23:47



Rep: (7744)
Change the thickness of the progress bars in Settings!

Progress bars in Settings are present in two tabs - Battery and Network traffic, in both cases the thickness (height) of the progress bar is spelled out by one parameter
Way \ Settings \ res \ layout \ app_percentage_item.xml
Line
<ProgressBar android: layout_gravity = "fill_horizontal" android: id = "@ * android: id / progress"android: layout_height = "12.0dip" android: layout_marginTop = "4.0dip" android: max = "100" android: progressDrawable = "@ drawable / data_usage_bar" android: layout_columnSpan = "2" style = "? android: attr / progressBarStyleHorizontal" />

parameterandroid: layout_height = "12.0dip" - this is the desired thickness, change to your taste (I recommend 4-5), rejoice.
that's what happens if android: layout_height = "4.0 dip ": http: //savagemessiahzine.com/forum/index.php?act=findpost&pid=18939440
Addition:
The same file contains the dimensions of the program icon, facing the progress bar, and the text parameters.
The color of the progress bar is registered in \ Settings \ res \ drawable \data_usage_bar.xml

K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:22
Reason for editing: Added to header



Rep: (7744)
Friends, help deal with such a task. I want to lower the "New message" button down, as shown in the screenshot. I do not know where is the parameter responsible for the location of this button

it turned out not so simple: sveta:
for starters, that's what happened with me
Screen
Attached Image

and nowas it turned out
1. File Conversations \ res \ layout \semc_conversationlist_screen.xml
stock looks like this
<? xml version = "1.0" encoding = "utf-8"?>
<Linearlayout android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height = "fill_parent"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<include layout = "@ layout / semc_conversationlist_writenew" />
<TextView android: textSize = "@ dimen / generic_info_text_size" android: gravity = "center" android: layout_gravity = "center" android: id = "@ id / conversationlist_emptytext_view" android: paddingLeft = "@ dimen / generic_left_margin" android: paddingRight = " @ dimen / generic_right_margin "android: visibility =" gone "android: layout_width =" fill_parent "android: layout_height =" fill_parent "/>
<ListView android: id = "@ id / conversationlist_view" android: nextFocusUp = "@ id / semc_conversationlist_writenew_button" android: layout_width = "fill_parent" android: layout_height = "fill_parent" />
</Linearlayout >

replaceLinearlayout on RelativeLayout row <include layout = "@ layout / semc_conversationlist_writenew" /> move down, we get this
<? xml version = "1.0" encoding = "utf-8"?>
<RelativeLayout android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height = "fill_parent"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<TextView android: textSize = "@ dimen / generic_info_text_size" android: gravity = "center" android: layout_gravity = "center" android: id = "@ id / conversationlist_emptytext_view" android: paddingLeft = "@ dimen / generic_left_margin" android: paddingRight = " @ dimen / generic_right_margin "android: visibility =" gone "android: layout_width =" fill_parent "android: layout_height =" fill_parent "/>
<ListView android: id = "@ id / conversationlist_view" android: nextFocusUp = "@ id / semc_conversationlist_writenew_button" android: layout_width = "fill_parent" android: layout_height = "fill_parent" />
<include layout = "@ layout / semc_conversationlist_writenew" />
</RelativeLayout >

thus, we allowed the movement of objects overlaid on one screen relative to each other
2. File Conversations \ res \ layout \semc_conversationlist_writenew.xml
stock looks like this
<? xml version = "1.0" encoding = "utf-8"?>
<LinearLayout android: gravity = "center" android: background = "@ drawable / conv_drop_down"android: paddingTop = "@ dimen / generic_padding_compensation_for_button" android: layout_width = "fill_parent" android: layout_height = "@ dimen / generic_item_height" android: minHeight = "@ dimen / generic_item_height"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<Button android: design>
</ LinearLayout>

delete parameterandroid: paddingTop = "@ dimen / generic_padding_compensation_for_button" and in the same line we add the parameter android: layout_alignParentBottom = "true" we get it
<? xml version = "1.0" encoding = "utf-8"?>
<LinearLayout android: gravity = "center" android: background = "@ drawable / conv_drop_down" android: layout_width = "fill_parent" android: layout_height = "@ dimen / generic_item_height" android: minHeight = "@ dimen / generic_item_height"android: layout_alignParentBottom = "true"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<Button android: design>
</ LinearLayout>

thus we set our button to shift down and align with the bottom edge
In general, this is all, you can still replace the substrate with an opaque, so that the text does not overlap, it is responsible for itconv_drop_down.9.png





K
Added to the header



Here is your file modified in accordance with the above.
Download
Attached fileConversations.apk (1.44 MB)


Perhaps there is a simpler way, but I'm not as strong in Linux as I would like ...: blush:

Post has been editedmike220 - 03.02.13, 10:11



Rep: (7744)
People, there were a lot of questions about how to make the style of 2012 bodies in Settings, i.e. small print, etc.
That sat a couple of days, it turned out
Caution! Many screenshots!
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image

For modders:
need to cutSetting.apk , SemcPhone.apk , SemcSetting.apk
all three changes are made only to styles.xml
I attach my decompiled styles.xml from all three prog (get from archive, replace in my decompiled application, build, replace resources.arsc)
Download archive
Attached filedecompile.rar (3.06 KB)

if after the procedures you have done, you have stopped reading the background from the topic, do this:Sony Ericsson XPERIA arc - Decorations (Post # 16153849)
K
Added to useful


Post has been editedart0502ver - 07.03.13, 23:11
Reason for editing: Added to useful



Rep: (1267)
Instructions on how to make the dialer in the caller change color with the theme

part 1 - we pick Phonebook.apk
quite simply (I went another way, bypassing the laity :-)):
- parse the file
- go on the wayPhonebook \ res \ values ​​\ styles.xml
- we look for lines
* <style name = "Dialpad.Star" parent = "@ style / Dialpad">- asterisk
* <style name = "Dialpad.Pound" parent = "@ style / Dialpad">- lattice
* <style name = "Dialpad.Digit" parent = "@ style / Dialpad">- numbers
and append at the end of each block
<item name = "android: textColor">@ com.sonyericsson.uxp: color / semc_theme_accent_color</ item>



part 2 - we pick SemcPhone.apk
it's more complicated here:
- parse the file
- go on the waySemcPhone \ res \ layout \ somc_dialpad.xml
source
<? xml version = "1.0" encoding = "utf-8"?>
<LinearLayout android: layout_gravity = "center_horizontal" android: orientation = "vertical" android: background = "@ drawable / dial_background" android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_height"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<LinearLayout android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: id =" @ id / one "android: background =" @ drawable / dial_num_large_left "android: paddingLeft =" 35.0dip "android: focusable =" true "android: layout_width =" fill_parent " android: layout_height = "fill_parent" android: text = "@ android: string / lockscreen_strings_dialpad_1_txt" android: layout_weight = "1.0" />
<FrameLayout android: id = "@ id / two" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_2_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_2_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / three" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_3_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_3_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / four" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_4_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_4_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / five" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_5_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_5_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / six" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_6_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_6_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / seven" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_7_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_7_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / eight" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_8_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_8_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / nine" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_9_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_9_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / star" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: nextFocusDown = "@ id / button1" android: layout_width = "fill_parent" android: layout_height = " fill_parent "android: layout_weight =" 1.0 ">
<TextView android: textSize = "50.0dip" android: textColor = "#ffffffff"android: paddingLeft =" 40.0dip "android: paddingTop =" 18.0dip "android: paddingRight =" 0.0dip "android: paddingBottom =" 0.0dip "android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: layout_marginBottom = "@ dimen / twelve_key_dialer_star_margin_bottom" android: text = "@ android: string / general_dialpad_star_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / zero" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: nextFocusDown = "@ id / button2" android: layout_width = "fill_parent" android: layout_height = " fill_parent "android: layout_weight =" 1.0 ">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "#ffffffff"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_0_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_0_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / pound" android: background = "@ drawable / dial_num_large" android: paddingTop = "- 3.0dip" android: focusable = "true" android: nextFocusDown = "@ id / button4" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "36.0dip" android: textColor = "#ffffffff"android: paddingLeft =" 37.0dip "android: paddingTop =" 14.0dip "android: paddingRight =" 5.0dip "android: paddingBottom =" 1.0dip "android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: text = "@ android: string / general_dialpad_hash_txt" />
</ Framelifeout>
</ LinearLayout>
</ LinearLayout>
</ LinearLayout>



modified code
<? xml version = "1.0" encoding = "utf-8"?>
<LinearLayout android: layout_gravity = "center_horizontal" android: orientation = "vertical" android: background = "@ drawable / dial_background" android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_height"
xmlns: android = "http://schemas.android.com/apk/res/android ">
<LinearLayout android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: id =" @ id / one "android: background =" @ drawable / dial_num_large_left "android: paddingLeft =" 35.0dip "android: focusable =" true "android: layout_width =" fill_parent " android: layout_height = "fill_parent" android: text = "@ android: string / lockscreen_strings_dialpad_1_txt" android: layout_weight = "1.0" />
<FrameLayout android: id = "@ id / two" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_2_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_2_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / three" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_3_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_3_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / four" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_4_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_4_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / five" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_5_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_5_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / six" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_6_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_6_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / seven" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_7_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_7_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / eight" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_8_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_8_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / nine" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_9_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_9_txt" />
</ Framelifeout>
</ LinearLayout>
<LinearLayout android: layout_width = "fill_parent" android: layout_height = "@ dimen / twelve_key_dialer_digits_height">
<FrameLayout android: id = "@ id / star" android: background = "@ drawable / dial_num_large_left" android: focusable = "true" android: nextFocusDown = "@ id / button1" android: layout_width = "fill_parent" android: layout_height = " fill_parent "android: layout_weight =" 1.0 ">
<TextView android: textSize = "50.0dip" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: paddingLeft =" 40.0dip "android: paddingTop =" 18.0dip "android: paddingRight =" 0.0dip "android: paddingBottom =" 0.0dip "android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: layout_marginBottom = "@ dimen / twelve_key_dialer_star_margin_bottom" android: text = "@ android: string / general_dialpad_star_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / zero" android: background = "@ drawable / dial_num_large" android: focusable = "true" android: nextFocusDown = "@ id / button2" android: layout_width = "fill_parent" android: layout_height = " fill_parent "android: layout_weight =" 1.0 ">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "@ dimen / twelve_key_dialer_number_size" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: gravity =" center_vertical "android: paddingLeft =" 35.0dip "android: layout_width =" fill_parent "android: layout_height =" fill_parent "android: text =" @ android: string / lockscreen_strings_dialpad_0_txt "/>
<TextView android: textSize = "@ dimen / twelve_key_dialer_text_size" android: textColor = "# ffffffff" android: design text = "@ android: string / general_dialpad_label_0_txt" />
</ Framelifeout>
<FrameLayout android: id = "@ id / pound" android: background = "@ drawable / dial_num_large" android: paddingTop = "- 3.0dip" android: focusable = "true" android: nextFocusDown = "@ id / button4" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_weight = "1.0">
<TextView android: textAppearance = "? Android: textAppearanceLarge" android: textSize = "36.0dip" android: textColor = "@ com.sonyericsson.uxp: color / semc_theme_accent_color"android: paddingLeft =" 37.0dip "android: paddingTop =" 14.0dip "android: paddingRight =" 5.0dip "android: paddingBottom =" 1.0dip "android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: text = "@ android: string / general_dialpad_hash_txt" />
</ Framelifeout>
</ LinearLayout>
</ LinearLayout>
</ LinearLayout>


those. all that is highlighted in red change to blue


total how everything turned out

K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:32



Rep: (1483)
Attached Image
Opened the file, scrolling to the bottom, we see these lines:
echo 500>$ dev / button-backlight / max_current
echo 500>$ dev / keyboard-backlight / max_current
The first is responsible for highlighting the keys "back, home, contact menu"
The second is responsible for highlighting the qwerty keyboard.
The values ​​of echo 500 may be different for everyone. Tobish does not have to be 500. Personally, I had 4000 \ O_o /
To turn the backlight off forever, change echo 500 to echo 1
And to increase / decrease, we indulge in the gap between the maximum and minimum.
Save, reboot, enjoy!


K
Added to the header


Post has been editedart0502ver - 11.04.13, 18:31


Full version    

Help     rules

Time is now: 29/06/20, 23:30