Android source download and compile your own ROM
Recently found kernel.org was wall, why this site can also be wall?
If you want to download the source code, you can only go around the past. Here are some of the download methods i have searched for from the Internet;
==============================================================================================
The original link is: http://cache.baidu.com/c?m= 9d78d513d98316ed05fa950e1a67a371685497153ac0a61f6b93d3169c3e1d070571e2c83a3f46599699223a52f95e5c9da177246b1420c0c79fce578 Be6d77471d574626d4bc61a43d11ea4ca5b24c524905ce2a5&p=882a9f0c909d12a058aedc3d56&user=baidu&fm=sc &query=repo%cf%c2%d4%d8&qid=fe5fa7bb12281bb9&p1=1
Kernel.org cannot access the source code that causes Android not to download, this is another git server's android source repo file.
Operation is as follows
$ curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" >./Repo//Get repo
$ chmod a+x repo
$ path= ~/omap4/l27.12.1-p2/mydroid: $PATH
Here is the source of access:
$ Repo init-u git://git.omapzoom.org/platform/omapmanifest.git-b 27.x-m rls27.12.1-p2_gingerbread.xml
$ Repo Sync
======================================================================================================
Also, how do you compile your own ROM ? Now find a lot of third-party ROMon the internet, such as Miui,cm,oxygen how to get out of it?
Finally, find the answer from the CM official wiki. You can download the source code from the above, and then build their own to play.
Http://wiki.cyanogenmod.com/wiki/HTC_Desire_ (GSM): _compile_cyanogenmod_ (Linux)
I used G7 (I had to ship off) and tried the following:
1 boot.img with cm latest, by fastboot flash boot xxxx/boot.img way burn write Boot
2 system.img compiled with Google source , here are the general steps
2.1 Source BUILD/ENVSETUP.SH---> Setting environment variables
2.2 Choosecombo, select default
2.3 Export Target_product=full_passion This is the official source provided by the HTC Passion Template (in the DEVICE/HTC directory),
2.4 Make systemimage. This will allow you to compile the system.image. This speed is OK, 4 cores, 1.8G memory, virtual UBUNTU10.04, about 30 minutes
2.5 FastBoot Flash system xxxx/system.img, burn the system up
3 Problem Solving:
1 The Android framework must not get up because audio does not have the correct so to run. Modify the method, can only be replaced by using Generic_audio mode.
The 2 button is not very normal. It's okay, download MIUI G7 update package, untie, will system/usr/keychars/bravo-keypad.kcm.bin and SYSTEM/USR/KEYLAYOUT/BRAVO-KEYPAD.KL through ADB Push to the phone 's corresponding directory.
4 Final:
can run, but very slow, because I made up the ENG version. This may not be the ultimate reason. I found that there is a problem, always flashing, it is estimated that the libgalloc.so has a problem, may have to use G7.
But finally can compile their own ROM , later customization is more convenient.
The next step is to try it out based on the CM version.
I wonder if you are interested in trying?
################################################
1. The HTC ROM brush machine steps are as follows:
ADB reboot bootloader
sudo ' which fastboot ' flash zip **_partial.zip
sudo ' which fastboot ' flash zip **_sign.zip
sudo ' which fastboot ' reboot
If the HTC phone, fastboot change to./htc_fastboot
sudo./htc_fastboot Flash zip 333397-001_m7_generic_wwe_k442_crc_sense60_stable_mr2_partial.zip
Ls
sudo./htc_fastboot Flash zip 333397-001_m7_generic_wwe_k442_crc_sense60_stable_mr2_signed.zip