Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,517 Members 37,048 Now Online
XDA Developers Android and Mobile Development Forum

[REF] GT-I9300 PIT and Flash Analysis

Tip us?
 
Odia
Old
(Last edited by Odia; 11th May 2013 at 01:21 PM.)
#1  
Guest - OP
Thanks Meter 764
Posts: 662
Join Date: Jan 2009
Default [REF] GT-I9300 PIT and Flash Analysis

The structure of the PIT is defined below:-

Code:
Based on PIT GT-I9300_mx_20120329.pit

Block Size = 0x200

Partition Name	Image Name	LEN		LEN in BLK	OS Partition	Physical Partition

BOOTLOADER	sboot.bin	0x000D8C00	0x06C6		0x50		0x50
TZSW		tz.img		0x00027000	0x0138		0x51		0x51
PIT		mx.pit		0x00002000	0x0010		0x46		0x46
MD5HDR		md5.img		0x00100000	0x0800		0x47		0x47
BOTA0		-		0x00400000	0x2000		0p1		0x01
BOTA1		-		0x00400000	0x2000		0p2		0x02
EFS		efs.img		0x01400000	0xA000		0p3		0x03
PARAM		param.bin	0x00800000	0x4000		0x4		0x04
BOOT		boot.img	0x00800000	0x4000		0p5		0x05
RECOVERY	recovery.img	0x00800000	0x4000		0p6		0x06
RADIO		modem.bin	0x02000000	0x10000		0p7		0x07
CACHE		cache.img	0x40000000	0x200000	0p8		0x08
SYSTEM		system.img	0x60000000	0x300000	0p9		0x09
HIDDEN		hidden.img	0x23000000	0x118000	0p10		0x0A
OTA		-		0x00800000	0x4000		0p11		0x0B
USERDATA	userdata.img	0x00000000	0x0000		0p12		0x0C

The offsets in the flash are as follows:-

Code:
Flash Reserved Area 0
Partition Name	Start Address

BL1		0x0000000000000000
BL2		0x0000000000002000
BL3		0x0000000000006000
uTZ		0x00000000000D6800
TZSW		0x00000000000D8C00
DDI		0x00000000000FFC00



Flash Reserved Area 1

<empty>


Flash User Area
Partition Name	Start Address		Mount Point

GUID Header	0x0000000000000000
GPT Header	0x0000000000000200
PIT		0x0000000000004400
MD5HDR		0x0000000000006400
BOTA0		0x0000000000400000
BOTA1		0x0000000000800000
EFS		0x0000000000C00000	/efs
PARAM		0x0000000002000000	/param
BOOT		0x0000000002800000	/boot
RECOVERY	0x0000000003000000	/recovery
RADIO		0x0000000003800000	/radio
CACHE		0x0000000005800000	/cache
SYSTEM		0x0000000045800000	/system
HIDDEN		0x00000000A5800000	/preload
OTA		0x00000000C8800000
USERDATA	0x00000000C9000000	/data	(this is grown on the remaining flash space, depending on the model 16/32/64)
The Following 29 Users Say Thank You to Odia For This Useful Post: [ Click to Expand ]
 
Chenglu
Old
#2  
Chenglu's Avatar
Senior Member
Thanks Meter 986
Posts: 349
Join Date: Oct 2010

 
DONATE TO ME
thanks
 
Odia
Old
#3  
Guest - OP
Thanks Meter 764
Posts: 662
Join Date: Jan 2009
Quote:
Originally Posted by Chenglu View Post
thanks
I only got my i9300 yesterday so this info is not complete and COULD contain errors, this thread will be updated as and when I find other info out.
 
cixtim3
Old
#4  
Account currently disabled
Thanks Meter 3
Posts: 23
Join Date: Jun 2012
As listed on this thread, the US version.
http://forum.xda-developers.com/show....php?t=1739426
The use of dd;
Quote:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
Where as the Asian variant of GS3 is on different block 0p6 instead.

Is it a normal practice to writing the recovery.img by using dd?
Or was it just used purely to escape from increasing the flash counter?!
 
rulala
Old
#5  
Senior Member
Thanks Meter 98
Posts: 374
Join Date: Jan 2011
I have a question

GT-I9300_mx_20120329.pit can used for 32GB(S3) ?

sorry my bad english
 
Odia
Old
#6  
Guest - OP
Thanks Meter 764
Posts: 662
Join Date: Jan 2009
Quote:
Originally Posted by rulala View Post
I have a question

GT-I9300_mx_20120329.pit can used for 32GB(S3) ?

sorry my bad english
You have 32Gb SGS3?

If so contact me via PM and we can read your current pit and check.
 
Blindi1985
Old
#7  
Blindi1985's Avatar
Senior Member
Thanks Meter 17
Posts: 117
Join Date: Oct 2011
Location: Linz

 
DONATE TO ME
Which *.pit-file is correct for the 16GB Version?

GT-I9300_mx_20120220.pit
GT-I9300_mx_20120322.pit
GT-I9300_mx_20120329.pit
M0_20120220.pit
M0_20120220.pit

I dont want to flash with the wrong file

Thanks
One S: CM 10 - Fusion Ultimate-Kernel
SGS: CM10.1
SGS2: CM10.1 - Siyah-Kernel
SGS3: CM10.1 - Perseus-Kernel
Tab 10.1: CM 10
Nexus S: CM10.1
Nexus 4: CM10.1 - motley Kernel
Nexus 7: CM10.1 - motley Kernel
Nexus 10: AOKP Nexus 10 (WIP) Task650 & Ktoonsez/CM10.1 - KTManta-Kernel
 
Odia
Old
#8  
Guest - OP
Thanks Meter 764
Posts: 662
Join Date: Jan 2009
Quote:
Originally Posted by Blindi1985 View Post
I dont want to flash with the wrong file
Why do you feel you need to flash with a pit file?
 
ZACQ8
Old
#9  
ZACQ8's Avatar
Senior Member
Thanks Meter 542
Posts: 1,172
Join Date: Jan 2012
Location: Kuwait

 
DONATE TO ME
A noob Question, Can we access OTA partion, the OTA file which is downloaded can be accessed before flashing it?
 
simone201
Old
#10  
simone201's Avatar
Recognized Developer
Thanks Meter 4,931
Posts: 4,753
Join Date: Sep 2010
Location: Lecco

 
DONATE TO ME
Quote:
Originally Posted by ZACQ8 View Post
A noob Question, Can we access OTA partion, the OTA file which is downloaded can be accessed before flashing it?
The OTA files are stored in the cache partition, check it out with root explorer

Support my Work, Please

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes