[HD Mini Android Development] -r0bin-:
hi guys,

i'm putting down some info i retrieve during analysis on the battery driver.

i developped a fake driver to retrieve the shared memory data.

right now I print out only 1024 first bytes, dont really know what to do with, but cardsharing seemed to be interested:

[ 68.614936] Now printing full SMEM contents. Note: must apply offset=8400:
[ 68.614961] 000 0300 0c00 0000 0000 offset here=[18]
[ 68.615054] 010 0000 0000 0000 0000 offset here=[37]
[ 68.615149] 000 0000 0000 0000 0000 offset here=[56]
[ 68.615243] 000 0000 410b0 0000 410b0 offset here=[75]
[ 68.615338] 000 0000 0000 0000 0410b offset here=[94]
[ 68.615431] 000 00410 b000 0000 0000 offset here=[113]
[ 68.615524] 000 0000 0000 0000 0000 offset here=[132]
[ 68.616259] 000 0000 0000 0000 0000 offset here=[151]
[ 68.616353] 000 0000 0000 0000 0000 offset here=[170]
[ 68.616448] 000 0000 0000 0000 0000 offset here=[189]
[ 68.616541] 001 000a8 3a7058 c5800 0001 offset here=[208]
[ 68.616636] 000 0000 40000 0000 1000 offset here=[227]
[ 68.616731] c000 01000 0000 0100 0d000 offset here=[246]
[ 68.616826] 0020 0000 0010 00400 00800 offset here=[265]
[ 68.616919] 000 0001 000d0 20008 0000 offset here=[284]
[ 68.617014] 000 1000 d82000 4000 0000 offset here=[303]
[ 68.617111] 100 0dc200 0c800 0000 0100 offset here=[322]
[ 68.617208] 0a421 00200 0000 0010 00c421 offset here=[341]
[ 68.617379] 004 0000 0001 000d0 3870d0 offset here=[360]
[ 68.617474] 100 0000 0000 0000 0000 offset here=[379]
[ 68.617568] 000 0000 0000 0000 0000 offset here=[398]
[ 68.617661] 010 00f045 00100 0000 0010 offset here=[417]
[ 68.617756] 0098 8f100 8000 0001 000b8 offset here=[436]
[ 68.617851] 5830 28000 0000 1000 681820 offset here=[455]
[ 68.617948] 2800 0000 0100 040d81 02800 offset here=[474]
[ 68.618041] 000 0000 0000 0000 0000 offset here=[493]
[ 68.618134] 000 0000 0000 0000 0001 offset here=[512]
[ 68.618229] 000 189810 28000 0000 0000 offset here=[531]
[ 68.618324] 000 0000 0000 0100 0e0983 offset here=[550]
[ 68.618418] 0280 0000 0010 00899 40280 offset here=[569]
[ 68.618513] 000 0001 00030 995028 0000 offset here=[588]
[ 68.618608] 000 0000 0000 0000 0000 offset here=[607]
[ 68.618701] 000 0000 0000 0000 0000 offset here=[626]
[ 68.618794] 000 0000 0000 0000 0000 offset here=[645]
[ 68.618888] 000 0000 0000 0000 0000 offset here=[664]
[ 68.618983] 000 0000 1000 589960 28000 offset here=[683]
[ 68.619076] 000 0000 0000 0000 0000 offset here=[702]
[ 68.619171] 000 0000 0000 0000 0000 offset here=[721]
[ 68.619264] 000 0000 0000 0000 0000 offset here=[740]
[ 68.619358] 000 0000 0000 0000 0000 offset here=[759]
[ 68.619451] 000 0000 0000 0000 0000 offset here=[778]
[ 68.619544] 000 0000 0000 0000 0000 offset here=[797]
[ 68.619643] 000 0000 0000 0000 0000 offset here=[816]
[ 68.619736] 000 0000 0000 0000 0000 offset here=[835]
[ 68.619828] 000 0000 0000 0000 0000 offset here=[854]
[ 68.619923] 000 0000 0010 0080d9 60280 offset here=[873]
[ 68.620018] 000 0000 0000 0000 0000 offset here=[892]
[ 68.620111] 000 0000 0000 0000 0000 offset here=[911]
[ 68.620203] 000 0000 0000 0000 0000 offset here=[930]
[ 68.620426] 000 0000 0000 0000 0000 offset here=[949]
[ 68.620519] 000 0000 0000 0000 0000 offset here=[968]
[ 68.620614] 000 0000 0000 0000 0000 offset here=[987]
[ 68.620708] 000 0000 0000 0000 0000 offset here=[1006]
[ 68.620803] 000 0000 0000 0000 0000 offset here=[1025]
[ 68.620896] 000 0000 0000 0001 00090 offset here=[1044]
[ 68.620991] 1830 28000 0000 0000 0000 offset here=[1063]
[ 68.621086] 000 0000 0000 0000 0000 offset here=[1082]
[ 68.621179] 000 0000 0000 0000 0000 offset here=[1101]
[ 68.621273] 000 0000 0000 0000 0000 offset here=[1120]
[ 68.621368] 000 0000 0000 0000 0000 offset here=[1139]
[ 68.621461] 000 0000 0000 0000 0000 offset here=[1158]
[ 68.621556] 000 0000 0000 0000 0000 offset here=[1177]
[ 68.621649] 000 0000 0000 0000 0000 offset here=[1196]
[ 68.621743] 000 0000 0000 0000 0000 offset here=[1215]
[ 68.622314] 000 0000 0000 0000 0000 offset here=[1234]
[ 68.622409] 000 0000 0000 0000 0000 offset here=[1253]
[ 68.622503] 000 0000 0000 0000 0000 offset here=[1272]
[ 68.622598] 000 0000 0000 0000 0000 offset here=[1291]
[ 68.622693] 000 0000 0000 0000 0000 offset here=[1310]
[ 68.622786] 000 0000 0000 0000 0000 offset here=[1329]
[ 68.622879] 000 0000 0000 0000 0000 offset here=[1348]
[ 68.622974] 000 0000 0000 0000 0000 offset here=[1367]
[ 68.623068] 000 0000 0000 0000 0000 offset here=[1386]
[ 68.623161] 000 0000 0000 0000 0000 offset here=[1405]
[ 68.623256] 000 0000 0000 0000 0000 offset here=[1424]
[ 68.623349] 000 0000 0000 0000 0000 offset here=[1443]
[ 68.623443] 000 0000 0000 0100 040e70 offset here=[1462]
[ 68.623538] 080 0000 0010 0004b 00409c offset here=[1481]
[ 68.623633] 000 0001 0000 f3008 0000 offset here=[1500]
[ 68.623728] 000 1000 48e700 b8b00 0000 offset here=[1519]
[ 68.623821] 000 0000 0000 0000 0100 offset here=[1538]
[ 68.623916] 08f3 0080 0000 0000 0000 offset here=[1557]
[ 68.624009] 000 0000 0001 00080 4a0020 offset here=[1576]
[ 68.624104] 000 0000 0000 0000 0000 offset here=[1595]
[ 68.624198] 000 0000 0000 0000 0000 offset here=[1614]
[ 68.624293] 000 0000 0000 0000 0010 offset here=[1633]
[ 68.624386] 00c8 38708 0000 0000 0000 offset here=[1652]
[ 68.624481] 000 0000 0000 0000 0000 offset here=[1671]
[ 68.624574] 000 0000 0000 0000 0000 offset here=[1690]
[ 68.624669] 000 0000 0000 0000 0000 offset here=[1709]
[ 68.624763] 000 0000 0000 0000 0000 offset here=[1728]
[ 68.624856] 000 0000 0000 0000 0000 offset here=[1747]
[ 68.624951] 000 0000 0000 0000 0000 offset here=[1766]
[ 68.625044] 000 0000 0010 00d844 00181 offset here=[1785]
[ 68.625139] 000 0000 0000 0000 0000 offset here=[1804]
[ 68.625233] 000 1000 04600 80400 0000 offset here=[1823]
[ 68.625328] 000 0000 0000 0000 0000 offset here=[1842]
[ 68.625423] 000 0000 0000 0000 0000 offset here=[1861]
[ 68.625516] 000 0000 0000 0000 0000 offset here=[1880]
[ 68.626596] 000 0000 0000 0000 0000 offset here=[1899]
[ 68.626691] 000 0100 0c8210 0800 0000 offset here=[1918]
[ 68.626786] 010 009897 10800 0000 0000 offset here=[1937]
[ 68.626881] 000 0000 0000 0000 0000 offset here=[1956]
[ 68.626976] 000 0000 0000 0000 0000 offset here=[1975]
[ 68.627069] 000 0000 0000 0000 0000 offset here=[1994]
[ 68.627163] 000 0000 0000 0000 0000 offset here=[2013]
[ 68.627314] 000 0000 0000 0000 0000 offset here=[2032]
[ 68.627408] 000 0000 0000 0000 0000 offset here=[2051]
[ 68.627503] 000 0000 0000 0000 0000 offset here=[2070]
[ 68.627596] 000 0000 0000 0000 0000 offset here=[2089]
[ 68.627689] 000 0000 0000 0000 0000 offset here=[2108]
[ 68.628009] 000 0000 0000 0000 0000 offset here=[2127]
[ 68.628104] 000 0000 0000 0000 0000 offset here=[2146]
[ 68.628199] 000 0000 0000 0000 0000 offset here=[2165]
[ 68.628294] 000 0000 0000 0000 0000 offset here=[2184]
[ 68.628389] 000 0000 0000 0000 0000 offset here=[2203]
[ 68.628483] 000 0000 0000 0000 0000 offset here=[2222]
[ 68.629268] 000 0000 0000 0000 0000 offset here=[2241]
[ 68.629363] 000 0000 0000 0000 0000 offset here=[2260]
[ 68.629458] 000 0000 0000 0000 0000 offset here=[2279]
[ 68.629551] 000 0000 0000 0000 0000 offset here=[2298]
[ 68.629646] 000 0000 0000 0000 0000 offset here=[2317]
[ 68.629739] 000 0000 0000 0000 0000 offset here=[2336]
[ 68.629834] 000 0000 0000 0000 0000 offset here=[2355]
[ 68.629928] 000 0000 0000 0100 0a81a7 offset here=[2374]
[ 68.630023] 0201e 0000 0010 00a819 7001 offset here=[2393]
[ 68.630966] 000 0001 000d0 210038 0000 offset here=[2412]
[ 68.631069] 000 0000 0000 0000 0000 offset here=[2431]
[ 68.631163] 000 0000 0000 0000 0000 offset here=[2450]
[ 68.631258] 000 0000 0000 0000 0000 offset here=[2469]
[ 68.631351] 000 0000 0000 0000 0000 offset here=[2488]
[ 68.631444] 000 0000 0000 0000 0000 offset here=[2507]
[ 68.631538] 000 0000 0000 0000 0000 offset here=[2526]
[ 68.631633] 000 0000 0000 0000 0000 offset here=[2545]
[ 68.631726] 000 0000 0000 0000 0000 offset here=[2564]
[ 68.631821] 000 0000 0000 0000 0000 offset here=[2583]
[ 68.631914] 000 0000 0000 0000 0000 offset here=[2602]
[ 68.632009] 000 0000 0000 0000 0000 offset here=[2621]
[ 68.632103] 000 0000 0000 0000 0000 offset here=[2640]
[ 68.632196] 000 0000 0000 0000 0000 offset here=[2659]
[ 68.632289] 000 0000 0000 0000 0000 offset here=[2678]
[ 68.632383] 000 0000 0000 0000 0000 offset here=[2697]
[ 68.632478] 000 0000 0000 0000 0000 offset here=[2716]
[ 68.632571] 000 0000 0000 0000 0000 offset here=[2735]
[ 68.632666] 000 0000 0000 0000 0000 offset here=[2754]
[ 68.632759] 000 0000 0000 0000 0000 offset here=[2773]
[ 68.632854] 000 0000 0000 0000 0000 offset here=[2792]
[ 68.632948] 000 0000 0000 0000 0000 offset here=[2811]
[ 68.633041] 000 0000 0000 0000 0000 offset here=[2830]
[ 68.633136] 000 0000 0000 0000 0000 offset here=[2849]
[ 68.633229] 000 0000 0000 0000 0000 offset here=[2868]
[ 68.633323] 000 0000 0000 0000 0000 offset here=[2887]
[ 68.633416] 000 0000 0000 0000 0000 offset here=[2906]
[ 68.633511] 000 0000 0000 0000 0000 offset here=[2925]
[ 68.633604] 000 0000 0000 0000 0000 offset here=[2944]
[ 68.633698] 000 0000 0000 0000 0000 offset here=[2963]
[ 68.633793] 000 0000 0000 0000 0000 offset here=[2982]
[ 68.633886] 000 0000 0000 0000 0000 offset here=[3001]
[ 68.633981] 000 0000 0000 0000 0000 offset here=[3020]
[ 68.634074] 000 0000 0000 0000 0000 offset here=[3039]
[ 68.634168] 000 0000 0000 0000 0000 offset here=[3058]
[ 68.634263] 000 0000 0000 0000 0000 offset here=[3077]
[ 68.634356] 000 0000 0000 0000 0000 offset here=[3096]
[ 68.634449] 000 0000 0000 0000 0000 offset here=[3115]
[ 68.634543] 000 0000 0000 0000 0000 offset here=[3134]
[ 68.634636] 000 0000 0000 0000 0000 offset here=[3153]
[ 68.634731] 000 0000 0000 0000 0000 offset here=[3172]
[ 68.634824] 000 0000 0000 0000 0000 offset here=[3191]
[ 68.635041] 000 0000 0000 0000 0000 offset here=[3210]
[ 68.635136] 000 0000 0000 0000 0000 offset here=[3229]
[ 68.635231] 000 0000 0000 0000 0000 offset here=[3248]
[ 68.635324] 000 0000 0000 0000 0000 offset here=[3267]
[ 68.635418] 000 0000 0000 0000 0000 offset here=[3286]
[ 68.635513] 000 0000 0000 0000 0000 offset here=[3305]
[ 68.635606] 000 0000 0000 0000 0000 offset here=[3324]
[ 68.635699] 000 0000 0000 0000 0000 offset here=[3343]
[ 68.635794] 000 0000 0000 0000 0000 offset here=[3362]
[ 68.635889] 000 0000 0000 0000 0000 offset here=[3381]
[ 68.636593] 000 0000 0000 0000 0000 offset here=[3400]
[ 68.636693] 000 0000 0000 0000 0000 offset here=[3419]
[ 68.636786] 000 0000 0000 0000 0000 offset here=[3438]
[ 68.636879] 000 0000 0000 0000 0000 offset here=[3457]
[ 68.637233] 000 0000 0000 0000 0000 offset here=[3476]
[ 68.637381] 000 0000 0000 0000 0000 offset here=[3495]
[ 68.637476] 000 0000 0000 0000 0000 offset here=[3514]
[ 68.637569] 000 0000 0000 0000 0000 offset here=[3533]
[ 68.637664] 000 0000 0000 0000 0000 offset here=[3552]
[ 68.637758] 000 0000 0000 0000 0000 offset here=[3571]
[ 68.637853] 000 0000 0000 0000 0000 offset here=[3590]
[ 68.637946] 000 0000 0000 0000 0000 offset here=[3609]
[ 68.638041] 000 0000 0000 0000 0000 offset here=[3628]
[ 68.638134] 000 0000 0000 0000 0000 offset here=[3647]
[ 68.638228] 000 0000 0000 0000 0000 offset here=[3666]
[ 68.638979] 000 0000 0000 0000 0000 offset here=[3685]
[ 68.639076] 000 0000 0000 0000 0000 offset here=[3704]
[ 68.639169] 000 0000 0000 0000 0000 offset here=[3723]
[ 68.639264] 000 0000 0000 0000 0000 offset here=[3742]
[ 68.639358] 000 0000 0000 0000 0000 offset here=[3761]
[ 68.639453] 000 0000 0000 0000 0000 offset here=[3780]
[ 68.639546] 000 0000 0000 0000 0000 offset here=[3799]
[ 68.639641] 000 0000 0000 0000 0000 offset here=[3818]
[ 68.639734] 000 0000 0000 0000 0000 offset here=[3837]
[ 68.639828] 000 0000 0000 0000 0000 offset here=[3856]
[ 68.639923] 000 0000 0000 0000 0000 offset here=[3875]
[ 68.640016] 000 0000 0000 0000 0000 offset here=[3894]
[ 68.640111] 000 0000 0000 0000 0000 offset here=[3913]
[ 68.640204] 000 0000 0000 0000 0000 offset here=[3932]
[ 68.640298] 000 0000 0000 0000 0000 offset here=[3951]
[ 68.640393] 000 0000 0000 0000 0000 offset here=[3970]
[ 68.640486] 000 0000 0000 0000 0000 offset here=[3989]
[ 68.640579] 000 0000 0000 0000 0000 offset here=[4008]
[ 68.640674] 000 0000 0000 0000 0000 offset here=[4027]
[ 68.640768] 000 0000 0000 0000 0000 offset here=[4046]
[ 68.640863] 000 0000 0000 0000 0000 offset here=[4065]
[ 68.640956] 000 0000 0000 0000 0000 offset here=[4084]
[ 68.641049] 000 0000 0000 0000 0000 offset here=[4103]
[ 68.641143] 000 0000 0
[ 68.641184] E/O SMEM dump. Thank you :-)