Help edit xml file - Android Q&A, Help & Troubleshooting

How to modify .xml file which editor on mobile and pc work for that
Sent from my LT26w using xda premium

I got it myself there are nobody help me here! there's nothing impossible in the world....
Xperiaworld Acro s .55 Rooted LB

xperiaworld said:
How to modify .xml file which editor on mobile and pc work for that
Sent from my LT26w using xda premium
Click to expand...
Click to collapse
You can edit a XML file with any text editor, Notepad for example.
I recommend you Notepad++.

Notepad++ !!
Only "Notepad" cannot do so !

djeordje said:
You can edit a XML file with any text editor, Notepad for example.
I recommend you Notepad++.
Click to expand...
Click to collapse
Now I just edited xml with filemanager on my device nd xml editor application!
No need pc now!
'elkos' said:
Notepad++ !!
Only "Notepad" cannot do so !
Click to expand...
Click to collapse
Notepad++ not open all xml properly!
Xperiaworld Acro s .55 Rooted LB

Related

[Q] Change colour in TouchWiz

Hi guys!
Does anybody know how to change the black colour in the touchWiz appdrawer or e.g. in the settings to something more vived?
I have got a rooted stock rom with gingerbread (2.3.3).
Thank you very much!
Yes
copy touchwizauncher to pc extracted with 7-zip then edit the things you like then with winzip you compress it to .apk
Sent from my GT-S5830 using xda premium
robinandroid said:
Yes
copy touchwizauncher to pc extracted with 7-zip then edit the things you like then with winzip you compress it to .apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
This method just can be applied for editing normal png in apk if u do this with 9.png, u will got a terrible result =))

tiwlan.ini and WPA_supplicant_

I tried to edit those file in etc/wifi. How to know that what I edited have any effects? And one more thing after I edited those file there are new file created under an extension of .bak
Sent from my SK17i using XDA
hazard_puppet said:
I tried to edit those file in etc/wifi. How to know that what I edited have any effects? And one more thing after I edited those file there are new file created under an extension of .bak
Sent from my SK17i using XDA
Click to expand...
Click to collapse
How and what did you edit?
Someguyfromhell said:
How and what did you edit?
Click to expand...
Click to collapse
Some line which I change the value from 0 - 1. And im using es explorer text editor
Sent from my SK17i using XDA

[REQ] 5 docks on galaxy y

how can I have 5 docks on galaxy young...im on creeds rom 2.0.
please help...thnx alot..
U mean like this
Sent from my GT-S5360 using xda premium
evanlocked said:
U mean like this
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
yup2x...i cant find the thread but i saw it last time..wew...
can u give me the tut on how to do it?? please?..thnx..hehehe
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
Find iconColumnCount="4" and replace 4 with 5 (or 6 if you want 6 icons)
Save
Click to expand...
Click to collapse
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Find const/4 v8, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Save
Click to expand...
Click to collapse
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
shocklads said:
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
Click to expand...
Click to collapse
Ah now u reveal the secret haha
Sent from my GT-S5360 using xda premium
shocklads said:
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
Click to expand...
Click to collapse
hehe..thnx...but im afraid to mess up my phone.hahaha..im not sure how to do it
.do u have already apk file for the mod?
PS. i dont know how to decompile and compile files..hehehe im newbie on customs..
evanlocked said:
Ah now u reveal the secret haha
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Haha... That was nice ! Thanks for info ...
Sent from my GT-S5360 using xda premium
Addyz said:
hehe..thnx...but im afraid to mess up my phone.hahaha..im not sure how to do it
.do u have already apk file for the mod?
PS. i dont know how to decompile and compile files..hehehe im newbie on customs..
Click to expand...
Click to collapse
Download " Apktool "
Sent from my GT-S5360 using xda premium

Edit APK

I've an .APK file and I want to change the .APK filename in App Drawer and in the App and I want to change the icon that appears in App Drawer and installation,
P.S - The .APK file will be only used for myself, not to reupload someones work
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Aj.GaLaxY aCE said:
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Click to expand...
Click to collapse
Tried the second link method but it didn't work
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
AashayS said:
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
Click to expand...
Click to collapse
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Conclusion said:
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Click to expand...
Click to collapse
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
AashayS said:
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
I can . But i am out of town at present.
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal
Click to expand...
Click to collapse
Not really. You can rename an apk till you use it for yourself.
Sent from my GT-S5830 using Tapatalk 2
AashayS said:
I can . But i am out of town at present.
Click to expand...
Click to collapse
When will you be available?
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Click to expand...
Click to collapse
I'm using the APK app myself
tj_droid said:
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I'm new to this so it will be quite hard for me to do it
Conclusion said:
I'm new to this so it will be quite hard for me to do it
Click to expand...
Click to collapse
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
Can you do it for me as I don't really have a clue
Can someone help me please
Conclusion said:
Can you do it for me as I don't really have a clue
Click to expand...
Click to collapse
My PC has been locked-down by my dad. If you dont trust me, check my stocklite rom's thread. I've clearly mentioned that I can't update the rom before my exams. Dad will open up the pc only in July. So, I cant do any development related work till that time. Sorry.
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
But apkrenamer just renames the name in app drawer. Not in the app. And also not in oter apps which hve connections.
Can anyone help me to change the APK file name please, I've tried it myself but without success
X-Plore file manager (with Root access)
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
msahin061 said:
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
Click to expand...
Click to collapse
I can change APK icon via WinRAR but I need to know how to change APK filename

How to change statusbar central clock to right clock?

pls tell me wat to edit inorder to change statusbar center clock to right
thank you
SREEHARI.NAIR said:
pls tell me wat to edit inorder to change statusbar center clock to right
thank you
Click to expand...
Click to collapse
You have to decompile the apk if you want to know how to do the further process n if you don't then you can read guide for Decompiling and then I can proceed to tell you how to do that
Just tell me i will try to understand
SREEHARI.NAIR said:
Just tell me i will try to understand
Click to expand...
Click to collapse
k, i'll tell you tomorrow because I have a test today
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
I will Try this
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Thanks Bro I will try this out
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Vishnu pv said:
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Click to expand...
Click to collapse
to decompile we use an app called as apk multi tools and another app apk manager !!
both are good...works fine for me...!!
i think u will need sdk tools installed in pc to make apk managaer and apk tools work on your pc !!
google about it, you will get more answers.
and there is a guide in development section named 'make custom rom' which shows how to decompile any apk..!!
Sent from my GT-S5830i using xda app-developers app

Categories

Resources