yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hhhawasly:
Just for info, the Arabic localization by Ayman will not work for CM7 based ROMs.

BTW, I have tried the new version 0.5 on JDMS 1.7 beta 2 but it didn't boot then.

I made a copy of framework.jar as a backup, but when I patch the ROM, the framework folder was gone and a framework file was existed instead.

# cd framework
cd framework
cd: can't cd to framework
# ls -al
ls -al
drwxr-xr-x 1 root root 2048 Jan 26 09:57 .
drwxr-xr-x 15 system system 0 Jan 26 09:59 ..
lrwxrwxrwx 1 root root 13 Jan 23 02:16 app -> /ramfiles/app
drwxr-xr-x 1 root shell 2048 Jan 23 02:12 bin
-rw-r--r-- 1 root root 4441 Jan 23 02:52 build.prop
-rw-r--r-- 1 root root 4441 Jan 23 02:12 build.prop.bak
drwxr-xr-x 1 root root 2048 Jan 26 02:43 etc
drwxr-xr-x 1 root root 2048 Jan 23 02:11 fonts
[B]-rwxrwxrwx[/B] 1 root root 3050227 Jan 26 09:58 framework
lrwxrwxrwx 1 root root 13 Jan 23 02:16 lib -> /ramfiles/lib
drwxr-xr-x 1 root root 2048 Jan 23 02:11 lost+found
drwxr-xr-x 1 root root 2048 Jan 23 02:11 media
drwxr-xr-x 1 root root 2048 Jan 23 02:11 ram
drwxr-xr-x 1 root root 2048 Jan 23 02:12 system
drwxr-xr-x 1 root root 2048 Jan 23 02:12 tts
drwxr-xr-x 1 root root 2048 Jan 23 02:12 usr
drwxr-xr-x 1 root shell 2048 Jan 23 02:12 vendor
drwxr-xr-x 1 root shell 2048 Jan 23 02:12 xbin
#

Here is the log:
[Android Software/Hacking General [Developers Only]] Ambious:
That's very strange, I'll look into it.

Thanks for the log and for the info.
[Android Software/Hacking General [Developers Only]] renegade:
Never mind, it was due to something else I did :)
[Android Software/Hacking General [Developers Only]] Arash_Elf:
hi all

i use RTL Auto Patcher V 0.0.5 for patching HD2 with RAFDROID V3.2 Rom But when i run application And select TEST DEVICE i give an error (pic attachment) and then i select continue program freezes for several minutes.

how can i resolve this problem????
[Android Software/Hacking General [Developers Only]] Ambious:
Thanks for the report.

It's a known issue and is being taken care of.

In the meantime, you can use Chuck Norris mode and select your build and buildtype manually (RAFDROID is SenseHD and NAND I believe).

Also, please avoid using the Arabic fix at this time, it will probably make your phone unbootable.
[Android Software/Hacking General [Developers Only]] Ambious:
Version 0.0.6 released

Fixes the error with the new "Test Connection" feature many users were experiencing.

Also removes the Arabic fix, as nobody seemed to have it working.

Some other minor adjustments were made to error handling and logging.

Please, if you still experience any errors, send me your log.txt and your build.prop (both should be in your app dir, the latter under the 'toolkit' folder).

Also, download link is now again small enough to be uploaded to the first post.

Cheers and thank you all for trying this program :-)

On another note, the Arabic fix will be delayed for a while, as I'm currently studying for a semester exam, and the fix is going to be more complicated than I originally anticipated so I need more time to research it.

If you have any knowledge on how to decompile .so libraries, and have some/any experience with Android programming, developing, or reverse engineering, I could use your help. PM me please :-)

Thank you all again!

-Elad
[Android Software/Hacking General [Developers Only]] madmack:
I just tried to apply the patch (v0.0.6) to my samsung galaxy s, here is the log which seems to complain about build.prop so I'm attaching it too.
[Android Software/Hacking General [Developers Only]] krot84:
hey Elad

