Difference between revisions of "ROM Android: Kernel MediaTek"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 96: | Line 96: | ||
Unpacking objects: 100% (2472039/2472039), done. | Unpacking objects: 100% (2472039/2472039), done. | ||
+ | |||
+ | |||
+ | Hasilnya | ||
+ | |||
+ | cd ~/mediatek-kernel/.git/objects | ||
+ | ls | ||
+ | |||
+ | Keluar | ||
+ | |||
+ | 00 08 10 18 20 28 30 38 40 48 50 58 60 68 70 78 80 88 90 98 a0 a8 b0 b8 c0 c8 d0 d8 e0 e8 f0 f8 info | ||
+ | 01 09 11 19 21 29 31 39 41 49 51 59 61 69 71 79 81 89 91 99 a1 a9 b1 b9 c1 c9 d1 d9 e1 e9 f1 f9 pack | ||
+ | 02 0a 12 1a 22 2a 32 3a 42 4a 52 5a 62 6a 72 7a 82 8a 92 9a a2 aa b2 ba c2 ca d2 da e2 ea f2 fa | ||
+ | 03 0b 13 1b 23 2b 33 3b 43 4b 53 5b 63 6b 73 7b 83 8b 93 9b a3 ab b3 bb c3 cb d3 db e3 eb f3 fb | ||
+ | 04 0c 14 1c 24 2c 34 3c 44 4c 54 5c 64 6c 74 7c 84 8c 94 9c a4 ac b4 bc c4 cc d4 dc e4 ec f4 fc | ||
+ | 05 0d 15 1d 25 2d 35 3d 45 4d 55 5d 65 6d 75 7d 85 8d 95 9d a5 ad b5 bd c5 cd d5 dd e5 ed f5 fd | ||
+ | 06 0e 16 1e 26 2e 36 3e 46 4e 56 5e 66 6e 76 7e 86 8e 96 9e a6 ae b6 be c6 ce d6 de e6 ee f6 fe | ||
+ | 07 0f 17 1f 27 2f 37 3f 47 4f 57 5f 67 6f 77 7f 87 8f 97 9f a7 af b7 bf c7 cf d7 df e7 ef f7 ff | ||
+ | |||
+ | |||
Revision as of 09:37, 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/
Ujicoba membuka source code kernel
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.
Hasilnya
cd ~/mediatek-kernel/.git/objects ls
Keluar
00 08 10 18 20 28 30 38 40 48 50 58 60 68 70 78 80 88 90 98 a0 a8 b0 b8 c0 c8 d0 d8 e0 e8 f0 f8 info 01 09 11 19 21 29 31 39 41 49 51 59 61 69 71 79 81 89 91 99 a1 a9 b1 b9 c1 c9 d1 d9 e1 e9 f1 f9 pack 02 0a 12 1a 22 2a 32 3a 42 4a 52 5a 62 6a 72 7a 82 8a 92 9a a2 aa b2 ba c2 ca d2 da e2 ea f2 fa 03 0b 13 1b 23 2b 33 3b 43 4b 53 5b 63 6b 73 7b 83 8b 93 9b a3 ab b3 bb c3 cb d3 db e3 eb f3 fb 04 0c 14 1c 24 2c 34 3c 44 4c 54 5c 64 6c 74 7c 84 8c 94 9c a4 ac b4 bc c4 cc d4 dc e4 ec f4 fc 05 0d 15 1d 25 2d 35 3d 45 4d 55 5d 65 6d 75 7d 85 8d 95 9d a5 ad b5 bd c5 cd d5 dd e5 ed f5 fd 06 0e 16 1e 26 2e 36 3e 46 4e 56 5e 66 6e 76 7e 86 8e 96 9e a6 ae b6 be c6 ce d6 de e6 ee f6 fe 07 0f 17 1f 27 2f 37 3f 47 4f 57 5f 67 6f 77 7f 87 8f 97 9f a7 af b7 bf c7 cf d7 df e7 ef f7 ff
Tampaknya masih belum ada effek untuk source code kernel mediatek
Untuk menambahkan / update
git remote add -f origin https://android.googlesource.com/kernel/mediatek