[FIX] Preventing closing of applications during install
This fix is for the bug that some people have when installing applications from the store in an Open Mode device.
After the install process completes all open applications are forcefully closed. NOTE! This fix is only for Open Mode devices, do not try to do this on a Closed Mode device or you will end up in MALF state! How the fix works: After an install applauncher reloads it's state from /var/run/applauncherd/saved-state file. If the system is in Open Mode and aegis keys have a conflict with Closed Mode keys then /var/run/ is not mounted as aegisfs. Applauncher notices this and forces a shutdown on all applications it handles. (Thanks for Eztran for figuring this out) The fix is to compile libapplauncherd.so with debug flags so that it only notes the need to relaunch apps without actually doing so.
|
Fixed, thanks!
|
Re: [FIX] Preventing closing of applications during install
BIG hint from my side:
do not rename the file as original.so.something, but change the part before the '.so' ending. Not sure if Harmattan acts the same way, but I had big troubles under Fremantle having two versions of a lib with name 'original.so' and 'original.so.bkp' or 'original.so_bkp'. After naming it to 'original_so.bkp' everything was okay. Again: maybe above is okay, but I will not forget this anymore (happened twice to me ;)). |
Re: [FIX] Preventing closing of applications during install
Wow, nice work, now OpenMode is ideal.
|
Re: [FIX] Preventing closing of applications during install
@Ancelad no. last problem is devicelock
|
Re: [FIX] Preventing closing of applications during install
Quote:
Now there's a worthy project to start hacking on :D |
Re: [FIX] Preventing closing of applications during install
Quote:
|
Re: [FIX] Preventing closing of applications during install
well, Jonni suggesting remake devicelock to use other memory region, not CAL
|
Re: [FIX] Preventing closing of applications during install
Quote:
http://harmattan-dev.nokia.com/docs/...celock_8h.html |
Re: [FIX] Preventing closing of applications during install
Quote:
I was thinking more on the lines of inserting self-verifying routines into the Ubiboot kernel and userland - after building, portions of the binary are hashed and the hashes stored statically in the kernel (/proc/config.gz or early_param style?) The entire mmcblk0 could be encrypted with dm-crypt, storing a signed ramdisk (the new /sbin/preinit) that asks for password with sillykbd - a 4-8 digit code can be salted and used as a key ;) The OMAP AES hardware should help with the speed impact this would entail. It also wouldn't provide device lock security, but a userland daemon with kernel helper could ask for a password every, 24h (user-configurable) or so, and shut down the device if the proper key isn't entered. This would have the benefit of remaining mostly-transparent to Harmattan, actually even Nemo and other OSes. |
All times are GMT. The time now is 01:24. |
vBulletin® Version 3.8.8