Page 1 of 2 12 LastLast
Results 1 to 20 of 36
Like Tree4Likes
  1.    #1  
    Hi,

    So here's the situation. I'm on Verizon using an android phone now but found a good condition Pre Plus on ebay that was stuck on boot for cheap. Thought I'd get it just for kicks, and since I've read it's almost impossible to brick a Pre, thought I could fix it.

    I am able to get into USB recovery mode just fine. First thing I tried was running WebOS Doctor, but every time I try it gets stuck at 8%. Running the doctor through the command line, I get this exception every time:
    Code:
    Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 3
    	at com.palm.nova.installer.core.FlasherThread.getToken(FlasherThread.java:449)
    	at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:175)
    	at java.lang.Thread.run(Thread.java:722)
    I've tried the solution for this at webos-internals with no luck. I get
    Code:
    root@palm-webos-device:/# mkdosfs -f 1 -s 64 /dev/store/media
    mkdosfs 3.0.2 (28 Feb 2009)
    /dev/store/media: No such file or directory
    Next thing I tried was every step at the webos-internals emergency recovery page. Still no luck running the doctor and getting past 8%. The one sign I got that I'm getting close though is with the NVRAM tokens. When I list the tokens on the device, I only get three:
    Code:
    root@palm-webos-device:/# tokens --list
    <INFO> "DMSETS" = "{"sets":"1263","1271"}" (22 bytes)
    <INFO> "ProdSN" = "CAPEAA4PCF001C" (14 bytes)
    <INFO> "installer" = "trenchcoat" (10 bytes)
    I think this is the problem as it says that the doctor will not run without certain tokens. However, I have not been able to figure out a way to add new tokens. I have no backup to restore, but is there a way to simply add the basic tokens? I tried using Meta-Doctor with a modified castle.xml file with no luck. Get the same exception.

    Any help would be greatly appreciated!
  2.    #2  
    does anyone have any idea what I can do next? is my device bricked for good?
  3. #3  
    Use the command line to run the Doctor java -jar name of doctor file.jar

    Replace name of doctor file.jar with the name of your doctor file...

    Then select all of text in command line (after doctor has run against device), then copy&paste into a text editor, then attach the log to a post...

    Otherwise, we can not help, when we can't see what is wrong...
  4.    #4  
    Code:
    rint
    INFO: Loading Ramdisk: leftToWrite 5720949
    
    leftToWrite 5655413
    May 16, 2013 1:45:25 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5655413
    
    leftToWrite 5589877
    May 16, 2013 1:45:25 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5589877
    
    leftToWrite 5524341
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5524341
    
    leftToWrite 5458805
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5458805
    
    leftToWrite 5393269
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5393269
    
    leftToWrite 5327733
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5327733
    
    leftToWrite 5262197
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5262197
    
    leftToWrite 5196661
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5196661
    
    leftToWrite 5131125
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5131125
    
    leftToWrite 5065589
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5065589
    
    leftToWrite 5000053
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5000053
    
    leftToWrite 4934517
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4934517
    
    leftToWrite 4868981
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4868981
    
    leftToWrite 4803445
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4803445
    
    leftToWrite 4737909
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4737909
    
    leftToWrite 4672373
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4672373
    
    leftToWrite 4606837
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4606837
    
    leftToWrite 4541301
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4541301
    
    leftToWrite 4475765
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4475765
    
    leftToWrite 4410229
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4410229
    
    leftToWrite 4344693
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4344693
    
    leftToWrite 4279157
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4279157
    
    leftToWrite 4213621
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4213621
    
    leftToWrite 4148085
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4148085
    
    leftToWrite 4082549
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4082549
    
    leftToWrite 4017013
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4017013
    
    leftToWrite 3951477
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3951477
    
    leftToWrite 3885941
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3885941
    
    leftToWrite 3820405
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3820405
    
    leftToWrite 3754869
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3754869
    
    leftToWrite 3689333
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3689333
    
    leftToWrite 3623797
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3623797
    
    leftToWrite 3558261
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3558261
    
    leftToWrite 3492725
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3492725
    
    leftToWrite 3427189
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3427189
    
    leftToWrite 3361653
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3361653
    
    leftToWrite 3296117
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3296117
    
    leftToWrite 3230581
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3230581
    
    leftToWrite 3165045
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3165045
    
    leftToWrite 3099509
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3099509
    
    leftToWrite 3033973
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3033973
    
    leftToWrite 2968437
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2968437
    
    leftToWrite 2902901
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2902901
    
    leftToWrite 2837365
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2837365
    
    leftToWrite 2771829
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2771829
    
    leftToWrite 2706293
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2706293
    
    leftToWrite 2640757
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2640757
    
    leftToWrite 2575221
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2575221
    
    leftToWrite 2509685
    May 16, 2013 1:45:26 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2509685
    
    leftToWrite 2444149
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2444149
    
    leftToWrite 2378613
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2378613
    
    leftToWrite 2313077
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2313077
    
    leftToWrite 2247541
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2247541
    
    leftToWrite 2182005
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2182005
    
    leftToWrite 2116469
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2116469
    
    leftToWrite 2050933
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2050933
    
    leftToWrite 1985397
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1985397
    
    leftToWrite 1919861
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1919861
    
    leftToWrite 1854325
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1854325
    
    leftToWrite 1788789
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1788789
    
    leftToWrite 1723253
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1723253
    
    leftToWrite 1657717
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1657717
    
    leftToWrite 1592181
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1592181
    
    leftToWrite 1526645
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1526645
    
    leftToWrite 1461109
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1461109
    
    leftToWrite 1395573
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1395573
    
    leftToWrite 1330037
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1330037
    
    leftToWrite 1264501
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1264501
    
    leftToWrite 1198965
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1198965
    
    leftToWrite 1133429
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1133429
    
    leftToWrite 1067893
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1067893
    
    leftToWrite 1002357
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1002357
    
    leftToWrite 936821
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 936821
    
    leftToWrite 871285
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 871285
    
    leftToWrite 805749
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 805749
    
    leftToWrite 740213
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 740213
    
    leftToWrite 674677
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 674677
    
    leftToWrite 609141
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 609141
    
    leftToWrite 543605
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 543605
    
    leftToWrite 478069
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 478069
    
    leftToWrite 412533
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 412533
    
    leftToWrite 346997
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 346997
    
    leftToWrite 281461
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 281461
    
    leftToWrite 215925
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 215925
    
    leftToWrite 150389
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 150389
    
    leftToWrite 84853
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 84853
    
    leftToWrite 19317
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 19317
    
    leftToWrite 0
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Booting
    
    update Loading Ramdisk50
    May 16, 2013 1:45:27 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Waiting for device to come back
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Ramdisk has booted!
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Finished: Loading Ramdisk
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: device is in ramdisk as expected
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Starting: AppDeletion
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: deleting applications folder 
    
    looking for LVM while in installer mode
    got lvm static, running vgscan
    +++++runCommand /usr/sbin/lvm.static
    MountUtils:File descriptor 3 (socket:[933]) leaked on lvm.static invocation. Parent PID 747: novacomd
    
    MountUtils:  Reading all physical volumes.  This may take a while...
    
    flushing and closing
    -----runCommand
    vgscan ran, running vgchange
    returned from vgchange
    MountUtils:File descriptor 3 (socket:[933]) leaked on lvm.static invocation. Parent PID 747: novacomd
    
    Warning: Couldn't Mount: MEDIAFS
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: rm: cannot remove '/tmp_mediafs/.palm': No such file or directory
    
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: removed the appDirectory: /tmp_mediafs/.palm
    
    Unmounting null
    Warning: Couldn't Unmount: MEDIAFS
    +++++runCommand /usr/sbin/lvm.static
    MountUtils:File descriptor 3 (socket:[933]) leaked on lvm.static invocation. Parent PID 747: novacomd
    
    flushing and closing
    -----runCommand
    May 16, 2013 1:45:43 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Finished: AppDeletion
    
    Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 3
    	at com.palm.nova.installer.core.FlasherThread.getToken(FlasherThread.java:449)
    	at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:175)
    	at java.lang.Thread.run(Thread.java:722)
  5. #5  
    Does not appear to be Full log, as it stops before we see the reason it failed (moved to failed card)...

    But from this warning: Warning: Couldn't Mount: MEDIAFS

    I would say one would have to use LVM and remove the media partition and re-create it...

    How To Recover - WebOS Internals

    Even though one can not Brick a PrePlus, the NAND can get locked, if you attempt to remove the LVM and it can not be removed this would be a sign that it could be locked, I have seen the NAND look locked, but running a f s c k (File System Check, one word) against each partition has been known to fix a temporary lock.
  6.    #6  
    That's as much of the log as my terminal showed. I suppose there's some way to export the full log to a file or something?

    I assume that to rebuild the media partition, I should follow that last section in that guide How To Recover - WebOS Internals? I'm not too familiar with linux commands so a step by step of commands to run would be helpful if it's not in the guide.

    Thanks, I'll give it a try! Will report back results
  7. #7  
    You know how to redirect output to a file? Do that when you run the doctor. I'll try to post here... Paraphrased:

    java blah.jar > dr.log
  8.    #8  
    here's some more info. i tried scanning each partition and running fsck and here's the output. i don't really understand much of it. i'm pretty much a linux noobie though i am know how to use the command line, looking up man pages, etc. i don't understand what's going on though most of the time.

    Code:
    $ novacom boot mem:// < nova-installer-image-castle.uImage 
    
    $ novaterm
    
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[938]) leaked on lvm.static invocation. Parent PID 770: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[938]) leaked on lvm.static invocation. Parent PID 770: /bin/sh
    
    root@palm-webos-device:/# lvm.static lvs
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 763: /bin/sh
    
    root@palm-webos-device:/# df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    rootfs                   29511     25429      2582  91% /
    /dev/root                29511     25429      2582  91% /
    /dev/root                29511     25429      2582  91% /dev/.static/dev
    tmpfs                     2048        80      1968   4% /dev
    tmpfs                   252340         4    252336   0% /tmp
    
    root@palm-webos-device:/# umount /tmp
    root@palm-webos-device:/# fsck /tmp
    fsck 1.41.4 (27-Jan-2009)
    WARNING: couldn't open /etc/fstab: No such file or directory
    e2fsck 1.41.4 (27-Jan-2009)
    fsck.ext2: Is a directory while trying to open /tmp
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    
    
    root@palm-webos-device:/# umount /dev
    umount: cannot umount /dev: Device or resource busy
    
    root@palm-webos-device:/# umount /dev/.static/dev
    root@palm-webos-device:/# fsck /dev/.static/dev
    fsck 1.41.4 (27-Jan-2009)
    WARNING: couldn't open /etc/fstab: No such file or directory
    e2fsck 1.41.4 (27-Jan-2009)
    fsck.ext2: Is a directory while trying to open /dev/.static/dev
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    
    
    root@palm-webos-device:/# umount /   
    root@palm-webos-device:/# fsck /
    fsck 1.41.4 (27-Jan-2009)
    WARNING: couldn't open /etc/fstab: No such file or directory
    e2fsck 1.41.4 (27-Jan-2009)
    fsck.ext2: Is a directory while trying to open /
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    let me know if i did something wrong or you want me to run something else.



    also, here's the log from running the doctor again... if it's not the full log, it's because the doctor never finishes but stalls at 8%. this is all i got when outputting to a file
    Code:
    100./
    ./BadSys.tga
    ./BootLogo.tga
    ./Charging.tga
    ./NoBatt.tga
    ./NoPower.tga
    ./NoSys.tga
    ./Sync.tga
    ./Panic.tga
    ./Disk.tga
    ./boot-castle.bin
    ./castlecdma_evt1_fw.tar
    ./castleumtsfw.tar
    ./castle.xml
    ./installer.xml
    installer.xml
    100./
    ./BadSys.tga
    ./BootLogo.tga
    ./Charging.tga
    ./NoBatt.tga
    ./NoPower.tga
    ./NoSys.tga
    ./Sync.tga
    ./Panic.tga
    ./Disk.tga
    ./boot-castle.bin
    ./castlecdma_evt1_fw.tar
    ./castleumtsfw.tar
    ./castle.xml
    ./installer.xml
    ./nova-installer-image-castle.uImage
    fileSize 13257589
    update Loading Ramdisk20
    leftToWrite 13192053
    leftToWrite 13126517
    leftToWrite 13060981
    leftToWrite 12995445
    leftToWrite 12929909
    leftToWrite 12864373
    leftToWrite 12798837
    leftToWrite 12733301
    leftToWrite 12667765
    leftToWrite 12602229
    leftToWrite 12536693
    leftToWrite 12471157
    leftToWrite 12405621
    leftToWrite 12340085
    leftToWrite 12274549
    leftToWrite 12209013
    leftToWrite 12143477
    leftToWrite 12077941
    leftToWrite 12012405
    leftToWrite 11946869
    leftToWrite 11881333
    leftToWrite 11815797
    leftToWrite 11750261
    leftToWrite 11684725
    leftToWrite 11619189
    leftToWrite 11553653
    leftToWrite 11488117
    leftToWrite 11422581
    leftToWrite 11357045
    leftToWrite 11291509
    leftToWrite 11225973
    leftToWrite 11160437
    leftToWrite 11094901
    leftToWrite 11029365
    leftToWrite 10963829
    leftToWrite 10898293
    leftToWrite 10832757
    leftToWrite 10767221
    leftToWrite 10701685
    leftToWrite 10636149
    leftToWrite 10570613
    leftToWrite 10505077
    leftToWrite 10439541
    leftToWrite 10374005
    leftToWrite 10308469
    leftToWrite 10242933
    leftToWrite 10177397
    leftToWrite 10111861
    leftToWrite 10046325
    leftToWrite 9980789
    leftToWrite 9915253
    leftToWrite 9849717
    leftToWrite 9784181
    leftToWrite 9718645
    leftToWrite 9653109
    leftToWrite 9587573
    leftToWrite 9522037
    leftToWrite 9456501
    leftToWrite 9390965
    leftToWrite 9325429
    leftToWrite 9259893
    leftToWrite 9194357
    leftToWrite 9128821
    leftToWrite 9063285
    leftToWrite 8997749
    leftToWrite 8932213
    leftToWrite 8866677
    leftToWrite 8801141
    leftToWrite 8735605
    leftToWrite 8670069
    leftToWrite 8604533
    leftToWrite 8538997
    leftToWrite 8473461
    leftToWrite 8407925
    leftToWrite 8342389
    leftToWrite 8276853
    leftToWrite 8211317
    leftToWrite 8145781
    leftToWrite 8080245
    leftToWrite 8014709
    leftToWrite 7949173
    leftToWrite 7883637
    leftToWrite 7818101
    leftToWrite 7752565
    leftToWrite 7687029
    leftToWrite 7621493
    leftToWrite 7555957
    leftToWrite 7490421
    leftToWrite 7424885
    leftToWrite 7359349
    leftToWrite 7293813
    leftToWrite 7228277
    leftToWrite 7162741
    leftToWrite 7097205
    leftToWrite 7031669
    leftToWrite 6966133
    leftToWrite 6900597
    leftToWrite 6835061
    leftToWrite 6769525
    leftToWrite 6703989
    leftToWrite 6638453
    leftToWrite 6572917
    leftToWrite 6507381
    leftToWrite 6441845
    leftToWrite 6376309
    leftToWrite 6310773
    leftToWrite 6245237
    leftToWrite 6179701
    leftToWrite 6114165
    leftToWrite 6048629
    leftToWrite 5983093
    leftToWrite 5917557
    leftToWrite 5852021
    leftToWrite 5786485
    leftToWrite 5720949
    leftToWrite 5655413
    leftToWrite 5589877
    leftToWrite 5524341
    leftToWrite 5458805
    leftToWrite 5393269
    leftToWrite 5327733
    leftToWrite 5262197
    leftToWrite 5196661
    leftToWrite 5131125
    leftToWrite 5065589
    leftToWrite 5000053
    leftToWrite 4934517
    leftToWrite 4868981
    leftToWrite 4803445
    leftToWrite 4737909
    leftToWrite 4672373
    leftToWrite 4606837
    leftToWrite 4541301
    leftToWrite 4475765
    leftToWrite 4410229
    leftToWrite 4344693
    leftToWrite 4279157
    leftToWrite 4213621
    leftToWrite 4148085
    leftToWrite 4082549
    leftToWrite 4017013
    leftToWrite 3951477
    leftToWrite 3885941
    leftToWrite 3820405
    leftToWrite 3754869
    leftToWrite 3689333
    leftToWrite 3623797
    leftToWrite 3558261
    leftToWrite 3492725
    leftToWrite 3427189
    leftToWrite 3361653
    leftToWrite 3296117
    leftToWrite 3230581
    leftToWrite 3165045
    leftToWrite 3099509
    leftToWrite 3033973
    leftToWrite 2968437
    leftToWrite 2902901
    leftToWrite 2837365
    leftToWrite 2771829
    leftToWrite 2706293
    leftToWrite 2640757
    leftToWrite 2575221
    leftToWrite 2509685
    leftToWrite 2444149
    leftToWrite 2378613
    leftToWrite 2313077
    leftToWrite 2247541
    leftToWrite 2182005
    leftToWrite 2116469
    leftToWrite 2050933
    leftToWrite 1985397
    leftToWrite 1919861
    leftToWrite 1854325
    leftToWrite 1788789
    leftToWrite 1723253
    leftToWrite 1657717
    leftToWrite 1592181
    leftToWrite 1526645
    leftToWrite 1461109
    leftToWrite 1395573
    leftToWrite 1330037
    leftToWrite 1264501
    leftToWrite 1198965
    leftToWrite 1133429
    leftToWrite 1067893
    leftToWrite 1002357
    leftToWrite 936821
    leftToWrite 871285
    leftToWrite 805749
    leftToWrite 740213
    leftToWrite 674677
    leftToWrite 609141
    leftToWrite 543605
    leftToWrite 478069
    leftToWrite 412533
    leftToWrite 346997
    leftToWrite 281461
    leftToWrite 215925
    leftToWrite 150389
    leftToWrite 84853
    leftToWrite 19317
    leftToWrite 0
    update Loading Ramdisk50
    looking for LVM while in installer mode
    got lvm static, running vgscan
    +++++runCommand /usr/sbin/lvm.static
    MountUtils:File descriptor 3 (socket:[933]) leaked on lvm.static invocation. Parent PID 746: novacomd
    
    MountUtils:  Reading all physical volumes.  This may take a while...
    
    flushing and closing
    -----runCommand
    vgscan ran, running vgchange
    returned from vgchange
    +++++runCommand /usr/sbin/lvm.static
    MountUtils:File descriptor 3 (socket:[933]) leaked on lvm.static invocation. Parent PID 746: novacomd
    
    flushing and closing
    -----runCommand
  9. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #9  
    Quote Originally Posted by ssjcho View Post
    here's some more info. i tried scanning each partition and running fsck and here's the output. i don't really understand much of it. i'm pretty much a linux noobie though i am know how to use the command line, looking up man pages, etc. i don't understand what's going on though most of the time.
    first you need to do:

    Code:
    lvm.static vgscan --ignorelockingfailure
    it should say:

    Code:
    Reading all physical volumes.  This may take a while...
    Found volume group "store" using metadata type lvm2
    If it does not, then the complete volume group must be rebuilt. The operation will totally destroy any data on the device -- but, at this point, it's gone anyways:

    Code:
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    lvm.static vgremove store
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    lvm.static vgcreate -s 8M store /dev/mmcblk0p3
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    lvm.static lvcreate -l 57 -i 1 -M y --major 254 --minor 0 -n root store
    lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor 1 -n var store
    lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor 2 -n update store
    lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor 3 -n log store
    lvm.static lvcreate -l 32 -i 1 -M y --major 254 --minor 4 -n mojodb store
    lvm.static lvcreate -l 24 -i 1 -M y --major 254 --minor 5 -n filecache store
    lvm.static lvcreate -l 1748 -i 1 -M y --major 254 --minor 6 -n media store
    lvm.static lvcreate -l 16 -i 1 -M y --major 254 --minor 7 -n swap store
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    mkdosfs -f 1 -s 64 /dev/store/media
    After doing that, the doctor should be able to run.
    Remy X likes this.
  10.    #10  
    Quote Originally Posted by iDG View Post
    first you need to do:

    Code:
    lvm.static vgscan --ignorelockingfailure
    it should say:

    Code:
    Reading all physical volumes.  This may take a while...
    Found volume group "store" using metadata type lvm2

    okay so it does not say that. so I ran that entire sequence and here's what I got
    Code:
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
    
    root@palm-webos-device:/# lvm.static vgremove store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
    
    root@palm-webos-device:/# lvm.static vgcreate -s 8M store /dev/mmcblk0p3
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      No physical volume label read from /dev/mmcblk0p3
      /dev/mmcblk0p3 not identified as an existing physical volume
      Unable to add physical volume '/dev/mmcblk0p3' to volume group 'store'.
    
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
    
    root@palm-webos-device:/# lvm.static lvcreate -l 57 -i 1 -M y --major 254 --mino
    r 0 -n root store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor
     1 -n var store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor
     2 -n update store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor
     3 -n log store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 32 -i 1 -M y --major 254 --mino
    r 4 -n mojodb store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 24 -i 1 -M y --major 254 --mino
    r 5 -n filecache store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 1748 -i 1 -M y --major 254 --mi
    nor 6 -n media store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static lvcreate -l 16 -i 1 -M y --major 254 --mino
    r 7 -n swap store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Redundant stripes argument: default is 1
      Volume group "store" not found
    
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      Reading all physical volumes.  This may take a while...
    
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
    
    root@palm-webos-device:/# mkdosfs -f 1 -s 64 /dev/store/media
    mkdosfs 3.0.2 (28 Feb 2009)
    /dev/store/media: No such file or directory
  11. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #11  
    Quote Originally Posted by ssjcho View Post
    okay so it does not say that. so I ran that entire sequence and here's what I got
    ...
    Code:
    root@palm-webos-device:/# lvm.static vgcreate -s 8M store /dev/mmcblk0p3
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 764: /bin/sh
      No physical volume label read from /dev/mmcblk0p3
      /dev/mmcblk0p3 not identified as an existing physical volume
      Unable to add physical volume '/dev/mmcblk0p3' to volume group 'store'.
    This is very bad. It may mean the flash is completely erased. What does this:
    Code:
    dd if=/dev/mmcblk0 bs=512 count=1 | hexdump -Cv
    dd if=/dev/mmcblk0 bs=512 skip=1024 count=1| hexdump -Cv
    say?

    The recovery ramdisk does not contain a fdisk utility, so if the flash is completely wiped, the partition table boot.bin must be manually copied over the disk (*). if the partition table is wiped, the token section could be gone too. some of the tokens seem to contain device-unique values, which cannot be recovered. these informations do not seem to be used (atleast i had a gsm pre which worked perfectly without it).

    (*) I've verified that by running the "trenchcoat" binary from the command line the partition table and bootloader installation is possible without other tools.
    Last edited by iDG; 05/17/2013 at 01:43 PM. Reason: Clarification about "manually copied".
    Remy X likes this.
  12.    #12  
    Quote Originally Posted by iDG View Post
    This is very bad. It may mean the flash is completely erased. What does this:
    Code:
    dd if=/dev/mmcblk0 bs=512 count=1 | hexdump -Cv
    dd if=/dev/mmcblk0 bs=512 skip=1024 count=1| hexdump -Cv
    say?
    Yes, I'm pretty sure that most of the tokens, including the device-unique ones, are gone. I mentioned in my OP which ones are left...

    Here's the output I get
    Code:
    root@palm-webos-device:/# dd if=/dev/mmcblk0 bs=512 count=1 | hexdump -Cv
    1+0 records in
    1+0 records out
    00000000  40 00 00 00 50 00 00 00  00 00 00 00 00 00 00 00  |@...P...........|
    00000010  00 00 00 00 43 48 53 45  54 54 49 4e 47 53 00 00  |....CHSETTINGS..|
    00000020  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
    00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
    00000040  c1 c0 c0 c0 00 01 00 00  fc 01 00 00 40 00 00 00  |............@...|
    00000050  04 00 00 00 50 0a 03 02  0a 04 00 00 04 00 00 00  |....P...........|
    00000060  30 00 30 00 00 00 00 00  00 27 15 09 30 00 30 00  |0.0......'..0.0.|
    00000070  00 00 00 00 27 64 00 00  02 00 00 00 30 00 00 00  |....'d......0...|
    00000080  00 00 00 00 27 6d 09 00  01 00 00 00 00 00 00 00  |....'m..........|
    00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001b0  00 00 00 00 00 00 00 00  50 61 6c 6d 00 00 00 00  |........Palm....|
    000001c0  00 00 f0 00 00 00 00 04  00 00 00 20 00 00 00 00  |........... ....|
    000001d0  00 00 83 00 00 00 00 24  00 00 00 00 01 00 00 00  |.......$........|
    000001e0  00 00 8e 00 00 00 00 24  01 00 00 7c d9 01 00 00  |.......$...|....|
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    root@palm-webos-device:/# dd if=/dev/mmcblk0 bs=512 skip=1024 count=1| hexdump -
    Cv
    1+0 records in
    1+0 records out
    00000000  4e 56 52 4d 01 00 00 00  00 10 00 00 6e 55 cd 3a  |NVRM........nU.:|
    00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000020  54 4f 43 31 00 10 00 00  00 f0 3f 00 01 00 00 00  |TOC1......?.....|
    00000030  65 6e 76 65 6c 6f 70 65  00 00 00 00 00 00 00 00  |envelope........|
    00000040  54 4f 43 31 00 10 00 00  00 40 00 00 00 00 00 00  |TOC1.....@......|
    00000050  65 6e 76 00 00 00 00 00  00 00 00 00 00 00 00 00  |env.............|
    00000060  54 4f 43 31 00 50 00 00  00 10 00 00 00 00 00 00  |TOC1.P..........|
    00000070  74 6f 6b 65 6e 73 00 00  00 00 00 00 00 00 00 00  |tokens..........|
    00000080  54 4f 43 31 00 f0 3f 00  00 10 00 00 02 00 00 00  |TOC1..?.........|
    00000090  74 6f 6b 65 6e 2d 62 61  63 6b 75 70 00 00 00 00  |token-backup....|
    000000a0  54 4f 43 31 00 60 00 00  f3 3d 00 00 00 00 00 00  |TOC1.`...=......|
    000000b0  6c 6f 67 6f 2d 62 6f 6f  74 00 00 00 00 00 00 00  |logo-boot.......|
    000000c0  54 4f 43 31 00 a0 00 00  95 69 01 00 00 00 00 00  |TOC1.....i......|
    000000d0  6c 6f 67 6f 2d 63 68 67  00 00 00 00 00 00 00 00  |logo-chg........|
    000000e0  54 4f 43 31 00 10 02 00  32 bc 00 00 00 00 00 00  |TOC1....2.......|
    000000f0  6c 6f 67 6f 2d 62 61 64  63 68 67 00 00 00 00 00  |logo-badchg.....|
    00000100  54 4f 43 31 00 d0 02 00  1b 57 01 00 00 00 00 00  |TOC1.....W......|
    00000110  6c 6f 67 6f 2d 6e 6f 62  61 74 74 00 00 00 00 00  |logo-nobatt.....|
    00000120  54 4f 43 31 00 30 04 00  e5 68 00 00 00 00 00 00  |TOC1.0...h......|
    00000130  6c 6f 67 6f 2d 62 61 64  73 79 73 00 00 00 00 00  |logo-badsys.....|
    00000140  54 4f 43 31 00 a0 04 00  e5 68 00 00 00 00 00 00  |TOC1.....h......|
    00000150  6c 6f 67 6f 2d 6e 6f 73  79 73 00 00 00 00 00 00  |logo-nosys......|
    00000160  54 4f 43 31 00 10 05 00  b6 18 01 00 00 00 00 00  |TOC1............|
    00000170  6c 6f 67 6f 2d 73 79 6e  63 00 00 00 00 00 00 00  |logo-sync.......|
    00000180  54 4f 43 31 00 30 06 00  1b 24 01 00 00 00 00 00  |TOC1.0...$......|
    00000190  6c 6f 67 6f 2d 70 61 6e  69 63 00 00 00 00 00 00  |logo-panic......|
    000001a0  54 4f 43 31 00 60 07 00  41 8f 00 00 00 00 00 00  |TOC1.`..A.......|
    000001b0  6c 6f 67 6f 2d 64 69 73  6b 00 00 00 00 00 00 00  |logo-disk.......|
    000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000200

    Can you help me through how to restore the partition table?
  13. #13  
    Forget the doctor.Need to use HP tool "NDI" to flash the device....
  14.    #14  
    Quote Originally Posted by lemanho View Post
    Forget the doctor.Need to use HP tool "NDI" to flash the device....
    NDI? Looked around and found Nova Device Installer. Can't seem to find where to get it though. I found one of your posts about it but for the Touchpad here.

    Would you mind posting specific instructions? And where I can find it?
  15. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #15  
    Quote Originally Posted by ssjcho View Post
    Yes, I'm pretty sure that most of the tokens, including the device-unique ones, are gone. I mentioned in my OP which ones are left. Can you help me through how to restore the partition table?
    The partition table is actually Ok.
    The NVRAM section look ok too.

    You can check the tokens section with
    Code:
    dd if=/dev/mmcblk0 bs=512 skip=1064 count=4| hexdump -Cv
    (don't publish the results, as some data is "per device private" -- whatever it means). You should see something like this:
    Code:
    00000000  54 4f 4b 4e 01 00 00 00  07 00 00 00 01 00 00 00  |TOKN............|
    00000010  04 97 46 6f 50 52 4f 44  6f 49 44 00 00 00 00 00  |..FoPRODoID.....|
    00000020  00 00 00 00 50 31 30 32  55 4e 41 00 54 4f 4b 4e  |....P102UNA.TOKN|
    00000030  01 00 00 00 05 00 00 00  01 00 00 00 9a ab 2b dd  |..............+.|
    00000040  48 6f 75 73 69 6e 67 41  00 00 00 00 00 00 00 00  |HousingA........|
    00000050  67 6c 61 73 73 00 00 00  54 4f 4b 4e 01 00 00 00  |glass...TOKN....|
    00000060  0c 00 00 00 01 00 00 00  ba 15 94 d3 50 61 6c 6d  |............Palm|
    00000070  53 4e 00 00 00 00 00 00  00 00 00 00 ** ** ** **  |SN..........****|
    00000080  ** ** ** ** ** ** ** **  ** ** ** ** 01 00 00 00  |************....|
    00000090  07 00 00 00 01 00 00 00  73 a3 29 bb 44 4d 4d 4f  |........s.).DMMO|
    000000a0  44 45 4c 00 00 00 00 00  00 00 00 00 50 31 30 32  |DEL.........P102|
    000000b0  55 4e 41 00 54 4f 4b 4e  01 00 00 00 03 00 00 00  |UNA.TOKN........|
    000000c0  01 00 00 00 fb 10 7a b7  44 4d 43 41 52 52 49 45  |......z.DMCARRIE|
    000000d0  52 00 00 00 00 00 00 00  52 4f 57 00 54 4f 4b 4e  |R.......ROW.TOKN|
    000000e0  01 00 00 00 0a 00 00 00  01 00 00 00 cb 2d e5 e8  |.............-..|
    (this is form a pre2, things may look different).

    There must be something wrong with /dev. What does
    Code:
    ls -lA /dev/mmcblk0*
    says?
  16.    #16  
    Quote Originally Posted by iDG View Post
    The partition table is actually Ok.
    The NVRAM section look ok too.

    You can check the tokens section with
    Code:
    dd if=/dev/mmcblk0 bs=512 skip=1064 count=4| hexdump -Cv
    I tried that and it only gives 3 tokens... the same ones that I mentioned in the OP: installer, ProdSN, and DMSETS. The rest of the output is all 0's and blanks. I was hoping to just try and fill in the default necessary tokens that the How to Recover guide mentions and hope for the best.


    Quote Originally Posted by iDG View Post
    There must be something wrong with /dev. What does
    Code:
    ls -lA /dev/mmcblk0*
    says?
    Code:
    root@palm-webos-device:/# ls -lA /dev/mmcblk0*
    brw-r-----    1 root     disk     179,   0 Jan  1 00:00 /dev/mmcblk0
    brw-r-----    1 root     disk     179,   1 Jan  1 00:00 /dev/mmcblk0p1
    brw-r-----    1 root     disk     179,   2 Jan  1 00:00 /dev/mmcblk0p2
    brw-r-----    1 root     disk     179,   3 Jan  1 00:00 /dev/mmcblk0p3
    How does it look?
  17. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #17  
    Quote Originally Posted by ssjcho View Post
    How does it look?
    It's fine. I checked my initial instructions to rebuild the volume group and found it was incomplete:

    Code:
    lvm.static pvcreate -v /dev/mmcblk0p3
    lvm.static vgcreate -s 8M store /dev/mmcblk0p3
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    lvm.static lvcreate -l 57 -i 1 -M y --major 254 --minor 0 -n root store
    lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor 1 -n var store
    lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor 2 -n update store
    lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor 3 -n log store
    lvm.static lvcreate -l 32 -i 1 -M y --major 254 --minor 4 -n mojodb store
    lvm.static lvcreate -l 24 -i 1 -M y --major 254 --minor 5 -n filecache store
    lvm.static lvcreate -l 1748 -i 1 -M y --major 254 --minor 6 -n media store
    lvm.static lvcreate -l 16 -i 1 -M y --major 254 --minor 7 -n swap store
    lvm.static vgscan --ignorelockingfailure
    lvm.static vgchange -ay --ignorelockingfailure
    mkdosfs -f 1 -s 64 /dev/store/media
    The pvcreate line was missing, preventing the vgcreate from working. Sorry for the inconvenience.
  18.    #18  
    Quote Originally Posted by iDG View Post
    It's fine. I checked my initial instructions to rebuild the volume group and found it was incomplete:

    The pvcreate line was missing, preventing the vgcreate from working. Sorry for the inconvenience.
    Not a problem. I don't mind waiting a bit. Thanks for all the help you've given so far. Looks like we're getting close! That code seemed to run successfully:

    Code:
    root@palm-webos-device:/# lvm.static pvcreate -v /dev/mmcblk0p3
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
        Set up physical volume for "/dev/mmcblk0p3" with 31030272 available sectors
        Zeroing start of device /dev/mmcblk0p3
      Physical volume "/dev/mmcblk0p3" successfully created
    root@palm-webos-device:/# lvm.static vgcreate -s 8M store /dev/mmcblk0p3
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Volume group "store" successfully created
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure 
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Reading all physical volumes.  This may take a while...
      Found volume group "store" using metadata type lvm2
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      0 logical volume(s) in volume group "store" now active
    root@palm-webos-device:/# lvm.static lvcreate -l 57 -i 1 -M y --major 254 --mino
    r 0 -n root store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "root" created
    root@palm-webos-device:/# lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor
     1 -n var store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "var" created
    root@palm-webos-device:/# lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor
     2 -n update store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "update" created
    root@palm-webos-device:/# lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor
     3 -n log store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "log" created
    root@palm-webos-device:/# lvm.static lvcreate -l 32 -i 1 -M y --major 254 --mino
    r 4 -n mojodb store 
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "mojodb" created
    root@palm-webos-device:/# lvm.static lvcreate -l 24 -i 1 -M y --major 254 --mino
    r 5 -n filecache store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "filecache" created
    root@palm-webos-device:/# lvm.static lvcreate -l 1748 -i 1 -M y --major 254 --mi
    nor 6 -n media store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "media" created
    root@palm-webos-device:/# lvm.static lvcreate -l 16 -i 1 -M y --major 254 --mino
    r 7 -n swap store
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Redundant stripes argument: default is 1
      Logical volume "swap" created
    root@palm-webos-device:/# lvm.static vgscan --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      Reading all physical volumes.  This may take a while...
      Found volume group "store" using metadata type lvm2
    root@palm-webos-device:/# lvm.static vgchange -ay --ignorelockingfailure
    File descriptor 3 (socket:[925]) leaked on lvm.static invocation. Parent PID 760: /bin/sh
      8 logical volume(s) in volume group "store" now active
    root@palm-webos-device:/# mkdosfs -f 1 -s 64 /dev/store/media
    mkdosfs 3.0.2 (28 Feb 2009)
    unable to get drive geometry, using default 4/16
    Afterwards, I tried running the doctor again. No more errors, but I still get stuck at 8% with an exception

    Code:
    Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 3
    	at com.palm.nova.installer.core.FlasherThread.getToken(FlasherThread.java:449)
    	at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:175)
    	at java.lang.Thread.run(Thread.java:722)
    I think it's related to the token problem I mentioned before. Need to add the necessary token info. The Webos Internals guide mentions how to view and remove tokens but not how to add new ones. Have any idea how I can add them? It may just be a matter of creating them in a text file, but I've tried that, adding them to the /tmp/tokens directory, without success.


    Here's the rest of the output from the doctor:
    Code:
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7359349
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7293813
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7228277
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7162741
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7097205
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 7031669
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6966133
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6900597
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6835061
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6769525
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6703989
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6638453
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6572917
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6507381
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6441845
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6376309
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6310773
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6245237
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6179701
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6114165
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 6048629
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5983093
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5917557
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5852021
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5786485
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5720949
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5655413
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5589877
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5524341
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5458805
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5393269
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5327733
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5262197
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5196661
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5131125
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5065589
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 5000053
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4934517
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4868981
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4803445
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4737909
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4672373
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4606837
    
    May 22, 2013 11:22:31 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4541301
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4475765
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4410229
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4344693
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4279157
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4213621
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4148085
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4082549
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 4017013
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3951477
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3885941
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3820405
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3754869
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3689333
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3623797
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3558261
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3492725
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3427189
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3361653
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3296117
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3230581
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3165045
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3099509
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 3033973
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2968437
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2902901
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2837365
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2771829
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2706293
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2640757
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2575221
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2509685
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2444149
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2378613
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2313077
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2247541
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2182005
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2116469
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 2050933
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1985397
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1919861
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1854325
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1788789
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1723253
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1657717
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1592181
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1526645
    
    May 22, 2013 11:22:32 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1461109
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1395573
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1330037
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1264501
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1198965
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1133429
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1067893
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 1002357
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 936821
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 871285
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 805749
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 740213
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 674677
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 609141
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 543605
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 478069
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 412533
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 346997
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 281461
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 215925
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 150389
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 84853
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: leftToWrite 19317
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Booting
    
    May 22, 2013 11:22:33 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Waiting for device to come back
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Loading Ramdisk: Ramdisk has booted!
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Finished: Loading Ramdisk
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: device is in ramdisk as expected
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Starting: AppDeletion
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: deleting applications folder 
    
    MountUtils:File descriptor 3 (socket:[972]) leaked on lvm.static invocation. Parent PID 761: novacomd
    
    MountUtils:  8 logical volume(s) in volume group "store" now active
    
    LVM Root Path: /dev/mapper/store-root
    LVM Var Path: /dev/mapper/store-var
    LVM Log Path: /dev/mapper/store-log
    LVM Media Path: /dev/mapper/store-media
    Mounting /dev/mapper/store-media to: /tmp_mediafs
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: rm: cannot remove '/tmp_mediafs/.palm': No such file or directory
    
    May 22, 2013 11:22:50 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: AppDeletion: removed the appDirectory: /tmp_mediafs/.palm
    
    Unmounting /dev/mapper/store-media
    MountUtils:unmount successful
    May 22, 2013 11:22:51 AM com.palm.nova.installer.recoverytool.CardController logPrint
    INFO: Finished: AppDeletion
    
    Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 3
    	at com.palm.nova.installer.core.FlasherThread.getToken(FlasherThread.java:449)
    	at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:175)
    	at java.lang.Thread.run(Thread.java:722)
  19. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #19  
    Quote Originally Posted by ssjcho View Post
    Not a problem. I don't mind waiting a bit. Thanks for all the help you've given so far. Looks like we're getting close! That code seemed to run successfully (...)
    Ok. Let's go for the next step.

    I think it's related to the token problem I mentioned before. Need to add the necessary token info. The Webos Internals guide mentions how to view and remove tokens but not how to add new ones. Have any idea how I can add them? It may just be a matter of creating them in a text file, but I've tried that, adding them to the /tmp/tokens directory, without success.
    The /tmp/tokens directory only contains copies of the tokens, changing them there makes no difference.

    If you can cross-compile for the device, this Tool will allow you to print, delete and create tokens. The list of the required tokens and their values is Here.
  20.    #20  
    Quote Originally Posted by iDG View Post
    If you can cross-compile for the device, this Tool will allow you to print, delete and create tokens. The list of the required tokens and their values is Here.
    Sorry, but I think I'm going to need more instructions on how to do this. All I know how to do so far is to clone the git files. I'm guessing simply using the make command is not enough since it has to run on the pre.

    Did some googling on cross-compiling. Is this and this what I would need to cross-compile?
Page 1 of 2 12 LastLast

Similar Threads

  1. Verizon Pre 2 Sprint Franken Token Error
    By Longshotx in forum Palm Pre 2
    Replies: 4
    Last Post: 09/18/2012, 11:25 AM
  2. How to rebuild md5sums?
    By nodevel in forum webOS Development
    Replies: 1
    Last Post: 11/08/2011, 10:48 AM
  3. BRICKED PRE+ - If this is not a bricked one tell me why....
    By maxi_gmv in forum Palm Pre and Pre Plus
    Replies: 13
    Last Post: 04/20/2011, 11:19 AM
  4. Replies: 8
    Last Post: 09/10/2010, 05:19 AM
  5. calander colors lost on rebuild
    By gpshemi in forum Palm OS Devices & Apps
    Replies: 0
    Last Post: 10/15/2008, 07:48 AM

Tags for this Thread

Posting Permissions