webOS Nation Forums > Homebrew > webOS themes > Solution: 1.3.5.1 Greyed out "Revert to Default"
1 2 3 4 5 
Member: solarus
at: 06:11 PM 01/05/2010
For those unable to revert back to the default theme when using Quick Install there is a solution. I've tested it with one of my themes and it worked great.

The reason for problem, at least in my case, was that the directory where quick install needs to place the theme.xml file did not exist on my Pre. To solve this you will need the following:
a) Terminal App (available on PreWare
b) A rooted Pre (I think, mine is anyway) UPDATE: You do NOT need a rooted device.

The Solution:

1) Open Terminal (no quotes when typing commands)
2) Ensure you have or gain root privileges by typing "sudo -i"
3) Enable read write mode by typing "mount -o remount,rw /"
4) Type the following "cd /media/cryptofs/apps/usr/lib/"
5) Type "mkdir webos-quick-install" Hit enter...
6) Type "exit"
7) Close Terminal and reboot your Pre.

To make sure it worked I recommend downloading Jason's great tool Internalz which allows you to see the file structure of the Pre in a familiar GUI. If you see the "webos-quick-install" folder in /media/cryptofs/apps/usr/lib/ directory then you should be able to install a theme via quick install and remove it afterwards.
Reply
Member: ewlawson
at: 07:22 PM 01/05/2010
Worked!!! Thanks!!!
Reply
Member: bjk1979
at: 02:48 AM 01/06/2010
Worked for me too, thanks!
Reply
Member: MLJones8
at: 12:02 PM 01/06/2010
solarus

Great info... although I didn't need the detailed instructions many users will!

Now that WOSQI handle's themes, the next step is to find out why Preware won't.
Reply
Member: tdogg0413
at: 02:54 PM 01/06/2010
I already had the theme.xml file in the webos-quick-install directory. Is there a way to delete that file and start over? Could that file be corrupt somehow and causing the problem?
Reply
Member: MLJones8
at: 03:38 PM 01/06/2010
Originally Posted by tdogg0413:
I already had the theme.xml file in the webos-quick-install directory. Is there a way to delete that file and start over? Could that file be corrupt somehow and causing the problem?
What's the error message? Are you sure you put the file in the exact above directory?
Reply
Member: tdogg0413
at: 03:55 PM 01/06/2010
Originally Posted by MLJones8:
What's the error message? Are you sure you put the file in the exact above directory?
When I look using Jason's Internalz app I already see the webos-quick-install directory, and it has the theme.xml file in it. So, when I try to create the directory (that's already there) it tells me it cannot make directory: file exists. Using the terminal app, is there a way to delete the theme.xml file? I tried using the Gesture +. then typing theme.xml, and that did not work.

When I try to install a theme, it still tells me I have a previous theme Buuf v 1.7 installed, event though none of the icons/wallpaper are on the pre. I also still cannot install the default theme, even by directly installing the ipkg file through WOSQI.

I think I'm more confused than I was at the beginning! Ha!
Reply
Member: solarus
at: 04:05 PM 01/06/2010
You do need to remove the Theme.xml file yes. Here's how (steps 4 and 5 are different than above)....

1) Open Terminal (no quotes when typing commands)
2) Ensure you have or gain root privileges by typing "sudo -i"
3) Enable read write mode by typing "mount -o remount,rw /"
4) Type the following "cd /media/cryptofs/apps/usr/lib/webos-quick-install/"
5) Type "rm theme.xml"

6) Close Terminal and reboot your Pre.

When you open Quick Install Themer it should now act as if you no theme installed.

Originally Posted by tdogg0413:
When I look using Jason's Internalz app I already see the webos-quick-install directory, and it has the theme.xml file in it. So, when I try to create the directory (that's already there) it tells me it cannot make directory: file exists. Using the terminal app, is there a way to delete the theme.xml file? I tried using the Gesture +. then typing theme.xml, and that did not work.

When I try to install a theme, it still tells me I have a previous theme Buuf v 1.7 installed, event though none of the icons/wallpaper are on the pre. I also still cannot install the default theme, even by directly installing the ipkg file through WOSQI.

I think I'm more confused than I was at the beginning! Ha!

Reply
Member: tdogg0413
at: 04:14 PM 01/06/2010
Originally Posted by solarus:
You do need to remove the Theme.xml file yes. Here's how (steps 4 and 5 are different than above)....

1) Open Terminal (no quotes when typing commands)
2) Ensure you have or gain root privileges by typing "sudo -i"
3) Enable read write mode by typing "mount -o remount,rw /"
4) Type the following "cd /media/cryptofs/apps/usr/lib/webos-quick-install/"
5) Type "rm theme.xml"

6) Close Terminal and reboot your Pre.

When you open Quick Install Themer it should now act as if you no theme installed.
I figured that was what I needed to do! I have no programming experience whatsoever, never would have thought rm would be the command to delete the file! Thanks!
Reply
Member: tdogg0413
at: 04:27 PM 01/06/2010
Originally Posted by MLJones8:
solarus

Now that WOSQI handle's themes, the next step is to find out why Preware won't.
Thanks for the assist! By the way, I was able to successfully install and remove themes from Preware (not sure if I'm adventurous or a glutton for punishment). Just thought I would share!
Reply
Member: T-PAiN
at: 04:44 PM 01/06/2010
Hey, I am new to this stuff and trying to figure it out as I go. I have installed the Internalz and the Filemgr apps, as well as the Terminal app-- but how do i open the terminal because it does not have an icon correct? Any help would be appreciated. Thanks.
Reply
Member: tdogg0413
at: 04:48 PM 01/06/2010
Originally Posted by T-PAiN:
Hey, I am new to this stuff and trying to figure it out as I go. I have installed the Internalz and the Filemgr apps, as well as the Terminal app-- but how do i open the terminal because it does not have an icon correct? Any help would be appreciated. Thanks.
Double check Preware in your installed packages for Terminal, it should have an icon. Also, in order for the Terminal app to work, you will need to install the Terminal Service Plugin, also available in Preware. If you are not seeing Terminal, that may be the reason.
Reply
Member: T-PAiN
at: 05:14 PM 01/06/2010
Thanks a lot tdogg0413, I have access to the Terminal now. I followed the steps that solarus laid out but the theme is still on my phone when I rebooted-- is that how it should be? Or did I possibly not complete the steps correctly?
Reply
Member: tdogg0413
at: 05:28 PM 01/06/2010
One way to find out is to check the Internalz program. If you have anything in the Webos-Quick-Install folder on there, then you did not completely remove the theme. make sure you are in developer mode, and just to re iterate the steps above, if you already have the webos-quick-install folder, and are trying to remove the Theme.xml file, do the following:

1) Open Terminal (no quotes when typing commands)
2) Ensure you have or gain root privileges by typing "sudo -i"
3) Enable read write mode by typing "mount -o remount,rw /"
4) Type the following "cd /media/cryptofs/apps/usr/lib/webos-quick-install/"
5) Type "rm theme.xml"
6) Close Terminal and reboot your Pre.

When you open Quick Install Themer it should now act as if you no theme installed.
Reply
Member: T-PAiN
at: 05:34 PM 01/06/2010
Yeah, I tried to check that but I don't have a webos-Quick-Install folder in my Internalz app? What does that mean?
Reply
Member: tdogg0413
at: 05:37 PM 01/06/2010
that means that you have to make the directory for the file to go into. So follow the first set of directions, make sure you are in developer mode, and make sure to enable the read /write mode exactly as laid out.

) Open Terminal (no quotes when typing commands)
2) Ensure you have or gain root privileges by typing "sudo -i"
3) Enable read write mode by typing "mount -o remount,rw /"
4) Type the following "cd /media/cryptofs/apps/usr/lib/"
5) Type "mkdir webos-quick-install" Hit enter...
6) Type "exit"
7) Close Terminal and reboot your Pre.
Reply
Member: T-PAiN
at: 05:47 PM 01/06/2010
ok, i just tried that and when i type "sudo -i" (without the quotes), it says
"-sh;sudo: not found
rootpalm-webos-device:/var/home/root#"
Reply
Member: tdogg0413
at: 05:56 PM 01/06/2010
don't worry about that part, it did the same for me, the last part is the important part, showing that you are indeed rooted. Continue with the next mount/remount, and post any additional errors...
Reply
Member: T-PAiN
at: 06:02 PM 01/06/2010
ok, i finished the steps and rebooted my phone. now the Internalz app appears to have a whole new look-- the files are all different than before BUT there is still no webos-quick-install folder? Also, to ensure that I am doing the steps correctly-- am I supposed to be hitting enter after each step? or just putting a space and not hitting enter until the end?
Reply
Member: T-PAiN
at: 06:18 PM 01/06/2010
i just repeated the original steps to remove the theme and it gives me an error message that a theme.xml file does not exist? How is that possible when i currently have the red and black them on my phone?
Reply
1 2 3 4 5 
webOS Nation Forums > Homebrew > webOS themes > Solution: 1.3.5.1 Greyed out "Revert to Default"