webOS Nation Forums >  Homebrew >  WebOS Internals > Fair Dinkum App Limit - remove the arbitrary limit on app installation
Fair Dinkum App Limit - remove the arbitrary limit on app installation

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/12/2009, 01:05 PM   #101 (permalink)
Member
 
DrSuSE's Avatar
 
Join Date: Jun 2009
Location: Philadelphia
Posts: 490
Likes Received: 0
Thanks: 14
Thanked 74 Times in 56 Posts
Default

Space information, this is even with the new app installed:

Code:
root@castle:/var/usr/palm/applications# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mapper/store-var
                        253920    184548     69372  73% /var
Code:
root@castle:/var/usr/palm/applications# du -mcs
45      .
45      total
So my /var is 73% full (i.e. not at the limit) and I don't have 64MB worth of apps.
DrSuSE is offline   Reply With Quote
Old 10/12/2009, 01:06 PM   #102 (permalink)
Member
 
Join Date: Sep 2009
Posts: 19
Likes Received: 0
Thanks: 10
Thanked 2 Times in 2 Posts
Default

Worked flawlessly for me. Just to make sure I was at the limit, I tried a free app and I got the error message - left the app catalog open - installed the Fair Dinkum app - did not reboot - maximized open card for app catalog and installed the previously failed app.

Thanks again!
Rob Ril is offline   Reply With Quote
Old 10/12/2009, 01:11 PM   #103 (permalink)
Member
 
Join Date: Jul 2009
Posts: 35
Likes Received: 0
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Sorry for the only tangentially-related question, but what's the easiest way to get terminal access to print out partition usage info? Is it with the Terminal homebrew app and associated service plugin? That hasn't been updated in a while, but that may just be because it there was no need. I just wanted ot make sure I wasn't missing "the best" way to do that.

Thanks,
-- robert
rmingee is offline   Reply With Quote
Old 10/12/2009, 01:15 PM   #104 (permalink)
Member
 
chodaboy's Avatar
 
Join Date: Aug 2004
Posts: 776
Likes Received: 7
Thanks: 92
Thanked 44 Times in 34 Posts
Default

I have the same problem as others. Still cannot install anything from the App Catalog. Everything seems installed correctly by Fair Dinkum. I have the symbolic links. Here is my df -k:
Code:
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                  452296    393920     58376  87% /
/dev/root                31728     11368     20360  36% /boot
/dev/mapper/store-root
                        452296    393920     58376  87% /
df: /dev/.static/dev: Permission denied
tmpfs                     2048       152      1896   7% /dev
/dev/mapper/store-var
                        253920    200432     53488  79% /var
/dev/mapper/store-log
                         39664      8044     31620  20% /var/log
tmpfs                    65536      3052     62484   5% /tmp
tmpfs                   122516         0    122516   0% /media/ram
/dev/mapper/store-media
                       7011456   1750944   5260512  25% /media/internal
/dev/mapper/store-var
                        253920    200432     53488  79% /opt
I guess I reached the max for /var?

Last edited by chodaboy; 10/12/2009 at 01:30 PM. Reason: Clarity
chodaboy is offline   Reply With Quote
Old 10/12/2009, 01:15 PM   #105 (permalink)
Member
 
Join Date: Sep 2009
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by maxima2k53 View Post
this DOES let u install apps from the catalog
Well then please tell me how cause I obviously am not the only person having this issue! Just read a lot of the other posts that are the same as mine!
jluna9406 is offline   Reply With Quote
Old 10/12/2009, 01:23 PM   #106 (permalink)
Member
 
maxima2k53's Avatar
 
Join Date: Jul 2009
Location: Miami, Fl
Posts: 3,596
Likes Received: 0
Thanks: 1,084
Thanked 247 Times in 206 Posts
Default

Quote:
Originally Posted by jluna9406 View Post
Well then please tell me how cause I obviously am not the only person having this issue! Just read a lot of the other posts that are the same as mine!
yeah i understand...listen this program(if i read correctly) raises the memory from 64mb to 256mb or something...so it was 64mb b4...and now its 256 so if u go over the 256 it'll give u an error...now if u barely installed apps...then i have no clue...all i know is that after i installed this app...i have been able to update 2 apps and installed over 6 or so apps and everything worked gr8 for me...if it didnt for u im really sorry and hope rod has an update or w.e
__________________
Juan

2010-2011 Champions!

maxima2k53 is offline   Reply With Quote
Thanked By: sudoer
Old 10/12/2009, 01:28 PM   #107 (permalink)
Member
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanks: 9
Thanked 19 Times in 6 Posts
Default

Seems to work fine. Downloaded several small apps and one LARGE 5MB app (Card Ace).

Thank you for the fix.
LVRealtor is offline   Reply With Quote
Old 10/12/2009, 01:33 PM   #108 (permalink)
Member
 
Join Date: Jul 2003
Location: OAKLAND
Posts: 83
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Kyusaku View Post
If you have "Show All Package Types" turned off in Preferences it would be under "Available Other>Linux Application>Utilities"(Make sure Show Other Types is on in Preferences) Or just scroll down to "List Everything" and should be one of the most recent items.

I've read every detail of every page, updated repeatedly, rebooted, looked in Available Other - Preware is still not displaying the app. Any further advice for those of us who are frustrated and merely want to benefit?
mjorange is offline   Reply With Quote
Old 10/12/2009, 01:44 PM   #109 (permalink)
Member
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanks: 9
Thanked 19 Times in 6 Posts
Default

MJ, on the first page of Preware you are selecting "List of Everything" at the bottom? Then scroll down about 9 apps (will change as new apps are added) or start typing "Fair." If still not there, I'm out of suggestions.
LVRealtor is offline   Reply With Quote
Old 10/12/2009, 01:44 PM   #110 (permalink)
Member
 
Join Date: Jul 2009
Posts: 55
Likes Received: 0
Thanks: 1
Thanked 5 Times in 5 Posts
Default

cover this one in awesome sauce!
jport1975 is offline   Reply With Quote
Old 10/12/2009, 01:45 PM   #111 (permalink)
Member
 
Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
Default

Rod, here is a mod to your 'du' command so that it will only return 0 if the app catalog is running. If app catalog is not running, it will run the normal du command. What you've posted is pretty risky for anything else that depends on the du command.

Code:
#!/bin/sh
luna-send -n 1 palm://com.palm.applicationManager/running {} 2>&1 |grep findapps  >/dev/null
if [ $? == 0 ]
then
 echo "0 $2"
else
 /usr/bin/du $*
fi
xorg is offline   Reply With Quote
Thanked by diomark, sudoer
Old 10/12/2009, 01:47 PM   #112 (permalink)
Member
 
Join Date: Jun 2009
Posts: 770
Likes Received: 0
Thanks: 37
Thanked 276 Times in 83 Posts
Default

This is great - but I'm noticing that it actually deletes the du and ipkg programs from the phone.. Might be better to move them to a backup file just in case?
-mark
EDIT - nevermind; just noticed the real du and ipkg are in a different directory and this simply replaces the NEW commands in /usr/local/bin if they exist
diomark is offline   Reply With Quote
Old 10/12/2009, 01:48 PM   #113 (permalink)
Member
 
Join Date: Jun 2009
Posts: 90
Likes Received: 0
Thanks: 1
Thanked 5 Times in 4 Posts
Default

Not showing up in my Preware eve after multiple updates. I cant see the new version of Preware either ( im stuck in 0.9.3). Any suggestions?
cyberstven is offline   Reply With Quote
Old 10/12/2009, 01:50 PM   #114 (permalink)
Member
 
chronic25's Avatar
 
Join Date: Jul 2003
Posts: 83
Likes Received: 0
Thanks: 1
Thanked 1 Time in 1 Post
Default

So it appears that if you have few Homebrew apps loaded, the App limit is now 256MB and you can load Catalog Apps up to that limit. You can then load Homebrew apps beyond that point. Therefore, what we need is an update to WebOS Quick Install that will back off and save all Homebrew apps data. Then we can add the Catalog apps from the phone. And finally, Quick Install can help us put back all of the Homebrew apps again.

OR PALM CAN JUST FIX THE PROBLEM OF HAVING SUCH A LIMITED SPACE FOR APPS IN THE FIRST PLACE!!! All this unnecessary hacking is ridiculous, especially since Palm is limiting the amount of MONEY they can make with all of these devices.

I love all of the patches and homebrew apps as much as the next user. But this limitation is so fundamental to the normal use of the phone, I'm baffled that there hasn't been an official fix to this. We need the viral video ninja to make more movies that call out Palm to this issue just like when they wouldn't announce a release date. PAAAAALM!!!!!!
__________________
11+ yrs w/ a Palm: It's come a long way!
chronic25 is offline   Reply With Quote
Thanked By: sudoer
Old 10/12/2009, 02:16 PM   #115 (permalink)
Member
 
jack87's Avatar
 
