Difference between revisions of "ROM Android: Kernel MediaTek"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 73: | Line 73: | ||
git remote add -f origin https://android.googlesource.com/kernel/mediatek | git remote add -f origin https://android.googlesource.com/kernel/mediatek | ||
+ | |||
+ | |||
+ | ==Referensi== | ||
+ | |||
+ | * http://stackoverflow.com/questions/9343260/what-after-git-unpack-objects-to-get-the-actual-file |
Revision as of 04:25, 3 January 2015
Download
Sumber source code kernel mediatek
- https://android.googlesource.com/kernel/mediatek/
- https://android.googlesource.com/kernel/mediatek/+/android-4.4.4_r4
- https://android.googlesource.com/kernel/mediatek/+/android-4.4.4_r3
cd ~ git clone https://android.googlesource.com/kernel/mediatek
Hasilnya akan di simpan di folder
cd ~ mediatek
cek pack
cd ~/mediatek/.git/objects/pack ls
Akan keluar dua file
pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.idx pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.pack
Check branch master
cd ~/mediatek/ git checkout master
Akan keluar
Already on 'master' Your branch is up-to-date with 'origin/master'.
Check HEAD
git rev-parse HEAD
Hasilnya
610ba0c10976208568a21fde3626ab847d484999
Siapkan folder baru mediatek-kernel
cd ~ git init mediatek-kernel
Hasilnya
Initialized empty Git repository in /home/onno/mediatek-kernel/.git/
Isi dengan .pack mediatek
cd ~ cp mediatek/.git/objects/pack/* mediatek-kernel/.git/objects/pack
Extract .pack
cd ~/mediatek-kernel git checkout -b master 610ba0c10976208568a21fde3626ab847d484999
Check hasil
cd ~/mediatek-kernel ls -lh
Untuk menambahkan / update
git remote add -f origin https://android.googlesource.com/kernel/mediatek