Reverse Engineering WebOS Doctor

From WebOS Internals
Revision as of 13:19, 26 July 2009 by RodWhitby (talk | contribs) (Initial decompilation of com.palm.novacom)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The WebOS Doctor can be easily decompiled using [JD].

It contains the following classes:

  • com.ice.tar - This is a public domain [Java Tar Package] authored by [Timothy Gerard Endres].
  • com.palm.nova -
  • com.palm.novacom
    • INovacomController.class
      • abstract interface INovacomController
        • connectDefaultDevice()
        • connectToDevice(NovaDeviceInfo)
        • getDeviceList()
        • getDeviceListOnUsb()
    • INovacomDevice.class
      • abstract interface INovacomDevice
        • close()
        • getFile(String)
        • putFile(String)
        • openTerminal(int)
        • runProgram(String, String[])
        • putInMemory(long, boolean)
        • putInMemory(String, boolean)
        • getState()
        • killConnection()
        • getDeviceInfo()
        • waitForDeviceToAppear()
        • waitForDeviceToAppear(long)
    • INovacomStream.class
      • abstract interface INovacomStream
        • void close()
        • void closeInput()
        • void closeOutput()
        • int waitForReturnCode()
        • void flush()
        • int read()
        • int read(byte[])
        • String readLine()
        • void write(int)
        • void write(byte[])
        • void write(byte[], int, int)
        • long write(File)
        • long write(InputStream)
        • void sendSignal(int)
        • boolean readMightBlock()
    • NovaDeviceInfo.class
      • class NovaDeviceInfo(String info)
        info is a string consisting of whitespace separated tokens
        • port
        • uid
        • transport
        • name
    • Novacom.class
      • class Novacom
        • getController(String host, int port) - host defaults to 127.0.0.1 and port defaults to 6968.
        • enum DeviceState
          UNKNOWN, BOOTLOADER, INSTALLER, OS.
        • enum DiskAreas
          DISKMODE, ROOT, USER, SDCARD.
    • NovacomException.class
      • class NovacomException(int errorCode, String errorMsg)
        • String toString()
        • int getErrorCode()
        • String getErrorMessage()