[Q] Why almost all Custom ROMs XMLs looks like this? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

I use Notepad++ to edit XML. In Stock ROM it is fine. But almost all Custom ROMs have this problem. How can i edit it? Are there any ways to edit it?

emjimadhu said:
I use Notepad++ to edit XML. In Stock ROM it is fine. But almost all Custom ROMs have this problem. How can i edit it? Are there any ways to edit it?
Click to expand...
Click to collapse
You need to decompile it!

Lol! Decompile the apk first using apktool or apkmanager. That's the binary form of xml, on decompiling you'll get the readable form.
Sent from my GT-I9100 using xda app-developers app

anasdcool71 said:
Lol! Decompile the apk first using apktool or apkmanager. That's the binary form of xml, on decompiling you'll get the readable form.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Thats not binary.. Its encrypted form I guess
Sent from my GT-S5360 using XDA

Related

[Q] How to edit rom details other than in Build.prop

For an example In Hyper Ion, Creeds rom, There are some additional Rom infos (Like Developer, Code Name etc..) and well, those details are not found in build.prop.
So how do they do it? Is it xml editing? How can I do it?
It's on the setting.apk, replace it with the stock will remove the info of ROM Maker or etc
Sent from my GT-S5360 using xda premium
As far as i think, it is XML editing. Decompile the settings.apk using apktool (if you don't know how to, then check my sig). In res/layouts, one of the xmls will be the screen for that 'about phone'. There you'll be able to add more TextViews, i.e. more texts to display.
Sent from my GT-S5360 using xda premium
anasdcool71 said:
As far as i think, it is XML editing. Decompile the settings.apk using apktool (if you don't know how to, then check my sig). In res/layouts, one of the xmls will be the screen for that 'about phone'. There you'll be able to add more TextViews, i.e. more texts to display.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Anyway to edit xml files?
sachinvjn said:
Anyway to edit xml files?
Click to expand...
Click to collapse
Search in google for Notepad++. It's a great software which makes XML editing a breeze.

decompile settings.apk [solved]

hiii everyone..
i am trying to decompile settings.apk (of hyperion 8) but i was failed..
i also try with another roms settings.apk but i again failed and i use proper framework-res.apk
can anyone give me a guide to decompile settings.apk of any rom///
i attache the screenshot of 'apktool error'
Sachin Patel said:
hiii everyone..
i am trying to decompile settings.apk (of hyperion 8) but i was failed..
i also try with another roms settings.apk but i again failed and i use proper framework-res.apk
can anyone give me a guide to decompile settings.apk of any rom///
i attache the screenshot of 'apktool error'
Click to expand...
Click to collapse
load the three frameworks. hyperion-res.apk , framework-res.apk and twframework-res.apk
or give me the three files and also with the settings.apk ill decompile for you.
Re: decompile settings.apk
ok i will try but can you tell me how to load hyperion-res and twframework??
is it similar to framework-res.apk?
Sent from my GT-S5360 using xda premium
Sachin Patel said:
ok i will try but can you tell me how to load hyperion-res and twframework??
is it similar to framework-res.apk?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Download the zip I attached
now open command window where the files you downloaded is.
now to load framework first put the 3 frameworks in the folder with the file you downloaded.
dont type the one in the parenthesis because that's a comment.
type this in cm
apktool if framework-res.apk (type it exactly)
apktool if twframework-res.apk
apktool if hyperion-res.apk
type them one by one. that's how you do it.
Press the thanks button please if i helped
Re: decompile settings.apk
In your Username/.apktool folder, paste twframework res. Apk and rename it as 2.apk.
Re: decompile settings.apk
it works
Sent from my GT-S5360 using xda premium
Re: decompile settings.apk
Sachin Patel said:
it works
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Now that is solved you place in top "solved"
Edit: and also don't forget to sign the new compiled apk so it would be installed.
Sent from my Titan TV S320 using xda premium
Hi,
The easiest way to decompile apps for me is by using the APK Multi Tool.. Website: apkmultitool.com/
Project Young said:
Now that is solved you place in top "solved"
Edit: and also don't forget to sign the new compiled apk so it would be installed.
Sent from my Titan TV S320 using xda premium
Click to expand...
Click to collapse
do u mean need to sign system apps to?
Reynaldi said:
do u mean need to sign system apps to?
Click to expand...
Click to collapse
If u edited android manifest.xml u need to sign all system apps but if u didnt touch androidmanifest.xml just sign d app not all system apls
SNT FRM D PHILIPPINES
Reynaldi said:
do u mean need to sign system apps to?
Click to expand...
Click to collapse
Usually settings sometimes won't install if not signed. (My experience with jellyblast and some other roms)
Sent from my Xoom using xda premium

(Help )anybody here cAn eDit foNt color?

HelLo everyONe i neED soMe help,,i want to change the foNt color of my phoNe overalL,,i think its in the color value of framework-res.apk if im not mistaken..
BuT unfortUnately i doNt have a pc at this mOMent,if soMebody here wilL volunteEr to eDit this thing,..its a biG help man, im so frustrateD to change the text color ive trieD using apk eDitor apP instalLeD in my sgy buT nO luck it oNly gave me a boOtloOp.
Thanks in advance!!
Sent from my GT-S5360 using xda app-developers app
hmmm
u can try this guide
http://forum.xda-developers.com/showthread.php?t=2190445
and try decompile framework res.apk
values/colour
It cAn be doNe WithouT a pc?btw ilL try this oNe maybe i have to rent a pc.
Thanks bro
Sent from my GT-S5360 using xda app-developers app
Yapz
U must decompile via pc
U can try to decompile using apk manager sir?
First
Your pc must install jre/jdk
I suggest u to donlot java offline version if u dont have a pc
I mean...u can save java offline in your sd card...u can use it everywhere
Java offline no need internet
And notepad ++..if u use vts..no need notepad ++
Sorry about my english
Sent from my GT-S5360 using Tapatalk 2
Thanks for the suggestioN and ur guide,it wilL be mOre easier now for me to work in foNt changing..
Sent from my GT-S5360 using xda app-developers app
Framework-res
Drawable/colors
Primary_textcolor.xml
Secondard_textcolor.xml
Tertiary_textcolor.xml,
It is declared as hex codes so google the colors you want,
And also i hate to spoonfeed,
Google on how to decompile/recompile apks,
Use VTS rather than apk-multitool.
Good luck
Sent un Samsung Galaxia S Quatro LTE
Thanks bro,,i have a lil bit idEa of dEcoMpiling ang recoMpiling apk file...what iS VTS exaCtly means?im mOre familiar with apktool.
Sent from my GT-S5360 using xda app-developers app
Vts better than apk tool
This software can decompile jar file too n no need notepad ++ to read utf code
U can search in xda or google
Sent from my GT-S5360 using Tapatalk 2
CAN YOU STOP WRITING LIKE THAT!
Thank u again sir
And my apology mr. Prototype it wont happen again.
Sent from my GT-S5360 using xda app-developers app

[Help] [Pro] Need help to modify Stock Settings.apk properly

I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Then decompiled Settings.apk of Xperia pro stock ics Rom.
After that ,without making any change I compiled the apk. Then I surprisingly noticed that the size compiled apk is 1/3 of original stock settings.apk .
Then I flashed the apk using cwm to my phone to test if it work .after flashing, the setting icon is invisible in launcher menu !
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
This is because u have to delete the xml u edited and resources.arc and then compile it. Use apk manager. Its easyy to use.
What exactly u trying to do? May be I can help you out.
For ur last line "Be a beginner, but not a noob"
Sent from my MT11i using Tapatalk 2
i'm trying to add some ektra app linked with setting apk in setting header.xml
i'v done it perfectly in a custom rom's Settings.apk. but in stock rom, i'm getting error.
Sent from my MK16i using xda premium
shouvo said:
i'm trying to add some ektra app linked with setting apk in setting header.xml
i'v done it perfectly in a custom rom's Settings.apk. but in stock rom, i'm getting error.
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
What tool do u use? For settings u edit setting_header.xml where is that present and all u must be knowing?!
After clicking on compiling apk manager asks to delete resources.arc and also the xml you edited. Then compile it should.
Sent from my MT11i using Tapatalk 2
koradiavatsal said:
What tool do u use? For settings u edit setting_header.xml where is that present and all u must be knowing?!
After clicking on compiling apk manager asks to delete resources.arc and also the xml you edited. Then compile it should.
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
i use apktool provided by google code
plz what tool u'r talking about that asks to delete resource and xml while compile
Sent from my MK16i using xda premium
shouvo said:
i use apktool provided by google code
plz what tool u'r talking about that asks to delete resource and xml while compile
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
He is talking about apk manager... Its just a easier form of apktool...
Sent from my Xperia Neo V using xda app-developers app
plz provide me the download link
Sent from my MK16i using xda premium
shouvo said:
plz provide me the download link
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
Link = No
Search = Yes
Sent from my MT11i using Tapatalk 2
Guys can anybody please tell me how can i edit the default settings of the rom which load up after the first boot....
I looked into all xml files of Settings.apk but couldn't find any..
Eg: I want to disable the auto brightness mode by default when i flash my rom.
I have a Xperia P running with stock JB.
Thanks in advance...!!! :fingers-crossed:
koradiavatsal said:
Link = No
Search = Yes
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
I've searched and downloaded. will try it today....hope it will work perfectly
Sent from my MK16i using xda premium
Note for next time: This is not the place for questions. Questions go to Q&A section.

[Q] How to change the text in Settings

How to change the text in Settings "Zombie art by Jack Larson" in settings->About phone->Android version and tapping it
Sent from my GT-S5360 using xda-developers app
EDITING
raghu gautam said:
how to change the text in settings "zombie art by jack larson" in settings->about phone->android version and tapping it
sent from my gt-s5360 using xda-developers app
Click to expand...
Click to collapse
by editing frame-work res.apk in seeting/framework
[email protected] said:
by editing frame-work res.apk in seeting/framework
Click to expand...
Click to collapse
its in framework.jar not framework-res.apk
Raghu Gautam said:
How to change the text in Settings "Zombie art by Jack Larson" in settings->About phone->Android version and tapping it
Sent from my GT-S5360 using xda-developers app
Click to expand...
Click to collapse
please search before posting
guide is
http://forum.xda-developers.com/showthread.php?t=2345086
No I am asking how to do it through mobile, when I browse the framework.jar via root explorer only three files are present classes.dex,preloaded classes and Meta.inf folder no other files are found as mentioned in the thread
Sent from my Samsung Galaxy Y using XDA premium
Raghu Gautam said:
No I am asking how to do it through mobile, when I browse the framework.jar via root explorer only three files are present classes.dex,preloaded classes and Meta.inf folder no other files are found as mentioned in the thread
Sent from my Samsung Galaxy Y using XDA premium
Click to expand...
Click to collapse
you need to decompile it with apktool - it is step number 1!
a decompiling tool is also mentioned in stuff you need - I use apktool but others have been mentioned
Is there any way to change battery icon without pc in galaxy y,bcoz my pc harddisk is crashed :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
Is there any way to change battery icon without pc in galaxy y,bcoz my pc harddisk is crashed :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
yes just rename framework-res.apk to framework-zip
extract it with a zip app like zarchiver
replace the pngs and only pngs on a like for like basis - same filenames - dont touch xml files or anything else
rezip
change back to .apk
put and a flashable zip and flash in cwm with system mounted or push to system with rw-r-r but flashing is better

Categories

Resources