[Huawei Ideos X5 U8800] spirosbond:
AURORA ICS- "wake with volume keys" + mods/addons + Connect to ad-hoc hotspots guide

How to Change Battery in ICS ROM - thanks to fergie716 and his guide here

After you got apktool all set up with ICS resources installed get the SystemUI.apk from your ICS ROM, decompile it.

Make sure you have installed framework-res.apk in apktool prior to decompiling ICS apks

Navigate to your decompiled SystemUI folder, go to /res/drawable-hdpi/

This is where the battery png's are in ICS. Copy/paste your battery png's. To make it more easy, make sure your png's follow the pattern (stat_sys_battery_1.png, etc)

If you plan on changing the png's for charging animation make sure you have the correct png's named stat_sys_battery_charge_anim0.png etc

(optional) Delete leftover battery png's, if any, from stock ICS

Once all your png's are in place, you need to modify the corresponding xml's

Those are found in SystemUI/res/drawable/stat_sys_battery.xml and stat_sys_battery_charge.xml

The first is responisble for the look of the battery while discharging and the second while charging. The form of them is like: When battery=20% show stat_sys_battery_20.png (random example). if you have percentage icons with all the values (0-100) you need to have a stat_sys_battery.xml like the attached named "stat_sys_battery_allpercentage.xml.zip".

For the charging images you can keep the stock stat_sys_battery_charge.xml or you can create a new based on the stock in order to show all percentages (if icons are provided). Attached you will find a charging animation .xml named "stat_sys_battery_charge_allpercentage_anim.xml.zip" which needs charging icons for all percentages in order to work properly.

If you have made mistakes at one of the .xml files the build will probalby fail or you will lose the battery icon. Your phone will work ok though and a flash of the stock SystemUI.apk will fix everything. You can decompile and use .xml files from other SystemUI.apk as long as the filenames match.

Now that you have your png's and xml's in place, go back and recompile.

How to Enable Lockscreen Rotation (ICS) - thanks to fergie716 and his guide here

-decompile framework-res.apk using apktool

-navigate to decompiled folder, go to /res/values/bools.xml

-change "config_enableLockScreenRotation" to "true"

-recompile framework-res.apk

HOW TO CENTER CLOCK - thanks to fergie716 and his guide here

-decompile your SystemUI.apk

-navigate to your decompiled folder and go to res>layout>status_bar.xml

-look for this line:

-press "enter" to create an empty line

-place your cursor at the beginning of that empty line and paste this line of code:

-make sure everything lines up (see the attached xml below)

-lastly, find this line:

name="notification_header_bg">

#00000000 would be fully transparent, #ff000000 is fully opaque.

[SIZE="5"][B]Lockscreen animation - thanks to fjsferreira for the guide[/B][/SIZE]

decompile framework-res.apk
go to res/values/bool.xml
change line

[CODE]true

to

false

Disable Unlock-with-menu-key - implemented by dzo on 2.05 and later

You may have noticed that if you are at lockscreen and press the menu key the phone unlocks. If you want to disable this do the following:

decompile framework-res.apk

go to res/values/bool.xml

change line

false

to

true

Enable ICS screen buttons

decompile framework-res.apk

go to res/values/bool.xml

change line

false

to

true

SystemUI.apk - bools.xml

After decompiling the SystemUI.apk you will find the bools.xml file inside res/values/ and it's stock form is this (I added descriptions, true:eek:N, false:eek:FF):

[COLOR="YellowGreen"][/COLOR]
false

[COLOR="YellowGreen"] [/COLOR]
false

[COLOR="YellowGreen"][/COLOR]
false

[COLOR="YellowGreen"][/COLOR]
false

[COLOR="YellowGreen"][/COLOR]
false

[COLOR="YellowGreen"][/COLOR]
false

Change them in your desire and report if you find something.

ENABLE VOLUME WAKE:

1) decompile android.policy.jar

I use apktool 1.4.3 for linux.

with the command:

apktool d [dir-of-the-.jar]

2) go to the apktool folder where the decompiled version is.

3) find the KeyguardViewMediator.smali source

4) change this:

...

.method private isWakeKeyWhenKeyguardShowing(IZ)Z

....

:sswitch_data_8

.sparse-switch

#0x18 remove

#0x19 remove

0x1b -> :sswitch_5

....

5) save and compile again with the command:

apktool b -f [dir-of-the-decompiled]

- ...more to come

Cheers