yashsingh1/xdaforums huggingface dataset:
[Touch HD Android Development] camro:
i need a kernel log, to see, why it is not working

connect via adb

then do:

cat /proc/kmsg

then call your phone:

and not teh time which you'll see if it is ringing, then after few seconds - take the call and not allso the time.

then send the log + the time infos when it was ringing + when you take the call.
[Touch HD Android Development] Spidersoft:
On blackstone, green led doesn't turn off if battery is full and charger unplugged (orange led doesn't work at all, but for me that's unessacary)

edit: v13
[Touch HD Android Development] nickpro:
Does it work on topa100?
[Touch HD Android Development] camro:
i'm very sorry, i made a mistake in the correction function and so your device was thinking it is 83,7° hot and the rootfs then POWER DOWN the device.

it is now fixed in v15, please try again.

please do at first the short test:

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

short test:

========

1.) boot

2.) activate logging via:

dmesg >> /sdcard/kovskylog.txt

cat /proc/kmsg >> /sdcard/kovskylog.txt

preconditions: best would be if the phone is 10% -90% (not on 100% !!)

then do:

~2min charging via AC

~2min on battery

~2min charging via USB

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

then send me this log file, then i can adjust the basisc...

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

after that we can do the long time test:

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

long time test: (needs ~10hrs)

(preconditions: best would be if the phone is 0% - 50%)

========

1.) boot

(for this test -> before booting to android -> you should add to startup.txt)

htc_battery_smem.debug=7

htc_battery_smem.vol_min=15

2.) activate logging via:

dmesg >> /sdcard/kovskylog.txt

cat /proc/kmsg >> /sdcard/kovskylog.txt

then do:

~30min charging via AC

~1min on battery

~3hrs charging via USB

after that prepare your device:

-> flight mode ON

-> SYNC data - OFF

-> 3G -> OFF

-> screen always ON

-> screen ~50% brightning

plug out the cable and let device run out of battery

(needs ~6hrs)

then send me the log

####################################################
[Touch HD Android Development] maxym77:
Any chance to BT work (pairing with all devices, etc) with blackstone?
[Touch HD Android Development] Pete Rask:
Ok, tried this, but when i put in the second line "cat /proc/dmsg >> /sdcard/kovskylog.txt" in the terminal, I get back "cat: can't open '/proc/dmsg': No such file or directory". I still got this log on sdcard. Attaching it so you can have a look at it.
[Touch HD Android Development] JimboJoe:
camro, is the "short test" you describe here still needed for RHOD100? Were my logs useful?
[Touch HD Android Development] camro:
i wrote it now ~ 30 times ...

but here i made a mistake

you must use:

cat proc/kmsg
[Touch HD Android Development] Pete Rask:
Here we go again! Kovsky, short battery log.
[Touch HD Android Development] forfune:
hello,

yes, this happens when;

boot android, acpower supply is connected (charge, orange and already full green) when disconnecting power supply the led stays on.

greetings

blackstone orig batt 1350
[Touch HD Android Development] forfune:
hello camro,

thas this syntax error apply all delivered log files?

happy to make to make new ones

best regards
[Touch HD Android Development] willcor:
hi forfune ,

(your post 377 )

i have blackstone also....

i found the easiest way to avoid the green/orange light staying on, when booting up..

is to unplug it.. just before .. boot up.. !

and plug cable charger in again..after log on screen . in android !

otherwise, if you forget, you have to poweroff and boot up into android.

result you dont " suffer " from ..green/orange light .".irritation/ annoyance "..!!!

in short battery light does not work in android..!!

maybe you know this ?

then ignore !

i've see quite a few members complain ,about this ..!

.. remember the extra hassle saves battery power !!

good luck

willcor
[Touch HD Android Development] forfune:
hello ,

thanxs no its no irritation/ annoyance only whanted to give back some information

happy to help with getting a good android device.

best regards
[Touch HD Android Development] joveen:
Hi camro,

I will remove the data.img and retry.

Out of curiosity.

What does below files do?

data.img

rootfs
[Touch HD Android Development] willcor:
camro,

just quick.note...

i agree again .. with joveen ,(redetecting signal etc...)

my observation and impression ,

was also that android was not trying to

redetect the signal..?

thus.. i was having " deep sleep issues "

... and i forgot..

when it would detect signal (after i had to manual reset..)

i could not use "shut down option ".(long end key press... )

it would ask shutdown ..etc... and then go through the motions and vibrate once get stuck/freeze....!!( time and time , again..!!)

result... i had to remove battery or press manual , reset button ........

important....

this was also before i tested your kernel.and even with your kernel ... same pattern.)

i was using your battery1% kernel and others ) .

so in all...very smooth this morning ..!!

...been running android / with updated kernel for 5...7 hours (.no problems at all..)battery use has been overall good /..stable

and signal is very stable ..thus i had no deep sleep issues..at all !!!

my conclusion./opinion .?

again i would say for some reason ? ( from time to time ) randomly ..android has problems redetecting.. /finding signal , resulting in sleep problem ?

(and i had plenty of "deep sleep issues " yesterday ) and yet..today... signal detection is very good .!!! resulting in no sleep problems..????

thank you ,

good luck ,

willcor
[Touch HD Android Development] joveen:
I got it from

http://htcandroid.xland.cz/
[Touch HD Android Development] JRAGE:
USB connection to PC (Windows 7)

Blackstone: ROM WM 6.1

Battery: original 1350 mAh

Battery charging/discharging definately is improved (holds at least 8-12 hours)

Phone seems to get slower, more unstable with latest three builds for battery charge/discharge improvements (crashes, freezes more often).

Also 2G/3G network after phone's return from sleep doesn't wake up (doesn't turn on 3G from 2G).

As wrote before, if B party drops the call I can't release the connection by pushing disconnect button (all time hearing busy signal) until timeout ~30 secs.

Tried to connect through USB to PC. After verification from phone side the message window opened:

Device driver software was not successfully installed

USB Composite Device v Ready to use

USB Mass Storage Device v Ready to use

XDA x No driver found

CDC Abstract Control Model (ACM) x No driver found

CDC ACM data x No driver found

HTC XDA USB Device v Ready to use

USB connection wasn't successful.

Didn't though understand regarding WLAN hotspots: Camro, did you mean we should not try to activate WiFi at all with this kernel or avoid using specific WiFi APs (free WLAN hotspots) ?

Anyway, thanks all you guys for patience and hard work and waiting for new improvements.

BR,

JRage
[Touch HD Android Development] camro:
i'm a littel bit confused now ...

for testing purpose:

1.) use this kernel + modules

2.) use latest rootfs

3.) remove data.img (if exist, then all settings are deleted, and you must configure it from beginning)

for me: it is working for:

+ 2g/3g detection normal

+ WLAN -> normal

+ USB to windows 7 (64bit) - via adb or droid explorer -> normal

+ Battery % display -> normal

not perfect or buggy:

- Tethering

- AC USB detection very slow (~7sec)

- USB fast changing to AC

- battlog - always charging type 2

- WLAN hotspot - dangerous don't use it or 2g/3g detection will also not ok

- MASS Storage
[Touch HD Android Development] slashOr:
what version is the latest rootfs? where can i find it?

thx in advance
[Touch HD Android Development] ho.angii:
http://htcandroid.xland.cz/

look in the folder rootfs

rootfs-20100917
[Touch HD Android Development] kulwant:
The new kernel modifications are better than the old one's battery charging if fixed. Now it shows that it's charging but the charging light on the device is no more visible.

I tried connecting the phone to the USB and it says

"There is no disk in the drive. Please insert a disk into \Device\Harddisk\DR2."

The battery backup seems to be a little more promising now. Would post in the phone standby time charging it fully tomorrow...:)
[Touch HD Android Development] willcor:
hi camro,

just to answer you on your one question,(re: your post 16 )

no.. i did not play around or enable the" tethering "

just to add ,

my phone internet and wifi ( on phone ) works fine..!

no problems.

one further observation ,

i referred to my earlier post how every thing was smooth today...!!.

as soon as i activated my wifi ( never used it this morning )

(yes, used it earlier yesterday and then the sleep problems)

i notice my 3g signal disappear and notice that device could not redetect service..?

result....

..(i knew what was coming...yes my hunch was right )

anyway,disable wifi afterwards ,put device to sleep and yes .".deep sleep ".

......had to reset device manually

bottom line....

i now manage to get everything stable again ( steady 3g signal ,,phone waking up etc..) and yes phone is working smooth again ..!!

good luck

willcor

(just mention above, as i was using the updated kernel.

.but as stated earlier, it happens overall with all kernels i used so far .

maybe you can read something into this ....that might help ! )
[Touch HD Android Development] camro:
2g/3g detection ...

not sure .. you mean this a problem which also exist on older kernels ?
[Touch HD Android Development] camro:
ähm - which charging light do you mean ?

do you mean the led on power button ? this is always "green" on my device ...

(OliWe tried to fix to switch the led off/ red/green ...but now display broken, maybe too much testing on that ..)
[Touch HD Android Development] tigernight:
Hi camro

Could you upload the startup file for the blackstone with the modification that fixes the sound issue in the new kernels ??
[Touch HD Android Development] camro:
this is my startup ...

set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2030
set KERNEL zImage
set initrd initrd.gz
set cmdline "gsensor_axis=-2,-1,3 lcd.density=240 msm_blackstone_pad.vibrate=1 msmvkeyb_toggle=off acpuclock.oc_freq_khz=575000 msmsdcc_fmax=32000000 htc_hw.call_vol=2"
boot

maybe you can attach a dmseg log , and i'll compare, maybe i see where the problem could be...

the funny thing is, that it is working for me ..
[Touch HD Android Development] mweirauch:
Hiho. The topaz gang ;) also has issues that the connection to the RIL is lost and sometimes airplane on/off works, sometimes not and only a reset/reboot helps. It's observed when running pm.idle_sleep_mode<3. ;) So a power drainer. It mostly happens when the device has been asleep for a long time. For me when sleeping over night, it has lost "connection", it means android still thinks that things are allright, but neither phone nor data work.

Investigation pending ;)

Michael (emwe)

Btw: Get the patches out please or send them over. :D Eagerly waiting as I don't like running prebuilt kernels when one has local changes to test as well.
[Touch HD Android Development] joveen:
Quick update:

Wifi started working for me. I forgot to unzip the image provided before copying :(

Will recheck 2G/3G detection again

Battery working normal.

Delay in showing correct power source.

USB mass storage not working, Windows detecting it as new hardware. I tried to turn on USB mass storage in android - nothing happened.

Device: Blackstone

Battery Type: Original

Battery Volume: 1350 mAh
[Touch HD Android Development] tigernight:
...I tried yours but it failed to boot

any how I attached the dmseg.log file .

thanks
[Touch HD Android Development] willcor:
hi camro ,

i refer to your question ( post 31 )

yes, according to my personal experience with version 2.2 , ( been using 2.1 prior and did not notice anything as obivious ,to me , as this ? )

... it appeared to me that the redetection ...in 2.1 was better ?

so far ........

i have found that " randomly/sometimes " something ? ........" blocks/freeze"

( eg..wifi use ? but i must add , overall to me wifi works 100% )

the phone from redetecting signal ...gsm or /3g (as stated before , to me , it is not network problem !)

.........................

" Windows 6.1 " experience, tells me if i loose a signal ,phone will " redetect signal ..you can see " signal icons " in top taskbar of the phone trying to redetect and then settling down with signal ...? )

...........................

thus, to my above observation , it causes a chain reaction....!!!!!!

if phone is in this state...then....( to me )

.eg.1

if i make phone call it just " hangs " in the air ..no connection and if you try to disconnect ,phone is not responding to the end call button , at all....to abort call ?

2.

you put phone to sleep ,you are sure that it is going to be "deep sleep "( i have , " 100% experience" it ,this so far !! )

3. if you then alternatively /to putting phone to sleep .....

and rather, decide to use " airplane / shutdown ...option " ( long end key press ) you are sure that , phone will ask if you want to shut down and starts.....

the process

eg...warning notice ...

of vibrating etc..

and freezes, on screen (thus you have to manual reset)

( i have also experience this 100% in this case !)

bottom line .....

overall ,my phone is working very, very smooth and reasonable stable ,with your updated kernels ( 1% battery fix, etc )

signal overall is very stable ,until i trigger " something" that causes the chain reaction ?????

thank you ..!!!

(and also , so far the " sleep " is no big headache or problem for me .!!!!)

the sound issue..?

seems to be fix ,for me, with your..start up .........

text "cmd line edit" that i did from your 1% battery thread ..!!

good luck

willcor

nb.

just though above observation might be usefull / or give you , ideas ?

re: sleep issue .
[Touch HD Android Development] kulwant:
Usb too isnt getting detected in my case and 2g thing is totally true
[Touch HD Android Development] kulwant:
Yes that's what i exactly mean the LED Light..Works fine if i change to win mo..Apart from that the

1. Battery is now acting alot better than before

2. The signal reception has gone down to just 1..I tried to test if i was getting bad reception by switich onto the windows but i get full signal there.

3. The call quality seems to be fine even though the signal shows just one litle bar.

4. Switching to 2G causes no signal reception.

5. Applications now run much smoother than before and so does the android.

6. USB not working for me.
[Touch HD Android Development] camro:
well, the kovsky doesn't support the analyse the battery ..

i upload in few minutes another version, where i have include some more debug lines for kovsky...
[Touch HD Android Development] camro:
i adjust now the basically the values for diamond100, hoperfully i made no mistake.

but i think we are ready on next version to do the "long time test" - see posting #2
[Touch HD Android Development] lyazide:
On topaz with the last release (15) the batterie is reported an empty batterie whereas the phone is fully charged under Win Mo.

So the phone switch off.
[Touch HD Android Development] Mufflon12:
download removed ?
[Touch HD Android Development] camro:
maybe you haven't read that - WITHOUT A LOG I CAN'T HELP YOU !!!

how to make a log - read the postings

(don'T get me wrong, but such kind of posting are not really helpful and maximum such kind bring me to a descision, that i will stop trying to support all devices.
[Touch HD Android Development] camro:
EDIT16: kernel v16

.) add addionally debug prints for kovsky (because no battery init)

.) diamond100-900 adjustments - for diamond100-900 we need a FINAL LONG TEST - see posting #2
[Touch HD Android Development] pirelli2006:
where topa100 config and kernel? don't work!!!!!!!!!!!!!!!!!!!!!!!
[Touch HD Android Development] camro:
you can add to startup.txt -> htc_battery_smem.vol_min=20
[Touch HD Android Development] batabe:
i've tried right now in my diam100 your latest (v16) stuff:

but

with both xdandroid and nepeek ext2 superfroyo the boot stucks:

mmc1: new high speed mMC card at address 0001

mmcblk0: mmc1:0001 XEEOAM 3932160KiB

mmcblko: p1 p2
[Touch HD Android Development] camro:
don't know what is your real question:

in this thread we are testing kernel, which is for all devices.

and testing on: INCALL / POWER OFF / BATTERY INFO
[Touch HD Android Development] JimboJoe:
Are logs from RHOD100 still needed?

By the way, with the keys exchanges, the power button just doesn't do anything...
[Touch HD Android Development] g3rm0:
Same here, but last line on my blackstone shows: mmcblk0: p1 and than it freezes
[Touch HD Android Development] Luixmi:
I have to returned kernel 15, my DIAM100 is the same
[Touch HD Android Development] camro:
there was a problem on uploading, i tested the v16, something was bad, don't ask me..

but uploaded again, and now it is working (tested byself)

sorry
[Touch HD Android Development] batabe:
now booting is ok :)

thanks
[Touch HD Android Development] seandean:
No need to be sorry, this type of thing happens all the time.

I have attached two files for Kovsky;

kovskylog - v16 ST USB - Booted on v16 kernel and always attached to USB, plus two minutes without touching the device.

kovskylog -v16 ST Battery - Booted on v16 kernel and always on battery, plus two minutes without touching the device. I had to plugin USB to execute the commands for logging and this "may" have messed up the results. When I review this log it seems the device is going in/out of sleep mode rapidly.

I'm not able to test AC connection at this time.
[Touch HD Android Development] pjday01:
Device: HTC Pure - ST6536 \part of Topaz group

Battery Type: Original

Battery Volume: 1100 mAh

Sending batterylog for your testing.

Used 2.2 FRX01 and htc-msm-linux-20101011_000034 kernel

Per your instructions, I removed the "htc_battery_smem.fake=1" and added

"htc_battery_smem.debug=7" to the start.txt file. All instructions on Post #2 were implemented.

I have been trying for days to find a build which would allow me to generate a battery log for you, and finally I have it. I had to back track to an older version. The newer kernels are all too unstable. v13 and v14 wouldn't finish the boot process. v12 booted, but would only work with USB or AC. Battery said 0% charged, so if I unplugged the phone it would power off, so I couldn't use it for the battery log. Other versions would boot, but wouldn't be able to download the caffeine app. I hope the packaged kernel I used isn't too old to be useful.

After reading some of the posts on this thread, it seems the Blackstones are more stable than

my Pure.

Thanks for all your hard work!
[Touch HD Android Development] camro:
i need another short test with v16 on kovsky

thanks cu camel
[Touch HD Android Development] camro:
please test with v16,

and if the volume is always on 0%, then add to boot menu the vol_min=15, then it would never go to 0%.

search for vol_min on posting#2, then you'll see how it must be.

@all: AS SEVERAL times told: if your deveice is UNSUPPORTED and you want that i should be -> the phone always switched off, because it is thinking battery=0%, then you must add the vol_min=15 to startup.txt
[Touch HD Android Development] Pete Rask:
....and here it is. Short test on kovsky with v16 kernel. 1500 mAh original battery.
[Touch HD Android Development] awds1130:
wifi error
[Touch HD Android Development] luilly:
Hi Camro.

SHORT TEST

DIAM100

Battery Original 900 mAh

Kernel v16
[Touch HD Android Development] unclehooi:
topa100 with 17_zimage Works just fine. Thanks!
[Touch HD Android Development] pjday01:
Device: HTC Pure - ST6536 \part of Topaz group

Battery Type: Original

Battery Volume: 1100 mAh

2.2 FRX01 and v16 kernel

Attachment - Battery Log

Sorry I missed the battery_min in start.txt - should be fine now.
[Touch HD Android Development] camro:
doesn'T help, because you haven't activated the logging

can't see here any log option.

[ 0.000000] Kernel command line: lcd.density=210 clock-7x00.a11=500 acpuclock.oc_freq_khz=528000 hd3d.force=1 pmem.extra=1 msmvkeyb_toggle=off snd.force_headset=1 htc_hw.handsfree=1 htc_hw.call_vol=5 gsensor_axis=2,-1,3 board-htcraphael-navi.wake=0 rel_path=android wifi.mac=00:18:41:9A:87:3E ppp.apn=internet ppp.username=orange ppp.password=orange

you must activate the logging in startup.txt parameter - see posting #2
[Touch HD Android Development] camro:
long time i haven't understand, why the fu** battery won't init on your device .., and i rechecked the code several times ... no mistake in there..

but, now, i'm sure, it will do correct, but ...you haven't activated the logging in your startup, so no informations in your log :)

see posting #2 for activating logging in startup.txt

here your startup: [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 init=/init rootwait rw rootdelay=3 console=tty0 rootdelay=3 fbcon=rotate:2 ro.sf.hwrotation=180 lcd.density=240 msmvkeyb_toggle=off msmts_calib=0x0366.0x04b.0x0c8.0x038e acpuclock.oc_freq_khz=600000 pmem.extra=1 no_console_suspend clock-7x00.mddi=0xa51 physkeyboard=kovsq hw3d.force=1
[Touch HD Android Development] Pete Rask:
Yeah, saw that too myself! Don't know what the h*ll I've been doing! Will provide you with another log in just a few. Sooooo sorry Camro! :o

EDIT : ...for the last time :) ..... Short test on kovsky. 1500mAh original battery. I will have the Long test up hopefully by tomorrow if this one worked out Ok.
[Touch HD Android Development] nijazka:
vol_min=15 not work in topa100

sorry need htc_battery_smem.vol_min=15
[Touch HD Android Development] camro:
thanks, attached your device, implemented now,

there was wrong the batter: current, voltage, level.

i adjust it now.

the temp, i have no idea, and it will automatically corr to 500 for now, because your device tell us: ~85°, and therefore someone must look into the wm battery driver... anyhow ... the temp is not so important.

the current i saw in your test: 1100mAh in 6,5hrs = an average of 169mA / hour ..

pleace check also on your device the other things (usb, incall etc ...)

see table on posting #2

BATTERY TYPES__:|topa100-1100|

ExTRAINFO______:|vendor2 |

---------------:|------------|

boot procedure_:|______x_____|

InCall Mic_____:|______?_____|

InCall Earpice_:|______?_____|

USB Gadget_____:|______?_____|

USB Mass Storag:|______n_____|

temperature____:|______b_____|

voltage________:|______t_____|

current on AC__:|______t_____|

current on USB_:|______t_____|

current on batt:|______t_____|

also attached, you can see how it will be done on next version, which i will upload in few mintes.

what i want to tell you, you haven'T fully charged your device on this test.

anyhow, we can make now the FINAL test -> please see posting#2, and look for "LONG TIME TEST".

attached (if interested) the new algo for your device.

cu camel
[Touch HD Android Development] camro:
very much detail in your report ...
[Touch HD Android Development] funkys:
camro

for final test on Diamond100 -900mAh what command should I use?

- dmesg >> /sdcard/kovskylog.txt

cat /proc/kmsg >> /sdcard/kovskylog.txt

or - cat /proc/kmsg | grep BATT >> /sdcard/batterylog.txt

best regards
[Touch HD Android Development] JimboJoe:
camro,

You'll find attached my short batterylog with kernel v16 on my RHOD100, with standard battery (1500 mAh).

Hope it helps!

EDIT: Just to be clear: since a couple of kernel versions (include mainline one) the power off button just doesn't do anything. So basically, RHOD100 users are stuck without any home button :-(
[Touch HD Android Development] khurr:
installed v17 on blackstone. End call button and power off button are both acting as the end call button.

When I press power off button it doesnt show the desktop. and when i long press the power off button it doesnt list my currently applications.