FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[DEV] Some help needed about partition layout on the i747

1,026 posts
Thanks Meter: 776
 
By HellcatDroid, Senior Member on 10th July 2012, 09:19 AM
Post Reply Subscribe to Thread Email Thread
Hey guys.

I am currently working on making my app "kTool" compatible with the SGS3 (see here and here), for the intl. version I9300 it already works fine, but there seem to be quite some differences on the i747....

I am missing some details on partitions used on the i747.
I already found the EFS partition (mmcblk0p11), but I'm missing the partitions for kernel, recovery, modem FW and PARAM block.
If anyone know those, please do tell

And/Or I could really use the output of the following two commands on a terminal/shell:
Code:
su
ls -al /dev/block/platform/dw_mmc/by-name 

ls -al /efs
Thanks
The Following 3 Users Say Thank You to HellcatDroid For This Useful Post: [ View ]
 
 
10th July 2012, 10:13 AM |#2  
corythug's Avatar
Senior Member
Flag PA
Thanks Meter: 210
 
More
Pm sent

Sent from my SGH-I747M using Tapatalk 2
10th July 2012, 10:14 AM |#3  
xxsxx's Avatar
Member
Flag Ohio
Thanks Meter: 21
 
More
Here you go....

Code:
shell@android:/ $ su
su
shell@android:/ # ls -al /dev/block/platform/dw_mmc/by-name
ls -al /dev/block/platform/dw_mmc/by-name
/dev/block/platform/dw_mmc/by-name: No such file or directory
1|shell@android:/ # ls -al /efs
ls -al /efs
drwxrwxr-x root     root              1969-12-31 19:00 .files
drwxrwxr-x system   system            2011-12-31 19:02 FactoryApp
drwxr-xr-x radio    radio             2011-12-31 23:06 bluetooth
drwxrwxr-x system   system            2011-12-31 19:00 drm
drwxrwxr-x radio    radio             2011-12-31 19:02 imei
-rw-r--r-- radio    radio         880 2011-12-31 19:01 redata.bin
drwxrwxr-x root     root              1969-12-31 19:00 sensors
drwxrwxr-x system   system            1969-12-31 19:00 wifi
-rw-r--r-- radio    radio         144 2011-12-31 23:06 wv.keys
shell@android:/ #
10th July 2012, 10:19 AM |#4  
HellcatDroid's Avatar
OP Senior Member
Flag Cologne Area
Thanks Meter: 776
 
Donate to Me
More
Thanks!

There seems to be even more different than I was already afraid it'd be....
10th July 2012, 03:19 PM |#5  
pinoymutt's Avatar
Senior Member
SoCal
Thanks Meter: 463
 
More
Some folks on the Sprint side posted some info as well, and yes, there seem to be several differences compared to the international version.

http://forum.xda-developers.com/show....php?t=1732154
The Following User Says Thank You to pinoymutt For This Useful Post: [ View ]
10th July 2012, 03:23 PM |#6  
HellcatDroid's Avatar
OP Senior Member
Flag Cologne Area
Thanks Meter: 776
 
Donate to Me
More
Thank you!

I am slowly gathering all required information to make it work on those models.

Another thing that confuses me is the lack of "nv_data.bin" in the /efs folder.... So the standing question is: Is backing up that folder and dumping the partition it's mounted from really enough? Or would other locations needed to be backed up as well to have the IMEI saved?
10th July 2012, 09:51 PM |#7  
dasfiend's Avatar
Senior Member
Flag Gurnee, IL
Thanks Meter: 34
 
More
Quote:
Originally Posted by HellcatDroid

Thank you!

I am slowly gathering all required information to make it work on those models.

Another thing that confuses me is the lack of "nv_data.bin" in the /efs folder.... So the standing question is: Is backing up that folder and dumping the partition it's mounted from really enough? Or would other locations needed to be backed up as well to have the IMEI saved?

You may want to get together with zeesubalpha, he's working with IMEI stuff in this thread.

Thank you for your work on this.
11th July 2012, 07:05 AM |#8  
HellcatDroid's Avatar
OP Senior Member
Flag Cologne Area
Thanks Meter: 776
 
Donate to Me
More
Quote:
Originally Posted by dasfiend

You may want to get together with zeesubalpha, he's working with IMEI stuff in this thread.

Thank you for your work on this.

Ahh, very interesting, I shall get in touch with that development!
*runns-to-post-in-that-thread*
12th July 2012, 10:54 PM |#9  
Senior Member
Boise, ID
Thanks Meter: 18
 
More
Any progress hellcat?

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
13th July 2012, 07:31 AM |#10  
HellcatDroid's Avatar
OP Senior Member
Flag Cologne Area
Thanks Meter: 776
 
Donate to Me
More
Quote:
Originally Posted by justinblaine23

Any progress hellcat?

Yah, but in the wrong direction - backing up the EFS partition seems no longer to be the way to back up that sensitive data holding the IMEI and stuff: http://forum.xda-developers.com/show...4&postcount=51

13th July 2012, 11:43 PM |#11  
Senior Member
Flag Houston
Thanks Meter: 58
 
More
by-name
think this is what you were looking for:
Code:
lrwxrwxrwx    1 0        0               20 Jan  7  1970 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx    1 0        0               21 Jan  7  1970 backup -> /dev/block/mmcblk0p20
lrwxrwxrwx    1 0        0               20 Jan  7  1970 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx    1 0        0               21 Jan  7  1970 cache -> /dev/block/mmcblk0p17
lrwxrwxrwx    1 0        0               21 Jan  7  1970 efs -> /dev/block/mmcblk0p11
lrwxrwxrwx    1 0        0               21 Jan  7  1970 fota -> /dev/block/mmcblk0p19
lrwxrwxrwx    1 0        0               21 Jan  7  1970 fsg -> /dev/block/mmcblk0p21
lrwxrwxrwx    1 0        0               21 Jan  7  1970 grow -> /dev/block/mmcblk0p23
lrwxrwxrwx    1 0        0               20 Jan  7  1970 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx    1 0        0               21 Jan  7  1970 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx    1 0        0               21 Jan  7  1970 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx    1 0        0               20 Jan  7  1970 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx    1 0        0               21 Jan  7  1970 param -> /dev/block/mmcblk0p10
lrwxrwxrwx    1 0        0               21 Jan  7  1970 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx    1 0        0               21 Jan  7  1970 recovery -> /dev/block/mmcblk0p18
lrwxrwxrwx    1 0        0               20 Jan  7  1970 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx    1 0        0               20 Jan  7  1970 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx    1 0        0               20 Jan  7  1970 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx    1 0        0               20 Jan  7  1970 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx    1 0        0               21 Jan  7  1970 ssd -> /dev/block/mmcblk0p22
lrwxrwxrwx    1 0        0               21 Jan  7  1970 system -> /dev/block/mmcblk0p14
lrwxrwxrwx    1 0        0               20 Jan  7  1970 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx    1 0        0               21 Jan  7  1970 userdata -> /dev/block/mmcblk0p15
also did a quick backup:

remove the echo and make sure you have a big sdcard.... i found a 64gb class 10 on amazon for about $90...
Code:
echo dd if=/dev/block/mmcblk0p5 of=/mnt/extSdCard/backup/good/mmcblk0p5_about.img bs=4096
echo dd if=/dev/block/mmcblk0p20 of=/mnt/extSdCard/backup/good/mmcblk0p20_backup.img bs=4096
echo dd if=/dev/block/mmcblk0p7 of=/mnt/extSdCard/backup/good/mmcblk0p7_boot.img bs=4096
echo dd if=/dev/block/mmcblk0p17 of=/mnt/extSdCard/backup/good/mmcblk0p17_cache.img bs=4096
echo dd if=/dev/block/mmcblk0p11 of=/mnt/extSdCard/backup/good/mmcblk0p11_efs.img bs=4096
echo dd if=/dev/block/mmcblk0p19 of=/mnt/extSdCard/backup/good/mmcblk0p19_fota.img bs=4096
echo dd if=/dev/block/mmcblk0p21 of=/mnt/extSdCard/backup/good/mmcblk0p21_fsg.img bs=4096
echo dd if=/dev/block/mmcblk0p23 of=/mnt/extSdCard/backup/good/mmcblk0p23_grow.img bs=4096
echo dd if=/dev/block/mmcblk0p1 of=/mnt/extSdCard/backup/good/mmcblk0p1_modem.img bs=4096
echo dd if=/dev/block/mmcblk0p12 of=/mnt/extSdCard/backup/good/mmcblk0p12_modemst1.img bs=4096
echo dd if=/dev/block/mmcblk0p13 of=/mnt/extSdCard/backup/good/mmcblk0p13_modemst2.img bs=4096
echo dd if=/dev/block/mmcblk0p9 of=/mnt/extSdCard/backup/good/mmcblk0p9_pad.img bs=4096
echo dd if=/dev/block/mmcblk0p10 of=/mnt/extSdCard/backup/good/mmcblk0p10_param.img bs=4096
echo dd if=/dev/block/mmcblk0p16 of=/mnt/extSdCard/backup/good/mmcblk0p16_persist.img bs=4096
echo dd if=/dev/block/mmcblk0p18 of=/mnt/extSdCard/backup/good/mmcblk0p18_recovery.img bs=4096
echo dd if=/dev/block/mmcblk0p6 of=/mnt/extSdCard/backup/good/mmcblk0p6_rpm.img bs=4096
echo dd if=/dev/block/mmcblk0p2 of=/mnt/extSdCard/backup/good/mmcblk0p2_sbl1.img bs=4096
echo dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/backup/good/mmcblk0p3_sbl2.img bs=4096
echo dd if=/dev/block/mmcblk0p4 of=/mnt/extSdCard/backup/good/mmcblk0p4_sbl3.img bs=4096
echo dd if=/dev/block/mmcblk0p22 of=/mnt/extSdCard/backup/good/mmcblk0p22_ssd.img bs=4096
echo dd if=/dev/block/mmcblk0p14 of=/mnt/extSdCard/backup/good/mmcblk0p14_system.img bs=4096
echo dd if=/dev/block/mmcblk0p8 of=/mnt/extSdCard/backup/good/mmcblk0p8_tz.img bs=4096
echo dd if=/dev/block/mmcblk0p15 of=/mnt/extSdCard/backup/good/mmcblk0p15_userdata.img bs=4096

cheers... hit thanks if this helped.
The Following 3 Users Say Thank You to c0ns0le For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes