View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1
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.
  • Download the replacement libapplauncherd.so
  • verify the md5sum of the downloaded file (should be 238b47681749eb2bf78a819ac6bb42f7)
  • rename your existing lib to backup
  • copy the new library on it's place
  • reboot and you're done


~ $
~ $ devel-su
Password:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ #
~ # wget http://www.swagman.org/juice/libapplauncherd.so
--08:33:55-- http://www.swagman.org/juice/libapplauncherd.so
=> `libapplauncherd.so'
Resolving www.swagman.org... 77.86.213.15
Connecting to www.swagman.org|77.86.213.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 788,345 (770K) [application/octet-stream]

100%[================================================== =================>] 788,345 1.79M/s

08:33:55 (1.79 MB/s) - `libapplauncherd.so' saved [788345/788345]

~ #
~ #
~ # md5sum libapplauncherd.so
238b47681749eb2bf78a819ac6bb42f7 libapplauncherd.so
~ #
~ #
~ # cp /usr/lib/applauncherd/libapplauncherd.so /usr/lib/applauncherd/libapplauncherd.so.backup
~ # cp libapplauncherd.so /usr/lib/applauncherd/libapplauncherd.so
~ #
 

The Following 32 Users Say Thank You to juiceme For This Useful Post: