yashsingh1/xdaforums huggingface dataset:
[Touch HD Android Development] Pete Rask:
Kernel log Kovsky v9

Ok, here's a new kernel log v9 on Kovsky. I only kept debug and removed fake line as you told.

Now it boots up with no reboot! But, have the same problems as mentioned before about charging.

- If 100% in WinMo, Android tells "charging 13%" so these numbers seems to correspond to each other. It also randomly jumps up to 74%, and then back to 13%.

- Screen seems to be flipped or offset 90 degrees. When screen is horizontal, if orange bar is slide to the left, the green bar moves to the left instead. You probably know what this depends on, but I don't :)

Good luck and thank you!
[Touch HD Android Development] luilly:
Here is my kernel v9 log:

Diamond (DIAM100)

Original Battery 900 mAh
[Touch HD Android Development] kva:
Hi, Camro. Great thanks for you great job. Can you please tell if your changes are already in msm-linux git ?
[Touch HD Android Development] camro:
you can try to charge the phone fully (best power off), then charge it via AC 3hrs. (let the AC connected.)

after that, switch on, and then suddenly boot to android + send me the kernel log as before, then i will adjust the RAW data, that we get amount real values for temp and volume ...

also you can copy your battery driver from winmo (in \windows dir there are batt*.dll drivers, which you can upload, maybe someone can look into, how the xperia does calcthe values from battery.
[Touch HD Android Development] camro:
all are in git (exluded the USB gadget driver parts)
[Touch HD Android Development] ho.angii:
do you still need blackstone 1350mAh logs?
[Touch HD Android Development] isvflorin:
git ?

Guys, what is this "git" ?

Camro and other contributors - many thanks for your hard work, nice to be able to recycle this wm relic into an Android device.
[Touch HD Android Development] dizzyman:
same problem, no sound in phone calls.

i tried in and out calls, vol up, vol down... nothing... no sound
[Touch HD Android Development] tigernight:
same here with the cyanogen 6.1 not 6.0
[Touch HD Android Development] Pete Rask:
Ok all, here's the battery drivers I found in WinMo. If there are more of them related but with other names please tell :-)

There are three files in the zip-file named, battdrvr.dll, battery.dll and PowerAndBacklightBattery.xml. Don't know if the xml file is necessary...

Will fix a battery log later on. The issue with my screen tilted/rotated with kernel v9 is fixed. Replaced ts-calibration posted here so navigation is ok now.
[Touch HD Android Development] tigernight:
Hi camro ..

where can I find the previous kerneks that was uploaded before so I can try them on the latest release of cyanogen (6.1) , the latest kernel has a phone call sound problem
[Touch HD Android Development] camro:
EDIT: new kernel v10:

.) now battery data for blackstone should be fine. (current + volatage, + % + 193% to 100% << should be all working now)

(wenn if someone can make 1 log data again, only to be sure, that it is now correct.)

.) kovsky adjustment for voltage, temp + current should be now better ...

(but if it seems to be possible to change it fully, then i would need a test.

alsow e have there a problem, about the temp, best would be, if someone can measure the batt with a seperate measure tool, because haven't found how kovsky calc the temp, maybe i can adust it manually ..

anyhow, maybe it is now possible to fully charge the device on kovsky todo a test from 100 to 0%, then i can adjust the table for calculationa also.
[Touch HD Android Development] camro:
sorry, but a "sound problem" is not really much in detail ...

which phone sound problem ?

which device ?
[Touch HD Android Development] andycted:
Hi camro, thank you for the kernel, battery looks OK for the Blackstone. The only problem that pops up regularly is the deep sleep one, do you think it could be related to setcpu overclocking? Do you need some kind of log? I can try to track down the problem, but since it's my girlfriend that uses the phone,I don't have complete control...

Sent from videotext, using the remote
[Touch HD Android Development] tigernight:
Thanks for the reply ..

the sound system of my blackstone device is working (music,ringtones, alerts ..)except incoming and outgoing calls even with changing the volume up and down ..
[Touch HD Android Development] ho.angii:
i agree with andycted. i kinda have the deep sleep problem when there is low battery left like in the 20-40% range. my phone isnt overclocked or anything.
[Touch HD Android Development] forfune:
hello ,

Just installed v10 and will make a batterylog,

add extra "htc_battery_smem.debug=7 htc_battery_smem.vol_min=15" to startup.txt

blackstone 1350 org

with best regards
[Touch HD Android Development] cepxuo:
I experience the same problem on my HTC Diamond2 only when the phone in "silent" (or vibration only) mode. Solution: bring it back to "normal" and eliminate of using "silent" mode.
[Touch HD Android Development] Pete Rask:
You mean a kernel log on a fully charged battery, or a battery log (with screen on till it dies)? :o
[Touch HD Android Development] CeasarRAPH100:
Device: HTC Touch Pro GSM RAPH100

Battery Type: Original

Battery Volume: 1340 mAh

kernel v.9 battery logfile is attached

Not a single issue noticed so far, battery life seems to increase with each new kernel ;-)

Great work !!
[Touch HD Android Development] camro:
i need log data from your kernel on the whole boot procedure.

also i would need the battery driver from winmo.

(see \windows dir -> batt*.dll),and please post it.
[Touch HD Android Development] Pete Rask:
Ok, followed your procedure. Phone powered off, charged with AC for 3 hrs. Moved over to my lap, connected it, let it fully charge again, ran cat /proc/kmsg.
[Touch HD Android Development] camro:
for blackstone we would only need 1 last FINAL test:

therefor: best would be:

start from (almost) empty device.

set startup.txt to "htc_battery_smem.debug=7 htc_battery_smem.vol_min=15" to

1.) then boot with USV cable connected.

then after boot -> start in cnsole the logging to file (cat /proc/kmsg | grep BATT >> /sdcard/battxxx.txt

2.) charge it ~1,5hrs via USV

3.) Charge it 3hrs via AC (best would be, if you can look, when the current is almost near to 80mA, this shows you, that the device is full (this is only now adjusted on blackstone.

if the value is not higher as <85, then you can remove the cable and then let run the battery out (screen always on, etc ....)

because then i can recalc the current again and also the algo, but i'm sure that now we are with the paramter almost near on FINAL version :)

PLS: please do it with kernel v11.
[Touch HD Android Development] camro:
wau, it is looking good now.and we can test now the algo and adjust it on next kernel...

add to startup option : set startup.txt to "htc_battery_smem.debug=7 htc_battery_smem.vol_min=15" to (DON'T ADD FAKE paramter !!)

please do the test from

100% fully charged battery to 0% (as described in posting #2)
[Touch HD Android Development] luilly:
Links v10 are broken. Links v11 aren't here.
[Touch HD Android Development] core7x:
working good with v11
[Touch HD Android Development] camro:
i would need a full kernel log to see, whats going on ..

best reboot the device (before set it to silent mode), then reboot, and activate the kernel logging (best would be via adb -> cat /proc/kmsg).

then whatch:

1.) call your device, then you see some activites on kernle log, note the time when it is ringing ...

2.) let it ring some seconds ..

3.) take the call and note again the time (this is the first value in kernellog in seconds from startup)

try to speak on both sides + listen...

check what is not working:

earpice (internal speaker) working ?

micro not working ?

then please send me all infos ...which device is a Diamond 2 ? is this a topaz ?
[Touch HD Android Development] camro:
perfect, thanks for great log .. the raph100 should be now the same as blackstone ..

we would only need 1 last FINAL test:

therefor: best would be:

start from (almost) empty device.

set startup.txt to "htc_battery_smem.debug=7 htc_battery_smem.vol_min=15" to

1.) then boot with USV cable connected.

then after boot -> start in cnsole the logging to file (cat /proc/kmsg | grep BATT >> /sdcard/battxxx.txt

2.) charge it ~1,5hrs via USV

3.) Charge it 3hrs via AC (best would be, if you can look, when the current is almost near to 80mA, this shows you, that the device is full (this is only now adjusted on blackstone.

if the value is not higher as <85, then you can remove the cable and then let run the battery out (screen always on, etc ....)

because then i can recalc the current again and also the algo, but i'm sure that now we are with the paramter almost near on FINAL version

PLS: please do it with kernel v11.
[Touch HD Android Development] x8rui:
working good with v10 on Blackstone
[Touch HD Android Development] lyazide:
Can you add the topaz status on the synthesis table on the post #2.
[Touch HD Android Development] omek07:
Hello camro and thanks again ...

I am lost you when you update to v11 ???

Can you please tell me what is this

"

there is a new log option (only in startup.txt) boot option like

+ htc_battery_smem.debug=7 ( 0 | 1 | 2 | 4 ) via bit (so 7=all)

+ htc_battery_smem.fake=0 ( 0 | 1 )

+ htc_battery_smem.vol_min=0 ( integer value which will be the minimum value) if it is < then it will correct the volume to this value, so the battery can also run out (if wanted)

"

And what i have to add on my blackstone startup text ???

I add yours and the blackstone now is perfect the mic is working, the ringtone is working, ( i havent have time to try all yet)

BUT on the win mo the battery meter saws me that i have 10% battery and on the android saws me that i have 21%

I have to add somethig else on startup.txt???

I have to charge it and make the batterylog .....

Thanks againnnnnn
[Touch HD Android Development] rodrilobo02:
Ok. I'm trying to copy my battdrvr.dll but I can't... tried with FileExplorer and TotalCommander... any advice???? --- Ok I solved with RomExtractor.

About the logging I'll try tonight... (12:00 pm GMT -6) and tomorrow will post it... ;)

So camro, what do I need to set on my phone for a good log for you????
[Touch HD Android Development] camro:
please add your device...

for logging see posting #2
[Touch HD Android Development] omek07:
my friend

On my previous post i write :

And what i have to add on my blackstone startup text ???
[Touch HD Android Development] JimboJoe:
Could you please add a column for rhod100? I'll try to gather data, but it might take a fews before I get that opportunity...
[Touch HD Android Development] camro:
EDIT12: kernel_v12

.) some device had problems with wrong values from battery driver, and then device shutdown by itself ..

-> should be fixed now

.) added logic, that if fake is set, then also calc the current correct

also added on posting #1 topaz + rhod100
[Touch HD Android Development] andycted:
Hi camro, v11 had some discrepancy in the battery calculation for my Blackstone, showed less battery than real up to when it reached around 15% where it stayed very long. Sorry no logs, girlfriend device!

On the other hand, the deep sleep problem continues, but thanks for the updates

Sent from videotext, using the remote
[Touch HD Android Development] omek07:
hello again

I had test v11 on my BLACKSTONE with original battery and i hadnt any problem with temp and deep sleep

(off course i had test it for 5 hours )

in call mic OK

Temp OK

battery seems improved

NO deep sleep

NO ring problem

Know i will test the v12
[Touch HD Android Development] omek07:
First BOOT on blackstone with v12

TEMP -50.0 ????? ( with battery indicator Pro)

the battery goes from 95 to 92 to 93 to 95 on USB charger

Voltage 4.202V

When i close the Airplane Mode the battery saws me 72% for a while an on the next 10 seconds saws me 97%
[Touch HD Android Development] luilly:
DIAM100

Batt Original 900 mAh.

FRX02 with kernel v12

Something's extrange...

Windows show 90% battery and android show 1%. Unplug USB and quickly showme 0%. Now plug usb and show charging 0% permanent...

EDIT...

Now is charging at 13%... and up...

FRX02, now fix auto location.
[Touch HD Android Development] forfune:
logging result charge > decharge using v11

hello,

the v11 battcharge.txt is ready!

blackstone

orig 1350 battery

greetings
[Touch HD Android Development] pirelli2006:
kernel_v12 is don't boot on topaz, at once shutdown... battery fix please, too...
[Touch HD Android Development] CeasarRAPH100:
Final test done as above logfile attached, little bit unsure about the 80mAh but disconnected after 1.5h USB+3 hours AC for discharge.
[Touch HD Android Development] luilly:
Please post links for kernel v11 or v13. I'm with v12 and haven't bakup of other kernels.
[Touch HD Android Development] camro:
this test was amazing !!!!!!!!!!!!!!!

if i would get such kind of tests from every device we would be ready for commit and could done other things to fix !!!

thanks a lot.

#############################

well, i adjust again the parameter for your type:

now the charging and discharging process should display goo values for AC, USB + battery on cuurent, voltage + temp

what i also seen now, was when the current goes down, and how deep the current goes down to recognize when your battery type is really full :)

this is now set to: 53mA (on charger), if < as this value, then it is REALLY FULLY CHARGED :)

the current i adjust on real data ...

ex: you test run on battery 6:01 hrs -> 1340 / 6 = -223mA (average current)

on your test it shows 217mA, which i now adjusted.

a gift for you ..attached the XLS with the new alog, also the v13 kernel will include your device/battery type (your is the raph100-1340 with HWBOARDID=1)

cu camel

PLS: on kernel v13, this corrections are inplace.
[Touch HD Android Development] kva:
Will complete test for blackstone in a few hours. I'm discharging it now.

After battery fixes the only thing which will block using android on usual basis will be no sound in bluetooth headset :)

Great job !
[Touch HD Android Development] andycted:
I managed to extrapolate from what my girlfriend says that the deep sleep problem happens while charging (even from USB) or right after you unplug it

Sent from videotext, using the remote
[Touch HD Android Development] Dzhedaj:
Same here... v12 kernel. After plugging in the charger, the battery meter goes to 0% and slowly rises. After unplugging the same. Only a reboot helps here.

Sorry, can see v13 is here. Will test asap :)
[Touch HD Android Development] EmielFB:
v12 all buttons seem mixed up on blackstone.

Before my end button was standby and power button was return to home. Now they both function as standby button.

Is there a way to swap them anyway? So that power button is standby (screen off) and end button is return to home screen (and end call).

testing v13

Still button mix-up on Blackstone
[Touch HD Android Development] ersinkavakli:
Same for me with v13.

phone boots with batt %0 then closes down.

I will try fake battery settings text in startup.
[Touch HD Android Development] andycted:
Uh... so I guess it's not a real deep sleep problem, but rather the phone that switches off overnight, when plugged in ?
[Touch HD Android Development] raistlin74:
Hi camro,

I'm testing the v13 just now, and it has a strange behaviour.

When I click the power button to back to the home screen, it turn off the screen instead of the home screen.

Thanks
[Touch HD Android Development] pirelli2006:
don't boot again kernel v13... reboot, v11 ok
[Touch HD Android Development] Pete Rask:
Hi

A stupid question :o but in Androids terminal, on my Xperia, how do get this symbol " | ". Using the hardware keybord but with no luck... Trying to do a battery log.
[Touch HD Android Development] xUmaRix:
button remapping for end hw button still based on the old config.might need to changed it to end call without screen suspend
[Touch HD Android Development] camro:
oh, sorry, yes i changed the key ..

HOME KEY was mapped to POWRR KEY. now i use POWER KEY = POWER KEY.

this you can change in "SPARE PARTS" -> HOME KEY -> BACK TO HOME SCREEN

i think it would be better, that POWE is the real POWER KEY, also now i can switch screen off during a call ..

but if wanted i can set it back on next kernel ..
[Touch HD Android Development] ho.angii:
v13

the power off key and the end call key on the blackstone can be used to turn off the phone. i dont know why we need two off these though camro. anyway we can just poweroff from the power key and the have the hang key to go home only in the next update?

i dont think this implementation is a problem though. kinda gets back the basic buttons minus the confusion. =]
[Touch HD Android Development] xUmaRix:
i agree with u on POWER button is the same as winmo but END button also could suspend the screen.We only have 4 button on the front and there are no android device with the same layout.I wonder if we map end call /back hw button to home button when long pressed

EDIT # anyway if any of you guys experience audio stutter when playing mp3 either using music or other player ?
[Touch HD Android Development] camro:
what do you mean ?

as i told, need a kernel log.

and always, please on the whole thread, as you can see, some devices do have problems, some are working ...

ALWAYS ADD YOUR DEVICE on very posting !!!!
[Touch HD Android Development] EmielFB:
Works fine for now, except waking up via Power key is slow (takes at least 2 seconds).

Secondly pressing end key long results in same action as pressing the power button long, instead, having the recently opened programs back would be nice!

Overall, very satisfied with latest kernel. However, My Location loads slow in Maps/Navigation/etc and battery consumption/indication is still poor.

Keep up the good work camro!
[Touch HD Android Development] camro:
out of scope and this thread, but i'm looking for an application, where i can set (example: the VOL DOWN key long press - call a task switcher, would be made more sense, as a RECENT menu ..., anyhow, we can discuss about to let the button on HOME or set it as it should be to POWER )
[Touch HD Android Development] camro:
i have no idea, which device are you using ...so can't help, also no log file, no help possible,

as told x-times .. please add your device ..

and if wanted to help, that it also works for your device, then i would need log as describe in posting #2
[Touch HD Android Development] Pepenpaul:
Hi camro,

my problem is that Android don't boot.

When I click Haret after a few seconds I can see the Neopeek screen then my device is vibrating short, the screen goes black and its vibrating a little bit longer after that my device is off and i have to press the Power key to normal boot into WM.

My Device: Xperia X1

Build: Neopeek Barebone 11-10-2010

Kernel: V13

Sorry for my very bad english but i hope you can understand what i mean... :)
[Touch HD Android Development] willcor:
hi Peteflyman,

.... only saw your " post 339" now and noticed nobody replied..?

if you still trying to figure out how to get symbol " | " on your phone keyboard .?

tap numbers ?123, ( bottom left )

then see " alt ", above ....

press alt ....and you will see....... " | " in top row...!!

good luck

willcor
[Touch HD Android Development] pirlano:
Xperia X1 with froyo CM6.1 Barebone, testing v13 kernel, system boots very well and very fast, when graphic interface is started system hangs and the screen became black, and phone power off :)
[Touch HD Android Development] Pete Rask:
Hi

Thx for your answer! However, that seems to be the problem, that when I'm starting the terminal, Androids soft keyboard doesn't show up. Only have my Xperias hardware keyboard to write from.
[Touch HD Android Development] Pete Rask:
That's strange?! I have the very same setup and I have no problems with running it. So I guess it should be working for you as well.
[Touch HD Android Development] willcor:
yes,

have blackstone and found sometimes keyboard does this to me also...

...all i do is tap on screen

..go out of terminal and back again ..tap

and have keyboard .. (lucky i guess...??)

it seems to me ,keyboard seems to stick sometimes ..!!

just want to add also ..it is only in terminal that it behaves like this !

in other application.eg....sms ,email..market place..etc..etc..

keyboard is 100% ..no problem..!!

good luck

willcor
[Touch HD Android Development] camro:
well, i need a kernel log, because i don't have a kovsky.

after pressing haret, after few seconds you can connect via adb, too.

connect via adb

then input

dmesg

and then input

cat /proc/kmsg

then put all ina file and show me the log
[Touch HD Android Development] kva:
Hi. I'm starting test on blackstone.

As I understand, it should be done in three parts:

1) Charging from USB

2) Charging from AC

3) Discharging

Can you please tell me if wireless should be on while test ?

For now i'm going such way:

screen always on in all parts

all wireless is off in all parts

screen brightness is max in all parts
[Touch HD Android Development] core7x:
will try v13 with my current cynogenmod build.
[Touch HD Android Development] Pete Rask:
Thankx again for your suggestions but it didn't work for me though. Downloaded a terminal (probably the same but newer) which had a "toggle soft keyboard" in it's settings menu. So it's kinda solved now :p

Gonna do a battery log now.
[Touch HD Android Development] hpx118:
hi! how u fixed WIFI, mine doesnt work on latest zImage13,..... wht's CHKDSK

im new, im doing somting wrong! need simple instruction.

Thank for patience!
[Touch HD Android Development] EmielFB:
Blackstone, 1350 mAh, original battery.

Can't get testing to work, can't find cat /proc/kmsg (maybe too noob for this) //solved, forgot space after cat ......

Also, in v13 mic is sometimes off with incoming calls and volume high.
[Touch HD Android Development] casefan7:
To get keyboard in terminal. (or anywhere for that matter) just hold home-button.. (or in android, menu button) on screen keyboard will pop-up ;)

XDAndroid 2.2 FRX02 test thingy

Blackstone

v13 kernel

2600mAh battery

log:

http://pastebin.com/download.php?i=6CDFz0Vh

(Gave you this on the chat already but here it is for later use again..)

+- 1min AC

+- 1min USB

+- 1min Battery
[Touch HD Android Development] camro:
EDIT14: kernel v14

.) fixed some problems with charger devices

.) added corr for AC adapter if current is higher

.) adjust a lot of things on algo

should be now fixed, that it reboots on different devices (hoperfully)
[Touch HD Android Development] camro:
can you reproduce it ?

because it it working for me fine.
[Touch HD Android Development] seandean:
I've tested version 14 on Kovsky and it shuts down during the "startup animation" or right after it loads the launcher, unmounting the SDCard and vibrating.

I have attached the kmsg log output for review. Thanks.
[Touch HD Android Development] forfune:
question on useing

Hello Camro,

Is this also for blackstone when v13 is installed.

#326 i have uploaded a v11 log no answer if it was OK??

its a log with data "first load from usb then power supply" then discharged till power down?

best regards
[Touch HD Android Development] barabangel:
for diamond whit kernel v14 incall mic not work...
[Touch HD Android Development] JimboJoe:
camro,

Here are my battery draining logs with kernel V13 on my RHOD100, with the original battery (1500 mAh).

Hope it helps!
[Touch HD Android Development] funkys:
camro,

here battlog.txt with kernel V13 from my DIAMOND 100 - original 900mAh battery

I tried few times to make full log, but it just does not work. Log stops when I plug out the AC adapter. It was discharging for 3 hours.

What happened with Viruscrazy's code for Diamond panel? With his code turning on Diamond panel was blazing fast. Now I must touch the display every time when I want to turn on phone. And I must touch it where beneath lies the unlock button or any other button, otherwise its not working.