06/10/2009, 06:48 PM
|
#501 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 2
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
I have been exploring properties using
Code:
#/usr/bin/lunaprop Code:
root@castle:/usr/bin# lunaprop -help
usage: lunaprop \
[-n appID] # operate on appID props (otherwise on sys props) \
[-m] # shell mode \
[[-k] key_name # print (or delete, with -k) entry_for_key \
|-s key_name value # set value for key_name \
|-a ] # dump all key/value pairs \
eg: lunaprop -n com.palm.browser
eg: lunaprop -n com.palm.browser currentURL
eg: lunaprop com.palm.properties.installer
eg: lunaprop com.palm.properties.installer -a
Code:
root@castle:/usr/bin# lunaprop -a
[
{ "com.palm.properties.GMFLAG": "1" },
{ "com.palm.properties.DMSETS": "{\"sets\":\"base\",\"a\"}" },
{ "com.palm.properties.PN": "REMOVED" },
{ "com.palm.properties.PRODoID": "P100EWW" },
{ "com.palm.properties.KEYoBRD": "z" },
{ "com.palm.properties.PalmSN": "REMOVED" },
{ "com.palm.properties.HWoRev": "A" },
{ "com.palm.properties.BToADDR": "REMOVED" },
{ "com.palm.properties.WIFIoADDR": "REMOVED" },
{ "com.palm.properties.ACCELCAL":
{
"faceup_0": { "x": 183, "y": 109, "z": -9902 },
"faceup_180": { "x": 61, "y": 85, "z": -9902 },
"facedown_0": { "x": 0, "y": 0, "z": 0 },
"facedown_180": { "x": 0, "y": 0, "z": 0 },
"rightup_0": { "x": 0, "y": 0, "z": 0 },
"rightup_180": { "x": 0, "y": 0, "z": 0 },
"leftup_0": { "x": 0, "y": 0, "z": 0 },
"leftup_180": { "x": 0, "y": 0, "z": 0 },
"topup_0": { "x": 0, "y": 0, "z": 0 },
"topup_180": { "x": 0, "y": 0, "z": 0 },
"bottomup_0": { "x": 0, "y": 0, "z": 0 },
"bottomup_180": { "x": 0, "y": 0, "z": 0 }
}
},
{ "com.palm.properties.DMMODEL": "P100EWW" },
{ "com.palm.properties.DMCARRIER": "Sprint" },
{ "com.palm.properties.DMCLoAUTHNAME": "REMOVED" },
{ "com.palm.properties.DMCLoAUTHPW": "REMOVED" },
{ "com.palm.properties.DMCLoNONCE": "REMOVED" },
{ "com.palm.properties.DMSVRoAUTHPW": "REMOVED" },
{ "com.palm.properties.DMSVRoNONCE": "REMOVED" },
{ "com.palm.properties.BATToCH": "REMOVED" },
{ "com.palm.properties.BATToRSP": "REMOVED" },
{ "com.palm.properties.ModemSN": "REMOVED" },
{ "com.palm.properties.ProdSN": "REMOVED" },
{ "com.palm.properties.installer": "trenchcoat" },
{ "com.palm.properties.nduid": "REMOVED" },
{ "com.palm.properties.version": "Palm webOS 1.0.2" },
{ "com.palm.properties.buildName": "Nova-Sprint-Castle" },
{ "com.palm.properties.buildNumber": "118" },
{ "com.palm.properties.storageCapacity": "8220835840" },
{ "com.palm.properties.storageFreeSpace": "6806011904" }
]
Code:
root@castle:/var/preferences# lunaprop -n com.palm.rdxd -a
[ { "MEID": [ "REMOVED" ] } ]
scopy
|
06/10/2009, 07:03 PM
|
#502 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 32
Likes Received: 0
Thanks: 1
Thanked 13 Times in 4 Posts
|
To whome it may concern:
there is a small error in the wiki, under the backdoor page: predev.wikidot.com/backdoor this line: Code:
adduser -H /home/$MYUSER $MYUSER #You'll be asked to set your password here Code:
adduser -h /home/$MYUSER $MYUSER #You'll be asked to set your password here I tried to edit it, but was denied. How do we get access to the wiki? The good news, I can now SSH to my pre :-) |
06/10/2009, 07:10 PM
|
#503 (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:
Code:
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/ -- Rod |
|
06/10/2009, 07:18 PM
|
#504 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Socal
Posts: 78
Likes Received: 0
Thanks: 2
Thanked 6 Times in 4 Posts
|
I love the images in /usr/palm/applications/com.palm.app.firstuse/images.
Esp the ones with names like sim_card_1.png, sim_card_2.png, sim_card_3.png, sim_card_instructions_1.png, sim_card_instructions_2.png, sim_card_instructions_3.png, sim_card_instructions_4.png, sim_card_instructions_5.png.... and Sim_card.png. Just my personal favorites in that folder.
__________________
It wasn't me officer, I swear.
|
06/10/2009, 07:36 PM
|
#505 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 5
Likes Received: 0
Thanks: 4
Thanked 1 Time in 1 Post
|
Someone has posted this in the Forum:
----------------------------------------------------- Default CPU Frequency 500Mhz (from /etc/init.d/bootmisc.sh) # # Set default cpufreq (BUG: need to set twice!) # echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed ----------------------------------------------------------- This is what I am wondering: Why 600MHz first then set it to 500 MHz? Is Pre capable of running at 600MHz? What if, we change the second line to 600000. Will it result in higher clock speed? Has Palm turned down the speed for power consumption? From the look of this code. I am guessing YES. PS: I don't have a Pre YET. My contract doesn't expire until the end of August. Damn. I wish I had one now. |
06/10/2009, 07:48 PM
|
#506 (permalink) |
|
Member
![]() 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
|
I think I'm going to Pre my pants! :-)
Just in case people don't know, the *.class files can be decompiled from java byte code (.class) back into source (.java) files. I've used a program named "jad" (JAva Decompiler) to do this in the past. jad can be downloaded from here: JAD Java Decompiler Download Mirror | Tomas Varaneckas Then you run a command like the following to traverse the class tree and to create a parallel src tree containing the "java" files. (Sorry, this won't have all the interesting comments from the original source but it will be a head start in understanding what we have here!) jad -o -r -sjava -dsrc com/**/*.class -- Bob
__________________
I'm both super! ... and a doer! |
06/10/2009, 07:59 PM
|
#508 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
|
Quote:
|
|
06/10/2009, 08:38 PM
|
#512 (permalink) |
|
Member
![]() Join Date: Aug 2007
Location: Denver, CO
Posts: 33
Likes Received: 0
Thanks: 5
Thanked 20 Times in 5 Posts
|
I was able to get root using VirtualBox on Linux. Not a great solution, but it might help anyone with a Windows XP VM available.
In VBox I had to disable USB2.0 support and in Windows I had to upgrade to SP2 |
06/10/2009, 08:56 PM
|
#514 (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
|
It was an access perms typo on my part. There is no intent to make it invite only, but we do have moderators equipped to enforce the legality aspect of the channel now. We're serious about #webos-internals staying legit.
-- Rod |
06/10/2009, 09:11 PM
|
#516 (permalink) | |
|
Member
![]() 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
|
Quote:
$ pwd /users/rclancy/Downloads/webosdoctorp100ewwsprint/src/com/palm $ find nova/installer/core/stages nova/installer/core/stages nova/installer/core/stages/BaseStage.java nova/installer/core/stages/ChargeBatteryStage.java nova/installer/core/stages/CustomizationStage.java nova/installer/core/stages/EnableNovacomUsbByDefaultStage.java nova/installer/core/stages/GoIntoUpdateModeStage.java nova/installer/core/stages/ModemUpdateStage.java nova/installer/core/stages/RamdiskLoadingStage.java nova/installer/core/stages/RdxUploadStage.java nova/installer/core/stages/SoftwareUpdateSiteStage.java nova/installer/core/stages/TouchPanelUpdateStage.java nova/installer/core/stages/TrenchcoatStage.java nova/installer/core/stages/VerifyRomStage.java $ Hope this helps - (back to catching up on what you all are saying in this thread now) -- Bob
__________________
I'm both super! ... and a doer! |
|
06/10/2009, 09:12 PM
|
#517 (permalink) |
|
Member
![]() Join Date: Apr 2009
Location: Toronto, ON
Posts: 3,688
Likes Received: 266
Thanks: 185
Thanked 429 Times in 336 Posts
|
If I'm not mistaken the files seems to point that the GSM Pre will have the MSM6260, which only does 3.6Mbps HSDPA.
__________________
Palm IIIc -> Sony CLI T650C -> Sony TJ-37 -> Palm TX -> Palm Centro -> Palm Pre Bell -> Palm Pre Plus Bell/Verizon Hybrid -> HP Veer -> HP Pre 3 NA [i]Pry my keyboard from my stone dead hands. I dare you. Death to all slates./i] Need OEM Palm Pre parts? See here |
06/10/2009, 09:33 PM
|
#518 (permalink) | |
|
Member
![]() 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
|
Quote:
-- Bob
__________________
I'm both super! ... and a doer! |
|
06/10/2009, 09:36 PM
|
#519 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 14
Likes Received: 0
Thanks: 8
Thanked 6 Times in 5 Posts
|
thank you guys for everything. i just finished my first tweak -- adding reddit.com to the global search! if anyone wants to know how let me know and ill add it to the wiki.
since this is my first post i cant add a link to the screen shot, but if you PM me ill send you one. i'm also posting the screenshot on the programming subreddit. |
06/10/2009, 09:54 PM
|
#520 (permalink) |
|
Member
![]() 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
|
BullCrAP! We probably don't have the kernel source, but all the java code is easily reverse (de)compiled. (See my other post on how to do this.)
Regarding some people's concern about viruses being more prevalent, the opposite is true for open-source code. Many eyeballs can spot security vulnerabilities faster than a single team can. Typically, when these are discovered, the person discovering it tries to raise the attention of someone who can fix it. If they're unsuccessful at that, the next step is to publish the vulnerability on the Internet. Publishing the vulnerability creates an "emergency" for the vendor to patch the vulnerability before an exploit occurs. In this case, Palm would just make the fix and push it out with an OTA update. Nothing to worry about here. Having the source available to scruiting is really a good thing in this case! -- Bob
__________________
I'm both super! ... and a doer! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



