[Help] notepad++ won't read any XML in rom - Droid RAZR M Q&A, Help & Troubleshooting

I am building a ROM but my notepad++ won't read any .XML file from any ROM.. Please explain me how to fix this thing?

livecouk said:
I am building a ROM but my notepad++ won't read any .XML file from any ROM.. Please explain me how to fix this thing?
Click to expand...
Click to collapse
Did you decompile the apks with apktool?
Sent from my Scorpion Mini

NO
ATTACK said:
Did you decompile the apks with apktool?
Sent from my Scorpion Mini
Click to expand...
Click to collapse
no i did't i just extracted them with 7Zip and Also it wont read some usual APK which are not in APK such as androidmanifest.apk....

livecouk said:
no i did't i just extracted them with 7Zip and Also it wont read some usual APK which are not in APK such as androidmanifest.apk....
Click to expand...
Click to collapse
Then that is your problem. You need to decompile first in order to edit any file other then images.

Yup that was it! Thanks ATTACK and Tecknofreak for help!

Related

Anyone knows how to make a rom multilanguage?

Sorry to post here but I think people dont answer me in FAQ
Sent from my GT-S5360 using XDA
Decompile framework-res.apk (custom), copy all folder values-xxx and paste put in framework-res.apk (original).
shocklads said:
Decompile framework-res.apk (custom), copy all folder values-xxx and paste put in framework-res.apk (original).
Click to expand...
Click to collapse
What if I modded the values of one language eg english so do I need to perform those mods on all the other languages?
http://forum.xda-developers.com/showthread.php?t=1760400
look at this thread,is windows rom translator from a xda member,i hope that helps a little bit.
shocklads said:
Decompile framework-res.apk (custom), copy all folder values-xxx and paste put in framework-res.apk (original).
Click to expand...
Click to collapse
Hi,
is still decompile framwork res.apk and port them on stock framwork res.apk for samsung firmware work with new android version??
best regard

[Q] How to edit any apk file?

How to edit any apk file??
Please guide me how to edit an APK file
from the stock ROM or from any custom ROM
Please help!!!
lvabarajithan said:
How to edit any apk file??
Please guide me how to edit an APK file
from the stock ROM or from any custom ROM
Please help!!!
Click to expand...
Click to collapse
use apktool or apk multi tool to decompile apk, make changes and recompile it. you just need to know what you need to edit and how.
yeah i know that
is there any other way
but anyway thanks for the reply...
lvabarajithan said:
How to edit any apk file??
Please guide me how to edit an APK file
from the stock ROM or from any custom ROM
Please help!!!
Click to expand...
Click to collapse
First u need to rooted phone.
Then use root browser and copy ur apk file... If u have pc copy the apk file to pc.. Open apk file using winrar edit the files u want and save
Sent From Galaxy Y Duos Lite | Lunux Os v2! using XDA Premium
Why this kind of thread are you making buddy????
Please first read forum rules,There is a line that-"SEARCH BEFORE POSTING ANYTHING"
Here is many help thread for that....!

(Q)How To Change CWM Install Script Text

Please help me I make a iconpack but ı'm dont know this thing please help me (
Deopolos14 said:
Please help me I make a iconpack but 03'm dont know this thing please help me (
Click to expand...
Click to collapse
I think you want to change the text that's shown in CWMR while flashing. For that you should edit the updater script present in META-INF/com/google/android/updater-script.
Sameer N. Soni said:
I think you want to change the text that's shown in CWMR while flashing. For that you should edit the updater script present in META-INF/com/google/android/updater-script.
Click to expand...
Click to collapse
Thanks man but what can i use for this thing i mean which tool
Sent from my e-tab4 using XDA Free mobile app
Deopolos14 said:
Thanks man but what can i use for this thing i mean which tool
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
you can just open the update script in notepad++ (different from windows notepad)
http://notepad-plus-plus.org/
marcussmith2626 said:
you can just open the update script in notepad++ (different from windows notepad)
http://notepad-plus-plus.org/
Click to expand...
Click to collapse
When i used this tool i see very different codes in script what can i do ?
Sent from my e-tab4 using XDA Free mobile app
Deopolos14 said:
When i used this tool i see very different codes in script what can i do ?
Sent from my e-tab4 using XDA Free mobile app
Click to expand...
Click to collapse
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
marcussmith2626 said:
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
Click to expand...
Click to collapse
Okey thanks i will upload my icon pack in two days good night sir
Sent from my e-tab4 using XDA Free mobile app
((
marcussmith2626 said:
the updater-script in the meta-inf folder is plain text in a flashable zip and you can just open it
if you are trying to open up anything else for example an xml file in an apk you must decompile the apk first
Click to expand...
Click to collapse
I Cant do it true man :crying: now zip gives status 6 error Can you do it true on pm ? i'm give credits to you on my thread
Deopolos14 said:
I Cant do it true man :crying: now zip gives status 6 error Can you do it true on pm ? i'm give credits to you on my thread
Click to expand...
Click to collapse
status 6 means incorrect update script - you have made an error and there is incorrect syntax
I suggest you look at other icon packs and compare updater scripts so you get an understanding on what it should look like
for example here is an icon pack thread
http://forum.xda-developers.com/showthread.php?t=2470700
Its eurovision night here so theres no chance of me doing anything sorry!

how to decompile and decompile setting.apk ???

how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
darw andi said:
how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
Click to expand...
Click to collapse
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
marcussmith2626 said:
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
Click to expand...
Click to collapse
thanks before
My problem has been resolved
I use apk manager via pc
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
vai8080 said:
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
Click to expand...
Click to collapse
Which apk ?
Islam2001 said:
Which apk ?
Click to expand...
Click to collapse
It is the setting apk:what::what:
Can u do it for me
vai8080 said:
It is the setting apk:what::what:
Can u do it for me
Click to expand...
Click to collapse
U mran the stock ?
Islam2001 said:
U mran the stock ?
Click to expand...
Click to collapse
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
vai8080 said:
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
Click to expand...
Click to collapse
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
marcussmith2626 said:
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
Click to expand...
Click to collapse
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
vai8080 said:
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
Click to expand...
Click to collapse
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
marcussmith2626 said:
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
Click to expand...
Click to collapse
K thanks man

S5 Toolbox For Galaxy Note 3

Hi Guys,
I have been looking into porting of Galaxy S5 toolbox for Note 3.
I have decompiled all the S5 files (SecSettings, Framework-res, SystemUI) and found that it is possible to port it to Note 3 (I might be wrong);
But I don't have fluent knowledge of .smali files, Somehow I manage to understand something by converting .smali files into .java..
So can some dev help me, so that we can work together for porting toolbox to Stock firmware of Note 3.
Thanks.
amk19 said:
Hi Guys,
I have been looking into porting of Galaxy S5 toolbox for Note 3.
I have decompiled all the S5 files (SecSettings, Framework-res, SystemUI) and found that it is possible to port it to Note 3 (I might be wrong);
But I don't have fluent knowledge of .smali files, Somehow I manage to understand something by converting .smali files into .java..
So can some dev help me, so that we can work together for porting toolbox to Stock firmware of Note 3.
Thanks.
Click to expand...
Click to collapse
Tollbox
need android.policy.jar framework2.jar service.jar edit
qwerty123258 said:
Tollbox
need android.policy.jar framework2.jar service.jar edit
Click to expand...
Click to collapse
Hi,
No need to make changes in SecSettings and SystemUI..?
For S5, I found that most piece of code is present in SecSettings.
Thanks.
amk19 said:
Hi,
No need to make changes in SecSettings and SystemUI..?
For S5, I found that most piece of code is present in SecSettings.
Thanks.
Click to expand...
Click to collapse
yes no edit
qwerty123258 said:
yes no edit
Click to expand...
Click to collapse
Can you just tell me which all file I have to look into for porting toolbox.
1. For com.android.policy.jar
2. Services.jar
3. Framework2.jar
I have decompiled all the files from S5 and trying to find it out.
amk19 said:
Can you just tell me which all file I have to look into for porting toolbox.
1. For com.android.policy.jar
2. Services.jar
3. Framework2.jar
I have decompiled all the files from S5 and trying to find it out.
Click to expand...
Click to collapse
service.jar = severthread.smali
android.policy.jar= phonewindowmanager$settingobserver.smal phonewindowmanager.smali
framework2.jar=viewrootimpl.smali toolboxmanager.smali toolboxfloatingviewer.smali and.. i don't remember
qwerty123258 said:
service.jar = severthread.smali
android.policy.jar= phonewindowmanager$settingobserver.smal phonewindowmanager.smali
framework2.jar=viewrootimpl.smali toolboxmanager.smali toolboxfloatingviewer.smali and.. i don't remember
Click to expand...
Click to collapse
Thank you.
Thanks a lot.
I found all the files except ViewRootImp.smali in framework2.jar.
Are you sure that file is present?
And I found a whole folder named TwToolBox with all smali files in framework2.jar.
amk19 said:
Thank you.
Thanks a lot.
I found all the files except ViewRootImp.smali in framework2.jar.
Are you sure that file is present?
And I found a whole folder named TwToolBox with all smali files in framework2.jar.
Click to expand...
Click to collapse
ViewRootImp >>> ViewRootImpl
qwerty123258 said:
ViewRootImp >>> ViewRootImpl
Click to expand...
Click to collapse
Sorry.
I couldn't find viewrootimpl.smali in framework2.jar.
I am still searching.
Thanks a lot for your help.
amk19 said:
Sorry.
I couldn't find viewrootimpl.smali in framework2.jar.
I am still searching.
Thanks a lot for your help.
Click to expand...
Click to collapse
android/view folder maybe...
qwerty123258 said:
android/view folder maybe...
Click to expand...
Click to collapse
Yeah. I got it.
Thanks a lot buddy.
@qwerty123258
Hi. Thanks for your help.
I got all the files you mentioned.
What should I do now?
I have to copy those changes to my Note 3 jar files? And recompile it?
That's it?
Or any other things I have to take care of?

Resources