Apparently everyone knows of the WebOS Doctor and it's usefulness to the community, but I don't know if they understand this aspect. If you happen to be editing any file (via root or Quick Install), then chances could happen where you corrupt a one or multiple files.
Instead of ruining all your work (via homebrew apps, settings, and patches), you can try this:
- Download the
WebOS Doctor ROM
- Extract WebOS Doctor contents with
WinRAR or
7-Zip
- Go through the Resource folder in WebOS Doctor ROM
- Extract the contents of webOS.tar
- Open the webOS folder created by that
- Extract the data from ./nova-cust-image.castle.rootfs.tar.gz
You now have all the stock files. Just navigate through the folders and find your file. Example: "/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.
js."
To replace the file:
Rooting-
- Place the file(s) in the main directory of the Pre's USB storage.
- Open the root terminal
Code:
cp /media/internal/(filename) (directory)
An example of this code would be:
Code:
cp /media/internal/bar-assistant.js /usr/lib/luna/system/luna-systemui/app/controllers/
WebOS Quick Install-
- Open WebOS Quick Install
- Go to Tools - Send File
- For the file input box, browse to the stock file you extracted from the WebOS Doctor ROM
- For destination folder, type the directory where your file should be placed
An example would be:
Code:
/usr/lib/luna/system/luna-systemui/app/controllers/
I hope this is clear to understand and hopefully helpful to many people. If I made any mistakes or errors, then please reply kindly. Also if you know of any easier steps or methods.
