View Single Post
Old 08-24-2016, 11:03 AM   #26
SteveAdams
Member
SteveAdams began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2016
Device: energy sistem ereader pro hd (awaiting delivery)
im trying to install twrp on my energy sistem pro hd but im having difficulties, im very much a noob at adb / adb shell. Im having problems changing permissions of the flash_image file i keep getting an errors

steve@steve-Peppy:~$ cd /home/steve/Android/platform-tools/
steve@steve-Peppy:~/Android/platform-tools$ adb devices
List of devices attached
22610501029268 device

steve@steve-Peppy:~/Android/platform-tools$ adb shell
shell@android:/ $ su
root@android:/ # cd /sdcard/
root@android:/sdcard # flash_image recovery TWRP.img
sh: /system/bin/flash_image: not executable: magic 7F45
1|root@android:/sdcard #

if i try to mount system as read & write it still wont work, i dont think the system is mounted properly as i still dont seem to have permission to change permission

steve@steve-Peppy:~$ cd /home/steve/Android/platform-tools/
steve@steve-Peppy:~/Android/platform-tools$ adb devices
List of devices attached
22610501029268 device

steve@steve-Peppy:~/Android/platform-tools$ adb shell
shell@android:/ $ su
root@android:/ # mount -o rw,remount,rw /system
root@android:/ # cd /sdcard/
1|root@android:/sdcard # chmod 755 /system/bin/flash_image
root@android:/sdcard # flash_image recovery TWRP.img
sh: /system/bin/flash_image: not executable: magic 7F45
1|root@android:/sdcard #

this annoying error flash_image: not executable: magic 7F45 is kicking my ass and im out of my depth already
SteveAdams is offline   Reply With Quote