webOS Nation Forums >  Homebrew >  webOS Homebrew Apps > xwTweak 0.1.0 - Global Accelerometer Switch
xwTweak 0.1.0 - Global Accelerometer Switch
  Reply
Like Tree21Likes

 
Thread Tools Display Modes
Old 01/30/2012, 05:19 AM   #21 (permalink)
Member
 
Posts: 37
On webOS 2.1.2 with Enyo installed frontend launched, but accelerometer did not react to switch.
Alinaki is offline   Reply With Quote
Old 01/30/2012, 08:39 AM   #22 (permalink)
Member
 
Posts: 562
Its been tested and works on 2.2.4. Others are also having problems on 2.1.x.
Not sure how much help it will be, but you can pursue this.

What happened to xwteam anyway? Hasnt been around since the OP.
p41m3r is offline   Reply With Quote
Old 01/31/2012, 05:59 AM   #23 (permalink)
Homebrew Developer
 
Posts: 645
If you just google for it, you can find a version 0.1.1 on a webpage with asian text.
Garfonso is offline   Reply With Quote
Old 01/31/2012, 06:49 AM   #24 (permalink)
Member
 
Posts: 562
Isnt v.1.1 already in post #2?
p41m3r is offline   Reply With Quote
Old 01/31/2012, 07:03 AM   #25 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Posts: 761
It would seem that way.
__________________
webOS Ports' UI Architect & luna-sysmgr guru.
ShiftyAxel is offline   Reply With Quote
Old 02/06/2012, 10:31 PM   #26 (permalink)
Member
 
Posts: 4
Quote:
Originally Posted by xwteam View Post
xwTweak is my first WebOS app. I hope that it is useful. ^_^

This is a global accelerometer switch. Please install it through WebOSQuickInstall

System tested: pre3 / 2.2.4ROM
=========2012-02-07 updated========
xwtweak v0.2.0 published

BUGFIXES
=====
1. fix Compatibility with some PDK applications

NEW FEATURES
=========
1. Provide PalmService API.
* uri: palm://com.xwteam.app.xwtweak/
* method: accelGetState
return: {"state": "on"} OR {"state": "off"}
* method: accelSetState
param: {"state": "on"} OR {"state": "off"}

Enjoy
Attached Files
File Type: zip com.xwteam.app.xwtweak_0.2.0_all.zip (33.4 KB, 49 views) Email Attachment

Last edited by xwteam; 02/07/2012 at 01:17 AM.
xwteam is offline   Reply With Quote
Liked by xandros9 and Garfonso like this.
Old 02/07/2012, 03:12 PM   #27 (permalink)
Member
 
Posts: 21
i tried the patch through webOS quick install. the app installed but the patch threw an error while installing. can anyone help me with this?
arif7193 is offline   Reply With Quote
Old 02/07/2012, 04:02 PM   #28 (permalink)
Member
 
Posts: 562
try to install it using Preware.

Last edited by p41m3r; 02/07/2012 at 04:08 PM.
p41m3r is offline   Reply With Quote
Old 02/07/2012, 04:09 PM   #29 (permalink)
Member
 
Posts: 21
i couldn't find the tweak in my preware. i'm running wenOS 2.2.0. can u provide me the feed?
arif7193 is offline   Reply With Quote
Old 02/08/2012, 01:04 AM   #30 (permalink)
Member
 
Posts: 562
[this is embarrassing]

My apologies; it seems I spoke too soon. Im also getting the error on install.
p41m3r is offline   Reply With Quote
Old 02/08/2012, 10:16 AM   #31 (permalink)
Member
 
Posts: 21
Quote:
Originally Posted by p41m3r View Post
[this is embarrassing]

My apologies; it seems I spoke too soon. Im also getting the error on install.
Thats alrit. anyways to get d patch work??
arif7193 is offline   Reply With Quote
Old 02/08/2012, 03:07 PM   #32 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Posts: 761
What's the error?
__________________
webOS Ports' UI Architect & luna-sysmgr guru.
ShiftyAxel is offline   Reply With Quote
Old 02/08/2012, 09:50 PM   #33 (permalink)
Member
 
Posts: 562
This is the only feedback. Where can I find the entire log?
Attached Images
File Type: png error.png (70.0 KB, 72 views) Email Attachment
p41m3r is offline   Reply With Quote
Old 02/09/2012, 02:57 AM   #34 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Posts: 761
You can find it in Preware, in the device menu IIRC. Looks like the patch to add it to the device menu is conflicting with something you already have installed. Advanced System Menus, perhaps?
ShiftyAxel is offline   Reply With Quote
Old 02/09/2012, 02:34 PM   #35 (permalink)
Member
 
Posts: 562
Thx! I removed a couple things; no change. The remaining patches are Brightness-, Flashlight- and GPS in Device Menu. I'll live w/o it for now as those are indispensable.
p41m3r is offline   Reply With Quote
Old 02/18/2012, 10:38 PM   #36 (permalink)
Member
 
JinbaIttai's Avatar
 
Posts: 22
This application works great on my Preł - as others have said, the auto-rotate function can be really annoying when trying to read in bed, so I'm stoked to find a way to turn it off.

The device menu patch did not work, but I didn't expect it to because I have the Advanced System Menus patches installed - and wasn't prepared to go without them for the sake of a slightly more convenient way to toggle the accelerometer

However, I figured it wouldn't be too hard to modify the patch to suit - and I did make it work, and in the process made an interesting discovery.

Because the "diff" was done from the /usr/lib/luna/ directory, the original patch was never going to apply for any of you - at least not via webOSQuickInstall, which expects to see a diff from the root directory, so I've cleaned that patch up and attached it here also.


fixed-xwtweak.devicemenu-accelerometer-toggle.patch - xwTeam's original patch modified so it should apply via webOSQuickInstall on an otherwise unmolested device (which I have not tested)

AdancedSysMenus-xwtweak.devicemenu-accelerometer-toggle.patch - patch modified to apply to device running Advanced System Menus 2.x - you will probably need to remove this patch first if you want to uninstall or upgrade ASM.


The usual disclaimers regarding installing random patches you found on the Internet apply - I can tell you this works for me, but there's also a chance it could make your device menu inoperable requiring either commandline and manual patching skills (via ssh or novaterm) or at worst a visit from the doctor.

P.S. most annoyingly the version of "patch" on my pre3 (included with busybox) does not accept the "--dry-run" parameter, making it difficult to test the patch without applying then unapplying.

Ironically it spits out the error "unrecognized option '--dry-run'" and then proceeds to give me a list of valid parameters, including --dry-run.
__________________
2 TouchPads and a Preł
JinbaIttai is offline   Reply With Quote
Old 02/19/2012, 01:22 AM   #37 (permalink)
Member
 
laingman's Avatar
 
Posts: 2,163
JinbaIttai, it works. It didnt work with the latest version of quickinstall, but 4.3.1 installed it fine. Thanks.
laingman is online now   Reply With Quote
Old 02/26/2012, 08:57 AM   #38 (permalink)
Member
 
Posts: 12
cant install ((
matrix55 is offline   Reply With Quote
Old 02/28/2012, 05:57 AM   #39 (permalink)
Member
 
Posts: 562
Cant install the fixed versions either.
the error says 1/3 hunks failed...

Just my luck; cant install any of the patches and it seems there are some dudes in my phone.
p41m3r is offline   Reply With Quote
Old 02/28/2012, 06:05 AM   #40 (permalink)
Member
 
geekpeter's Avatar
 
Posts: 3,611
on an off-note, i dont suppose an offshoot of this could be used to have a toggle to rotate pdk apps 90° when their launched, we have a lot of touchpad pdk apps/games that run perfectly fine on the phones when using apptuckerbox to force install them, only their squashed in the wrong orientation, could this be done in a similar manor to this patch or would that be impossible and whole different kettle of fish.
geekpeter is offline   Reply With Quote
Reply

 

Tags
accelerometer

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0