[Galaxy S 4 Q&A, Help & Troubleshooting] Devil_D:
config.gz extract

Hello everyone

I have a little problem to extract the config file from my Samsung Galaxy S4 gt-i9505 QCOM

adb shell cat proc/version

Linux version 3.4.0-5648926 (dpi@SWHD7422) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Mon Aug 31 14:37:11 KST 2015

adb pull /proc/config.gz
remote object /proc/config.gz does not exist

I am trying to extract it from the directory /dev/block/

in this way

cd proc

cat mounts

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/apnhlos /firmware vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm /firmware-mdm vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/hidden /preload ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persdata /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/data/media /mnt/shell/emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,uid=1023,gid=1023,derive=legacy,reserved=20MB 0 0
/data/knox/sdcard /mnt/shell/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,uid=1000,gid=1000,derive=none 0 0
/data/privatemode /mnt/shell/privatemode sdcardfs rw,seclabel,nosuid,nodev,relatime,uid=1000,gid=1000,derive=none 0 0
/dev/block/vold/179:32 /mnt/media_rw/extSdCard vfat rw,dirsync,seclabel,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:32 /mnt/secure/asec vfat rw,dirsync,seclabel,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/mnt/media_rw/extSdCard /storage/extSdCard sdcardfs rw,seclabel,nosuid,nodev,relatime,uid=1023,gid=1023,derive=unified 0 0

ls -l /dev/block/platform/msm_sdcc.1/by-name/

lrwxrwxrwx root root 2014-01-12 07:07 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2014-01-12 07:07 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2014-01-12 07:07 backup -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2014-01-12 07:07 boot -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2014-01-12 07:07 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2014-01-12 07:07 carrier -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2014-01-12 07:07 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2014-01-12 07:07 fota -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2014-01-12 07:07 fsg -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2014-01-12 07:07 hidden -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2014-01-12 07:07 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2014-01-12 07:07 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2014-01-12 07:07 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2014-01-12 07:07 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2014-01-12 07:07 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2014-01-12 07:07 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2014-01-12 07:07 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2014-01-12 07:07 param -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2014-01-12 07:07 persdata -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2014-01-12 07:07 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2014-01-12 07:07 recovery -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2014-01-12 07:07 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2014-01-12 07:07 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-01-12 07:07 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2014-01-12 07:07 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2014-01-12 07:07 ssd -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2014-01-12 07:07 system -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2014-01-12 07:07 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2014-01-12 07:07 userdata -> /dev/block/mmcblk0p29

here comes the rub for what block I have to extract the kernel configuration ???

Thanks in advance for any help