webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes
First
...
8 13 14 15 16 17 18
19 20 21 22 23 28
...
Last
Member:
edoan
at: 08:57 AM 06/10/2009
as discussed ad naseum by the tech blogs prior to Palm Pre launch day, the iTunes sync capability comes courtesy of /resources/webOS/nova/usr/lib/storaged/diskmode-call.sh
Originally Posted by :
#!/bin/sh
if [ x$1 = xon ]; then
# set up sysfs entries
/usr/lib/storaged/diskmode.sh media init Apple iPod 1.62 /usr/share/storaged/SysInfoExtended
# on which this depends
/usr/lib/storaged/diskmode.sh media on
elif [ x$1 = xoff ]; then
/usr/lib/storaged/diskmode.sh media off
else
echo "unknown arg $1" >& 2
fi
This is the same response as what an iPod nano 3G would give when plugged in via USB. It's unlikely Apple could tweak iTunes to break Palm Pre sync unless they started checking for reported serial number against this DB. Plugging an iPod nano 3G into a PC gives this response (same as Pre):
Originally Posted by :
1677.692000] usb-storage: device found at 7
[ 1677.692000] usb-storage: waiting for device to settle before scanning
[ 1682.692000] usb-storage: device scan complete
[ 1682.704000] scsi 4:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
Just wanted to thank PALM and everyone here for their fine work.
The ability to customize and tweak WebOS to our liking is very exciting.
Custom global search possibility?
In the file /usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.
js
[code]GlobalSearchAssistant = Class.create({
initialize : function(controller, appAssistant) {
this.launcherAssistant = appAssistant;
this.currentFilter = '';
this.controller = controller;
this.searchExplicitlyExpanded = false;
this.noMatches = false;
this.offset=0;
this.limit=40;
this.URLs = {
'google':$L("www.google.com/m/search?client=ms-palm-webOS&channel=iss&q="),
'wikipedia':$L("http://en.wikipedia.org/wiki/Special:Search/"),
'twitter': $L("http://search.twitter.com/search?q=")
};
this.imAccount={};[/code]
I see Yahoo was intended to be on global search, the logo exist.
Now if someone can add Merriam-Webster... I won't need WordNet anymore. :P
Originally Posted by cruelpupet:
Just wanted to thank PALM and everyone here for their fine work.
The ability to customize and tweak WebOS to our liking is very exciting.
I wouldn't exactly say that Palm leaked this on purpose. However, thanking them for their extensive documentation and free flowing implementations isn't a bad idea
Member:
schraal
at: 09:07 AM 06/10/2009
Originally Posted by edoan:
grepping through /usr/lib/luna/CarrierNetworkSettings.db3
or use the "SQLite Manager" FireFox plugin to open the db3 files...
Member:
ldrolez
at: 09:14 AM 06/10/2009
Originally Posted by schraal:
or use the "SQLite Manager" FireFox plugin to open the db3 files... 
Just tried on the command line and I get : "file is encrypted or is not a database" ...
Member:
OSU0034
at: 09:14 AM 06/10/2009
Originally Posted by srfcrzy:
I only barely understand all of what you are saying here, but I just want to say...it's a beautiful thing to read. Seriously almost brings tears to my eyes. Thanks for all of your amazing work!
I couldn't agree more... although I sort of understand bits and pieces of it. Great job everyone!!
Member:
ldrolez
at: 09:15 AM 06/10/2009
I saw that there's LVM on this palm. Anyone can post the output of "vgdisplay" ?
Member:
JustinZ
at: 09:31 AM 06/10/2009
I just noticed in /etc/palm/luna.conf the following Launcher settings:
DisplayWidth=320
DisplayHeight=480
DisplayNumBuffers=3
I wonder if DisplayNumBuffers is the number of Launcher pages and if we can get more by increasing this number.
Member:
schraal
at: 09:32 AM 06/10/2009
Originally Posted by ldrolez:
Just tried on the command line and I get : "file is encrypted or is not a database" ...
Strange, using the FireFox plugin I could see the complete contents of the DB, including all views and indexes, etc.
For my country e.g. all mobile providers are listed in the CarrierNetworkSettings table. But only Vodafone is listed as a data provider in the DataConnectionSettings table.
Member:
ldrolez
at: 09:35 AM 06/10/2009
For ipkg: usually the sources are in /etc/ipkg.conf.
On my router, I have:
src release http : //downloads.openwrt.org/kamikaze/7.09/brcm47xx-2.6/packages
src packages http: //downloads.openwrt.org/kamikaze/packages/mipsel
Member:
ldrolez
at: 09:42 AM 06/10/2009
Originally Posted by schraal:
Strange, using the FireFox plugin I could see the complete contents of the DB
Ooops ! Upgraded my sqlite tools and it works...
It seems that a lot of stuff is in PalmDatabase.db3... So if this database gets corrupt, you loose nearly everything... But that's easy to backup.
Member:
kaze0
at: 09:43 AM 06/10/2009
I fixed the Alarm Clock app to work correctly when weekdays is selected.
The issue was in the transition between Saturday to Monday, the logic there was wrong and it was just bumping up. The bug would not present itself unless you set the alarm on a Saturday. "Luckily" this happened to everyone who set a weekday alarm immediately after getting the phone, oops.
The transition from Friday to Monday worked fine.
I'll post some of the details soon.
Member:
Madrox
at: 09:45 AM 06/10/2009
Originally Posted by JustinZ:
I just noticed in /etc/palm/luna.conf the following Launcher settings:
DisplayWidth=320
DisplayHeight=480
DisplayNumBuffers=3
I wonder if DisplayNumBuffers is the number of Launcher pages and if we can get more by increasing this number.
That probably is just the number of "screens ahead" they're drawing. You hear a lot about triple buffering in graphics.
That said, I bet decreasing this could free up some memory..though at risk of graphics getting a little choppier at times.
Developer:
rwhitby
at: 09:55 AM 06/10/2009
Originally Posted by ldrolez:
For ipkg: usually the sources are in /etc/ipkg.conf.
On my router, I have:
src release http : //downloads.openwrt.org/kamikaze/7.09/brcm47xx-2.6/packages
src packages http: //downloads.openwrt.org/kamikaze/packages/mipsel
It seems that the rootfs does not have an /etc/ipkg.conf by default, and the files in /usr/lib/ipkg/* all point to internal palm URLs. It has the normal /etc/ipkg/arch.conf file, with 'castle' as the device-specific arch identifier.
But we have been able to add an /etc/ipkg/optware.conf with
[code]src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable[/code]
in it and enable the installation of over 1700 optware packages that way.
-- Rod
Member:
ldrolez
at: 10:08 AM 06/10/2009
Originally Posted by rwhitby:
in it and enable the installation of over 1700 optware packages that way.
Nice ! Soon we'll run asterisk on it to turn this phone into a PABX
But how much space left on the Pre ? df -h ?
Member:
edoan
at: 10:12 AM 06/10/2009
Further evidence of a GSM Palm Pre coming: /usr/lib/modem/
Originally Posted by :
-rw-r--r-- 1 root root 8110080 May 22 16:19 castlecdma_evt1_fw.tar
-rw-r--r-- 1 root root 13117440 May 22 16:19 castleumtsfw.tar
-rw-r--r-- 1 root root 13117440 May 22 16:19 castleumtsfw_dvt.tar
So with UMTS, the Pre could match iPhone 3GS's 7.2 Mbps HSDPA downlink speed.
Member:
VinceV
at: 10:41 AM 06/10/2009
Originally Posted by ldrolez:
But how much space left on the Pre ? df -h ?
I have a couple apps installed, and 2 or 3 MP3s, but here is my df -h:
[CODE]Filesystem Size Used Available Use% Mounted on
rootfs 441.7M 368.2M 73.5M 83% /
/dev/root 31.0M 11.1M 19.9M 36% /boot
/dev/mapper/store-root
441.7M 368.2M 73.5M 83% /
/dev/mapper/store-root
441.7M 368.2M 73.5M 83% /dev/.static/dev
tmpfs 2.0M 176.0k 1.8M 9% /dev
/dev/mapper/store-var
248.0M 55.6M 192.4M 22% /var
/dev/mapper/store-log
38.7M 6.1M 32.7M 16% /var/log
tmpfs 64.0M 132.0k 63.9M 0% /tmp
tmpfs 119.6M 0 119.6M 0% /media/ram
/dev/mapper/store-media
6.7G 48.0M 6.6G 1% /media/internal[/CODE]
-Vince
Originally Posted by edoan:
Further evidence of a GSM Palm Pre coming: /usr/lib/modem/
So with UMTS, the Pre could match iPhone 3GS's 7.2 Mbps HSDPA downlink speed.
If that is the truth, then that is HUGE for Palm.
Member:
rposa
at: 10:53 AM 06/10/2009
With this root attack on windows using Python (and thus being able to telnet to the device) ---
What about security over the cell ppp link, or did you just disable the firewall on the wireless?
How to restore some semblance of security, or does the attack go away on reboot / turning off of dev mode ?
thanks!
First
...
8 13 14 15 16 17 18
19 20 21 22 23 28
...
Last
webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes