yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] dahem:
Thanks for the update madmack.

I've been having a small problem since I installed 1.6. Sometimes letters in the beginning of a sentence do not show on WhatsApp. Are you experiencing the same problem?
[Galaxy S II Android Development] paracha3:
@yamen.meddab

No offense to madmack, his efforts are appreciated but i'd say stick with

Jpkj2 that is full Arabic support. With Madmack rom I have errors on some websites while submitting web forms. The same sites work just fine on jpkj2 firmware.
[Galaxy S II Android Development] madmack:
i've seen this problem happen, yes. it hasn't bothered me so much so far though :rolleyes:
[Galaxy S II Android Development] firefds:
Hey Madmack.

2 things: you wrote KK5 is 2.3.5 but its 2.3.6 :)

The dialer app works on 2.3.6 as well
[Galaxy S II Android Development] madmack:
Gracias señor ! :)
[Galaxy S II Android Development] dahem:
I'm getting a lot of automatic restarts after the update. Is anyone experiencing the same problem?
[Galaxy S II Android Development] hdnebat:
CWM Issue

I'm facing issues with CWM 5 recovery, it can't mount usb storage, and gives error:

E: unable to write to ums lunfile (no such file or directory)

but cwm 4 recovery was working just fine!
[Galaxy S II Android Development] madmack:
i think you should write about that here:

http://xdaforums.com/showthread.php?t=1103399
[Galaxy S II Android Development] thecrater:
Hi all,

Does Saumsung Dive work with this ROM? Could someone please confirm?
[Galaxy S II Android Development] amnya:
Yes, it does work.
[Galaxy S II Android Development] Heroeagle:
Great one madmack .... keep it on bro ;)
[Galaxy S II Android Development] madmack:
thanks man.

I think I'm abandoning this little rom though given that ICS will have native RTL support :)
[Galaxy S II Android Development] Heroeagle:
thanks at all without your rtl i wasn,t able to use any european rom
[Galaxy S II Android Development] yamen.meddeb:
Thanx for ur work, it was very usefull for arabic people.
[Galaxy S II Android Development] effy_t:
Hi,

Any chance of updating this to KL1?

I've been using it for this one for a while, works great!
[Galaxy S II Android Development] madmack:
I'll look into it :)
[Galaxy S II Android Development] madmack:
here you go. given that i haven't tested it, i'm not putting it in the OP for now. as soon as any of you confirm that it works i'll put it up there :)

http://www.multiupload.com/4PZY2C1X37

the rom came deodexed from samsung. i just optimized (compressed) all pngs and ran the RTL patcher on it.

I also added the battery percentage and green wifi/3g bars as well.

things that will be flashed: KL1 ROM (PDA), MODEM (KL1) and KERNEL KL1 by ChainFire.
[Galaxy S II Android Development] Lonexl:
Is this for me?

Having spent ten hours fixing a disastrous upgrade from 2.3.4 to 2.3.6 and routed my SG2, am now ready for Arabic support.

Will this rom work for me? If not what is the alternative?

I am running 2.3.6 stock (rooted), Baseband I9100XXKL1

Kernel version 2.6.35.7-I900xWKK5-CL754841 root@DELL144#2

Thanks all. :D
[Galaxy S II Android Development] madmack:
I don't see any reason for it not to. I recommend v2.0 as it gives me the best battery life I've had on this phone :)
[Galaxy S II Android Development] Lonexl:
didnot work

using v2 & v2.3 caused a bootloop. cleared cache and data ... no luck. :confused:
[Galaxy S II Android Development] madmack:
none complained of bootloops. you're probably doing something wrong.

in cwm, make sure you format /system /data and /cache then try flashing again.
[Galaxy S II Android Development] Lonexl:
worked with 2.3. thanks.
[Galaxy S II Android Development] bimmersport:
I installed 2.4 and my cwm app seems to have disappeared now I don't have access to cwm at all even through the button combination
[Galaxy S II Android Development] madmack:
do you get a blue recovery screen or no recovery at all?
[Galaxy S II Android Development] bimmersport:
It just goes into stock recovery and says signature verification failed
[Galaxy S II Android Development] madmack:
ok, thanks for your feedback. everything else works correctly in terms of RTL support? no funny characters appear in text?

You'll need to load CF-Root's kernel manually. Just go to this page and download that file. unzip it and then flash using Odin putting that file in PDA after your device in download mode.

I'm guessing your device is not rooted either. I'll have to fix this :o I guess that's what happens when I don't personally test my releases.

if you do the steps I mentioned though, you should be all good to go: recovery should be back and you should be rooted correctly.
[Galaxy S II Android Development] bimmersport:
Everything works perfect, the phone is rooted just the cwm disappeared. Thank you for your help and quick response I will load the cf-root kernel
[Galaxy S II Android Development] madmack:
ok guys, i upped 2.5 to the OP instead for those interested. It's based on the Italian XXLA2. the menu will be in Italian initially, you'll have to make your way to the language setting to change it to English ;)

I've heard good stuff about that one, but haven't had a chance to try it out yet. I see new stuff like a new lock screen.

As usual, I'm putting CF-Root's kernel, the Samsung bundled modem and this time, the csc file as well. So when you go to the Dialer and type #*1234# you'll see the three fields occupied correctly. The CSC adds some extras like the aquarium wallpaper. I actually had to apply the stock Odin flash to see what the CSC file does exactly and then modified this rom to comply :)

I also optimized the files as usual + battery mod + green connectivity bars.

enjoy !
[Galaxy S II Android Development] yamen.meddeb:
Great work, the last i hope :(
[Galaxy S II Android Development] auda86:
Flashed the new LA2 ROM. running for a couple of hours with no issues at all. Thanks for your work. Keep it up
[Galaxy S II Android Development] madmack:
yea I hope so too. was on ics for a while until I realized it's not really ready for daily usage yet.

this la2 base is solid here so far. will do until the official ics comes out :)
[Galaxy S II Android Development] Heroeagle:
Madmack Please put arabic support for swype keyboard on A kk5 Rom
[Galaxy S II Android Development] madmack:
I'm sure if you dig around you'll find a flashable cwm file that will install the middle eastern swype version.

unfortunately i don't have much time to do that search right now but perhaps someone can.
[Galaxy S II Android Development] amnya:
Madmack's 2.5 eMail bug

I think i found a bug in madmack's 2.5 ROM, all my IMAP and POP emails configured on 2.3 were lost in 2.5, and when i tried to recreate them i kept getting communication errors! Reverted back to my backedup nand of 2.3 for now. Cheers.
[Galaxy S II Android Development] b84:
multiupload down?

some upload to a mirror..!!!

cant download anything from multiupload:mad:
[Galaxy S II Android Development] ayman_salah:
Please can you add (XXLPB) [RTL + Arabic support]
[Galaxy S II Android Development] firefds:
Why do you need xxlpb?

ICS has RTL built in...
[Galaxy S II Android Development] madmack:
added a mirror. let me know if it works. never done rapidshare before :rolleyes: wonder how long it'll be before all these handy services go out of service. :mad:

yea, it's beyond me too. he posted the same thing in 3 different threads so far. lol
[Galaxy S II Android Development] firefds:
Rapidshare is pretty solid.. I dont think it will go anywhere soon
[Galaxy S II Android Development] ayman_salah:
It'a Lack of knowledge to know that It has buit in arabic

Thanks to let me know something new
[Galaxy S II Android Development] madmack:
no love so far coz it wasn't so shiny when i deodexed it, lol. it must've been something on my end though, and then i was too lazy and unexcited about it so i went back to debugging the webkit.

the thing was hanging in every app ! browser refused to even scroll.. lol. i'll have a look at it again, and when its tested and all, i'll release it here :)

you can run the stock odexed KE7 with arabic support in the browser only for now though. (my latest webcore seems stable enough, although not perfect yet !)
[Galaxy S II Android Development] MoFsaD:
KE7 battary life is amazing i hope it ill be 1.4
[Galaxy S II Android Development] madmack:
I'm having problems deodexing ke7 unfortunately :(

the build works, but the apps grow to a halt. they're incredibly slow and FC due to it for some reason. I have no idea what's wrong due to my inexperience with deodexing.

lets see if someone else gets some better luck deodexing ke7
[Galaxy S II Android Development] magic wand:
Thanks bro for your nice work:):):)
[Galaxy S II Android Development] roisagi:
i am using this great ROM.

however, i am unable to update to KE7 via KIES - am getting a message that HW cannot be upgraded.

is it possible to update to KE7 after installing this ROM?
[Galaxy S II Android Development] madmack:
yea, get the Odin package and you should be just fine :)
[Galaxy S II Android Development] em4all:
thanks to the OPer ...

http://xdaforums.com/showthread.php?t=1095274