Join Date: Jun 2009
Location: Salt Lake City, Ut
Posts: 1,225
Likes Received: 9
Thanks: 78
Thanked 179 Times in 128 Posts
Default

No go for me Rod spent about an hour and a half trying to find a solution in the IRC channel. I still keep getting not enough space error after countless restarts. i have plenty of room in the var partition as well.

paste bin
Code:
/dev/mapper/store-var 248.0M    153.6M     94.3M  62% /opt
cant figure out what the deal is. but i can not download any apps from the app catalog.

i did infact check to see if the app is installed correctly and indeed it is.

feel free to send me a PM to get my attention or whoever might have some ideas. i figure i can restore the pre might fix whatever issue i have but want to figure a solution to it incase others might be facing it.

another thing i want to try is to load the pre up with bunch of catalog apps exceeding 64mb and then restoring pre to see if it will back up and reinstall all the catalog apps or will it stop once it hits 64mb... i wonder if restoring back ups has the same limit as installing from catalog. i cant test it considering the fair dinkum app is not working for me at this point.
__________________
MatterOfFactJack

Last edited by jack87; 10/12/2009 at 04:07 PM.
jack87 is offline   Reply With Quote
Old 10/12/2009, 02:26 PM   #116 (permalink)
Member
 
Join Date: May 2009
Posts: 53
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Any ideas on why this won't install? It states version incompatibility.

Quote:
I am at my limit on memory. Tried to install fix via Preware. When launching Preware I get "Package Service Manager running is not compatible with this version of Preware."

I am running what I thought were the latest versions of both.
Package Service Manger v0.9.7
Preware v0.9.4
parout is offline   Reply With Quote
Old 10/12/2009, 02:45 PM   #117 (permalink)
Member
 
sudoer's Avatar
 
Join Date: Nov 2002
Location: Boston, MA, USA (but in America's Dairyland for an extended visit)
Posts: 1,727
Likes Received: 0
Thanks: 1,508
Thanked 369 Times in 302 Posts
Default

Thanks so much for this xorg. I suggested the same thing in other posts/comments but did not bother to write the code (which you did). I did tell rwhitby that I would not install this patch until it had better personality checking to avoid breaking other patches/scripts.

EDIT: I had also suggested that he check that the parent process that is calling the du command be a process from an app catalog. Your fix does not cover the (remote) possibility that someone might be running an app catalog update and another program/script that is using du at the same time.

Quote:
Originally Posted by xorg View Post
Rod, here is a mod to your 'du' command so that it will only return 0 if the app catalog is running. If app catalog is not running, it will run the normal du command. What you've posted is pretty risky for anything else that depends on the du command.

Code:
#!/bin/sh
luna-send -n 1 palm://com.palm.applicationManager/running {} 2>&1 |grep findapps  >/dev/null
if [ $? == 0 ]
then
 echo "0 $2"
else
 /usr/bin/du $*
fi
__________________
I'm both super! ... and a doer!
sudoer is offline   Reply With Quote
Old 10/12/2009, 02:46 PM   #118 (permalink)
Member
 
mcpreos2009's Avatar
 
Join Date: Jul 2009
Location: California
Posts: 13
Likes Received: 0
Thanks: 54
Thanked 2 Times in 2 Posts
Default

ROD, Many Thank's...

AWESOME... THANK YOU... Rod... Great App... Use the App Catalog...
There was no problem downloading Software Applications...

App: ( Fair Dinkum App Limit_v.0.3.0 )

OS: webOS_v1.2.1

preware_v0.9.4 <---I Used to Install my (1'st Option) - GOOD
WebOS Quick Install_v2.72 <-- 2nd Option GOOD Aswell...
Diffstat_v1.45
GNU Patch_v2.5.9-3
__________________
m505, Samsung SPH-I300, Treo 650, Palm Pre
mcpreos2009 is offline   Reply With Quote
Old 10/12/2009, 03:16 PM   #119 (permalink)
Member
 
p4trickh's Avatar
 
Join Date: Feb 2008
Posts: 50
Likes Received: 0
Thanks: 5
Thanked 6 Times in 5 Posts
Default

This is sooo awesome. It even seems to make the downloading from the App Catalog faster! rwhitby, are you accepting worshippers into the Church of Awesome? I am not worthy, but I am very grateful!
p4trickh is offline   Reply With Quote
Old 10/12/2009, 03:17 PM   #120 (permalink)
Member
 
DrewPre's Avatar
 
Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
Default

how does this app work?

Does it allow apps to be installed in /media/internal and then create symbolic links to them in /var/usr/palm/applications or /usr/palm/application?
DrewPre is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0