Reinstall stock recovery
Posted: January 26th, 2011, 6:55 am
Im trying to reinstall stock recovery (thanks to those who have helped so far) to no avail.
Ive been poking my nose in a few files and have come across these lines in the install-recovery.sh file:
#!/system/bin/sh
if ! applypatch -c
I know nothing about android but I have an idea that this code is a reference to an sh file that I have on my scroll (ive checked, it is there). My question is this, what does the "!" mean? Is it saying something like " if the system/bin/sh file is not there or corrupt, apply the patch (ie reinstall original recovery)" if so what should i do, modify the sh file, delete it?
Ive googled the first line of code and there are suggestions that a line of code is missing, something like "mount -o rw /system"
Am I barking up the wrong tree?
TIA
Ive been poking my nose in a few files and have come across these lines in the install-recovery.sh file:
#!/system/bin/sh
if ! applypatch -c
I know nothing about android but I have an idea that this code is a reference to an sh file that I have on my scroll (ive checked, it is there). My question is this, what does the "!" mean? Is it saying something like " if the system/bin/sh file is not there or corrupt, apply the patch (ie reinstall original recovery)" if so what should i do, modify the sh file, delete it?
Ive googled the first line of code and there are suggestions that a line of code is missing, something like "mount -o rw /system"
Am I barking up the wrong tree?
TIA