Page 1 of 2 12 LastLast
Results 1 to 20 of 23
Like Tree4Likes
  1.    #1  
    I recently just got back my TouchPad, and since it had been a while since I used it, I completely forgot my password. After digging around the TP's filesystem, I came up with a solution.

    Prerequisites
    You must be able to access your TouchPad's shell. That means you need to have either Developer Mode enabled, or SSH for your TP is set up and Wi-Fi is on. To learn more about Developer Mode, see this page over at the HP webOS Developer Center. If you are using Developer Mode, you will need to have Novacom Drivers installed on your computer. Go here to get it.

    If you do not have Developer Mode enabled, you may use this Activation Bypass Guide to do it. A side effect of running the bypass tool is Novacom will be enabled, allowing you to follow the steps described below. Note that activation bypass has no adverse effects on a live system, as it would already be activated or bypassed if you can set a passcode on it.

    Please note that Exchange users whose device policies dictate they have a password will be unable to remove their passcodes regularly using this method.

    Procedure
    1. Open up a shell session. If you are using SSH, fire up your client and connect per normal. If you are using Novacom (Developer Mode), connect your TouchPad to your computer using the USB cable, and then open Novaterm by running
    Code:
    C:\Program Files\Palm, Inc\terminal\novaterm.bat
    2. Enter the following:
    Code:
    # luna-send -f -n 1 palm://com.palm.systemmanager/setDevicePasscode '{"passCode":"", "lockMode":"none"}'
    Do not enter the "#". It represents your shell prompt. (For those of you who have used luna-send before, you may have noticed the "-f" argument. It tells luna-send to format the output so it's more readable.) You should see the following:
    Code:
    {
        "returnValue": true
    }
    3. Check that the passcode has been removed. Enter:
    Code:
    # luna-send -f -n 1 palm://com.palm.systemmanager/getDeviceLockMode {}
    You should see something similar to the following:
    Code:
    {
        "returnValue": true,
        "subscribed": false,
        "lockMode": "none",
        "policyState": "active",
        "retriesLeft": 0
    }
    If you see '"lockMode": "none"', that means your passcode has been successfully removed. You can now access your TouchPad by pressing the power or center button. If you still can't get in, hold the power and center button for a few seconds until the TouchPad resets type
    Code:
    reboot
    into your prompt. (Don't use hard reset, because filesystems won't be unmounted and you'll have to wait for fs-ck to finish on the restart.)

    Screenshot
    wterm_2012-01-01_231000.png

    Other notes
    - Please do not use this to gain unauthorized access to other people's TouchPads. It is also not funny to change people's passcodes so that they can't access it, by breaking in and then setting it normally, unless it was April Fool's Day and you are certain that you can remove the passcode again.
    - This trick can be seen as both a good and bad thing. It's useful to be able to get rid of the passcode instead of remote wiping a TouchPad, but it is also sort of a security risk for all those who have Developer Mode enabled. Take what you will from it.
    - The commands were derived by combining luna-send and service calls from the Screen & Lock preference app. The calls can be found in the source file
    Code:
    /usr/palm/applications/com.palm.app.screenlock/source/ScreenLockPrefApp.jsjsjs
    .
    Last edited by GMMan; 03/20/2013 at 08:28 PM. Reason: Replaced novacom shell instructions with path to novaterm
  2. #2  
    you're awesome !
  3. #3  
    .
    What great timing... on Tuesday I was about to Doctor a Client's TouchPad (They had too much holiday cheer & could not remember their passcode). Just tried your step by step procedure on their TouchPad and it worked flawlessly. Much appreciated and thanks for posting...
    .
    .
    .
    ........JC.........

    .
  4. #4  
    This can be good or bad. And, I will keep this info for later...
    IIIXE>Clie:N710C>N760C>NX60>Treo[600>650>700]>Centro>Pre+>Pre2&Touchpad 32GB
    webOS Themes: star-trek-universe star-trek-future Future Trek for Tpad

    My CV: http://visualcv.com/egadgetguy
  5. #5  
    thanks, my b/f forgot his passcode (that he set after a few too many :/) and I will try this tonight.
  6. #6  
    So glad I found this today.

    I hadn't used my TP in a couple weeks and none of the passwords I tried were working, thanks so much.
  7. #7  
    thank you!

    I had accidentally forgot to unset the PIN before messing around with lunaCE and got locked out. this solved it nicely!
  8. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #8  
    Wanted to remove PIN so I could try LunaCE. Can't remove because of exchange email.

    Tried this, but got this response:

    {
    "returnValue": false,
    "errorText": "Passcode is empty",
    "errorCode": -1
    }

    Any thoughts?
  9.    #9  
    Are you sure your lock mode is "none"? If you have access beyond the lock screen, you could just remove it with the Screen & Lock app.
  10. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #10  
    Quote Originally Posted by GMMan View Post
    Are you sure your lock mode is "none"? If you have access beyond the lock screen, you could just remove it with the Screen & Lock app.
    I don't have the option to remove in Screen & Lock app. Also, although I have the option of a pass phrase, it forces a PIN.

    Will it work if I put "" instead of "none" in the linux
  11.    #11  
    It'll probably throw an error. Could you post a screenshot so I can see exactly what you typed in and exactly what is outputted?
  12. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #12  
    I've attached a screen shot.
    Attached Images Attached Images
  13.    #13  
    Quote Originally Posted by ahershey View Post
    I've attached a screen shot.
    That's weird. How about setting the passcode to a string and the mode to "pin"? If that works, you should be able to unlock with the PIN.
  14. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #14  
    Quote Originally Posted by GMMan View Post
    That's weird. How about setting the passcode to a string and the mode to "pin"? If that works, you should be able to unlock with the PIN.
    I don't have a problem unlocking with my PIN, but I want to remove it so that I can try LunaCE. I can't seem to get it to remove.
  15.    #15  
    Quote Originally Posted by ahershey View Post
    I don't have a problem unlocking with my PIN, but I want to remove it so that I can try LunaCE. I can't seem to get it to remove.
    Can you set it to a different one at all?

    I do have a last-ditch method where you can remove the file with the password, but you have to somehow configure the keyring database to be keyless or you'll have to reenter all your passwords.
  16. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #16  
    Quote Originally Posted by GMMan View Post
    Can you set it to a different one at all?

    I do have a last-ditch method where you can remove the file with the password, but you have to somehow configure the keyring database to be keyless or you'll have to reenter all your passwords.
    Yes, I can change the PIN. I can also change from PIN to password. After both changes, I ran your script and had the same response.

    Not sure how to configure keyring database.
  17. ahershey's Avatar
    Posts
    58 Posts
    Global Posts
    61 Global Posts
    #17  
    Any other ideas?
  18.    #18  
    Hmm... I'd say just wing it. Rename /var/luna/data/.passcode to something else, and that would effectively remove your screen lock. Reboot, and check if you can still access your data. If so, re-enter your password for your accounts, and then install LunaCE.
  19. #19  
    I know this is quite an old thread, but if anyone could tell me what I'm doing wrong I would appreciate it.

    I have novaterm running and I've put in the code from step 2, the output is command not found.

    Any help would be appreciated.
    Last edited by redno30; 11/09/2013 at 10:28 AM.
  20. #20  
    Maybe you're still in Windows? Are you on the command prompt of the Touchpad?
Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions