I have an .apk file which containing the new HTC keyboard, and I tried to translate the Russian layout to Hebrew so I'll be able to use any ROM which use this keyboard (I can't find the original Android SK on the ROM).
There is no problem to find the Russian XML files, but it's all compiled to a strange binary XML.. can someone help me with it? is there any way to decompile it to a normal XML again and then recompile it so i'll be able to override the original on my system?
thanks in advance
Avi
You would have to use a hex editor. More helpful information may be found here:
http://forum.xda-developers.com/showthread.php?t=479019
AXMLPrinter2:
http://forum.xda-developers.com/showthread.php?t=514412
Stericson's hex editing tutorial:
http://forum.xda-developers.com/showthread.php?t=479019
Thanks you two
I wish we'll have an app in the future (maybe i'll write one ) that can easly decompile/recompile - just like we have for mode9 files etc.
A problem, I can only decode it to a normal txt file - but I can't recode it back to that binary xml format...
How can I do that?
avimak said:
A problem, I can only decode it to a normal txt file - but I can't recode it back to that binary xml format...
How can I do that?
Click to expand...
Click to collapse
There's a converter in the Android SDK.
jashsu said:
There's a converter in the Android SDK.
Click to expand...
Click to collapse
Which one? there's a lot of them there...
avimak said:
Which one? there's a lot of them there...
Click to expand...
Click to collapse
"aapt dump xmltree" will show the contents but not in actual xml.
cyanogen said:
"aapt dump xmltree" will show the contents but not in actual xml.
Click to expand...
Click to collapse
Hi man, I'm already using AXMLPrinter2.jar to decode the xml file, that's not the problem. I'm looking for a way to recode it back to binary - and jashsu says it's in the SDK, but we have there about 100 different tools so I asked him which one is to recode a simply xml to binary xml that's fits Android
do you know?
Hey Avi,
why don't you use the hebrew keyboard that already published in iandroid.co.il forums?
zrubi said:
Hey Avi,
why don't you use the hebrew keyboard that already published in iandroid.co.il forums?
Click to expand...
Click to collapse
Well, first of all I'm using it now and it's great.. but still the HTC official keyboard looks bigger and wider for me, plus there is a space there (in the Russian layout) for question mark etc...
Related
These are 45*45 icons and png files, I hope that it would be useful for many xda members. But I still don't really know how to change backlight icon in settings, I also used hcomber.
Still it would be useful for everyone.
DLL now available. !!!!!!
Would be great if anybody with the knowledge could make a cab so we could install wm6.5 icons to 6.1 systems...
Thanks Buddy
Any chance you could make 3 folder ones for like
Accessories
Multimedia
Tools
folders?
Most ROM's have these folders so it would be nice to have some icons that match..
thank you!!
alleluia!!
thanx a lot...
DLL Version
DLL extension released beacuse many programs such as SK shortcut Manager requires dll as a source for icons. So, Enjoy!!!!
rahul_c_o_ol said:
These are 45*45 icons and png files, I hope that it would be useful for many xda members. But I still don't really know how to change backlight icon in settings, I also used hcomber.
Still it would be useful for everyone.
DLL now available. !!!!!!
Click to expand...
Click to collapse
Is it possible to have the png folder in 128*128 ?
vieuxclou said:
Is it possible to have the png folder in 128*128 ?
Click to expand...
Click to collapse
Sorry, I don't have 128*128 but you can google for it there are many online image resizer available.
rahul_c_o_ol said:
These are 45*45 icons and png files, I hope that it would be useful for many xda members. But I still don't really know how to change backlight icon in settings, I also used hcomber.
Still it would be useful for everyone.
DLL now available. !!!!!!
Click to expand...
Click to collapse
Mortscript button is in all files? I did not see it in the png zip. Of course I can convert. I just wanted to let you know.
How to use
Drag and drop the initflashfiles.dat file over the tool executable and two files named "initflashfiles_decoded.dat" (identical file with the hexadecimal values removed) and "initflashfiles_compact.dat" (file with only the decoded entries and no comments or empty lines) will be created.
Note
The tool will write only valid lines in the compact file so if you find any line is missing please make sure it's a valid line before reporting the issue.
Changelog
(27/08/2010) v1.01: Now the tool saves the in-line comments as well
(25/08/2010) v1.00: Initial release
wow ! very nice tool !! thanks
airxtreme said:
How to use
Drag and drop the initflashfiles.dat file over the tool executable and two files named "initflashfiles_decoded.dat" (identical file with the hexadecimal values removed) and "initflashfiles_compact.dat" (file with only the decoded entries and no comments) will be created.
Note
The tool will discard in-line comments (comments written on the right of an entry) in the decoded file and will write only valid lines in the compact file.
Click to expand...
Click to collapse
Really nice tool! Great job as always airxtreme.
any chance you could add support for provxml?
does this tool need .NET or anything like that?
selyb said:
any chance you could add support for provxml?
Click to expand...
Click to collapse
Not yet, I still haven't finished my provxml parser
selyb said:
does this tool need .NET or anything like that?
Click to expand...
Click to collapse
It requires .NET 2.0 or higher to run
Thanks man.You are the real deal
Hello Hello,
Sorry for this noob question, but, what's the advantage of this tool ?
I have difficulties to understand.
Thanks a lot,
Regards,
Nixeus
Nixeus said:
Hello Hello,
Sorry for this noob question, but, what's the advantage of this tool ?
I have difficulties to understand.
Thanks a lot,
Regards,
Nixeus
Click to expand...
Click to collapse
Many OEMs put in the initflashfiles files hexadecimal values instead of characters for localization purposes, making very hard for cooks to understand what the entries are about; this tool takes all those hexadecimal values and decodes them to text.
mmm Ok, so,this tool is in order to decode the one initflashfiles.Dat ?
Nice job!
Thanks for sharing.
Nixeus said:
mmm Ok, so,this tool is in order to decode the one initflashfiles.Dat ?
Click to expand...
Click to collapse
Well, as the tool name says, yes.
This may also be a stupid question but with your kitchen it creates app.dat files in many of the Ext packages. Which I assume is added to the iniflashfiles.txt file? So what is the best practice run it on the iniflashfiles.txt and all of the app.dat files individually?
Thanks for clarification
bobsbbq said:
This may also be a stupid question but with your kitchen it creates app.dat files in many of the Ext packages. Which I assume is added to the iniflashfiles.txt file? So what is the best practice run it on the iniflashfiles.txt and all of the app.dat files individually?
Thanks for clarification
Click to expand...
Click to collapse
The next version will have all the validations and initflashfiles compacting built in
airxtreme said:
The next version will have all the validations and initflashfiles compacting built in
Click to expand...
Click to collapse
Great tools airxtreme ... good job mate
Awsom tool, wow
Maybe I'm a bit late but thanks a lot Airxtreme.
Hi
How I can add lang to an application and What is the tool
I use an apkmanager 4.9
but it didn't do great work with app like whatsapp that has a 3.8 MB
What is the right to do with that?!
I have the app files but I can't Building apk file!!!
Any help?! by the way I'm new to Android world and I just gate my great Galaxy s 2
Thanks.
Import java.lang;
I kid... what are you talking about?
From something awesome
killersnowman said:
Import java.lang;
I kid... what are you talking about?
From something awesome
Click to expand...
Click to collapse
lool
I talk about edit lang in an app and then building up apk file for it
it's something wanted to add lang without been supported from app Author.
just that simple!
Look for strings.xml.
yes but how to re build the apk files?!
I have every thing I want except that!!
Well, I only know this approach:
1 - recover the source code from the apk; it should be a lot of sw doing it. Hope the code is not cripted;
2 - import the project in Eclipse;
3 - find out the strings.xml
4 - change the strings in your language; I suggest you to create a new folder to put a copy of the strings.xml file that will become your language file so the new strings.xml will be used with your own language without delete the old one;
5 - rebuild the app
6 - you could find the new .apk in the bin folder of the project
If you want to do all of that using only the phone, without a PC, I'm not able to help you sorry.
how i need resize a launcher or other things
kaassaus said:
how i need resize a launcher or other things
Click to expand...
Click to collapse
Please use the 'search' tool..
Plus VigiDroid recently typed a guide for resizing .xml's.
A real dev should know what to do instead of opening these useless threads.
You shouldn't be too harsh to him. He was either unsure or confused on what to do.
XDeveloperX said:
You shouldn't be too harsh to him. He was either unsure or confused on what to do.
Click to expand...
Click to collapse
Look at the other threads he have opened. The answers to all his questions are just somewhere at XDA (I think he can imagine that) so the next step is using the 'search' tool.
I think everyone can do this.
Sent from my HTC Wildfire using Tapatalk
Resizing
Here's the link for the thread:
http://forum.xda-developers.com/showthread.php?t=1296554
mrweqa said:
Here's the link for the thread:
http://forum.xda-developers.com/showthread.php?t=1296554
Click to expand...
Click to collapse
I was traying resize rosie.apk but nothing i was in the values-mdpi file
Sent from my HTC Wildfire using XDA App
kaassaus said:
I was traying resize rosie.apk but nothing i was in the values-mdpi file
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Wait did you even read my guide...? Nothing about values-mdpi... If you read the guide correctly you would learn that to resize you have to edit the values in xml files in /res/layout or /res/layout-mdpi or /res/layout-port or /res/layout-land
And it doesn't just happen all correctly with one change of a file and majority of the time when you change something you notice nothing has changed, this happens to me all the time, it just takes patience to get it right!
VigiDroid said:
Wait did you even read my guide...? Nothing about values-mdpi... If you read the guide correctly you would learn that to resize you have to edit the values in xml files in /res/layout or /res/layout-mdpi or /res/layout-port or /res/layout-land
And it doesn't just happen all correctly with one change of a file and majority of the time when you change something you notice nothing has changed, this happens to me all the time, it just takes patience to get it right!
Click to expand...
Click to collapse
@VigiDroid
Sorry my friend but i must correct you the .xml files that you must edit are not in the res/layout or res/layout-mdpi folder they are indeed in the res/values and res/values-mdpi folders unless i'm mistaken but as i resized your lockscreen for SenseOnFire rom those were the .xml files i edited
stevie67 said:
@VigiDroid
Sorry my friend but i must correct you the .xml files that you must edit are not in the res/layout or res/layout-mdpi folder they are indeed in the res/values and res/values-mdpi folders unless i'm mistaken but as i resized your lockscreen for SenseOnFire rom those were the .xml files i edited
Click to expand...
Click to collapse
Are you questioning my experience? haha
Now you see it seems I have overlooked lockscreen (which is why I could not get it to resize) nearly every other app you have to modify the .xml files in the layout folder but as a general rule you should just go and look into every .xml file and try and note if anything might be related to a layout..
if have try apk manager but my java doing weard :S
kaassaus said:
if have try apk manager but my java doing weard :S
Click to expand...
Click to collapse
Try apktool, its better IMO, and whats wrong with java?
VigiDroid said:
Try apktool, its better IMO, and whats wrong with java?
Click to expand...
Click to collapse
Dont know little bit rear
and does it works on windows because when i open the file in winzip it only show a jar file
Sent from my HTC Wildfire using XDA App
Hello everyone.
I'm trying to start to make some mods in some applications but I'm not sure where to start, mainly because i'm in Linux.
For Windows I know about dnSpy which allow us to decompile, edit, compile etc etc apk files!
Is there any applications for Linux to do the same job?
HorusEyE said:
Hello everyone.
I'm trying to start to make some mods in some applications but I'm not sure where to start, mainly because i'm in Linux.
For Windows I know about dnSpy which allow us to decompile, edit, compile etc etc apk files!
Is there any applications for Linux to do the same job?
Click to expand...
Click to collapse
APK Studio :good:
guitardedhero said:
APK Studio :good:
Click to expand...
Click to collapse
Ok, I have already that application installed, but it keeps telling me that I should have some 3rd party applications in my "vendor" folder. What applications are those? I already tried to copy into that folde "adb" and also the applications that comes with APK Tool, but it still shows the same warning. And I cannot edit dll modules with APK Studio as I can with dnSpy!
HorusEyE said:
Ok, I have already that application installed, but it keeps telling me that I should have some 3rd party applications in my "vendor" folder. What applications are those? I already tried to copy into that folde "adb" and also the applications that comes with APK Tool, but it still shows the same warning. And I cannot edit dll modules with APK Studio as I can with dnSpy!
Click to expand...
Click to collapse
I use apktool and smali/baksmali...no studio needed. It is also a good idea to have old and new versions of smali/baksmali (I use 1.3.3 and 2.1.3) because some mods you download the smali files will be in old code format. So I smali them into classes.dex with the 1.3.3 and then baksmali with 2.1.3 to convert old code to new before merging with your apk.
Sent from my SM-T210 using Tapatalk
RealWelder said:
I use apktool and smali/baksmali...no studio needed. It is also a good idea to have old and new versions of smali/baksmali (I use 1.3.3 and 2.1.3) because some mods you download the smali files will be in old code format. So I smali them into classes.dex with the 1.3.3 and then baksmali with 2.1.3 to convert old code to new before merging with your apk.
Sent from my SM-T210 using Tapatalk
Click to expand...
Click to collapse
Ok, thanks
I have downloaded version 2.2.0 of smali and baksmali and also a zip containing (i hope, smali and balsmali) version 1.3.3 of the same application! Is there any basic tutorials to teach how to start with these applications?
apktool
https://youtu.be/1t5n8rR5hTE
Smali/baksmali
https://forum.xda-developers.com/showthread.php?t=1296802
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
apktool
https://youtu.be/1t5n8rR5hTE
Smali/baksmali
https://forum.xda-developers.com/showthread.php?t=1296802
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Ok, after I have decompressed/decompiled/whatever the apk file I need to edit a file that is a dll module! It has some like c# or so code. How can I edit these files, change them and compile the file again???? Some use dnSpy and when the dll file is opened, we can see a lot of code, functions and stuff. How can I do that without dnSpy because looks like there is no linux version of dnSpy.
HorusEyE said:
Ok, after I have decompressed/decompiled/whatever the apk file I need to edit a file that is a dll module! It has some like c# or so code. How can I edit these files, change them and compile the file again???? Some use dnSpy and when the dll file is opened, we can see a lot of code, functions and stuff. How can I do that without dnSpy because looks like there is no linux version of dnSpy.
Click to expand...
Click to collapse
I've never had to edit dlls. Are you trying to hack a game? Anyways, on windows I use Notepad++, but on Ubuntu I use Notepadqq.
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
I've never had to edit dlls. Are you trying to hack a game? Anyways, on windows I use Notepad++, but on Ubuntu I use Notepadqq.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Yes, I was trying to create my own modded version of a game! I usually use Atom, but I already tried to open DLL files with Atom and it doesn't work!
Do I have that Notepadqq for Debian?
HorusEyE said:
Yes, I was trying to create my own modded version of a game! I usually use Atom, but I already tried to open DLL files with Atom and it doesn't work!
Do I have that Notepadqq for Debian?
Click to expand...
Click to collapse
I`ve been trying to figure out why do you want to "create a modded apk" and according to your last post , you`re trying to bypass functionalities of an original game
This kind of thread / discussion isn`t allowed on XDA according to rule 6
6. Do not post or request warez.
If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit members to request, post, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained or used. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.
Thanks for understanding
Thread closed