deodexed ke7
[Galaxy S II Android Development] oozrafa:
In order to get just the RTL support (i don't need the Arabic lettering support) which files do I need to copy over? Is it just the framework.jar, or others too?
[Galaxy S II Android Development] Azdian:
i tried it .. did the framwork thing and replaced the lates libwebcore .. and boom adslgate is crashing the browser >_<
[Galaxy S II Android Development] madmack:
you'll need to use my patcher from my blog.

eventually, you'll need to put two .so files and the framework.jar files.

the patch should make hebrew+arabic work everywhere except the browser which uses a different file.

unfortunately u can't just have RTL patch without arabic shaping. my work is a port of CM7's RTL support so you must get both or nothing :)
[Galaxy S II Android Development] madmack:
you guys want the browser not to crash ?

load the default stock nonarabized libwebcore.so

boot it up and use it on some websites that are heavy in rendering. then, without clearing cache or browser settings, load my latest webcore and reboot. crashes will be gone for good

why is this ? well, that's beyond me.
[Galaxy S II Android Development] oozrafa:
ok great. Thanks for the reponse. I'm fine with both :) just wondering which files controlled the RTL.

So with the new deodexed KE7 exactly which files to I need to copy over??
[Galaxy S II Android Development] madmack:
its really modifications to framework.jar which require a patched libandroid_runtime.so and an external custom library libicuuc-arabic.so. Without these two libraries the patched framework.jar won't run and you'll end up in a spiral bootloop of endless dimensions.
[Galaxy S II Android Development] oozrafa:
So if I copy over your original files from the KE2_Arabic (framework.jar, libandroid_runtime.so, libicuuc-arabic.so) it will work with the deodexed KE7 rom too?
[Galaxy S II Android Development] madmack:
I guess it will due to the minimal differences. a better option would be for you to use my patching tools from scratch. link is on OP of the [mod] thread
[Galaxy S II Android Development] oozrafa:
Amazing. Just did it with "Lite'ning Rom v1.0 XWKE7" and works perfectly. Thank you very much! Works like a charm
[Galaxy S II Android Development] ameerxp:
Salam 3leekom brother, small question from where you purchase SGSII from KSA and from which store and how much you pay for it.

Thanks..
[Galaxy S II Android Development] MoFsaD:
i download it in my phone I hate the theme but it's deodexed :D

and then I did the arabic from ur blog did every step one by one carefully

and reboot n got FC a lot i had to flash the rom again :confused:

now what :( ?
[Galaxy S II Android Development] madmack:
just wait a bit. i'm upping 1.4 (deodexed, arabized, KE7). It also has a new webcore and the CM7 battery % in the status bar.
[Galaxy S II Android Development] Azdian:
u r the man :D cuz i hated lite'ning blue theme
[Galaxy S II Android Development] MoFsaD:
I was just wishing u do that and after i refresh the page !!!!!

I wish I asked for a billion :p

THANK YOU
[Galaxy S II Android Development] madmack:
V1.4 is UP.

Link is on OP.
[Galaxy S II Android Development] kzakaria:
Can i get just the new libwebcore?
[Galaxy S II Android Development] MAJED.y:
I did these steps

1. put phone in Download Mode.

2. open Odin 1.85

3. Place my file in PDA.

4. DONT CHECK ANYTHING ELSE

5. flash away.

6. factory reset

old : Gmail Hang as i open an Email then scroll Boom "Hang".

Browser still Hang, hang twice. "was replaced wit KE2"

New :Just put KE7 Browser back Again and Gmail works good
[Galaxy S II Android Development] madmack:
already bundled in 1.4

hmmm.. yea, that doesn't sound good at all. i think this is as best as i can go for the libwebcore without removing samsung features.. otherwise i'm planning on building an aosp build with bare minimum to see if it'll run.. but that takes a long long time and i frankly don't have much of that now.
[Galaxy S II Android Development] MAJED.y:
Ohh Yes, i forget to mention this.

the Browser was too slow not usable at all, I couldn't bear it, so i used KE2 one.

I will go back to the Original and see how Gmail will goes!. and feedback

Sorry to not mention this before. :(
[Galaxy S II Android Development] madmack:
browser too slow ? I don't have that problem.. u sure ur using 1.4 ? it has a fast browser..
[Galaxy S II Android Development] MAJED.y:
Yes, as soon as i boot and setup my gmail account i open it and that is it.

I don't know why for sure!.

Need others to confirm this.
[Galaxy S II Android Development] madmack:
I have no idea why but it could be some initializations that are missing. open up the browser and then go to gmail. see if that helps.
[Galaxy S II Android Development] MAJED.y:
I Editted my 1st post for today,

I revert back to KE7 and it's good now not slow!! i swear it was slow after the boot!

Gmail now is good no hang.

Good till now.
[Galaxy S II Android Development] madmack:
maybe something was stuck in there, lol.

glad its all working for u now.

this libcore should never freeze, it might crash and give u an FC immediately I suspect, but no irresponsiveness like the previous ones.

I'll try to speed this core up a bit when I get more time but I like what I'm seeing so far
[Galaxy S II Android Development] MAJED.y:
^^ Madmack Thank you for your hard work "جزاك الله كل الخير".
[Galaxy S II Android Development] ahmedo2:
thx madamack for ur concern nice job god bless u brother
[Galaxy S II Android Development] madmack:
no problem.

its really a hobby more than anything. and i loved the challenge it provided given that this is the first webcore that i have problems with. its definitely the dependencies that samsung didn't release that are killing my previous versions. wish i had more source code, but thats what we have now.

if this latest webcore provdes to be stable, i might take a little holiday from this android stuff for a bit. been working so hard on it for so many hours.. (i got more than 80+ different libwebcores that i tested :eek:) i need to get my life back ! i could be a little tenacious when things don't work, and its awesome when it pays off.
[Galaxy S II Android Development] nechmadi:
can you please post the .so files and the framework file so i can push them to ke7 ?

you do a great work, thank you!!
[Galaxy S II Android Development] madmack:
the latest .so file will be posted in my blog and in the [mod] thread. this thread is only for the ROM :)

as soon as I clean up the mess in my computer, that is.
[Galaxy S II Android Development] nechmadi:
i meant to: libandroid_runtime.so, libicuuc-arabic.so, libwebcore.so , framework.jar

thanks again :)
[Galaxy S II Android Development] madmack:
these will change from one rom to the other. you'll need to patch your rom manually using my patcher.

