View Full Version : Explanation how to cut part flash from a full flash
Hi ZBomberman,
I started a new topic of the explanation of how to cut a part off a full backup as You suggested.
If You have a backup so as You say from 200.000 - 600.000.
And You want for instant the part 5A0.000 - 5B0.000
Load full backup in a hexeditor.
The editor starts with startadres 0 en the file ends at 400.000 (original file from 200.000 till 600.000)
Then You have to count in Hex.
The difference from 5A0.000 minus 200.000 = 3A0.000
So You select in the hexeditor from 0 a block with the size of 3A0.000 and delete the block.
So the rest is from (original 5A0.000 - 600.000) but it start in the editor with 0 again and ends at 60.000.
The part You want has a size of 10.000 (Hex because 5B0.000-5A0.000 = 10.000)
So You select now a block with the size of 10.000 in hex at the start of the file (then copy the selected block).
Open a new file and paste the block in the new file and save it.
Now You have the part 5A0.000 - 5B0.000
<FONT COLOR="#ffff00" SIZE="1">[ 12 July 2001 23:44: Message edited 1 time, lastly by HH ]</font>
zbomberman
07-13-2001, 01:13
for sure i will have more question for you concerning this.
but i am going tomorrow to test it and i will ask you anything more specific if i got stick in a problem.
thanks man a lot.
good luck
take care
andystone
07-13-2001, 10:35
There is an easier way.. Why not keep a sacrificial phone, backup the old file if req, then write your full backup to the phone and read out the portion you require. I do this all the time, and it always works fine for me.
www.nokiagsm.co.uk (http://www.nokiagsm.co.uk)
Originally posted by gsmtrix:
<STRONG>There is an easier way.. Why not keep a sacrificial phone, backup the old file if req, then write your full backup to the phone and read out the portion you require. I do this all the time, and it always works fine for me.
</STRONG>
Ok, but when someone has destroyed a phone with a wrong partial or wrong adres.
And he comes to You with the phone to repair it.
And You don't have a backup off that version or that type of phone ????
But on the internet You'll find a full backup and then You can make the part You requier..... (if You know how).
<FONT COLOR="#ffff00" SIZE="1">[ 13 July 2001 15:35: Message edited 1 time, lastly by HH ]</font>
bryanclough
07-13-2001, 18:41
I Think you are missing the point of gsmtrix posting. What gsmtrix is suggesting is that if you have a full flash (say 0020000 to 0040000) and you want to repair a phone (say from 0020000 to 0030000) you can put the full flash (temporarily) into another phone (so you need to back THAT one up first!), then read the portion of the flash that you need.... seems quite straightforward to me.. thanks for the tip gsmtrix :rolleyes:
Originally posted by Bryan:
<STRONG>I Think you are missing the point of gsmtrix posting. What gsmtrix is suggesting is that if you have a full flash (say 0020000 to 0040000) and you want to repair a phone (say from 0020000 to 0030000) you can put the full flash (temporarily) into another phone (so you need to back THAT one up first!), then read the portion of the flash that you need.... seems quite straightforward to me.. thanks for the tip gsmtrix :rolleyes:</STRONG>
I didn't mis the point of what he suggested.
Not everyone has a spare phone.
And You can't unlimited write in the flash prom (I don't know how often You can write into it but there will be a limitation and then it will be worn.
And for instant You have a 3210 spare how to put a full backup from a 6210 or a 7110 in it.
3210 -> 200.000 - 400.000
7110 -> 200.000 - 600.000
And the time You spend on it, I'm in a few seconds finished.
To upload a full backup takes several minutes.
<FONT COLOR="#ffff00" SIZE="1">[ 13 July 2001 20:16: Message edited 1 time, lastly by HH ]</font>
Originally posted by HH:
So You select in the hexeditor from 0 a block with the size of 3A0.000
The part You want has a size of 10.000 (Hex because 5B0.000-5A0.000 = 10.000)
So You select now a block with the size of 10.000 in hex at the start of the file (then Now You have the part 5A0.000 - 5B0.000[/QB]
Hi HH
can you explain how you select a block of 10.000 or 5000 or X000
how do you count, how do you know the size of the block, can you give me another example, for example from 280000 to 380000
Rhe A and B ... these Hex numbers make it very comlicated!!
WBR
Meam
Originally posted by Meam:
<STRONG>
Hi HH
can you explain how you select a block of 10.000 or 5000 or X000
how do you count, how do you know the size of the block, can you give me another example, for example from 280000 to 380000
Rhe A and B ... these Hex numbers make it very comlicated!!
WBR
Meam</STRONG>
We normaly count in the Dec = 0 till 9
But Hex = 0 till F (in Dec = 0 till 15)
So You can say A =11, B=12, C=13 etc...
The Dejan flasher also works in Hex.
If You make a backup from 200.000 - 300.000 the file isn't 100.000 Dec long but 100.000 Hex long.
So the file is calculated to Dec = 1048576
1048576 devided by 1024 (1Kb) = 1024 Kb -> 1M
The partials to unlock are 64Kb = 65536 (1Kb = 1024) so calculated to Hex = 10.000
I use hexworkshop it's a very good program to do this.
So if You have a full backup from 200.000 - 400.000.
Normaly we would make a backup from 0 - 400.000, but from 0 - 200.000 we don't read this (or can't I don't know), so we mis 0 - 200.000.
If You load the backup You made into Hexworkshop it will automatic start at 0 and ends at 200.000 because the size of the backup is 200.000.
Now we have to count.
You want from the original backup the part 280.000 - 380.000, (the size is 380.000 - 280.000 = 100.000 Hex).
Normally we would substract 280.000 to get at the point of the part we want.
But hexworkshop starts at 0 so we have to count, subtract 200.000 (start adress of full backup = 200.000 but in hexworkshop = 0).
So the part we need starts in hexworkshop at adress 80.000 and ends at 180.000.
Now go to EDIT and choose SELECT BLOCK and enter size 80.000 and then hit the DEL key to remove the block.
Whats left is (280.000-400.000) now we select again a block but with the size of 100.000.
Copy selected block and paste it in a new file and You have now the part You wanted.
I know it seems difficult but try a few time with different parts and You will see it's easy en very quick to make.
<FONT COLOR="#ffff00" SIZE="1">[ 13 July 2001 21:51: Message edited 1 time, lastly by HH ]</font>
nokiagsm
07-13-2001, 23:38
Im not suggesting that the HH way isnt the correct way, as Im sure it is. But I have a sacrificial 3310 which I must have written to 100 times without any fuss, and Ive used it as temp storage for full flash files whilst I cut the bits I want. I have never written above 0040000 except when removing security codes from 6210's. :D
<FONT COLOR="#ffff00" SIZE="1">[ 13 July 2001 22:43: Message edited 1 time, lastly by nokiagsm ]</font>
thanks HH for taking your time it is certainly getting more understandable for me now, i have read your post three times and i have to read it a few more time and then try it on some backups, it's very nice of you to try to explain it as good as you can and taking your time, the other method by nokiagsm is easier but takes much more time, it was suggested by me as well two days ago here: http://www.gsmcity.de/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=5&t=002252
but if something goes wrong with the original back up you loose your phone, therefore i like to use your method in future
thanks again mate
WBR
Meam ;)
<FONT COLOR="#ffff00" SIZE="1">[ 13 July 2001 23:18: Message edited 1 time, lastly by Meam ]</font>