was the "Optional 3D Gallery & Calendar fixes included " fixed in the new release (0.0.6) to run on the Gingerbread or yet just on the Froyo ?
[Android Software/Hacking General [Developers Only]] Ambious:
Thanks for the log.

It seems as though my 'solution' to the 'critical error' on the previous build hasn't worked. The reason you got an internal error rather than a complete program crash like in 0.0.5 is that I improved error handling, but the cause for the error is still there.

I'll try to rectify it ASAP, sorry for the trouble.

I'm afraid not, only Froyo still.

There seems to be a new fix out there that SHOULD (in theory) support Gingerbread, but it may be a bit more difficult to implement (doesn't mean I won't try, though ;-))
[Android Software/Hacking General [Developers Only]] trocaderos:
הי, ותודה על ה עדכון.

המקלדת עובדת מצוין, אבל פרט לזה ביומן, מפות וכו' עברית הפוכה.

יש הצעה?

android 2.3 mod7 ver 2.6 nand mdj

עודד
[Android Software/Hacking General [Developers Only]] Ambious:
Hello Oded

In the future, please refrain from using Hebrew on this board as this is an English-Only board.

The Calendar is a known issue, as you can read elsewhere in the thread.

As for the maps, the patch should've solved it.

What application are you using? What version?
[Android Software/Hacking General [Developers Only]] trocaderos:
hi, tnx, will do

google maps 5.0.0, mapdroid.

Oded
[Android Software/Hacking General [Developers Only]] Sup3r:
Hi

This is framework.jar support rtl offically from orignal arabic rom for htc desire 2.2 DEODEXED

http://www.mediafire.com/?jtxs31gr1tc12w8

it might help you in reasearch

if you need some thing else just tell me

Thanks
[Android Software/Hacking General [Developers Only]] Ambious:
Thanks.

What I really could use is actually the libscore.so and the libwebcore.so files form /system/lib/

Thanks for your help :-)

-Ambious
[Android Software/Hacking General [Developers Only]] Sup3r:
Hi Again

there is no libscore.so inside system file

anyway i attached libskia.so and libwebcore.so from that official arabic rom

i hope this will help

Thanks
[Android Software/Hacking General [Developers Only]] star80:
"An error occured procuring your build information!"

this is the error I got

my rom is MarkinuX HD Extra Clean V1.6

If select NAND from build base manually and press GOGOGO, all goes well and restarting device. nothing happens and RTL doesn't work :(
[Android Software/Hacking General [Developers Only]] Ambious:
I hope so too, but it'll take me a while longer before I can really dive into it.

Thanks for the help! :-)

Your build may not actually be compatible.

As for the error, it's a known issue and I'll fix it as soon as I have some time (I have a big test Thursday).

In the meantime, to see if your build is compatible, type this in a command prompt:

"adb shell ls /system/framework/" (be in the Toolkit folder under the rtl app dir if you don't have ADB in your 'path' setting).

If the result has .odex files in it, your build is incompatible.
[Android Software/Hacking General [Developers Only]] star80:
Thank you for reply

I have javax.obex.jar in my files

this is the only .obex file I have. Is my build compatible?

If not,is it any way to fix RTL in my rom?
[Android Software/Hacking General [Developers Only]] Ambious:
It SHOULD be compatible, since the bad files are oDex not oBex.

Try again maybe, using "Chuck Norris" and don't forget to set "Sense HD" in Build Base.

IF not working, try in Recovery (although it may not work right with Chuck).

I'll try to release a fixed version sometime soon, but as I said, I don't have a lot of time.
[Android Software/Hacking General [Developers Only]] Ambious:
I worked out a fix for the problem with the 'Test Connection' bug, but since I can't reproduce it I'd like one of you guys who experience this problem to try out this version.
[Android Software/Hacking General [Developers Only]] sagytb:
I tried to run 0.0.6 on "DL DesireZ v3.3 final" and it failed with the following log:

-------------------------------------------

31/01/2011 17:26:18: Starting program...

31/01/2011 17:26:18: Android RTL Auto-Patcher 0.0.6.0

31/01/2011 17:26:18: Program Initialized!

31/01/2011 17:26:18: Sending to ADB: start-server

31/01/2011 17:26:20: Checking connection

31/01/2011 17:26:20: Sending to ADB: devices

31/01/2011 17:26:21: ADB Returned:

List of devices attached

0123456789ABCDEF	device

31/01/2011 17:26:21: Sending to ADB: shell ls /system/framework/

31/01/2011 17:26:21: ADB Returned:

svc.jar

com.google.android.maps.jar

framework-res.apk

core.jar

javax.obex.jar

com.htc.android.easopen.jar

com.orange.authentication.simcard.jar

com.scalado.util.ScaladoUtil.jar

com.htc.framework.jar

ime.jar

android.policy.jar

framework.jar

input.jar

android.test.runner.jar

am.jar

com.google.translate.jar

framework-tests.jar

com.htc.android.pimlib.jar

services.jar

pm.jar

ext.jar

bmgr.jar

com.htc.hardware.vision.jar

com.scalado.caps.jar

monkey.jar

com.htc.resources.apk

31/01/2011 17:26:21: Checking Compatibility

31/01/2011 17:26:21: JAR based, build compatible!

31/01/2011 17:26:21: Autodetected DesireHD!

31/01/2011 17:26:21: Sending to ADB: pull /system/build.prop "C:/Users/sagit/Desktop/and-rtl-patcher-0-0-3/RTL/Toolkit/build.prop"

31/01/2011 17:26:22: ADB Returned:

226 KB/s (4636 bytes in 0.020s)

31/01/2011 17:26:22: ERROR: An error occured with the property fetching mechanism.

31/01/2011 17:26:25: Text source set to: files\text_senseHD\

31/01/2011 17:26:25: Pulling framework file

31/01/2011 17:26:25: Sending to ADB: pull /system/framework/framework.jar "C:/Users/sagit/Desktop/and-rtl-patcher-0-0-3/RTL/Toolkit/framework.jar"

31/01/2011 17:26:26: ADB Returned:

remote object '/system/framework/framework.jar' not a file or directory

31/01/2011 17:26:28: ERROR OCCURED: File transfer failed!

31/01/2011 17:26:28: Attempting to kill adb.exe

31/01/2011 17:26:28: KILL command returned:

SUCCESS: The process "adb.exe" with PID 2412 has been terminated.

31/01/2011 17:26:28: Attempting to kill java.exe

31/01/2011 17:26:28: ADB Returned:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

31/01/2011 17:26:28: KILL command returned:

ERROR: The process "java.exe" not found.

31/01/2011 17:26:28: Process already killed.

31/01/2011 17:26:31: Text source set to: files\text_senseHD\

31/01/2011 17:26:31: Pulling framework file

31/01/2011 17:26:31: Sending to ADB: pull /system/framework/framework.jar "C:/Users/sagit/Desktop/and-rtl-patcher-0-0-3/RTL/Toolkit/framework.jar"
[Android Software/Hacking General [Developers Only]] Ambious:
Can you try 0.0.6.2 in the post above yours and say if it's any different?
[Android Software/Hacking General [Developers Only]] sagytb:
ANd again on 0.0.6.2:

-------------------------------------------

31/01/2011 17:43:36: Starting program...

31/01/2011 17:43:37: Android RTL Auto-Patcher 0.0.6.2

31/01/2011 17:43:37: Program Initialized!

31/01/2011 17:43:37: Sending to ADB: start-server

31/01/2011 17:43:39: Checking connection

31/01/2011 17:43:39: Sending to ADB: devices

31/01/2011 17:43:40: ADB Returned:

List of devices attached

0123456789ABCDEF	device

31/01/2011 17:43:40: Sending to ADB: shell ls /system/framework/

31/01/2011 17:43:40: ADB Returned:

svc.jar

com.google.android.maps.jar

framework-res.apk

core.jar

javax.obex.jar

com.htc.android.easopen.jar

com.orange.authentication.simcard.jar

com.scalado.util.ScaladoUtil.jar

com.htc.framework.jar

ime.jar

android.policy.jar

framework.jar

input.jar

android.test.runner.jar

am.jar

com.google.translate.jar

framework-tests.jar

com.htc.android.pimlib.jar

services.jar

pm.jar

ext.jar

bmgr.jar

com.htc.hardware.vision.jar

com.scalado.caps.jar

monkey.jar

com.htc.resources.apk

31/01/2011 17:43:40: Checking Compatibility

31/01/2011 17:43:40: JAR based, build compatible!

31/01/2011 17:43:40: Autodetected DesireHD!

31/01/2011 17:43:40: Sending to ADB: pull /system/build.prop "C:/Documents and Settings/Administrator/Desktop/v.0.0.6.2/Toolkit/build.prop"

31/01/2011 17:43:40: ADB Returned:

289 KB/s (4636 bytes in 0.015s)

31/01/2011 17:43:47: === Chuck Norris summoned! ===

31/01/2011 17:43:49: Text source set to: files\text_senseHD\

31/01/2011 17:43:50: Pulling framework file

31/01/2011 17:43:50: Sending to ADB: pull /system/framework/framework.jar "C:/Documents and Settings/Administrator/Desktop/v.0.0.6.2/Toolkit/framework.jar"

31/01/2011 17:43:50: ADB Returned:

remote object '/system/framework/framework.jar' not a file or directory

31/01/2011 17:43:51: ERROR OCCURED: File transfer failed!

31/01/2011 17:43:51: Attempting to kill adb.exe

31/01/2011 17:43:52: KILL command returned:

SUCCESS: The process "adb.exe" with PID 2364 has been terminated.

31/01/2011 17:43:52: Attempting to kill java.exe

31/01/2011 17:43:52: ADB Returned:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

31/01/2011 17:43:52: KILL command returned:

ERROR: The process "java.exe" not found.

31/01/2011 17:43:52: Process already killed.

31/01/2011 17:43:55: Attempting to kill adb.exe

31/01/2011 17:43:55: KILL command returned:

ERROR: The process "adb.exe" not found.

31/01/2011 17:43:55: Process already killed.

31/01/2011 17:43:55: Closed successfuly
[Android Software/Hacking General [Developers Only]] jaguaralani:
Desire Z 3.3 is a squashed ROM, so the framework.jar file is within the squashed file system, not in the expected location by the RTL patcher, the location has only a shortcut to the original file, so it is a must to delete the shortcut and then copy the framework.jar from within the squashed file to the original address ( root/system/framework folder )...

--------------------------------

now back to the RTL patcher, it is working fine here ( on the DESIRE Z 3.3 SD card version ), although it showed the connection error, but it continued fine and reflected the letters to the correct RTL view ), but there are 2 issues:

