Hello Guys,
As I'm borred of the Samsung S4 Mini (i9195 - serranolte) official ROM (i9195XXUAMF5), I'll plain to port the Google S4 (i9505G) ROM for the S4 mini.
To be able to work on this project, I need to try to make the dsixda's Android Kitchen work for this device:
http://forum.xda-developers.com/showthread.php?t=633246
Here is the official recovery.fstab file
Code:
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
The file "serranolte" need to be create in the kitchen under /tools/edify_defs folder.
I'll try to figure it out, but any help will be really appreciate.
Hope @dsixda can have a look too
---
After carefully checking, it seems that the file should be most likely the same as for the i9505:
Code:
# Samsung Galaxy S4 Mini LTE GT-I9195
# Snapdragon 400 - DualCore 1.7GHz - Adreno 305
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p16
cache_mnt=\/dev\/block\/mmcblk0p18
boot_mnt=\/dev\/block\/mmcblk0p20
data_mnt=\/dev\/block\/mmcblk0p29
sdcard_mnt=\/dev\/block\/mmcblk1p1
modem_mnt=\/dev\/block\/mmcblk0p2
fix_boot=yes
It will be kind if someone can confirm, thanks
Thanks to @Vierko who confirm the file is valid
Here you go the file.
Reserved
I would like to thanks all the XDA forum members for the help they provide for your devices.
To be more specific:
@dsixda for the Android Kitchen
@arco68 for the root access
@XeoNoX for some tools
@Vierko for the confirmation of the validity of the file
What is needed to make a kitchen for i9192?
I wanna start cooking, but i have NO experience on it...would you mind to help me?
Would anyone be able to provide a step-by-step guide on how to use this? It would greatly benefit users who are new to these things!
@Kan-g, sorry for misleading you before, but these mount points are not correct. Definitions (ext4, emmc, fix_boot) are ok. I was so stupid it took me 3 flashes to understand that I was flashing the winds, doing nothing. Although the edify_defs won't brick the phone, they won't flash it correctly either.
Now I've checked the correct block devices/partitions and their mount points, cooked a ROM using the kitchen, flashed correctly with success. Below are the new defs:
Code:
# Samsung Galaxy S4 Mini LTE GT-I9195
# Snapdragon 400 - DualCore 1.7GHz - Adreno 305
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p21
cache_mnt=\/dev\/block\/mmcblk0p22
boot_mnt=\/dev\/block\/mmcblk0p13
data_mnt=\/dev\/block\/mmcblk0p24
sdcard_mnt=\/dev\/block\/mmcblk1p1
modem_mnt=\/dev\/block\/mmcblk0p1
fix_boot=yes
@Whosat, you should check two forum threads, you maybe already did:
1) How To set Device Mount Points in Cygwin Android Kitchen for Any Android Device
2) [KITCHEN] Android Kitchen, v0.224 [Linux / Mac / Windows]
We'll need to find essential mount points and corresponding block devices using recovery.fstab file from a stock firmware located in recovery.img or by using adb shell/terminal emulator for android:
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
Code:
~ # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/block/dm-0 on /mnt/asec/com.quoord.tapatalkxda.activity-1 type ext4 (ro,dirsync,seclabel,nosuid,nodev,noatime)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
[COLOR="DarkGreen"]/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (rw,seclabel,relatime,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/efs on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type vfat (ro,context=u:object_r:firmware:s0,relatime,gid=1000,fmask=0006,dmask=0006,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
[/COLOR]/data/container on /mnt/shell/container type sdcardfs (rw,nosuid,nodev,relatime,uid=1000,gid=1000)
/dev/block/mmcblk0p23 on /preload type ext4 (ro,seclabel,nosuid,nodev,noatime,data=ordered)
/data/media on /mnt/shell/emulated type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
tmpfs on /storage/emulated type tmpfs (rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028)
/dev/block/vold/179:33 on /storage/extSdCard type 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)
tmpfs on /storage/extSdCard/.android_secure type tmpfs (ro,seclabel,relatime,size=0k,mode=000)
/data/media on /storage/emulated/0 type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/legacy type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/legacy/Android/obb type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
~ # ls -la /dev/block/platform/msm_sdcc.1/by-name/
total 1
drwxr-xr-x 2 root root 520 Aug 12 20:23 .
drwxr-xr-x 4 root root 580 Aug 12 20:23 ..
lrwxrwxrwx 1 root root 20 Aug 12 20:23 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 Aug 12 20:23 backup -> /dev/block/mmcblk0p16
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 boot -> /dev/block/mmcblk0p13
[/COLOR]lrwxrwxrwx 1 root root 21 Aug 12 20:23 cache -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 Aug 12 20:23 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fota -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fsg -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 Aug 12 20:23 hidden -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 20 Aug 12 20:23 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 Aug 12 20:23 pad -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 Aug 12 20:23 param -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persdata -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persist -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Aug 12 20:23 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 20 Aug 12 20:23 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Aug 12 20:23 ssd -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 Aug 12 20:23 system -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 20 Aug 12 20:23 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 Aug 12 20:23 userdata -> /dev/block/mmcblk0p24
~ # parted /dev/block/mmcblk0 print
Model: MMC SEM08G (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 71.2MB 524kB tz
8 71.2MB 84.3MB 13.1MB pad
9 84.3MB 92.7MB 8389kB param
10 92.7MB 107MB 14.3MB ext4 efs
11 107MB 110MB 3146kB modemst1
12 110MB 113MB 3146kB modemst2
13 113MB 124MB 10.5MB boot
14 124MB 134MB 10.5MB recovery
15 134MB 145MB 10.5MB fota
16 145MB 152MB 7332kB ext4 backup
17 152MB 155MB 3146kB fsg
18 155MB 155MB 8192B ssd
19 155MB 164MB 8389kB ext4 persist
20 164MB 176MB 12.6MB persdata
21 176MB 1749MB 1573MB ext4 system
22 1749MB 1959MB 210MB ext4 cache
23 1959MB 1996MB 37.7MB ext4 hidden
24 1996MB 7818MB 5822MB ext4 userdata
Now we can use these partitions and define them using a template (kitchen/tools/edify_defs/_template) in a definition file for the specific phone device. From the recovery.fstab we know that partitions are emmc and the FS is ext4. That's in very brief, for more info refer the threads linked above.
Vierko said:
@Kan-g, sorry for misleading you before, but these mount points are not correct. Definitions (ext4, emmc, fix_boot) are ok. I was so stupid it took me 3 flashes to understand that I was flashing the winds, doing nothing. Although the edify_defs won't brick the phone, they won't flash it correctly either.
Now I've checked the correct block devices/partitions and their mount points, cooked a ROM using the kitchen, flashed correctly with success. Below are the new defs:
Code:
# Samsung Galaxy S4 Mini LTE GT-I9195
# Snapdragon 400 - DualCore 1.7GHz - Adreno 305
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p21
cache_mnt=\/dev\/block\/mmcblk0p22
boot_mnt=\/dev\/block\/mmcblk0p13
data_mnt=\/dev\/block\/mmcblk0p24
sdcard_mnt=\/dev\/block\/mmcblk1p1
modem_mnt=\/dev\/block\/mmcblk0p1
fix_boot=yes
@Whosat, you should check two forum threads, you maybe already did:
1) How To set Device Mount Points in Cygwin Android Kitchen for Any Android Device
2) [KITCHEN] Android Kitchen, v0.224 [Linux / Mac / Windows]
We'll need to find essential mount points and corresponding block devices using recovery.fstab file from a stock firmware located in recovery.img or by using adb shell/terminal emulator for android:
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
Code:
~ # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/block/dm-0 on /mnt/asec/com.quoord.tapatalkxda.activity-1 type ext4 (ro,dirsync,seclabel,nosuid,nodev,noatime)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
[COLOR="DarkGreen"]/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (rw,seclabel,relatime,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/efs on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type vfat (ro,context=u:object_r:firmware:s0,relatime,gid=1000,fmask=0006,dmask=0006,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
[/COLOR]/data/container on /mnt/shell/container type sdcardfs (rw,nosuid,nodev,relatime,uid=1000,gid=1000)
/dev/block/mmcblk0p23 on /preload type ext4 (ro,seclabel,nosuid,nodev,noatime,data=ordered)
/data/media on /mnt/shell/emulated type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
tmpfs on /storage/emulated type tmpfs (rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028)
/dev/block/vold/179:33 on /storage/extSdCard type 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)
tmpfs on /storage/extSdCard/.android_secure type tmpfs (ro,seclabel,relatime,size=0k,mode=000)
/data/media on /storage/emulated/0 type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/legacy type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
/data/media on /storage/emulated/legacy/Android/obb type sdcardfs (rw,nosuid,nodev,relatime,uid=1023,gid=1023)
~ # ls -la /dev/block/platform/msm_sdcc.1/by-name/
total 1
drwxr-xr-x 2 root root 520 Aug 12 20:23 .
drwxr-xr-x 4 root root 580 Aug 12 20:23 ..
lrwxrwxrwx 1 root root 20 Aug 12 20:23 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 Aug 12 20:23 backup -> /dev/block/mmcblk0p16
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 boot -> /dev/block/mmcblk0p13
[/COLOR]lrwxrwxrwx 1 root root 21 Aug 12 20:23 cache -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 Aug 12 20:23 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fota -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fsg -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 Aug 12 20:23 hidden -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 20 Aug 12 20:23 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 Aug 12 20:23 pad -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 Aug 12 20:23 param -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persdata -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persist -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Aug 12 20:23 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 20 Aug 12 20:23 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Aug 12 20:23 ssd -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 Aug 12 20:23 system -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 20 Aug 12 20:23 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 Aug 12 20:23 userdata -> /dev/block/mmcblk0p24
~ # parted /dev/block/mmcblk0 print
Model: MMC SEM08G (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 71.2MB 524kB tz
8 71.2MB 84.3MB 13.1MB pad
9 84.3MB 92.7MB 8389kB param
10 92.7MB 107MB 14.3MB ext4 efs
11 107MB 110MB 3146kB modemst1
12 110MB 113MB 3146kB modemst2
13 113MB 124MB 10.5MB boot
14 124MB 134MB 10.5MB recovery
15 134MB 145MB 10.5MB fota
16 145MB 152MB 7332kB ext4 backup
17 152MB 155MB 3146kB fsg
18 155MB 155MB 8192B ssd
19 155MB 164MB 8389kB ext4 persist
20 164MB 176MB 12.6MB persdata
21 176MB 1749MB 1573MB ext4 system
22 1749MB 1959MB 210MB ext4 cache
23 1959MB 1996MB 37.7MB ext4 hidden
24 1996MB 7818MB 5822MB ext4 userdata
Now we can use these partitions and define them using a template (kitchen/tools/edify_defs/_template) in a definition file for the specific phone device. From the recovery.fstab we know that partitions are emmc and the FS is ext4. That's in very brief, for more info refer the threads linked above.
Click to expand...
Click to collapse
So, @Vierko using this as a base, all we need to do to set a new device on the kitchen is getting from the recovery.fstab the partition blocks to make the right adjusts on knowing where to flash things?
Dijinn said:
What is needed to make a kitchen for i9192?
I wanna start cooking, but i have NO experience on it...would you mind to help me?
Click to expand...
Click to collapse
Same things as for any other device:
A stock ROM from samfirmware.com
Cygwin with the correct configuration
dsixda's excellent kitchen tools & scripts
Samsung kernel source
A decent kernel building environment
Patience & acceptance that you can easily brick your device
Information found throughout the forum
As for the edify values, why bother? The safest way to approach the updater-script is to understand how it works and not rely on dsixda's script to automatically generate it (it can't cover all situations). You should manually write up your scripts to do what you intend and need (not what the kitchen THINKS you need).
I only use dsixda's kitchen for three things only:
Unpack stock ROMs
Deodex stock ROMs
Pack/Unpack boot and recovery images
The rest of any ROM is exactly what you make it. Flashable zips are NOT rocket science.
PS: and try not to mess with modem and efs while starting out. Skip that and dig into it after you are comfortable with the device and identify odd behaviors properly.
Cheers and good luck,
C.
Dijinn said:
So, @Vierko using this as a base, all we need to do to set a new device on the kitchen is getting from the recovery.fstab the partition blocks to make the right adjusts on knowing where to flash things?
Click to expand...
Click to collapse
Correct. But the recovery.fstab for serranolte is with persistent names for partitions, not the actual block devices. So you needd to look a little deeper.
Vierko said:
Correct. But the recovery.fstab for serranolte is with persistent names for partitions, not the actual block devices. So you needd to look a little deeper.
Click to expand...
Click to collapse
@Vierko I'm quite sure that the mount points for serranolte are the same for serranods, but just for curiosity, where is the DEEPER place you looked at to find the real block devices? That way I won't keep searching blindly...I'm finishing to install Cygwin on my machine so maybe I can give the others a zip just like @Kan-g did...
@cheatman Thanks for the help too, man! I'm downloading all the stuff here to get my hands dirty on coding =P
I really would love to see CM10.1 running on serranods and say "I ported it" maybe I can even make it to the official like @arco68 did =P
Ow men, I'm so excited on starting this new thing xD
You quoted that "deeper" place two posts above:
Code:
~ # ls -la [COLOR="DarkRed"]/dev/block/platform/msm_sdcc.1/by-name/[/COLOR]
total 1
drwxr-xr-x 2 root root 520 Aug 12 20:23 .
drwxr-xr-x 4 root root 580 Aug 12 20:23 ..
lrwxrwxrwx 1 root root 20 Aug 12 20:23 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 Aug 12 20:23 backup -> /dev/block/mmcblk0p16
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 boot -> /dev/block/mmcblk0p13
[/COLOR][COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 cache -> /dev/block/mmcblk0p22
[/COLOR]lrwxrwxrwx 1 root root 21 Aug 12 20:23 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fota -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Aug 12 20:23 fsg -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 Aug 12 20:23 hidden -> /dev/block/mmcblk0p23
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 20 Aug 12 20:23 modem -> /dev/block/mmcblk0p1
[/COLOR]lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Aug 12 20:23 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 Aug 12 20:23 pad -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 Aug 12 20:23 param -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persdata -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 Aug 12 20:23 persist -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 Aug 12 20:23 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 20 Aug 12 20:23 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Aug 12 20:23 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Aug 12 20:23 ssd -> /dev/block/mmcblk0p18
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 system -> /dev/block/mmcblk0p21
[/COLOR]lrwxrwxrwx 1 root root 20 Aug 12 20:23 tz -> /dev/block/mmcblk0p7
[COLOR="DarkGreen"]lrwxrwxrwx 1 root root 21 Aug 12 20:23 userdata -> /dev/block/mmcblk0p24
[/COLOR]
Also you can use the method of using parted to check partitions an their names (mount points respectively). I'll quote myself again:
Code:
~ # parted [COLOR="DarkRed"]/dev/block/mmcblk0[/COLOR] print
Model: MMC SEM08G (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 71.2MB 524kB tz
8 71.2MB 84.3MB 13.1MB pad
9 84.3MB 92.7MB 8389kB param
10 92.7MB 107MB 14.3MB ext4 efs
11 107MB 110MB 3146kB modemst1
12 110MB 113MB 3146kB modemst2
13 113MB 124MB 10.5MB boot
14 124MB 134MB 10.5MB recovery
15 134MB 145MB 10.5MB fota
16 145MB 152MB 7332kB ext4 backup
17 152MB 155MB 3146kB fsg
18 155MB 155MB 8192B ssd
19 155MB 164MB 8389kB ext4 persist
20 164MB 176MB 12.6MB persdata
21 176MB 1749MB 1573MB ext4 system
22 1749MB 1959MB 210MB ext4 cache
23 1959MB 1996MB 37.7MB ext4 hidden
24 1996MB 7818MB 5822MB ext4 userdata
@Dijinn: the Android environment is moving towards becoming an OS in itself. Treating it like a regular linux OS (and thinking you need physical block devices to work with partitions) is a mistake because your methods have to evolve and be in sync with the OS. There's not problem in going old school, but it's not optimal either. You can select the devices by name (/dev/block/platform/msm_sdcc.1/by-name/) and use them as such in CWM and/or TWRP.
You will only need the partitions so you know where to flash stuff for your ROM. Therefore, you need only three parittions: recovery, boot and system. And maybe data, but it's unlikely. So, once you can flash from CWM onto all of those partitions, you can move forward.
PS: generally, the recovery fstab is the best way I know to get proper information about the partition layout because it enables you to achieve exactly what you want: know how to mount the partitions in CWM to flash stuff on them. If the stock recovery can mount them, you will be able to mount them too. So take Vierko's advice, it's relevant.
Cheers,
C.
cheatman said:
the Android environment is moving towards becoming an OS in itself. Treating it like a regular linux OS (and thinking you need physical block devices to work with partitions) is a mistake because your methods have to evolve and be in sync with the OS. There's not problem in going old school, but it's not optimal either.
C.
Click to expand...
Click to collapse
I must admit that treating it like Linux cripples me every single day. Used to the BSD/Linux, living in that world for over 16 years... Gosh, it impedes my perception of the Android OS itself! I feel lame and stupid, sure I am.:laugh:
Here it is, recovery.fstab of I9592!
boot is EMMC
system is ext4
but we have the same problem of i9592 - they are all using the "by-name" tag to find the proper thing...
I think i'll need to do the deeper search @Vierko talked about xD
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
EDIT: Looking deeper I found this info here
Code:
[email protected]:/ $ mount
mount
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
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/mmcblk0p20 /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 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,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist 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,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,context=u:object_r:firmware:s0,relatime,gid=1000,fmask=0006,dmask=0006,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/data/container /mnt/shell/container sdcardfs rw,nosuid,nodev,relatime,uid=1000,gid=1000 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/dev/block/vold/179:37 /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
/dev/block/vold/179:37 /mnt/secure/asec 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
tmpfs /storage/extSdCard/.android_secure tmpfs ro,seclabel,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/jp.naver.SJLGPP-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/ru.mail.games.android.JungleHeat-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.quoord.tapatalkxda.activity-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/jp.naver.SJLGPHERO-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/com.koushikdutta.rommanager-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
ls -la /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 2013-01-08 15:17 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-01-08 15:17 backup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2013-01-08 15:17 boot -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-01-08 15:17 cache -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2013-01-08 15:17 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-01-08 15:17 fota -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2013-01-08 15:17 fsg -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2013-01-08 15:17 hidden -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2013-01-08 15:17 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-01-08 15:17 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-01-08 15:17 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-01-08 15:17 pad -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-01-08 15:17 param -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2013-01-08 15:17 persdata -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2013-01-08 15:17 persist -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2013-01-08 15:17 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-01-08 15:17 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2013-01-08 15:17 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-01-08 15:17 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-01-08 15:17 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-01-08 15:17 ssd -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2013-01-08 15:17 system -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2013-01-08 15:17 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-01-08 15:17 userdata -> /dev/block/mmcblk0p24
Here goes, the SerranoDS file for kitchen!
Just need to put it on the edify_defs and the kitchen is ready for serranods a.k.a. GT-i9192
@cheatman and @Vierko, I just got the working folder running to start testing...
For the first test on customizing it, I'm thinking about removing bloatware and changing the bootlogo =P
Then I should take a look at the kernel...
Any of you know where is the dual sim support, if it comes from the kernel or from some stuff on the software?
Hi all!
I've successfully created a ROM with Android Kitchen including the following updater-script:
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p21");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
symlink("wiperiface_v02", "/system/bin/wiperiface");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p13");
show_progress(0.2, 10);
unmount("/system");
Is the above script correct? Will it work on S4 mini ?
Should I add the "assert(getprop())" verification on the top of script?
Update: Script checked, it works!
Here is the content of my working edify_defs/serranolte file:
Code:
# Samsung Galaxy S4 Mini LTE GT-I9195
# Snapdragon 400 - DualCore 1.7GHz - Adreno 305
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/platform\/msm_sdcc.1\/by-name\/system
cache_mnt=\/dev\/block\/platform\/msm_sdcc.1\/by-name\/cache
boot_mnt=\/dev\/block\/platform\/msm_sdcc.1\/by-name\/boot
data_mnt=\/dev\/block\/platform\/msm_sdcc.1\/by-name\/userdata
sdcard_mnt=\/dev\/block\/platform\/msm_sdcc.3\/by-num\/p1
modem_mnt=\/dev\/block\/platform\/msm_sdcc.1\/by-name\/modem
fix_boot=yes
But I have an issue with deodexing single file - the Email app:
Code:
Disassembling ./system/app/SecEmail_J.odex ...
java -Xmx512m -jar baksmali.jar -a 17 -d system/framework -x ./system/app/SecEmail_J.odex
Error while disassembling method Lcom/android/email/activity/setup/AccountSettingsHtmlSignature$4;->onHitResult(Ljava/lang/String;)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: The V type can only be used as a method return type
at org.jf.dexlib.Code.Analysis.RegisterType.getRegisterTypeForType(RegisterType.java:185)
at org.jf.dexlib.Code.Analysis.RegisterType.getRegisterTypeForTypeIdItem(RegisterType.java:211)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1727)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:674)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
opcode: move-result
CodeAddress: 35
Method: Lcom/android/email/activity/setup/AccountSettingsHtmlSignature$4;->onHitResult(Ljava/lang/String;)V
Error while disassembling method Lcom/android/email/activity/setup/AccountSettingsHtmlSignature$4;->onIsSAMMFile(Ljava/lang/String;)Z. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: The V type can only be used as a method return type
at org.jf.dexlib.Code.Analysis.RegisterType.getRegisterTypeForType(RegisterType.java:185)
at org.jf.dexlib.Code.Analysis.RegisterType.getRegisterTypeForTypeIdItem(RegisterType.java:211)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1727)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:674)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
opcode: move-result
CodeAddress: 17
Method: Lcom/android/email/activity/setup/AccountSettingsHtmlSignature$4;->onIsSAMMFile(Ljava/lang/String;)Z
What is the problem here?
Change api level 16. and deodex email app
android kitchen
Someone could help me to use android kitchen on i9190 s4 mini?
Any help is appreciate
please can some one just tell how can i add GT-I9190 in edify ??? plz
My Script I9192 Duos
Code:
show_progress(0.1, 0);
ui_print("-------------------------");
ui_print(" Revolution S4 Mini ");
ui_print("-------------------------");
ui_print(" I9192 ");
ui_print("-------------------------");
ui_print(" By Fabio PAB ");
ui_print("-------------------------");
format("ext4", "EMMC", "/dev/block/mmcblk0p21, "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
symlink("wiperiface_v02", "/system/bin/wiperiface");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 0777, "/system/bin/.ext");
set_perm(0, 0, 06755, "/system/bin/.ext/.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
# EFS Backup
ui_print(" Creating EFS Backup");
package_extract_file("fabiopab/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
show_progress(0.1, 9);
# Installing The Kernel
package_extract_file("boot.img", "/dev/block/mmcblk0p13");
show_progress(0.2, 10);
unmount("/system");
#finish
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" by Fabio PAB ")
Related
I'm trying to build a recovery for the first time for this device and i was wondering if someone could look at my recovery.fstab and help me out with it. i found lots of tutorials on building cwm for a new device but editing the recovery.fstab and boardconfig.mk i havnt found really anything.
recovery.fstab
# mount point fstype device [device2]
/boot emmc /dev/block/mmcblk0p13
/cache ext4 /dev/block/mmcblk0p21
/data ext4 /dev/block/mmcblk0p23
/recovery emmc /dev/block/mmcblk0p14
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/system ext4 /dev/block/mmcblk0p20
/sd-ext ext4 ?
---------------
boardconfig.mk
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/samsung/s3mini/BoardConfigVendor.mk
TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := unknown
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOOTLOADER_BOARD_NAME := s3mini
BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=31
BOARD_KERNEL_BASE := 0x80200000
BOARD_KERNEL_PAGESIZE := 2048
# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_PREBUILT_KERNEL := device/samsung/s3mini/kernel
BOARD_HAS_NO_SELECT_BUTTON := true
-------------------
used:
ls -l /dev/block/platform/msm_sdcc.1/by-name > /mnt/sdcard/partitions.txt
partitions are as follow:
lrwxrwxrwx root root 2013-01-02 01:11 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-01-02 01:11 backup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2013-01-02 01:11 boot -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-01-02 01:11 cache -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2013-01-02 01:11 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-01-02 01:11 fota -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2013-01-02 01:11 fsg -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2013-01-02 01:11 hidden -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2013-01-02 01:11 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-01-02 01:11 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-01-02 01:11 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-01-02 01:11 pad -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-01-02 01:11 param -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2013-01-02 01:11 persist -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2013-01-02 01:11 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-01-02 01:11 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2013-01-02 01:11 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-01-02 01:11 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-01-02 01:11 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-01-02 01:11 ssd -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2013-01-02 01:11 system -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2013-01-02 01:11 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-01-02 01:11 userdata -> /dev/block/mmcblk0p23
EDIT: I think i understand the recovery.fstab
I unpacked a stock-recovery.img from another post and got a recovery.fstab, can someone help me understand it?
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
assassinanex said:
I unpacked a stock-recovery.img from another post and got a recovery.fstab, can someone help me understand it?
# mount point fstype device [device2]
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem
/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden
Click to expand...
Click to collapse
intended_mount_location type partition
by-name doesn't always exists, you'll need to check what initfs is creating on your particular phone. The opensource kernel is available for your phone from samsung, best place to look imo.
PS. if this helps you I'd appreciate a copy of the firmware from your phone for a project
m0tter
any updates on this?
m0tter said:
intended_mount_location type partition
by-name doesn't always exists, you'll need to check what initfs is creating on your particular phone. The opensource kernel is available for your phone from samsung, best place to look imo.
PS. if this helps you I'd appreciate a copy of the firmware from your phone for a project
m0tter
Click to expand...
Click to collapse
if you need s3 mini sm-g730a firmware how do i exctract it ? ill send nmine to any who need
hi friends
Today i got my hands on Spice Dream Uno android one handset.
here is what i found for that device.
May be this info is common to all other android one devices that is why i am posting it in this section.
1. build.prop
Code:
#
# PRODUCT_OEM_PROPERTIES
#
import /oem/oem.prop ro.product.device
import /oem/oem.prop ro.product.name
import /oem/oem.prop ro.product.manufacturer
import /oem/oem.prop ro.product.model
import /oem/oem.prop ro.product.locale.language
import /oem/oem.prop ro.product.locale.region
import /oem/oem.prop ro.config.ringtone
import /oem/oem.prop ro.config.notification_sound
import /oem/oem.prop ro.config.alarm_alert
import /oem/oem.prop ro.config.wallpaper
import /oem/oem.prop ro.config.wallpaper_component
import /oem/oem.prop ro.oem.*
import /oem/oem.prop oem.*
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=KPW53
ro.build.display.id=KPW53
ro.build.version.incremental=1379542
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.4
ro.build.date=Fri Aug 22 22:49:18 UTC 2014
ro.build.date.utc=1408747758
ro.build.type=user
ro.build.user=android-build
ro.build.host=wpds12.hot.corp.google.com
ro.build.tags=release-keys
ro.product.brand=google
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=mt6582
# ro.build.product is obsolete; use ro.product.device
ro.build.product=sprout
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=sprout-user 4.4.4 KPW53 1379542 release-keys
ro.build.thumbprint=4.4.4/KPW53/1379542:user/release-keys
ro.build.characteristics=default
# end build properties
#
# from device/mediatek/sprout/sprout/system.prop
#
#
# system.prop for generic sdk
#
rild.libpath=/system/lib/mtk-ril.so
rild.libargs=-d /dev/ttyC0
# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }
# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}
# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}
#
wifi.tethering.interface=ap0
#
ro.sf.lcd_density=240
ro.opengles.version=131072
wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=128m
# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0
# Power off opt in IPO
sys.ipo.pwrdncap=2
ro.sys.usb.storage.type=mtp,mass_storage
# USB BICR function
ro.sys.usb.bicr=yes
# USB Charge only function
ro.sys.usb.charging.only=yes
# audio
ro.camera.sound.forced=0
ro.audio.silent=0
ro.zygote.preload.enable=0
ro.kernel.zio=38,108,105,16
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
ro.boot.selinux=disable
# Disable dirty region for Mali
debug.hwui.render_dirty_regions=false
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.ringtone=Titania.ogg
ro.config.notification_sound=Tethys.ogg
ro.config.alarm_alert=Oxygen.ogg
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.carrier=unknown
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.gms
ro.setupwizard.enterprise_mode=1
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=128m
ro.mediatek.chip_ver=S01
ro.mediatek.version.release=ALPS.W10.24.p0
ro.mediatek.platform=MT6582
ro.mediatek.version.sdk=1
ro.telephony.sim.count=2
persist.radio.default.sim=0
persist.radio.multisim.config=dsds
ro.telephony.default_network=0,1
persist.gemini.sim_num=2
ro.gemini.smart_3g_switch=1
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
ril.current.share_modem=2
curlockscreen=1
ro.mediatek.gemini_support=true
persist.radio.fd.counter=15
persist.radio.fd.off.counter=5
persist.radio.fd.r8.counter=15
persist.radio.fd.off.r8.counter=5
persist.mtk.wcn.combo.chipid=-1
drm.service.enabled=true
fmradio.driver.enable=0
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=0
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
ril.radiooff.poweroffMD=0
dalvik.vm.heapstartsize=8m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.mediatek.version.branch=KK.AOSP
keyguard.no_require_sim=true
ro.facelock.black_timeout=400
ro.facelock.det_timeout=1500
ro.facelock.rec_timeout=2500
ro.facelock.lively_timeout=2500
ro.facelock.est_max_time=600
ro.facelock.use_intro_anim=false
persist.sys.dalvik.vm.lib=libdvm.so
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
2.Partition layout
Code:
adb shell
Code:
127|[email protected]_sprout:/ $ cat proc/partitions
major minor #blocks name
179 0 3817472 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 256 mmcblk0p5
179 6 384 mmcblk0p6
179 7 10240 mmcblk0p7
179 8 10240 mmcblk0p8
179 9 6144 mmcblk0p9
179 10 512 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 65536 mmcblk0p12
179 13 16768 mmcblk0p13
179 14 1024000 mmcblk0p14
179 15 131072 mmcblk0p15
179 16 2416640 mmcblk0p16
179 17 32768 mmcblk0p17
179 18 65024 mmcblk0p18
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 96 7782400 mmcblk1
179 97 7781376 mmcblk1p1
and
Code:
[email protected]_sprout:/ $ ls -l /dev/block/platform/mtk-msdc.0/by-name
lrwxrwxrwx root root 2010-01-01 05:30 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2010-01-01 05:30 bootloader -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2010-01-01 05:30 cache -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2010-01-01 05:30 expdb -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2010-01-01 05:30 gen -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2010-01-01 05:30 logo -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2010-01-01 05:30 metadata -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2010-01-01 05:30 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2010-01-01 05:30 oem -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2010-01-01 05:30 para -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2010-01-01 05:30 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2010-01-01 05:30 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2010-01-01 05:30 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2010-01-01 05:30 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2010-01-01 05:30 seccfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2010-01-01 05:30 secro -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2010-01-01 05:30 system -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2010-01-01 05:30 userdata -> /dev/block/mmcblk0p16
3.Mount points
Code:
adb shell
Code:
[email protected]_sprout:/ $ cat proc/mounts
rootfs / rootfs ro,seclabel,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
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory 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/mtk-msdc.0/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/mtk-msdc.0/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/mtk-msdc.0/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/mtk-msdc.0/by-name/protect1 /protect_f ext4 rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/dev/block/platform/mtk-msdc.0/by-name/protect2 /protect_s ext4 rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/dev/block/platform/mtk-msdc.0/by-name/oem /oem ext4 ro,context=u:object_r:oemfs:s0,nosuid,nodev,relatime,data=ordered 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:97 /mnt/media_rw/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,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:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,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/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
4.fastboot
yes this device has fastboot.
Unlocking bootloader via fastboot
***reboot into fastboot mode
2ways
a] switch off the phone>>press volume up + power at same time>>boot menu should appear>>go to fastboot menu with volume up and then select by pressing volume down.
OR
b]connect phone to PC(i use linux i dont need to install any drivers or adb or fastboot packages).>>enable usb debugging mode (developer options)>>adb reboot bootloader
this will boot into fastboot directly.
***connect phone to the PC
***open terminal>>fastboot oem unlock>>press volume down to select fastboot again>>fastboot format cache>>fastboot format userdata>>fastboot reboot
now you have unloicked bootloader.
5. Recovery
when
adb reboot recovery
Click to expand...
Click to collapse
given >>it boot into recovery screen where only some chinese picture of recovery is present.
On chinese recovery screen, if you press volume up and power button you will get apply zip from sideload and sdcard.
6.there is no valid fstab present at the root
7. init rc files are seem to be hidden out or symlinked somewhere else.
if you try to open them they open as only a blank text file.
8. Build version in build.prop is KPW53.
i dont know which version of kitkat is that.
9. baseband version
WR8.W1412.MD.WG.GMP.SP.W14.26.P3,2014/08/15 11.39
10. KERNEL version
3.4.67 [email protected]#1 Wed Aug 20 14:13:29 PDT 2014
11. SELINUX is disabled in build.prop
13. SAR value is 0.641 W/Kg (1g)
14. oem.prop for spice dream uno mi-498
Code:
ro.product.device=Mi-498_sprout
ro.product.name=Mi-498
ro.product.manufacturer=Spice
ro.product.model=Spice Mi-498
ro.product.locale.language=en
ro.product.locale.region=IN
ro.config.wallpaper=/oem/media/Default.jpg
15. partition layout proc/dumchar type(this does not exist on our phone but this info may be useful to create scatter file for sp flash tool)
Code:
partno: start_sect nr_sects partition_name
emmc_p1: 00000400 00001800 "proinfo"
emmc_p2: 00001c00 00002800 "nvram"
emmc_p3: 00004400 00005000 "protect1"
emmc_p4: 00009400 00005000 "protect2"
emmc_p5: 0000e400 00000200 "seccfg"
emmc_p6: 0000e600 00000300 "bootloader"
emmc_p7: 0000e900 00005000 "boot"
emmc_p8: 00013900 00005000 "recovery"
emmc_p9: 00018900 00003000 "secro"
emmc_p10: 0001b900 00000400 "para"
emmc_p11: 0001bd00 00004000 "logo"
emmc_p12: 0001fd00 00020000 "oem"
emmc_p13: 0003fd00 00008300 "expdb"
emmc_p14: 00048000 001f4000 "system"
emmc_p15: 0023c000 00040000 "cache"
emmc_p16: 0027c000 0049c000 "userdata"
emmc_p17: 00718000 00010000 "metadata"
emmc_p18: 00728000 0001fc00 "gen"
16. more info for the android one partitions and bootloader and preloader methods
Code:
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:gen: 3f80000
(bootloader) partition-type:gen: raw data
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:userdata: 93800000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 8000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: 3e800000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:expdb: 1060000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:oem: 4000000
(bootloader) partition-type:oem: ext4
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:recovery: a00000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: a00000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:bootloader: 60000
(bootloader) partition-type:bootloader: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: no
(bootloader) unlocked: yes
(bootloader) secure: no
(bootloader) version-baseband: MOLY
(bootloader) kernel: lk
(bootloader) product: sprout
(bootloader) version-preloader: 0.1.02
(bootloader) version-bootloader: 0.5.17
17. how to access preloader
The preloader does exist and can be accessed.
Remove and replace the battery and keep the volume down button with the phone connected to activate it.
thanks to @joshuab227
reserved1
@k2wl
Can you send me output of
Code:
cat /proc/cmdline
Also check if you have adb access in the Chinese recovery.
varun.chitre15 said:
@k2wl
Can you send me output of
Code:
cat /proc/cmdline
Also check if you have adb access in the Chinese recovery.
Click to expand...
Click to collapse
cat proc/cmdline
Click to expand...
Click to collapse
permission denied.
and there is no adb access in chinese recovery
k2wl said:
permission denied.
and there is no adb access in chinese recovery
Click to expand...
Click to collapse
Hmm... and none of the exploits look to be working, Google has patched them all. Even if I had the command line I could have build up a recovery which could have opened all these barriers.
The factory images just like the Nexus line are likely to be posted by Google soon.
Is any reason adb not being available in recovery?
varun.chitre15 said:
Hmm... and none of the exploits look to be working, Google has patched them all. Even if I had the command line I could have build up a recovery which could have opened all these barriers.
The factory images just like the Nexus line are likely to be posted by Google soon.
Click to expand...
Click to collapse
varun.chitre15 said:
Hmm... and none of the exploits look to be working, Google has patched them all. Even if I had the command line I could have build up a recovery which could have opened all these barriers.
The factory images just like the Nexus line are likely to be posted by Google soon.
Click to expand...
Click to collapse
oh you need that for recovery build.
then here it is
console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O androidboot.hardware=sprout
Click to expand...
Click to collapse
hope this helps!!
k2wl said:
oh you need that for recovery build.
then here it is
hope this helps!!
Click to expand...
Click to collapse
Try flashing this new recovery
https://s.basketbuild.com/filedl/devs?dev=varun.chitre15&dl=varun.chitre15/A1/recovery.img
fastboot flash recovery path/to/recovery.img
Check if it boots.
P.s: You will lose that Chinese recovery after this, it isn't of any use anyway.
varun.chitre15 said:
Try flashing this new recovery
https://s.basketbuild.com/filedl/devs?dev=varun.chitre15&dl=varun.chitre15/A1/recovery.img
fastboot flash recovery path/to/recovery.img
Check if it boots.
P.s: You will lose that Chinese recovery after this, it isn't of any use anyway.
Click to expand...
Click to collapse
recovery doesnt boot.
it stays on spice logo
saying recovery mode in the bottom and after a while it shows oem unlock and phone reboots.
k2wl said:
recovery doesnt boot.
it stays on spice logo
saying recovery mode in the bottom and after a while it shows oem unlock and phone reboots.
Click to expand...
Click to collapse
I have uploaded a new image at the same link. Check with that.
varun.chitre15 said:
I have uploaded a new image at the same link. Check with that.
Click to expand...
Click to collapse
this recovery does not boot.
spice mobile screen with recovery mode for 1 min. then spice screen with oem unlocked for 10-15 sec then phone reboots.
k2wl said:
this recovery does not boot.
spice mobile screen with recovery mode for 1 min. then spice screen with oem unlocked for 10-15 sec then phone reboots.
Click to expand...
Click to collapse
OK I have ordered the Micromax variant, will be able to experiment myself after that.
guys try this to gain root http://www.mgyun.com/en/getvroot
varunrocks17 said:
guys try this to gain root http://www.mgyun.com/en/getvroot
Click to expand...
Click to collapse
man it doesnt work. plz stop posting it on every android 1 thread. the phones have same everything internal.
can upload a backup of the system and boot?
walkman-star said:
can upload a backup of the system and boot?
Click to expand...
Click to collapse
no root access till now so no boot.img
but system dump can be taken.
System dump
Find system dump here http://dropjar.com/#YazLGa6
k2wl said:
no root access till now so no boot.img
but system dump can be taken.
Click to expand...
Click to collapse
sheldroid said:
Find system dump here
Click to expand...
Click to collapse
boot.img can upload ?
No root available so can't take boot image
Sent from my Spice Mi-498
k2wl said:
no root access till now...
Click to expand...
Click to collapse
So there are no exploits reported to working as of now?
How about towelroot? (BTW I've seen many devices with kernel build date greater than JUN 2014 and towelroot working) If it doesn't work, you can try to play with modstrings.
Some how I borked my Nexus 6 and lost my IEMI. Im working on restoring it but im having some issues. What I think happened is the partition that holds the IEMI got wiped. Can some one post their full partition table so I can compare and contrast. Im trying to avoid sending my phone to RMA
This is what I have
Device Partition List:
----------------------
modem /dev/block/mmcblk0p1
metadata /dev/block/mmcblk0p2
sbl1 /dev/block/mmcblk0p3
sdi /dev/block/mmcblk0p4
sec /dev/block/mmcblk0p5
ddr /dev/block/mmcblk0p6
aboot /dev/block/mmcblk0p7
rpm /dev/block/mmcblk0p8
utags /dev/block/mmcblk0p9
tz /dev/block/mmcblk0p10
pada /dev/block/mmcblk0p11
sbl1bak /dev/block/mmcblk0p12
abootbackup /dev/block/mmcblk0p13
rpmbackup /dev/block/mmcblk0p14
utagsbackup /dev/block/mmcblk0p15
tzbackup /dev/block/mmcblk0p16
versions /dev/block/mmcblk0p17
frp /dev/block/mmcblk0p18
mdm1m9kefs1 /dev/block/mmcblk0p19
mdm1m9kefs2 /dev/block/mmcblk0p20
mdm1m9kefs3 /dev/block/mmcblk0p21
padb /dev/block/mmcblk0p22
sp /dev/block/mmcblk0p23
keystore /dev/block/mmcblk0p24
logs /dev/block/mmcblk0p25
persist /dev/block/mmcblk0p26
mdm1hob /dev/block/mmcblk0p27
mdm1dhob /dev/block/mmcblk0p28
cid /dev/block/mmcblk0p29
logo /dev/block/mmcblk0p30
misc /dev/block/mmcblk0p31
padd /dev/block/mmcblk0p32
mdm1m9kefsc /dev/block/mmcblk0p33
ssd /dev/block/mmcblk0p34
recovery /dev/block/mmcblk0p35
kpan /dev/block/mmcblk0p36
boot /dev/block/mmcblk0p37
cache /dev/block/mmcblk0p38
oem /dev/block/mmcblk0p39
padc /dev/block/mmcblk0p40
system /dev/block/mmcblk0p41
userdata /dev/block/mmcblk0p42
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 1.4G 48.0K 1.4G 4096
/sys/fs/cgroup 1.4G 12.0K 1.4G 4096
/mnt/asec 1.4G 0.0K 1.4G 4096
/mnt/obb 1.4G 0.0K 1.4G 4096
/system 1.9G 764.6M 1.2G 4096
/data 54.6G 39.6G 15.1G 4096
/cache 248.0M 192.0K 247.8M 4096
/firmware 106.2M 60.1M 46.1M 4096
/persist 928.0K 236.0K 692.0K 4096
/fsg 783.0K 779.0K 4.0K 1024
/mnt/shell/emulated 54.6G 39.6G 15.1G 4096
/storage/emulated 1.4G 0.0K 1.4G 4096
/storage/emulated/0 54.6G 39.6G 15.1G 4096
/storage/emulated/0/Android/obb 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy/Android/obb 54.6G 39.6G 15.1G 4096
[email protected]:/ # cat /proc/partitions
major minor #blocks name
179 0 61071360 mmcblk0
179 1 114688 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 384 mmcblk0p3
179 4 56 mmcblk0p4
179 5 16 mmcblk0p5
179 6 32 mmcblk0p6
179 7 1024 mmcblk0p7
179 8 256 mmcblk0p8
179 9 512 mmcblk0p9
179 10 500 mmcblk0p10
179 11 4156 mmcblk0p11
179 12 384 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 256 mmcblk0p14
179 15 512 mmcblk0p15
179 16 500 mmcblk0p16
179 17 4 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 256 mmcblk0p27
179 28 32 mmcblk0p28
179 29 128 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 1024 mmcblk0p31
259 0 2528 mmcblk0p32
259 1 1 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16400 mmcblk0p35
259 4 9088 mmcblk0p36
259 5 16384 mmcblk0p37
259 6 262144 mmcblk0p38
259 7 65536 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 2097152 mmcblk0p41
259 10 58343296 mmcblk0p42
179 32 4096 mmcblk0rpmb
[email protected]:/ # mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1503876k,nr_inodes=171088,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 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,seclabel,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 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,nodiratime,nobarrier,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,context=u:object_r:firmware_file:s0,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 /fsg ext4 ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1503876k,nr_inodes=171088,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
1|[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 1970-01-03 12:58 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-03 12:58 abootBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-03 12:58 boot -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-03 12:58 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-03 12:58 cid -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-03 12:58 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-03 12:58 frp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-03 12:58 keystore -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-03 12:58 kpan -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-03 12:58 logo -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-03 12:58 logs -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-03 12:58 mdm1dhob -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-03 12:58 mdm1hob -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs1 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs2 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs3 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefsc -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-03 12:58 metadata -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-03 12:58 misc -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-03 12:58 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-03 12:58 oem -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-03 12:58 padA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-03 12:58 padB -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-03 12:58 padC -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 1970-01-03 12:58 padD -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-03 12:58 persist -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-03 12:58 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-03 12:58 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-03 12:58 rpmBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-03 12:58 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-03 12:58 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-03 12:58 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-03 12:58 sec -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-03 12:58 sp -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-03 12:58 ssd -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-03 12:58 system -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 1970-01-03 12:58 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-03 12:58 tzBackup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-03 12:58 userdata -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 1970-01-03 12:58 utags -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-03 12:58 utagsBackup -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-03 12:58 versions -> /dev/block/mmcblk0p17
danarama said:
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 1.4G 48.0K 1.4G 4096
/sys/fs/cgroup 1.4G 12.0K 1.4G 4096
/mnt/asec 1.4G 0.0K 1.4G 4096
/mnt/obb 1.4G 0.0K 1.4G 4096
/system 1.9G 764.6M 1.2G 4096
/data 54.6G 39.6G 15.1G 4096
/cache 248.0M 192.0K 247.8M 4096
/firmware 106.2M 60.1M 46.1M 4096
/persist 928.0K 236.0K 692.0K 4096
/fsg 783.0K 779.0K 4.0K 1024
/mnt/shell/emulated 54.6G 39.6G 15.1G 4096
/storage/emulated 1.4G 0.0K 1.4G 4096
/storage/emulated/0 54.6G 39.6G 15.1G 4096
/storage/emulated/0/Android/obb 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy/Android/obb 54.6G 39.6G 15.1G 4096
[email protected]:/ # cat /proc/partitions
major minor #blocks name
179 0 61071360 mmcblk0
179 1 114688 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 384 mmcblk0p3
179 4 56 mmcblk0p4
179 5 16 mmcblk0p5
179 6 32 mmcblk0p6
179 7 1024 mmcblk0p7
179 8 256 mmcblk0p8
179 9 512 mmcblk0p9
179 10 500 mmcblk0p10
179 11 4156 mmcblk0p11
179 12 384 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 256 mmcblk0p14
179 15 512 mmcblk0p15
179 16 500 mmcblk0p16
179 17 4 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 256 mmcblk0p27
179 28 32 mmcblk0p28
179 29 128 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 1024 mmcblk0p31
259 0 2528 mmcblk0p32
259 1 1 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16400 mmcblk0p35
259 4 9088 mmcblk0p36
259 5 16384 mmcblk0p37
259 6 262144 mmcblk0p38
259 7 65536 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 2097152 mmcblk0p41
259 10 58343296 mmcblk0p42
179 32 4096 mmcblk0rpmb
[email protected]:/ # mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1503876k,nr_inodes=171088,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 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,seclabel,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 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,nodiratime,nobarrier,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,context=u:object_r:firmware_file:s0,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 /fsg ext4 ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1503876k,nr_inodes=171088,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
1|[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 1970-01-03 12:58 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-03 12:58 abootBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-03 12:58 boot -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-03 12:58 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-03 12:58 cid -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-03 12:58 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-03 12:58 frp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-03 12:58 keystore -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-03 12:58 kpan -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-03 12:58 logo -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-03 12:58 logs -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-03 12:58 mdm1dhob -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-03 12:58 mdm1hob -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs1 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs2 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs3 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefsc -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-03 12:58 metadata -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-03 12:58 misc -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-03 12:58 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-03 12:58 oem -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-03 12:58 padA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-03 12:58 padB -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-03 12:58 padC -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 1970-01-03 12:58 padD -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-03 12:58 persist -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-03 12:58 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-03 12:58 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-03 12:58 rpmBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-03 12:58 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-03 12:58 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-03 12:58 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-03 12:58 sec -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-03 12:58 sp -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-03 12:58 ssd -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-03 12:58 system -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 1970-01-03 12:58 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-03 12:58 tzBackup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-03 12:58 userdata -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 1970-01-03 12:58 utags -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-03 12:58 utagsBackup -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-03 12:58 versions -> /dev/block/mmcblk0p17
Click to expand...
Click to collapse
Thanks! But this still sucks, according to your layout I have all the partitions and the correct permissions, yet when i try to write the IMEI back I get an error using efs professional, and QXDM just sits there. Something is fishy
zikronix said:
Thanks! But this still sucks, according to your layout I have all the partitions and the correct permissions, yet when i try to write the IMEI back I get an error using efs professional, and QXDM just sits there. Something is fishy
Click to expand...
Click to collapse
Dunno. Can't help you. We're not to discuss methods of writing imei's on this forum.
danarama said:
Dunno. Can't help you. We're not to discuss methods of writing imei's on this forum.
Click to expand...
Click to collapse
yes I am aware. so thats why im on my own. I found the repair threads. but thank you very much for the part tables!
danarama said:
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 1.4G 48.0K 1.4G 4096
/sys/fs/cgroup 1.4G 12.0K 1.4G 4096
/mnt/asec 1.4G 0.0K 1.4G 4096
/mnt/obb 1.4G 0.0K 1.4G 4096
/system 1.9G 764.6M 1.2G 4096
/data 54.6G 39.6G 15.1G 4096
/cache 248.0M 192.0K 247.8M 4096
/firmware 106.2M 60.1M 46.1M 4096
/persist 928.0K 236.0K 692.0K 4096
/fsg 783.0K 779.0K 4.0K 1024
/mnt/shell/emulated 54.6G 39.6G 15.1G 4096
/storage/emulated 1.4G 0.0K 1.4G 4096
/storage/emulated/0 54.6G 39.6G 15.1G 4096
/storage/emulated/0/Android/obb 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy 54.6G 39.6G 15.1G 4096
/storage/emulated/legacy/Android/obb 54.6G 39.6G 15.1G 4096
[email protected]:/ # cat /proc/partitions
major minor #blocks name
179 0 61071360 mmcblk0
179 1 114688 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 384 mmcblk0p3
179 4 56 mmcblk0p4
179 5 16 mmcblk0p5
179 6 32 mmcblk0p6
179 7 1024 mmcblk0p7
179 8 256 mmcblk0p8
179 9 512 mmcblk0p9
179 10 500 mmcblk0p10
179 11 4156 mmcblk0p11
179 12 384 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 256 mmcblk0p14
179 15 512 mmcblk0p15
179 16 500 mmcblk0p16
179 17 4 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 256 mmcblk0p27
179 28 32 mmcblk0p28
179 29 128 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 1024 mmcblk0p31
259 0 2528 mmcblk0p32
259 1 1 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16400 mmcblk0p35
259 4 9088 mmcblk0p36
259 5 16384 mmcblk0p37
259 6 262144 mmcblk0p38
259 7 65536 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 2097152 mmcblk0p41
259 10 58343296 mmcblk0p42
179 32 4096 mmcblk0rpmb
[email protected]:/ # mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1503876k,nr_inodes=171088,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 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,seclabel,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1503876k,nr_inodes=171088,mode=755,gid=1000 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,nodiratime,nobarrier,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,context=u:object_r:firmware_file:s0,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 /fsg ext4 ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1503876k,nr_inodes=171088,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
1|[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 1970-01-03 12:58 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-03 12:58 abootBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-03 12:58 boot -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-03 12:58 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-03 12:58 cid -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-03 12:58 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-03 12:58 frp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-03 12:58 keystore -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-03 12:58 kpan -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-03 12:58 logo -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-03 12:58 logs -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-03 12:58 mdm1dhob -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-03 12:58 mdm1hob -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs1 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs2 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefs3 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-03 12:58 mdm1m9kefsc -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-03 12:58 metadata -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-03 12:58 misc -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-03 12:58 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-03 12:58 oem -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-03 12:58 padA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-03 12:58 padB -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-03 12:58 padC -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 1970-01-03 12:58 padD -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-03 12:58 persist -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-03 12:58 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-03 12:58 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-03 12:58 rpmBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-03 12:58 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-03 12:58 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-03 12:58 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-03 12:58 sec -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-03 12:58 sp -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-03 12:58 ssd -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-03 12:58 system -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 1970-01-03 12:58 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-03 12:58 tzBackup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-03 12:58 userdata -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 1970-01-03 12:58 utags -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-03 12:58 utagsBackup -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-03 12:58 versions -> /dev/block/mmcblk0p17
Click to expand...
Click to collapse
I have some problems with my phone and I believe that it is a software issue (I tried to ask for help in this thread http://forum.xda-developers.com/nexus-6/help/strange-device-behavior-believe-t3159186 but without a luck. I have even send it to the service but as nexus are not selling in my country they couldn't repair it.). I was thinking that there is some problem in partitions. Bellow you can see output of the commands on my phone. There are some differencies but I believe that they are because you have unencripted internal memory. What is the most strange to me is a persist partition which is 30MB on my phone and it is using just 52kB. Can you please help me to repair it.
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 1.4G 64.0K 1.4G 4096
/sys/fs/cgroup 1.4G 12.0K 1.4G 4096
/mnt 1.4G 0.0K 1.4G 4096
/mnt/runtime/default/emulated 26.0G 4.6G 21.4G 4096
/mnt/runtime/read/emulated 26.0G 4.6G 21.4G 4096
/mnt/runtime/write/emulated 26.0G 4.6G 21.4G 4096
/system 1.9G 1.9G 16.1M 4096
/cache 248.0M 200.0K 247.8M 4096
/firmware 106.2M 60.1M 46.1M 4096
/persist 30.0M 52.0K 29.9M 1024
/fsg 784.0K 780.0K 4.0K 1024
/storage 1.4G 0.0K 1.4G 4096
/storage/emulated 26.0G 4.6G 21.4G 4096
/data 26.0G 4.6G 21.4G 4096
[email protected]:/ # cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 114688 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 384 mmcblk0p3
179 4 56 mmcblk0p4
179 5 16 mmcblk0p5
179 6 32 mmcblk0p6
179 7 1024 mmcblk0p7
179 8 256 mmcblk0p8
179 9 512 mmcblk0p9
179 10 500 mmcblk0p10
179 11 4156 mmcblk0p11
179 12 384 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 256 mmcblk0p14
179 15 512 mmcblk0p15
179 16 500 mmcblk0p16
179 17 4 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 256 mmcblk0p27
179 28 32 mmcblk0p28
179 29 128 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 1024 mmcblk0p31
259 0 2528 mmcblk0p32
259 1 1 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16400 mmcblk0p35
259 4 9088 mmcblk0p36
259 5 16384 mmcblk0p37
259 6 262144 mmcblk0p38
259 7 65536 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 2097152 mmcblk0p41
259 10 27840495 mmcblk0p42
179 32 4096 mmcblk0rpmb
254 0 27840495 dm-0
[email protected]:/ # mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1503692k,nr_inodes=170997,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 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,seclabel,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1503692k,nr_inodes=170997,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt tmpfs rw,seclabel,relatime,size=1503692k,nr_inodes=170997,mode=755,gid=1000 0 0
/dev/fuse /mnt/runtime/default/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/runtime/read/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/runtime/write/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 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/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,context=u:object_r:firmware_file:s0,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 /fsg ext4 ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,size=1503692k,nr_inodes=170997,mode=755,gid=1000 0 0
/dev/fuse /storage/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /data ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,nobarrier,noauto_da_alloc,data=ordered 0 0
[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 1970-01-01 15:11 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-01 15:11 abootBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-01 15:11 boot -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 1970-01-01 15:11 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 1970-01-01 15:11 cid -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-01 15:11 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-01 15:11 frp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-01 15:11 keystore -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-01 15:11 kpan -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 1970-01-01 15:11 logo -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-01 15:11 logs -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-01 15:11 mdm1dhob -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-01 15:11 mdm1hob -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-01 15:11 mdm1m9kefs1 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-01 15:11 mdm1m9kefs2 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-01 15:11 mdm1m9kefs3 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-01 15:11 mdm1m9kefsc -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-01 15:11 metadata -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-01 15:11 misc -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-01 15:11 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-01 15:11 oem -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 1970-01-01 15:11 padA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-01 15:11 padB -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-01 15:11 padC -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 1970-01-01 15:11 padD -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-01 15:11 persist -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-01 15:11 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-01 15:11 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-01 15:11 rpmBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-01 15:11 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-01 15:11 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-01 15:11 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-01 15:11 sec -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-01 15:11 sp -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-01 15:11 ssd -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 1970-01-01 15:11 system -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 1970-01-01 15:11 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-01 15:11 tzBackup -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-01 15:11 userdata -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 1970-01-01 15:11 utags -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-01 15:11 utagsBackup -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-01 15:11 versions -> /dev/block/mmcblk0p17
[email protected]:/#
OF4 Firmware root!
Obtained by Team D3mons
Savage says Hi. Love LoopyD.
We've (or I've) obtained root on the Samsung Galaxy S4 Straight Talk variant OF4 firmware, which was thought not possible due to new Knox security updates preventing even the installation of a kernel. Here's my screenshots.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Original dev thread where I was editing and tinkering.
http://forum.xda-developers.com/galaxy-s4/devs-only/s975l-tricking-knox-flash-t3279741
This was done by a hex edit hack available in Odin flashable form heree -> OneDrive link. Flash with Odin 3.07.
(My folder is a mess, do let me know if I uploaded the right one).
This Odin flash will flash to NB1 kernel hex-edit disguised as OF4, so the flash does not fai from download model, then apply towelroot I succeeded with its generic mod strings. Tap 3 times on towelroot to enable them, then simply press "Make it ra1n".
TWRP that works on this phone I haven't tested yet, but appearently jfttmo works.
Thanks:
Geohot, Chainfire, SAMMobile, and me! (Press Thanks when and if it worked and buy me a pop )
Disclaimer: This trips Knox. Your warranty is now void (who cares, it's Straight Talk!) I'll see if Triangle Away I can make work once I get the money, I'll see about applying a lucky patch or something to get it to force-do our phone. Hopefully without a brick. But SuperSU will disable the KNOX notifications and security check.
Original dev thread where I was editing and tinkering:
http://forum.xda-developers.com/galaxy-s4/devs-only/s975l-tricking-knox-flash-t3279741
Dev links:
Developer files:
PIT File for OF4
Vold.fstab for OF4
Dev important information
Code:
SM-S975L OF4 FIRMWARE MOUNT LOCATIONS AND ATTRIBUTES
[email protected]:/ # cat /proc/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
none /dev/cpuctl cgroup rw,relatime,cpu 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
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 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
/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/apnhlos /firmware vfat ro,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,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/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/persdata /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/data/container /mnt/shell/container sdcardfs rw,nosuid,nodev,relatime,uid=1000,gid=1000 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/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
tmpfs /storage/extSdCard/.android_secure tmpfs ro,seclabel,relatime,size=0k,mode=000 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
---------------------------------------------
SM-S975L OF4 FIRMARE PARTITION LIST FOR CHECK AND IDENTIFICATION
[email protected]:/ # cat /proc/partitions
major minor #blocks name
253 0 512000 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 1943552 mmcblk1
179 33 1942528 mmcblk1p1
---------------------------------------------
SM-S975L OF4 FIRMWARE MOUNT BLOCK POINTS (SYSTEM)
[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
---------------------------------------------
lrwxrwxrwx root root 1970-04-30 23:54 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-04-30 23:54 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-04-30 23:54 backup -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-04-30 23:54 boot -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-04-30 23:54 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-04-30 23:54 carrier -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-04-30 23:54 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-04-30 23:54 fota -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-04-30 23:54 fsg -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-04-30 23:54 hidden -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-04-30 23:54 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-04-30 23:54 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-04-30 23:54 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-04-30 23:54 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-04-30 23:54 param -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-04-30 23:54 persdata -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-04-30 23:54 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-04-30 23:54 recovery -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-04-30 23:54 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-04-30 23:54 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-04-30 23:54 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-04-30 23:54 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-04-30 23:54 ssd -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-04-30 23:54 system -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-04-30 23:54 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-04-30 23:54 userdata -> /dev/block/mmcblk0p2
---------------------------------------------
I hope all this helps. More info available upon request. I'll pull as much as needed for a cyanogen or autoroot build, since towelroot works. I don't have a linux system nor can spend the time building. I have school.
Update: Added PIT file for flashing and fstab for the devs. + Partition information
LupineDream said:
Update: Added PIT file for flashing and fstab for the devs. + Partition information
Click to expand...
Click to collapse
I've got a galaxy s4 at&t variant which has been on nb1 for the longest time. From what I'm getting this method doesn't flash a new aboot? Can this method be used to flash the rom from the nexus version of the s4?
SM-S975L OF4 to custom recovery and rom:
http://forum.xda-developers.com/showpost.php?p=64604828&postcount=98
I've really been wanting to root this phone for a while now. Great work! I'd really like to try this but I'm having some trouble understanding some of your technical terms. Could you maybe dumb it down for me?.. I understand meaning behind flashing software but I'm not familiar with Oden and you lost me completely at mod strings..
this needs a sticky its simple great work thank YOU
Sorry but does anybody have a copy of the pit file the link is dead
LupineDream said:
OF4 Firmware root!
Obtained by Team D3mons
Savage says Hi. Love LoopyD.
We've (or I've) obtained root on the Samsung Galaxy S4 Straight Talk variant OF4 firmware, which was thought not possible due to new Knox security updates preventing even the installation of a kernel. Here's my screenshots.
Original dev thread where I was editing and tinkering.
http://forum.xda-developers.com/galaxy-s4/devs-only/s975l-tricking-knox-flash-t3279741
This was done by a hex edit hack available in Odin flashable form heree -> OneDrive link. Flash with Odin 3.07.
(My folder is a mess, do let me know if I uploaded the right one).
This Odin flash will flash to NB1 kernel hex-edit disguised as OF4, so the flash does not fai from download model, then apply towelroot I succeeded with its generic mod strings. Tap 3 times on towelroot to enable them, then simply press "Make it ra1n".
TWRP that works on this phone I haven't tested yet, but appearently jfttmo works.
Thanks:
Geohot, Chainfire, SAMMobile, and me! (Press Thanks when and if it worked and buy me a pop )
Disclaimer: This trips Knox. Your warranty is now void (who cares, it's Straight Talk!) I'll see if Triangle Away I can make work once I get the money, I'll see about applying a lucky patch or something to get it to force-do our phone. Hopefully without a brick. But SuperSU will disable the KNOX notifications and security check.
Original dev thread where I was editing and tinkering:
http://forum.xda-developers.com/galaxy-s4/devs-only/s975l-tricking-knox-flash-t3279741
Dev links:
Developer files:
PIT File for OF4
Vold.fstab for OF4
Dev important information
Code:
SM-S975L OF4 FIRMWARE MOUNT LOCATIONS AND ATTRIBUTES
[email protected]:/ # cat /proc/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
none /dev/cpuctl cgroup rw,relatime,cpu 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
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 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
/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/apnhlos /firmware vfat ro,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,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/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/persdata /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/data/container /mnt/shell/container sdcardfs rw,nosuid,nodev,relatime,uid=1000,gid=1000 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/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
tmpfs /storage/extSdCard/.android_secure tmpfs ro,seclabel,relatime,size=0k,mode=000 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
---------------------------------------------
SM-S975L OF4 FIRMARE PARTITION LIST FOR CHECK AND IDENTIFICATION
[email protected]:/ # cat /proc/partitions
major minor #blocks name
253 0 512000 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 20480 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 10219520 mmcblk0p29
179 32 1943552 mmcblk1
179 33 1942528 mmcblk1p1
---------------------------------------------
SM-S975L OF4 FIRMWARE MOUNT BLOCK POINTS (SYSTEM)
[email protected]:/ # ls -l /dev/block/platform/msm_sdcc.1/by-name/
---------------------------------------------
lrwxrwxrwx root root 1970-04-30 23:54 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-04-30 23:54 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-04-30 23:54 backup -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-04-30 23:54 boot -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-04-30 23:54 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-04-30 23:54 carrier -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-04-30 23:54 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-04-30 23:54 fota -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-04-30 23:54 fsg -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-04-30 23:54 hidden -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-04-30 23:54 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-04-30 23:54 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-04-30 23:54 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-04-30 23:54 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-04-30 23:54 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-04-30 23:54 param -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-04-30 23:54 persdata -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-04-30 23:54 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-04-30 23:54 recovery -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-04-30 23:54 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-04-30 23:54 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-04-30 23:54 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-04-30 23:54 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-04-30 23:54 ssd -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-04-30 23:54 system -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-04-30 23:54 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-04-30 23:54 userdata -> /dev/block/mmcblk0p2
---------------------------------------------
I hope all this helps. More info available upon request. I'll pull as much as needed for a cyanogen or autoroot build, since towelroot works. I don't have a linux system nor can spend the time building. I have school.
Click to expand...
Click to collapse
Help! The OneDrive link is dead.
When Magisk Manager put my Nexus 6 (AOSP 7.1.1) into an endless bootloop, I fired up ADB, went into TWRP, and tried to set thing right.
It only kinda worked. My phone would boot to the desktop, but all kinds of things just weren't right. (For instance, I couldn't use the rectangle icon to bring up a list of windows. It just didn't do anything, period.)
After wrestling with it for 6 hours or so, I finally accepted the fact that I was going to have to reinstall the OS, and redo all my customizations. Unfortunately, instead of doing a factory reset from the bootloader, I chose to wipe the system, radio, and userdata partitions from the wipe menu in TWRP.
Yes, it was stupid of me. I was tired, frustrated, angry at the broken Magisk Manager update, and badly sleep-deprived (the latter is due to a chronic medical condition, and is now, unfortunately, my default state).
Of course, TWRP warned me it would wipe my OS - but I assumed that meant it would wipe the contents of those partitions. Instead, it deleted the partitions themselves.
I can boot the phone to the bootloader, and TWRP is still present in the recovery partition, but I can't get it to install the OS from a zipfile (I have a USB-OTG cardreader, which it can see), because THE NECESSARY PARTITIONS ARE GONE, so it errors out. The same thing happens with partition image files from within the factory zip (which I also extracted to the sdcard from which I tried to install the zip).
Although I have developer options enabled, and I long ago unlocked the bootloader, ADB doesn't work (even to sideload files, despite my having started the TWRP sideload daemon). It does see the device in sideload mode, but it doesn't actually copy any files. Nor does it see the phone when I list devices. (Windows 10 reports that it doesn't recognize the USB-connected device, btw.) Naturally, fastboot doesn't work, either, apparently for the same reason.
So, somehow I need to recreate the system, userdata, cache, and radio partitions in order to install the factory zip, and get my phone to return from its undead state. The thing is, despite obvious evidence to the contrary, I'm not entirely stupid. I do not know how to create and name the necessary partitions, nor do I know what sizes they should be - and I'm unwilling to experiment with terminal commands until I'm certain I understand both things well enough to proceed.
If someone who knows what they're talking about would be kind enough to supply me with the above information, or to point me at existing resources that:
a. explain in detail how to use the terminal to create, size, and name the missing partitions (in stepwise fashion, if possible), and
b. supply me with the sizes of the partitions in question EXACTLY as whatever tool I have to use needs them to be specified,
I would be exceedingly grateful.
Thanks in advance for any help you can render.
If you go to recovery -> advanced -> terminal and enter the command "mount" do you get anything like the following?
Code:
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1507196k,nr_inodes=172748,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1507196k,nr_inodes=172748)
pstore on /sys/fs/pstore type pstore (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk0p38 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p42 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p42 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
If you go to recovery -> advanced -> terminal and enter the command "mount" do you get anything like the following?
Code:
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1507196k,nr_inodes=172748,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1507196k,nr_inodes=172748)
pstore on /sys/fs/pstore type pstore (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk0p38 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p42 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p42 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
What I get is identical to the above, EXCEPT the last two lines. They read as follows:
Code:
/dev/block/dm-0 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/dm-0 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
As you can see, the difference in both cases is "dm-0" in place of the volume designator.
As I said, those partitions are missing. The mount menu in TWRP won't allow them to be selected, and my attempts to flash the factory zip from an sdcard via USB-OTG fail with error messages indicating the partitions don't exist, so the images didn't flash. (This also happens when I attempt to flash the individual images.)
So, again, it's extremely clear to me that I need to create those partitions - and the radio and cache partitions - before I have any possibility of flashing a working OS, whether it's the factory shamu one, or a third-party firmware like Revolution/Remix.
BTW - Thank you for your substantive response. I very much appreciate your willingness to help!
Best regards,
Thom Stark
Click to expand...
Click to collapse
Try listing the partition table with this command:
fdisk -l /dev/block/mmcblk0
I’m going to information dump here for you. This is all of the relevant information from my device. Maybe it will help you recover.
I’m not sure enough of my knowledge to give you any suggestions on fixing this, but if all else fails, android stack exchange might be a resource.
Good Luck!
Code:
fdisk -l /dev/block/mmcblk0
Found valid GPT with protective MBR; using GPT
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 42 entries
First usable sector is 34, last usable sector is 61071326
Number Start (sector) End (sector) Size Code Name
1 256 229631 112M 0700 modem
2 229632 262399 16.0M 0700 metadata
3 262400 263167 384K 0700 sbl1
4 263424 263535 57344 0700 sdi
5 263936 263967 16384 0700 sec
6 263968 264031 32768 0700 ddr
7 264192 266239 1024K 0700 aboot
8 267192 267703 256K 0700 rpm
9 268192 269215 512K 0700 utags
10 269216 270215 500K 0700 tz
11 270216 278527 4156K 0700 padA
12 278528 279295 384K 0700 sbl1bak
13 279552 281599 1024K 0700 abootBackup
14 282552 283063 256K 0700 rpmBackup
15 283552 284575 512K 0700 utagsBackup
16 284576 285575 500K 0700 tzBackup
17 285576 285583 4096 0700 versions
18 285696 286719 512K 0700 frp
19 286720 288767 1024K 0700 mdm1m9kefs1
20 288768 290815 1024K 0700 mdm1m9kefs2
21 290816 292863 1024K 0700 mdm1m9kefs3
22 292864 294911 1024K 0700 padB
23 294912 327679 16.0M 0700 sp
24 327680 360447 16.0M 0700 keystore
25 360448 364543 2048K 0700 logs
26 364544 430079 32.0M 0700 persist
27 430080 430591 256K 0700 mdm1hob
28 430592 430655 32768 0700 mdm1dhob
29 430656 430911 128K 0700 cid
30 430912 447295 8192K 0700 logo
31 447296 449343 1024K 0700 misc
32 449344 454399 2528K 0700 padD
33 454400 454401 1024 0700 mdm1m9kefsc
34 454402 454417 8192 0700 ssd
35 454656 487455 16.0M 0700 recovery
36 487680 505855 9088K 0700 kpan
37 505856 538623 16.0M 0700 boot
38 538624 1062911 256M 0700 cache
39 1062912 1193983 64.0M 0700 oem
40 1193984 1196031 1024K 0700 padC
41 1196032 5390335 2048M 0700 system
42 5390336 61005567 26.5G 0700 userdata
Code:
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1510044 504 1509540 1% /dev
/dev/block/platform/msm_sdcc.1/by-name/system 2031440 1485728 529328 74% /system
tmpfs 1510044 0 1510044 0% /system/xbin
/sbin/.core/block/loop08 60400 1772 57320 3% /system/xbin/mcs
tmpfs 1510044 0 1510044 0% /mnt
/dev/block/platform/msm_sdcc.1/by-name/cache 253920 316 248364 1% /cache
/dev/block/platform/msm_sdcc.1/by-name/modem 78756 78696 0 100% /firmware
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 744 743 0 100% /fsg
/dev/block/platform/msm_sdcc.1/by-name/userdata 27240188 13256268 13967536 49% /data
tmpfs 1510044 448 1509596 1% /sbin
/data/media 27240188 13256268 13967536 49% /storage/emulated
Code:
cat /proc/mounts
rootfs / rootfs ro,seclabel 0 0 tmpfs /dev tmpfs
rw,seclabel,nosuid,relatime,size=1510044k,nr_inodes=160860,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 none /dev/memcg
cgroup rw,relatime,memory 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0
0 none /dev/cpuset cgroup
rw,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent 0 0
none /dev/bfqio cgroup rw,relatime,bfqio 0 0 adb /dev/usb-ffs/adb
functionfs rw,relatime 0 0 proc /proc proc
rw,relatime,gid=3009,hidepid=2 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,seclabel,relatime 0 0 pstore /sys/fs/pstore
pstore rw,seclabel,relatime 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4
ro,seclabel,relatime,data=ordered 0 0 tmpfs /system/xbin tmpfs
rw,seclabel,relatime,size=1510044k,nr_inodes=160860 0 0
/sbin/.core/block/loop08 /system/xbin/mcs ext4
rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/7z ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/anrd ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/bash ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/cpustats ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/dhdutil ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/dnschk ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/dumpcache
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/htop ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/httpurl ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/ioshark_bench
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/ksminfo ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/latencytop
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/librank ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/micro_bench
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system
/system/xbin/micro_bench_static ext4 ro,seclabel,relatime,data=ordered 0
0 /dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/mmc_utils
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/nano ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/pigz ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/powertop ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/procmem ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/procrank ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/puncture_fs
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/rawbu ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/rsync ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/runconuid
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system
/system/xbin/sane_schedstat ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/showmap ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/showslab ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/simpleperf
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/strace ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/taskstats
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/tcpdump ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/unrar ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/vim ext4
ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system/xbin/zip ext4
ro,seclabel,relatime,data=ordered 0 0 /sbin/.core/block/loop08
/system/etc/hosts ext4 rw,seclabel,relatime,data=ordered 0 0 none /acct
cgroup rw,relatime,cpuacct 0 0 tmpfs /mnt tmpfs
rw,seclabel,relatime,size=1510044k,nr_inodes=160860,mode=755,gid=1000 0
0 /data/media /mnt/runtime/default/emulated sdcardfs
rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid
0 0 /data/media /mnt/runtime/read/emulated sdcardfs
rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid
0 0 /data/media /mnt/runtime/write/emulated sdcardfs
rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid
0 0 none /config configfs rw,relatime 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4
rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4
ro,context=u:object_r:firmware_file:s0,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4
rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 /fsg ext4
ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4
rw,seclabel,nosuid,nodev,noatime,nodiratime,nobarrier,noauto_da_alloc,data=ordered
0 0 tmpfs /sbin tmpfs
rw,seclabel,relatime,size=1510044k,nr_inodes=160860 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /sbin/.core/mirror/system
ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /sbin/.core/mirror/bin
ext4
rw,seclabel,nosuid,nodev,noatime,nodiratime,nobarrier,noauto_da_alloc,data=ordered
0 0 /sbin/.core/block/loop08 /sbin/.core/img ext4
rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata
/sbin/.core/db-0/magisk.db ext4
rw,seclabel,nosuid,nodev,noatime,nodiratime,nobarrier,noauto_da_alloc,data=ordered
0 0 tmpfs /storage tmpfs
rw,seclabel,relatime,size=1510044k,nr_inodes=160860,mode=755,gid=1000 0
0 /data/media /storage/emulated sdcardfs
rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid
0 0 tmpfs /storage/self tmpfs
rw,seclabel,relatime,size=1510044k,nr_inodes=160860,mode=755,gid=1000 0
0
Code:
cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 114688 mmcblk0p1
179 2 16384 mmcblk0p2
179 3 384 mmcblk0p3
179 4 56 mmcblk0p4
179 5 16 mmcblk0p5
179 6 32 mmcblk0p6
179 7 1024 mmcblk0p7
179 8 256 mmcblk0p8
179 9 512 mmcblk0p9
179 10 500 mmcblk0p10
179 11 4156 mmcblk0p11
179 12 384 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 256 mmcblk0p14
179 15 512 mmcblk0p15
179 16 500 mmcblk0p16
179 17 4 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 16384 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 32768 mmcblk0p26
179 27 256 mmcblk0p27
179 28 32 mmcblk0p28
179 29 128 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 1024 mmcblk0p31
259 0 2528 mmcblk0p32
259 1 1 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16400 mmcblk0p35
259 4 9088 mmcblk0p36
259 5 16384 mmcblk0p37
259 6 262144 mmcblk0p38
259 7 65536 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 2097152 mmcblk0p41
259 10 27807616 mmcblk0p42
179 32 4096 mmcblk0rpmb
7 64 65536 loop64
Code:
ls -al /dev/block/platform/msm_sdcc.1/by-name
total 0
drwxr-xr-x 2 root root 880 1970-01-21 18:47 .
drwxr-xr-x 4 root root 960 1970-01-21 18:47 ..
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 abootBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 boot -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 cid -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 ddr -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 frp -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 keystore -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 kpan -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 logo -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 logs -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1dhob -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1hob -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1m9kefs1 -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1m9kefs2 -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1m9kefs3 -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 mdm1m9kefsc -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 metadata -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 misc -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 oem -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 padA -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 padB -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 padC -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 padD -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 persist -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 rpmBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 sec -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 sp -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 ssd -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 system -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 tzBackup -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 userdata -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 20 1970-01-21 18:47 utags -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 utagsBackup -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 1970-01-21 18:47 versions -> /dev/block/mmcblk0p17
Have you tried to download the factory image and flash from bootloader. The flash all script.
camcory said:
Have you tried to download the factory image and flash from bootloader. The flash all script.
Click to expand...
Click to collapse
He said that he can't make the PC recognize the device in Fastboot or ADB after the accident.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Thank you, ktmom.
ktmom said:
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Thank you for the data dump, ktmom. I very much appreciate it.
Sorry it took so long for me to reply. I've been unwell.
(BTW - I like your .sig a lot. I wish more of us had Mr. Picciolini's attitude ... )
Best regards,
Thom Stark