Originally Posted by Joshnor713
Can someone please explain to me what the lines of code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
Knowledge of this would be really helpful. Thanks in advance.
I'm bored here at work, so I'll take a wild-ass guess. The cat command somehow moves or transforms flash_image from the SD card to the data folder on the phone. chmod, from what I've been able to decipher, changes the permissions on flash_image. Then, the last line uses the newly modified flash_image file (is it some kind of utility or something?) to do something or other with the mtd-eng.img. I'm an old command line DOS guy trying like hell to learn more about linux and android, but damn, it's not coming easy.