1-the numbers are still incorrectly shown ( LTR ).

2-the line are on the left side of the page, not as expected to be on the right side of the page...

any solution for that ?

TIA
[Android Software/Hacking General [Developers Only]] kiloah:
still waiting for Arabic so i can switch back to android from WP7 :P

thank you for your hard work it is much appreciated.
[Android Software/Hacking General [Developers Only]] Ambious:
That's interesting to know, but presents me with bigger issues - in addition to detecting all the different types of build types, compatibilities, rom bases, etc, now I have to differentiate squashed/nonsquashed builds as well? Poo! :-(

I now see what they said about fragmentation in Android. Makes you wanna pistol whip somebody.

Back to your problem, though, it seems as though the patch wasn't correctly applied, more specifically, the 'texts' part. Did you make sure to select 'Sense HD' in the build base? (Autodetect doesn't always work right).

Also, log&build.prop would be appreciated.

I'm afraid it's going to take a little while longer, as all previous attempts I made failed.

That being said, and on another note, there have been some huge advancements by the original developers of this fix (the good folks at iAndoird.co.il), and I've been in contact with them to perhaps collaborate in the future. This will (hopefuly) enable an easier patching process, a more global (not build-depended) solution - and very hopefully, even a workaround for the Arabic lettering problem.

We're still only talking, but if things do happen - this is where you'll see it first.
[Android Software/Hacking General [Developers Only]] jaguaralani:
the autodetect worked, and it automatically chose SENSEHD,

