Download and compile the CyanogenMod source code and cyanogenmod source code.
CyanogenMod is one of the most popular Android branches in addition to the official Android source code. It is clean, almost similar to native Android, and is convenient for device customization, compared with native, the compiler and ROM are greatly improved. It is the best choice for
Document directory
Install cyanogenmod on your phone
Take a backup
Install Repo
Build cyanogenmod
Complete the build
Obtaining the code
Create Build Environment
Configure build
Get proprietary files from your device
Build it
From cyanogenmod Wiki
How do I compile the cyanogenmod kernel from source
The follo
After a bunch of hard work from a lot of people, I'm happy to present the first fully-functional eclair (Android 2.1) system available for the HTC Dream and HTC magic!
There is some new ground being broken here, and a few bugs to still shake out but I believe that it shoshould be pretty stable as a daily driver.
It's important to know that"Dangerspl"(Or deathspl or haykuro's SPL or whatever you prefer) is a prerequisite for dream/G1 users. magic (mt3g etc) users do * not * need to do this. ciw
CyanogenMod (CM10), the latest based on the Android 4.1 jelly Beans version of ROM, today on a handful of devices launched. Version 10 has undergone countless nightly beta developments in the past few months, but the final stable version will be released for a selected number of Android devices. The CM10 stable version of ROM is now available for download, Samsun
Downloading cm source code is actually similar to downloading Google's pure Android source code. below is the official cm website. You need to download the ROM corresponding to your mobile phone and put it in the sdcard root directory, just in case.
Http://www.cyanogenmod.com/
Next I will introduce another website: http://forum.xda-developers.com/index.php
This is an xda developer forum, where experts like cloud will help you
Now let's start to show you how to download the source code, compile
Cyanogenmod is really a magic thing. It makes the development of Mobile Phone firmware no longer a patent of mobile phone manufacturers. Every programmer interested in it can customize a proprietary and unique firmware for his mobile phone, this was previously hard to think about. In addition, cyanogenmod supports many mobile phone models, which are also amazing. Its latest version has reached 11.0. This ar
. However, it is very helpful to find it on the Internet, later I also provided a version uploaded to my Baidu online storage for download.
4. cyanogenmod (cm)
Official Website: http://www.cyanogenmod.org/
There is no need to talk about this. The famous CM system, miui developed by many fans in China Based on it (that is, the UI is redone and a lot of advertisements are added ). Please note that.
5. Google Apps (gapps)
For more information, see here:
Cyanogenmod 12.0 12.1 13.0 Bacon (Oneplus) Download compile
Repo Download
Source Download
model related code download
Compiling and packaging
Brush Machine
Repo Download
Mkdir-p ~/binCurl Https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repochmod a+x ~/bin/repoDue to the wall, you can use the following method to get repo (not recommended, 12.1 and 13.0 of the code download will be problematic):git clone git://codeaurora.org/tools/
Because cm2.3.7 has some problems, if you need to use a stable version of cyanogenmod 2.3.4 to compile and download the corresponding vendor file, you can download it to my online disk.
Vendor: http://115.com/file/dpi59mxv
Custom sdks are often added to the source code during development of custom Rom. For example, many added functions in Xiaomi miui use custom methods during coding, these all need to be compiled into the SDK. during development, the
Compiling environment:
Vmware workstation 7 + ubuntu 10.04 32-bit
1. Install the android sdk
2. packages for 32-bit and 64-bit installation:
Git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
3. 64-bit software packages to be installed:
G ++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g ++-4.3-multilib
4. Create a directory under the home
-java6-jre, press the tab key, select OK, and then agree to the DLJ protocol to select YES ")
$ Sudo apt-Get installgit-core GnuPG flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-devsquashfs-Tools Build-essential zip curl libncurses5-dev zlib1g-devsun-java6-jdk pngcrush schedtool
5. Download cyanogenmod source code
// Create a cyanogenmod folder to store the source code
$ Mkdir
For detailed compilation methods, refer to the Wiki of cyanogenmod.Configure build
Now, your environment must be configured to build specifically for the android emulator. To set up your build environment:
. build/envsetup.shlunch cyanogen_generic-engCompile
Next, we will build the actual Rom.
mka
Problems encountered during compilation: Problem 1:
Bootable/recovery/applypatch/bspatch. C: 29: 19: Error: bzlib. h: no such file or directory
Make: * ** if no rule is available, you can create the
version of the system and enter the following code to view it:
Code:
Java-version
F) So far, JDK is installed successfully.
Android SDK InstallationA) Since rom is used, debugging and testing tools are required. The official Android SDK also provides an official version. You can download and install it directly.
B) go to Google's official website to download the latest SDK version. Just a few days ago, we launched r6 that supports 2.2. However, after the official website of the SDK is on the wa
First, a character device is a device, such as a keyboard, printer, that is transmitted as a character in the I/O transfer process. Note that the character unit does not necessarily imply a byte, because some encoding rules specify that 1 characters are 16 bits and 2 bytes.In Unix systems, character devices occupy positions in the file directory tree in a special file and have corresponding I nodes. The file type in the I node indicates that the file
Issue: When you enter ADB devices in CMD, no device information is displayed, actually displays the following informationThe problem is sometimes recognizable and sometimes not recognizable. When connected by others, oneself in the connection is good, after a while, it is not goodSolution:I. When the device has not been displayed:1. Check if USB debug mode is turned on2. Check whether the driver is installed, check the method: After connecting the PC,
Differences between Linux character devices and Block devices: linux character Devices
Devices in the system that can access chunks of a fixed size are called Block devices, which are called blocks. The most common block device is the hard disk, in addition to many other Blo
block Device (Blockdevice) is a random access device with a certain structure , the reading and writing of this device is block-based, he uses buffer to hold temporary data, when the condition is ripe, Write from the cache one time to the device or from the device to a single read-out into a buffer, such as a disk and file systemcharacter device (Characterdevice): This is a sequential data flow device in which read and write is performed by character, and these characters are continuously formed
Now connected to the computer more and more Bluetooth devices, Bluetooth mouse keyboard, headphones, speakers and so on, abound. However, when a user uses a Bluetooth device on a Win8.1 computer, it prompts you to eject the Bluetooth device from being disabled. How can this be solved?
When using win8.1 Bluetooth, it pops up this window as follows:
But Bluetooth-related services are already open.
Workaround:
Right-click on
Linux Block devices and character devices-general Linux technology-Linux programming and kernel information. The following is a detailed description. Devices in the system that can access chunks of a fixed size are called Block devices, which are called blocks. The most common block device is the hard disk, in addition
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.