![]() |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
is anyone having a problem with the market? i tried the two included files zimage and modules. i keep getting an error when trying to connect to the market. i'm using the 6/1 aosp android build.
it says: A server error has occurred. Retry, or cancel and return to the previous screen. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
markets all good for me on the same build...
now i am just dreaming of sound, camera, and 3d hardware support... and a more stable rosie build... |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
are u using wifi to access the market? and are u sure ur using the zimage and modules files from the first post in this thread? i keep getting an error.. tried both the android 6/1 build from both the .rar and .cab and still no go
Update - actually the problem seems to be with the 6/1 build because i cant access the market with the included files |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Any chance you could just attach the file here instead of using Mediafire?
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
1 Attachment(s)
Here you go: Attachment 71727
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
I get satellite counts and speed readings with GPS apps. Google Navigation also works great now. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
unknownforce, are you going to get these changes into the xdanadroid dev tree so we can see this on the regular builds?
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
I copy the zImage over the zImage file that I currently have but there was no change. It keeps indicating that the battery is at 5% even though it says 60% in Windows Mobile. :(
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
And either rename your old module file to not have "module" prefix or just delete it |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Unknownforce,
Have you looked at Post #37 by sovereignty03? He lists something to try which looks like it may give more accurate readings since the calculations you are using appear to be from a phone with lower capacity. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
It has no correlation to the battery capacity. Trust me if it were that easy, the Devs would have already had it working long ago. The calculations I am using are very close, but they are just not as accurate as they should be. And there ARE no calculations that keep the battery level STABLE under different discharge/load levels at the current time. In just what little I have gathered from my limited disassembly of the battery.dll, it looks like there are 2 different ways it calculates the battery based on whether or not it's discharging or charging, (which is kind of what I have done in the 6/4 update) and then inside that there's multiple battery percentages it stores... One is a "stabilized" reading, another is a "immediate" reading, and another I believe is used in the stabilizing process, most likely a "previous" percentage used to "average" the battery level... So probably the only thing left to do on this is to just stabilize the load to percentage ratio and give it a condition to NEVER go up in percentage if it's NOT charging. But the current code doesn't seem to take load into consideration very well. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Should I be deleting the old module.gz from my phone? Or do I just copy the attached modules file?
|
Wirelessly posted (Mozilla/5.0 (Linux; U; Android 2.1; en-gb; HTC Legend Build/ERD79) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
About keeping stable under varying loads, There is a solution that uses the output impedance of the battery. I am in the (slow) process of compiling the data to plot a curve for the output resistance as a factor of battery temperature. If one knows this curve it is painless to calculate the correct percentage of charge. I'll share it with you when I get it done. I haven't had much time to dedicate to it yet... |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
WITHOUT this fix, it would ready 100% when it's more like 50-60% and not charge beyond that because it thinks it's are 100% because of the extreme increase in the voltage reading while on the charger. Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
Unfortunately no, I haven't had any time to look at it in the last week or so, so when I get time to look at it again, I'll have to re-trace my steps and get back into it, I don't know when I'll have the time to do that, I'm working 2 jobs right now and I can barely even get any sleep, I'm replying from work right now, haha... Hopefully I will get some time here soon to take a stab at it, but if not, I have a week off in the beginning of July, and I'll probably be able to dive into it then and hopefully figure it out. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Brought up to date with the changes from 6/14. sorry for the delay, work is killing me.
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Thanks Unknown! This is a huge help man, keep up the good work.
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Added some stabilization code to hopefully level out the battery level and not be so erratic. THIS IS A BETA of this code, I plan to add more stabilization routines in eventually, but alas, I am just too busy. However, because this is beta type code, I have left the 6/17 update up for download incase this does not work.
To understand what it does and why it's a beta, have a look at the first post. Thanks, and please let me know results and/or problems. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
how far is the hardware accelaration from being activated? Anyone know? The regular htc touch has it activated. Does anyone know if theres any build of android has the accelaration activated?
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
Secondly, hardware acceleration doesn't need to be "activated," it needs code to properly initialize and interact with the hardware. The hardware inside the TP2 is different than most other HTC Devices, including the TP1. So it can't just be "activated." We have to learn how it works and then adapt the android kernel to work properly with it. This is no easy task, and there is never a real ETA. You can't put a set time on discovery of the correct functionality, it just happens, there's a lot of trial and error. It could be today, it could be a year from today. Please read a little before posting, and please post in the correct thread. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Is this fix work with the froyo 2.2 just added at 1 juli ?, or maybe I should try and report back :)
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Actually, you're kernel seems to be the only way to get 2.2 working on a TP2. CONTACT ME. (or another dev). We need to get you merged in or something)
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
Everytime I would try to get something done on it, I would have to start over on what I was working on because I would have to "rebuild" my train of thought... and then finally get a tiny bit closer to getting a small fix implemented. As to why mine only works on 2.2, I can't explain that, as I said my changes are ONLY in the battery file, such changes should NOT affect the boot process, only the battery readings... See the link below for all the changes I made. http://pastie.org/1036932 Oh and if need be, I can zip up my entire android development folder including all files as they are right now, (and were at the time of the last compile listed here) and post them somewhere if you like... that way you can do a compare on the entire listing maybe to one of your own that does not work and see where the fault is perhaps? IDK.... |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
We may need that whole file. I did a binary comparison to your modules vs. the same release from auto-build and they're all larger. You've done something different.... Thanks for your work. You'll be missed.
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
I copied over the modules file and the zImage to my andboot folder (Latest 2.1 with LauncherPro), but my battery indicator is still off. It's showing 5% in Android when WinMo displays 38%...
Do I need to delete the other modules file from my andboot folder for this to work? It didn't overwrite the modules file since the names are different. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
You will have to delete the old Modules file, and your data.img file. If that doesn't do it, You will also have to go into the root of your sd card and delete the /android folder if there is one.
If that conbo doesn't do it, PM me and I will help you out. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/22 Update)
Unknownforce, please PM me ASAP when you can post more. I have my build machine running and I want to try and build a working kernel. Can you also let me know if you changed anything else? What kernel repo did you grab from? ANYTHING you did seemingly different. again, your modules files were MUCH bigger than those downloaded from xdandroid, so something more than the batt file had to have changed.
|
| All times are GMT -4. The time now is 11:03 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com