Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
3 votes

TouchPad Battery Drain issues & How Flashing A6 Firmware can help

  • Please log in to reply

OP nevertells

nevertells

Android Guru

  • 4,643 posts

Posted 14 March 2013 - 10:00 AM #1

Since the release of J.C. Sullins latest experimental CM10 rom dated 20130304 in which he tried to correct the battery drain issue while the TouchPad is asleep, a whole new situation has arisen that some folks are experiencing really great battery drain, around -3 to -4ma, while others are seeing in the range of -20mA or so. J.C. recently posted this about it:
**************************************************************************************************************
(Posted by J.C. Sullins in the "How to install CM10 thread)

"I've been developing/testing the low battery drain for several weeks now with minimum drain as mentioned elsewhere. Then, a few days ago, all of sudden, it wouldn't drop below 18-22mA. After checking several things, I decided to check in webOS. Same thing in webOS.

So, on a hunch, I decided to reflash the A6 firmware (see tpdebrick-v004 thread).

Back to normal now.

My explanation: The A6 firmware is a bit flakey and reflashing it's firmware resets some of it's non-volatile memory to a known-good state.

BTW, if you follow the tpdebrick-v004 process, please send me the "typescript" file obtained when you do so."
*********************************************************************************************************
All of this has created a whole new set of questions and concerns about battery drain and how it is going to be addressed.

I've created this thread to give everyone a place to discuss this and not clog up other threads.

UPDATE:

New methods of flashing the A6 firmware have been found and forum member RolandDeschain79 has been working overtime to create a written guide and two videos on how to flash the A6 firmware. First the videos:

Flashing A6 firmware, method 1

https://www.youtube....h?v=3T2Apdc15uY

Flashing A6 firmware, method 2

https://www.youtube....h?v=5lOGY94RRDs


If you prefer a written guide read on:

HP TouchPad Battery Drain issues during sleep (Important):

The Problem:
Developer James Sullins, Aka Jcsullins, has informed HP TouchPads users that there is a problem with our tablets A6 Firmware. This issue can cause an usually high battery drain during sleep. This problem occurs overtime while running both CyanogeMod and WebOS, on the HP TouchPad. As a result the Touchpads battery drains more quickly with daily use and the overall life span is reduced.

The Solution:
Reflashing the A6 Firmware effectively fixes the problem but may need to be repeated as a part of regular HP TouchPad maintenance.

How to test:
How to monitor your battery
To monitor your battery drain history during sleep install the free app Battery Monitor Widget:
-Once installed open the app and go to history to see a log of your devices sleep history.
-To setup the Battery Calibration correctly for the HP TouchPad, this is based on the capacity of the installed battery in your
TouchPad. The next instruction tells you how.
-go to BMW settings/calibration/Battery capacity/ and set it to 6300 (*f29c), 6000 (*i29c) or 5800 (*s29c) and tap OK
-Note* See the Battery p/n # on the original packaging. Based on the p/n of your battery, set the capacity as described above.
-Note* after setting the calibration, users will have to allow several hours to pass while battery history in being accumulated.
Or
You can also use Cool-Tools to monitor your battery drain in real time.
-Watch the instructional video Here.

A6 Firmware Threads & Info:
Battery Drain issues on HP TouchPad (This thread you are reading)
[Fix Guide] How to Reflash the A6 Firmware XDA

How to Reflash the A6 Firmware Method 1:
[Video] How to fix the A6 firmware Battery Drain Problem on the HP TouchPad Method 1

1) Boot to WebOs and in the "Just Type" box enter the following: webos20090606 or upupdowndownleftrightleftrightbastart
-Tap the developer mode icon and slide the toggle to on, then press submit.
-WARNING: Do not enter a password. Just tap submit.
-Plug the USB cable into the HP TouchPad and your PC.

2)Install Java and the Novacom software*
- Note* If you have already previously installed Android with, Java and Novacom drivers, then proceed to step 3.

a]Download Java:

b]Download Novacom Universal Installer:

3)Open windows explorer and go to C:\Program Files\Palm, Inc\Terminal
-Now run the Terminal.bat*
-Note* if you are using a 64 bit OS and get the Error "Windows cannot find Javaw..." you will need to copy the Javaw.eve from C:\Windows\SysWOW64 and paste it into C:\Windows\System32.

4)In the open Novaterm window, select file\connect\Ok
-Now copy and paste the following line into Novaterm and press enter*
PmA6Updater -f -d 0 /lib/firmware/a6_firmware.txt.00
-Note* Do Not! disconnect the TouchPad After starting this procedure.
-Novaterm will tell you "firmware update complete"
- In the open Novaterm window, select file\disconnect\Ok
-Congratulations you have now refashed the A6 Firmware using method 1 and can safely disconnect your HP TouchPad from the USB cable.


How to Reflash the A6 Firmware Method 2:
[Video] How to fix the A6 firmware Battery Drain Problem on the HP TouchPad Method 2

