12/06/2009, 07:35 PM
|
#1 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
The Package Manager Service (we prefer to abbreviate it as ipkgservice, rather than PMS) is the means by which front-end application installers like Preware (and PreLoad, and any other open source application installers that wish to use it) are able to install advanced homebrew applications containing installation scripts from open standard package feeds in a safe and secure manner.
In general, the end-user should never notice ipkgservice. It should just operate when called by the front-end application, and only really be seen by the user when it pops up a confirmation screen for the user to confirm an action that requires root-level privileges. Installation instructions for Preware refer to ipkgservice separately because WebOS Quick Install does not yet follow package dependencies and install it automatically. The stand-alone installers for Preware automatically install ipkgservice. End-user documentation for ipkgservice does not exist, and probably will never exist. Please refer to the documentation for the front-end application (e.g. Preware) that you are using. Developer documentation for ipkgservice does not exist either - at the moment you need to read the source code for ipkgservice or preware to find out how to interface to ipkgservice. The guys who wrote PreLoad were able to do it, so other developers can too ![]() A number of people have requested a separate thread for ipkgservice. This is it ![]() See http://git.webos-internals.org/trac/ipkgservice/roadmap for the ipkgservice roadmap. When an update is available tap Update to install the new version. After it is installed you will see this screen: When you press OK, your phone will do a "Java Restart." It will not "reboot" but may seem sluggish for a minute or so while it restarts everything in the background. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals Last edited by rwhitby; 12/07/2009 at 08:54 PM. |
12/06/2009, 07:40 PM
|
#2 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Version 0.9.24 of ipkgservice has been released, with API version 9.
The major change is the addition of the restartDevice method. Also, http://git.webos-internals.org/trac/...rvice/ticket/3 was fixed. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
12/06/2009, 07:45 PM
|
#3 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: St. Louis, MO
Posts: 136
Likes Received: 0
Thanks: 96
Thanked 17 Times in 15 Posts
|
Possibly a silly question Rod, but what exactly does the restartDevice method do, and is it accessible by us basic users?
Thanks for all the hard work you guys do to make this device so amazing!
__________________
~Kelly "Two things are infinite: the universe, and human stupidity; and I'm not sure about the universe." ~Albert Einstein |
12/06/2009, 07:53 PM
|
#4 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
It's exactly the same as when you press Orange-Sym-R on the keyboard. We do realise that this could be used maliciously by a rogue webOS application, but since such an application couldn't do anything other than rebooting your device, we don't consider it a real security issue, and such an application would fairly quickly be identified. It's been added in preparation for future homebrew modifications that need more than just Luna and Java to be restarted. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals Last edited by rwhitby; 12/06/2009 at 08:06 PM. |
|
12/06/2009, 08:02 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: St. Louis, MO
Posts: 136
Likes Received: 0
Thanks: 96
Thanked 17 Times in 15 Posts
|
Ah, awesome. Thanks much!
Will that run automatically, or with a prompt allowing the user the option to go ahead or cancel?
__________________
~Kelly "Two things are infinite: the universe, and human stupidity; and I'm not sure about the universe." ~Albert Einstein |
12/06/2009, 08:04 PM
|
#6 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
![]() For Preware, yes it will give such an option. We're working on that right now for the next Preware version. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
|
12/06/2009, 08:22 PM
|
#7 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: St. Louis, MO
Posts: 136
Likes Received: 0
Thanks: 96
Thanked 17 Times in 15 Posts
|
Brilliant, thanks much for the answers Rod!
__________________
~Kelly "Two things are infinite: the universe, and human stupidity; and I'm not sure about the universe." ~Albert Einstein |
12/07/2009, 03:36 PM
|
#9 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,593
Likes Received: 117
Thanks: 2,535
Thanked 3,156 Times in 908 Posts
|
Rod,
In the opening post, would you be willing to show a couple of screenshots? Thank you! - Craig
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines Last edited by milominderbinder; 12/08/2009 at 10:05 PM. |
12/08/2009, 08:22 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 84
Likes Received: 18
Thanks: 4
Thanked 57 Times in 12 Posts
|
Rod,
When I updated the package manager service from Preware, I noticed that the shell script it runs contains a section relevant only to WebOS 1.3.5: 15 # Is the app limit fixed? 16 if [ -d /media/cryptofs/apps ] ; then 17 APPS=/media/cryptofs/apps 18 else 19 APPS=/var 20 # Install the ipkg wrapper 21 mkdir -p /usr/local/bin 22 cp /var/usr/palm/applications/org.webosinternals.ipkgservice/files/ipkg /usr/local/bin/ipkg 23 fi Seems like the ipkg wrapper is not installed for 1.3.5? Is it irrelevant for 1.3.5? Also, does that mean that we will have to reinstall package manager service after the update to 1.3.5, since we need to uninstall the existing ipkg wrapper? Thanks! |
12/08/2009, 08:29 PM
|
#11 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
In the mean-time, you should continue to keep ipkgservice up to date as usual. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals Last edited by rwhitby; 12/09/2009 at 05:37 AM. |
|
01/02/2010, 05:57 AM
|
#14 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 34
Likes Received: 0
Thanks: 6
Thanked 11 Times in 2 Posts
|
A little help needed here people.
I installed PreGame’s newly rewritten LED manager service and then I tried to install the new My Flashlight app. When trying to install the app I got an error saying the app was “probably installed”. I then restarted went back into Preware only to be told that the package manager service isn’t running. I have tried using the latest version of quick install to remove Preware and the package manager service, restarting, using QI to reinstall them and finally restarting yet again. I still get the same error and Preware obviously doesn’t work correctly. I’m running 1.3.1 on an O2 UK GSM Pre. Any help will be greatly appreciated! A visit to the doctor is out of the question really as I’ll lose several apps that I downloaded before the non-US app store became crippled. EDIT: I did uninstall the LED service through QI before doing the above. Last edited by Gav_Oracle; 01/02/2010 at 06:21 AM. Reason: More info |
01/02/2010, 07:06 AM
|
#15 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Posts: 2
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
Quote:
! I do not want to reinstall everything again! Is there a way to undo the update or a log, where I can find more info for this error? Until a fix is available, I can only recommend: DO NOT INSTALL OR UPDATE LED manager on GSM WebOS 1.3.1! Best regards Matthias |
|
01/02/2010, 07:22 AM
|
#16 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
|
Urrgh. Too late. My Preware is borked after Pregames Flashlight update - said package Manager not running. I deleted and reinstalled via WOSQI now it says only 2 apps installed - the LED flashlight app and service. The service cannot be removed as it gives an error.
Sigh... On GSM 1.3.3
__________________
Check out my My Medical webOS Apps Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News |
01/02/2010, 07:35 AM
|
#17 (permalink) | ||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
|
Quote:
Damn.Edit: And here is reason: Quote:
Solution is remove LED service, Package Service,remove directoru /media/cryptofs (thru novaterm for example) and install Package Service again. Voi'la Last edited by Georgo10; 01/02/2010 at 07:51 AM. |
||
01/02/2010, 09:47 AM
|
#18 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Posts: 34
Likes Received: 0
Thanks: 6
Thanked 11 Times in 2 Posts
|
Quote:
EDIT: Don't worry Georgo10 I got the folder removed with the help of zsoc in the webos-internals chat room. For anyone else with this problem you can use the following command in the "Linux Commandline" option in WebOS quick install: DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 mount -o remount,rw /; rm -r /media/cryptofs; mount -o remount,ro / DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 DO NOT RUN THIS COMMAND IF YOU ARE USING VERSION 1.3.5 Then re install the Package Manager service in the normal way. Last edited by Gav_Oracle; 01/02/2010 at 10:26 AM. |
|
01/02/2010, 10:24 AM
|
#19 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
|
Quote:
Code:
cd /media rm -r cryptofs
__________________
Check out my My Medical webOS Apps Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-internals/218671-package-manager-service.html
|
||||
| Posted By | For | Type | Date | |
| How to Use Preware for Homebrew Apps, Patches, and Themes | This thread | Refback | 05/23/2010 07:17 PM | |



