Help| FC when pushing framework SG2 after sidebar change


nirh216

Members
Mar 31, 2011
48
20
Hi,
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 :

Code:
<array name="config_virtualKeyUpPattern" />
    <string-array name="alphabet_table">
        <item>\#</item>
        <item>א</item>
        <item>ב</item>
        <item>ג</item>
        <item>ד</item>
        <item>ה</item>
        <item>ו</item>
        <item>ז</item>
        <item>ח</item>
        <item>ט</item>
        <item>י</item>
        <item>כ</item>
        <item>ל</item>
        <item>מ</item>
        <item>נ</item>
        <item>ס</item>
        <item>ע</item>
        <item>פ</item>
        <item>צ</item>
        <item>ק</item>
        <item>ר</item>
        <item>ש</item>
        <item>ת</item>
        <item></item>
        <item></item>
        <item></item>
        <item></item>
    </string-array>

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

Code:
    <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:
http://www.mediafire.com/?h77ex6ay50ayds7


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

Please help me out... :)

Thanks,
Nir.

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

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

Correct?
 
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..?

Thanks!
 
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..:)