1. Are you ready for the Galaxy S20? Here is everything we know so far!

mapping partitions for the rush

Discussion in 'Android Devices' started by Lordvincent 90, Jul 10, 2013.

  1. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Thread Starter

    heres what i have so far
    Code (Text):
    1.  
    2. mmcblkop1 ???
    3. mmcblkop2 ???
    4. mmcblkop3 ???
    5. mmcblkop4 ???
    6. mmcblkop5 ???
    7. mmcblkop6 amms
    8. mmcblkop7 ???
    9. mmcblkop8 boot
    10. mmcblkop9 ???
    11. mmcblkop10 ???
    12. mmcblkop11 ???
    13. mmcblkop12 oemsbl (?)
    14. mmcblkop13 ???
    15. mmcblkop14 efs
    16. mmcblkop15 recovery
    17. mmocblkop16 ???
    18. mmocblkop17 system
    19. mmocblkop18 cache
    20. mmocblkop19 data
    21. mmocblkop20 carrier
    22. mmocblkop21 ???
    23. mmocblkop22 ???
    24. mmocblkop23 (blank. Nothing shown in hex editor)
    25. mmcblk1p1 extsdcard
    26. mmcblk1p2 sdext1
    27.  
    im pulling the other partitions to try and figure it out now

    If we can figure this out, we can make a full back-2-stock/stock-rooted 'restore' for Odin


    Here are the outputs from terminal

    Code (Text):
    1.  
    2. [U]cat /proc/self/mountinfo[/U]
    3.  
    4. u0_a127@android:/ $ cat /proc/self/mountinfo
    5. 1 1 0:1 / / rw,relatime - rootfs rootfs rw
    6. 12 1 0:12 / /dev rw,nosuid,relatime - tmpfs tmpfs rw,mode=755
    7. 13 12 0:9 / /dev/pts rw,relatime - devpts devpts rw,mode=600
    8. 14 1 0:3 / /proc rw,relatime - proc proc rw
    9. 15 1 0:13 / /sys rw,relatime - sysfs sysfs rw
    10. 16 1 0:14 / /acct rw,relatime - cgroup none rw,cpuacct
    11. 17 1 0:15 / /mnt/asec rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000
    12. 18 1 0:16 / /mnt/obb rw,relatime - tmpfs tmpfs rw,mode=755,gid=1000
    13. 19 12 0:17 / /dev/cpuctl rw,relatime - cgroup none rw,cpu
    14. 20 1 179:17 / /system rw,relatime - ext4 /dev/block/platform/msm_sdcc.2/by-num/p17 rw,errors=panic,user_xattr,barrier=1,data=ordered
    15. 21 1 179:19 / /data rw,nosuid,nodev,noatime - ext4 /dev/block/platform/msm_sdcc.2/by-num/p19 rw,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard
    16. 22 1 179:18 / /cache rw,nosuid,nodev,noatime - ext4 /dev/block/platform/msm_sdcc.2/by-num/p18 rw,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard
    17. 23 1 179:14 / /efs rw,nosuid,nodev,noatime - ext4 /dev/block/platform/msm_sdcc.2/by-num/p14 rw,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard
    18. 24 1 179:20 / /carrier rw,relatime - ext4 /dev/block/platform/msm_sdcc.2/by-num/p20 rw,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard
    19. 25 15 0:5 / /sys/kernel/debug rw,relatime - debugfs /sys/kernel/debug rw
    20. 26 1 0:18 / /storage/sdcard0 rw,nosuid,nodev,noexec,relatime - fuse /dev/fuse rw,user_id=1023,group_id=1023,default_permissions,allow_other
    21. 27 1 179:33 / /storage/extSdCard rw,nosuid,nodev,noexec,noatime,nodiratime - vfat /dev/block/vold/179:33 rw,dirsync,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro
    22. u0_a127@android:/ $
    23.  
    24. [U]mount[/U]
    25.  
    26. u0_a127@android:/ $ mount
    27. rootfs / rootfs rw,relatime 0 0
    28. tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
    29. devpts /dev/pts devpts rw,relatime,mode=600 0 0
    30. proc /proc proc rw,relatime 0 0
    31. sysfs /sys sysfs rw,relatime 0 0
    32. none /acct cgroup rw,relatime,cpuacct 0 0
    33. tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    34. tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
    35. none /dev/cpuctl cgroup rw,relatime,cpu 0 0
    36. /dev/block/platform/msm_sdcc.2/by-num/p17 /system ext4 rw,relatime,errors=panic,user_xattr,barrier=1,data=ordered 0 0
    37. /dev/block/platform/msm_sdcc.2/by-num/p19 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
    38. /dev/block/platform/msm_sdcc.2/by-num/p18 /cache ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
    39. /dev/block/platform/msm_sdcc.2/by-num/p14 /efs ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
    40. /dev/block/platform/msm_sdcc.2/by-num/p20 /carrier ext4 rw,relatime,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
    41. /sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
    42. /dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    43. /dev/block/vold/179:33 /storage/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    44. u0_a127@android:/ $
    45.  
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Zenwafer

    Zenwafer Well-Known Member

    I notice this when looking inside of our official JB OTA

    Code (Text):
    1. assert(write_backup_amssmodem("/dev/block/mmcblk0p6", "/dev/block/mmcblk0p22"));
    2. apply_patch("EMMC:/dev/block/mmcblk0p6:13725952:abead08dc14696a8988972f2293b92ff0edd5420:13734144:2fd67195566b4b1b118d93eca2baaf624680292d",
    3.             "-", 2fd67195566b4b1b118d93eca2baaf624680292d, 13734144,
    4.             abead08dc14696a8988972f2293b92ff0edd5420, package_extract_file("patch/amss.mbn.p"));
    5. set_progress(0.025028);
    6. assert(erase_backup_amss("/dev/block/mmcblk0p22"));
    Am I correct in thinking that mmcblk0p6 would be our modem?

    Also - Official guide now eh? Good stuff :smokingsomb:
     
    Lordvincent 90 likes this.
  3. DaisFlaque

    DaisFlaque Android Expert

    Wow thanks for the hard work! I am still a novice at ADB.lol This could be ultimately useful.

    Edit: GUIDE!!! Go LV!!!! Whoa hooo!!!
     
    Slayer72 and Lordvincent 90 like this.
  4. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Thread Starter

    Yes. That would suggest that 0p6 is amms, it also suggests 0p22 is temp storage of some sort. Since it writtes to it as a backup prior to applying the patch


    And yes. I was promoted to guide just today. Thx
     
  5. BlackFire27

    BlackFire27 Newbie

    This info is also quite important for a cyanogenmod ROM.
     
  6. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Thread Starter

    Anyone handy with a hex editor? I am able to view the partitions, just not sure what to make of them :thinking:

    And I've tried googling for a guide/explanation and haven't come across anything.
     
  7. K Rize

    K Rize Android Enthusiast

    Since your working on this, I think this the right time to bring this up and see if you can get this working for our device
    It's for the SGS2 & S3, but running CM10, it remaps the extsdcard as sdcard I believe, hopefully it will work
    [​IMG]
    http://forum.xda-developers.com/showthread.php?t=1938637
     
  8. Zenwafer

    Zenwafer Well-Known Member

    Just looked at an old CWM error log and found another

    /dev/block/mmcblk0p15 - recovery
     
    Slayer72 and Lordvincent 90 like this.
  9. K Rize

    K Rize Android Enthusiast

    Would this help you out any


    u0_a6@android:/ $ su
    root@android:/ # ls -al /efs
    drwxrwxr-x root root 1980-01-05 19:01 .files
    -rw------- radio radio 1 2004-03-11 11:30 .nv_state
    drwxr-xr-x system system 1980-01-05 19:03 FactoryApp
    drwx------ system system 2013-06-01 05:56 OMADM
    drwxr-xr-x radio radio 1980-01-05 19:01 bluetooth
    drwxrwxr-x system system 1980-01-05 19:01 drm
    drwxrwxr-x radio system 1980-01-05 19:04 imei
    -rw------- radio radio 147 2004-03-11 11:30 nv.log
    drwxrwxr-x radio system 1980-01-05 19:01 wifi
    root@android:/ # ls -l
    drwxr-xr-x root root 2013-07-15 15:11 acct
    drwxrwx--- system cache 2013-07-16 12:10 cache
    drwxrwx--x system system 2013-01-10 09:26 carrier
    -rwxr-x--- system system 243952 2013-05-27 21:12 charger
    dr-x------ root root 2013-07-15 15:11 config
    lrwxrwxrwx root root 2013-07-15 15:11 d -> /sys/kernel/debug
    drwxrwx--x system system 2013-07-16 07:19 data
    -rw-r--r-- system system 116 2013-05-27 21:12 default.prop
    drwxr-xr-x root root 2013-07-15 15:11 dev
    drwxrwx--x radio system 2004-03-13 08:11 efs
    lrwxrwxrwx root root 2013-07-15 15:11 etc -> /system/etc
    -rw-r----- system system 754 2013-05-27 21:12 fstab.qcom
    -rwxr-x--- system system 105432 2013-05-27 21:12 init
    -rwxr-x--- system system 3646 2013-05-27 21:12 init.bt.rc
    -rwxr-x--- system system 6825 2013-05-27 21:12 init.carrier.rc
    -rwxr-x--- system system 2344 2013-05-27 21:12 init.goldfish.rc
    -rwxr-x--- system system 8680 2013-05-27 21:12 init.qcom.class_core.sh
    -rwxr-x--- system system 4539 2013-05-27 21:12 init.qcom.class_main.sh
    -rwxr-x--- system system 3616 2013-05-27 21:12 init.qcom.lpm_boot.sh
    -rwxr-x--- system system 19244 2013-05-27 21:12 init.qcom.rc
    -rwxr-x--- system system 1965 2013-05-27 21:12 init.qcom.ril.path.sh
    -rwxr-x--- system system 4034 2013-05-27 21:12 init.qcom.sh
    -rwxr-x--- system system 14220 2013-05-27 21:12 init.qcom.usb.rc
    -rwxr-x--- system system 5762 2013-05-27 21:12 init.qcom.usb.sh
    -rwxr-x--- system system 28453 2013-05-27 21:12 init.rc
    -rwxr-x--- system system 4150 2013-05-27 21:12 init.target.rc
    -rwxr-x--- system system 1637 2013-05-27 21:12 init.trace.rc
    -rwxr-x--- system system 3915 2013-05-27 21:12 init.usb.rc
    -rwxr-x--- system system 20388 2013-05-27 21:12 initlogo.rle
    -rw-r--r-- system system 4644 2013-05-27 21:12 lpm.rc
    drwxrwxr-x root system 2013-07-15 15:11 mnt
    drwxrwx--x system system 2013-07-15 15:11 persist
    dr-xr-xr-x root root 1969-12-31 19:00 proc
    drwxr-xr-x system system 2013-05-27 21:12 res
    drwx------ root root 2013-05-27 22:56 root
    drwxr-x--- system system 2013-05-27 21:12 sbin
    lrwxrwxrwx root root 2013-07-15 15:11 sdcard -> /storage/sdcard0
    dr-xr-x--- system sdcard_r 2013-07-15 15:11 storage
    drwxr-xr-x root root 2013-07-15 15:11 sys
    drwxrwxrwx root root 2013-07-16 08:47 system
    -rw-r--r-- system system 272 2013-05-27 21:12 ueventd.goldfish.rc
    -rw-r--r-- system system 5135 2013-05-27 21:12 ueventd.qcom.rc
    -rw-r--r-- system system 5903 2013-05-27 21:12 ueventd.rc
    lrwxrwxrwx root root 2013-07-15 15:11 vendor -> /system/vendor
    root@android:/ # cat /proc/partitions
    major minor #blocks name

    179 0 3866624 mmcblk0
    179 1 106495 mmcblk0p1
    179 2 500 mmcblk0p2
    179 3 3596 mmcblk0p3
    179 4 1 mmcblk0p4
    179 5 8192 mmcblk0p5
    179 6 20480 mmcblk0p6
    179 7 4096 mmcblk0p7
    179 8 8192 mmcblk0p8
    179 9 8192 mmcblk0p9
    179 10 4096 mmcblk0p10
    179 11 4096 mmcblk0p11
    179 12 4096 mmcblk0p12
    179 13 8192 mmcblk0p13
    179 14 8192 mmcblk0p14
    179 15 8192 mmcblk0p15
    179 16 8192 mmcblk0p16
    179 17 819200 mmcblk0p17
    179 18 573440 mmcblk0p18
    179 19 2166784 mmcblk0p19
    179 20 20480 mmcblk0p20
    179 21 53248 mmcblk0p21
    179 22 20480 mmcblk0p22
    179 23 4096 mmcblk0p23
    179 32 15458304 mmcblk1
    179 33 14895507 mmcblk1p1
    179 34 500000 mmcblk1p2
    179 35 62796 mmcblk1p3
    root@android:/ #
     
  10. monticello

    monticello Well-Known Member

    I bet shabbypenguin would know what u need to do next.
     

Samsung Galaxy Rush Forum

The Samsung Galaxy Rush release date was September 2012. Features and Specs include a 3.5" inch screen, 3MP camera, 768GB RAM, Snapdragon S2 processor, and 1750mAh battery.

September 2012
Release Date
0
Reviews
Loading...

Share This Page

Loading...