1) Boot to WebOs and in the "Just Type" box enter the following: webos20090606 or upupdowndownleftrightleftrightbastart
-Tap the developer mode icon and slide the toggle to on, then press submit.

-WARNING: Do not enter a password. Just tap submit.
-Plug the USB cable into the HP TouchPad and your PC.

2)On your PC Install Java, Novacom and the WebOSQuickInstall-4.5.0 software*
- Note* If you have already previously installed Android with Java and
Novacom, then proceed to step 3.

a]Download Java:

b]Download Novacom Universal Installer:

c]Download WebOSQuickInstall-4.5.0:

3)Run the WebOSQuickInstall-4.5.0 software, note your TouchPad must be connected with the USB cable.
-Click on the Small globe icon located under the plus minus buttons.
-This will take us to a new menu where we will search “preware”
-Click the install button and the Preware app will be installed.
-You may now unplug the USB cable.

4)On the tablet while booted into WebOS navigate to downloads and select Preware.
-scroll down until you see a button appear to continue
-Search for “wterm” and install the app.
-Run wterm, and set a password to give the app Root permissions.
- You can set or change the password by looking for the wterm menu in the upper left corner and select setup.
-Click on New password and enter a simple password like ”0000”
-Confirm the password and press “Set Password” button, now hit done and exit.
-Note you can increase the font size by going to wterm preference settings.

5) Now in wterm enter one of the following commands:
PmA6Updater -f -d 0 /lib/firmware/a6_firmware.txt.00
PmA6Updater –a
(Note this shorter command flashes two firmwares)
-It should take about 20-30 seconds to complete and will inform you upon completion.
-Congratulations you have now reflashed the A6 Firmware using method 2 and can safely close the terminal and reboot your HP TouchPad.

Edited by nevertells, 23 May 2013 - 07:00 PM.

  • 6 Likes

RolandDeschain79

RolandDeschain79

Android Adventurer

Posted 14 March 2013 - 10:06 AM #2

Good idea :tongue2: I just sent you a PM about this, lets get it sorted out and I can make a note about fixing it in Jcsullins CM10 thread.
  • 0 Likes

Bwangster12

Bwangster12

Member

  • 84 posts

Posted 14 March 2013 - 10:06 AM #3

Since the release of J.C. Sullins latest experimental CM10 rom dated 20130304 in which he tried to correct the battery drain issue while the TouchPad is asleep, a whole new situation has arisen that some folks are experiencing really great battery drain, around -3 to -4ma, while others are seeing in the range of -20mA or so. J.C. recently posted this about it:

"I've been developing/testing the low battery drain for several weeks now with minimum drain as mentioned elsewhere. Then, a few days ago, all of sudden, it wouldn't drop below 18-22mA. After checking several things, I decided to check in webOS. Same thing in webOS.

So, on a hunch, I decided to reflash the A6 firmware (see tpdebrick-v004 thread).

Back to normal now.

My explanation: The A6 firmware is a bit flakey and reflashing it's firmware resets some of it's non-volatile memory to a known-good state.

BTW, if you follow the tpdebrick-v004 process, please send me the "typescript" file obtained when you do so."

All of this has created a whole new set of questions and concerns about battery drain and how it is going to be addressed.

I've created this thread to give everyone a place to discuss this and not clog up other threads.


So... I'll report my results.

Tried everything in the book to figure out why I wasn't deep sleeping and getting the 3-5 mA. I was going as low as 19-22 mA. Reflashed ROM, running bare stock and still not getting lower. Didn't want to do the TPDebrick process as my TP has been great... just not deep sleeping down to the levels everyone seems to report.

Tried doing a AcmeUinstall, WebOSDoctor, total wipe in WebOS, and then reinstalled with AcmeInstaller3 and so far I am seeing drops down to about 6 mA.

Edited by Bwangster12, 14 March 2013 - 10:08 AM.

  • 1 Likes

RolandDeschain79

RolandDeschain79

Android Adventurer

Posted 14 March 2013 - 10:13 AM #4

So... I'll report my results.

Tried everything in the book to figure out why I wasn't deep sleeping and getting the 3-5 mA. I was going as low as 19-22 mA. Reflashed ROM, running bare stock and still not getting lower. Didn't want to do the TPDebrick process as my TP has been great... just not deep sleeping down to the levels everyone seems to report.

Tried doing a AcmeUinstall, WebOSDoctor, total wipe in WebOS, and then reinstalled with AcmeInstaller3 and so far I am seeing drops down to about 6 mA.


Sounds like you have solved the problem. -6ma would be perfectly normal and some spiking will occur. Use battery monitor widget to watch the battery drain during sleep for a day and check your history. It should look like this, post your results here thanks :P

Attached Thumbnails

  • Screenshot_2013-03-09-11-37-06.png

