FORUMS
Remove All Ads from XDA

X10 2.2 Custom ROM Newbie FAQ. Read first post before asking!

271 posts
Thanks Meter: 62
 
By xeviro, Senior Member on 28th November 2010, 10:59 AM
Post Reply Email Thread
I will try to make a newbie FAQ thread regarding 2.2 here..
I ask you to wait until i reserved 5 posts first before before posting replies.

I will try to make a copy paste and run solution for you.
But keep in mind that 2.2 is not stable, so some solution will works, but might erase your 2.2 data.

I will try my best to spend my time to answer here.
If you find my answer is helping you, you may donate any small mount for my time spent on answering so i can buy beer to spend more time answering here while drinking
https://www.paypal.com/cgi-bin/websc...=ET68JQDGW3A86

Table of Content
X10 Custom ROM 2.2 AOSP Bug List and Fixes
Tools Usage FAQ Section
FAQ Section
More FAQ Section
Batch file for quick fix

Configuring Command Prompt

First we need to enable your quick copy paste in command prompt.
Open command prompt by invoking WIN + R, type cmd.exe.. then press enter. Then follow the guide in pictures below.

Click image for larger version

Name:	cmd-01.jpg
Views:	209
Size:	18.6 KB
ID:	451386Click image for larger version

Name:	cmd-02.jpg
Views:	264
Size:	22.0 KB
ID:	451380

With this you can copy codes from forum, and paste to command prompt by using right click.

ADB Tools

Download the tools.zip
Then extract into a directory named TOOLS. So we had a common root directory for solving all solution. To open the command prompt to the tools directory, simply double click cmd.bat in the TOOLS folder. If you see a new commands attachment below, just download and replace the files. I will keep adding shortcut for you to use.

Download the commands.zip and extract into TOOLS directory. The zip file contains bat files that can be use as shortcut to invoking adb commands.

Android Debug Bridge commands

Editting files
Text files in Android is in Unix format, you need an editor which capable of editing Unix format to have it modified properly.
You can try to look for UltraEdit for it. There still a lot of UNIX format capable editor out there if you don't like UltraEdit.

Submitting Questions

In order to properly analyze your problem, you must include a logcat log which usually contains the error. To get a logcat log, run logcat.bat or run this code in cmd window

Code:
adb logcat > logcat.txt
You don't need to send the whole logcat.txt content, open the file.. see anything related to your error, paste into another text file and send. Then the problem can be analyzed and solution may or may not be produced.

Then when you submit a log file copy paste, do in [CODE] block so.

Things you need to know in 2.2 Custom ROM

SD card cannot be mounted as USB to your PC
2.2 Custom ROM have its data partition inside your FreeX10 folder in SD card. Because of this, you cannot dismount SD card and mount to your PC because 2.2 Custom ROM requires the data partition to be always mounted.

Quote:
Originally Posted by 279Paddy

it is not possible, because 2.2 is running from the sdcard...you can't pull a chair if there is someone sitting on it, if you still do, the person actually sitting on it will fall and crash - just like your 2.2 did ;D

Battery is hot, and low battery life
2.2 Custom ROM was compiled with CPU governor set to Performance, meaning that your X10 run on 1Ghz constantly, even during idle. Download and install SetCPU to fix this.

Dual boot, and you can't go back to 2.1
Instead of press and hold any button, you should keep on clicking any button you like. Click it all the way until you see SE 2.1 boot, or 2.2 Custom ROM boot if you changed your boot priority. Any key will work, but i haven't tried camera, and power button for it.

Things you don't need to ask in 2.2 Custom ROM
  • Its laggy and slow everywhere
  • Laggy flash videos
  • "Chipmunk" sound during call
  • Music, Video and Camera problem
  • Random reboot here and there

2.2 Custom ROM is not alpha yet, do not need to ask this question again and again. As the development goes, things will get improved. The devs know this happens.

Things what might not be implemented in 2.2 Custom ROM
  • Translations to another language
