Hey , I want to customize my system apps but whenever i open .xml files Like AndroidManifest , layouts etc it didn't open in simple language .
So my question is can anyone tell me how to edit the .xml files...
Any help is really appreciated
Thanks
Rajaks said:
Hey , I want to customize my system apps but whenever i open .xml files Like AndroidManifest , layouts etc it didn't open in simple language .
So my question is can anyone tell me how to edit the .xml files...
Any help is really appreciated
Thanks
Click to expand...
Click to collapse
First decompile a android app with apktool,after that u can easily edit any .xml file with notepad++ without any language problem.
If u extract an app.apk with winrar,7zip...etc or any android app like esfile explorer,zarchiver....etc then u can't edit .XML file & u face language problem.
So, decompile apk with apktool & then edit .XML files.
How to decompile apk, just Google it.
Thanks:
Yes! THANKS DUDE
Sent from my Sparkle V using XDA Premium 4 mobile app
Related
guys can anyone help me.. how to edit xml files in framework-res.apk....please help me..........
ajay8055 said:
guys can anyone help me.. how to edit xml files in framework-res.apk....please help me..........
Click to expand...
Click to collapse
Decompile the framework-res.apk and then download "Notepad ++" then open the xml with notepad ++ and you will be able to edit it from there
Sent from my R800x using xda premium
decompile the apk using apktools. open the xml file with notepad++ and edit.
then recompile using apktools and push it via adb to your phone.
Before edit xml you should go and visit
http://developer.android.com/guide/index.html
Take a tour
216Monster said:
Decompile the framework-res.apk and then download "Notepad ++" then open the xml with notepad ++ and you will be able to edit it from there
Sent from my R800x using xda premium
Click to expand...
Click to collapse
i have apktools and i have decdompiled my apk...i know how push it via adb...but the problem is i want to add crt animation to my rom.....so we should edit some xml file so i wanted to edit it...can anyone help now..........please.........
ajay8055 said:
i have apktools and i have decdompiled my apk...i know how push it via adb...but the problem is i want to add crt animation to my rom.....so we should edit some xml file so i wanted to edit it...can anyone help now..........please.........
Click to expand...
Click to collapse
Ok just to recap .. You have your apk decompiled and you have notepad++ installed on your computer ?
Which .xml are you trying to edit ?
216Monster said:
Ok just to recap .. You have your apk decompiled and you have notepad++ installed on your computer ?
Which .xml are you trying to edit ?
Click to expand...
Click to collapse
ya i have notepad ++ i want to add crt animation.......
Edit bool.xml
Sent from my GT-S5670 using XDA App
---------- Post added at 10:12 PM ---------- Previous post was at 09:58 PM ----------
Change
Code:
<bool name="config_animateScreenLights">true</bool>
to
Code:
<bool name="config_animateScreenLights">false</bool>
Aspire said:
Edit bool.xml
Sent from my GT-S5670 using XDA App
---------- Post added at 10:12 PM ---------- Previous post was at 09:58 PM ----------
Change
Code:
<bool name="config_animateScreenLights">true</bool>
to
Code:
<bool name="config_animateScreenLights">false</bool>
Click to expand...
Click to collapse
Did you open the boot.xml in notepad++ ?
it'll work with any text editor.
i think, notepad++ is cross-platform so preferred?
Aspire said:
it'll work with any text editor.
i think, notepad++ is cross-platform so preferred?
Click to expand...
Click to collapse
Notepad++ is made for xml editing an such, ive used windows notepad program and it doesnt do the editing process any justice. Notepad++ has nice features that make things so simple. Once I found out about it I never used anything again. Plus sometimes certain xml wont open in just any text editor , sometimes windows notepad wont display the xml correctly .. With notepad++ you wont have any worries ever again
thanks for helping me guys.........
216Monster said:
Notepad++ is made for xml editing an such, ive used windows notepad program and it doesnt do the editing process any justice. Notepad++ has nice features that make things so simple. Once I found out about it I never used anything again. Plus sometimes certain xml wont open in just any text editor , sometimes windows notepad wont display the xml correctly .. With notepad++ you wont have any worries ever again
Click to expand...
Click to collapse
I dont thing windows notepad opens xml files properly, but isnt there a built in xml editor in windows 7? Notepad++ is surely better
niks4101 said:
I dont thing windows notepad opens xml files properly, but isnt there a built in xml editor in windows 7? Notepad++ is surely better
Click to expand...
Click to collapse
Regular notepad will edit decompiled xml's for me on windows7 but indeed notepad++ is without a doubt the best xml editor ive found
hello .... i m new to editing apks
as this mtk device...
i have one doubt
if i decompile system app ex. systemui.apk
after editing it...
and recompiling it...
do i need to push it directly or i need to sign that apk.... if neded to sign...please provide link to it..
or i need to follow other method ie. remove 'res ,resources.arsc,manifest.xml ,from new apk and move it to old apk using 7zip..
pleasse reply..
i need a clear answer..
no dumb answers please
thankyou
patelkishan1985 said:
hello .... i m new to editing apks
as this mtk device...
i have one doubt
if i decompile system app ex. systemui.apk
after editing it...
and recompiling it...
do i need to push it directly or i need to sign that apk.... if neded to sign...please provide link to it..
or i need to follow other method ie. remove 'res ,resources.arsc,manifest.xml ,from new apk and move it to old apk using 7zip..
Click to expand...
Click to collapse
You don't need to sign systemui.apk because it is a activity automatically started by your device... Just push it to your device.... Any errors just reply!
And here are some cool editing tutorials:
http://forum.xda-developers.com/showthread.php?t=2369586
(Credits to the OP)
Sent From The Phone That Can!
Hello devs.... Actully I am serching for an app(apk) for editing my apk. ..
I want to do some modification in my home apk bt apk tool for android is not working for me...even they didnt recompile apk without any modification... Is any tool whic can do this. .. I want to edit some xml file..
Thanks
Sent from my Neo v using ginger2jellybean 2.5 with my own modification
PRAKASHPANDEY193 said:
Hello devs.... Actully I am serching for an app(apk) for editing my apk. ..
I want to do some modification in my home apk bt apk tool for android is not working for me...even they didnt recompile apk without any modification... Is any tool whic can do this. .. I want to edit some xml file..
Thanks
Sent from my Neo v using ginger2jellybean 2.5 with my own modification
Click to expand...
Click to collapse
Use APKTool on Android!
http://forum.xda-developers.com/showthread.php?t=2359240
can u please help me how to replace png file on framework..i did not really know how to do that..
wanyakuza said:
can u please help me how to replace png file on framework..i did not really know how to do that..
Click to expand...
Click to collapse
inside a rom you would go to where the the png is, you edit it save it and overwrite the old one
wanyakuza said:
can u please help me how to replace png file on framework..i did not really know how to do that..
Click to expand...
Click to collapse
Since it is png you no need to decompile or recompile just use 7 zip or winrar and replace it. Make sure that the png you are replacing have same resolution and name
Sent from my GT-I9070 using Tapatalk
PradeepMurugan said:
Since it is png you no need to decompile or recompile just use 7 zip or winrar and replace it. Make sure that the png you are replacing have same resolution and name
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
i have decompile framework with apktool , but i don't know how replace the file..did i need go to drawable ldpi?? , after that what to do??
wanyakuza said:
i have decompile framework with apktool , but i don't know how replace the file..did i need go to drawable ldpi?? , after that what to do??
Click to expand...
Click to collapse
Use winrar and take out the file you want, edit it and drop it back in the same place you got it, when it promotes you,replace it
Trozzul said:
Use winrar and take out the file you want, edit it and drop it back in the same place you got it, when it promotes you,replace it
Click to expand...
Click to collapse
winrar or 7zip?? , what are in drawable ldpi actually? it's the actual file or new??
Use Winrar or 7zip it doesn't matters.
Ldpi folder contains image for low device resolution.
If you replaced nothing in this folder then it's the actual file but you should replace your image in the correct folder according to your screen resolution.
Sent from my HTC Sensation Z710e using xda app-developers appl
hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
@SpaceCaker
@marcussmith2626
@iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400