XML editing - General Questions and Answers

Hi all was hoping someone could give me a step by step guide on editing an XML file from framework.res. its the secondary_text_holo_dark.xml I'm attempting to edit thanx in advanced
P.s iv tried text editors but it is unreadable tried with Axel mxl editor and changed the Wales I wanted but Axel being an apk only saves as text files.
Sent from my GT-I9300 using xda app-developers app

Related

Problem with editing apk with apk edit 4.0 e

Hi bros
Plz help me to edit a apk
I have only tried apk edit for editing. But after editing while trying to apply its shows some error & refer to see log file.
When see the log file find something like baskmaling error.
As I m too new to these, plz guide me to came out of these.
Alternatives with details also welcome.
Thanks
sMn
Sent from my ST25i using xda premium
here try this http://forum.xda-developers.com/showthread.php?p=21743114 :good:

Themeing note 10.1

So I started working on a theme for my note 10.1, is going good so far but ran in to a little snag. The problem is when iedit the notifications background it seems to shrink for no reason. The resolution of the image hasn't changed just modified the colour. As you can see in the image below 1 being where 2 should be. And number 3 has developed a gap for some reason even though it hasn't been modified,. Any help would be much appreciated.
[/IMG]Sent from my GT-N8000 using xda app-developers app
Yep thats themed
ckavvouras said:
So I started working on a theme for my note 10.1, is going good so far but ran in to a little snag. The problem is when iedit the notifications background it seems to shrink for no reason. The resolution of the image hasn't changed just modified the colour. As you can see in the image below 1 being where 2 should be. And number 3 has developed a gap for some reason even though it hasn't been modified,. Any help would be much appreciated.
[/IMG]Sent from my GT-N8000 using xda app-developers app
Click to expand...
Click to collapse
Looks like you edited a .9.png file. You need to maintain the 9 patch when editing the file. You have to decompile the apk then edit images. If you look on the border of 9 patch images you'll see black dots or lines you need to make sure they remain solid black and do not edit or move them.
Sent from my GT-N8013 using Tapatalk HD
jivy26 said:
Looks like you edited a .9.png file. You need to maintain the 9 patch when editing the file. You have to decompile the apk then edit images. If you look on the border of 9 patch images you'll see black dots or lines you need to make sure they remain solid black and do not edit or move them.
Sent from my GT-N8013 using Tapatalk HD
Click to expand...
Click to collapse
Can you point me in the right direction on how to do that, this is my first attempt at something like this, I don't know what a 9.png file is how do I maintain the "9" what ever that is. I have been using 7zip to extract the res file editing the files then injecting them back in to the systemui.apk
Sent from my GT-N8000 using xda app-developers app
ckavvouras said:
Can you point me in the right direction on how to do that, this is my first attempt at something like this, I don't know what a 9.png file is how do I maintain the "9" what ever that is. I have been using 7zip to extract the res file editing the files then injecting them back in to the systemui.apk
Sent from my GT-N8000 using xda app-developers app
Click to expand...
Click to collapse
You'll need to learn how to decompile apk just google that it will point in right direction
Sent from my GT-N8013 using Tapatalk HD
jivy26 said:
You'll need to learn how to decompile apk just google that it will point in right direction
Sent from my GT-N8013 using Tapatalk HD
Click to expand...
Click to collapse
Thanks for the help man I really apriciated it
Sent from my GT-N8000 using xda app-developers app
Hi ckavvouras
how can make screenshot with popup?!
when i try to make screenshot, automatically popup go down !!!
please help me
Thanks
and about themes, see this:
http://forum.xda-developers.com/showthread.php?t=2111691
nader1450 said:
Hi ckavvouras
how can make screenshot with popup?!
when i try to make screenshot, automatically popup go down !!!
please help me
Thanks
and about themes, see this:
http://forum.xda-developers.com/showthread.php?t=2111691
Click to expand...
Click to collapse
need to hold the power button and volume down button

AndroidManifest

Hey guy
I was wondering if you could help me,
I'm trying to edit the android manifest xml.but when I decompile the apk, I don't get the minimum and target ark version displayed in the xml when I open it with notepad++. I also tried in its, same result.it's like the whole xml is not shown. It does appear in the yml tho. How or what do I use to view and edit the whole xml.
Thanx in advance
Sent from my LG-P920 using xda app-developers app

[Guide] All apps in splitview

Must be rooted. Edit build.prop persist.splitwindow .support_all
open system folder
-scroll to build.prop (past folders)
-copy/make backup
-open as text in text editor
-scroll to persist.splitwindow.support_all
-change value to true
- save and reboot
Depending on your app/tool you may need to copy build.prop somewhere, edit and replace old one in system with edited version.
Enjoy.
Sent from my LG-D850 using XDA Premium 4 mobile app
mjgspr95 said:
Must be rooted. Edit build.prop persist.splitview.support_all, change value to true and reboot. If someone already discovered this I couldn't find it...
Enjoy.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Mine says splitwindow but it works!
Thanks!
That's correct... My memory is in a tequila bottle.
Sent from my LG-D850 using XDA Premium 4 mobile app
rooted but can't find build.prop
I'm rooted but having trouble finding build.prop to edit so I can have all apps on split screen. I just came over from HTC my and that was a difficult phone to root so I feel I can do it on this OS but I'm just asking if you can give me a step by step walk through. Any help would be greatly appreciated and thanked.
mjgspr95 said:
Must be rooted. Edit build.prop persist.splitwindow .support_all, change value to true and reboot. If someone already discovered this I couldn't find it...
Enjoy.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You need a good file manager with system access or an app or an app to edit build.prop. I use rom toolbox pro. Root Explorer is a good option I've used before too.
Sent from my LG-D850 using XDA Premium 4 mobile app
I tried root Explorer, but the editor says that the file is too big and week not save changes...
Sent from my Note3 Rocking DynamicKat or my G3
thanks but still having problems
I downloaded the app you suggested but I am still having trouble finding the build prop. I'm not sure where I am too look. Thanks for the help thus far.
QUOTE=mjgspr95;54316205]You need a good file manager with system access or an app or an app to edit build.prop. I use rom toolbox pro. Root Explorer is a good option I've used before too.
Sent from my LG-D850 using XDA Premium 4 mobile app[/QUOTE]
-open system folder
-scroll to build.prop (past folders)
-copy/make backup
-open as text in text editor
-scroll to persist.splitwindow.support_all
-change value to true
- save and reboot
Depending on your app/tool you may need to copy build.prop somewhere, edit and replace old one in system with edited version.
Sent from my LG-D850 using XDA Premium 4 mobile app
Working great, thanks! What kind of order are the apps in? Mine seems pretty random.
Random also
Sent from my LG-D850 using XDA Premium 4 mobile app
I didn't make this, but it works. Props to XabdullahX for making this.
http://forum.xda-developers.com/lg-g3/themes-apps/app-multiwindow-mod-t2819978
I dont have persist.splitwindow in my build prop.. What should i do
Sent from my LG-D850 using XDA Free mobile app
mjgspr95 said:
-open system folder
-scroll to build.prop (past folders)
-copy/make backup
-open as text in text editor
-scroll to persist.splitwindow.support_all
-change value to true
- save and reboot
Depending on your app/tool you may need to copy build.prop somewhere, edit and replace old one in system with edited version.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
mjgspr95 great info - Might want to edit the OP to show the procedure and possibly change the title to [GUIDE] How to enable all apps in SplitView just to make it easier to find for people and keep the forums organized - also I am pretty sure this should be in General. But thank you for the info - it worked great for me.
and for those who are looking for a file browser - might want to check out ROOT Explorer
blkghost22 said:
I dont have persist.splitwindow in my build prop.. What should i do
Sent from my LG-D850 using XDA Free mobile app
Click to expand...
Click to collapse
I bet you are trying to use Root Explorer to edit the file. Unfortunately the file size is too big and Root Explorer A) won't even show the entire file's contents and B) won't let you save the file even if the right commands were editable......
You have to find another alternative. Personally I pushed the file out of the phone, edited it on my computer, and pushed it back to the phone. It worked fine.
---------- Post added at 08:50 PM ---------- Previous post was at 08:48 PM ----------
neverends said:
and for those who are looking for a file browser - might want to check out ROOT Explorer
Click to expand...
Click to collapse
As much as I like (and also recommend) Root Explorer, it won't work with the build.prop file as it is too big for the Root Explorer text editor.
neverends said:
mjgspr95 great info - Might want to edit the OP to show the procedure and possibly change the title to [GUIDE] How to enable all apps in SplitView just to make it easier to find for people and keep the forums organized - also I am pretty sure this should be in General. But thank you for the info - it worked great for me.
and for those who are looking for a file browser - might want to check out ROOT Explorer
Click to expand...
Click to collapse
I use root explorer as well. I didn't realize that the text editor cant handle that large of a file... Anyway this is the way that I got around it on my Mac:
On Mac:
adb pull /system/build.prop .
vi build.prop
<Make changes>
adb push ./build.prop /mnt/sdcard/
On phone:
Remount /system RW in Root explorer
Rename /system/build.prop to /system/build.prop.bak
Move /sdcard/build.prop to /system/build.prop
Reboot
You could always just download build prop editor from the play store and it works and is easy.
Sent from my LG-D850 using Tapatalk
Edited the build.prop file. Ended up soft bricking my phone. Was able to reset but not fun.
This is an app that doesn't require mucking with build prop. Works well for me.
http://forum.xda-developers.com/showthread.php?t=2707310&page=6
Are this from my thread?? Credit??
spiderio said:
Are this from my thread?? Credit??
Click to expand...
Click to collapse
This thread is older than yours. (At least older than the one that I found.)

Editing a .tfs file

Hi.
I need help on editing a .tfs file (old Samsung G600). I need to disassembly the file, replace the operator bootanimation and reassembly in a working tfs file.
I will pay for help.
Hey, can help you with it.. you want instructions to do the editing or ready solution?
Sent from my GT-S5302 using XDA Free mobile app

Categories

Resources