Arabic support on all Android devices > 2.2 - Android Software/Hacking General [Developers Only]

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.

Related

(Tools) Avabox

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?

[I9003][GUIDE]How to Port Miui or some other rom

This is a guide to port rom..........
lots of people ask... how do you port roms... so here you go... I hope now the thread is started the people posting can help each other .
here is all the basics on getting a bootable miui rom for beginners.. first download the formels newest release.
then download a stable gingerbread 2.3.3 version that is compatible with the files. ( I always use the great z and j for sources).
the next step is to get the formels rom ready by deleting the boot image and the data folder. Next step is to go to the etc folder and delete firmware folder... also delete ap2sd init script from the init folder)
then go to lib folder and delete hw and modules.
now it is time to add files. I know the miui files pretty good now so the list has shortened greatly.
now use your stable gb rom source to replace the folders I had you delet above
you may have to change other files depending on the rom i.e. bluetooth/dhcpd and others.
to start in the etc folder you need to add
apns-conf
dbus
dualmic
gps
hosts
hw-config
init.bt
init.gold
init.local
mediaprofiles
mke2fs
profile
resolve
sensors
sysctl
vold
now to the lib folder all files start with lib
cm
dll
dsm
dss
gsl
miscta
oem-rapi
pbmilb
qmi
diag
mmgsdilib
nv
onrpc
queue
ril-qc-1
wms
auth
sdi-exp
wmsts
mmipl
oemcamera
mmjpeg
there are other files but I think that is enough to get bootscreen... if not let me know and I will list the other misc ones.
now the bin files
akmd2
am
bmgr
bmiloader
chargemon
charger
compache
eeprom
fixpermisions
gdbserver
handlecompache
hciqcomminit
ime
input
monkey
pm
port-bridge
qmuxd
recevent
svc
sysinit
updatemiscta
wlanmac
wlantool
wmiconfig
Any dev, or semi-dev can start work this.
This is the source:http://android.modaco.com/content/s...aco-com/341986/how-to-port-miui/#entry1737792
sakindia123 said:
Sry for this thread,it is a guide to port rom..........
Click to expand...
Click to collapse
Thanks for sharing....will definitely like to give it try.........
portig a stable working rom is very difficult...someone a very skilled or group of developer are needed to do this work
vishal24387 said:
portig a stable working rom is very difficult...someone a very skilled or group of developer are needed to do this work
Click to expand...
Click to collapse
yeah but we hardly have any rom devs...so the need arises for such things.......
ya you are right...we all have to take initiative for this...by looking our progress may be some other developers will also take interest in our phone developement...
Great job dude.really caught up with exams.otherwise surely would have given it a try.
Sent from my GT-I9003 using XDA App
What is speciality of MIUI rom????
vishal24387 said:
What is speciality of MIUI rom????
Click to expand...
Click to collapse
dude just see the video....u can apply this guide for (all roms?mayb)
@ sakindia
hey dude what happened??? What did your parents with your phone...???
I guess the Galaxy Ace people have ported the cyanogen to it..!!Should we take there help?
Miui rom is very customize able the best part of miui is ita user interface and music player and gallery
Well.. We can try to port.. or not?
Please provide me some link were i can get more elaborate instructions I really want to try this out....
nitishagar said:
Please provide me some link were i can get more elaborate instructions I really want to try this out....
Click to expand...
Click to collapse
I was looking for that too but no results..
This instruction is so confuse..
:s
Sent from my GT-I9003 using Tapatalk
How to build cyanogen from scratch...have a look at this anyone good at linux or coding
http://forum.xda-developers.com/showthread.php?t=969266
Sent from my GT-I9003 using XDA App
http://forums.miuiandroid.com/showthread.php?7118-MIUI-for-Galaxy-S-I9003
MAybe this can be of any help..contacting the MIUI dev who commented there would work?? That dev said its quite possible..What say guys?
Dude that s a very positive answer man,i think we should ask one of the senior members like skin to contact them,cause i think that ways it ll be easier
Sent from my GT-I9003 using XDA Premium App
Hi guys, our sl and moto defy has same hardware except resolution. Any one know if it is possible to alter the cyanogen mod code of defy to make it work on our device. Clock work mod is already ported to our device. So i think it is possible.
Sent from my GT-I9003 using XDA App
*crossing fingers* it will be very nice having miui on i9003
I want miui too, can I help?

[APP] Mini ROM Manager X10 official Thread

