HP TouchPad issue - TouchPad General

Thinking about TouchPad, should buy or not !
Not buy because of
WebOS is dead, no more support from market
No apps (just few apps right now, sure it will be no more comming).
Should buy because of
Cheap....compared with other dual-core tablet, HP Touchpad price is good value, it cost about US$230 - $250 with 32G wifi version on ebay. other dual-core tablet it cost more than US$400.
Can install non-complete android CM 7, A lot of people working hard and try to make it, but no guarantee.
Non-complete issues on CM7 TouchPad version:
Cannot record sound, unless sound is already playing [Accepted]
Battery Drains while sleeping and active [Accepted]
Plugging in headphones does not mute external speakers [Accepted]
Wifi hangs in sleep, then does not reconnect [Reported]
TouchPad appears not to wake from sleep [Reported]
Bluetooth directional keys mapped for portrait mode [Reported]
Audio becomes distorted when device is put to sleep [Reported]
Files added to root folder appear to get deleted on reboot [Reported]
Onscreen keyboard shows while using bluetooth keyboard [Reported]
Apps in market are being filtered [Accepted]
Battery does not shut down device at critical battery level [Reported]
Camera does not take pictures [Accepted]
Reboot and Shutdown can take a long time [Accepted]
LED light turns off while sleeping [Accepted]
Light Sensor does not work automatically, needs to be turned on manually [Accepted]
No audio support for BT headsets [Accepted]
Add divx codecs for video support [Started]
GPS apps crashes because apps assume for valid GPS [Accepted]
What currently works on TouchPad with CM 7:
Wifi (Fixed 10/9)
Camera (Fixed 10/7)
Touchstone Support (Fixed 10/6)
Power Management (Fixed 10/4)
Clockwork Recovery (Fixed 9/30)
Battery Reporting (Fixed 9/29)
Fake SD card Mount (Fixed 9/26)
Vibration (Fixed 9/26)
Bluetooth (Fixed 9/24)
Dual CPU Processor (Fixed 9/23)
Fast Switch Boot (Appears fixed to me Video Update 9/23)
Booting into Android
ADB commands via ADB
Power, back/home and volume button layout
Touchscreen support (Multi-touch, 10 fingers)
GPU Acceleration (50/50 2D Accel support, just like any other gingerbread device out there)
Sound http://www.youtube.com/watch?v=ApfeSj4Ql6Q
Accelerometer http://www.youtube.com/watch?v=8IVkj_vdY6s
Backlight (Confirmed in IRC)
LED (Confirmed in IRC)
Multiboot (Confirmed in IRC)
Light Sensor (Confirmed in IRC)
Accessing webOS files from Android and vice versa
Softkeys
PARTIALLY Compass (Bugs need to be worked out)
Any exist TouchPad user here?

You shouldn't buy it, seems like you are looking for a out if box experience.
Sent from my Nexus S 4G using xda premium

Related

Tasker

Anyone tried this app yet? It seems to be able to do... um... everything?! Ha! I am interested to see what custom profiles and tasks people have set up in theirs!
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
http://lifehacker.com/5601133/push-...d-to-awesome-heights-with-these-tasker-setups
You can download a 14-day trial from the developers website:
http://tasker.dinglisch.net/download.html
(it is £3.99 in the market for the full version)
Wow, I would have normally glazed right over this. For some reason I read the articles and this is pretty cool. I started thinking of a bunch of uses for it. I bought it outright. Thanks for the post, moonrock!
Welcome!
I noticed in the wiki or forum (somewhere!) that they were able to set up a profile that remapped the camera button -- I am wondering if this can be used to remap the power button while the camera app is open, maybe?
So I haven't had much time to play with Tasker, but the two scripts I have currently running:
* Silence from 11pm > 8am, simple, but it replaced the other 'profiles' type apps
* Disable screen rotation when in the Kindle app, for whatever reason this isn't an option in the Kindle app itself.
I have it set to turn on my Bluetooth when plugged in and off when unplugged works great!
Sent from my SGH-T959 using XDA App
Fantastic! I need to set up a (again, simple!) task that will turn on bluetooth in the times that I am always in my car (commute to work and home, same time every day) which won't be difficult.
I have Locale already, but this may replace it (gotta love paying for apps to find out another one does 10000x more things! oops!) I've had Locale since first getting my G1 though, so it's gotten plenty of use.
So glad you posted about this app... its amazing..
18. 4009
Sent from my Samsung vibrant.
I have a couple tasks set up. First, I have gps automatically turn on and off when entering and exiting google maps. I also have one that lets me pick input style when I go into or leave remotedroid (swype's backspace doesn't work in it). And I have a couple apps that like to hang around after I close them, so I set them to be killed upon closing.
All in all it's a great app, well worth the $6.
Sent from my Vibrant using XDA app
Also worth noting is that it is £3.49 from the developer directly (paypal, via his website) and a larger % goes direct to him that way.
I have it setup for text to speech on SMS messages when my phone connects to my cars bluetooth.
I am trying to find a way to let my replay to said SMS with the voice to text feature or just ignore it. Anyone have any idea how to accomplish that?
Also think it would be cool to have it change my wallpaper based on the weather conditions in my area, but Im not sure how to go about doing that either.
ritalin said:
Also think it would be cool to have it change my wallpaper based on the weather conditions in my area, but Im not sure how to go about doing that either.
Click to expand...
Click to collapse
Beautiful Widgets (paid app, couple bucks) and the (free) Beautiful Live Wallpaper. Uses the weather widget to make the wallpaper match the weather
Tasks that I've set up so far:
Silent / dim screen / timeout / alarm volume 7 while I am asleep (timed task)
Vibrate / auto brightness / timeout (slightly longer) while at work (timed task)
Bluetooth on while in my car (timed task -- specificlly during the hours of my work commute)
Load Vlingo when Bluetooth connects, Kill Vlingo when BT disconnects
GPS on when Maps, Navigation and Foursquare are opened
Display timeout (1hr) and brightness (max) when USB plugged in (for when i am in my car, typically listening to music and/or have vlingo up on the screen, annoying (and worthless) for the display to timeout if vlingo is supposed to be a one-touch process!)
Anyway of exporting a profile then importing it so some of the more advanced useres can create some and we can tweak them ?
Edit: Having hard time getting them to do what i want .
Probably, but I am not entirely sure how... lol
My initial use:
As previously mentioned on this board the bluetooth streaming volume is not the loudest, so I always end up turning up the volume for bluetooth. Then when I plugin my headphones I destroy my eardrums.
So I setup a task that when I connect to my bluetooth car stereo, it automatically sets the volume to max and turns off wifi for good measure.
I have another task that when I plugin headphones, it sets the volume to 60% and opens the doubletwist music player.
Finally I setup the standard battery task so that when my battery gets to 20% it turns of all the GPS, wifi, and bluetooth radios, as well as dimming my screen.
Shane_pcs said:
My initial use:
As previously mentioned on this board the bluetooth streaming volume is not the loudest, so I always end up turning up the volume for bluetooth. Then when I plugin my headphones I destroy my eardrums.
So I setup a task that when I connect to my bluetooth car stereo, it automatically sets the volume to max and turns off wifi for good measure.
I have another task that when I plugin headphones, it sets the volume to 60% and opens the doubletwist music player.
Finally I setup the standard battery task so that when my battery gets to 20% it turns of all the GPS, wifi, and bluetooth radios, as well as dimming my screen.
Click to expand...
Click to collapse
Ah, I keep meaning to setup the low battery task as well!
I have two keyboards i really like in 2 different orientations.
Droid X keyboard:
its sweet autocorrections and large real estate makes it ideal for two thumb typing in landscape
swype:
slower than droid X keyboard in landscape, but in portrait, this is possibly the fastest/most accurate keyboard around.
I tried to set it up so that i could change my keyboards depending on the orientation, but i could not figure it out
im also for an app that turns your screen off with a timer (in the background). and have that work when you turn your screen downward./
any with either of these would be greatly appreciated.
Anyone know how to make it so that the Incall volume goes up to max on the connect of the phone call? I cant seem to find it in the settings meeting seems to only answer on 3/4 volume. Thought Tasker might be able to .
This app is awesome. I only got a few tasks setup but one nice one is turning the screen timeout to 23hr when I open the web browser and back to 30 secs when I exit.
talltexan said:
Anyway of exporting a profile then importing it so some of the more advanced useres can create some and we can tweak them ?
Edit: Having hard time getting them to do what i want .
Click to expand...
Click to collapse
To export a profile tap the context (left) icon <profile<export. To import just open the file with Tasker as the chosen program I think. lots of premade tasks on the Tasker wiki. (it won't let me post a link)

[Q] 180-degree Screen Rotation

Coming from WM6, I find it odd that there's no manual screen rotation options in Android. Odder still, that there's no 180-degree rotation mode.
I have a universal Car Mount from my old phone that I like, mostly because it attaches to the air vents. I find this positioning is better than a conventional windshield mount on my car, and avoids the typical issues with suction cups continuously falling off (or melting into place).
The problem is that the dock blocks the USB charging ports on the corner of the Atrix. I can get around this issue by putting the phone in upside down, however to do so I need to 'flip' the display.
The Motorola Auto-Rotate feature does not support the 180-degree position out of the box. I've found several posts asking about this feature, but no answers except a vague reference to Cyanogen Mod, implying that this will take more than a standard app/widget can do.
So, is it possible to do this on the Atrix now that we have root and deodexing options available? This is my first Android phone, so I'm not yet familiar with its innards.
Alternatively, is it possible to flip the display on a given application, specifically Nav or one of the offline GPS programs?
Ideally, what I'd like to see is:
A Widget or shortcut to manually set and/or toggle screen rotation like what was standard on WM6. Outside of the car dock, this is also useful when using the phone on a desk or bed at odd angles.
Script/Shortcut/Icon that sets a specific rotation and then launches the car dock (or GPS app).
Use Launcher Pro.
Gives you full 360 screen rotation.
Sent from my MB860 using XDA App
No, unless I'm missing something, it does not.
LauncherPro does allow the home screen to be rotated (which is not what I care about right now), but it does not support rotating it 180-degrees (upside down).
Ahh you're right.
The dock will flip to 180, but the screen stops at 90.
Any ideas?
I don't mind playing with Androids internals (time permitting) if this is possible , but as I said my experience with Android so far is minimal (particularly compared to the xda experts).
According to http://developer.motorola.com/docst...at_runtime__Allow_the_user_to_set_preferences, the only options for application preferences are landscape or portrait. Not sure if this is applicable though.
I've found an old related thread for the G1 here http://forum.xda-developers.com/showthread.php?t=449688&page=2 added screen rotation to that device. It does note though that not all rotations are implemented, and is probably also talking in the context of 2.1.
Another related thread at http://stackoverflow.com/questions/...e-rotations-by-90-but-enable-rotations-by-180 seems to imply that the 180-degree rotation won't work until we get the Android 2.3 update.
The android docs includes a ROTATION_180 definition for the Surface object with a setOrientation method on http://developer.android.com/reference/android/view/Surface.html
It appears that CyanogenMod 7 adds this capability: http://nightly.posterous.com/rotate-180
Clearly we're not going to see CM on the Atrix for a while, but is there anyway we can backport this feature into the Atrix, or will this have to wait for the fabled 2.3 update?

{Mini/MiniPro/Active/Live}[DEVELOPMENT] - CM9.1 - FreeXperia Project

We suport following accesorries
LIVEVIEW http://www.sonyericsson.com/cws/products/accessories/overview/liveviewmicrodisplay?cc=gb&lc=en#a
LIVEWATCH http://www.sonyericsson.com/cws/products/accessories/overview/smartwatch?cc=gb&lc=en
ANT+ http://www.thisisant.com/pages/technology/what-is-ant-plus
SOURCES
https://github.com/freexperia
DONATE
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=THUJZQB2U5PNC
Our team is not responsable of any damage that you or you phone will suffer by using our work
WORKING
AUDIO - ok
GPS - ok
WIFI - ok - new wl12xx_mac80211
TOUCH SCREEN - ok
CWM RECOVERY 5.5 - ok
BT - ok
GSM - ok
VIDEO DECODER - ok
3D - ok
GRALLOC - ok
HOTSPOT - ok
USB UMS - ok
CAMERA - ok (including video recording)
ANT+ - ok
HDMI - disabled
FM - ok
CAMERA - ok
NOT WORKING
look on bug tracker for remaining bugs
DOWNLOAD
http://unrestrict.li/FXP
IMPOTANT
Unlocking device on unlock website or by testpoint voids your waranty !
ZOMG FIRST!
Downloading now. You are the **** guys!
I was just browsing the FreeXperia site for CM9 info about 30 mins ago. Thanks!
hi
thanks
No Free ? !
link from rom ? !
Ofcourse its free lol. Just wait for the links.
yeyyyyy!!!!!!!! biting my nails
Thnx alot FXP !!!
OMFG
w0000000000000000000000000000000tt thats ****ing awesome !!!!!!
THANKS BIG BIG BIG THANKS FXP !!!!
Sorry for the post ^^ but that was my reaction ^^
Here we go, GREAT JOB GUYS!!!! When you expect it could be done or fully useful?
SOOOOOOOOOOOO EXCITED about ICS on my MINI
Does it have Trebucher launcher and CM modified music player?
6 bugs so far on my Xperia Active:
- Home Button does nothing
- Bluetooth headsets won't work
I can pair and connect all of them but audio will keep playing on the phone only
BT-Heartrate strap works fine though.
- Audio Playback is stuttering (with both the default player and mortplayer)
- Browser does not work (loads for a while then crashes)
- no data connection (as stated)
- after the phone was lying around for 15m it was very unresponsive (was not able to unlock it) and rebooted by itself
i flash kernel and.... black screen
ST15i
edit: ok problem solved
Mini Pro (SK17i):
Bugs, in order of priority to get fixed:
1. Will not allow me to set an APN. List of APN's stays blank after I manually save my APN details. So, no data but texting and voice calls work on O2 UK.
2. Hardware keyboard doesn't work. Lights are operational. On screen keyboard works.
3. Rotation sensor stays in landscape mode most of the time.
I noticed when searching with Root Explorer that the following file exists:
/data/user/0/com.android.providers.telephony/databases/telephony.db
telephony.db contains a large database list of carrier APN's, which all have an ID number.
My network (Giffgaff [on O2 UK]) was ID number 179.
Now, there's a settings file here:
/data/user/0/com.android.providers.telephony/shared_prefs/preferred-apn.xml
the preferred-apn.xml file contains the line:
<long name="apn_id" value="-1" />
So I backed up preferred-apn.xml and changed the value from -1 to 179 and rebooted.
The preferred-apn.xml is mirrored in:
/data/data/com.android.providers.telephony/shared_prefs/
and the mirrored file had changed to ID 179 too.
I thought I was on to something to force my APN setting into ICS but it didn't work.
I then went into APN settings and tapped 'reset to default' and Android just reset the preferred-apn.xml files back to ID -1 again.
Was I close in forcing it to use my APN??
schmolch said:
6 bugs so far on my Xperia Active:
- Home Button does nothing
- Bluetooth headsets won't work
I can pair and connect all of them but audio will keep playing on the phone only
BT-Heartrate strap works fine though.
- Audio Playback is stuttering (with both the default player and mortplayer)
- Browser does not work (loads for a while then crashes)
- no data connection (as stated)
- after the phone was lying around for 15m it was very unresponsive (was not able to unlock it) and rebooted by itself
Click to expand...
Click to collapse
Home button doesnt act as a home button, but as something else... Try going into the app drawer and press it once. You will see the first app get "selected". Also go to the browser and press it. It gets you to the top.
Browser closes if you havent installed gapps.
Audio Playback pauses for 10 or so milliseconds every 5 seconds.
Cant test the bluetooth.
Another graphical bug. When turning the phone sideways on the Wi-Fi security input screen, everything garbles up. If you press where the empty box is for the Onscreen Keyboard to pop up, it will work. Mostly a cosmetic issue but annoying
AWESOME !!
Hope you guys fix Camera Soon ! I am downloading this now .. will update about performance and stability soon.... !
EDIT:
Bugs Found in SK17i
1] G-Sensor doesn't respond,screen is always in landscape mode
2] Glitches while setting date and time
3] Failed to connect to 3G
4] vCard file importing failed for contacts backuped on SD card
5] In Dialer landscape mode all buttons stick together o.o
dumraden said:
Another graphical bug. When turning the phone sideways on the Wi-Fi security input screen, everything garbles up. If you press where the empty box is for the Onscreen Keyboard to pop up, it will work. Mostly a cosmetic issue but annoying
Click to expand...
Click to collapse
This garbled screen effect also happens when you try to edit the days of the week on the alarm clock (Mon, Tue, Wed, etc...).
It might be a bug in the composition of pop-up selection boxes, if you know what I mean.
Rusty3Cz said:
i flash kernel and.... black screen
ST15i
edit: ok problem solved
Click to expand...
Click to collapse
How did you solve it ??
so we have to first flash karnel and then the rom..that means it wont work on stock karnel..
thank you for your work

