綁定帳號登入

Android 台灣中文網

12
返回列表 發新帖
打印 上一主題 下一主題

[求助] 150碎鑽_重金懸賞_高手請進

[複製連結] 查看: 1437|回覆: 13|好評: 0
11
cracky | 收聽TA | 只看該作者
發表於 2012-3-1 23:34
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

12
cracky | 收聽TA | 只看該作者
發表於 2012-3-1 23:39
jiew2 發表於 2012-3-1 21:15
請問...

編譯kernel的話,需要裝怎樣的Toolchain? 與 ARM cross complier??

您問的東西太深奧了啦...囧
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

13
 樓主| mingyi0118 | 收聽TA | 只看該作者
發表於 2012-3-28 12:14
由 手機網頁 發佈
剛剛在xda找到的疑似製作核心教學
有那位大大英文不錯能幫翻譯
Tutorial: Compiling Wildfire S Kernel in Windows 7 – Ubuntu 11.10 32-bit

1. Download and install VirtualBox then install Ubuntu 11.10 32bit, after install go to settings shared folder mount your C: drive so you can copy paste from Ubuntu to Windows. Make Android folder in your Ubuntu home extract attached ndk-android in that folder. In terminal copy and paste this commands without quotes.

"sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind"

Install Android Sdk Platform Tools search google how to do this. Install it in your android folder.

And in terminal type "sudo gedit .bashrc" without quotes and add following lines below then save.

# Android tools export PATH=${PATH}:~/android/android-sdk-linux/tools export PATH=${PATH}:~/android/android-sdk-linux/platform-tools export PATH=${PATH}:~/android/ndk-android/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin

Exit terminal then re run terminal.

2. Download Wildfire S kernel source from htcdev.com and extract to the android folder. In windows if you already installed ADB or in your adb folder open cmd prompt then connect your phone. Then copy paste this command “adb pull /proc/config.gz “ without the quotes. Then you will find config.gz in the adb folder put it to c:\then copy it to ubuntu. Copy it to kernel folder. In terminal Cd to your kernel folder then copy paste this command “gunzip config.gz” after that “mv config .config”.

3. In terminal lets edit the kernel shall we, cd to your WS kernel, type this command “make menuconfig” then just put * if you want it built in kernel then M if you like module. After making changes exit and save. If you want OC copy and replace files in kernel folder with the OC files attached, use find to search the location of files, some files Kconfig and Makefile open kernel same file compare if same then change cause I forgot what folder it should be located, but If I remeber coreectly it is in the same folder of the other files.

4.To build kernel copy paste this command to terminal “make j2 ARCH=arm CROSS_COMPILE=arm-eabi-” without quotes. Change j2 for 2 cores if you have 4 cores cpu change to j4. Wait for it to finish. When it's finished it will have the zimage and the module with last extension of .ko. Copy them to the attached archive anykernel updater .using winrar or ubuntu zip manager.

5. Copy to your phone sdcard then flash to Recovery.
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

14
cracky | 收聽TA | 只看該作者
發表於 2012-3-28 19:05
mingyi0118 發表於 2012-3-28 12:14
剛剛在xda找到的疑似製作核心教學
有那位大大英文不錯能幫翻譯
Tutorial: Compiling Wildfire S Kernel in ...

不是完全教學...只是基本建構可編譯環境而已-.-

通常這種東西要完完全全靠自己了,因為這類編譯根本沒辦法教學,都是靠經驗...
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

12
返回列表 發新帖
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則