Advertisement
Huntereb

Changing dory bootloader images

Jun 11th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. ~~ Changing dory bootloader images ~~
  2.  
  3. (Warning that messing up any of this process could potentially brick your device!)
  4.  
  5. 1. Dump your imgdata partition within Asteroid OS. This can be done with busybox's dd.
  6.  
  7. dd if=/dev/mmcblk0p10 of=/home/ceres/imgdata.img bs=64
  8.  
  9. Then pull imagedata with adb or MTP to your computer.
  10.  
  11. adb pull /home/ceres/imgdata.img
  12.  
  13. 2. Download and compile "imgdata tool" from https://github.com/NVISO-BE/nexus_5_bootloader_unpacker
  14.  
  15. Unpack the images from imgdata.img with imgdata tool, and modify as needed.
  16.  
  17. ./iunp -x imgdata.img
  18.  
  19. (For a seamless boot into Asteroid OS, the splashscreen images can be found here: https://github.com/AsteroidOS/meta-asteroid/tree/master/recipes-core/psplash/files )
  20.  
  21. 3. Repack your image(s) into your imgdata.img
  22.  
  23. ./iunp -r imgdata.img boot.png
  24.  
  25. 4. Reboot into fastboot mode and flash your modified imgdata. A hard reset is required to see your changes
  26.  
  27. fastboot flash imgdata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement