Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Need some help here, in my first attempts to make a flashable system image for our Jolla device.
  2.  
  3. I made a 'backup' of Jolla SailfishOS partition (mmcblk0p28=sailfish)
  4.  
  5. dd if=/dev/mmcblk0p28 of=/sdcard/system.img bs=4096
  6.  
  7. Now, I am trying to split that image into handable size using img2simg, like this
  8.  
  9. # img2simg -C 512 sdcard
  10.  
  11. But, apparently something is wrong with the block-size. I get this error:
  12. ""system.img" size (14761836032) is not a multiple of the block size (4096)."
  13.  
  14. Obviously, 14761836032 is not consistant with a bs of 4096.
  15.  
  16. I dont want an image of the entire /dev/mmvblk0 as I do not want to mess with bootloader, but want to accomplish an image that could be flashed like this
  17.  
  18. #fastboot flash sailfish sailfish.img
  19.  
  20. As some of you know, I want this, in case recivery gets screwed, and we are only able to get device into fastboot mode.
  21.  
  22. My bootloader is unlocked
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement