Hello. I wish someone could help me with editing my framework file. I have some problems with apktool Basically I need someobe who could edit some files in res/values. Enable on screen buttons and change their height to 24 pixels. Enable 'ShowNavigationBar' in bools.xml and 'NavigationBarHeight' in dimens.xml. Every helpful post in this thread will be thanked
Edit: oops, there is the link http://db.tt/Dlu60svI
Related
Hello! I was hoping someone out there could point me in the right direction. I'm trying to edit the text colors of the notification pull down. My method is this.
~I first decompile the twframework-res.apk and navigate to /res/layout/status_bar_expanded.xml and open it with notepad++
~I change all the values I want accordingly. #ff000000 for black and #ffffffff for white.
~After this I recompile the apk using apk manager. Compression 0 and heap size 512, Y system app, Y keep and then I go into the keep folder and delete the status_bar_expanded.xml I just edited. Then finish recompiling it and it goes through with zero errors.
~Then I push it to my phone and reboot. It goes Vibrant>TMO>Galaxy S logo>black screen and vibrating.
Is there another location where I'm suppose to edit these values as well? Any help would be appreciated. Thanks.
Awww can noone help at all?
Whitehawkx said:
Awww can noone help at all?
Click to expand...
Click to collapse
Still having issues?
Values have to be edited in framework-res.apk also
if it cause it not to boot it sounds like the new xml didnt copy over and isnt in the recompiled apk. That happenes to me a few times
which apps should i decompile to edit
1)am/pm
2)names of days
ex-sunday,monday...
3)months
ex-jan,feb
i want to edit them to be in my language
i have decompiled framework-res and systemui-res but no luck
thank you for helping
I've been looking for ways on how to customize our carrier label but found none. Fortunately, I've found this great thread http://forum.xda-developers.com/showthread.php?t=1570956 which gave me the idea so I started modifying my device and I was able to customize it, so I decided to share it with you guys since this site has been a great help for a beginner like me. So here's how:
Requirements
1. Apktool
2. Notepad++ or any xml editor
**Since modifying this is so complicated, I attached the edited xml which will replace your current xmls.**
Download the attached zip and extract it.
Open strings.xml and find this line (its in the endline )
<string name="iamLinker">InsertYourTextHere</string>
change the text in red font to your desired text and save
Extract your SystemUI
move the following xmls to /res/layout -- look for layout-ldpi as well
status_bar_expanded.xml
tw_status_bar_expanded.xml
tw_status_bar_expanded_dual.xml
move the following xmls to /res/values
strings.xml
styles.xml
recompile and push the modified SystemUI.apk
then reboot.
And that's it! Don't forget to hit thanks if this helps!
emmantot said:
I've been looking for ways on how to customize our carrier label but found none. Fortunately, I've found this great thread http://forum.xda-developers.com/showthread.php?t=1570956 which gave me the idea so I started modifying my device and I was able to customize it, so I decided to share it with you guys since this site has been a great help for a beginner like me. So here's how:
Requirements
1. Apktool
2. Notepad++ or any xml editor
**Since modifying this is so complicated, I attached the edited xml which will replace your current xmls.**
Download the attached zip and extract it.
Open strings.xml and find this line (its in the endline )
<string name="iamLinker">InsertYourTextHere</string>
change the text in red font to your desired text and save
Extract your SystemUI
move the following xmls to /res/layout -- look for layout-ldpi as well
status_bar_expanded.xml
tw_status_bar_expanded.xml
tw_status_bar_expanded_dual.xml
move the following xmls to /res/values
strings.xml
styles.xml
recompile and push the modified SystemUI.apk
then reboot.
And that's it! Don't forget to hit thanks if this helps!
Click to expand...
Click to collapse
Really nice ... but this is the wrong place to post.
Please move this to the Galaxy Star General forum.
Hi
Very please help
The rom 4.1.2 I could using winrar for simple to change png to another png
Now I'm on 4.4.2 (DittoNote 5.2).
I want to change the png (tw_quick_panel_quick_setting_button_bg_normal.9 ???)
I think it is png a background toogles
I change my png i using winrar but nothing changes.
It is still the old png and no new png.
For what is this happening?
png's ending with 9 are not ordinary png's, they are 9-patch png's and in order to edit them you must DECOMPILE the APK, edit and then RECOMPILE. Anyway, simple adding with winRAR is nota good idea if you don't do ZIPALIGN because it slows down the reading of images....
Ah, and why post a question in app section, isn't Q&A more logical choice?
So I should do this in the Q & A - my mistake.
Ok thanks for the information.
delanik - this is just an example:
I'm trying to change the png in Note 5.2 Ditto 4.4.2
Is the file is tw_quick_panel_quick_setting_button_bg_normal.9 is background switches?
I exchange tw_quick_panel_quick_setting_button_bg_normal.9 another png
with another theme rom Note 2 but nothing has changed.
As I said - pngs with 9 at the end CAN'T be edited without recompiling. Use APKTOOL to decompile APK, then edit, then RECOMPILE. Then from recmpiled APK, copy PNGs (or whole res\drawable folder) to original APK.
If it doesn't change (and it should even when you don't do recompile - it should show BAD image) then you are not editing correct image.
Thank you very much dalanik
I SystemUi decompile framework-res.apk and now the rom DN4 v2.
It will be very difficult for me because there is a lot of files QMG
There is no custom QMG files (icons, button ....) in other roms or themes
to replace them in my rom DN4 v2
So...I know just enough to be dangerous. I am attempting to slightly customize stang5litre Ultra Note5 - just change the quick settings toggle colors & text, slider bar colors, & perhaps change the dialer keypad buttons. Maybe a little more if I'm successful. I have been reading up on how to do this by editing xml files from here and here.
My problem is finding all the correct apks to decompile and edit. For example I have decompiled "SecSettings2" but it doesn't appear to have all the necessary files and I can not find a simple "SecSettings" or "Settings" apk. The same goes for the phone/dialer. I have found "Telecom.apk" and "TeleService.apk" but no Phone apk or SecPhone apk.
Any guidance is appreciated!
/system/framework/framework-res.apk maybe?