[Q] decompile this apk file - Sony Xperia T, TL, TX, V

help pleas about this file i tray many time to decompile
but doesn't work
heeeeer

lol? how about some informations? what is it?

Shobr said:
help pleas about this file i tray many time to decompile
but doesn't work
heeeeer
Click to expand...
Click to collapse
Just a couple of questions spring to mind...
Are you trolling around heeeeer?
What is it?
Where is it from?
What did you try to decompile it with?
Do you have java installed?
What apktool version do you have?
Do you get an error log?
Can you post your error log?
What are you trying to do?

dully79 said:
Just a couple of questions spring to mind...
Are you trolling around heeeeer?
What is it?
It is whats app
Where is it from?
What did you try to decompile it with?
I want to chang the version
Do you have java installed?
Yes
What apktool version do you have?
I use last version and it is work with other app
Do you get an error log?
Yes
Can you post your error log?
What are you trying to do?
Change the vrsion
Click to expand...
Click to collapse
Sent from my LT29i using xda app-developers app

Shobr said:
Sent from my LT29i using xda app-developers app
Click to expand...
Click to collapse
Use apk multi tool and you will recieve a log file that will tell you the error. attach the log.txt it if you dont understand and ill take a look.

hear is the error
Tue 08/13/2013
2:58:25.57
Decompiling..
I: Baksmaling...
This dex file has a link section, which is not supported. Ignoring.
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: Index: 33387, Size: 12702
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:77)
at org.jf.dexlib.Code.InstructionWithReference.lookupReferencedItem(InstructionWithReference.java:79)
at org.jf.dexlib.Code.InstructionWithReference.<init>(InstructionWithReference.java:57)
at org.jf.dexlib.Code.Format.Instruction21c.<init>(Instruction21c.java:63)
at org.jf.dexlib.Code.Format.Instruction21c.<init>(Instruction21c.java:40)
at org.jf.dexlib.Code.Format.Instruction21c$Factory.makeInstruction(Instruction21c.java:108)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:82)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:72)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Caused by: java.lang.IndexOutOfBoundsException: Index: 33387, Size: 12702
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:75)
... 18 more
Error occured while retrieving the field_id_item item at index 33387
Error occured at code address 16
code_item @0x271480

i have this error only with this apk file
with other app its work

Do you have the latest apktool and smail/baksmali?

i use this one
elesbb's_GUI_APK_Tool_v1.1.4.5_installer.zip

Never heard of it. try apk multi tool, it has the latest apktool and smali/baksmali.

ok i download this one but i don't know how to use do u have a post that explain this one??

Have a look at the apk multi tool thread OP, it should tell you.

Related

how do you read xml files in the apk files, help???

Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Sent from my HERO200 using XDA App
&RoidRage said:
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Great advice!
lol j/k
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
Do a search in the forums. There are threads I have started and others as well that explain and gives u apps to help
Powers16 said:
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Click to expand...
Click to collapse
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
dsMA said:
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
Click to expand...
Click to collapse
Use smali and backsmali. If you download this little toolkit from here you should be able to edit them in notepad++. I forgot how to use them but its pretty easy.
Maybe I'm wrong--been so long since I've messed with this stuff
dsMA said:
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Decad3nce said:
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Click to expand...
Click to collapse
Hey did u add the axmlprinter.bat file I posted on ur resource page
Papa Smurf151 said:
Hey did u add the axmlprinter.bat file I posted on ur resource page
Click to expand...
Click to collapse
Yep, with your description
Decad3nce said:
Yep, with your description
Click to expand...
Click to collapse
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
I effing love your apktool. Use it daily!
Papa Smurf151 said:
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
Click to expand...
Click to collapse
Go ahead man...
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Papa Smurf151 said:
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/issues/detail?id=70
Brut.all said:
http://code.google.com/p/android-apktool/issues/detail?id=70
Click to expand...
Click to collapse
I understand ur view. I didn't make the bat file just thought it was useful and u might like it. BTW words on post instead of just a link really helps in communicating around here. Just sayin
Papa Smurf151 said:
BTW words on post instead of just a link really helps in communicating around here. Just sayin
Click to expand...
Click to collapse
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Brut.all said:
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Click to expand...
Click to collapse
Yeah second option would be better but I wasn't bashin bro u do great work
You can also view and edit binary xml's in root explorer, as long as they haven't been hex edited. Skews up the formatting some how.
Sent from my HERO200 using XDA App

cant deodex my stock rom

