Why does my XML look like this? - Samsung Galaxy Nexus

...and how do I make it stop? I've tried Notepad++ with the XML plugin, Eclipse, EditPlus, Notepad, WordPad, and none of them seem to be encoding it properly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

did you decompile the apk? or did you just extract the apk?

No... he didnt. Decompile the apk and it will come out normal.
Sent From My Sprint Galaxy Nexus

IINexusII said:
did you decompile the apk? or did you just extract the apk?
Click to expand...
Click to collapse
Oh... derp. I extracted it. That explains it.
I just spent about an hour trying to figure out why I can't build a decompiled apk. I was able to decode it just fine, but I get a bunch of errors when I try to build it. I gave up and thought I'd try smali to edit classes.dex and I thought I'd be able to edit the XML by simply extracting it from the apk.
I'm trying to modify the stock Jellybean launcher (following these directions) because Apex is too choppy and I don't like Nova.
I was able to edit launcher.smali, recompile it, put it back into the apk and flash it without any force closing issues (had to substitute a few things). Now I need to do the rest in XML but I can't recompile with apktool or anything.

Never mind. I've got it:
http://forum.xda-developers.com/showthread.php?p=28862729#post28862729

Related

[Q]after decompile-compile apk in Astro it had got problem with parsing

I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me
I'VE GIVEN YOU THE SOLUTION ON NUMEROUS THREADS. You don't need to start a thread for every apk you have an issue with.!
Sent from my CM9'd Arc
ah i'm sorry
danisariandi said:
I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like this
View attachment 1246446
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me
Click to expand...
Click to collapse
apktool 1.4.3 has compile problems.
Update aapt.exe by taking it from android sdk and try to compile again.
Should work fine.

[Q] How to change battery icon color?

Hi,
What should I do to change battery icon color from green to blue like this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My rom --> Xperia T ICS Rom V6.8 For Arc / Arc-S, Based on (4.0.4) 587
Thanks...
You have to download the SystemUI.apk that the rom uses, open it with 7zip, and go to res/drawable-hdpi and edit every picture that has 'stat_sys_battery' in it's name with paint or photoshop
Hi. The file u need to edit is system/app/SystemUI.apk. U have two options
- Decompile the file, make ur edits with any png editor, such as photoshop, gimp, etc and recompile. Replace the new file with the old one and give rw - r - r permissions
- Go to UOT Kitchen. There u have tons of different icons for statusbar. Make your choice. At the end you will be asked to upload some of the files of the rom you are using. It will provide you a flaseable zip. Flash it from recovery.
Hope it answers your doubt
Thank you both for your quick responses
I will try tomorrow...

Help with image that I find in contacts.apk

Hi all, I'm making a theme, but there is an image that can not be located where it is in Contacts.apk, and is the image that appears in the capture, the image is selected.
See if anyone would know what to say because I can not find it.
thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
framework-res.apk/res/drawable-xhdpi/tab_selected_holo.9
good day.
tiggerbcn said:
Hi all, I'm making a theme, but there is an image that can not be located where it is in Contacts.apk, and is the image that appears in the capture, the image is selected.
See if anyone would know what to say because I can not find it.
thanks
Click to expand...
Click to collapse
Totally agree with chopper, plus if you change it don't forget to change ( tab_selected_pressed_holo.9 )
Thank you very much at 2, and could be looking at changing contacts.apk and never find it.
For these files should not be, I watched those two files and the framework-res.apk I have these:
And there are those emerging in the contacs.apk tab because the image has a white line below and the blue color is different..
Must be other files.
Thanks anyway
I've figured out where you change, at least in the contacts.apk I have, to take him out of the rom Xylon and modify it to do INVERTED, this file is changed in several XML that are in
res/drawable and are:
tab_selected.xml
tab_selected_focused.xml
tab_selected_pressed.xml
tab_unselected_focused.xml
tab_unselected_pressed.xml
These files are not in other contacts.apk, a modification that should be made ​​in Xylom rom.
Thanks anyway.

[GUIDE] Easily Compile And Decompile Apk With Easy Apk Dissassmbler

EASY APK DISSASSMBLER .
EASY WAY TO COMPILE AND DECOMPILE APK .
FIRST OF ALL ALL CREDITS GOTO CREATOR OF THIS AWSOM TOOL .
CREDITS-ORION.BAK
So im just sharing his awsom work here .
ORIGINAL THREAD-http://forum.xda-developers.com/showthread.php?p=14049173
WHAT IS IT?
A awsom utility which is a helper/user interface for apktool and other great tool
to modify resources like xml ,png and dex and other ressource.
FEATURES
DECOMPILE APK
RECOMPILE AND SIGN IT AUTOMATCALLY
Disassemly a classes.dex with smali
Assembly a classes.dex with baksmali
Sign an apk
Convert an xm binary to xml
HOW TO USE?
:silly: Its so simple that it dosen't need any instruction :laugh: . But still i gave instruction for better help.
Just put any apk to apk dissassmbler folder
Run and press 0 and enter the name of apk for decompile.
Modify apk .
U can also launch n use notepad++ by pressing 7 if u dont have notepad++ preinstalled
After modification compile it by pressing 1 and entering the name of decompiled folder.
And it wll recompile and sign it automatically.
DONE.
-------------------------------------------------------------------------------------------------------------------------------------------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
Note: You need to have java installed and have java in the path.

System UI stopped after modify it with APK Manager

I have modified some png icons in my system UI, no problem with compile it.
But when I copy it to the phone, change permissions, etc. Reboot phone, and SystemUI doesn´t works.
Any developer can help me changing the icons?
Bro this is why Samsung uses .qmg icons instead of png
Sent from my Pixel XL using Tapatalk
fernandovidaltello said:
I have modified some png icons in my system UI, no problem with compile it.
But when I copy it to the phone, change permissions, etc. Reboot phone, and SystemUI doesn´t works.
Any developer can help me changing the icons?
Click to expand...
Click to collapse
U know wut bro samsung make their diff so much secure so only people with great knowledge can only do modifications. Tell your device model and get a backup from someone to get it fixed.
I found the problem.
In Apk Manager, the compression level is 9, only change this to 0 and compile it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can you give me apk manager link?
fernandovidaltello said:
Click to expand...
Click to collapse
can you give me the link of your systemui?

Categories

Resources