Attached Files
File Type: zip commands v2.zip - [Click for QR Code] (359 Bytes, 65 views)
The Following User Says Thank You to xeviro For This Useful Post: [ View ] Gift xeviro Ad-Free
 
 
28th November 2010, 11:00 AM |#2  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
Tools Usage FAQ Section

How to invokes ADB command on post
Android Debug Bridge commands

Sometime people post their adb command which can be run in command prompt, or some need you to write into adb shell.

For commands like
  • adb push ContactsProvider.apk /system/app/ContactsProvider.apk
  • adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
  • adb install -l com.rovio.angrybirds.apk

This code must be run in command prompt like below
Code:
C:\Tools>adb push ContactsProvider.apk /system/app/ContactsProvider.apk
C:\Tools>adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
C:\Tools>adb install -l com.rovio.angrybirds.apk
And this are the wrong way of doing it, because push, pull, install and so on are not shell command.
Code:
C:\TOOLS\>adb shell
# adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb: not found
For command like
  • adb shell pm setInstallLocation 1
  • adb shell killall servicemanager
  • adb shell /system/bin/wlan_tool

This code can be run view command prompt like this, because the shell command can be used like this "adb shell [shell command]"
Code:
C:\Tools>adb shell pm setInstallLocation 1
C:\Tools>adb shell killall servicemanager
C:\Tools>adb shell /system/bin/wlan_tool
or by invoking adb shell first, then entering the commands with prefixed by "adb shell"

Code:
C:\TOOLS\>adb shell
# pm setInstallLocation 1
# killall servicemanager
# /system/bin/wlan_tool
28th November 2010, 11:00 AM |#3  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
FAQ Section

INSTALL_FAILED_ALREADY_EXISTS during 2.2 /data/install execution
Code:
2544 KB/s (937926 bytes in 0.360s)
        pkg: /data/local/tmp/z4root.1.1.0.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
This is because you already have z4root installed. This will not affect the execution.

WiFi Browsing Issue
Assuming you're WiFi is working, you already connected, but you cannot browse or open market. This is because the DNS is filled properly, probably caused by buggy DHCP. You can set DNS manually along with static IP from WiFi Setting. Open menu by clicking menu button. Select Advanced. Then enter your static IP there.

To know what static IP you need to insert there. Open cmd, type ipconfig /all, then you look for your computer wifi configuration, fill in everything exactly the same as your computer configuration except the IP address.. Usually change the fourth number to anything random within 2-255 will do the trick.

Below are example of ipconfig /all ountput
Code:
Wireless LAN adapter Безжична мрежова връзка 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12

DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android

IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1

Why the output show 101, but you need to use 201 in ip address? In case you have multiple computer and gadget connected to your WiFi, usually they are assigned in sequential numbering, so no one would use 201. If some one use that already, you will get ip conflict, just change the value to any other number.

What does it means? ADB server is out of date. killing....
That mean is the adb server running in your computer had it state invalidated. It will restart the ADB server automatically. You don't need to download SDK all over again to "update" your ADB.

killall servicemanager doesn't fix radio problem
Do it couple time, usually do the trick. I found that the radio is not connecting really fast in 2.2. After reboot, sometimes it takes like 1-2 minutes before the phone connects to network.
28th November 2010, 11:01 AM |#4  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
FAQ Section

Force close related to android.process.acore
Since there no logcat from the Custom ROM thread, but i can make assumption that your databases might be corrupted and removing the data usually will do the trick.

Open "adb shell", then paste this code
Code:
rm -r /data/data
mkdir /data/data
But if you do this, the Home button and Lock screen will be gone. You need to apply fix for that. Read them on this thread X10 Custom ROM 2.2 AOSP Bug List and Fixes

Force close related to android.process.media
You need to apply fix for that. Read them on this thread X10 Custom ROM 2.2 AOSP Bug List and Fixes

Reboot in 2.2 it says SEMCCheckin or alike errors
This is because you are using TitaniumBackup to restore your data, which brings some SE 2.1 apps and system apps that does not work on 2.2 Custom ROM
28th November 2010, 11:01 AM |#5  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
Quick Fixes

Batch file for fixes
Download the attachment below and extract into the same folder as the tools files you find in the first post.

