View Full Version : Palm WebOS Preenv SOLUTION FOR SPACE!!!



emahaha
3rd December 2010, 18:15
Hi all
I just anted to share with you this wonderful 5Gb-space-for-apps image which you can flash onto your N900 with the usual method but replacing the normal eMMC image with this ([Only registered and activated users can see links])
flashing instructions here ([Only registered and activated users can see links])

good luck!

zdanee
5th December 2010, 20:36
I usually copy large files from games to eMMC and make a symlink. Loading is a bit slower, and I cannot play games while connected to PC, but who cares? Basically all you have to leave on the /opt is the executeable, because the eMMC is FAT-formatted. You can symlink entire directories as well.

emahaha
7th December 2010, 13:14
that seems rather complicated for a noob ooor an average user wh9o doesnt know or doesnt wanna know what a symlink is Ș)flashing is so much easier considering you got like 2 lines to type Ș)
anyway...

zdanee
9th December 2010, 02:11
that seems rather complicated for a noob ooor an average user wh9o doesnt know or doesnt wanna know what a symlink is Ș)flashing is so much easier considering you got like 2 lines to type Ș)
anyway...

Well, I used one line: 'mc'
Symlink is basically what a shortcut is in windows, like you dont install your programs on your desktop, but want to have a link there as well. You simply copy the large files or subfolders from /opt to anywhere on the eMMC, and make a symlink (no need to know commands, just use the menu in mc). When youre done with the game and uninstall it, you aint stuck with worthless free space on /opt just to have a full eMMC at the same time.

BTW if you dont want to get your hands dirty in command line, go for an Android, you wont be able to use your N900 at its full potential.

OMI
23rd January 2011, 22:44
Well, I used one line: 'mc'
Symlink is basically what a shortcut is in windows, like you dont install your programs on your desktop, but want to have a link there as well. You simply copy the large files or subfolders from /opt to anywhere on the eMMC, and make a symlink (no need to know commands, just use the menu in mc). When youre done with the game and uninstall it, you aint stuck with worthless free space on /opt just to have a full eMMC at the same time.

BTW if you dont want to get your hands dirty in command line, go for an Android, you wont be able to use your N900 at its full potential.

will u help step by step i wanna use ur method

muid02
15th April 2011, 18:18
when i open skater nation it crashes..it automatically close..i am using preenv 1.7..when i was using 1.4 it worked well..ny soln?

Dmoe
15th April 2011, 23:39
may work not definate , try the latest libsdlpre.so ...

[Only registered and activated users can see links]

came out 13.04.11 .

backup your existing libsdlpre.so before overwriting though !!

dtchky
16th April 2011, 07:13
that seems rather complicated for a noob ooor an average user wh9o doesnt know or doesnt wanna know what a symlink is Ș)flashing is so much easier considering you got like 2 lines to type Ș)
anyway...

This is one of the more absurd things I've read lately - please don't be offended. Reinstall your entire firmware, applications, contacts, the works, which takes many hours, when the following is just a 2 second task in an xterm:

ln -s <source file or directory> <link>

muid02
1st May 2011, 16:27
i am lacking of space.plzzzzzzzzzzzzzzzzzzz i need step by step instructions.plzzzzzzzzzzzz help me..quick..thanks.more games are waiting:P

zdanee
1st May 2011, 17:07
Step 1: start X-term
Step 2: become root: type root
Step 3: start mc: type mc
Step 3.1: if mc is not installed, connect to internet, type apt-get install mc
Step 3.2: if mc is now installed, go to Step 3
Step 4: navigate to your eMMC folder. It is in /home/user/MyDocs
Step 5: create a directory to hold your game files. It will be a hidden folder if it starts with a point. Tap on F7 (New Folder), and make .WebOSGames
Step 6: go to the other tab (press [Tab]), and navigate to /opt/preenv/usr/palm/applications
Step 7: Ctrl+Space shows each games size on disk. Select a big one
Step 8: Select a large file or a folder in the game directory. Make sure you do not select a file that is green and has an asterix before its name (like *Angrybirds) or a folder that contains such a file!
Step 9: Move this file or folder into .WebOSGames by tapping on F6 (Move)
Step 10: Select the moved file or folder and use the File -> SymLink menu. This copies a link back to the original folder, the file or folder will have a ~ before its name.
Step 10.1: If still not enough, return to Step 8
Step 11: ?
Step 12: Profit!

muid02
1st May 2011, 17:31
Step 1: start X-term
Step 2: become root: type root
Step 3: start mc: type mc
Step 3.1: if mc is not installed, connect to internet, type apt-get install mc
Step 3.2: if mc is now installed, go to Step 3
Step 4: navigate to your eMMC folder. It is in /home/user/MyDocs
Step 5: create a directory to hold your game files. It will be a hidden folder if it starts with a point. Tap on F7 (New Folder), and make .WebOSGames
Step 6: go to the other tab (press [Tab]), and navigate to /opt/preenv/usr/palm/applications
Step 7: Ctrl+Space shows each games size on disk. Select a big one
Step 8: Select a large file or a folder in the game directory. Make sure you do not select a file that is green and has an asterix before its name (like *Angrybirds) or a folder that contains such a file!
Step 9: Move this file or folder into .WebOSGames by tapping on F6 (Move)
Step 10: Select the moved file or folder and use the File -> SymLink menu. This copies a link back to the original folder, the file or folder will have a ~ before its name.
Step 10.1: If still not enough, return to Step 8
Step 11: ?
Step 12: Profit!

step 4: how to navigate using xterminal.shud i jst use my normal file manager and create a new folder in home/user/MyDocs? m totally lost after step 4. "create a directory to hold your game files. It will be a hidden folder if it starts with a point. Tap on F7 (New Folder), and make .WebOSGames" totally lost man.nyz thanks a lott. i gess i dont hab mc installed.but at this point i hav no gprs connection nor wifi.

zdanee
1st May 2011, 18:27
Tapping F7 in mc will create your folder. It is located at the bottom of the screen. F6 is also there. You can also tap the Esc button in terminal window and type the corresponding number, like Esc+7 = F7. You need to install mc, other filemanagers can not create links. This whole procedure is like copying a big file from your desktop to somewhere and then placing a link to the original place, just like you would do on your PC (you dont have Firefox installed on your desktop, you just have a link there. Also mc is just like TotalCommander on your PC). There are other methods using just the terminal, but seeing your linux skills I would not advise it.

anadikc
1st May 2011, 20:31
required software for n900:
preenv
rootsh
leafpad (or any notepad app for n900)
filebox (under settings, make sure "enable root access" box is checked, "auto select items in clipboard" box is checked, and "delete items from clipboard on Paste" is checked)


step by step modification of some files firstdo not include "")

1. Open Xterm and type "root" then hit enter

2. type "leafpad /usr/sbin/mmc-mount" then hit enter.

3. leafpad will appear and you have to modify the file, remove only the text "noexec", change the value of "fmask" to "000" instead of 0133 and save and close the file.

4. from the xterm type "leafpad /etc/default/mount-opts" then hit enter.

5. leafpad will appear and you have to modify the file:
the first line should appear as:
home_opts="rw,noatime,errors=continue,commit=1,dat a=writeback"
the second line should appear as:
fat_opts="noauto,nodev,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=000, rodir", save and close the file.

6. reboot your phone.



proper installation of games:

1. create a game folder (I used "preenvgames") in home/user/MyDocs

1. download the .deb preenv game (google it, I cannot provide it here, it's kind of illegal) and save it to your n900


2. install the .deb preenv game by just clicking on it. application manager will install it for you.


3. navigate (using filebox) to /opt/preenv/usr/palm/applications, press and hold the game file (example: com.laminar-research.app.xplane-default), copy it.


4. navigate (using filebox) to /home/user/MyDocs/preenvgames and paste the file there (just click the top button on the right and click paste from clipboard)

5. navigate back (using filebox) to /opt/preenv/usr/palm/applications, press and hold the game file (example: com.laminar-research.app.xplane-default), delete it.

6. create a symlink from /opt/preenv/usr/palm/applications (same directory where we deleted the game file). to create a symlink just click on the button on top right and click on "create new symlink", symlink destination will appear and navigate to your gamefile /home/user/MyDocs/preenvgames/gamefile(that is com.something.something.something), you will see now a folder with an arrow (it's kind of a shortcut icon)

7. Launch the game

muid02
2nd May 2011, 08:08
i do not have filebox intsalled.now i do not have gprs connection nor wifi.i will follow the steps when i get wifi.but thanks a lot.u guys are so great amd helpful. hope someday i will also be able to help u guys on something:):)

kaosking
29th June 2011, 23:17
when i open skater nation it crashes..it automatically close..i am using preenv 1.7..when i was using 1.4 it worked well..ny soln?
I've got this same problem. Preenv 1.7 & libsdlpre.so 78kb (the new one).

When starting a new game it lets me do the tutorial and then crashes at the end of it. Xterm output looks like this:


** Plenty of audio errors, so much so that the buffer cant go further back than audio errors**

Couldn't load music BGM9.ogg
Couldn't load music BGM9.ogg
Couldn't load chunk mem_hw_frt_asph.wav- :s
Couldn't load music BGM8.ogg
Couldn't load music BGM10.ogg
Couldn't load music BGM16.ogg
Couldn't load music BGM12.ogg
Couldn't load chunk mem_hw_frt_asph.wav- :s
Couldn't load music BGM14.ogg
Couldn't load music BGM5.ogg
Couldn't load music BGM15.ogg
Couldn't load chunk mem_hw_frt_asph.wav- :s
Couldn't load music BGM3.ogg
Couldn't load music BGM1.ogg
Couldn't load music BGM4.ogg
Couldn't load chunk mem_hw_frt_asph.wav- :s
*** glibc detected *** /usr/palm/applications/com.gameloft.app.skater/skater/Skater: munmap_chunk(): invalid pointer: 0xbea89b75 ***
======= Backtrace: =========
/lib/libc.so.6[0x4021323c]
/lib/libc.so.6[0x40214090]
/lib/libc.so.6(cfree+0x150)[0x40214880]
/usr/lib/libstdc++.so.6(_ZdlPv+0x14)[0x404180dc]
/usr/lib/libstdc++.so.6(_ZdaPv+0xc)[0x40418104]
/usr/palm/applications/com.gameloft.app.skater/skater/Skater[0xd4834]
======= Memory map: ========
Aborted
~ $

Any ideas?

bruss
22nd August 2011, 17:53
install backup menu, make sure that your battery is full, boot backup menu, backup rootfs and opt if you want to be safe, mount usb in backup menu, and simply use gparted or kparted on yor pc to resize mydocs and opt by draging everything with your mouse
there is nothing simpler than that, no reflashing, symlinking or anything else needed
just make sure your battery is good and that you have backup, the process takes about one hour if your opt is 1.5gb+ full