Enabling charging/notification LED

The nexus 6 has two LED (enumerated as 4 devices - one charging, one red, one blue, one green) devices. This thread is to discuss getting them working with android properly.
Issues:
The LED devices, as implemented by moto (or google) don't contain sysfs support for flashing (blinking.) They are seem to support kernel triggers (limited) and brightness controls.
However, at least as seen by the triggers for the charging LED, there is some back-end support for flashing the LED. (I'm not sure, as I can't find the source for the "blink while charging" trigger.)
The triggers for the 3 color LED's are all steady on (or reactionary) triggers.
The shared lib commonly called liblights.so (called lights.shamu.so on the nexus 6) seems to be crippled and only allows controlling the LCD backlight. BATTERY, NOTIFICATION and ATTENTION led's aren't supported. Moto/google doesn't supply the source for lights.shamu.so (which was originally compiled under a different name... lights.apq8084.so)
However, liblights.so is trivial to re-write (once you realize that the google pre-load of android uses sysv hashes and not gnu hashes), and I've already done so to support as much as the sysfs kernel support exposes by default. (charging led attached to BATTERY, red/blue/green LED's attached to ATTENTION/NOTIFICATION.)
(I'll attach source later when I'm home. I can't keep personal android related source at work due to potential conflicts of interest.)
The remaining issue, as mentioned, is that nothing is exposed in sysfs to allow the LED's to flash.
Edit: I'll be asking a moderator to move some of my posts in another section to this thread (for completeness.)
a little something...
The attached file (lights.shamu.so.zip) is a zip file containing only a replacement .so file. (No, you can't install this in recovery. This is just a single file that's been zip'd so xda will accept it as an attachment.)
(warning: I'm purposely being vague in my directions. Don't mess with this unless you know what you're doing!!!)
unzip the file, and manually copy the .so file into /system/lib/hw (overwriting the existing one) and setting the permissions (644) to match the previous file. Reboot (you're phone will likely lock up after replacing the file, but you can still reboot from within adb.)
After the reboot, adb back into the phone and set the ownership of /sys/class/leds/charging/brightness to system.system. Don't reboot after that (as the ownership will revert after a reboot until after kernel ramdisks are updated.) Now unplug your device from any USB cord used with adb.
Until the next time your phone reboots, you'll have a functional charging/battery LED (controlled by android - not by the kernel.)
I've left the notification LED disabled in the attached .so file on purpose (because it's steady-on - not blinking.)
Gary
As an additional note, a repacked kernel init.rc script (or some other mechanism that runs a command line at startup) can write into /sys/class/leds/charging/trigger to enable the charging LED. This doesn't require any special kernel support or shared libs... It appears to work fine "out of the box" with the standard kernel. The following are listed as supported triggers:
none
usb-online
max170xx_battery-online
wireless-online
rfkill0
mmc0
backlight
default-on
battery-charging-or-full
battery-charging
battery-full
battery-charging-blink-full-solid
dc-online
rfkill1
rfkill2
Of these, I've only played with a couple battery related (they seem to work after a short delay), and mmc0 (which is like a disk activity light.) (Please don't ask me what each one of these does. It's more fun to try them out yourself.)
How to play? Here's an example:
Code:
adb shell
su
echo battery-charging-blink-full-solid > /sys/class/leds/charging/trigger
(The above example, as far as I can tell, does the obvious: the green LED blinks while it's charging and goes solid when the battery is charged.)
By the way... if someone decides they want to take some of this information and publish an app that basically does nothing but write to sysfs files, that's fine. However, please make it a free app.
Why? Because this community is about development and sharing ideas freely. Profiteering from those ideas (especially when they are as trivial as obvious sysfs writes) is despicable, and really goes against what I feel xda-developers is about.
God, I HATE when I make stupid mistakes. I'm throwing together a kernel (to test some ideas with the LEDs) and forgot to change the fstab (so it doesn't force encrypt.) I didn't even install the "new" kernel, but just did a "fastboot boot kernel.img" (to see if it would boot.)
It booted.... and now it's encrypting my phone. (This is the bad thing. Encryption is one-way.. once your encrypted, the only way to decrypt is to basically factory reset the device.)
...and now for the "rookie mistake": I never bothered to make a backup of my userdata partitions. DUH!
(Actually, the reason I didn't back it up is that I'm running out of space on the phone.)
Damn.
Damn, I just realized I don't have mod ability in this dev discussion section. If a moderator comes by, can you please clean up the thread?
Anyway...
As I'm working my way to defeat android's encryption, I'll report on what I've managed...
The only thing "blocking" this project from being successful and done is that I can't get the color LED's to blink on their own. I've tried adding a timer trigger to the LED code (LED_TRIGGER_TIMER or something) and that works.. kind of: I push "timer" into the trigger file, and then I can write to "delay_on" and "delay_off" files that magically appear in the sysfs.
The problem is that those are kernel timers, and not hardware timers. In other words, the kernel has to wake up the device to turn the LED on or off. So, if the delay on/off are set to 1000ms each, that likely means that the kernel will wake the device out of deep sleep every second to change the LED brightness. I suspect that would drain a battery...
On the other hand, I simply can't believe that there'd be any LED in any android device that doesn't have some kind of blinking control baked into the hardware. The problem is finding where it's baked in, as moto/google apparently doesn't want us to know... :laugh:
I believe hardware timers are available here: https://github.com/imoseyon/leanKernel-shamu/blob/lk-lp/drivers/leds/leds-qpnp.c
I don't have time to dig into the code in detail but it coulb be tricky to enable them.
EDIT: nope i don't think hardware supports it
Yeah I haven't seen anything hardware side either.
I'm trying to unravel the mess of device trees.. Some random questions (to no one in particular... more just "typing out loud.")
It appears that the RGB LED's are GPIO controlled. However, moto/google isn't using leds-gpio, but instead they're using a GPIO mode within leds-qpnp.
Does leds-qpnp offer any functionality over leds-gpio? It appears that leds-qpnp treats GPIO based LED's in the most simple form.
Could the led's be controlled via leds-gpio instead of leds-qpnp? Would/Could that offer additional functionality (if possible)?
What other devices use leds-gpio? (hammerhead?) Do those devices support flashing LED's?
It's very possible that the hardware DOES support some type of blinking mode, but that moto never bothered to implement it as it was never needed.
garyd9 said:
I'm trying to unravel the mess of device trees..
Click to expand...
Click to collapse
hammerhead uses rgb_pwm (not gpio, etc.)
leds-gpio.c isn't going to be any help without more knowledge.
Unless there's a gpio pin that allows hardware control of the LED flashing, and I can somehow discover that, the only "blinking" that the RGB LED will be doing will be "soft blink." (software turns it on, waits for a timer, turns it off, waits for a timer, etc.)
Which would be worse on an android device's battery that's idle/sleeping: a constant on LED, or a kernel that wakes up the device every couple of seconds to change the state of the LED?
(While charging, this doesn't matter because the device doesn't actually go into deep sleep while charging.)
ah man I'm trying to remember what I did to probe for support for hardware accelerated blinking. I made some tweaks to arch/arm/boot/dts/apq8084-shamu/apq8084-shamu.dtsi to enable various different modes, but each time I tried to enable a mode other than QPNP_ID_LED_GPIO (default), the phone doesn't boot.
Imoseyon said:
ah man I'm trying to remember what I did to probe for support for hardware accelerated blinking. I made some tweaks to arch/arm/boot/dts/apq8084-shamu/apq8084-shamu.dtsi to enable various different modes, but each time I tried to enable a mode other than QPNP_ID_LED_GPIO (default), the phone doesn't boot.
Click to expand...
Click to collapse
I'm starting to think about reversing things: The charging LED has hardware blinking support, but the RGB doesn't... so I could just make the RGB cluster be the "charging LED" (with soft blinking) and the brighter green LED be the notification LED....
Extra "battery drain" used while software blinking wouldn't actually mean anything as the unit is being charged (and doesn't go into deep sleep while charging anyway.)
Of course, we'd then be forced to only GREEN notification lights. On the other hand, a single color LED notification with 0 excess battery drain is better than none at all. (My last phone was an HTC M8, and that only had orange and green.)
In fact, doing that, I could have some fun with the RGB LED while charging by changing the LED color based on the charge percentage. (I just need to figure out how to get the current battery percentage into liblights.so.)
Best of all, it's Friday, so I'll have some time to work on it over the weekend.
Sounds like fun.
notes:
liblights can access the current charge level (1-100) from sysfs /sys/class/power_supply/battery/capacity, and the charge status (Full/Charging) from /sys/class/power_supply/battery/status
edit for more notes:
For the 3 sysfs nodes representing the RGB LED, the "brightness" setting doesn't seem to have any impact. A brightness of "1" looks the same to me as a brightness of "20" (which is the max.) I'll have to retest that in a dark room.
Just a status update... I didn't get to work on thing as much as I'd wanted over the weekend. I did spend some time looking at the charging LED related code. It's attached to a "MPP" (multi-purpose pin) in the device. There's a MPP mode in the kernel code (leds-qpnp) for supporting hardware blinking, but it relies on using a PWM channel to control it.
I'm not familiar enough to PWM channels to know if I can just just assign one and it'll work, or if it requires hardware wiring in order to work. Obviously, if it requires hardware wiring that doesn't exist, there's nothing I can do there. I'd rather I had some idea what I was doing before I just randomly assigned a number as a pwm channel and booted it.
If anyone has a clue about this, I'd appreciate them chiming in. Despite the "developers only" tag on the subforum, that does NOT mean "recognized developers only." It means anyone who develops/engineers/creates/etc.
Just thought I'd share something I found while cruising T&A.
By @registered-user
http://forum.xda-developers.com/nexus-6/themes-apps/app-charging-led-mode-changer-t2963847
i took these screenshots using Tricksters LED Control settings.
When using
Code:
battery-charging-blink-full-solid
i get the light to blink while charging...
the thread has been cleaned so I have opened it up.
Please keep in mind that this is a dev discussion and as long as the post is related the discussion it is OK.
As with any thread on XDA if you think a post is in the wrong place then REPORT IT!!!!! DO NOT REPLY!!!!
@garyd9 you should PM Sevitus to find if Mod permissions are available
I have found out what some of the triggers is doing but the list is not complete yet.
none (default, LED does nothing)
usb-online (lights up when USB connected)
max170xx_battery-online
wireless-online
rfkill0 (Bluetooth enabled)
mmc0 (I/O triggered, lights when mmc0 is in use) Storage access
backlight (Backlight on the AMOLED display)
default-on (always on)
battery-charging-or-full (full time ON LED when charging or charged)
battery-charging (full time ON LED when charging)
battery-full (full time ON LED when charged)
battery-charging-blink-full-solid (blinks until charged)
dc-online
rfkill1
rfkill2
I found what the rfkill0 is doing on this page: https://github.com/ev3dev/ev3dev/wiki/Using-the-LEDs and the others is from this one: http://andrux-and-me.blogspot.com/2014/11/moto-g-play-with-led.html
IceXcube84 said:
I have found out what some of the triggers is doing but the list is not complete yet.
Click to expand...
Click to collapse
..and? I don't understand how this contributes to the development discussion concerning adding notification LED support with hardware blinking to the android device.
Are you suggesting that one of existing kernel triggers has code for enabling hardware blinking? I know that the "blink on charge" trigger uses software blinking (and that's discussed earlier.) However, I didn't dig into some of the other triggers (that are in modules outside of kernel/drivers/led/triggers)
Even if the LED lights have to be swapped if it can't be figured out is still ok.
Can we get a TWRP installable zip file to enable the charging + notification LED in CM12 or even stock image? The notification LED (even if swapped with charging LED) seriously needs to be added to CM12 builds or even stock images.

Palm PVG100 Screen Wake On Plug & Fully Charged

I'm close to having the phone perfect but these two still persist. There is a myriad of old options for Xposed and I was wondering if anyone has had success with any of them? I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
I've sorted the sound already, so there are two wake up conditions:-
1. power is enabled
2. battery reaches 100%.
Cheers, Andrew
snoopy20 said:
I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
Click to expand...
Click to collapse
Hi Andrew,
I can't help with Xposed, but I have a suggestion and a side question.
My suggestion : try IpBike (with IpBikeKey to unlock it).
The author of IpBike reads and answers e-mails. He is opened to new features if the idea is good.
If IpBike can't force the screen off (I never tested, as I don't charge my device as I cycle !), he may add the feature.
My question : is the PVG100 ANT+ capable ?
I use a Sony-Ericsson Xperia Active as a cycle computer (powered by IpBike), with ANT+ Speed, Cadence and Heart-rate sensors.
I would like to replace it with a PVG100E/EU, but the ANT directory does not list any Palm device.
Have a nice day !
Cobus.
Probably not, ANT is an extra cost for a manufacturer.
I found an open-source app which works. It's a bit old but still it does the job.
Basically it registers itself as an admin app so it can control the screen, then when a wakeup comes in it turns the screen back off. It's quick enough that the screen doesn't get a chance to come on. No root required.
snoopy20 said:
I'm close to having the phone perfect but these two still persist. There is a myriad of old options for Xposed and I was wondering if anyone has had success with any of them? I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
I've sorted the sound already, so there are two wake up conditions:-
1. power is enabled
2. battery reaches 100%.
Cheers, Andrew
Click to expand...
Click to collapse
Have you tried enabling "zen mode?" Zen mode keeps everything on the phone from waking I believe. I have tried it, but got annoyed when the wifi would cut out once I turned my screen off, because it would stop what I was listening to. Not sure exactly what you're looking for, but zen mode might be something to play around with.
To activate zen mode, the easiest way is probably through the app "setedit." Under "system" options, scroll to the bottom and change zen mode from 0 to 1.

Categories

Resources