You can apply fixes from my X10 Custom ROM 2.2 AOSP Bug List and Fixes by executing the batch files.

To install app like Angry Bird, you drag the AngryBird apk into "fix - drag drop to install apk.bat"

Some of the batch file will ask you to restart android, you can cancel by pressing CTRL+C
Attached Files
File Type: zip bugfix.zip - [Click for QR Code] (155.3 KB, 51 views)
28th November 2010, 04:01 PM |#6  
Senior Member
Flag Plovdiv
Thanks Meter: 20
 
More
I did not understand only the thing with the WiFi.
When i type ipconfig /all im receiving a shitload of info, and i dont know which one is correct, also i tryed to add some info to dns,netmask, ip address, now i cant delete it, im receiving a message "please type a valid IP Address"

Code:
C:\Users\Тенчо>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Компютър
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Безжична мрежова връзка 4:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
   Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
   Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 620765813
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12

   DNS Servers . . . . . . . . . . . : 195.24.89.12
                                       195.24.90.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Локална връзка:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
   Physical Address. . . . . . . . . : 00-1B-B9-E7-68-12
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{32337673-F851-42CC-8A25-828E8F7B963A}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:3833:ac0e:a248:404b(Pref
erred)
   Link-local IPv6 Address . . . . . : fe80::3833:ac0e:a248:404b%12(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\Тенчо>
Have anyone idea how to fix my WiFi Connection ?
28th November 2010, 05:08 PM |#7  
OP Senior Member
Flag Singapore
Thanks Meter: 62
 
Donate to Me
More
Code:
Wireless LAN adapter Безжична мрежова връзка 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12

DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android

IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1
28th November 2010, 08:13 PM |#8  
Senior Member
Flag Plovdiv
Thanks Meter: 20
 
More
Quote:
Originally Posted by xeviro

Code:
Wireless LAN adapter Безжична мрежова връзка 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12

DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android

IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1

God thanks! I love my 2.2.1 alpha!
28th November 2010, 10:22 PM |#9  
Maximus223's Avatar
Senior Member
Flag Belfast
Thanks Meter: 11
 
More
Something went wrong for me please help
Hi guys
i have installed the custom rom starting with the 001 version......ok?
everythink worked fine and adb said : reboot device.............ok
whend i rebooted i only got some 2.1 rom not the one that starts with the freex10 logo.
can anybody tell me what could be wrong?
i have checked all the threads about that here on xda, the freex10 folder is on my sd card, all the files are supossed to be there ar there........
what went wrong?
28th November 2010, 10:36 PM |#10  
Crowds's Avatar
Senior Member
Flag Azeitão
Thanks Meter: 2,225
 
Donate to Me
More
Quote:
Originally Posted by Maximus223

Hi guys
i have installed the custom rom starting with the 001 version......ok?
everythink worked fine and adb said : reboot device.............ok
whend i rebooted i only got some 2.1 rom not the one that starts with the freex10 logo.
can anybody tell me what could be wrong?
i have checked all the threads about that here on xda, the freex10 folder is on my sd card, all the files are supossed to be there ar there........
what went wrong?

for what you`ve told you`ve donne nothing wrong except the fact you must have donne somethings wrong
No more seriously. For what you`ve described this should be working. the only thing i can told you is try again from the start `couse you`ll never know...maybe some step you`ve miss
29th November 2010, 05:31 AM |#11  
Senior Member
Flag Austin
Thanks Meter: 11
 
More
Noob question incoming.

I'm trying to install Angry Birds and Pocket Legends, but those two applications (and only those two; Asphalt 5 (paid version, even) for example, works) download properly, but after 'Installing...' shows up in the status bar for a few seconds, it pops up a box that says 'Installation Error, Unknown reason -18'.

Anyone else ever seen this?

EDIT: Turns out people with the Droid 2/ HTC G2 have had this problem on their regular old Froyo ROMs, and one way to get around the problem is to unmount the SD card, install your application and then mount your SD card. Obviously that is not an option with the FreeX10 Android 2.2.1 0.0.2 build because it runs off the SD card...
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