yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] madmack:
My universal patcher uses brightideas' browser fix as well. Brightidea is the guy responsible for fixing arabic on the browser+gmail and dependent apps. The rest (sms, twitter, contact list, typing.. etc) is covered by my universal patcher.

if you download the latest universal patcher, it should be able to patch everything including the browser files (it integrates brightidea's work). just make sure you follow the steps to the letter.

I haven't noticed any differences personally between KH3 and KG5. I only tested KH3's modem and its pretty solid in my area.
[Galaxy S II Android Development] goodwill4u1:
Thank you again

so If i use your 0.812 engine to generate and follow step by step your how to, i will be patching a total arabized rom?

also is it the same as SGS, when i used to flash theme before applying the arabic patch generated from your engine or i get bootloop?

cheers
[Galaxy S II Android Development] goodwill4u1:
And this is really my last question:)

is this really needed in SGS 2? Fujutweaks 2.3.5 (GRJ90)

i mean do we need tweaks when the hardare of the mobile in pretty awsome and fast?

thanks

sorry if this is out of subject, but i hope you can just give me an answer about this
[Galaxy S II Android Development] madmack:
bootloops? if you follow the guide to the letter, there will be no bootloops :)

yes, if you follow to the letter.. you'll have a fully arabized rom from a non-arabized rom.

i don't know. i don't personally use it so I can't say. I'm using this rom (v1.6) currently and I'm really happy with its performance/battery usage.
[Galaxy S II Android Development] lubluchka:
Madmack 1.6

Hi Madmack

I updated my phone from Madmack 1.5 (which was working fine with Arabic) to Madmack 1.6, to find out that Arabic disappeared completely from my phone. Any idea what the reason behind this?

Thanks
[Galaxy S II Android Development] madmack:
This rom is meant to bring you arabic writing/reading support in the latest available ROMs. v1.6 is based on the latest European ROM which does not have Arabic menus but I enable RTL and arabic read/write in it.

If an official Arabic ROM is the latest ROM (which happens very rarely) then this ROM will be updated to it. But given that most of the time the European/Asian ROMs are later releases, we'll bring you that instead. You lose the arabic menus but you get the ability to read/write everywhere.

From my experience though, you should stick to 1.6 given that its a later release and much better battery performance. (based on 2.3.4 instead of 2.3.3)
[Galaxy S II Android Development] lubluchka:
Thanks Madmack for ur quick reply!

I am not talking about Arabic menu (which I'm not using) but about the documents. The documents which I was able to read on Madmack 1.5 can't be read anymore with Madmack 1.6. Very strange.
[Galaxy S II Android Development] madmack:
hmmm.. with what app are you opening that document?

arabic should be shaped correctly everywhere else though. have you checked the contacts list, sms and the web browser? I think the problem might be specific to that app and if so, we could possibly try porting the app from the 1.5 rom to the 1.6 version to fix it.
[Galaxy S II Android Development] dahem:
I installed the rom (1.6) from recovery over my lightning rom (6.1) and the phone will not boot. I keep getting the boot animation and the S logo over and over.

I can still access recovery and download.

What should I do

Thanks

EDIT

I just fixed it. I went with the long route. Flashed stock KG2 from odin, rooted, then flashed 1.6.

Is there any way that I can add Arabic to swype and samsung keyboard?

Thanks
[Galaxy S II Android Development] madmack:
Glad you fixed it. If you had this problem occur again anytime in the future. Go to your recovery, then wipe /data , /system and /cache then reinstall the ROM again. It should fix the problems you had.

About swype and samsung keyboard, I don't have them handy right now but I'm pretty sure I've seen them around previously. I might just add them to the next release. Otherwise, I don't really recall where they are.

maybe someone else can help :)
[Galaxy S II Android Development] goodwill4u1:
something i always never know how to fix, and wasn't in SGS

when my phone is locked and in "sleep", as soon as i click on the home button to wake it up and unlock, it take a second to wake up, and not straight away, its really annoying.

someone can help in how to fix?

thanks
[Galaxy S II Android Development] madmack:
Yea I'm aware of that nagging problem that exists in all Stock Samsung ROMs for the SGS2.

The reason is because we have a "double click to activate voice commands" thing. So the framework waits for your second click for about a second or two, if it doesn't exist, it handles a single click. I can take that delay off given that someone fixed it at smali code, but that would mean no more double click voice commands. So I'm going to stay away from it for this ROM as I'd like to keep all stock features intact.
[Galaxy S II Android Development] Ty_z:
Im using your rom version 1.4

Is it compitable with this kernel?:

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

I mean is it safe to flash this kernel with your rom version 1.4?
[Galaxy S II Android Development] goodwill4u1:
yes,

this is the thread about home button lag fix

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

and i did downloaded smali and baksmali form google code, but don;t know how to open the file (android.policy.jar) to work in the code

if you can help me in that, after i extract android.policy.jar from the rom, how can i Open com\android\internal\policy\impl\PhoneWindowManage r.smali and search for lines 3896 to 3922

thanks madmack

to tell you frankly, i ask you cause you give the most clear and comprehensible answer on how to do things
[Galaxy S II Android Development] madmack:
It should be. I wouldn't recommend this kernel though; it uses the old source code from Samsung. No reason to use it now.

I don't have the steps handy, and frankly its a bit out of the scope for this thread. Perhaps someone else can chime in but I'm a little busy to look for these commands for you.

Your best bet is to ask about it in that thread that you've linked. Someone should be able to help you there.
[Galaxy S II Android Development] Ty_z:
so which kernel with CWM recovery you can recomend about?(that is compitable with your rom in 1.4v)
[Galaxy S II Android Development] madmack:
KE7's kernel patched by ChainFire.
[Galaxy S II Android Development] zedomax:
like stock rom but way faster

This ROM is fassst!!!

[YOUTUBE]THmC-xesR4I[/YOUTUBE]
[Galaxy S II Android Development] madmack:
wow, never knew that someone took their time to review this ROM. Thanks man :)
[Galaxy S II Android Development] amnya:
Stock Arabic JPKI1 is out on samfirmware Madmack :) Should we look forward to a Madmack 1.7? :D
[Galaxy S II Android Development] madmack:
I think I'm skipping this version given the early bad reports about it: mainly that the sensors are broken. I think its a leak and not a KIES certified update.
[Galaxy S II Android Development] ams84:
does this rom support nordic and EU language, Danish etc.??
[Galaxy S II Android Development] brightidea:
I am sure Kies prompted me to update to this version when I plugged my brother's device.

I have checked the file /system/lib/hw/sensors.GT-I9100.so and it seems to be broken. Maybe the one from XXKH3 will work. http://www.multiupload.com/4UIBTVA9LD

- Brightidea.
[Galaxy S II Android Development] madmack:
v1.6 does. Yep.

hey thanks. have you tried to make these sensors work on your brother's device (if he has updated) ? I'm a little lazy to flash this new ROM on my device as I see no advantages so far over my patched KG5. I'm also going to be out of town next week so I'd rather have a working ROM for that period.
[Galaxy S II Android Development] madmack:
In the spirit of bringing you the latest, I present madmack's 2.0 :)

It's based on the latest KI3 European ROM (Android v2.3.5). Full RTL support everywhere as always.

I've just updated my phone from madmack's 1.6 to 2.0 without losing data. To do that:

1. Get into recovery.

2. Wipe Cache.

3. Advance > Wipe dalvik-cache.

4. Flash zip and choose madmack's 2.0

So far so good here. Download link in OP.
[Galaxy S II Android Development] zabihjan:
excellent brother

thank you so much for your hard work

just downloading now
[Galaxy S II Android Development] hussamb:
Good job

Have been on this for 6 hours now. So far great... thanks Madmack!
[Galaxy S II Android Development] ahmedo2:
salam alukoum madmack thank u for ur usual good work but you are not as active as b_4 i hope every thing is ok with u god bless brother
[Galaxy S II Android Development] farzin_silver:
Hi.

Thanx madmack.

some one pls give the rapidshare or hotfile or depositfile link of v2.

multiupload is filtered in my country.

thanx.
[Galaxy S II Android Development] Oweida:
Assalmu Alikum Madmac :)

I know this will be off topic but I wanna ask you a question ?

I've got HTC flyer, can your patch help me to arabize it ?!
[Galaxy S II Android Development] madmack:
wa aleikom alsalam.

i'm just a little busy with work and last week I was out of town so I wasn't able to post or be active around here :) I also don't see any urgent matters or problems with my patcher or rom so I'm taking some time to focus on work. Thanks for asking brother.

Oweida, you really need to post that in the other thread.

hotfile

depositfiles
[Galaxy S II Android Development] 7moooodi:
I have been waiting for this version :)

Downloading, and I'll be back for feedback after using it :)

Thanks for your efforts :)
[Galaxy S II Android Development] lubluchka:
Firefox

