Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Thx for the forum, Bob:] (Steal ROM anytime soon?)
Collapse
X
-
It's probably not returning data because you are not root?
Strange it does not work but leads me to believe your not root?
The reason you cant dump it is the mounted block number maybe different for your ROM or may even have a different name like backup.img instead of update.img
So lets try a different way. We need to get the correct block and name.
At windows command prompt type adb shell
You should get a shell prompt. It maybe just a $ or a #. But you are now in a Android shell.
At that prompt type su
What does it say after you type su?
If it changes from a $ to a # you are root.
This is my command windows and what I get:
Notice the change in prompt when I typed adb shell
Then su. Since I was already root su did nothing
then mount command
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
E:\Android\adb>adb shell
root@android:/ # su
su
root@android:/ # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock8 /system ext4 rw,noatime,nodiratime,barrier=1,data=ordered,n
oauto_da_alloc 0 0
/dev/block/mtdblock6 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,dat
a=ordered,noauto_da_alloc 0 0
/dev/block/mtdblock5 /cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,da
ta=ordered,noauto_da_alloc 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/31:9 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nod
iratime,uid=1000,gid=1015,fmask=0702,dmask=0702,al low_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/31:9 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatim
e,nodiratime,uid=1000,gid=1015,fmask=0702,dmask=07 02,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:1 /mnt/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noati
me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0 002,allow_utime=0020,codepage=
cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
root@android:/ #"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Better yet lets just pull the mtd file.
create a folder on your C drive called adb. Adb will not pull files straight to the root of C so wee need a folder.
At the windows command prompt type:
adb pull /proc/mtd C:\adb\mtd
This will pull the mtd file and put it on c: in the adb folder.
Open that file with a text editor and we should have our mounted block names and values.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
try pulling the mtd file like I explained.
But based on what you just showed me yes your mount blocks are in a different order!
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Do you have the mtd file in C:\adb folder on your PC?
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
OK do this then
adb shell
cd /dev/block
ls -l
This should list everything
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Did you feel that earthquake we just had about 10 minutes ago?
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
Dont worry, we will figure this out. Your ROM is just setup a bit different.
so did you get a directory listing of /dev/block ?
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
-
FYI this is my directory listing. Asx you can see we can get the info by poking around
E:\Android\adb>adb shell
root@android:/ # cd /dev/block
cd /dev/block
root@android:/dev/block # ls -l
ls -l
brw------- root root 7, 0 2012-08-08 17:31 loop0
brw------- root root 7, 1 2012-08-08 17:31 loop1
brw------- root root 7, 2 2012-08-08 17:31 loop2
brw------- root root 7, 3 2012-08-08 17:31 loop3
brw------- root root 7, 4 2012-08-08 17:31 loop4
brw------- root root 7, 5 2012-08-08 17:31 loop5
brw------- root root 7, 6 2012-08-08 17:31 loop6
brw------- root root 7, 7 2012-08-08 17:31 loop7
brw------- root root 179, 0 2012-08-08 17:31 mmcblk0
brw------- root root 179, 1 2012-08-08 17:31 mmcblk0p1
brw------- root root 179, 2 2012-08-08 17:31 mmcblk0p2
drwxr-xr-x root root 2012-08-08 17:31 mtd
brw------- root root 31, 0 2012-08-08 17:31 mtdblock0
brw------- root root 31, 1 2012-08-08 17:31 mtdblock1
brw------- root root 31, 2 2012-08-08 17:31 mtdblock2
brw------- root root 31, 3 2012-08-08 17:31 mtdblock3
brw------- root root 31, 4 2012-08-08 17:31 mtdblock4
brw------- root root 31, 5 2012-08-08 17:31 mtdblock5
brw------- root root 31, 6 2012-08-08 17:31 mtdblock6
brw------- root root 31, 7 2012-08-08 17:31 mtdblock7
brw------- root root 31, 8 2012-08-08 17:31 mtdblock8
brw------- root root 31, 9 2012-08-08 17:31 mtdblock9
drwxr-xr-x root root 2012-08-08 17:31 platform
drwxr-xr-x root root 2012-08-08 17:31 vold
root@android:/dev/block # cd mtd
cd mtd
root@android:/dev/block/mtd # ls -l
ls -l
drwxr-xr-x root root 2012-08-08 17:31 by-name
root@android:/dev/block/mtd # cd by-name
cd by-name
root@android:/dev/block/mtd/by-name # ls -l
ls -l
lrwxrwxrwx root root 2012-08-08 17:31 backup -> /dev/block/mtdb
lock4
lrwxrwxrwx root root 2012-08-08 17:31 boot -> /dev/block/mtdblo
ck2
lrwxrwxrwx root root 2012-08-08 17:31 cache -> /dev/block/mtdbl
ock5
lrwxrwxrwx root root 2012-08-08 17:31 kernel -> /dev/block/mtdb
lock1
lrwxrwxrwx root root 2012-08-08 17:31 kpanic -> /dev/block/mtdb
lock7
lrwxrwxrwx root root 2012-08-08 17:31 misc -> /dev/block/mtdblo
ck0
lrwxrwxrwx root root 2012-08-08 17:31 recovery -> /dev/block/mt
dblock3
lrwxrwxrwx root root 2012-08-08 17:31 system -> /dev/block/mtdb
lock8
lrwxrwxrwx root root 2012-08-08 17:31 user -> /dev/block/mtdblo
ck9
lrwxrwxrwx root root 2012-08-08 17:31 userdata -> /dev/block/mt
dblock6
root@android:/dev/block/mtd/by-name #"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
Comment
What's Going On
Collapse
There are currently 1534 users online. 1 members and 1533 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment