Good evening again peoples,
Last thing I'm sorting out on the phone after the rom upgrade it the camera. just spent the last two hours sorting out all the file names and order of my images and put them on the phone again.
However the camera's counter is set to 1. I found a tweak on the Polaris forum
schaggo said:
Ok guys, I got a tricky one: how to set the camera image counter to a custom value?
Everytime I hardreset my Polaris the damn application starts counting up from IMG0001.JPG again... HTF can I manually set that to the latest picture taken?
Edit: Was a tricky one but I solved it myself. Under [HKEY_CURRENT_USER\Software\HTC\Camera\5.04\Preferences] you'll find an entry VALUES. Change bit 0068 to the desired value in hex. Example: Mine was 06 and resulted in IMG0006.JPG, I now changed to 74 which equals 116 in hex, my next pic will be named IMG0116.JPG
Got it?
Click to expand...
Click to collapse
But there isn't 5.04 folder on my Nike. Is there anyone that could tell me what to do?!
I've managed to sort out the registry so that the phone saves to Storagecard/mydoc~/mypictures. And also has a prefix of Image_ I just need help with this one last thing!
Thanks in advance!
nowimboard said:
But there isn't 5.04 folder on my Nike.
Click to expand...
Click to collapse
The key will match the camera version in your ROM - for example, I've got a key 5.06. Just look inside whatever key you have.
Thanks!
I cant believe how dim I was! I know that I'm just starting out with flashing roms and editing registries.. but I had a "blonde" moment
"HKEY_CURRENT_USER" isn't listing on my phone, but HKCU is...
Thanks!!!!!
EDIT: Anyone know what the correct HEX for 402 is? On line calculators are telling me 192 however the phone is telling me that "192" isn't a valid string! Isn't it supposed to have letters in?
nowimboard said:
Thanks!
I cant believe how dim I was! I know that I'm just starting out with flashing roms and editing registries.. but I had a "blonde" moment
"HKEY_CURRENT_USER" isn't listing on my phone, but HKCU is...
Thanks!!!!!
EDIT: Anyone know what the correct HEX for 402 is? On line calculators are telling me 192 however the phone is telling me that "192" isn't a valid string! Isn't it supposed to have letters in?
Click to expand...
Click to collapse
I haven't looked at it but I would guess that the reg key is divided up into 2 character bits each of which will go up to a maximum of FF (255 in decimal).
So, yes 192 is hex for 402 but you can't set one bit that high.
Just what I expect to be the case.
randomelements said:
I haven't looked at it but I would guess that the reg key is divided up into 2 character bits each of which will go up to a maximum of FF (255 in decimal).
So, yes 192 is hex for 402 but you can't set one bit that high.
Just what I expect to be the case.
Click to expand...
Click to collapse
Thank you for your help RandomE,
I'll think I'll PM schaggo to see if he can offer any suggestions.
So do you think that you would split up the 192 Hex code to "FF" & "93"?
whoa guys, somebody actually called for my help, yay!
ok, I reflashed my polaris with the Syrius-ROM and didnt look at this issue any longer. I never got over like pic 200 or so, so it never really was an issue to me. But good question, what about numbers higher than 255...?
I'll recheck the registry values and see what I find out. It could very well be that itll turn FF00, ff01, ff02 and so on...
Ok, found out how it works:
Bit 68 is the pic number in hex. Once it reaches 255 eg FF, bit 69 turns one up. So bit 68 is the running number while bit 69 is the index for bit 68. Example:
Code:
Pic 68 69
220 DC 00
221 DD 00
223 DE 00
...
254 FE 00
255 FF 00
256 00 01 <--!
257 01 01
258 02 01
...
510 FF 01 (510 = 255+255 = FF+FF)
511 00 02
...
schaggo said:
Ok, found out how it works:
Bit 68 is the pic number in hex. Once it reaches 255 eg FF, bit 69 turns one up. So bit 68 is the running number while bit 69 is the index for bit 68. Example:
Code:
Pic 68 69
220 DC 00
221 DD 00
223 DE 00
...
254 FE 00
255 FF 00
256 00 01 <--!
257 01 01
258 02 01
...
510 FF 01 (510 = 255+255 = FF+FF)
511 00 02
...
Click to expand...
Click to collapse
You Genius!
So my reg value was:
00 00 00 00 05 00 00 00
05 00 00 00 05 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 01 00 00 00
03 00 00 00 05 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 01 00 00 00
03 00 00 00 00 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 00 00 00 00
90 01 00 00 40 1F 00 00
02 10 00 5A 01 02 01 01
11 00 00 00 01 00 00 00
01 00 00 00 01 00 00 00
01 00 00 00 00 00 00 00
00 02 00 02 09 11 20 00
45 46 00 00 28 00 00 00
05 20 00 00 01 00 00 00
00 00 00 00 C0 27 09 00
01 00 00 00 00 00 00 00
And for the image value to be 415 to get the Hex values I did 415-225=190 which is BE in HEX so I did this:
00 00 00 00 05 00 00 00
05 00 00 00 05 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 01 00 00 00
03 00 00 00 05 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 01 00 00 00
03 00 00 00 00 00 00 00
03 00 00 00 03 00 00 00
03 00 00 00 00 00 00 00
90 01 00 00 40 1F 00 00
02 10 00 5A 01 02 01 01
BE 01 00 00 01 00 00 00
01 00 00 00 01 00 00 00
01 00 00 00 00 00 00 00
00 02 00 02 09 11 20 00
45 46 00 00 28 00 00 00
05 20 00 00 01 00 00 00
00 00 00 00 C0 27 09 00
01 00 00 00 00 00 00 00
!!! YAY !!!
EDIT: I set the vale to BD as when the valve was BE the picture came out as 416.
Thank you so much!!!
Damit, judging by the time of posts, it took me half an hour to find something that simple out AAAARRRGH...!
Have fun guys
Hope it helps some others as well...!
schaggo said:
Damit, judging by the time of posts, it took me half an hour to find something that simple out AAAARRRGH...!
Have fun guys
Hope it helps some others as well...!
Click to expand...
Click to collapse
Thank you again!
Help Please!
I have very little knowledge of hex. I was hoping someone here could give me a hand with changing my counter to 92.
Here is my hex for [HKEY_CURRENT_USER\Software\HTC\Camera\5.04\Preferences\Values] as i see it in phm regedit.
00 00 00 00 05 00 00 00 05 00 00
00 05 00 00 00 03 00 00 00 03 00
00 00 03 00 00 00 01 00 00 00 03
00 00 00 05 00 00 00 03 00 00 00
03 00 00 00 03 00 00 00 01 00 00
00 03 00 00 00 00 00 00 00 03 00
00 00 03 00 00 00 03 00 00 00 00
00 00 00 03 00 00 00 90 01 00 00
90 01 00 00 40 1F 00 00 02 10 00
55 04 02 01 01 3C 00 00 00 01 00
00 00 01 00 00 00 01 00 00 00 01
00 00 00 00 00 00 00 00 02 00 02
49 11 20 00 05 46 00 00 28 00 00
00 07 00 00 00 01 00 00 00 01 00
00 00 C0 27 09 00 01 00 00 00 00
00 00 00 01 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 01 00 00
00 00 00 00 00
Advance THANKS
With my Touch Pro2 I found out that byte 109 and 110 are the right ones for this solution.
thanks for this tip !
Related
Recently, I took a copy of the object store in my PPC. I am trying to figure out the structure to the header:
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F
00000000 01 00 00 00 45 4B 49 4D 45 4B 49 4D 00 E0 0A 92 ....EKIMEKIM.à.’
00000010 00 B0 BD 03 00 40 00 00 00 00 00 00 00 00 00 00 .°½[email protected]
00000020 00 00 00 00 00 B0 CA 93 00 D0 6C 95 00 50 00 42 .....°Ê“.Ðl•.P.B
00000030 00 00 00 00 03 00 00 00 CA 00 00 00 00 00 00 00 ........Ê.......
00000040 00 09 04 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000060 00 00 00 00 01 00 00 00 54 EE 05 42 96 02 00 00 ........Tî.B–...
00000070 02 00 00 00 01 00 00 00 AC E8 05 42 60 0A 00 50 .........B`..P
00000080 04 00 00 00 01 00 00 00 C0 EF 5E 42 0D 00 00 00 ........Àï^B....
00000090 04 00 00 00 01 00 00 00 C4 EF 5E 42 00 00 00 00 ........Äï^B....
000000A0 04 00 00 00 01 00 00 00 E4 39 56 42 00 00 00 00 ........ä9VB....
000000B0 04 00 00 00 01 00 00 00 38 31 56 42 00 00 00 00 ........81VB....
000000C0 04 00 00 00 01 00 00 00 3C 31 56 42 77 01 C4 6E ........<1VBw.Än
000000D0 04 00 00 00 01 00 00 00 DC 39 56 42 28 02 9A 9B ........Ü9VB(.š›
000000E0 04 00 00 00 01 00 00 00 E0 39 56 42 33 31 6F 31 ........à9VB31o1
000000F0 04 00 00 00 01 00 00 00 C8 68 41 42 7D E1 55 10 ........ÈhAB}áU.
00000100 04 00 00 00 01 00 00 00 74 3E 4E 42 3D 16 00 00 ........t>NB=...
00000110 04 00 00 00 01 00 00 00 78 3E 4E 42 04 00 0C 00 ........x>NB....
As you can see, there is a structure to it and I don't know where it is defined. Please help.
Did you try comparing it to any of the structures in Platform Builder?
Code:
41 52 54 45 32 30 30 30 30 00 00 00 00 00 00 00 ARTE20000.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4F 32 5F 5F 5F 30 30 31 00 00 00 00 00 00 00 00 O2___001........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
Look for UK O2 Xda Orbit ROM update for repair my Orbit.
Anybody have?
Thank's!
Up.
Not find, yet.
HI! I need help! While i upgrade my artemis i crashed my device!
Info USB SNIFF on getdevinfo
Code:
41 52 54 45 31 31 30 30 30 00 00 00 00 00 00 00 ARTE11000.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
54 2D 4D 4F 42 30 30 34 00 00 00 00 00 00 00 00 T-MOB004........
00 00 00 00 0 ....
i need original ROM? or i can flash only os in mtty?
what firmware i need? i search but i can not find T-MOB004 CID rom..
Help me please..
Does anyone know what is the address for changing BA pagepool size on WM6?
Thanks in advance.
adrress:0x2565D3
00 00 00 00 =0M
00 00 80 00 =8M
00 00 C0 00 =12M
00 00 00 01 =16M
00 00 80 01 =24M
00 00 00 02 =32M
00 00 00 03 =48M
adotan said:
adrress:0x2565D3
00 00 00 00 =0M
00 00 80 00 =8M
00 00 C0 00 =12M
00 00 00 01 =16M
00 00 80 01 =24M
00 00 00 02 =32M
00 00 00 03 =48M
Click to expand...
Click to collapse
Thanks for the answer. But I don't think this is a correct address. Look at the attached image. Address pattern is now where close to what you have mentioned in your replay.
what does the pagepool do exactly? Increasing the pagepool would do what?
Try 2555d2
That's indeed the correct one... I've done so, changed this one from 16 to 32 mb's but must honestly say tat I don't find it be different that much...
Hello all. If someone can, tell me how to edit .bin and .bct files or where can i get some instructions. I tried open theese files, but i get something like this in hex editor:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 02 00 0e 00 00 00 09 00 00 00 00 00 00 01
04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 00
04 00 00 00 0c 00 00 00 02 00 00 00 0f 00 00 00
00 00 00 00 0c 00 00 00 02 00 00 00 0f 00 00 00
00 00 00 00 0c 00 00 00 02 00 00 00 0f 00 00 00
00 00 00 00 0c 00 00 00 02 00 00 00 0f 00 00 00
00 00 00 00 04 00 00 00 04 00 00 00 08 00 00 00
00 00 00 00 0c 00 00 00 58 02 00 00 00 00 00 00
2c 01 00 00 01 00 00 00 00 00 00 00 11 11 a6 e0
00 00 00 00 00 00 00 00 12 00 00 00 27 00 00 00
0d 00 00 00 06 00 00 00 07 00 00 00 05 00 00 00
03 00 00 00 09 00 00 00 06 00 00 00 06 00 00 00
03 00 00 00 03 00 00 00 02 00 00 00 06 00 00 00
03 00 00 00 09 00 00 00 0c 00 00 00 5f 04 00 00
00 00 00 00 04 00 00 00 04 00 00 00 06 00 00 00
08 00 00 00 01 00 00 00 0e 00 00 00 2a 00 00 00
03 00 00 00 0f 00 00 00 07 00 00 00 05 00 00 00
02 00 00 00 e1 04 00 00 05 00 00 00 00 00 00 00
40 40 40 38 00 00 00 00 64 64 64 64 00 00 00 00
82 02 00 00 02 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 6a 00 01 00 03 00 02 00 02 00 03 00
00 00 3f 00 0a 00 00 00 03 03 07 01 03 03 07 00
00 00 10 00 03 00 00 80 00 ff 01 00 03 04 00 00
20 00 00 01 00 00 01 00 13 04 00 e0 10 00 00 00
08 00 00 00 01 00 00 00 02 08 00 00 00 00 00 00
00 00 00 00 00 00 00 00 1b 00 00 00 56 00 0a 00
00 00 00 00 ff 00 0a 80 ff 00 0a 40 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 c0 ff 77
f8 ff ff 77 40 00 08 08 f8 ff ff 77 00 00 00 00
00 c0 ff 77 08 f0 f1 01 00 55 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 00 00 00 08 00 00 00
00 00 00 00 0c 00 00 00 58 02 00 00 00 00 00 00
2c 01 00 00 01 00 00 00 00 00 00 00 11 11 a6 e0
00 00 00 00 00 00 00 00 12 00 00 00 27 00 00 00
0d 00 00 00 06 00 00 00 07 00 00 00 05 00 00 00
03 00 00 00 09 00 00 00 06 00 00 00 06 00 00 00
03 00 00 00 03 00 00 00 02 00 00 00 06 00 00 00
03 00 00 00 09 00 00 00 0c 00 00 00 5f 04 00 00
00 00 00 00 04 00 00 00 04 00 00 00 06 00 00 00
08 00 00 00 01 00 00 00 0e 00 00 00 2a 00 00 00
03 00 00 00 0f 00 00 00 07 00 00 00 05 00 00 00
02 00 00 00 e1 04 00 00 05 00 00 00 00 00 00 00
38 38 38 38 00 00 00 00 64 64 64 64 00 00 00 00
82 02 00 00 02 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 6a 00 01 00 03 00 02 00 02 00 03 00
00 00 3f 00 0a 00 00 00 02 03 06 01 02 03 06 00
00 00 08 00 03 00 00 80 00 ff 01 00 03 04 00 00
20 00 00 01 00 00 01 00 13 04 00 e0 10 00 00 00
08 00 00 00 01 00 00 00 02 08 00 00 00 00 00 00
00 00 00 00 00 00 00 00 1b 00 00 00 56 00 0a 00
00 00 00 00 ff 00 0a 80 ff 00 0a 40 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 c0 ff 77
f8 ff ff 77 40 00 08 08 f8 ff ff 77 00 00 00 00
00 c0 ff 77 08 f0 f1 01 00 55 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 00 00 00 08 00 00 00
00 00 00 00 0c 00 00 00 58 02 00 00 00 00 00 00
2c 01 00 00 01 00 00 00 00 00 00 00 11 11 a6 e0
00 00 00 00 00 00 00 00 12 00 00 00 27 00 00 00
0d 00 00 00 06 00 00 00 07 00 00 00 05 00 00 00
03 00 00 00 09 00 00 00 06 00 00 00 06 00 00 00
03 00 00 00 03 00 00 00 02 00 00 00 06 00 00 00
03 00 00 00 09 00 00 00 0c 00 00 00 5f 04 00 00
00 00 00 00 04 00 00 00 04 00 00 00 06 00 00 00
08 00 00 00 01 00 00 00 0e 00 00 00 2a 00 00 00
03 00 00 00 0f 00 00 00 07 00 00 00 05 00 00 00
02 00 00 00 e1 04 00 00 05 00 00 00 00 00 00 00
38 40 40 40 00 00 00 00 64 64 64 64 00 00 00 00
82 02 00 00 02 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 6a 00 01 00 03 00 02 00 02 00 03 00
00 00 3f 00 0a 00 00 00 02 03 06 01 02 03 06 00
00 00 08 00 03 00 00 80 00 ff 01 00 03 04 00 00
20 00 00 01 00 00 01 00 13 04 00 e0 10 00 00 00
08 00 00 00 01 00 00 00 02 08 00 00 00 00 00 00
00 00 00 00 00 00 00 00 1b 00 00 00 56 00 0a 00
00 00 00 00 ff 00 0a 80 ff 00 0a 40 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 c0 ff 77
f8 ff ff 77 40 00 08 08 f8 ff ff 77 00 00 00 00
00 c0 ff 77 08 f0 f1 01 00 55 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 00 00 00 08 00 00 00
00 00 00 00 0c 00 00 00 58 02 00 00 00 00 00 00
2c 01 00 00 01 00 00 00 00 00 00 00 11 11 a6 e0
00 00 00 00 00 00 00 00 12 00 00 00 27 00 00 00
0d 00 00 00 06 00 00 00 07 00 00 00 05 00 00 00
03 00 00 00 09 00 00 00 06 00 00 00 06 00 00 00
03 00 00 00 03 00 00 00 02 00 00 00 06 00 00 00
03 00 00 00 09 00 00 00 0c 00 00 00 5f 04 00 00
00 00 00 00 04 00 00 00 04 00 00 00 06 00 00 00
08 00 00 00 01 00 00 00 0e 00 00 00 2a 00 00 00
03 00 00 00 0f 00 00 00 07 00 00 00 05 00 00 00
02 00 00 00 e1 04 00 00 05 00 00 00 00 00 00 00
38 38 38 38 00 00 00 00 64 64 64 64 00 00 00 00
82 02 00 00 02 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 6a 00 01 00 03 00 02 00 02 00 03 00
00 00 3f 00 0a 00 00 00 03 03 07 01 03 03 07 00
00 00 10 00 03 00 00 80 00 ff 01 00 03 04 00 00
20 00 00 01 00 00 01 00 13 04 00 e0 10 00 00 00
08 00 00 00 01 00 00 00 02 08 00 00 00 00 00 00
00 00 00 00 00 00 00 00 1b 00 00 00 56 00 0a 00
00 00 00 00 ff 00 0a 80 ff 00 0a 40 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 c0 ff 77
f8 ff ff 77 40 00 08 08 f8 ff ff 77 00 00 00 00
00 c0 ff 77 08 f0 f1 01 00 55 00 00 00 00 00 00
Thanks. Sorry for bad english.
I doubt you will find any nice and easy instructions anywhere.
What you are asking to do is not trivial, you will have to search/read/try a lot.
For the BCT you can find some code that parses it if you look for Google's cbootimage tool.
The bootloader is an ARM binary. You could start by having a look at learning ARM assembler, disassemble it and try to understand what it is doing.
Thanks for that information. I asking because I want to install Ubuntu on emmc or something like that, and I want edit tf101 bootloader because when I install it then tablet vibrates all time, I want just try turn off Bluetooth on that bootloader, but I can't edit it while I'll learn something more. Sorry for bad English.