Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ZduneX25
Old
#21  
ZduneX25's Avatar
Recognized Themer
Thanks Meter 4216
Posts: 3,322
Join Date: Nov 2010

 
DONATE TO ME
That's why xml needs other file to work, you have to get apk, xml isn't enough :/

What is your xml file name and from which app is it??
Mirrors of: Themes | Roms


Themes: Honeycomb | Optimus2X | ArcSwift | MEIZU | MIUI | ICS (lite) | MIUIv4/4.1
Patchers: CM7 Theme Patcher | ICS Statusbar | M4X
Roms: MIUI ICS | AOSP JB | JoyOS GB

"Whatever you do in life will be insignificant, but it's very important that you do it, because nobody else will."

It's a good day to press a thumb . Cheers
 
Overloaded
Old
#22  
Senior Member
Thanks Meter 78
Posts: 475
Join Date: Apr 2009
Location: Twentuh!

 
DONATE TO ME
Quote:
Originally Posted by ZduneX25 View Post
That's why xml needs other file to work, you have to get apk, xml isn't enough :/

What is your xml file name and from which app is it??
I want to edit status_bar.xml from SystemUI.apk

I can open and edit the AndroidManifest.xml file from the SystemUI.apk but i can't seem to open or edit the status bar file
Galaxy Note 2!
 
ZduneX25
Old
#23  
ZduneX25's Avatar
Recognized Themer
Thanks Meter 4216
Posts: 3,322
Join Date: Nov 2010

 
DONATE TO ME
Share that systemui.apk file with me.
Mirrors of: Themes | Roms


Themes: Honeycomb | Optimus2X | ArcSwift | MEIZU | MIUI | ICS (lite) | MIUIv4/4.1
Patchers: CM7 Theme Patcher | ICS Statusbar | M4X
Roms: MIUI ICS | AOSP JB | JoyOS GB

"Whatever you do in life will be insignificant, but it's very important that you do it, because nobody else will."

It's a good day to press a thumb . Cheers
 
Actura
Old
#24  
Senior Member
Thanks Meter 168
Posts: 434
Join Date: Dec 2010
Location: Bogor
i have a problem when i launched a command like in the first page, the xml files won't decompiled or converted , the *.txt files that converted just had this lines on it
Code:
<?xml version="1.0" encoding="utf-8"?>
where is the other lines ?

note : i'm trying to open *.xml on browser.apk
Attached Thumbnails
Click image for larger version

Name:	error axml2.jpg
Views:	125
Size:	24.1 KB
ID:	639460  
 
ZduneX25
Old
#25  
ZduneX25's Avatar
Recognized Themer
Thanks Meter 4216
Posts: 3,322
Join Date: Nov 2010

 
DONATE TO ME
You have to decompile whole browser app. Or put that file on your SD and open using root explorer.
Mirrors of: Themes | Roms


Themes: Honeycomb | Optimus2X | ArcSwift | MEIZU | MIUI | ICS (lite) | MIUIv4/4.1
Patchers: CM7 Theme Patcher | ICS Statusbar | M4X
Roms: MIUI ICS | AOSP JB | JoyOS GB

"Whatever you do in life will be insignificant, but it's very important that you do it, because nobody else will."

It's a good day to press a thumb . Cheers
 
funeral666
Old
#26  
funeral666's Avatar
Junior Member
Thanks Meter 5
Posts: 26
Join Date: Sep 2007
Location: Fuvahmulah
I'm getting the same problem when i'm trying to edit status_bar.xml file.
I only get this

<?xml version="1.0" encoding="utf-8"?>

no other lines. Anyone found a solution?
Chicken will taste like candy if chicken was a candy!
 
ZduneX25
Old
#27  
ZduneX25's Avatar
Recognized Themer
Thanks Meter 4216
Posts: 3,322
Join Date: Nov 2010

 
DONATE TO ME
You have to decompile whole SystemUI (Gingerbread) framework-res (FroYo) apk. There is no other way.
Mirrors of: Themes | Roms


Themes: Honeycomb | Optimus2X | ArcSwift | MEIZU | MIUI | ICS (lite) | MIUIv4/4.1
Patchers: CM7 Theme Patcher | ICS Statusbar | M4X
Roms: MIUI ICS | AOSP JB | JoyOS GB

"Whatever you do in life will be insignificant, but it's very important that you do it, because nobody else will."

It's a good day to press a thumb . Cheers
 
jackfrost3821
Old
#28  
jackfrost3821's Avatar
Senior Member
Thanks Meter 58
Posts: 266
Join Date: Oct 2010
Location: New Mumbai
I have extracted whole framework-res.apk When I run axmlprinter2 from \apk_manager_4.9\projects\framework-res.apk\res\layout I get nothing more than :

<?xml version="1.0" encoding="utf-8"?>
 
ZduneX25
Old
#29  
ZduneX25's Avatar
Recognized Themer
Thanks Meter 4216
Posts: 3,322
Join Date: Nov 2010

 
DONATE TO ME
up: man did you even read my posts in here, don't extract it, decompile it..
Mirrors of: Themes | Roms


Themes: Honeycomb | Optimus2X | ArcSwift | MEIZU | MIUI | ICS (lite) | MIUIv4/4.1
Patchers: CM7 Theme Patcher | ICS Statusbar | M4X
Roms: MIUI ICS | AOSP JB | JoyOS GB

"Whatever you do in life will be insignificant, but it's very important that you do it, because nobody else will."

It's a good day to press a thumb . Cheers
 
Eclipse6S
Old
#30  
Member
Thanks Meter 6
Posts: 45
Join Date: Nov 2011
Location: Nuremberg (Germany)

 
DONATE TO ME
I have a problem with this.
When I try to run it I get this
Code:
C:\Users\Username\Desktop\APP Modification\Project\Statusbar>java -jar AXMLPrinter2.
jar status_bar.xml > status_bar.txt
java.lang.ArrayIndexOutOfBoundsException: 180
        at android.content.res.StringBlock.getShort(StringBlock.java:231)
        at android.content.res.StringBlock.getString(StringBlock.java:91)
        at android.content.res.AXmlResourceParser.getName(AXmlResourceParser.jav
a:140)
        at test.AXMLPrinter.main(AXMLPrinter.java:56)
Got any help?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more