[Galaxy 3 Android Development] Ano59:
Hey devs. ;)

I plan to list corrupt things on OTA server, haven't done it yet.

I only remember there's some corruption problem with the orange andoid bootanimation. This animation exists in blue without any corruption. I don't remember its name.

I'm posting to report a problem in theme(s ?) (at least in CrysisSensation theme).

I love the Honeycomb theme from Indroid 4, so I'm porting it (again :D ) to Indroid 6 (replacing framework-res.apk didn't work, the device won't finish its boot).

I almost finished this port, but I'd like to report that

stat_sys_battery_charge.xml (decompiled) lists only 21 animations for battery charge.

<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim3" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim6" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim7" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim8" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim9" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim10" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim11" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim12" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim13" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim14" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim15" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim16" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim17" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim18" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim19" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim20" />

(yes, I'm decompiling framework-res.apk - to improve it)

THIS IS CORRECT. We don't have to get a charging animation that lasts forever. 100 pictures would be too much.

However, there are 101 pictures for battery charge. From stat_sys_battery_charge_anim0.png to stat_sys_battery_charge_anim100.png.

We only need from stat_sys_battery_charge_anim0.png to stat_sys_battery_charge_anim20.png.

Deleting pictures from stat_sys_battery_charge_anim21.png to stat_sys_battery_charge_anim100.png won't solve the problem, because stat_sys_battery_charge_anim20.png (the last picture actually used) doesn't match with a full battery. That's why there are some odd things with battery indicator with (at least) CrysisSensation.

Example with the Honeycomb theme (isn't available in OTA app, I'm porting it) :

When your battery is full and when your phone is plugged, you see those alternate pictures :

(20% load) / (there is a white "F")

Instead of (it should be) :

(100% load) / (there is a white "F")

Here is the (minor) problem. You might see other odd things when charging your phone.

Real solution : keep stat_sys_battery_charge_anim0.png. Replace stat_sys_battery_charge_anim1.png by stat_sys_battery_charge_anim5.png. stat_sys_battery_charge_anim2.png by stat_sys_battery_charge_anim10.png. Continue until you replaced stat_sys_battery_charge_anim20.png by stat_sys_battery_charge_anim100.png.

This was a tip for your themes. ;)

I'm sorry, but I'm really too lazy to fix every theme this way. And I've some other work in my life. ;( I fixed it in the Honeycomb theme I'm porting. I should release this theme soon on this topic. It is for Indroid users of course, and Indroid devs will be able to add it on OTA server if they want to.

Oh, and BTW, by deleting useless files, you will save 600+ kB (uncompressed) in /system (by deleting files in /res/drawable-ldpi and in /res/drawable/mdpi).