Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make mr proper
- Edit in Makefile
- LDFLAGS_MODULE = --strip-debug
- Edit in m0_00defconfig
- CONFIG_CROSS_COMPILE="~/path/toolchains/arm-eabi-4.4.3/bin/arm-eabi-"
- CONFIG_LOCALVERSION="-Shark-A3"
- Edit .bashrc in your home directory and add the following line:
- PATH=~/path/toolchains/arm-eabi-4.4.3/bin:
- $ gedit .bashrc
- $ source .bashrc
- make m0_00_defconfig
- time make -j3
- cp ~/GT-I9300/u8/drivers/net/wireless/btlock/btlock.ko ~/GT-I9300/u8/drivers/net/wireless/bcmdhd/dhd.ko ~/GT-I9300/u8/drivers/scsi/scsi_wait_scan.ko ~/pack_boot/boot.img-ramdisk_FILES/lib/modules
- cp ~/GT-I9300/u8/arch/arm/boot/zImage ~/pack_boot/zImage
- perl repack-bootimg.pl zImage boot.img-ramdisk_FILES boot.img
- sudo heimdall flash --primary-boot boot.img
- git cherry-pick
- git remote add upstream [email protected]:perkarom/GT-I9300.git
- git fetch upstream
- git cherry-pick sha1
- git remote rm upstream
- find Shark-A -type f | xargs -n 1 file | LANG=C grep 'terminators$' | \
- while read LINE; do FILE=${LINE%%:*}; fromdos -p "$FILE"; done
- Output files
- - Kernel : arch/arm/boot/zImage
- - modules : drivers/*/*.ko
- diff -ruN original/ test/ > patch
- patch --dry-run -s -p1 < patch
- delete
- find . -type f -name "*.rej" -exec rm -f {} \;
- find . -type f -name "*.orig" -exec rm -f {} \;
- ask first
- find . -type f -name "*.rej" -exec rm -i {} \;
- find . -type f -name "*.orig" -exec rm -i {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement