View Single Post
Old 08-06-2012, 10:25 AM   #5
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
Great work, altruizine!

There's no need for SManager.

As we did with the fixpermissions script (https://www.mobileread.com/forums/sho...48&postcount=9), you can invoke the daemon via /etc/install-recovery.sh

Just make sure that install-recovery.sh is executable.

If existent, install-recovery.sh is called on every boot by /init.rc

I don't know how to create an apk package, but as an alternative one could modify one of the existing flash packages and put all necessary commands like creating/modifying install_recovery.sh into do_update.sh.


But let's wait for rupor to discover this thread! I'm pretty sure he'll integrate it into his root package

Last edited by uboot; 08-06-2012 at 10:29 AM.
uboot is offline   Reply With Quote