[XPERIA X10 Android Development] xeviro:
If you ...

find a bug or problem on 2.2, post here

find a solution on how to fix the bug, post here

want to get help on how to fix the bug, post here

anything else, goes here

This thread are meant for bug/problem solution and reported bug list of 2.2 custom ROM which i will try to manage, so people are not posting same bug, and asking for same solution all over again in X10 Custom ROM AOSP thread.

Limitation

Cannot Mount via USB

2.2 Custom ROM put the SYSTEM partition on your phone memory and the DATA partition in your SD card. That is why you cannot dismount the SD card from Android to mount to your PC.

No App2SD

2.2 Custom ROM is still running on 2.1 Custom Kernel which not supporting this.

Bug list

#0001 - WiFi not working - Fixed on 2.2

#0002 - Random android.process.media force close - Fixed on 2.2

#0003 - Home button not working, and no Lock Screen - Fixed on 2.2

#0004 - Cannot install certain APK (Angry Bird)

#0005 - No radio, no network and flashing Home - New on 0.0.2

#0006 - ADB shell have SU access, but Titanium Backup cannot work - New on 0.0.2

#0007 - SD Card non-ascii folder show as ???

#0008 - Facebook Contact Sync not available

#0009 - CPU Governor set to performance by default

Solutions for bugs

#0001 - How to enable WiFi on 2.2 Custom ROM

1. Try to enable WiFi, of course it will not work.. just do it.

2. WiFi will goes off automatically

3. Run

adb shell /system/bin/wlan_tool

4. If the adb stucks, just press CTRL+C

5. Repeat step 4 until you crash the phone

6. After reboot, your WiFi will work.

or

adb shell killall servicemanager

Post Reference

#0002 - android.process.media FC solution

0.0.1 compiled with prefilled databases which invalid for your phone

adb shell
cd /data/data/com.android.providers.media/databases
rm *
reboot

or this will ensure no invalid data anymore but will remove fixes for bug #0003

adb shell
cd /data/
rm -r data
mkdir data
reboot

Post Reference

#0003 - Fix Home Button & Lock Screen

Download sqlite here

First pull the db file first.

adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db

Then add value to its content

sqlite3.exe settings.db
sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');
sqlite> .exit

Then push back the db

adb push settings.db /data/data/com.android.providers.settings/databases/settings.db

Then reboot.

Post Reference

#0004 - Solving installing APK problems

Currently the 2.2 Custom ROM does not support app2sd, and some APK may configure it self to be installed in sdcard.

So we force it to install on internal with code below

adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk

Post Reference

#0005 - Fixing radio, wifi and home screen flashing problem

Run this command

adb shell killall servicemanager

Post Reference

#0006 - Fixing SU access for Titanium Backup

Run this command

adb shell chmod 4755 /system/bin/su

Post Reference

#0007 - Fixing SD card mount command to show unicode letters

Modify your chargemon file so its enables utf8 for non ascii letter.

You need to do this on 2.1 ROM, not 2.2 ROM. The file is located in /system/bin

look for this

mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd

and change into this

mount -t vfat -o rw,noatime,nodiratime,utf8 /dev/block/mmcblk0p1 /sd

Notes:

You must use a Unix/Linux format capable text editor for this. Notepad will not work.

You can try ultraedit for it.

Post Reference

#0008 - Fix Facebook Sync

Download the ContactsProvider.apk here, then install to your Android using push command

adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb reboot

Post Reference

#0009 - Using SetCPU

By default is Performance, fast but wasting too much battery.

Use SetCPU and set to OnDemand.

Post Reference