Difference between revisions of "ROM Android: Kernel MediaTek"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
* https://android.googlesource.com/kernel/mediatek/+/android-4.4.4_r3 | * https://android.googlesource.com/kernel/mediatek/+/android-4.4.4_r3 | ||
− | Download | + | ==Download== |
cd ~ | cd ~ | ||
Line 13: | Line 13: | ||
mediatek | mediatek | ||
− | + | ==cek pack== | |
cd ~/mediatek/.git/objects/pack | cd ~/mediatek/.git/objects/pack | ||
Line 23: | Line 23: | ||
pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.pack | pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.pack | ||
− | + | ==Check branch master== | |
− | cd ~/mediatek/ | + | cd ~/mediatek/ |
− | git | + | git checkout master |
− | Akan keluar | + | 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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 04:20, 3 January 2015
- 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
Download
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