Assistant
New threads need to be created only inroot partition! In the future, they will be processed by moderators.
REPLY |
Huawei U8836D G500 Pro - modification of software and decorations | Modification of software and decorations for the Huawei U8836D G500 Pro |
Message#1 20.03.13, 10:37 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | Modification of software and decorations for the Huawei U8836D G500 Pro Description | Discussion � | Firmware � | Purchase � | Embellishments� This topic discusses only the various decorations for the Huawei U8836D G500 Pro. The off-topic discussion is offtopic and deleted! Rules of conduct in the subject,be sure to read
Template for the message with the mod [SIZE = 3] [B] Short description / name [/ B] [/ SIZE] [B] Author [/ B]: Your work or another user; [B] Installation [/ B]: Installation method / method (recovery, file replacement, etc.); [B] Information [/ B]: The maximum possible description; [B] Description of actions [/ B]: If the modification can wipe already made before the change (for example, replacing the apk-file), then describe your actions so that the same modification can be done independently. [SPOIL = Screenshots] [/ SPOIL] [B] Download [/ B]: Files / archive for download The item "Description of actions" may be absent if the installation of this modification in most cases does not affect other changes. To design a post, copy the text in the column "Code" and fill in the data on your fashion. Programs and manuals Android SDK Java Development Kit APKTool - build / disassemble apk-files APK unpacker - a set of utilities for assembly / disassembly and signature apk AFM-Tool - a set of utilities for assembling / disassembling / encoding / deodexing apk / jar-files (the choice of the author) | Mirror onsavagemessiahzine.com Notepad ++ - Multifunctional Notepad Modifying system files Modifications and improvements with forum.china-iphone.ru Instructions for editing system apk Instructions for replacing fonts and the fonts themselves Files that are modified in most cases to change the appearance are in folders./ system / framework (framework-res.apk, mediatek-res.apk, everythingjarfiles) and/ system / app(restapk-files). If files from the / system / framework folder or SystemUI.apk from / system / app are replacedwhile the machine is running, then at the end is requiredreboot! Before using untested mods required backup If you still messed up the files of the graphical shell or the device does not boot, and you didn’t backup, try replacing the modified files with the original files (you can take them from the firmware) via the file manager (don't forget to set 644 permissions, or the “D”) to the recovery or reinstall the original firmware List of modifications and decorations: Init.d scripts Init.d scripts are text files containing a sequence of commands that is executed when this script is called. Scripts, as a rule, do not have an extension and often at the beginning of the name have a two-digit number that determines the loading sequence (all scripts are loaded in the sort order by name). Attentionif you want the script to run every time the system boots (does not apply to posts where the installation is done through recovery), put it in the /system/etc/init.d folder, set access rights777 (all ticks should be set) and reboot the machine. If the script does not perform its actions, pay attention to the scripts that run after it. Perhaps one of them cancels the previous one. Script that turns off the vibrator completely A patch that turns off the backlight of the lower soft buttons Change system applications Color icons in the settings menu Changing the background image in some system programs, setting the transparent background System application in the style of Holo Light Modification of the regular dialer. Enlarge photo with incoming call + gradient header Remove bounce in scrolling lists. The effect of TV on firmware I2MSP08 and MIUI Radio with an increased number of favorite stations up to 32 Editing the statusbar and notification panel Battery display Battery collection- if someone liked the battery from the set, but knowledge is not enough, you can unsubscribe to QMS for help. Be sure to write down in the application: Does the battery indicator show you every percentage and the number of the battery you like? Transparent statusbar (instruction) Setting transparency in the notification panel (instructions) Other Wishes about filling caps in QMS. Post has been editedden339 - 16.04.14, 18:18 Reason for editing: Changes in topic rules. |
Message#22 24.03.13, 17:08 | |
kind [online] Group: Friendssavagemessiahzine.com Messages 1254 Check in: 29.10.08 Xiaomi Mi Mix 2S 6/64 Reputation: 107 | [email protected], 00:57 It looks like I found exactly where the vibration is caused when the device is turned off. I just want to confirm my guesses and then I will post one corrected system .apk. Then there will be no need for this script. Look forward to -------------------- "I bought Huawei, do not expect a new firmware" |
Message#23 24.03.13, 17:49 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | vano5577, Oh, that's where it is. OK, we'll do it, only tomorrow. Today I will not be at the computer -------------------- Nexus 5 16Gb Android 5.0 (LRX21O) |
Message#24 24.03.13, 19:03 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 245 Check in: 02.02.12 ONDA v975m Reputation: 9 | Wirgen I will be grateful))) |
Message#25 25.03.13, 02:26 | |
Stop war !!! [offline] Group: Curators Messages 3538 Check in: 25.09.08 Apple iPhone 5s Reputation: 372 | We remove the vibra on auto-off / auto-on (mod. Settings.apk) Author: Mine, but, again, using the clever thought from VibraFix; Installation: file replacement; Information: ModifiedSettings.apk. Retrieves the rights to use the vibrator at the time of auto-shutdown, if it is configured (using the principle of setting 444 rights to / sys / class / timed_output_vibrator / enable). And also adjusts the system Auto-Alarm Alarm so that the vibrator does not work. It should work exactly on I2M mods, I don’t know about others.Unlike the previous init.d script, the vibrator does not turn off completely, but only for the period of auto power off / auto power on according to the schedule. Those. for all other events during the operation of the device the vibrator will work as usual; Action description: Since on our device, as far as I know, there were no modifications of Settings.apk yet, I suggest in this case simply replacing the file in / system / app. When the auto-shutdown is triggered for the first time, you will have to confirm that the superuser has been granted rights, and you will not be asked to do so in the future. Or, you must go directly to SuperSU and add the Settings application to the list of applications for which you are granted default superuser rights. Or, you can enable the option "Always grant superuser rights without a request" in the SuperSU settings. Here at will.Attention! If someone has already set himself init.d script that turns off the vibrator completely, then it must be removed! Download for SP12: Settings.apk(2.58 MB) Download for SP13 (with the menu item "Engineering menu"): Settings.apk(2.55 MB) Description of the actions for self-modification of Settings.apk: We work with the file /system/app/Settings.apk. Before you start, backup your existing file and just in case turn on USB debugging, if not included, so that in case of problems with the interface, you can replace the modified file with a backup file. 1.We parse the Settings.apk file according to the instructions from the header, using one of the suggested programs, or something from our "stock". I prefer to useapktoolbyof this instruction. After unpacking the file with this utility, we get the Settings folder with the files we will work on. 2.Edit the file Settings / smali / com / android / settings / schpwronoff / ShutdownActivity.smali Looking for a string .method private fireShutDown () V and insert the following code before it .method private disableVibrator () V .locals 7 .annotation system Ldalvik / annotation / Throws; value = { Ljava / io / IOException ;, Ljava / lang / InterruptedException; } .end annotation .prologue .line 24 invoke-static {}, Ljava / lang / Runtime; -> getRuntime () Ljava / lang / Runtime; move-result-object v2 const-string v3, "su" const / 4 v4, 0x0 new-instance v5, Ljava / io / File; const-string v6, "/ system / bin /" invoke-direct {v5, v6}, Ljava / io / File; -> invoke-virtual {v2, v3, v4, v5}, Ljava / lang / Runtime; -> exec (Ljava / lang / String; [Ljava / lang / String; Ljava / io / File;) Ljava / lang / Process; move-result-object v1 .line 25 .local v1, sh: Ljava / lang / Process; invoke-virtual {v1}, Ljava / lang / Process; -> getOutputStream () Ljava / io / OutputStream; move-result-object v0 .line 27 .local v0, os: Ljava / io / OutputStream; const-string v2, "chmod 0444 / sys / class / timed_output / vibrator / enable" const-string v3, "ASCII" invoke-virtual {v2, v3}, Ljava / lang / String; -> getBytes (Ljava / lang / String;) [B move-result-object v2 invoke-virtual {v0, v2}, Ljava / io / OutputStream; -> write ([B) V .line 28 invoke-virtual {v0}, Ljava / io / OutputStream; -> flush () V .line 29 invoke-virtual {v0}, Ljava / io / OutputStream; -> close () V .line 30 invoke-virtual {v1}, Ljava / lang / Process; -> waitFor () I .line 31 return-void .end method Go back to line .method private fireShutDown () V It is followed by a string. .locals 3 Right below this line we insert the following code. .prologue .line 22 invoke-direct {p0}, Lcom / android / settings / schpwronoff / ShutdownActivity; -> disableVibrator () V 3.Edit the file Settings / smali / com / android / settings / schpwronoff / SetAlarm.smali Looking for a string .method private saveAlarm () V look for the string after it const / 4 v6, 0x1 and change it to const / 4 v6, 0x0 Looking for a string .method setTestAlarm () V look for the string after it const / 4 v2, 0x1 and change it to const / 4 v2, 0x0 4.Edit the file Settings / smali / com / android / settings / schpwronoff / Alarms.smali Looking for a string .method private static enableAlarmInternal (Landroid / content / Context; Lcom / android / settings / schpwronoff / Alarm; Z) V look for the string after it invoke-virtual {v3, v4, v5}, Landroid / content / ContentValues; -> put (Ljava / lang / String; Ljava / lang / Long;) V and after it we insert the following code const-string v8, "vibrate" const / 4 v9, 0x0 invoke-virtual {v3, v8, v9}, Landroid / content / ContentValues; -> put (Ljava / lang / String; Ljava / lang / Long;) V 5.Putting it back and signing Settings.apk, writesWirgen. However, since I prefer to useapktoolI prefer the option of moving the modified classes.dex to the original Settings.apk, as describedhereI quote: Open the source file framework-res.apk with WinRAR and open the folder framework-res / build / apk Moving through folders, transfer the modified files to the WinRAR window ... Those. open any ZIP archiving archiver, our original Settings.apk and transfer our reassembled classes.dex to the archiver window, which we now have in Settings / build / apk. 6.Replace the file /system/app/Settings.apk with the changed one, set the rights to 644 (the letter D). Everything can be used without rebooting. Post has been editedfandm - 25.09.13, 10:10 Reason for editing: Added instructions for self-modification of Settings.apk -------------------- Curator 4 iPhone 5S (A1457 16) PiPO X7S (Intel Z3736F 2/32) Tanix TX8 (912 2/32 QCA9377) THL BOX1 (905X 1/8) VICTSING VITV-1 (905 1/8) Mecool KM8P (912 1/8) MXQ PRO 4K (905X 1/8) |
Message#26 25.03.13, 07:59 | |
kind [online] Group: Friendssavagemessiahzine.com Messages 1254 Check in: 29.10.08 Xiaomi Mi Mix 2S 6/64 Reputation: 107 | [email protected], 03:26 We remove the vibra on auto-off / auto-on (mod. Settings.apk) If it is not difficult, you can post information about the changes to which Settings.apk was subjected to. In case of firmware update, for self-modification. -------------------- "I bought Huawei, do not expect a new firmware" |
Message#27 25.03.13, 09:16 | |
Stop war !!! [offline] Group: Curators Messages 3538 Check in: 25.09.08 Apple iPhone 5s Reputation: 372 | vesely, Added a small smali-code and in some places modified the original one. Today I will lay out detailed instructions. Well, at least it works? -------------------- Curator 4 iPhone 5S (A1457 16) PiPO X7S (Intel Z3736F 2/32) Tanix TX8 (912 2/32 QCA9377) THL BOX1 (905X 1/8) VICTSING VITV-1 (905 1/8) Mecool KM8P (912 1/8) MXQ PRO 4K (905X 1/8) |
Message#28 25.03.13, 10:47 | |
kind [online] Group: Friendssavagemessiahzine.com Messages 1254 Check in: 29.10.08 Xiaomi Mi Mix 2S 6/64 Reputation: 107 | [email protected], 10:16 vesely, Added a small smali-code and in some places modified the original one. Today I will lay out detailed instructions. Well, at least it works? Everything works fine. No vibration on / off It remains only to deal with the melody of the alarm when you start it from the off state, and then just "Bong bong ..." is not ice, I want a good tune))) -------------------- "I bought Huawei, do not expect a new firmware" |
Message#29 25.03.13, 12:03 | |
Stop war !!! [offline] Group: Curators Messages 3538 Check in: 25.09.08 Apple iPhone 5s Reputation: 372 | [email protected], 11:47 Everything works fine. No vibration on / off Great!) Edited the original post. Added instructions for self-modification of Settings.apk. [email protected], 11:47 It remains only to deal with the melody of the alarm when you start it from the off state, and then just "Bong bong ..." is not ice, I want a good tune))) Ummm ... Something I did not quite understand what was meant. The alarm is set, right? And the alarm is set to "Beep-Beep-Beep Alarm", which goes by default, right? And you want a different tune, right? So after all, in the alarm settings, you can choose any melody. Or I did not understand everything that way) Post has been editedfandm - 25.03.13, 12:06 -------------------- Curator 4 iPhone 5S (A1457 16) PiPO X7S (Intel Z3736F 2/32) Tanix TX8 (912 2/32 QCA9377) THL BOX1 (905X 1/8) VICTSING VITV-1 (905 1/8) Mecool KM8P (912 1/8) MXQ PRO 4K (905X 1/8) |
Message#30 25.03.13, 15:13 | |
kind [online] Group: Friendssavagemessiahzine.com Messages 1254 Check in: 29.10.08 Xiaomi Mi Mix 2S 6/64 Reputation: 107 | [email protected], 13:03 Ummm ... Something I did not quite understand what was meant. The alarm is set, right? And the alarm is set to "Beep-Beep-Beep Alarm", which goes by default, right? And you want a different tune, right? So after all, in the alarm settings, you can choose any melody. Or I did not understand everything that way) That's right, just choose the "other" (my) melody, and when you turn on the alarm, I hear "Beep-Beep-Beep Alarm". But if you first turn on the timer, and then the alarm, after 3-4 minutes, then I hear the "other" (my) Post has been editedvesely - 25.03.13, 15:14 -------------------- "I bought Huawei, do not expect a new firmware" |
Message#31 25.03.13, 16:15 | |
Stop war !!! [offline] Group: Curators Messages 3538 Check in: 25.09.08 Apple iPhone 5s Reputation: 372 | vesely, Own melody on SD card? -------------------- Curator 4 iPhone 5S (A1457 16) PiPO X7S (Intel Z3736F 2/32) Tanix TX8 (912 2/32 QCA9377) THL BOX1 (905X 1/8) VICTSING VITV-1 (905 1/8) Mecool KM8P (912 1/8) MXQ PRO 4K (905X 1/8) |
Message#32 25.03.13, 21:25 | |
kind [online] Group: Friendssavagemessiahzine.com Messages 1254 Check in: 29.10.08 Xiaomi Mi Mix 2S 6/64 Reputation: 107 | [email protected], 17:15 vesely, Own melody on SD card? Yes. In the root throw? -------------------- "I bought Huawei, do not expect a new firmware" |
Message#33 25.03.13, 21:31 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | Changing the background image in some system programs Author: my, transparency instructions are ported based on instructions for 2.3.x from dima201246; Installation: Installation through recovery, instruction; Information: Changes the background image in system programs (for example, Settings.apk) that use the background from the framework. Action description: The installation of this mod does not affect other changes in the files (if only the background changes, without changing the transparency). But, if you want to "customize" your unique background, you can unpack the archive, replace the filemods \ framework-res.apk \ res \ drawable-nodpi \ background_holo_dark.pngon your ownsure to keep the image size. Pack everything unpacked into a zip archivewithout compressionOtherwise, the recovery may not find it and flash it.Do not forget to backup before flashing unknown mods Transparent background (background, with the manifestation of desktop wallpaper) is configured separately Separately, it is required to describe a transparent background, since we also need manipulations with xml files. In addition to having a semi-transparent background image, you need to correct another file.framework-res.apk. 1. Disassemble apk using tools from the header. 2. Modify the fileframework-res \ res \ drawable-nodpi \ background_holo_dark.pngby specifying a certain transparency. 3. Edit the fileframework-res \ res \ values \ styles.xml: Find the item Attention:In the text, this element may occur more than once. It is enough to change it once in the place where it meets for the first time from the beginning of the file. 4. Now begin the complexity - you will need to climb all the styles.xml We are looking for all the lines - the first time it must be invested in Reservefalseso that elements like pop-up windows for selection, text input boxes and similar dialog boxes are not with wallpaper under the background, since the text will be illegible (perhaps); - the second time - invested in Also do not touch, there istruedefault. - the third time - invested in Just here we change totrue - the third time - invested in Here we change totrueoptional, since this parameter will be responsible for the Light theme. Many system programs do not use the Light theme by default, especially in this topic they are already responsible for the background.background_holo_lighttherefore, changing the parameter will have an effect only if the transparency is specified beforehand with this particular file. 5. We collect the file. 6. We throw on the phone with a replacement. 7. Reboot. Screenshots Download: Black backgroundBackgroundPatchBlack.zip(1.04 MB) Post has been editedWirgen - 28.03.13, 15:29 Reason for editing: Adding in paragraph 3 of the task of transparency -------------------- Nexus 5 16Gb Android 5.0 (LRX21O) |
Message#34 25.03.13, 21:50 | |
Stop war !!! [offline] Group: Curators Messages 3538 Check in: 25.09.08 Apple iPhone 5s Reputation: 372 | I think, yes, in / system / media / audio / alarms. I think that when the device is turned on, the SD card is not yet mounted, the alarm should work, and the desired melody is not available, so the default melody is used. Post has been editedfandm - 25.03.13, 22:02 -------------------- Curator 4 iPhone 5S (A1457 16) PiPO X7S (Intel Z3736F 2/32) Tanix TX8 (912 2/32 QCA9377) THL BOX1 (905X 1/8) VICTSING VITV-1 (905 1/8) Mecool KM8P (912 1/8) MXQ PRO 4K (905X 1/8) |
Message#35 26.03.13, 02:51 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 9141 Check in: 20.01.13 Samsung Galaxy A50 4/64 Reputation: 1120 | I think, yes, in / system / media / audio / alarms. I think that when the device is turned on, the SD card is not yet mounted, the alarm should work, and the desired melody is not available, so the default melody is used. Of course it is strange if the Android works like this. My alarm clock is operated by another dvuhsimochnik (used to) Nokia TV 402. It always plays without problems my tune installed on the SD card. -------------------- |
Message#36 26.03.13, 12:34 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | System application in the style of Holo Light Author: the idea of the forum member + rummaged in the network Installation: instruction; Information: Installing the application design in the style of Holo Light. The instructions show how to change the Settings.apk file, but this instruction can also be used on other applications. Action description: We will perform actions with the Settings.apk file (we change exactly its style) 1. Unpack using the tools specified in the header Attention!If the toolkit has the optional ability to save AndroidManifest.xml to save the signature, then remove it 2. Rule fileAndroidManifest.xml: at level 56 lines (it concerns Settings.apk) we are looking for an opening tagapplicationi.e. in the text it will be like android: theme = "@ * android: style / Theme.Holo" android: theme = "@ * android: style / Theme.Holo.Light" 3. Build the apk-file (do not forget that the manifestshould notwill remain / remain from the previous version) 4. Be sure to sign, because after rebuilding the manifest, the signature is overwritten 5. We drop it on the phone, replacing the existing file, and set the permissions 644 (the letter D). If you didn’t succeed on your own, then send the applications to QMS -------------------- Nexus 5 16Gb Android 5.0 (LRX21O) |
Message#37 26.03.13, 17:35 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 245 Check in: 02.02.12 ONDA v975m Reputation: 9 | Wirgen I’m probably tired of you already, but I don’t rummage in all this, so again I ask you to make the translucency in the settings ... I hope for the last time)))) Attached files framework-res.apk(5.19 MB) |
Message#38 26.03.13, 22:31 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | Wirgen I’m probably tired of you already, but I don’t rummage in all this, so again I ask you to make the translucency in the settings ... I hope for the last time)))) I apologize for not immediately taking into account. I myself deal with this topic. I'll do it tomorrow. 50% as in the screenshot is normal? -------------------- Nexus 5 16Gb Android 5.0 (LRX21O) |
Message#39 27.03.13, 03:40 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 245 Check in: 02.02.12 ONDA v975m Reputation: 9 | Wirgen the most it))) |
Message#40 27.03.13, 14:53 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 479 Check in: 21.05.12 Google nexus 5 Reputation: 103 | -------------------- Nexus 5 16Gb Android 5.0 (LRX21O) |
Message#41 27.03.13, 16:08 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 605 Check in: 14.07.12 Reputation: 31 | |
mobile version | Now: 05/18/19, 15:11 |