As promised guys, there you go!, first release for you!, please download from
Here - http://forum.xda-developers.com/showthread.php?t=1122455
Why still dont works?, because we need your help, but ROM Manager part it's ready
1. Edit this lines on build.prop, for all ROMS that you want be recognized
ro.build.id= -> Only double number here, should correspond with rom manager format (please not GRJ22 or v1.4.5.1, that will make ROM Manager throw error)
ro.modversion= -> The same name that rom have on ROM Manager repo, no spaces Please
2. Also we need repo list, you can generate with this tool, if you need help, tell me
REPO FORMAT:
romname(should be the same from ro.modversion, with no spaces);directUrl;Changelog:, ,separed,by,commas,without,*,or,-, ,Author(not by bla, only author name);MD5;lastVersion;itsHotfix?*
*We have too hotfix repo, if itsHotfix==true, then ROM Manager, will get download link from another repo, format it's more easy, just hotfixDirectURL;MD5;NeededVersion, so if rommanager main list, have 5 roms, hotfix repo, have 5 urls, if rom dont have hotfix, you can write just null, or anything, like a placeholder
Please give us all the feedback you can!
please DON'T give me thumbs up if you don't give to slade first, Thanks.
Changelog:
First Release for Testing
@Slade
did u get my p.m.?
So guys, nobody will do the repo list?, if you're not interested tell us, we even made a tool , now we can't do this without your help
I will look into it, let's see!
EDIT:
Is this what you need? Also did I do it right?
@D4
any word from Slade?
DooMLoRD said:
@D4
any word from Slade?
Click to expand...
Click to collapse
He's still on exams, but he said me he readed your PM, and will take a look on vacations
Moved to themes and Apps.
PlayGunsta said:
I will look into it, let's see!
EDIT:
Is this what you need? Also did I do it right?
Click to expand...
Click to collapse
More like this
http://notepad.cc/share/Zyml1AwVmi
Please be sure that name on Build.prop have to be this same "CM_TW_V008", and where's version ?
No offense, have you checked first post specs, version it's not a String, it's a double number (so instead of XPERIA TW V008 should be 8.0? )
A bit hard for me to understand your first post
@D4, Slade
u guys should make it more intuitive... its really confusing... if possible remove so many strict restrictions on naming/version numbering...
DooMLoRD said:
@D4, Slade
u guys should make it more intuitive... its really confusing... if possible remove so many strict restrictions on naming/version numbering...
Click to expand...
Click to collapse
You guys can understand android world, busybox commands, im sure you can get it , just check example here http://rommanager.de/rommanager/repository/approved/repo.list
D4rKn3sSyS said:
You guys can understand android world, busybox commands, im sure you can get it , just check example here http://rommanager.de/rommanager/repository/approved/repo.list
Click to expand...
Click to collapse
dude i am just suggesting so that it becomes slightly easier to get it working... every rom dev has different naming/numbering style... u cant control that... what u can do is to make ur program work with all possible styles...
also i am not sure many devs will appreciate making changes to build.prop...
anyways... it was just a suggestion...
DooMLoRD said:
dude i am just suggesting so that it becomes slightly easier to get it working... every rom dev has different naming/numbering style... u cant control that... what u can do is to make ur program work with all possible styles...
also i am not sure many devs will appreciate making changes to build.prop...
anyways... it was just a suggestion...
Click to expand...
Click to collapse
Wow you see what you're saying .. making it compatible with ALL possible styles. That's insane :/, as you said, every ROM dev has different style, so will be impossible to get all the ways, so that's why we make unifications , we have unified chargemon, easy-to identify roms, etc. It's just hard, think on this, ROM manager checks doubles from some rom, but how can we check the version, on a ROM, called GRJ22, and the same name on all versions?, how would ROM manager recognize that there's a new version?. it's not so hard for devs, just change 2 things on build.prop, im sure you do it all time for some tweaking or testing
D4rKn3sSyS said:
Wow you see what you're saying .. making it compatible with ALL possible styles. That's insane :/, as you said, every ROM dev has different style, so will be impossible to get all the ways, so that's why we make unifications , we have unified chargemon, easy-to identify roms, etc. It's just hard, think on this, ROM manager checks doubles from some rom, but how can we check the version, on a ROM, called GRJ22, and the same name on all versions?, how would ROM manager recognize that there's a new version?. it's not so hard for devs, just change 2 things on build.prop, im sure you do it all time for some tweaking or testing
Click to expand...
Click to collapse
I dont think a unified chargemon is possible as diffrent ones are used between 2.1 ,2.2 ,2.3, and miui roms also using a custom kernel or not makes it even more complicated
Sent from my X10i using XDA App
rtblittlebrown said:
I dont think a unified chargemon is possible as diffrent ones are used between 2.1 ,2.2 ,2.3, and miui roms also using a custom kernel or not makes it even more complicated
Sent from my X10i using XDA App
Click to expand...
Click to collapse
It's not needed unified chargemon that's just an example, i just need devs to mod a little bit build.prop, it's not hard
Sorry for double post, but this is nice idea:
Just got a idea, about making your chargemon unified, i mean, the basic part of chargemon, inside it, and the kernel addons, and all that things, inside a external .sh on system\bin folder, so ROM Manager, can easily detect / mod chargemon, and your kernel dont get affected
D4rKn3sSyS said:
Sorry for double post, but this is nice idea:
Just got a idea, about making your chargemon unified, i mean, the basic part of chargemon, inside it, and the kernel addons, and all that things, inside a external .sh on system\bin folder, so ROM Manager, can easily detect / mod chargemon, and your kernel dont get affected
Click to expand...
Click to collapse
dude if we work on my kernel manager idea we dont need to worry abt chargemon at ALL! we will use our own chargemon/recovery pack!
lets start it please!
x10 needs a Kernel Manager app!!!
DooMLoRD said:
dude if we work on my kernel manager idea we dont need to worry abt chargemon at ALL! we will use our own chargemon/recovery pack!
lets start it please!
x10 needs a Kernel Manager app!!!
Click to expand...
Click to collapse
I got it, but calm down bro, world's not getting over XD, slade's still not on vacations, im sorry but we cant do anything without him.
For other side, my idea it's cool, you guys take a coffee, and talk about it

