how to compile I9250 rom based on android4.4.2 source and ANDROID-4.3.1_R1 driverRain 2014-05-04 Contact information: dennis.hu.cd at gmail.com
Description:After a lot of tossing and turning, I finally compiled the source code of Android4.4.2 successfully ran on my Samsung Galaxy Nexus I9250 phone. The period is inseparable from the help of a foreign friend, the author of reference [1] Sato Kensuke. The process is recorded here, we hope to help!
The first step: Download ANDROID-4.4.2_R2 source codeSee my previous article < based Ubuntu 14.04 Lts compiled Android4.4.2 source code;, Address: http://blog.csdn.net/gobitan/article/details/24367439
Step Two: Download the ANDROID-4.3.1_R1 device part of the source codeSince I have all downloaded ANDROID-4.3.1_R1 source code and compiled successfully run to my i9250 phone, refer to my previous article < compile Android-4.3.1_r source code and brush to your own Galaxy Nexus I9250 Real Machine Address: http://blog.csdn.net/gobitan/article/details/24792589. So I copied the past directly. Only download the specified directory source code method is my estimate, untested: Follow the normal download source code steps, before executing repo sync, modify. repo/ manifest.xml files, will not need to be in the directory of all comments out, so synchronization should only need to synchronize their own needs of the directory, all download source code time consuming space.
step Three: Replace and modify the device part source code1. Backup the device directory of the ANDROID-4.4.2_R2; 2. Completely replace the ANDROID-4.4.2_R2 device directory with the ANDROID-4.3.1_R1 device directory; 3. Modify a number of files so that 4.3 of the device code to adapt 4.4 of the source;
Fourth Step: Download I9250 's official driverThis step is exactly the same as the third step in my < compiling the Android-4.3.1_r source code and brushing it to your own Galaxy Nexus I9250 > Article, which is not detailed here. See Address: http://blog.csdn.net/gobitan/article/details/24792589
Fifth step: Increase Ducati-m3.bin DriveNote: If this step is missing, it will cause the camera to become unusable. (1) Download img into https://developers.google.com/android/nexus/images#takju and select 4.3 (jwr66y) link to download. Then unzip, find the inside of the system.img file, and then extract the Ducati-m3.bin from the file. (2) Push it to/vendor/firmware, see below:
Sixth step: Brush the compiled img onto the i9250 phone(1) Modify the environment variables in ~/.BASHRC android_product_out to:
Export Android_product_out=/home/dennis/devenv/aosp/out/target/product/maguro
(2) Re-enter the command line, then start the brush machine
[email protected]:~$ adb deviceslist of Devices attached0146a0d00600900b device[email protected]:~$ ADB r Eboot bootloader[email protected]:~$ fastboot flashall-w< waiting for device >---------------------------- ----------------Bootloader Version ...: Primemd04baseband version ......: i9250xxlj1serial number ...: 0146a0d00600900b--------------------------------------------Checking product ... OKAY [0.007s]sending ' Boot ' (4472 KB) ... OKAY [0.587s]writing ' Boot ' ... OKAY [0.681s]sending ' recovery ' (5020 KB) ... OKAY [0.659s]writing ' recovery ' ... OKAY [0.798s]erasing ' System ' ... OKAY [0.015s]sending ' System ' (264925 KB) ... OKAY [34.379s]writing ' System ' ... OKAY [30.739s]erasing ' UserData ' ... OKAY [0.418s]formatting ' UserData ' partition ... Creating filesystem with parameters:size:14539534336 Block size:4096 Blocks per group:32768 inodes per gro up:8144 Inode size:256 Journal blocks:32768 label:blocks:3549691 Block groups:109 Reserved block Group size:871created filesystem with 11/887696 inodes and 97200/3549691 blockssending ' UserData ' ( 137559 KB) ... writing ' UserData ' ... OKAY [28.220s]erasing ' cache ' ... OKAY [0.016s]formatting ' Cache ' partition ... Creating filesystem with parameters:size:452984832 Block size:4096 Blocks per group:32768 inodes per group : 6912 Inode size:256 Journal blocks:1728 label:blocks:110592 block groups:4 Reserved Block Group size:31created filesystem with 11/27648 inodes and 3566/110592 blockssending ' cache ' (8832 KB) ... writing ' cache ' ... OKAY [2.970s]rebooting...finished. Total time:99.523s[email protected]:~$
After the brush, the system will automatically restart, if there are no other problems, you can see the results of your labor!
Last Updated on: 2014-5-4 Create
Reprint Please specify the Source:Rainwater, Address:http://blog.csdn.net/gobitan/article/details/25003141
References:1. Https://github.com/kensuke/How-to-Midracast-on-AOSP