엑스페리아 X1에 안드로이드 올리기 원문

Posted by 빵빵빵
2010/05/24 15:28 전산(컴퓨터)/안드로이드




HOWTO run ANDROID on X1

This thread puts all the necessary steps together for sucessfully run the Android-release from THIS thread on the X1. Since many seem to have problems with that this may become handy

So lets get started!

What you need:
- latest XPEROID-release, fatsal-xperoid-20100221.7z, get it here
- 7zip to extract it, get it here
- sd-card, using fat32-filesystem with 500MB free space

What you need to do with it:
1. Extract fatsal-xperoid-20100221.7z on your computer. This will give you the following files:
- calibration, wlan-firmware
- haret.exe, runs the linux-kernel and android
- initrd.gz, initial ramdisk, needed for linux to boot (phase one)
- modules-2.6.27-00888-g339bdfc-dirty.tar.gz, linux- and android-driver for wlan
- rootfs.img, contains files needed for linux to continue boot (phase two)
- STARTUP.TXT, contains the parameter for haret.exe and boot-options for linux-kernel
- system.sqsh, contains all android system files
- zImage, contains the linux-kernel
- conf/*.user.conf, configuration files for android
- AndroidApps/*.apk, applications for android, installed during boot

2. Delete all the *.apk-files from the AndroidApps-directory. They are not needed for running android. You should keep the directory, just delete all files in it.

3. Download some essential android apps here, you will get essential_apps.zip. Extract it and put the apk-files into the AndroidApps/ folder.

4. go to conf/ and delete eclair.user.conf, then rename eclair.user.conf~ to eclair.user.conf. That will disable the swapfile.

5. open startup.txt and remove the mem-option mem=102M. This was suggested by hotlein here. That will increase the memory from 102m to 182M and improve android speed alot.

6. Copy all files and directories to the root of your sd-card. Do not create any directory, just copy them to the blank sd-card.

7. Put the sd-card in your phone if not already done. On the X1 open the sd-card and run haret.exe. You will get alot text running across the screen. During the boot-process, one file is created.
- data.img (256M). This file contains all the files normaly stored on the android-phone. Your settings, Applications, media, etc. You can always delete this file to reset android. It will be recreated.

First boot takes a while to complete, so be patient. Finally you should get the android welcome screen. Follow the on-screen-instructions and you are done!

Changing some settings
- IMPORTANT: Disable GPS in settings -> location & security -> Use GPS satellites, because it will hang the device!
- Turn off locks screen when holding red call button. Spare parts -> End button behaviour -> Nothing. That will simplify the shutdown procedure. Credits go to Reversedhex: Post

Now let's stop android
1. Press and hold the end-call-key. The phone starts to vibrate like crazy, ignore that.
2. After a few seconds a menu pops up. Dont release the button yet, keep holding it! If you changed end button behaviour, you can release it now.
3. Press down on the digi-pad. You may press it three times to go to the shutdown-option.
4. Now you can release the end-call-key. If you do not hold it, you will end up in the android lock screen.
5. Select shutdown option and confirm. Then android shuts down.

If you try another kernel-image (that is replacing zImage), the system may lock up during shutdown. Then you have to soft-reset your phone. But you should always try to shut android down.


Now you can update the linux-kernel:
1. Download the kernel-image, get the latest here. That gives you zImage_kovsky_20100325.zip.
2. Extract zImage_kovsky_20100325.zip to get zImage. This is the linux kernel.
3. Copy zImage to the root of your sd-card. You should always back up your existing zImage so you can go back.
4. Download wlan-modules, as they must match the kernel-image, get them from here. That gives you wlan-modules_20100325.zip.
5. Extract wlan-modules_20100325.zip to get modules-2.6.27-01006-ga30aafa-dirty.tar.gz. This archive contains the wlan modules. Do not extract this. Simply put this on the root of your sd-card. On android startup this file will be extracted on the modules copied for you.

As suggestet by angusmcb (post), i used for the latest kernel the latest cross-compiler.

Updateted kernel with working speaker sound is available here. The archive also contains matching wlan-modules.


Troubleshooting
Q. Android will not boot
A1. check if all needed files are present
A2. check if you have enough free space on card. Android creates two big files during first boot, so you will need at least 384M free space.
A3. you can try to delete data.img and swapfile to reset android. This helps if you messed up settings in android.

Q. Wlan wont start
A1. check if file calibration on sd-card-root
A2. check if file modules-*.tar.gz matches kernel-image
A3. you may try to enable wlan in windows mobile before running haret.exe

Q. How to stop android from using data connection
A. go to settings -> wireless & networks -> mobile networks -> access point names and delete all apn-settings

Q. Android-screen is upside-down
A. Slide out keyboard -> android switches to landscape. Then slide keyboard in -> android switches to correct portrait.

Q. I have no ringtones
A1. Put the ringtones in the MEDIA\AUDIO\ringtones folder (post, post for folder structure)
A2. Take a look at this post. Some characters make the android media scanner crash.

Q. I can not enter pipe-symbol. Where to find keymaping
A1. Press function key, followed by shift key, followed by commer key (right hand side of space bar) (linuxtux post)
A2. For keymapping in general take a look here. That is the default android keymapping.

Q. I want live wallpapers
A. Here you go. But be prepared for performance loss.

Q. I can not send SMS
A. Check this post by jimipoh. It might help.

Done for today
Attached Files
File Type: zipzImage_kovsky_20100314.zip (1.42 MB, 576 views)
File Type: zipessential_apps.zip (1.67 MB, 2572 views)
File Type: zipzImage_kovsky_20100325.zip (1.43 MB, 1395 views)
File Type: zipwlan-modules_20100325.zip (427.4 KB, 1022 views)
2010/05/24 15:28 2010/05/24 15:28

윈도우에서 라우터 목적지 분리하기

Posted by 빵빵빵
2010/05/17 11:24 전산(컴퓨터)/PC-Windows



@echo off

rem 기본 라우팅 리셋
route delete 0.0.0.0

rem 기본 라우팅 셋팅 - 맨 끝에 있는 0x2는 route print에서 나온 interface list의 무선랜카드의 id임. ( 인터넷 사용할 것을 입력 )
route add 0.0.0.0 mask 0.0.0.0 192.168.123.254 metric 25 if 0x2

rem 특정 ip 셋팅
route -p add 10.141.5.117 mask 255.255.255.255 10.141.11.1
route -p add 10.141.5.118 mask 255.255.255.255 10.141.11.1
route -p add 10.141.5.4 mask 255.255.255.255 10.141.11.1
route -p add 10.141.5.7 mask 255.255.255.255 10.141.11.1
route -p add 10.141.5.10 mask 255.255.255.255 10.141.11.1
route -p add 10.141.5.30 mask 255.255.255.255 10.141.11.1
route -p add 10.141.11.32 mask 255.255.255.255 10.141.11.1
route -p add 10.141.11.43 mask 255.255.255.255 10.141.11.1


특정 아이피는 어떤 랜카드를 써서 접속할껀지 설정하는겁니다.

2010/05/17 11:24 2010/05/17 11:24

안드로이드 포팅 관련 자료 URL 모음

Posted by 빵빵빵
2010/05/14 13:29 전산(컴퓨터)/안드로이드



공식 개발 사이트 : http://developer.android.com/guide/topics/ui/index.html

안드로이드 포팅 소스 보기 : http://graynote.tistory.com/68?srchid=BR1http%3A%2F%2Fgraynote.tistory.com%2F68

안드로이드 포팅 다음 카페 : http://cafe.daum.net/A4Android/BgxE/3?docid=1Hb12|BgxE|3|20090430111257&q=%BE%C8%B5%E5%B7%CE%C0%CC%B5%E5%20%C6%F7%C6%C3&srchid=CCB1Hb12|BgxE|3|20090430111257

안드로이드 2.1 포팅 소식 : http://cafe.daum.net/picus111/GifD/3?docid=1J4gC|GifD|3|20100208170038&q=%BE%C8%B5%E5%B7%CE%C0%CC%B5%E5%20%C6%F7%C6%C3&srchid=CCB1J4gC|GifD|3|20100208170038

안드로이드 포팅 강좌 : http://cafe.daum.net/jojojunlove/IO38/48?docid=q03k|IO38|48|20100415164228&q=%BE%C8%B5%E5%B7%CE%C0%CC%B5%E5%20%C6%F7%C6%C3&srchid=CCBq03k|IO38|48|20100415164228

안드로이드 질문 답변 : http://kandroid.org/board/board.php?board=AndroidTechQnA&command=body&no=12

보드 없이 안드로이드 포팅 공부하기 : http://kandroid.org/board/board.php?board=androidsource&command=body&no=24

포팅 처음하는데 기초 질문 응답 : http://www.androidpub.com/82232

안드로이드 UX ??? : http://v.daum.net/link/7013821

안드로이드 어플 Gen Miner??? : http://v.daum.net/link/7021544

포팅에 관한 기본적인 문서 : http://wiki.kldp.org/wiki.php/AndroidPortingOnRealTarget/ko

포팅에 관해 모씨의 문서 : http://blog.naver.com/jppark92/20096603956

안드로이드 개발환경 꾸리기 : http://www.kandroid.org/board/board.php?board=sourcecode&command=body&no=39
2010/05/14 13:29 2010/05/14 13:29