[I9003] Developer Help NEEDED

Hey guys,
One of the experienced Devs please tell me whether a .apk pulled through ADB from the /system/app folder of a HTC Incredible be ported/edited to install on our I9003
I've pushed the .apk to the /system/app folder on my I9003 and tried to run the file but it say, Application not installed
If this can be done then I will update the .apk for you to help us with it.
Thank you.
What apk is it? Some widget? Some program? Because HTC widgets and programs require their proprietary HTC sense framework! We have our touch wiz framework!
Sent from my gt-I9003 with A.I. Type
http://forum.xda-developers.com/showthread.php?t=674041
^^its here
there is a tvout.apk and tvout.odex on the 1st page of that thread and libtvout.so on the 3rd page
these are from the htc incredible
is porting to our devices possible for these files ??
HTC Incredible does TV OUT from the micro USB, so I found out the cable for it too
http://cgi.ebay.in/Samsung-MICRO-USB-TV-OUT-CABLE-ECC1TU1-BILL-WARNTY-/130542169772
Thanks Lord
gaurav2912 said:
http://forum.xda-developers.com/showthread.php?t=674041
^^its here
there is a tvout.apk and tvout.odex on the 1st page of that thread and libtvout.so on the 3rd page
these are from the htc incredible
is porting to our devices possible for these files ??
HTC Incredible does TV OUT from the micro USB, so I found out the cable for it too
http://cgi.ebay.in/Samsung-MICRO-USB-TV-OUT-CABLE-ECC1TU1-BILL-WARNTY-/130542169772
Thanks Lord
Click to expand...
Click to collapse
sir is'nt TV-OUT related to kernel ?
gaurav2912 said:
http://forum.xda-developers.com/showthread.php?t=674041
^^its here
there is a tvout.apk and tvout.odex on the 1st page of that thread and libtvout.so on the 3rd page
these are from the htc incredible
is porting to our devices possible for these files ??
HTC Incredible does TV OUT from the micro USB, so I found out the cable for it too
http://cgi.ebay.in/Samsung-MICRO-USB-TV-OUT-CABLE-ECC1TU1-BILL-WARNTY-/130542169772
Thanks Lord
Click to expand...
Click to collapse
tried that but it doesntr work ...
i made my own rom and tried to port it but faild... it doesnt seem to install at all..
thanks bajju
i'm trying to get the /sys folder for you from I9000
i've for the same in the I9000 general forum too
lets hope to get it
gaurav2912 said:
thanks bajju
i'm trying to get the /sys folder for you from I9000
i've for the same in the I9000 general forum too
lets hope to get it
Click to expand...
Click to collapse
hmm lets hope dats wat we can do all for now ..
need some serious help from the serious developers ..
Its a complex thing and I "personally feel" that the source codes are not exactly upto the level required for compiling just the right thing.....
Also apk files won't work that are from HTC's proprietary sense framework ... plus a perfectly working kernel with complete support for TV out!!
I did check out the links that you gave me but nothing worked...
Our only hope is developers and maybe a bit more "fresher" (not sure of this) gingerbread source codes...
Sent from my gt-I9003 with A.I. Type
Firstly, we need to deodex it. Then we can decompile it, edit it to our needs, and recompile it (using apk manager). Still, this needs to have pointers to specific libraries and kernel instructions (such as overlay and display). This is all just theory though, can't test it till I'm back at my computer.
Sent from my GT-I9003 using XDA App
Erahgon said:
Firstly, we need to deodex it. Then we can decompile it, edit it to our needs, and recompile it (using apk manager). Still, this needs to have pointers to specific libraries and kernel instructions (such as overlay and display). This is all just theory though, can't test it till I'm back at my computer.
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Please do look in to this as soon as convenient and revert, we wud love to know how it turns out and whether the theory can be put in to practice
Thank you.

[TOOL] I9300/I9305 Auto Deodex & Zipalign Tool

All the work to make the Deodexed.zip of your rom is done to your Windows PC.
Open the Deodexer-Tool.zip you have just download.
Extract the Deodexer-Tool folder to your Desktop or anywhere you whant.
Open the folder Deodexer-Tool you just extract and follow option 1 or 2.
You have two option's:
1.) Connect your phone to pc and run the Deodexer_from_phone.bat whait ....... and you will see a Deodexed.zip and zipaligned ready to flash zip.
-----------------------------------​
2.) If you have allready dumped odexed rom and you whant to deodex just put all the .apk's and .odex files from your dumped rom system\app to \Deodexer-Tool\Work\app and all the .jar's and the two framework apk's from your dumped rom system\framework to Deodexer-Tool\Work\framework and run the Deodexer_dumped_rom.bat whait ....... and you will see a Deodexed.zip and zipaligned ready to flash zip.
(If you whant an app like SuperSU.apk to be in your rom then add that to Work\app folder before run the Deodexer_dumped_rom.bat).
-----------------------------------​
Click to expand...
Click to collapse
At the option 1 the script will dump and deodex every app you have at that time in your system/app phone folder.
Doesn't matter if is allready deodexed, the script just ignore deodexed .apk's but it will add to the zip at the end.
The option 2 is same but the script doesn't dump anything from your phone. It is only look what you add at the specificate folder's: Deodexer-Tool\Work\app & framework.
Try it and waiting for your news.
Credits to: Amestris
Ok I am alittle confused with this all I want to do is Deodex and zipalign my I9305 rom which i am currently running, I have removed unwanted system apps etc Now where to i put the deodexer_from__phone.bat so i can run it? does it have to be in a special folder or can i just dump it on my ext-sd card and run the bat from windows? What software is being used to deodex the apks, I am new to this developing side of things an explanation for a dummy would be great as i want to learn these things but you dont have to just instruct me and that will do if your busy thanks
btemtd said:
Ok I am alittle confused with this all I want to do is Deodex and zipalign my I9305 rom which i am currently running, I have removed unwanted system apps etc Now where to i put the deodexer_from__phone.bat so i can run it? does it have to be in a special folder or can i just dump it on my ext-sd card and run the bat from windows? What software is being used to deodex the apks, I am new to this developing side of things an explanation for a dummy would be great as i want to learn these things but you dont have to just instruct me and that will do if your busy thanks
Click to expand...
Click to collapse
No need to confuse your self it is really simple work.
All the work done to your Windows PC.
Open the Deodexer-Tool.zip you have just download.
Extract the Deodexer-Tool folder to your Desktop or anywhere you whant.
Open the folder Deodexer-Tool you just extract and follow option 1 or 2 from OP.
ausdim , nice tools... what version of smali are u using ?
prodigiez said:
ausdim , nice tools... what version of smali are u using ?
Click to expand...
Click to collapse
Thank's
Smali & Baksmali is 1.3.4-dev
So is working or not?
Guys sorry to ask but i dont have the device yet.
ausdim said:
No need to confuse your self it is really simple work.
All the work done to your Windows PC.
Open the Deodexer-Tool.zip you have just download.
Extract the Deodexer-Tool folder to your Desktop or anywhere you whant.
Open the folder Deodexer-Tool you just extract and follow option 1 or 2 from OP.
Click to expand...
Click to collapse
Is there a possibility that we can get something to to the zip-align and deodex without having to move files to and from your mobile and windows. Only cause it seems alittle messy for the everyday user loool I mean i would probably be able to do it but i just dont want to miss anything or do something wrong.
Actually I have an Idea I am going to install the Rom you made then just restore my appz what you think that would be the easiest way right?
Thanks Alot.Need this tool very much .
[Deodexed & Zipaligned GT-I9305 XXALI5] for GT-I9305
Will this delete my user apps? Or just replace and add any missing system apps
btemtd said:
Is there a possibility that we can get something to to the zip-align and deodex without having to move files to and from your mobile and windows. Only cause it seems alittle messy for the everyday user loool I mean i would probably be able to do it but i just dont want to miss anything or do something wrong.
Actually I have an Idea I am going to install the Rom you made then just restore my appz what you think that would be the easiest way right?
Click to expand...
Click to collapse
No isn't possible to deodex and zipalign without move the file's to your pc atm.
You dont have to restore any of your app's after install any of this.
btemtd said:
[Deodexed & Zipaligned GT-I9305 XXALI5] for GT-I9305
Will this delete my user apps? Or just replace and add any missing system apps
Click to expand...
Click to collapse
The only think it will be deleted and replaced is the system/app and system/framework.
Non of your app's will be deleted.
Please before do anything make a backup of your rom with CWM so if anything goes wrong you can restore that.
Thank's
Great work ausdim. I've modified your script slightly since I have tools that can extract the .tar.md5 > system.img > system.ext4.img > app/framework folder.
If you need those tools, you can give me a shoutout too - so that you save your time from flashing the device and adb pull it
ausdim said:
Thank's
Smali & Baksmali is 1.3.4-dev
So is working or not?
Guys sorry to ask but i dont have the device yet.
Click to expand...
Click to collapse
i will run my batch and let it deodex and zipalign overnight..i guess zipalign need few hours.. let u know next day
Late reply to you bro, sorry (PM'ed as well) - it works well and fine, tested on my unit.
:good::good::good::good::good::good::good::good:
No go for me... device stuck at "Samsung" boot up screen.. waited 15mins...
Flashed back stock rom...
Sent from my GT-I9305 using Tapatalk 2
can you elaborate steps? as i clicked Deodexer_dumped_rom.bat , it created deodexd.zip but when i am clicking Deodexer_from_phone.bat it just stopped at "Connect your phone to PC" however my phone is connected to pc already
Connecting tablet
Hey there....
Thanks for this post, and file.I'm running CleanROM 2.5 on an Asus 300T tablet. CleanROM is an odex ROM, but theres a script I'd like to run that works on deodexed. My question is, when I connect my tablet, am I going into USB mode, or just connect the tablet as if I'm transferring files, such as music.
Thanks for your help in advance.
blackyz said:
can you elaborate steps? as i clicked Deodexer_dumped_rom.bat , it created deodexd.zip but when i am clicking Deodexer_from_phone.bat it just stopped at "Connect your phone to PC" however my phone is connected to pc already
Click to expand...
Click to collapse
I release a new reworked tool soon.
Sorry but i dont have the phone to test it.
Omega Recon said:
Hey there....
Thanks for this post, and file.I'm running CleanROM 2.5 on an Asus 300T tablet. CleanROM is an odex ROM, but theres a script I'd like to run that works on deodexed. My question is, when I connect my tablet, am I going into USB mode, or just connect the tablet as if I'm transferring files, such as music.
Thanks for your help in advance.
Click to expand...
Click to collapse
You need adb enabled on your phone and the drivers on your pc.
we need our own general and q&a thread. I dont like the fact that we have to post in amongst i9300 threads. Can we all ask the mods this? The more of uz the better.
What we want?
Our own I9305 general thread and q&a thread or atleast our own q&a thread. Lets all msg the mods please
Sent from my GT-I9305 using xda app-developers app
btemtd said:
we need our own general and q&a thread. I dont like the fact that we have to post in amongst i9300 threads. Can we all ask the mods this? The more of uz the better.
What we want?
Our own I9305 general thread and q&a thread or atleast our own q&a thread. Lets all msg the mods please
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
It's a great idea. It'll help to keep the OP leaner. You could also come up w/ a small FAQ that's posted on the OP to help cut down on answering repetitive questions. And if someone does ask a question that's already covered, just point them to the FAQ.
May also want to go into some detail about how to run this on the OP. Not everyone is a developer. You'd be amazed at how many people are mail room clerks, secretaries, managers, work in construction or food service. So, their knowledge is not at all on the same level. They just want to personalize their phone or tablet and be on their way w/o having to get a degree from ITT Tech to do it
Thank you for letting me post. I'm sure I'll have a question or 2 more in the near future. Thank you again.
Sorry, not trying to step on anyones toes here. I just came to look for an answer to a small problem I was having
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Will this work on any device?
Sent from my SHW-M250K using xda app-developers app
Kitschki said:
Will this work on any device?
Sent from my SHW-M250K using xda app-developers app
Click to expand...
Click to collapse
It should work on most samsung devices, provided that it is rooted.
Sent from my GT-I9305

Categories

Resources