5,599,911 Members 45,912 Now Online
XDA Developers Android and Mobile Development Forum

Sidekick 4G Reference Guide (Large images!)

Tip us?
 
Jax184
Old
#31  
Jax184's Avatar
Senior Member - OP
Thanks Meter 152
Posts: 279
Join Date: Nov 2007
Location: Vancouver
Yay! Our new moderator approved my sticky request! Hopefully this thread can help newcomers to the forum.
 
bhundven
Old
#32  
bhundven's Avatar
Recognized Developer
Thanks Meter 4455
Posts: 2,001
Join Date: Aug 2009
Location: Seattle, WA
Default pit info

Could someone do this while their phone is in download mode and paste the results in this thread, preferably in a code block:

Code:
heimdall print-pit
I figure this is useful to keep in the reference guide.

This will print out the pit in a human readable format like this one for sgs4g:

Code:
bryan@umactu:~/Downloads/SK4G$ heimdall print-pit
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...

Beginning session...
Session begun with device of type: 0

Downloading device's PIT file...
PIT file download sucessful

Entry Count: 13
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0


--- Entry #0 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 0
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 1
Unknown 2: 6684783
Unknown 3: 2097268
Partition Name: IBL+PBL
Filename: boot.bin


--- Entry #1 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 1
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 1
Unknown 2: 0
Unknown 3: 0
Partition Name: PIT
Filename: 


--- Entry #2 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 20
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 40
Unknown 2: 0
Unknown 3: 0
Partition Name: EFS
Filename: efs.rfs


--- Entry #3 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 3
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 5
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL
Filename: sbl.bin


--- Entry #4 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 4
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 5
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL2
Filename: sbl.bin


--- Entry #5 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 21
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 20
Unknown 2: 0
Unknown 3: 0
Partition Name: PARAM
Filename: param.lfs


--- Entry #6 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 6
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 30
Unknown 2: 0
Unknown 3: 0
Partition Name: KERNEL
Filename: zImage


--- Entry #7 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 7
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 30
Unknown 2: 0
Unknown 3: 0
Partition Name: RECOVERY
Filename: zImage


--- Entry #8 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 22
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 1540
Unknown 2: 0
Unknown 3: 0
Partition Name: FACTORYFS
Filename: factoryfs.rfs


--- Entry #9 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 23
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 2120
Unknown 2: 0
Unknown 3: 0
Partition Name: DATAFS
Filename: data.rfs


--- Entry #10 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 24
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 160
Unknown 2: 0
Unknown 3: 0
Partition Name: CACHE
Filename: cache.rfs


--- Entry #11 ---
Unused: No
Partition Type: 0 (RFS)
Partition Identifier: 11
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 256
Partition Block Count: 60
Unknown 2: 0
Unknown 3: 0
Partition Name: MODEM
Filename: modem.bin


--- Entry #12 ---
Unused: Yes
Partition Type: 1 (Unknown)
Partition Identifier: 11
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name: 
Filename: 

Ending session...
Rebooting device...
Re-attaching kernel driver...
 
Jax184
Old
#33  
Jax184's Avatar
Senior Member - OP
Thanks Meter 152
Posts: 279
Join Date: Nov 2007
Location: Vancouver
My phone's not particularly stock any more, so it would be a bit misleading.
 
bhundven
Old
#34  
bhundven's Avatar
Recognized Developer
Thanks Meter 4455
Posts: 2,001
Join Date: Aug 2009
Location: Seattle, WA
Should be the same. It's just reading the pit from the pit partition.

Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
 
Jax184
Old
#35  
Jax184's Avatar
Senior Member - OP
Thanks Meter 152
Posts: 279
Join Date: Nov 2007
Location: Vancouver
Even though I've got voodoo lagfix and stuff which has converted several partitions to Ext4?
 
bhundven
Old
#36  
bhundven's Avatar
Recognized Developer
Thanks Meter 4455
Posts: 2,001
Join Date: Aug 2009
Location: Seattle, WA
Quote:
Originally Posted by Jax184 View Post
Even though I've got voodoo lagfix and stuff which has converted several partitions to Ext4?
Yes, none of that write to the pit.

Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
 