and I chose the SD build myself

the log is attached....
[Android Software/Hacking General [Developers Only]] Ambious:
From your log, it would seem that the process went fine (despite the error with the build.prop - which should be solved in 0.0.6.2).

Is your build using a modified/custom sense interface?

Also, just for the sake of it, try selecting 'RAM' instead of SD (it basically does the same only adds the patch to the /sdcard/android/root/system/framework dir, so it installs correctly for builds that can't be modified directly and copy from 'root' on boot).
[Android Software/Hacking General [Developers Only]] XenaPlanet:
thank you

I i'm using miui rom
[Android Software/Hacking General [Developers Only]] funtizuma:
How exactly can i do this?

BTW, i use the 3.4 ROM.
[Android Software/Hacking General [Developers Only]] Ambious:
Discontinuation Notice

I'm discontinuing development on this project at this time. The reason I created this program was for self-use at first, I kept changing builds a lot and got tired of doing the patching manually all the time. However, lately I started using the official CM7 build which has a newer-better fix already implemented, so not only I can no longer test the program and how it functions, I don't need to. All due respect, I won't 'forsake' my phone just to test patches, I need this thing to work.

Future variations of CM7 will most probably all have the newer patch already in the rom, which also solves the Calendar/Gallery issue (not arabic yet, sorry, but I'm told they're working on it).

Also, a group of talented people over at iAndroid.co.il are working on a more advanced fix that handles the RTL through the rom runtime itself, which in turn fixes all programs regardless of what class they use. It's a patch that's really twice better than the one my program currently creates, so I don't think there's any reason for me to keep working on this. For more information, head over to the thread on iAndroid.co.il and check it out.

Lastly, since I believe in community, I will make the source code for this program available soon at the program's page on Google Code. If anyone wants to go on and finish my work, you have my blessing, just be warned: I never had any official training so my coding is ****e, and you'll probably get lost in the mess that is my code.

Thank you all for your incredible responses and for helping test the program, and hopefully you'll continue enjoying Android as much as I do.

Peace and Love,

-Elad Avron
​

p.s. - I ask that the mods/administrator NOT lock this thread in the meantime so other users can still exchange tips/ideas regarding RTL correcting with or without this program. Thanks.
[Android Software/Hacking General [Developers Only]] lior1262:
Thank you very much great work done
[Android Software/Hacking General [Developers Only]] amirdt:
Thanks a lot for your great contribution...

BTW, which CM7 ROM do you use now that solves the RTL issues?
[Android Software/Hacking General [Developers Only]] TheAgent1982:
endless Boot-up stuck

Hi, gr8 gob!

I have tried you patch on:

[ROM][ZIP]01/02/11]HD2 CoreDroid DHD V1.1[SKINED&TWEAKED][1GHz][TMOUS&EU]ONLINE

(It is deodex ROM)

And it stuck on the boot, endless loop.

Any Idea how to fix it?

Thanks in Advance!
[Android Software/Hacking General [Developers Only]] liamR:
+1

Which CM7 release solves the RTL issues ?

Thanks
[Android Software/Hacking General [Developers Only]] Ambious:
I'm guessing it's a NAND rom with CWM (since it's ZIP).

The fastest way to fix the rom without losing anything is extract 'framework.jar' from the rom's original zip (it's under system/framework/) and push it back to the device using ADB.

As for WHY it happened, I have no idea. I'd recommend trying again under recovery, and if all else fails, try one of the newer better fixes at iandroid.co.il (link is in post #2 of this thread).

It's the newer semi-official CyanogenMod rom, available here.

However, they've abandoned MDJ's kernal and rom since he was acting up and didn't release his source code (as he should have under the GPL license which he used), so some things still aren't as stable and reliable as in MDJ CM7 2.6 (but they release nightlies, so it should be very soon - even better).
[Android Software/Hacking General [Developers Only]] liamR:
Does it mean that MDJ can't include CM7 new releases in his roms ?
[Android Software/Hacking General [Developers Only]] TheAgent1982:
How to install it, no manually, i mean, to install the package with *.bat files, is it comparable to HD2 Devices?

Manually, i have tried, to edit the framework.jar, no success :(

Also, i have extracted the framework.jar from ZIP file, edit it, and replace in ZIP file, then, i have tried to install it in recovery mode, still no success :(

Any idea, or help are welcome :)
[Android Software/Hacking General [Developers Only]] Ambious:
Bah, I wrote a long reply but it didn't post for some reason.

Anyway, I'm not sure it means anything, but since MDJ pulled a Houdini the only good alternative is the official CM7 line of builds, since it has daily maintenance and is completely open-source with devs submitting fixes and public collaboration on a daily basis.

However, the current line of CM7 builds, while more advanced from on features, has completely abandoned MDJ's work and started anew, which means there are some kinks and bugs they're still working on - but they're releasing an update every single day (called 'Nightlies') so it won't be long before this takes shape and becomes the best thing around.

Anyway, the current nightlies already contain the newest more advanced Hebrew fixes, which are better than mine anyway.

And lastly, I would like to stress that I have nothing but deep respect and admiration for MDJ and all and any other devs, and I appreciate the great work he has done and all he's given us.

Good night y'all.
[Android Software/Hacking General [Developers Only]] tez007:
hebrew support

hello

I'm using :

htc hd2

MDJ'S CyanogenMod 7 v.2,6 A2SD+

graet work all works on Android RTL Auto-Patcher (v.0.0.6.2), hebrew letters and numbers.

Dose the patch fix the hebrew support on application screen, I installed yellow pages application in hebrew :"דפי זהב" on the screen i get it " בהז יפד", and i find out that there is no hebrew locals on settings --> language & keyboard

Is there fix for that ?

Thank You
[Android Software/Hacking General [Developers Only]] Ambious:
It should, but it really does depend on how the program was written.

As for the locale, if you install the keyboard fix, you should see "Hebrew" at the bottom of the list of languages available for the default Android Keyboard.
[Android Software/Hacking General [Developers Only]] tez007:
hello and thank you for your replay

The keyboard is o.k, I meant the Local setting there is no Hebrew (Israel), on the google maps (google version 5.1.0) the names are in english.

Thank You
[Android Software/Hacking General [Developers Only]] Ambious:
That's ROM specific. Some roms have it, some don't... sorry.
[Android Software/Hacking General [Developers Only]] Ambious:
Ahhh, dude, that's the changelog, you're looking for the regular log.
[Android Software/Hacking General [Developers Only]] boldman78:
hi, works fine for me with MIUI.

all i did was restart my computer.

if you need help PM me.
[Android Software/Hacking General [Developers Only]] Ambious:
Just a quick note to anyone still following this thread, the newer nightlies of the (semi/quasi/almost/sortof/notreally)-official CyanogenMod7 build support not only full fixed Right-To-Left, but also fixed Arabic!

Check it out at http://xdaforums.com/showthread.php?t=940684
[Android Software/Hacking General [Developers Only]] elrom-silvera:
Hi,

I tried to run this patch but i get this error, please let me know if there is a solution.

i have attached the log file. :)

Thanks.
[Android Software/Hacking General [Developers Only]] Ambious:
You need to install JAVA, the link is on the first post.
[Android Software/Hacking General [Developers Only]] liron1980:
Hi!

I saw the post on iandroid, for some reason it looks more complicated...

I am still using your patch :)

I've downloded typhoon and without any fix the hebrew looked great! unfortunately... it drain my battery. I wanted to ask if you know another rom that handels the hebrew like typhoon? (I saw your post about the cm7 night bet i rather not...)

Thank you!
[Android Software/Hacking General [Developers Only]] Ambious:
Indeed, unfortunately Typhoon is a huge drainer and nightlies are a bit unstable.

I'm still looking for something better, will update if/when I find.