Help| FC when pushing framework SG2 after sidebar change


Mar 31, 2011
I'm trying to set the alphabet side index in contacts to hebrew chars.
I'm changing the following files:

First: in framework-miui-res.apk:
values-en-rUS -> arrays.xml :

<array name="config_virtualKeyUpPattern" />
    <string-array name="alphabet_table">

Second: framework-res.apk (Only two lines!) :
values-en-rUS -> Strings.xml :

    <string name="fast_scroll_alphabet">" אבגדהוזחטיכלמנסעפצקרשת"</string>
    <string name="fast_scroll_numeric_alphabet">" 0123456789אבגדהוזחטיכלמנסעפצקרשת"</string>

The steps I take:
1. Decompile (apktool d framework-XXXX.apk)
2. Making the above changes.
3. Recompile (apktool b framework-XXXX)
4. put "res" folder & resources.arsc from "framework-XXX -> build -> apk" into original framework-XXX.apk
5. Sign apk's.
6. pushing to phone (adb push framwork-XXX.apk /system/framework)
7. All crashing and Settings App is crshing too...

** The only build warnings are: "there is no default translation for bla bla bla...".
*** At the end of build I get Building apk... All OK.

**** I attached the sign tool I use and the apktool I use:

What the hell am I doing wrong?!....

Please help me out... :)


The only thing
WOW! thanks for the very quick reply!
where is this file path?...
Where should I put this fix?

and I assume that this is the change for the framework-res.apk
version: 1.4.3
apkFileName: framework-res.apk
isFrameworkApk: true
- 2
- 3
- 4
- 5
- 6

framework-res.apk dont need that fix.. just framework-miui-res.apk... and yes its that...
FYI: i'm making the changes in the values-en-rUS folder...
I still do want English UI but with custom side letter index..:)
it's all mixed up and there is like 2000 enteries.. too big to pasebin or here..:/

What do I need to follow with the like you gave me for the repo?... It's hard to tell from that repo what do I need to change so the damn sidebar will work properly..:)

isn't a simpler solution? Do I need to wipe cach / dalvik after pushing framework?

can you upload you apktool + signing tool..?

well I need to go to sleep... please upload your apktool + signing tool for me..
I can see that you are MIUI Multilang builder..
How do you change the alphabet bar for each lang? (and for those langs like hebrew whice have fewer letters than english)?
tell me your steps please.. maybe I'm doing something wrong here...
I will try to continue with this tommorow...
Thanks again for the help and good night for now..:)