or use this rom here.

i'll only upload libwebcore.so and my patcher. you can generate all these files yourself.
[Galaxy S II Android Development] SLtAR:
thanks for the great rom

just to be clear factory reset means delete all apps and msgs ? or what?

i am still using ur first method with a KE2 which is reasonable but i wish to improve the battery life but i cant afford losing all my data over small update

many thanks
[Galaxy S II Android Development] madmack:
yea, it does mean that. you don't have to do it if everything works fine. but i recommend it to clear browser and other cache related settings.

it'll most likely work without a factory reset though, so you can flash the rom and you won't lose all your messages + apps.
[Galaxy S II Android Development] teisner:
Wipe?

Do I have to backup everything before flashing?

does the process wipe my data?

Tomer
[Galaxy S II Android Development] madmack:
it doesn't wipe your data unless you do it manually.
[Galaxy S II Android Development] Azdian:
flashed .. idk .. but the previous webcore was more stable

now i tried acid3 and zoomed in & out fast for 3/5 times .. absolute crash ! >_<

what a nightmare madmack .. أحسك شيبت من هالملف :D
[Galaxy S II Android Development] madmack:
its true this file drove me crazy, but I guarantee that its the most stable thing we have now.

you'll need to clear browser data and cache in both Gmail and browser. then start the browser first and try again.

I've removed the prelinking, so u just run the browser first to start the core this way rather than having another prelinked library execute it first.

it works without a single crash here for the past 10h
[Galaxy S II Android Development] roisagi:
battery drain

am experiencing a battery drain.

has anyone experienced the same issue?
[Galaxy S II Android Development] dxb752:
Hi guys i am a noob , when it comes to this i have a s2 with ke7 already in it how should i install the arabic rom please .
[Galaxy S II Android Development] naser404:
Salam 3lekuim,

i just flashed with this rom & i can read arabic fine but i cant fine any arabic input keyboard, am i missing something ??

thank you
[Galaxy S II Android Development] MAJED.y:
Use Smart Keyboard and select Arabic/English as Input.

it's your only way at the moment.
[Galaxy S II Android Development] madmack:
yea, you're missing a keyboard as majed said.

smart keyboard pro is what i use, but you can get other arabic keyboards on the market that will do the job just fine. ibrahim keyboard is another example.
[Galaxy S II Android Development] Azdian:
I prefer Gingerbread keyboard from the market

then download the arabic pack

Gingerbread keyboard

Arabic Pack
[Galaxy S II Android Development] naser404:
Majed,

i installed smart keyboard & i can read & type arabic "BUT" if i press the send key i get a popup saying "Attention _ Message may be corrupted on recipient device. Change input mode to automatic"

now i played with all the settings in languge & input but i cant find the so called 'Automatic input mode"

and i receive the arabic text coruppted on my other phone when i send.

Any suggestion please ?

thnak you once more for your constant support.
[Galaxy S II Android Development] naser404:
Azdian,

i am getting the same popup message with Gingerbread keyboard, so im assuming its a setting i need to change in the phone, can someone please give any suggestions.
[Galaxy S II Android Development] madmack:
This is a setting in the SMS app that you need to change. Go to its settings and change encoding to automatic. then send your messages again.
[Galaxy S II Android Development] naser404:
excellent work & thank you.
[Galaxy S II Android Development] azakarea:
Hi Bro.

Nice Work , but i am facing a faster battery drain compared to the stock KE7 , only in 5 hours idle 10% of the battery vanished .

any advice
[Galaxy S II Android Development] EricB68:
Hi,

yes, the battery drain is irritating a little bit. 21% in nearly 9h.

Sounds nearly normal in the first view, but this was 6h during the night near full sleep, BT activated for ca 20 min, no WiFi, no GPS, no calls. Concerning to the power management 49% of the battery consumption was the display ...

Rest works great and stable. Thx madmack :)

Eric
[Galaxy S II Android Development] madmack:
i wonder what might be causing that battery drain.. hmmmmm

maybe i should rebase it to VillainROM's deodexed files ? or just wait until a new samsung version comes out.
[Galaxy S II Android Development] bu2askoor:
I think this is the best idea. Go for it :)
[Galaxy S II Android Development] madmack:
i'm putting sometime in the webcore again this morning.. i've overlooked some things previously so I'm playing around with some settings again today :) once i give up (what usually ends up happening, lol), i'll rebase my rom on villainrom's, and reup it again.
[Galaxy S II Android Development] pulser_g2:
Hey,

Someone asked for the arabic mod into VR as well just there... If you've got links to the XWKE7-suitable files (I tried modding it per the instructions on your blog but got a bit lost I'm afraid), then I can shove it up as an "OTA" available tweak to VR1.1 for people. Would this tweak affect anyone not using it? If not, I can try adding it to all future versions if you like :)

Might save you a bit of hassle, and a long upload...
[Galaxy S II Android Development] madmack:
Hey pulser, ! great to see you here.

the arabic shaping mod is actually in two separate files: framework.jar for shaping text in menus and texts..etc and libwebcore.so which renders the browser and gmail app (and any other app that relies on the WebView object). So far libwebcore.so is not stable here due to some problems with samsung's sources (yea, i'm recompiling that piece from scratch), so I'd recommend not to include this with your rom.

You may include the framework.jar patch though, that shouldn't affect anybody really as it uses some rigorous UNICODE range check before it attempts to shape text and render it correctly for RTL languages.

Where did you get lost in the steps ? I was hoping that they'd be clear so chefs can start cooking these mods into their ROMs :o

you basically need libandroid_runtime.so and your deodexed framework.jar files. Place these into my patcher and you'll get the new modded ones after running the patch. Copy the modded ones into your rom alongside libicuuc-arabic.so which is also there in the patch.

You might wanna keep this mod optional though because it'll limit the ability to apply custom themes to framework.jar due to its newly created dependency on the modded libandroid_runtime.so library.

in the end you should place three files in your /system partition:

framework.jar in /system/framework

libandroid_runtime.so and libicuuc-arabic.so in /system/lib

Let me know if you need any help. I'd appreciate it if this patch can be created for your ROM as i'm no expert in deodexing by any means.. (i actually even had trouble getting a stable browser after deodexing KE7 for some reason.. :confused:)
[Galaxy S II Android Development] pulser_g2:
OK. My attempt is at http://xdaforums.com/showthread.php?p=14187882&highlight=arabic#post14187882

So I was missing libicuuc-arabic.so, which seems strange.

Now I discovered a CWM flashable zip, containing more files... Facepalm time...

I can make this available on VRTweaks as a (1 of 4), (2 of 4) type addon. ATM it can't install updates consisting of more than one file, but that will come soon enough :) Sounds best to remain optional right now for theming reasons, but we can push this via VRTweaks soon as we get it going :)

Latest stuff is at www.villainrom.co.uk/SGS2/VRTweaks/VR1.1ArabicModFromMadMack.zip :) Not flashable as we don't have modded recovery, but contains files that I need to get tested.

Or alternatively, is there a particular website I can use that should work with this tweak, but not work without it?

P