Difference between revisions of "ROM Android: Kernel MediaTek"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 73: | Line 73: | ||
==Coba Alternatif Cara Extract== | ==Coba Alternatif Cara Extract== | ||
+ | |||
+ | Asumsi kernel mediatek hasil git ada di folder | ||
+ | |||
+ | ~/mediatek/ | ||
mkdir mediatek-kernel | mkdir mediatek-kernel | ||
Line 93: | Line 97: | ||
Tampaknya masih belum ada effek untuk source code kernel mediatek | Tampaknya masih belum ada effek untuk source code kernel mediatek | ||
− | |||
− | |||
− | |||
==Untuk menambahkan / update== | ==Untuk menambahkan / update== |
Revision as of 09:31, 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
Coba Alternatif Cara Extract
Asumsi kernel mediatek hasil git ada di folder
~/mediatek/
mkdir mediatek-kernel cd mediatek-kernel/ cp ~/mediatek/.git/objects/pack/pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.* . cd ~ mv mediatek-kernel tmp-kernel mkdir mediatek-kernel
cd ~ git init mediatek-kernel
Initialized empty Git repository in /home/onno/mediatek-kernel/.git/
cd mediatek-kernel/ git unpack-objects < ~/tmp-kernel/pack-5e2cd1c8f09391c09a228f514449da0228f3a96f.pack
Unpacking objects: 100% (2472039/2472039), done.
Tampaknya masih belum ada effek untuk source code kernel mediatek
Untuk menambahkan / update
git remote add -f origin https://android.googlesource.com/kernel/mediatek