Edited by RolandDeschain79, 14 March 2013 - 10:15 AM.

  • 0 Likes

Bwangster12

Bwangster12

Member

  • 84 posts

Posted 14 March 2013 - 10:36 AM #5

Sounds like you have solved the problem. -6ma would be perfectly normal and some spiking will occur. Use battery monitor widget to watch the battery drain during sleep for a day and check your history. It should look like this, post your results here thanks :P


Looks like I am in the game!

Reporting 5 mA in standby.
  • 0 Likes

OP nevertells

nevertells

Android Guru

  • 4,643 posts

Posted 14 March 2013 - 11:04 AM #6

Yeah, let's not get the cart before the horse. One case is not enough to call it a fix. Maybe J.C. will chime in here and give us his thoughts on whether WebOS Doctor is going to accomplish the same thing as his suggested flashing the firmware for the A6 controller.

Also, I have two 32GB TouchPads. One has been running CM10 since December. After flashing the 0304 rom, at first I thought I was going to get the -3 to -4mA drain, but after several hours it was obvious that I was getting the higher readings, in the 20's range. I decided to clean install CM10 on the second one and so far it has been maintaining the lowest readings. I'm getting around 5% usage per day. However, this is a clean install with no other apps except BMW to keep an eye on the battery. I plan to do a similar install like the first one, which will be install CM9, restore my CM9 backup and then install CM10 over the top of it. If my battery usage remains stable after all that, then I will give WebOS Doctor a try on the one that is getting higher readings. I'll report back with I have all that done.

Edited by nevertells, 24 May 2013 - 07:51 AM.

  • 0 Likes

Bwangster12

Bwangster12

Member

  • 84 posts

Posted 14 March 2013 - 12:00 PM #7

Looks like with WiFi set to 'NEVER' when sleeping, I get as low as 10 mA. Leads me to believe it is not actually turning off. When I actually flip the toggle to turn off WiFi and then put my TP to sleep... I get down to as low as 4-6 mA.
  • 0 Likes

NewbyJE

NewbyJE

Member

  • 39 posts

Posted 14 March 2013 - 12:08 PM #8

My explanation: The A6 firmware is a bit flakey and reflashing it's firmware resets some of it's non-volatile memory to a known-good state.


Interesting. Last fall when testing a new Beta version of the MBM HAL for the TP 4G, one of the MBM developers noticed that if any of the A6 alarm settings changed, it would continuously send IRQs and cause battery drain. He developed a kernel patch that would set them back to the default if they changed. I have used this patch in all my TP 4G builds since with no apparent ill effects.

I mentioned it to jcsullins back then, but he had not seen this behavoir. But maybe it was masked by the higher battery drain.

James, you may want to test this patch to see if it addresses this issue. A copy of the patch is attached.

The attached file should not be used to flash / install using recovery (CWM or TWRP). It is a software patch that can be used to modify the kernel code if you are building a ROM for the HP TouchPad.

John

Attached Files


Edited by NewbyJE, 19 March 2013 - 03:34 AM.

  • 3 Likes

wde

wde

Member

  • 11 posts

Posted 14 March 2013 - 12:46 PM #9

So... I'll report my results.

Tried everything in the book to figure out why I wasn't deep sleeping and getting the 3-5 mA. I was going as low as 19-22 mA. Reflashed ROM, running bare stock and still not getting lower. Didn't want to do the TPDebrick process as my TP has been great... just not deep sleeping down to the levels everyone seems to report.

Tried doing a AcmeUinstall, WebOSDoctor, total wipe in WebOS, and then reinstalled with AcmeInstaller3 and so far I am seeing drops down to about 6 mA.


Same symptom and same remedy. I'm back to my 3-5mA while sleeping.
Took a peek at 11:30, hence the spike.
Woke her up again at 12:50
I've always set my WiFi to "keep WiFi on during sleep - only when plugged in.

Attached Thumbnails

  • Screenshot_2013-03-14-13-05-52.png

  • 0 Likes

OP nevertells

nevertells

Android Guru

  • 4,643 posts

Posted 15 March 2013 - 06:22 AM #10

Still messing around setting up to run WebOS Doctor. Below is an interesting rundown of when and what the Doctor is doing, note line #9:
  • WebOS Doctor begins
  • At 3%, a ramdisk is transferred to the phone, and the phone is rebooted
  • At 4%, the screen changes to the HP logo
  • At 9%, the screen changes to a big arrow pointing down to an integrated circuit
  • Novaterm access is available from 12% onwards
  • The progress bar advances by 2% increments every 20 seconds or so
  • If it gets stuck at 52% for more than 30 seconds, it's not going to progress further and you will need to try again.
  • Around 54% the filesystems are being partitioned
  • Around 64% the modem firmware is being reflashed
  • Around 72% the carrier apps are being installed
  • Around 82% the ROM is being verified

Edited by nevertells, 15 March 2013 - 06:22 AM.

  • 2 Likes