Friday, March 5, 2010

Overclocking the Palm Pre

The Following is a tutorial on how to overclock your Palm Pre.
NOTE:Overclocking your palm pre is not recommended so you are doing this at your own risk
and dont go crying to sprint if your phone breaks :). Well now thats out of the way lets get too it. check it out

To overclock to the CPU's max speed do the following:

echo "600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq (600 mhz)

to change it back do the following:

echo "500000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq


Making the changes stick after you reboot your phone

Create a file called cpu-scaling in /etc/event.d and put this code in it, then reboot.


# Enables cpu scaling

start on stopped finish
stop on runlevel [!2]

console none

script
echo "500000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "250000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "30" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
end script




Return to A Fixed Frequency

run the following command:

echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ; echo 500000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed


For Giggles :p Checking Performance and Stats of the palm pre
the following will allow you to check how long your Pre has been running and at what frequency:

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state


You will get something like this:

600000 906
550000 768
500000 380
250000 0
125000 180505


Well i hope you enjoy your new pre speed :P

Cool Palm Pre stuff

Well i'm back at it again with the Palm Pre just like anything else its a love/hate relationship.Anyway enough rambling from me, the following is a tutorial on how to use the Luna Send command from the command line of the Palm Pre to do some really cool stuff check it out and enjoy :).


1. Using luna-send to refresh the Launcher panel.

command: luna-send -n 1 palm://com.palm.applicationManager/rescan {}



2. Get a list of all installed apps:

command: luna-send -n 1 "palm://com.palm.applicationManager/listLaunchPoints" "{}"


3. Using luna-send to launch an application:

command: luna-send -n 1 palm://com.palm.applicationManager/launch {\"id\":\"com.palm.app.browser\"}
luna-send -n 1 palm://com.palm.applicationManager/launch {\"id\":\"com.palm.app.browser\",\"params\":{\"scene\":\"page\",\"target\":\"http://www.google.com\"}}



4. Using luna-send to download a file to /media/internal/downloads/:

command: luna-send -n 1 palm://com.palm.downloadmanager/download {\"target\":\"http://www.google.com/index.html\"}


5. Using luna-send to control the palm progress animation (The pulsing "palm" logo seen at boot):

command: luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\"state\":\"start\"}
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\"state\":\"stop\"}



6. Using Luna with GPS from the command line

command: luna-send -n 1 palm://com.palm.location/setUseGps {\"useGps\":\"true\"}
luna-send -n 1 palm://com.palm.location/setAutoLocate {\"autoLocate\":\"true\"}
luna-send -n 1 palm://com.palm.location/getCurrentPosition {}



7. List all of the processes which are running

command: sudo luna-send -n 1 palm://com.palm.applicationManager/running {}
** Message: serviceResponse Handling: 2, { "running": [ { "id": "com.palm.launcher", "processid": "1006" }, { "id": "com.palm.systemui", "processid": "1007" }, { "id": "com.palm.app.email", "processid": "1000" }, { "id": "com.palm.app.phone", "processid": "1001" }, { "id": "com.palm.app.contacts", "processid": "1002" }, { "id": "com.palm.app.camera", "processid": "1003" }, { "id": "com.palm.app.messaging", "processid": "1004" }, { "id": "com.palm.app.calendar", "processid": "1005" }, { "id": "com.palm.app.phone", "processid": "1008" }, { "id": "com.palm.app.camera", "processid": "1014" } ] }



8. Close a process
command: luna-send -n 1 "palm://com.palm.applicationManager/close" "{\"processId\":\"1058\"}"


9. Activate the vibrator:

command:luna-send -n 1 palm://com.palm.vibrate/vibrate {\"period\":1,\"duration\":1000\}

10. Set system volume - "volume" range is 0-100

command: luna-send -n 1 palm://com.palm.audio/system/setVolume '{"volume":80}'

11. Set ringtone volume - "volume" range is 0-100

command: luna-send -n 1 palm://com.palm.audio/ringtone/setVolume '{"volume":100}'


12. Dail a number - this actually calls the number, not just setup

command: luna-send -n 1 palm://com.palm.telephony/dial '{"number":"8001234567"}'


13. Hang up a phone call :-) There are ways to end specific types of calls but I think this is good enough for now. Let me know if you want the other methods.


command:luna-send -n 1 palm://com.palm.telephony/hangupAll {}


14. Send a text message - only need to change phone "value" and "messageText"

command: luna-send -n 1 palm://com.palm.messaging/sendMessageFromCompose '{"recipientJSONArray": [{"lastName": "", "pictureLoc": "", "contactCount": 1, "displayText": "", "firstName": "", "pictureLocBig": "", "imAvailability": 6, "pictureLocSquare": "", "contactDisplay": "", "Person_id": "", "personId": "", "type": "phone", "value": "8165551234", "alreadyValidated": true, "prefix": "to$A", "identifier": ""}], "messageText": "Content of message here"}'


15. set phone to no roam

command: luna-send -n 1 palm://com.palm.telephony//roamModeSet '{"mode":"homeonly"}'


16. set the phone to auto roam

command: luna-send -n 1 palm://com.palm.telephony//roamModeSet '{"mode":"any"}'

17. set a phone to roam only

command: luna-send -n 1 palm://com.palm.telephony//roamModeSet '{"mode":"roamonly"}'

18. Enable Airplane mode

command: luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"airplaneMode":true}'

19. Disable AirPlane Mode

command: luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"airplaneMode":false}'


Well thats all i have for Now, I Hope this was some useful information. Now off to bed until breakfast yeaaaaaaaaah

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...