hey fella's am trying to deodex my stock rom using this method Manually Deodex Any S5830 Rom !!!
and i still get an error message
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.jav
a:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:7
9)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 4
code_item @0x2244
Click to expand...
Click to collapse
i have tried to deodex frame work first, but i get the same error
so what is the problem? and is there any requirments that my PC should have?
am glad for your support PPL
please help
Retry the process from beggining
I've had this nasty eroor but i retry and worked
P.S. I know you don't modify anything (framework, system files) before deodex it !
Haven't you ?
Cryss said:
Retry the process from beggining
I've had this nasty eroor but i retry and worked
P.S. I know you don't modify anything (framework, system files) before deodex it !
Haven't you ?
Click to expand...
Click to collapse
hehehe i dont know how to modify a thing :angel: am an accountancy student but i like tech and my phone
but it is solved the problem was with the version of xUltimate
eraser0 said:
hehehe i dont know how to modify a thing :angel: am an accountancy student but i like tech and my phone
but it is solved the problem was with the version of xUltimate
Click to expand...
Click to collapse
which version did u used????

[Q] Who can help me ?

Who can help me to Decompile SystemUI.apk?
I've tried all the methods on YouTube but with no luck, I just can't decompile anything
Can someone help me with that? I'm using Apktools but with no luck.
Bucika said:
Who can help me to Decompile SystemUI.apk?
I've tried all the methods on YouTube but with no luck, I just can't decompile anything
Can someone help me with that? I'm using Apktools but with no luck.
Click to expand...
Click to collapse
Try to put Apk Manager on root hard drive "C:\" "D:\"
---------- Post added at 02:40 PM ---------- Previous post was at 02:36 PM ----------
Bucika said:
Who can help me to Decompile SystemUI.apk?
I've tried all the methods on YouTube but with no luck, I just can't decompile anything
Can someone help me with that? I'm using Apktools but with no luck.
Click to expand...
Click to collapse
and btw you should check this guide http://forum.xda-developers.com/showthread.php?t=1848458
this one is nice, if you want theming
http://forum.xda-developers.com/showthread.php?t=1633333
Thank you both, APK MANAGER just quits on me... Considering Apktools I'm still trying to make it work..
Bucika said:
Thank you both, APK MANAGER just quits on me... Considering Apktools I'm still trying to make it work..
Click to expand...
Click to collapse
I am very new at this, I did not have any plans for this weekend, and then started playing with this apps... If you dont know, here you have latest version of apktools, some instructions, faq...
http://forum.xda-developers.com/showthread.php?t=1310151
and dont forget:
Requirements:
Java 1.6
Android SDK
I was banging my head all night, then I saw requirements LOL :laugh:
Good luck, and a lot of patience :good:
Hehe, thank you! I don't have android SDK installed, will download now, and give it a try.
if you just want to decompile then use 7zip and extract the apk
Sent from my GT-N7000 using Tapatalk 2
Bucika said:
Thank you both, APK MANAGER just quits on me... Considering Apktools I'm still trying to make it work..
Click to expand...
Click to collapse
this could be because the java is not installed and or the path is not set in windows environment variables. http://java.com/en/download/help/path.xml
You can use APK multitools from here http://forum.xda-developers.com/showthread.php?t=2038675..
it works great and decompiles and compiles with no errors
if what you aim is to edit some PNGs use the method as abhinav quietly brilliant.. but if you aim on changing xml (in /vaules) then you need to decompile.

[Req] How to change app name?

I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
saif1012 said:
I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
Click to expand...
Click to collapse
I can try, send me a picture and the name that appears the apk by PM! :laugh:
link and pic
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
saif1012 said:
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
Click to expand...
Click to collapse
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
In Nova launcher you just need to hold on an icon, slide it to Edit and just delete or rewrite name. that simple.
thanks a ton!
MarĂ­lia de Oliveira said:
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
Click to expand...
Click to collapse
Just what I wanted! can u tell me how u did it?
Thanks so much!
saif1012 said:
Just what I wanted! can u tell me how u did it?
Thanks so much!
Click to expand...
Click to collapse
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
sandy7 said:
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
Click to expand...
Click to collapse
Great @sandy7 right and finally sign the apk
Please post questions in the Q&A section
Thread moved

Please Help Me Change The Product I.D.

Hey! All cool dev over there i have been able to create a working xap to deploy for WHATSAPP
but i am working on to install multiple WhatsApp on one device.
so my request to the great developers to kindly help me out in changing the product id of the attached AppxManifest and WMAppManifest file. I have enclosed the same in the zip.
i will me thankfull to u
and ya off course its a part of development and hacking i suppose.
Dont know nothing about this. Sorry pal.
It's ok. I am still waiting for it! May be someone can help ?
edit it with notepad or something idk
(not so sure if it will work)
Super_Vegito said:
edit it with notepad or something idk
(not so sure if it will work)
Click to expand...
Click to collapse
Editing with Notepad or any other text editor won't work for its original file is regenerated in the rebuild process and btw I have already tried all sort of text editors
Danish18 said:
Editing with Notepad or any other text editor won't work for its original file is regenerated in the rebuild process and btw I have already tried all sort of text editors
Click to expand...
Click to collapse
Try this file and say .
irshad2809 said:
Try this file and say .
Click to expand...
Click to collapse
Irshad bhai I can't get the file that u uploaded. You can change the product I.D. on vissual studio and I promise to provide 2 WhatsApp xaps for sideloading

Categories

Resources