webOS Nation Forums >  Homebrew >  webOS homebrew apps > Mode Switcher
Mode Switcher

View Poll Results: What trigger you want to see next
Bluetooth device trigger 35 21.47%
Screen state trigger 14 8.59%
Calendar event trigger 40 24.54%
Silent switch trigger 32 19.63%
Headphones trigger 19 11.66%
Signal strength trigger 23 14.11%
Voters: 163. You may not vote on this poll

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02/06/2010, 11:59 AM   #141 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Because I'm dumb I un-installed the topbarmodemenu in Preware. Now I can't install the new version through Quick Install. Dammit, I just went to check the version I had installed and when I saw it was a later version I clicked uninstall and immediately realized I screwed up. I know your not supposed to install with one and uninstall with the other. Is there anyway to properly uninstall it now. Or is this one for the Dr.
lopezpm is offline  
Old 02/06/2010, 12:07 PM   #142 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
Because I'm dumb I un-installed the topbarmodemenu in Preware. Now I can't install the new version through Quick Install. Dammit, I just went to check the version I had installed and when I saw it was a later version I clicked uninstall and immediately realized I screwed up. I know your not supposed to install with one and uninstall with the other. Is there anyway to properly uninstall it now. Or is this one for the Dr.
I thought that Preware and WQI are compatible with each other. Actually they even might be and there's a bug in the packaging of my patch. If you can wait for tomorrow then I can check what happens when you install with WQI and uninstall with Preware and give you a script or updated package that fixes your situation.

Even thou if they are compatible I would not suggest this kind of usage as you said I have had problems with WQI many times but not yet with Preware. I just hope they would add a custom feed option into it soon. If there where this option I would offer the beta packages through my own feed so WQI would not be needed.
sconix is offline  
Old 02/06/2010, 12:23 PM   #143 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by sconix View Post
I thought that Preware and WQI are compatible with each other. Actually they even might be and there's a bug in the packaging of my patch. If you can wait for tomorrow then I can check what happens when you install with WQI and uninstall with Preware and give you a script or updated package that fixes your situation.

Even thou if they are compatible I would not suggest this kind of usage as you said I have had problems with WQI many times but not yet with Preware. I just hope they would add a custom feed option into it soon. If there where this option I would offer the beta packages through my own feed so WQI would not be needed.
I'll patiently wait for tomorrow. BTW, here's the error I get.
It doesn't show up in Preware or Quickinstall anymore, but the topbarmodemenu still shows up in the upper left corner.
Attached Images
File Type: png Error.png (16.0 KB, 10 views) Email Attachment
lopezpm is offline  
Old 02/06/2010, 12:28 PM   #144 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I'll patiently wait for tomorrow. BTW, here's the error I get.
It doesn't show up in Preware or Quickinstall anymore, but the topbarmodemenu still shows up in the upper left corner.
OK, so it seems that it did not manage to uninstall it properly for some reason. I'll get back to you in this manner tomorrow. It is possible that the fault is in my packaging, but at least it is supposed to be exactly like other patch packages in Preware feeds.
sconix is offline  
Old 02/06/2010, 12:59 PM   #145 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I'll patiently wait for tomorrow. BTW, here's the error I get.
It doesn't show up in Preware or Quickinstall anymore, but the topbarmodemenu still shows up in the upper left corner.
Have you looked under the application part of webosqi
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|

Sign up for SugarSync Get 500MB extra space
Sign up for Dropbox Get 250MB extra space
mamouton is offline  
Old 02/06/2010, 01:51 PM   #146 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by mamouton View Post
Have you looked under the application part of webosqi
Yeah, I did. It's not in either, packages or patches.
lopezpm is offline  
Old 02/06/2010, 02:00 PM   #147 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
Yeah, I did. It's not in either, packages or patches.
BTW, what is your desktop OS from which you use WQI? If you have Linux I could already give you a shell scripts tonight that should fix the situation. If you are using some other platform then cannot help you tonight.
sconix is offline  
Old 02/06/2010, 02:13 PM   #148 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by sconix View Post
BTW, what is your desktop OS from which you use WQI? If you have Linux I could already give you a shell scripts tonight that should fix the situation. If you are using some other platform then cannot help you tonight.
I'm using Windows 7, no rush I can wait until tomorrow. What is the Linux Commandline under Tools in WebOS Quickinstall?

Last edited by lopezpm; 02/06/2010 at 02:33 PM.
lopezpm is offline  
Old 02/06/2010, 02:28 PM   #149 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I'm using Windows 7, no rush I can wait until tomorrow.
OK, one other thing that came to my mind: If you happen to have the version that you had installed of the patch package then I could easily modify it into version that would install over whats ever left from the failed uninstall. Asking since I did not store those old versions and this method would be the easiest, but needs the exact same version of the patch that was installed.

The linux command line gives you command line access to your phone. You could use it to check if the uninstall left the files from the patch package, if it did then you could execute the uninstall manually.

You can check if it left the files needed for uninstall by typing:
ls /media/cryptofs/apps/usr/lib/ipkg/info/org.e-lnx.wee.patches.topbarmodemenu.prerm

If the file exists then I could easily give you command to type for the manual uninstall.

Last edited by sconix; 02/06/2010 at 02:43 PM.
sconix is offline  
Old 02/06/2010, 04:29 PM   #150 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by sconix View Post
OK, one other thing that came to my mind: If you happen to have the version that you had installed of the patch package then I could easily modify it into version that would install over whats ever left from the failed uninstall. Asking since I did not store those old versions and this method would be the easiest, but needs the exact same version of the patch that was installed.

