-
-
Save mohamad-supangat/a9f872fb8dd481425a3f60e3bc4eff22 to your computer and use it in GitHub Desktop.
Flashing a boot.img (Kernel, for example) in an Android mobile phone via adb shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Tested with Samsung Galaxy Note 3 (your mobile phone may have different paths and partitions!!) | |
#check adb connection... | |
adb devices | |
#copy the boot.img image to the mobile phone (in this case, the root of the SD Card) | |
adb push <path_to_your_boot.img_extracted_from_custom_rom_zip>/boot.img /external_sd/boot.img | |
#open shell | |
adb shell | |
#flash the image into the /boot partition | |
```bash | |
dd if=/external_sd/ROMS/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot | |
```bash | |
#Clean Cache and Dalvik Cache, Reboot into System! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment