APK MUNKY-RENCH
FOR LINUX\
A minimal dependency toolkit
WINDOWS IS TERRIBLE
Everybody knows it. Linux is a better platform for developers. No matter how much you themers hate it, it's true. You can't compile android from source in Adobe Photoshop. Linux Distros are built with developers in mind.
Well, what about those of us that aren't developers yet? Linux is hard, right?
Right!
Linux CAN be hard coming from Windows, where everything is all pretty and you just click away on your GUI. Setting up a build environment on Mint was a huge pain when I first made the switch. No install wizard, no tech support, no hope. While Linux can be very powerful, simple tasks like decompiling apps can be a killer. Gotta love that terminal.
Well, Apk munky-rench is here to help fix all that. As I was learning all these steps, I remember wishing that all the kits were a little more educational and the tutorials were a little more functional. So instead of just fighting my way through the learning process and leaving the rest of you to suffer, I have decided to build something that is part tool, part tutorial. Now you can enjoy a little functionality without having to fight with dependencies, and hopefully learn something along the way.
APK MUNKY-RENCH
SUPPORTS SAMSUNG DEVICES THROUGH ONBOARD HEIMDALL!!!
FEATURESAt initial release, apk munky-rench features the following:
Unzip Apk
Zip APK
Install Frameworks
Decompile Apk
Compile Apk
Sign Apk
Zipalign Apk
Compile System Apk
ADB Install
ADB Push/Pull
Fastboot Flash Recovery
Heimdall Flash Recovery
Flashable Zip Generator
Lollipop Compatibility
Brief Explanations of Features
Version 1.1 fixed broken menu option and updated to apktool 2.0 RC4
As time goes on, I will be adding more features and more tutorial functionality. Munky-rench is dependent only upon a proper installation of JAVA. All other tools are onboard.
INSTRUCTIONS
Download v1.1 from MEGA and extract, or visit my git to download a zip or clone (recommended, as I plan to add quite a bit of functionality). Run the munky-rench script. It should all be pretty straightforward from there. but post any questions here, and I will be happy to help. Also, feel free to suggest features or submit pull requests.
If you need a windows kit, markbencze has an updated one here.
CREDIT
Brut.all for apktool
The lovely folks over at signapk.jar
The zipalign team
Glass Echidna for Heimdall
markbencze for motivation
and absolutely anyone else who would like some credit.
The script is mine, the tools are not.
Remember to thank all the devs
And Google.
Heck, send Sergey a letter with your regards.
mine
and why not take one more?
This is awesome buddy. Great job on it. You've worked very hard on this!
Top well!!!
markbencze said:
This is awesome buddy. Great job on it. You've worked very hard on this!
Top well!!!
Click to expand...
Click to collapse
Thanks man. I hope to turn it into something pretty cool.
Can I use this on my note 2? Or does it have to be executed on PC? I have an apk that I want to try and resign. I'm a total noon when it comes to all this compile, decompile, sign apk and all. Thanks
DCOCH13 said:
Can I use this on my note 2? Or does it have to be executed on PC? I have an apk that I want to try and resign. I'm a total noon when it comes to all this compile, decompile, sign apk and all. Thanks
Click to expand...
Click to collapse
Has to be run on linux PC. It is a bash script with included apktool, signapk, and zipalign. If they ever release an apktool that works natively on android, I will build a similar .sh script, but for now, as far as I know, PC is the only way to compile apks
Now supporting ADB Push/Pull, Fastboot Flash Recovery, Heimdall Flash Recovery, and a Flashable zip generator that generates a flashable zip to test system apps AND another zip to flash the original apps back if you bootloop -- and gives you the option to push them to your sd. I will be expanding the fastboot and heimdall features eventually, and adding some kitchen features if I find the time, as well as making it more functional as a tutorial for noobs.
Excellent
anttaz said:
Excellent
Click to expand...
Click to collapse
Thanks. If you have any feedback, let me know. I'm gonna try to make it a useful as I can.
Will be testing lots believe me. And yes Will
Much top kit for decompile of apps in linux machine! Everything works out of the box much well, with no install of extra software! Much thanks for well tool.:thumbup:
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Rahul³™ said:
Much top kit for decompile of apps in linux machine! Everything works out of the box much well, with no install of extra software! Much thanks for well tool.:thumbup:
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Click to expand...
Click to collapse
Thanks, I just wanted to automate some of the features that we need all the time for themes and mods, and I remember how much of a pain initial setup of environment can be with linux, so I wanted to eliminate alot of those dependencies and extra steps. With this kit, you just put it in your file system (I keep mine in my ~/android folder), and it works. No adding anythint to path or weird errors.
apktool for Android does Exist !!!
mike the inkman said:
Has to be run on linux PC. It is a bash script with included apktool, signapk, and zipalign. If they ever release an apktool that works natively on android, I will build a similar .sh script, but for now, as far as I know, PC is the only way to compile apks
Click to expand...
Click to collapse
APKTool.apk for ANDROID does Exist for years my friend
Wolf Tatoo said:
APKTool.apk for ANDROID does Exist for years my friend
Click to expand...
Click to collapse
I know apktool for exists. I have decompiled with it, but I have never been able to recompile successfully. If you recompile successfully, shoot me a pm. I would for sure appreciate knowing what I was doing wrong.
Yes, native apktool has exist for years, also not update for years. It top idea for mek, but it take 10 minutes to compile just so can see many errors. Decompile with pc much weller, and top fast!
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Rahul³™ said:
Yes, native apktool has exist for years, also not update for years. It top idea for mek, but it take 10 minutes to compile just so can see many errors. Decompile with pc much weller, and top fast!
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Click to expand...
Click to collapse
Yeah. It would be nice if I could get it to work. It would be convenient for minor smali and xml stuff.
Yes, but good for at least to have a top well kit for easy apk modding in linux OS. Much thanks for share with Xda community!
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Rahul³™ said:
Yes, but good for at least to have a top well kit for easy apk modding in linux OS. Much thanks for share with Xda community!
Sent from Marican Bacon Cannogen fone running initial build of TurbanCMRom
Click to expand...
Click to collapse
Thanks man. I figure if I make something useful for myself, it isn't going to hurt me to add a couple more features I normally wouldn't use and share with the community. I have gotten a lot of help from these forums since my first android device, and it's just cool to give something back.
Great tool! There are so many for Windows and I had been searching a good Linux alternative for ages.
Just one query. Am I doing something wrong or 99 doesn't exit? It shows me the options for 11 instead
Keep up the good work
Related
Brut.all said:
It is a tool for reengineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.
It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.
Features:
decoding resources to nearly original form
smali debugging: SmaliDebugging
helping with some repetitive tasks
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/
Brut.all said:
http://code.google.com/p/android-apktool/
Click to expand...
Click to collapse
Oh this may well be excellent. I've got a 3rd-party Market app which desperately needs sensor orientation disabled (good ol' FC on rotate). Will check it out!
Brut.all said:
http://code.google.com/p/android-apktool/
Click to expand...
Click to collapse
heh! cool man ... will look into this one! TY
~enom~
this.. could.. be.. godly..
I don't have time to try this right now, but I'm PUMPED.
Ok, now I see, that it still doesn't work for many apps. But you can try your luck ;-)
I've just released 0.9.1 version with wider apps support.
Subscribed! Thanks Brut.All! Will play around with this one
Brut.all said:
http://code.google.com/p/android-apktool/
Click to expand...
Click to collapse
Vaooo!!! Megathanx!
Use it first and then thank. Still I don't have any confirmation from anyone that it works :-/
Brut.all said:
Use it first and then thank. Still I don't have any confirmation from anyone that it works :-/
Click to expand...
Click to collapse
working for me under ubuntu karmic, great work as ever Brut.all
Had the chance to set this up and make my edit. Absolutely painless. Great work. Thanks!
Android 1.5 can also work?
itanczos said:
Android 1.5 can also work?
Click to expand...
Click to collapse
Why not? It just builds apps, not run them, so it's a question like: "Do smali can also work with Android 1.5?" ;-)
That "Android SDK installed with 2.1 platform" requirement doesn't mean, that it will build apps for 2.1 . It will just use 2.1 resources, but these are (must be) backward compatible.
Brut.all said:
Why not? It just builds apps, not run them, so it's a question like: "Do smali can also work with Android 1.5?" ;-)
That "Android SDK installed with 2.1 platform" requirement doesn't mean, that it will build apps for 2.1 . It will just use 2.1 resources, but these are (must be) backward compatible.
Click to expand...
Click to collapse
Okay, I'll try!
Another question: The framwork-res.apk could not be decrypted. It will be possible later on?
itanczos said:
Another question: The framwork-res.apk could not be decrypted. It will be possible later on?
Click to expand...
Click to collapse
Maybe much later :-/
Even if we will be able to decode it and rebuild, we'll have FC after FC. The point is: framework resources must have constant resName<->resID mappings (eg. @android:string/day must be a 0x01040298), because they are referenced by all apps and unfortunately aapt doesn't give us control over resIDs mappings. I think framework-res.apk and other system files are built using some Google's private tools.
We need to create aapt-like tool, that will use custom resIDs mappings - it should be possible and maybe not so hard, but currently I have other things to do.
want a windows version >.<
lolmensch said:
want a windows version >.<
Click to expand...
Click to collapse
I must buy one ;-)
For now you need VirtualBox (free) + Ubuntu (free) + ~5GB of space (nearly free) and you will be able to use it
could this be used to modify this skype .apk to allow use on other carriers?
http://forum.xda-developers.com/showthread.php?t=585211&highlight=skype
ekeefe41 said:
could this be used to modify this skype .apk to allow use on other carriers?
http://forum.xda-developers.com/showthread.php?t=585211&highlight=skype
Click to expand...
Click to collapse
I don't know, what are these "iskoot", "3 network" and other things - I don't use Skype. But if you need to change something in XML files, then you definitely want to try out apktool
So this is the Avabox. original title i know
I put this to together back with the hero during some hard forums times in order to push further development with customizations. and it worked.
so here it is for the Evo devs. I set it up for windows but of course perl scripts run in linux so its universal. But if you want to learn/work on some customizations for the evo but you dont wanna dual boot linux or w/e here is something for you.
im hoping to see some good things soon any issues with this just comment or pm. good luck.
Avabox Download
What is it?
Avalaunchmods said:
So this is the Avabox. original title i know
I put this to together back with the hero during some hard forums times in order to push further development with customizations. and it worked.
so here it is for the Evo devs. I set it up for windows but of course perl scripts run in linux so its universal. But if you want to learn/work on some customizations for the evo but you dont wanna dual boot linux or w/e here is something for you.
im hoping to see some good things soon any issues with this just comment or pm. good luck.
Avabox Download
Click to expand...
Click to collapse
You are really doing us a favor. The Avabox's in the Hero forum were a life saver(but I lost the links to them).
Putting this in my Resources Guide. A must-have toolbox.
Decad3nce said:
You are really doing us a favor. The Avabox's in the Hero forum were a life saver(but I lost the links to them).
Putting this in my Resources Guide. A must-have toolbox.
Click to expand...
Click to collapse
good to hear. im staying busy so its hard to work on the evo. im honestly happy stock haha. but anyways yes lets keep this alive and get everyone in on some evo love
mrono said:
What is it?
Click to expand...
Click to collapse
its a compilation of scripts for windows to cook a rom and create/modify/extract/compile/unzip/deodex/sign/everything android 1.5 and up.
works with linux too.
Good timing. I'm here trying to remove yxplayer's trial / 2min time limit. Managed to decompile, edited smali files, recompile, sign. So far so good, worked as expected (re-mapping various functions to different buttons). Now gotta hunt down the code which actually triggers that 2min play limit, and with some luck, maybe the whole validate-the-serial-number routine
PS: was using only APKTool & Auto-Sign. Will check out the tools in Avabox and see if they will be useful.
This includes the installer for 64-bit ActivePerl. Here's the link for the 32-bit installer in case anyone needs it: http://downloads.activestate.com/Ac...ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi
bump for life.
maybe a bump maybe not this is awesome is this the latest version? Oh stupid question? Someones gonna ask. this is great for unpacking boot.img signing zips everything to make your own rom. Wow even has a deodexer
This package is literally everything you need to make your own custom rom. So use it.
Thank you so much
I tried doing a search to see if anyone had the problem I am currently having, but I could not find anything (on the hero forums as well). So, I thought I would ask the community.
I am trying to deodex an apk. The program says that it deodexed it, but there is no classes.dex file in the apk. I am getting an error running it though. Here is the error:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: java.lang.RuntimeException: error while dumping fiel
ds
at org.jf.dexlib.Util.Deodexerant.sendMultilineComman d(Deodexerant.java:
241)
at org.jf.dexlib.Util.Deodexerant.access$200(Deodexer ant.java:44)
at org.jf.dexlib.Util.Deodexerant$ClassData.loadField s(Deodexerant.java:
521)
at org.jf.dexlib.Util.Deodexerant$ClassData.lookupFie ld(Deodexerant.java
:473)
at org.jf.dexlib.Util.Deodexerant.lookupField(Deodexe rant.java:142)
at org.jf.dexlib.Util.DeodexUtil.deodexInstruction(De odexUtil.java:566)
at org.jf.dexlib.Util.DeodexUtil.deodexerizeCode(Deod exUtil.java:205)
at org.jf.baksmali.Adaptors.MethodDefinition$MethodIt emList.generateMeth
odItemList(MethodDefinition.java:183)
at org.jf.baksmali.Adaptors.MethodDefinition.getMetho dItems(MethodDefini
tion.java:144)
at org.jf.baksmali.Adaptors.MethodDefinition.makeTemp late(MethodDefiniti
on.java:61)
at org.jf.baksmali.Adaptors.ClassDefinition.getDirect Methods(ClassDefini
tion.java:272)
at org.jf.baksmali.Adaptors.ClassDefinition.makeTempl ate(ClassDefinition
.java:74)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:112)
at org.jf.baksmali.main.main(main.java:183)
Caused by: java.lang.RuntimeException: error while dumping fields
at org.jf.dexlib.Util.Deodexerant.sendMultilineComman d(Deodexerant.java:
232)
... 13 more
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:733)
at org.jf.dexlib.DexFile.place(DexFile.java:608)
at org.jf.smali.main.main(main.java:177)
Any clues? Thanks in advance for any response and help you might be able to offer.
Could a complete nub download this and make a ROM? I've been interested in getting into development, but I have no clue where to start. I catch onto things quickly, and I'm willing to learn. I just don't know where to begin.
athanos said:
I tried doing a search to see if anyone had the problem I am currently having, but I could not find anything (on the hero forums as well). So, I thought I would ask the community.
I am trying to deodex an apk. The program says that it deodexed it, but there is no classes.dex file in the apk. I am getting an error running it though. Here is the error:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: java.lang.RuntimeException: error while dumping fiel
ds
at org.jf.dexlib.Util.Deodexerant.sendMultilineComman d(Deodexerant.java:
241)
at org.jf.dexlib.Util.Deodexerant.access$200(Deodexer ant.java:44)
at org.jf.dexlib.Util.Deodexerant$ClassData.loadField s(Deodexerant.java:
521)
at org.jf.dexlib.Util.Deodexerant$ClassData.lookupFie ld(Deodexerant.java
:473)
at org.jf.dexlib.Util.Deodexerant.lookupField(Deodexe rant.java:142)
at org.jf.dexlib.Util.DeodexUtil.deodexInstruction(De odexUtil.java:566)
at org.jf.dexlib.Util.DeodexUtil.deodexerizeCode(Deod exUtil.java:205)
at org.jf.baksmali.Adaptors.MethodDefinition$MethodIt emList.generateMeth
odItemList(MethodDefinition.java:183)
at org.jf.baksmali.Adaptors.MethodDefinition.getMetho dItems(MethodDefini
tion.java:144)
at org.jf.baksmali.Adaptors.MethodDefinition.makeTemp late(MethodDefiniti
on.java:61)
at org.jf.baksmali.Adaptors.ClassDefinition.getDirect Methods(ClassDefini
tion.java:272)
at org.jf.baksmali.Adaptors.ClassDefinition.makeTempl ate(ClassDefinition
.java:74)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:112)
at org.jf.baksmali.main.main(main.java:183)
Caused by: java.lang.RuntimeException: error while dumping fields
at org.jf.dexlib.Util.Deodexerant.sendMultilineComman d(Deodexerant.java:
232)
... 13 more
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:733)
at org.jf.dexlib.DexFile.place(DexFile.java:608)
at org.jf.smali.main.main(main.java:177)
Any clues? Thanks in advance for any response and help you might be able to offer.
Click to expand...
Click to collapse
What apk are you trying to deodex? Are you using the right BOOTCLASSPATH?
tjohnsonjr said:
What apk are you trying to deodex? Are you using the right BOOTCLASSPATH?
Click to expand...
Click to collapse
I'm a noob, so please forgive me. I am not sure about the BOOTCLASSPATH. I am trying to deodex htcmailwidgets.apk. I know there are already deodexed ones out there, but I wanted to deodex the one from the legend (it has a couple of options for the widget which are not able to be done with the standard mail widget) to use on my hero without changing to the Legend ROM. Hope that makes sense.
athanos said:
I'm a noob, so please forgive me. I am not sure about the BOOTCLASSPATH. I am trying to deodex htcmailwidgets.apk. I know there are already deodexed ones out there, but I wanted to deodex the one from the legend (it has a couple of options for the widget which are not able to be done with the standard mail widget) to use on my hero without changing to the Legend ROM. Hope that makes sense.
Click to expand...
Click to collapse
Sense bootclasspath is: core.jar:ext.jar:framework.jar:android.policy.jar:services.jar:com.htc.framework.jar:com.htc.android.pimlib.jar:com.htc.android.easopen.jar:com.scalado.util.ScaladoUtil.jar
I haven't used Avabox yet. I hope this helps until I can play around with this tonight.
athanos said:
Any clues? Thanks in advance for any response and help you might be able to offer.
Click to expand...
Click to collapse
That is a fairly old version of smali/baksmali. You really should either use smali/baksmali directly, or at least find a tool/script that has/uses an up to date version
JesusFreke said:
That is a fairly old version of smali/baksmali. You really should either use smali/baksmali directly, or at least find a tool/script that has/uses an up to date version
Click to expand...
Click to collapse
THE JesusFreke!!!?! Good reading ya,the original Android dev, much respect.
Sent telepathically via my Evo.
-_-
May not ever use this personally, but thanks for this.
Sent from my PC36100 using XDA App
I may have completely misread the OP, and forgive me if I did, but aren't there supposed to perl scripts in the package that would allow me to use this in Linux? I am not seeing anything but .exe and .bat files. I dont use Windows, and wouldnt trust wine to do development work. Is there another version of this floating around I can use?
Edit: I found the code repository http://code.google.com/p/smali/
Edit2: NM. I finally opened my eyes and found the perl scripts in Boot Scripts. The above code repo is the updated version of Smali.
Looking to unpack the data.img files that are created when you do a backup of your phone. Not seeing that this will work - do you have ideas on how?
A simple toolkit inspired by some others, primary goal is to provide a seamless solution for reliable apk editing/optimizing.
This tool uses aapt rather than 7zip for packing. That provides much better reliability and assurance of conformance to Android file standards, as the cost of slightly larger files.
Contains:
- 7zip
- roptipng
- aapt
- apktool
- zipalign
- signapk
I've also made sure all the libraries/binaries are up to date.
Reserved Post?
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
david279 said:
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Windows only, sorry.
I can look and see about porting to Mac/Linux though, to my knowledge I should be able to get binaries/source for each exe used.
Cool thanks....
Sent from my PC36100 using XDA App
Appreciate the kit will thank you when I get near my laptop.
Swyped From Eva Running Myn's RLS4!
40 downloads and no feedback?
Anyways, I'd like to encourage everyone to use ddms from the android sdk to check your boot errors when optimizing.
It helps alot, any apk related errors should always be addressed even if they seemingly work flawless.
I like that you have compiled all these things together. Shouldn't there also be a draw9patch.bat also for those who have to fix the things that noobs did? It is getting better these days but there are still those out there trying to take the easy way out.
I'm also on a mac. I'll probably run it within VirtualBox
good stuff... im happy someone put together a package for everyone.
btw... which versions u using here?
i can check... but i think more people would like to know.
aamikam said:
btw... which versions u using here?
i can check... but i think more people would like to know.
Click to expand...
Click to collapse
7za - 9.20
roptipng - 0.6.3
aapt & zipalign - SDK v8
apktool - 1.3.2
signapk - NA
thanks! i'll be putting this through its paces sometime after weekend
i'll report back with any issues.
Can AndroidManifest.xml be edited with this?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
I think so, but I'm not sure.
Optimize/Edit/Pack/Sign
Click to expand...
Click to collapse
I think Apps have to be signed in the AndroidManifest.xml...
Sent from my HTC Desire using XDA App
I like your concept. Good work. I'm only experiencing 1 issue though...
When unpacking Motonav.apk, everything seems to be unpacked, but when looking at the files, they're wrongfully created.
Instead of creating the file data.gro for instance, it creates a folder data_gro. Which therefore can't be recognized by GROConverter.
Am I doing something wrong?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
its using apktool so if its set to decompile then you would edit the decompiled manifest with something like notebook ++
this would be greeeeaaaat for a mac.
Awesome tool... Would love for this to be able to handle draw9patch! Might there be an update to include that?
For some weird reason im getting errors. saying java isnt a command
This is great, thanks....
Here is something I put together to enable arabic on any device without changing any linked library in /system/lib which means it'll work cross-devices. This means that your android will be able to connect arabic letters properly to enable read/writing. Note: this will enable shaping for all android menu's and for writing, this will not fix the browser's problem. for that, we need to compile individual libwebcore.so files for each ROM. so we're out of luck there. You can get Persian Browser or the new Firefox browser to fix this problem.
Requirements:
1. your rom has to be deodexed. (if you have /system/framework/framework.odex, this will NOT work).
2. you must be rooted !
3. your android must be version 2.2, 2.2.1 or 2.3 (not tested on 2.3 yet but should work).
Steps:
1. Pull framework.jar from your phone's /system/framework
1. Download the file from the following link:
http://blog.devasque.com/?page_id=11
2. Extract it somewhere
3. Put your phone's framework.jar inside of the extracted folder's framework folder.
4. Click on commands.exe and wait ! eventually you'll get a framework.jar inside subfolder "generated". copy that back to your phone in /system/framework and restart.
Note: if you get a bunch of FCs after restarting, you'll need to factory reset your device.
this should work. It was tested successfully on a bunch of deodexed roms for the samsung galaxy S, and two roms on the G2.
Credits:
I got the script files from iAndroid, a hebrew patching thread that does something very similar to what this does. so hats off to the great minds over there.
The arabic patching files were compiled from source from Y6b's github. So thanks to his great work as well.
Finally arabic is supported across all devices.
hi madmack ! thank a lot
this is a very useful thread.
i test it on deodexed galaxy s (wxJS5 rom) and it worked almost flawlessly.now i have some question. please help me. you are only guy i know to answer these questions.this patch (mod) has some problem to render persian/farsi characters correctly.i am a java programmer and can edit java files and fix this errors.the only problem i face is : how can i apply my modification and (re)compile the source again ? because this files (framework.jar) are in java , can i use eclipse IDE to compile ? i already made and developed some programs and aaps for android os using eclipse . please if you have any ( just any ) information , please help me . again i have no any source and reference to ask these question .this is not a first time for me to ask a guy this question but nobody yet give me useful answer .
hamedpc007 said:
hi madmack ! thank a lot
this is a very useful thread.
i test it on deodexed galaxy s (wxJS5 rom) and it worked almost flawlessly.now i have some question. please help me. you are only guy i know to answer these questions.this patch (mod) has some problem to render persian/farsi characters correctly.i am a java programmer and can edit java files and fix this errors.the only problem i face is : how can i apply my modification and (re)compile the source again ? because this files (framework.jar) are in java , can i use eclipse IDE to compile ? i already made and developed some programs and aaps for android os using eclipse . please if you have any ( just any ) information , please help me . again i have no any source and reference to ask these question .this is not a first time for me to ask a guy this question but nobody yet give me useful answer .
Click to expand...
Click to collapse
hey hamedpc. didn't think i would get any reply anytime soon here, lol.
you'll need to learn how to compile android from source, then apply patches etc.. this is not something i am willing or able to discuss on a reply post here so you got some research to do before you can attempt that.
anyways, if you want to know which files you should look into, simply look at the subfolder "files/froyo" and look at all the .smali files. Then, find the equivalent in the android source but they should be .java. These are the files that are patched.
sorry for not being more helpful
so if i have framework.odex should i just delete it and move on?
jaguar4002 said:
so if i have framework.odex should i just delete it and move on?
Click to expand...
Click to collapse
you can't do that. you'll need to get a deodexed ROM or google around for how to deodex it yourself.
I'm using the leaked 2.2 rom for the epic. Is there any rom. That u recommend?
Sent from my SPH-D700 using XDA App
jaguar4002 said:
I'm using the leaked 2.2 rom for the epic. Is there any rom. That u recommend?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I use an I9000, so not sure what options you guys have for the Epic.
But I'm pretty sure that a lot of custom roms are out there that are (1) Froyo and (2) deodexed. Almost all custom roms are deodexed.
this isnt working on the epic. i did everything was suppose to be done.
i have arabic but the letters are disconnected. which is nothing new from froyo update.
am i doing anything wrong?
jaguar4002 said:
this isnt working on the epic. i did everything was suppose to be done.
i have arabic but the letters are disconnected. which is nothing new from froyo update.
am i doing anything wrong?
Click to expand...
Click to collapse
Yea, most likely you are.
It really should work with all 2.2 and 2.2.1 roms. specially the samsung ones. I tried it on JS3, Darky's, JS5 and Doc's ROM for the I9000 and it works.
Just make sure you got a deodexed rom. (no framework.odex file), and also verify that the generated framework.jar is actually bigger than the original framework.jar by about 1MB. (sometimes the process stalls for some reason, so you'll have to redo it if the size is not bigger by 1MB).
im using this rom . http://forum.xda-developers.com/showthread.php?t=963845
and it is deodexed.
it shows the letters but they arent connected. just like how i was before doing all this.
And yes the size was larger.
i would love if u can pm me ur yahoo or something so we can go over it.. if i get this thing working, my phone would be PERFECT!!
and thanks for ur quick responses!
bro nevermind!
i wasnt enabled root access for my file manager, thats y i wasnt able to paste the net .jar file.
it works great!! i love u to death.. no homo lol
but i noticed FB is kinda laggy when theres arabic letters.
just saying.. dont really care.
ZT-180
I am using the ZT-180 with 2.2 but this didn't work for me do you have any suggestion for me
vitonline said:
I am using the ZT-180 with 2.2 but this didn't work for me do you have any suggestion for me
Click to expand...
Click to collapse
if you know how to use logcat, post it here and I can have a look at it.
I am new at this if you can explean more
Thanks
vitonline said:
I am new at this if you can explean more
Thanks
Click to expand...
Click to collapse
this is probably why you couldn't get it working on your device.
this topic is a little advance, and i really don't recommend applying it if you're not familiar with rooting, replacing system files and recovery.
there are many steps you need to learn to be able to apply this patch, which is beyond the topic of this thread. sorry but I can't help you with that.
madmack said:
this is probably why you couldn't get it working on your device.
this topic is a little advance, and i really don't recommend applying it if you're not familiar with rooting, replacing system files and recovery.
there are many steps you need to learn to be able to apply this patch, which is beyond the topic of this thread. sorry but I can't help you with that.
Click to expand...
Click to collapse
I already rooted my ZT-180 and I apply the steps but still the Arabic
vitonline said:
I already rooted my ZT-180 and I apply the steps but still the Arabic
Click to expand...
Click to collapse
Read around.. its out there.
Its not too difficult.
Sent from my SPH-D700 using XDA App
@madmack
i tried your method on a rom for my htc hero and it worked just like you said, except for the web browser.. is there a way to patch libwebcore.so so that it could also support arabic?!
jaikat said:
@madmack
i tried your method on a rom for my htc hero and it worked just like you said, except for the web browser.. is there a way to patch libwebcore.so so that it could also support arabic?!
Click to expand...
Click to collapse
unfortunately not. these .so libraries require recompiling of the source code.
the patch for libwebcore is up on my github account (same nickname). If you get your hands on your source code for the webcore libraries. Then you can try the patch yourself
I've already patched libwebcore.so for a 2.2.1 ROM for the Galaxy S I9000. It worked pretty well.
that was quick
madmack said:
unfortunately not. these .so libraries require recompiling of the source code.
the patch for libwebcore is up on my github account (same nickname). If you get your hands on your source code for the webcore libraries. Then you can try the patch yourself
I've already patched libwebcore.so for a 2.2.1 ROM for the Galaxy S I9000. It worked pretty well.
Click to expand...
Click to collapse
i'll look into it, although i must say i don't have any experience on compiling from source, but i'm willing to learn...
great work anyway, and thank you.
hello, please can any helpme,
i need convert a little windows program to apk
is this posible?
thanks
savylop said:
hello, please can any helpme,
i need convert a little windows program to apk
is this posible?
thanks
Click to expand...
Click to collapse
Pretty sure it isn't. An apk file is just a way of gathering up the files required to install an Android application. So for example it will have the compiled Java code. Your windows .exe is not a compiled Java application and certainly not compiled for Android! It's a non-starter.
Indeed no chance with that, now if you could tell us what language the source is in you might have hope, of cause java is quite easy to port and you can port C as well using the NDK.
Others you will likely have to rewrite the code, feel free to PM me for more help
Yes yes it's possible! Just tell Iris or Siri to do it
Seriously : what zac said. The code is written differently
Sent from my Ouya
If your little exe has a linux version available (or linux equivalent), you'll have a much easier time porting that. You could also try looking for similar open source projects that can be modified to add the features you need.
The answer is no. Though there could be a longer technical follow up to that.. Either way it's no...
With that said.. There are a lot of apps available for the Android.. Try to find one that does what you're looking for..
Sent from my SAMSUNG-SGH-I747 using xda premium
exe to apk
Its impossible, because there are two fully different operating system.
Not possible at all
you can create .apk file only with a compiler
there are .exe to .apk converters out there, you just need to do a lot of searching to find a link that downloads without having to do surveys. the software is titled Change My Software... so, to all of you that say its not possible to do this... youd be wrong, it is
Could anyone create an apk for downloading music. Just like Lacey for Windows. Its a small exe file 8 MB in size.