The linux command line gives you command line access to your phone. You could use it to check if the uninstall left the files from the patch package, if it did then you could execute the uninstall manually.

You can check if it left the files needed for uninstall by typing:
ls /media/cryptofs/apps/usr/lib/ipkg/info/org.e-lnx.wee.patches.topbarmodemenu.prerm

If the file exists then I could easily give you command to type for the manual uninstall.
I got "no such file or directory" using WQI or Novaterm. I do have the original one at work but not going back until Monday.
lopezpm is offline  
Old 02/06/2010, 04:47 PM   #151 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I got "no such file or directory" using WQI or Novaterm. I do have the original one at work but not going back until Monday.
OK, that means that the package itself got uninstalled, but the patch did not. You should check that if /var/usr/lib/.webosinternals.patches/topbarmodemenu.patch file exists on the device. If it is also removed then the only easy thing I could do is to edit the original package so that it installs without applying the patch and then you could try to uninstall it normally.
sconix is offline  
Old 02/06/2010, 04:55 PM   #152 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

What happened to the "Get Settings" button? I liked it because my phone has the preferred settings set, I just need to mirror that onto Default Mode
gollyzila is offline  
Old 02/06/2010, 05:04 PM   #153 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

I get a "Permission Denied".
Attached Images
File Type: png Novaterm.png (15.7 KB, 6 views) Email Attachment
lopezpm is offline  
Old 02/06/2010, 05:09 PM   #154 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I get a "Permission Denied".
Type
Code:
mount -o remount,rw /
to gain read/write permission.

Type
Code:
mount -o remount,ro /
to set read only permission.
gollyzila is offline  
Old 02/06/2010, 05:32 PM   #155 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by gollyzila View Post
Type
Code:
mount -o remount,rw /
to gain read/write permission.

Type
Code:
mount -o remount,ro /
to set read only permission.
Gollyzilla, thanks for that tip. Unfortunately I'm still getting Permission denied
lopezpm is offline  
Old 02/06/2010, 05:35 PM   #156 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by gollyzila View Post
What happened to the "Get Settings" button? I liked it because my phone has the preferred settings set, I just need to mirror that onto Default Mode
It's back within the next release but as automatic. In next version when you add settings they have automatically the value that is currently set in your phone. And of course if you don't want to set that setting value the Default option can be found from the selector.
sconix is offline  
Old 02/06/2010, 05:38 PM   #157 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
I get a "Permission Denied".
You don't have any command in front of so it tries to execute it and hence no permissions. My bad, should have said that: ls <the path here)
so it tries to list the file. But since it does not say that file not found it means that the file exists. I will post instructions for trying the manual uninstall in few minutes minutes. (I'll update this post so keep an eye on this).

Download the script (remove.sh.zip) from this post and unzip it. Copy the script (remove.sh) into /tmp directory on the device (WQI also has graphical way of sending files if you don't know how to do it with novacom).

Then from novacom terminal execute following command:
sh /tmp/remove.sh

If it says SUCCESS then it should have removed all the remains of the patch package and you should be able to install a new version with WQI. But before installing restart at least the Luna (execute 'pkill LunaSysMgr' from novacom) or the phone to see that the patch has actually been removed. But if it says FAILURE then something has messed up with the files and the patch does not unapply cleanly.

Hopefully it works.
Attached Files
File Type: zip remove.sh.zip (745 Bytes, 5 views) Email Attachment

Last edited by sconix; 02/06/2010 at 05:54 PM.
sconix is offline  
Old 02/06/2010, 05:48 PM   #158 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Quote:
Originally Posted by sconix View Post
You don't have any command in front of so it tries to execute it and hence no permissions. My bad, should have said that: ls <the path here)
so it tries to list the file. But since it does not say that file not found it means that the file exists. I will post instructions for trying the manual uninstall in few minutes minutes. (I'll update this post so keep an eye on this).
Your right, with the "ls" in front, it finds it. It's a success, uninstalled. Restarted. And going to install the new versions. Seriously, Thanks for taking the time to help me out. It was completely my fault, so I appreciate it.

Last edited by lopezpm; 02/06/2010 at 06:06 PM.
lopezpm is offline  
Old 02/06/2010, 06:10 PM   #159 (permalink)
Member
 
sconix's Avatar
 
Join Date: Jul 2009
Location: Oulu, Finland - follow @therealsconix on Twitter
Posts: 4,060
Likes Received: 80
Thanks: 87
Thanked 1,700 Times in 816 Posts
Default

Quote:
Originally Posted by lopezpm View Post
Your right, with the "ls" in front, it finds it. It's a success, uninstalled. Restarted. And going to install the new versions. Seriously, Thanks for taking the time to help me out. It was completely my fault, so I appreciate it.
No problems, happy to help and glad it worked.
sconix is offline  
Old 02/06/2010, 06:16 PM   #160 (permalink)
Member
 
lopezpm's Avatar
 
Join Date: Feb 2008
Location: Garden City, MI
Posts: 741
Likes Received: 0
Thanks: 24
Thanked 62 Times in 50 Posts
Default

Installed the new versions. It remembered all settings and triggers, it now switches on command. Very Nice!!!
lopezpm is offline  
Closed Thread

 

Tags
mode, profiles

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-homebrew-apps/224544-mode-switcher.html
Posted By For Type Date
dBsooner's webOS-Patches Web Portal This thread Refback 05/27/2010 11:58 AM


 


Content Relevant URLs by vBSEO 3.6.0