Arabic isn't working in Firefox. Any fix for it?
[Galaxy S II Android Development] theone_s_me:
Madmack thnx for 2.0 its a piece of art, wanted to ask, how can i get the correct arabic alingment in this rom to other roms? One more thing, can u add us the advanced power menu as a separate addon???

Thnx again :)
[Galaxy S II Android Development] 7moooodi:
Half a day of using it and everything seems excellent as usuall :)

I just wanted to ask, if I wanted to remove the glowing when scrolling up/down the menus, how can I do that?

Thanks again madmack :)
[Galaxy S II Android Development] paracha3:
How about arabic keyboard? Also can anyone post screenshot.of arabic website or arabic text plz?
[Galaxy S II Android Development] 7moooodi:
You have to download any Arabic keyboard from the market.

I'm using Smart Keyboard Pro based on an earlier recommendation from madmac, and it really a great keyboard :)

Here are two screen shoots based on your request, hopefully they'll be helpful.

Regards.
[Galaxy S II Android Development] mamirix:
wifi problem

I am having wifi problems with this release. the system just keep displaying obtaining IP address forever. tried it with several AP. but same issue.

By the way I had villain 2.4.2 and then flashed this release over it after wiping the cache.

Please help.

Update: in my attempt to get rid of the yellow triangle, I flashed the stock kernel after installation. Seems this what caused the problem. I was able to get it to work by re-flashing cf-root.
[Galaxy S II Android Development] paracha3:
Coming from JPKH1, this ROM is draining battery like crazy. I killed all apps and cleaned RAM. I have the phone on lowest brightness, wifi off, data packet off, GSM only mode, bluetooth off, i mean absolutely nothing just stand by. I check the phone after 20 minutes and it is down 2 to 3%. That is absolute crazy. Anyone seeing the same behavior?

The only thing i applied after this ROM was Advance Power Menu as mentioned

HERE
[Galaxy S II Android Development] 7moooodi:
For me the current status is 45% remaining after 11 hours of use. The WIFI is on all the time and if there is no WIFI around, 3G jumps in place. I guess this means I'll get around 20+ hours for the first cycle after flashing the ROM. For my normal usage this is good and I didn't get anything better with any other ROM except with 1.6 version of this ROM and not out of the first cycle.

Try using it for few days and see if it will give you better performance or not, you can also try an application on the market called "Battery Calibration". I tried it and to be honest I didn't notice a lot of improvement after using it, but some other people did so it might help :)

Regards.
[Galaxy S II Android Development] madmack:
I think its a font problem. Get v1.6 and extract system/fonts/DroidSansArabic.ttf and replace the one in your device with that one using something like Root Explorer then reboot. See if this fixes it?

I'm experimenting with a different font file in v2.0 in the hopes of minimizing the "dancing letters" in programs like WhatsApp so it could be the reason for the misbehavior in Firefox.

Correct alignment? Use my universal patcher :)

I'll look into the APM. Might integrate it as part of the ROM in future builds if it proofs to be a good implementation and doesn't do anything stupid like hold wake locks. lol

It's a samsung thing to avoid getting sued by Apple for these overscrolling effects. I'm not sure whether we can revert. Perhaps some deeper analysis of the framework and changed files can help us revert back but I think we should get used to this as it'll be the way forward for Samsung IMO.

I notice that you're on AT&T. You know, these ROMs that I release here are really Stock Samsung ROMs with RTL added to them. You will most likely have bad battery life in stock KI3 if you're encountering these issues with v2.0.

I'm with AT&T as well and I've noticed a degradation of battery life from v1.6 as well. Not anything that terrible though as I can still make it through the day with over 4h of screen on time.

Usually the biggest drainers are modem files, and given that v2.0 updates your modem to KI3 as well, you might find some luck downgrading your modem to KH3, which from my experience had best battery life with the AT&T towers here in Boston. These modems are regionally optimized, that's why some ROMs exclude modems in their releases. I do update the modem because this ROM is meant to bring you the stock experience with RTL support. So if Sammy decides to bundle modems with their Odin packages, you'll see them bundled here as well.
[Galaxy S II Android Development] theone_s_me:
madmack i used your universal patcher, arabic is ok but alinment is not.. alinment only works on orange arabic official rom and this one 2.0

so what am i missing??
[Galaxy S II Android Development] paracha3:
Thanks 7moooodi & madmack for your replies. First of all, i have moved to Saudi for a project so i am not in states currently (updated CP info).

It turned out the culprit was either in APM or the way i deleted samsung-ware i must have deleted something that caused the OS to start draining battery. i re-flashed the same ROM and left it untouched and all is fine now. Then i deleted samsung ware (Social Hub, Music Hub etc) and it is still all fine. I am not applying APM now. So far so good.

Thanks for the replies.
[Galaxy S II Android Development] kled54:
can it be odexed with arabic language enabled.... just able to read and write arabic not the whole menu translation thing????

also does this rom have gtalk video??
[Galaxy S II Android Development] 7moooodi:
Thanks for the clarification madmack. I thought it was an add-on effect like the old TV effect, etc. Anyway, since it will continue coming in future versions then I guess we have to live with it :)

By the way, did anything changed in the stock browser in this version? I'm asking because I noticed significant increase in the response time! I was avoiding using it, but now it rocks!
[Galaxy S II Android Development] mwazeer1:
Sorry. How to flash this rom? From CWM or Odin. Quick answer pls.
[Galaxy S II Android Development] paracha3:
CWM

The message you have entered is too short. Please lengthen your message to at least 10 characters.
[Galaxy S II Android Development] madmack:
alignment works fine with me. make sure you're applying it correctly? if you use this rom, you'll see the alignment that is produced by my global patcher.

Maybe you could show us an example of bad alignment? In contacts for example, RTL text is aligned to the right of the screen in my phone.

This rom doesn't give you arabic menus. It only enables read/write.

As for Odexed. I'm sure there is a way, but I just don't see the benefits in making it odexed at this point so I'm sticking with this given how easily customizable it is for me (and you guys).

Yea, I noticed improvements in stock browser as well. Pretty darn fast :eek:
[Galaxy S II Android Development] kzakaria:
Did everything as required. Still FC after 10 seconds. The browser consumes one core for it self and I have to use the Task Manager to kill it. I used the recovery console to wipe out everything on the phone. Any ideas?
[Galaxy S II Android Development] kzakaria:
I used this Code *2767*3855# to do factory restore and this time went to alarabiya.net but still the browser hangs after 10 seconds and I have to kill it using the Task Manager:(
[Galaxy S II Android Development] kzakaria:
The browser now crashes even with non Arabic sites, tried engadget full site and again FC
[Galaxy S II Android Development] em4all:
thanks man really nice work ...

just one question how about busybox ? this rom is based on suprervillin which have the same problem by the way no busybox and i know you would say just go to the market ... problem is the market is not working in KSA and after tying alot of apks from Google no good result

just plain failure ... paid apps enabler quite after saying you dont have root >>>

any suggestions ?
[Galaxy S II Android Development] em4all:
i did not get a chance to play with 1.3 by the way 1.2 works great for me ... gonna try the new one soon
[Galaxy S II Android Development] madmack:
get titanium backup, then at the bottom there is a "Problems" button. Press on that and it'll install busybox for you I believe.

I'm narrowing down the cause of browser issues now. I've enabled a couple of samsung webkit optimizations that they decided to just omit in their released code. I'm also experimenting with different compilation flags.. so far I think I've found a pretty good one and I've included it in 1.3.. If you don't zoom in and out like crazy or scroll to the top and bottom like a madman, it should be fine.
[Galaxy S II Android Development] ali_hasiri:
Hi there madmac.

Thanks for the rom. I tried it out. After 3 hours of constant usage, browser did not crash, however gmail crashed 90% of the time.

Anyone else has this issue?
[Galaxy S II Android Development] madmack:
thanks for your feedback.

did gmail crash when displaying arabic text ? or just regularly regardless of displayed text ?
[Galaxy S II Android Development] kzakaria:
Which Arabic sites have you watched? did you try to open alarabiya.net and use it for 10 min.?
[Galaxy S II Android Development] nechmadi:
firmware ke7 is out, can you post a rom based on it?
[Galaxy S II Android Development] kzakaria:
It works 100% with skyfire. Any comments?
[Galaxy S II Android Development] madmack:
I'll do that as soon as I'm done tinkering with libwebcore.so :)

no comment :rolleyes:

webcore is broken. i'll stay restless until its taken care of. i've been improving it lately, but it still doesn't cut it perfectly.
[Galaxy S II Android Development] oozrafa:
Got this one from an Israeli forum (don't forget to unrar it) and tested it with alarabiya.net and no crashes. I hope this helps you all. Please let me know...
[Galaxy S II Android Development] kzakaria:
No crash. Very stable but the letters are not connected!!!!:confused: Help Please!!!! Also reading is from LTR not RTL!!!

Thanks for your help. Thank you
[Galaxy S II Android Development] oozrafa:
Sorry about that :( Madmack wrote me this response too
[Galaxy S II Android Development] ali_hasiri:
Hi madmac, I was displaying english email (title and body) I scrolled down once and the system freezes. note that i didnt get a force close until a couple of mins. Also note that this used to happen in your previous patches along with the browser. but with this 1.3 rom I didnt have problems with kooora.com or engadget, or any heavy website.
[Galaxy S II Android Development] ali_hasiri:
No i went to kooora.com and aljazeera. I did quite a bit of browsing on kooora forum section. No lag nor crash. But with gmail the crash was within the first minute of use.

Did u face any probs with gmail?
[Galaxy S II Android Development] kzakaria:
I went to alarabiya.net
[Galaxy S II Android Development] kzakaria:
Yes
[Galaxy S II Android Development] em4all:
no love for the shiny ke7 till now :) ?
[Galaxy S II Android Development] kled54:
are you considering adding gtalk video????
[Galaxy S II Android Development] madmack:
no plan for that.

i'm sure googling around will yield some great CWM flashable files that you can flash away :)
[Galaxy S II Android Development] paracha3:
+1
[Galaxy S II Android Development] paracha3:
This is such an Excellent ROM only if Firefox Arabic was corrected. I have some arabic websites that don't work with stock browser and they work but look crap on FF.

Wish wish :)
[Galaxy S II Android Development] kled54:
I am using jpkg5 and that one came with buit in gtalk video and arabic support, Is it realy worth it to flash this one????

I need your advice madmack.

thx.
[Galaxy S II Android Development] paracha3:
Is that 2.3.5?

Sent from Galaxy S2 using xda premium app
[Galaxy S II Android Development] kled54:
no it's 2.3.3

but if i forget the numbers is it really worth it?? mmmm :confused:
[Galaxy S II Android Development] paracha3:
I think you mean jpkh1

Sent from Galaxy S2 using xda premium app
[Galaxy S II Android Development] kled54:
no i mean jpkg5

Firmware info

PDA:JPKG5

PHONE: XXKG1

Date: 28/07/2011

Android 2.3.3

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

that one is fully arabic and came with gtalk video..that's why i am hesitant to replace it.
[Galaxy S II Android Development] madmack:
if you fancy a faster browser, and 2.3.5 (whatever that may bring as improvements) then yes. otherwise, no.

you don't always have to get the latest you see. if v1.6 is stable enough, then you should keep it. the point of this rom is to bring you the latest samsung roms with RTL support. Some of these latest roms can actually be worse than their predecessors so ymmv.
[Galaxy S II Android Development] madmack:
for those of you interested in gtalk video. have you tried this?
[Galaxy S II Android Development] kled54:
thx for the clarification..i also want to clarify that i am not using v 1.6 i am using stock jpkg5..

another question plz,do you think it would work if i restored the gtalk video using titanium backup on your rom???
[Galaxy S II Android Development] madmack:
it probably won't.

gtalk video requires a library in /system/lib/ and afaik, titanium backup doesn't backup/restore these guys.
[Galaxy S II Android Development] paracha3:
Hey kled54, Why didn't you try jpkh1 its newer 2.3.3 and was great Arabic and battery? Curious!

Sent from Galaxy S2 using xda premium app
[Galaxy S II Android Development] kled54:
2 reasons mainly

1-jpkh1 does not include gtalk video...

2-to root it i have to use the jpkg5 cf-root ..so i would be having jpkh1 rom using jpkg5 kernel which i didn't like
[Galaxy S II Android Development] Libbard:
hey.. I'm back again.. I ask you before about moving to your rom..

But I have a little problem, my rom I stock with based on XXKH3 and your's is KI3

that well make me wip everything to move to the KI3 then switch to your's

am I right?!

I want every app and system sitting.. etc

and I have a paid titanium that well do it but within the same rom I guess!
[Galaxy S II Android Development] madmack:
you won't lose anything if you do the steps outlined here.
[Galaxy S II Android Development] Libbard:
I meant if I should move to KI3 from KH3.. I do it before with MadMack 1.6 and it's have been error.

but I well give it tray and tell you what happens with me. :)
[Galaxy S II Android Development] paracha3:
How was the battery life? Any other cons with kg5?

Sent from Galaxy S2 using xda premium app