Assistant
REPLY |
Editing framework-res.apk | Discuss ways to edit system resources. |
Message#1 25.10.10, 21:34 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | Editing framework-res.apk Discuss ways to edit system resources Rules of conduct in the subject. Read a must!
Posting messages. Read a must!
Logcat Logcat can be created through the terminal using the following commands: su logcat>/ sdcard / logcat .txt The logcat.txt file will be in the sdcard root. You can also use this program: CatLog - Logcat Reader ������ ���������� ��������� download[b] Android: [/ b] Here we write the version of android [b] Version ApkTool: [/ b] Here we write the version ApkTool [b] Description: [/ b] Here we write a description of your problem. [spoiler = Screenshots] If necessary, add screenshots [/ spoiler] [spoiler = Log] Here, if necessary, leave the log (either files or code) [/ spoiler] If you do not follow the rules for writing messages, the post will be deleted! Instructions, useful links
Remember:all that you do - you do at your own peril and risk! The authors of modifications and the Administration of the forum are not responsible for the performance of your devices! Post has been editedsasha9182 - 26.03.19, 15:14 |
Message#2 25.10.10, 23:44 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | I am currently stuck on the graph. The transition in the gradient is not smooth. Help solve the problem ... Decision: [email protected], 09:56 And what exactly is getting worse? Gradients (smooth transitions from dark to light) look like a "step"? Ie, there is no most smooth transition - all some sort of torn. So? If so, then the problem is solved in Photoshop. Open your favorite wallpaper - filter - noise - add noise (values ​​from 0.5 to 1 will be quite enough) Well, I need your help. I lowered my hands and resigned myself to the fact that our phones are not good friends with gradients. More service.jar needs to be parsed, and classes.dex can be edited there, which I do not know. Post has been editedDimar - 01.02.16, 10:36 Reason for editing: spoiler + problem solving -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#3 28.10.10, 19:48 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | Aboutservices.jarandclasses.dexlook how i did And about the gradient itself did not achieve anything sensible. yud-ph4.rar(3.12 MB) Post has been editedsk0t - 20.08.14, 17:56 -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#4 28.10.10, 22:23 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | sk0t, Thanks, I found it already, and it seems to me that not everything is there. I want to replace the text color on the button, and it is apparently stored in the framework, in the btn_default.xml file. . The framework does not want to unpack .... Post has been edited12enie - 28.10.10, 22:35 -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#5 28.10.10, 23:02 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | About xml-files: in apk they inbinary format. The easiest way to edit these xml is to decompose apk in the program.apk-tool(translate xml to normal view), well, and after editing, it will also be compiled (it will translate xml files into a binary form) or it can be converted to normal format using AXMLPrinter.jar but it does not translate back to binary. -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#6 28.10.10, 23:36 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | sk0t, Well, for translating applications, this method is relevant, and the framework cannot be disassembled in this way. -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#7 28.10.10, 23:45 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | I analyzed as far as I remember with the key-dneed to disassemble (debug mode) Key Correction-s Here are the contents of myframework-res.apk \ res \ drawable \btn_default.xml processed by the program apk-tool xml version = "1.0" encoding = "UTF-8"?> selector> Post has been editedsk0t - 29.10.10, 00:12 -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#8 29.10.10, 15:33 | |
Jack the ripper [offline] Group: Friendssavagemessiahzine.com Messages 835 Check in: 06.01.10 Xiaomi Redmi Note 3 Pro Standard Reputation: 366 | Sorry for not much on the topic, I’m editing LauncherProPlus, everything would be fine here, just the reassembled launcher.xml file in the / res / layout-port / folder doesn’t let the launcher start flying to FC, can you have a solution? I would be very grateful! Post has been editedDimar - 15.01.16, 20:25 Reason for editing: corrected link -------------------- In LAN, I do not answer messages about help in APK Manager and questions about LP Sense. |
Message#9 29.10.10, 16:49 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | Simple questions: apk signed? What has changed in the file? reassembled means - disassembled using apk-tool, edited, and assembled using apk-tool? still the default file is infolder where apk / dist was unpacked and is called out.apk Post has been editedsk0t - 29.10.10, 16:50 -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#10 29.10.10, 18:04 | |
Jack the ripper [offline] Group: Friendssavagemessiahzine.com Messages 835 Check in: 06.01.10 Xiaomi Redmi Note 3 Pro Standard Reputation: 366 | reassembled means - disassembled with apk-tool, edited, and assembled with apk-tool Yes I will repeat launcher.xml, it is after editing it and rebuilding the APK with it (maybe a couple more xml-ok, I don’t know) LauncherPro just doesn’t work. The default settings I need are stored there, I would like to change them, but I can’t = (even smali files are being edited. -------------------- In LAN, I do not answer messages about help in APK Manager and questions about LP Sense. |
Message#11 29.10.10, 18:20 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | Rang3r Maybe it's in the encoding? I used to translate one of the first versions, so half of the menu didn’t respond and gave me a fc. And thanks to the key account, I’m sure I’ve got all the chips in it. I'll check it later. Can you find the line responsible for the color on the button at the same time? :) -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#12 29.10.10, 18:44 | |
Jack the ripper [offline] Group: Friendssavagemessiahzine.com Messages 835 Check in: 06.01.10 Xiaomi Redmi Note 3 Pro Standard Reputation: 366 | |
Message#13 29.10.10, 19:04 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | |
Message#14 29.10.10, 19:52 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | java -jar apktool.jar d -s file.apk foldername tools.zip(1.13 KB) there are three files in the archive apktool-d.cmd- transfer to it an apk-file containing classes (classes.dex): parses it into a folder with the same name (phone.apk ->phone) apktool-d-s.cmd- transfer apk-file to itnotcontaining classes: parses it into a folder with the same name (framework-res.apk ->framework-res) apktool-b.cmd- you transfer a folder with edited files to it: it collects it in apk with the name out.apk (framework-res ->framework-res / dist / out.apk) Respectively, apktool.jar should be in the same folder. 2 rangr Throw off initial apk and that which FK causes PS2 12enie open fileframework-res \ res \ values ​​\ styles.xml looking for something like this there (btn_default) <style name = "Widget.Button" parent = "@ style / Widget"> <item name = "textAppearance">? textAppearanceSmallInverse</ item> <item name = "textColor">@ color /primary_text_light</ item> <item name = "gravity">center</ item> <item name = "background">@ drawable /btn_default</ item> <item name = "focusable">true</ item> <item name = "clickable">true</ item> </ style> here you can change to primary_text_dark then open the fileframework-res \ res \ color \ primary_text_light.xml <? xml version = "1.0" encoding = "UTF-8"?> <selector xmlns: android = "http://schemas.android.com/apk/res/android "> <item android: state_enabled = "false" android: color = "@ color /bright_foreground_light_disabled " /> <item android: state_window_focused = "false" android: color = "@ color /bright_foreground_light " /> <item android: state_pressed = "true" android: color = "@ color /bright_foreground_light " /> <item android: state_selected = "true" android: color = "@ color /bright_foreground_light " /> <item android: color = "@ color / bright_foreground_light" /> </ selector> here you can change to bright_foreground_dark then open the fileframework-res \ res \ values ​​\ colors.xml <color name = "bright_foreground_light"># ff000000 </ color> <color name = "bright_foreground_light_inverse">#ffffffff </ color> <color name = "bright_foreground_light_disabled">#80000000 </ color> and here the color is already set The first two characters - transparency, the remaining six - color in RGB # ff000000 - ff - opaque, 000000 - black can be changed in any of the files Post has been editedsk0t - 29.10.10, 20:35 -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#15 29.10.10, 20:57 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | soooo, business went, it remains to pack, I only have a build folder being created. I had it that way when I saved the xml file in the wrong encoding. I edit the notepad ++, I set the encoding to utf8 (without BOM). But most likely I’m drowning again -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#16 29.10.10, 20:59 | |
Jack the ripper [offline] Group: Friendssavagemessiahzine.com Messages 835 Check in: 06.01.10 Xiaomi Redmi Note 3 Pro Standard Reputation: 366 | sk0t, threw in the BOS. You can answer here, maybe someone else will also need an answer: happy: Post has been editedRang3r - 29.10.10, 20:59 -------------------- In LAN, I do not answer messages about help in APK Manager and questions about LP Sense. |
Message#17 29.10.10, 21:47 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | 2 rangr left before right after red shows different lines and differences namely backslash - "\" before @ that's why FC Heredescription of this bugapktoolin English there is also a fixed versionapktool.jarbelow she too apktool.jar(1.28 MB) 2 12enie Try to updateapktool Post has been editedDimar - 15.01.16, 20:45 Reason for editing: Removed the screenshot under the spoiler -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#18 30.10.10, 17:32 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | Apktool.jar collected everything in the apk, but the weight became almost two times smaller. and, accordingly, we are hanging on the bootscreen .... -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#19 30.10.10, 21:46 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | and dealt with the sameapktool.jar? -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
Message#20 30.10.10, 22:15 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 2546 Check in: 21.01.10 Highscreen Explosion Reputation: 350 | sk0t, I did everything with your file, I reassembled it and reassembled. Somewhere I heard about the fact that this method makes the file weight less. I have the same file weight, but the ones that are slightly smaller before the res folder, but obviously not 3 meters. ? when packing ... -------------------- Highscreen Explosion v27 And yes, I'm on a horse. |
Message#21 31.10.10, 00:54 | |
Picker APK [offline] Group: Friendssavagemessiahzine.com Messages 1935 Check in: 03.12.09 HTC Desire S Reputation: 4398 | Try to pull out the file that you edited from the new apk and stuff it into the source one, and this correct source one Throw on the device -------------------- Winner of the Sixth Prizesavagemessiahzine.comin the "Rescuer 2011" nomination .: Instructions and tools :. |
mobile version | Now: 05/01/19 06:26 |