[HTC Wildfire S] munjeni:
There is 3 diference :):

- while s-on:

MSM_SHARED_RAM_BASE + 0xFC000 + 0xD4 = 0x01
MSM_SHARED_RAM_BASE + 0xFC000 + 0xE0 = 0xD4
MSM_SHARED_RAM_BASE + 0xFC000 + 0xE4 = 0xA1

- while s-off:

MSM_SHARED_RAM_BASE + 0xFC000 + 0xD4 = 0x4C
MSM_SHARED_RAM_BASE + 0xFC000 + 0xE0 = 0xC7
MSM_SHARED_RAM_BASE + 0xFC000 + 0xE4 = 0xA6

<4>[ 62.280700] ********* DUMP **********

<4>[ 62.280853] 0x9D080B24 + 0x0 = 0

<4>[ 62.281158] 0x9D080B24 + 0x1 = 0

<4>[ 62.281311] 0x9D080B24 + 0x2 = 0

<4>[ 62.281463] 0x9D080B24 + 0x3 = 0

<4>[ 62.281616] 0x9D080B24 + 0x4 = 0

<4>[ 62.281921] 0x9D080B24 + 0x5 = 0

<4>[ 62.282073] 0x9D080B24 + 0x6 = 0

<4>[ 62.282226] 0x9D080B24 + 0x7 = 0

<4>[ 62.282501] 0x9D080B24 + 0x8 = 0

<4>[ 62.282653] 0x9D080B24 + 0x9 = 0

<4>[ 62.282806] 0x9D080B24 + 0xA = 0

<4>[ 62.282958] 0x9D080B24 + 0xB = 0

<4>[ 62.283264] 0x9D080B24 + 0xC = 0

<4>[ 62.283416] 0x9D080B24 + 0xD = 0

<4>[ 62.283569] 0x9D080B24 + 0xE = 0

<4>[ 62.283874] 0x9D080B24 + 0xF = 0

<4>[ 62.284027] 0x9D080B24 + 0x10 = 0

<4>[ 62.284179] 0x9D080B24 + 0x11 = 0

<4>[ 62.284332] 0x9D080B24 + 0x12 = 0

<4>[ 62.284606] 0x9D080B24 + 0x13 = 0

<4>[ 62.284790] 0x9D080B24 + 0x14 = 0

<4>[ 62.284942] 0x9D080B24 + 0x15 = 0

<4>[ 62.285217] 0x9D080B24 + 0x16 = 0

<4>[ 62.285369] 0x9D080B24 + 0x17 = 0

<4>[ 62.285522] 0x9D080B24 + 0x18 = 0

<4>[ 62.285705] 0x9D080B24 + 0x19 = 0

<4>[ 62.285980] 0x9D080B24 + 0x1A = 0

<4>[ 62.286132] 0x9D080B24 + 0x1B = 0

<4>[ 62.286285] 0x9D080B24 + 0x1C = 0

<4>[ 62.286590] 0x9D080B24 + 0x1D = 0

<4>[ 62.286743] 0x9D080B24 + 0x1E = 0

<4>[ 62.286895] 0x9D080B24 + 0x1F = 0

<4>[ 62.287048] 0x9D080B24 + 0x20 = 0

<4>[ 62.287353] 0x9D080B24 + 0x21 = 0

<4>[ 62.287506] 0x9D080B24 + 0x22 = 0

<4>[ 62.287658] 0x9D080B24 + 0x23 = 0

<4>[ 62.287933] 0x9D080B24 + 0x24 = 0

<4>[ 62.288085] 0x9D080B24 + 0x25 = 0

<4>[ 62.288269] 0x9D080B24 + 0x26 = 0

<4>[ 62.288421] 0x9D080B24 + 0x27 = 0

<4>[ 62.288696] 0x9D080B24 + 0x28 = 0

<4>[ 62.289459] 0x9D080B24 + 0x29 = D21CD21C

<4>[ 62.289642] 0x9D080B24 + 0x2A = 0

<4>[ 62.289947] 0x9D080B24 + 0x2B = 0

<4>[ 62.290100] 0x9D080B24 + 0x2C = 0

<4>[ 62.290252] 0x9D080B24 + 0x2D = 0

<4>[ 62.290527] 0x9D080B24 + 0x2E = 0

<4>[ 62.290710] 0x9D080B24 + 0x2F = 0

<4>[ 62.290863] 0x9D080B24 + 0x30 = 0

<4>[ 62.291015] 0x9D080B24 + 0x31 = 0

<4>[ 62.291290] 0x9D080B24 + 0x32 = 0

<4>[ 62.291442] 0x9D080B24 + 0x33 = 0

<4>[ 62.291625] 0x9D080B24 + 0x34 = 0

<4>[ 62.291900] 0x9D080B24 + 0x35 = 0

<4>[ 62.292053] 0x9D080B24 + 0x36 = 0

<4>[ 62.292205] 0x9D080B24 + 0x37 = 0

<4>[ 62.292358] 0x9D080B24 + 0x38 = 0

<4>[ 62.292663] 0x9D080B24 + 0x39 = 0

<4>[ 62.292816] 0x9D080B24 + 0x3A = 0

<4>[ 62.292968] 0x9D080B24 + 0x3B = 0

<4>[ 62.293243] 0x9D080B24 + 0x3C = 0

<4>[ 62.293426] 0x9D080B24 + 0x3D = 0

<4>[ 62.293579] 0x9D080B24 + 0x3E = 0

<4>[ 62.293731] 0x9D080B24 + 0x3F = 0

<4>[ 62.294006] 0x9D080B24 + 0x40 = 0

<4>[ 62.294158] 0x9D080B24 + 0x41 = 0

<4>[ 62.294342] 0x9D080B24 + 0x42 = 0

<4>[ 62.294616] 0x9D080B24 + 0x43 = 0

<4>[ 62.294769] 0x9D080B24 + 0x44 = 0

<4>[ 62.294921] 0x9D080B24 + 0x45 = 0

<4>[ 62.295196] 0x9D080B24 + 0x46 = 0

<4>[ 62.295379] 0x9D080B24 + 0x47 = 0

<4>[ 62.295532] 0x9D080B24 + 0x48 = 0

<4>[ 62.295684] 0x9D080B24 + 0x49 = 0

<4>[ 62.295959] 0x9D080B24 + 0x4A = 0

<4>[ 62.296112] 0x9D080B24 + 0x4B = 0

<4>[ 62.296295] 0x9D080B24 + 0x4C = 0

<4>[ 62.296569] 0x9D080B24 + 0x4D = 0

<4>[ 62.296722] 0x9D080B24 + 0x4E = 0

<4>[ 62.296875] 0x9D080B24 + 0x4F = 0

<4>[ 62.297027] 0x9D080B24 + 0x50 = 0

<4>[ 62.297332] 0x9D080B24 + 0x51 = 0

<4>[ 62.297485] 0x9D080B24 + 0x52 = 0

<4>[ 62.297637] 0x9D080B24 + 0x53 = 0

<4>[ 62.297912] 0x9D080B24 + 0x54 = 0

<4>[ 62.298095] 0x9D080B24 + 0x55 = 0

<4>[ 62.298248] 0x9D080B24 + 0x56 = 0

<4>[ 62.298400] 0x9D080B24 + 0x57 = 0

<4>[ 62.298675] 0x9D080B24 + 0x58 = 0

<4>[ 62.298858] 0x9D080B24 + 0x59 = 0

<4>[ 62.299011] 0x9D080B24 + 0x5A = 0

<4>[ 62.299316] 0x9D080B24 + 0x5B = 0

<4>[ 62.299468] 0x9D080B24 + 0x5C = 0

<4>[ 62.299621] 0x9D080B24 + 0x5D = 0

<4>[ 62.299774] 0x9D080B24 + 0x5E = 0

<4>[ 62.300048] 0x9D080B24 + 0x5F = 0

<4>[ 62.300231] 0x9D080B24 + 0x60 = 0

<4>[ 62.300384] 0x9D080B24 + 0x61 = 0

<4>[ 62.300659] 0x9D080B24 + 0x62 = 0

<4>[ 62.300811] 0x9D080B24 + 0x63 = 0

<4>[ 62.300964] 0x9D080B24 + 0x64 = 0

<4>[ 62.301116] 0x9D080B24 + 0x65 = 0

<4>[ 62.301422] 0x9D080B24 + 0x66 = 0

<4>[ 62.301574] 0x9D080B24 + 0x67 = 0

<4>[ 62.301727] 0x9D080B24 + 0x68 = 0

<4>[ 62.302032] 0x9D080B24 + 0x69 = 0

<4>[ 62.302185] 0x9D080B24 + 0x6A = 0

<4>[ 62.302337] 0x9D080B24 + 0x6B = 0

<4>[ 62.302490] 0x9D080B24 + 0x6C = 0

<4>[ 62.302764] 0x9D080B24 + 0x6D = 0

<4>[ 62.302947] 0x9D080B24 + 0x6E = 0

<4>[ 62.303100] 0x9D080B24 + 0x6F = 0

<4>[ 62.303375] 0x9D080B24 + 0x70 = 0

<4>[ 62.303527] 0x9D080B24 + 0x71 = 0

<4>[ 62.303680] 0x9D080B24 + 0x72 = 0

<4>[ 62.303985] 0x9D080B24 + 0x73 = 0

<4>[ 62.304138] 0x9D080B24 + 0x74 = 0

<4>[ 62.304290] 0x9D080B24 + 0x75 = 0

<4>[ 62.304443] 0x9D080B24 + 0x76 = 0

<4>[ 62.304718] 0x9D080B24 + 0x77 = 0

<4>[ 62.304901] 0x9D080B24 + 0x78 = 0

<4>[ 62.305053] 0x9D080B24 + 0x79 = 0

<4>[ 62.305328] 0x9D080B24 + 0x7A = 0

<4>[ 62.305480] 0x9D080B24 + 0x7B = 0

<4>[ 62.305633] 0x9D080B24 + 0x7C = 0

<4>[ 62.305786] 0x9D080B24 + 0x7D = 0

<4>[ 62.306091] 0x9D080B24 + 0x7E = 0

<4>[ 62.306243] 0x9D080B24 + 0x7F = 0

<4>[ 62.306396] 0x9D080B24 + 0x80 = 0

<4>[ 62.306671] 0x9D080B24 + 0x81 = 0

<4>[ 62.306854] 0x9D080B24 + 0x82 = 0

<4>[ 62.307006] 0x9D080B24 + 0x83 = 0

<4>[ 62.307159] 0x9D080B24 + 0x84 = 0

<4>[ 62.307434] 0x9D080B24 + 0x85 = 0

<4>[ 62.307586] 0x9D080B24 + 0x86 = 0

<4>[ 62.307769] 0x9D080B24 + 0x87 = 0

<4>[ 62.308044] 0x9D080B24 + 0x88 = 0

<4>[ 62.308197] 0x9D080B24 + 0x89 = 0

<4>[ 62.308349] 0x9D080B24 + 0x8A = 0

<4>[ 62.308502] 0x9D080B24 + 0x8B = 0

<4>[ 62.310028] 0x9D080B24 + 0x8C = 1D871D87

<4>[ 62.310211] 0x9D080B24 + 0x8D = 0

<4>[ 62.310363] 0x9D080B24 + 0x8E = 0

<4>[ 62.310668] 0x9D080B24 + 0x8F = 0

<4>[ 62.310821] 0x9D080B24 + 0x90 = 0

<4>[ 62.310974] 0x9D080B24 + 0x91 = 0

<4>[ 62.311279] 0x9D080B24 + 0x92 = 0

<4>[ 62.311431] 0x9D080B24 + 0x93 = 0

<4>[ 62.311584] 0x9D080B24 + 0x94 = 0

<4>[ 62.311737] 0x9D080B24 + 0x95 = 0

<4>[ 62.312011] 0x9D080B24 + 0x96 = 0

<4>[ 62.312164] 0x9D080B24 + 0x97 = 0

<4>[ 62.312347] 0x9D080B24 + 0x98 = 0

<4>[ 62.312622] 0x9D080B24 + 0x99 = 0

<4>[ 62.312774] 0x9D080B24 + 0x9A = 0

<4>[ 62.312927] 0x9D080B24 + 0x9B = 0

<4>[ 62.313079] 0x9D080B24 + 0x9C = 0

<4>[ 62.313385] 0x9D080B24 + 0x9D = 0

<4>[ 62.313537] 0x9D080B24 + 0x9E = 0

<4>[ 62.313690] 0x9D080B24 + 0x9F = 0

<4>[ 62.313964] 0x9D080B24 + 0xA0 = 0

<4>[ 62.314117] 0x9D080B24 + 0xA1 = 0

<4>[ 62.314270] 0x9D080B24 + 0xA2 = 0

<4>[ 62.314453] 0x9D080B24 + 0xA3 = 0

<4>[ 62.314727] 0x9D080B24 + 0xA4 = 0

<4>[ 62.314880] 0x9D080B24 + 0xA5 = 0

<4>[ 62.332885] 0x9D080B24 + 0xA6 = 0

<4>[ 62.333190] 0x9D080B24 + 0xA7 = 0

<4>[ 62.333343] 0x9D080B24 + 0xA8 = 0

<4>[ 62.333496] 0x9D080B24 + 0xA9 = 0

<4>[ 62.333648] 0x9D080B24 + 0xAA = 0

<4>[ 62.333953] 0x9D080B24 + 0xAB = 0

<4>[ 62.334106] 0x9D080B24 + 0xAC = 0

<4>[ 62.334259] 0x9D080B24 + 0xAD = 0

<4>[ 62.334533] 0x9D080B24 + 0xAE = 0

<4>[ 62.334716] 0x9D080B24 + 0xAF = 0

<4>[ 62.334869] 0x9D080B24 + 0xB0 = 0

<4>[ 62.335021] 0x9D080B24 + 0xB1 = 0

<4>[ 62.335296] 0x9D080B24 + 0xB2 = 0

<4>[ 62.335449] 0x9D080B24 + 0xB3 = 0

<4>[ 62.335601] 0x9D080B24 + 0xB4 = 0

<4>[ 62.335906] 0x9D080B24 + 0xB5 = 0

<4>[ 62.336059] 0x9D080B24 + 0xB6 = 0

<4>[ 62.336212] 0x9D080B24 + 0xB7 = 0

<4>[ 62.336517] 0x9D080B24 + 0xB8 = 0

<4>[ 62.336669] 0x9D080B24 + 0xB9 = 0

<4>[ 62.336822] 0x9D080B24 + 0xBA = 0

<4>[ 62.336975] 0x9D080B24 + 0xBB = 0

<4>[ 62.337249] 0x9D080B24 + 0xBC = 0

<4>[ 62.337432] 0x9D080B24 + 0xBD = 0

<4>[ 62.337585] 0x9D080B24 + 0xBE = 0

<4>[ 62.337860] 0x9D080B24 + 0xBF = 0

<4>[ 62.338012] 0x9D080B24 + 0xC0 = 0

<4>[ 62.338195] 0x9D080B24 + 0xC1 = 0

<4>[ 62.338348] 0x9D080B24 + 0xC2 = 0

<4>[ 62.338623] 0x9D080B24 + 0xC3 = 0

<4>[ 62.338775] 0x9D080B24 + 0xC4 = 0

<4>[ 62.345123] 0x9D080B24 + 0xC5 = EF0DEF0D

<4>[ 62.345458] 0x9D080B24 + 0xC6 = 0

<4>[ 62.345642] 0x9D080B24 + 0xC7 = 0

<4>[ 62.345794] 0x9D080B24 + 0xC8 = 0

<4>[ 62.345947] 0x9D080B24 + 0xC9 = 0

<4>[ 62.346221] 0x9D080B24 + 0xCA = 0

<4>[ 62.346374] 0x9D080B24 + 0xCB = 0

<4>[ 62.346527] 0x9D080B24 + 0xCC = 0

<4>[ 62.346832] 0x9D080B24 + 0xCD = 0

<4>[ 62.346984] 0x9D080B24 + 0xCE = 0

<4>[ 62.347137] 0x9D080B24 + 0xCF = 0

<4>[ 62.347412] 0x9D080B24 + 0xD0 = 0

<4>[ 62.347564] 0x9D080B24 + 0xD1 = 0

<4>[ 62.347717] 0x9D080B24 + 0xD2 = 0

<4>[ 62.347900] 0x9D080B24 + 0xD3 = 0

<4>[ 62.348175] 0x9D080B24 + 0xD4 = 0

<4>[ 62.348327] 0x9D080B24 + 0xD5 = 0

<4>[ 62.348480] 0x9D080B24 + 0xD6 = 0

<4>[ 62.348785] 0x9D080B24 + 0xD7 = 0

<4>[ 62.354156] 0x9D080B24 + 0xD8 = 0

<4>[ 62.354339] 0x9D080B24 + 0xD9 = 0

<4>[ 62.354492] 0x9D080B24 + 0xDA = 0

<4>[ 62.354766] 0x9D080B24 + 0xDB = 0

<4>[ 62.354919] 0x9D080B24 + 0xDC = 0

<4>[ 62.355072] 0x9D080B24 + 0xDD = 0

<4>[ 62.355377] 0x9D080B24 + 0xDE = 0

<4>[ 62.355529] 0x9D080B24 + 0xDF = 0

<4>[ 62.355682] 0x9D080B24 + 0xE0 = 0

<4>[ 62.355834] 0x9D080B24 + 0xE1 = 0

<4>[ 62.356109] 0x9D080B24 + 0xE2 = 0

<4>[ 62.368957] 0x9D080B24 + 0xE3 = 0

<4>[ 62.369201] 0x9D080B24 + 0xE4 = 0

<4>[ 62.369476] 0x9D080B24 + 0xE5 = 0

<4>[ 62.369628] 0x9D080B24 + 0xE6 = 0

<4>[ 62.369781] 0x9D080B24 + 0xE7 = 0

<4>[ 62.369934] 0x9D080B24 + 0xE8 = 0

<4>[ 62.370269] 0x9D080B24 + 0xE9 = 0

<4>[ 62.370452] 0x9D080B24 + 0xEA = 0

<4>[ 62.370605] 0x9D080B24 + 0xEB = 0

<4>[ 62.370910] 0x9D080B24 + 0xEC = 0

<4>[ 62.371063] 0x9D080B24 + 0xED = 0

<4>[ 62.371215] 0x9D080B24 + 0xEE = 0

<4>[ 62.371398] 0x9D080B24 + 0xEF = 0

<4>[ 62.371673] 0x9D080B24 + 0xF0 = 0

<4>[ 62.372863] 0x9D080B24 + 0xF1 = 0

<4>[ 62.373046] 0x9D080B24 + 0xF2 = 0

<4>[ 62.373321] 0x9D080B24 + 0xF3 = 0

<4>[ 62.373474] 0x9D080B24 + 0xF4 = 0

<4>[ 62.373626] 0x9D080B24 + 0xF5 = 0

<4>[ 62.373809] 0x9D080B24 + 0xF6 = 0

<4>[ 62.374084] 0x9D080B24 + 0xF7 = 0

<4>[ 62.374237] 0x9D080B24 + 0xF8 = 0

<4>[ 62.374389] 0x9D080B24 + 0xF9 = 0

<4>[ 62.374694] 0x9D080B24 + 0xFA = 0

<4>[ 62.374847] 0x9D080B24 + 0xFB = 0

<4>[ 62.375000] 0x9D080B24 + 0xFC = 0

<4>[ 62.375274] 0x9D080B24 + 0xFD = 0

<4>[ 62.375457] 0x9D080B24 + 0xFE = 0

<4>[ 62.375610] 0x9D080B24 + 0xFF = 0

<4>[ 62.375762] *************************

And finaly lets see if it is the same values while is s-off again, if it is true, it mean definitelly its something about security, but if value is again diferent than our 2 tests, it mean its something other (maybe raw battery data) :(... let see :)

---------- Post added at 04:49 PM ---------- Previous post was at 04:36 PM ----------

Method one (DUMP) returning diferent result on every reboot. Allso method 2 (msm shared ram base) giving diferent result on every reboot but good thing only this addrese giving the same result (MSM_SHARED_RAM_BASE + 0xE4)... so lets see what will be when s-off again (if result is 0xA6 thats it, if not :()

---------- Post added at 05:03 PM ---------- Previous post was at 04:49 PM ----------

EDIT:

Diferent than all tests :( But maybe secure flag is somewhere inside MSM_SHARED_RAM_SIZE region???

---------- Post added at 05:30 PM ---------- Previous post was at 05:03 PM ----------

Guys I found now (lets back to kernel function msm_proc_comm)... that function use MSM_SHARED_RAM_BASE as a base adrese + command... lets dump whole SMEM region and analyse them...