chaostic_2k1
Old
(Last edited by chaostic_2k1; 8th September 2012 at 04:06 AM.)
#37  
Senior Member
Thanks Meter 16
Posts: 119
Join Date: Sep 2009
Anyone know what that round thing with the red and blue wires next to the camera is? Obviously not the speakerphone or mic. Is it the vibration motor?

Yes, it is the vibrator/pager motor, part of the memory card assembly. Would have been the perfect place to hack in a led flash chip.
 
Jax184
Old
#38  
Jax184's Avatar
Senior Member - OP
Thanks Meter 152
Posts: 279
Join Date: Nov 2007
Location: Vancouver
I just tossed my pit dump in the first post, if anyone was looking for one.
 
bhundven
Old
(Last edited by bhundven; 4th October 2012 at 04:16 AM.)
#39  
bhundven's Avatar
Recognized Developer
Thanks Meter 4455
Posts: 2,001
Join Date: Aug 2009
Location: Seattle, WA
SK4G Partition Information from the bootloader:

Code:
==== PARTITION INFORMATION ====                                                                      
 ID         : IBL+PBL (0x0)                                                                          
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 0                                                                                      
 NO_UNITS   : 1                                                                                      
===============================                                                                      
 ID         : PIT (0x1)                                                                              
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 1                                                                                      
 NO_UNITS   : 1                                                                                      
===============================                                                                      
 ID         : EFS (0x14)                                                                             
 ATTR       : RW STL SLC (0x1101)                                                                    
 FIRST_UNIT : 2                                                                                      
 NO_UNITS   : 40                                                                                     
===============================                                                                      
 ID         : SBL (0x3)                                                                              
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 42                                                                                     
 NO_UNITS   : 5                                                                                      
===============================                                                                      
 ID         : SBL2 (0x4)                                                                             
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 47                                                                                     
 NO_UNITS   : 5                                                                                      
===============================                                                                      
 ID         : PARAM (0x15)                                                                           
 ATTR       : RW STL SLC (0x1101)                                                                    
 FIRST_UNIT : 52                                                                                     
 NO_UNITS   : 20                                                                                     
===============================                                                                      
 ID         : KERNEL (0x6)                                                                           
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 72                                                                                     
 NO_UNITS   : 30                                                                                     
===============================                                                                      
 ID         : RECOVERY (0x7)                                                                         
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 102                                                                                    
 NO_UNITS   : 30                                                                                     
===============================                                                                      
 ID         : FACTORYFS (0x16)                                                                       
 ATTR       : RW STL SLC (0x1101)                                                                    
 FIRST_UNIT : 132                                                                                    
 NO_UNITS   : 1540                                                                                   
===============================
 ID         : DATAFS (0x17)                                                                          
 ATTR       : RW STL SLC (0x1101)                                                                    
 FIRST_UNIT : 1672                                                                                   
 NO_UNITS   : 2120                                                                                   
===============================                                                                      
 ID         : CACHE (0x18)                                                                           
 ATTR       : RW STL SLC (0x1101)                                                                    
 FIRST_UNIT : 3792                                                                                   
 NO_UNITS   : 160                                                                                    
===============================                                                                      
 ID         : MODEM (0xb)                                                                            
 ATTR       : RO SLC (0x1002)                                                                        
 FIRST_UNIT : 3952                                                                                   
 NO_UNITS   : 60                                                                                     
===============================
This is exactly the same as what we got for SGS4G.
In other words, the partition table and layout between sk4g and sgs4g is the same:
https://github.com/teamacid/android_...ng_galaxys4g.h

This info was obtained with usb-uart.
 
ZachGretzinger
Old
#40  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Oct 2011

 
DONATE TO ME
Default Thank you

Very in-depth. Thank you for the tear-down as well. I just purchased a refurbished SK4G from Ebay and am open to the possibility I, too may be tearing my phone apart to fix it

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...