FORUMS
Remove All Ads from XDA

[BUGLIST] AOSP 2.2 ROM Bugs and Fixes | Post questions here

271 posts
Thanks Meter: 62
 
By xeviro, Senior Member on 25th November 2010, 03:32 PM
Post Reply Email Thread
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
Code:
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

Code:
adb shell killall servicemanager
Post Reference

#0002 - android.process.media FC solution
0.0.1 compiled with prefilled databases which invalid for your phone
Code:
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

Code:
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.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Then add value to its content
Code:
sqlite3.exe settings.db
sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');
sqlite> .exit
Then push back the db
Code:
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

Code:
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
Code:
adb shell killall servicemanager
Post Reference

#0006 - Fixing SU access for Titanium Backup
Run this command
Code:
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
Code:
mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd
and change into this
Code:
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

Code:
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
The Following 2 Users Say Thank You to xeviro For This Useful Post: [ View ] Gift xeviro Ad-Free
 
 
25th November 2010, 03:33 PM |#2  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
2.2 Custom ROM FAQ

How and what happened if upgrade from 0.0.1 to 0.0.2?
Just copy data.img and system.img replacing your current one in FreeX10 folder.
This will replace all your 0.0.1 data, be sure to back up first with Titanium Backup

WiFi is running and connected, but cannot browser
This problem seems to be occurring on selected few.. You can set static IP to your android.
Go to Settings -> Wireless ... -> WiFi, then press menu button. From there you can se static IP

Is there a possibility of Timescape and Mediascape for 2.2 Custom ROM
The answer is yes, its possible.

I managed to install Mediascape.apk into 2.2 Custom ROM, but cannot run.

The reason it cannot run is because UX is using a lot of things in Framework-res.apk, images, layout, styles, and etc which cannot be copied directly from SE 2.1 into 2.2 AOSP. It requires someone to properly put all values, resolving conflicts inside Framework-res.apk before the UX can run, which will take months or at least weeks if someone dedicated his or her day job for it. Then after that we still need to deal with external files. So in conclusion, while it still possible, i don't think anyone will do it because of the time demanding process.

I want to help devs solving bugs, i found one but i don't know what actually happend.
While usb connected, from command prompt, type
Code:
adb logcat > logcat.txt
This will output a lot of debugging info into logcat.txt file, later if you find bug, you take a look inside the file.
See anything error or info related to the bug, and post here.. When writing the logcat.txt output, but them inside [CODE] brackets.

Do not post everything.. post few lines related to the bugs.
25th November 2010, 03:36 PM |#3  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
2.2 Custom ROM Testing Tools

Service Menu
WARNING: DO NOT INSTALL THIS UNLESS YOU DO DEVS, END USER DO NOT INSTALL
PURPOSE: MAYBE FOR TESTING DEVICE FEATURE, MIGHT BREAK SYSTEM APPS

Enable SE Service Menu for device testing. For devs only. You need to put adb stuff in the directory for install.bat to run.

Install framework
Code:
adb push permissions /system/etc/permissions
adb push lib /system/framework
adb reboot
Install applications
Code:
adb install app\bootinfo3.apk
adb install app\ServiceMenu2.apk
adb install app\com.laac.launcher.servicemenu.apk
Attached Files
File Type: zip servicemenu.zip - [Click for QR Code] (576.8 KB, 118 views)
25th November 2010, 03:38 PM |#4  
Nimche's Avatar
Senior Member
Flag San Diego, CA
Thanks Meter: 299
 
Donate to Me
More
Nice work. THis is handy
25th November 2010, 04:32 PM |#5  
superleeds27's Avatar
Senior Member
Flag Hull
Thanks Meter: 694
 
More
As i posted in the Main thread!

I think some of the force closes, (mainly acore and google framework) and the fact that the market crashes, come down to importing a vcard!

I imported vcard, get many force closes, market stops working, I clean install and don't install the vcard. Everything functions fine.

I do believe this is the reason!
25th November 2010, 04:34 PM |#6  
Senior Member
Thanks Meter: 101
 
More
Greeet ~~!! but can u tell me the seloution of this proplem :

i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !


thnx
25th November 2010, 04:35 PM |#7  
superleeds27's Avatar
Senior Member
Flag Hull
Thanks Meter: 694
 
More
Quote:
Originally Posted by Ahmed radi

Greeet ~~!! but can u tell me the seloution of this proplem :

i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !


thnx

Please read the main post!
25th November 2010, 04:46 PM |#8  
Senior Member
Thanks Meter: 101
 
More
sorry but no one answer me there
25th November 2010, 04:56 PM |#9  
hagisbasheruk's Avatar
Senior Member
Flag Clydebank
Thanks Meter: 16
 
More
Thumbs up Thanks
Thanks for this ,hopefully a post like this is made for the 1st post on 2.1
http://forum.xda-developers.com/show...82&postcount=1
25th November 2010, 05:20 PM |#10  
Junior Member
Thanks Meter: 2
 
More
awesome thread, very helpful. Hopefully more people will read this rather than constantly posting the same bugs in the main thread.
25th November 2010, 08:51 PM |#11  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by Ahmed radi

sorry but no one answer me there

hey ahmed

grb el solution da



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


Code:
adb shell killall servicemanager



i think en da el 7l


bye
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes