Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
zedomax
Old
#1  
zedomax's Avatar
Senior Member - OP
Thanks Meter 2175
Posts: 1,096
Join Date: Mar 2010
Location: San Francisco, CA

 
DONATE TO ME
Default [INFO] Nexus 7 Partitions!

Here's an output of /proc/mounts, might be help full other devs:

which one is recovery partition does anyone know?

zoneinfo
shell@android:/proc $ cat mounts
cat mounts
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
debugfs /sys/kernel/debug debugfs 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/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xatt
r,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatim
e,errors=panic,user_xattr,acl,barrier=1,nomblk_io_ submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nosuid,nodev,noatime
,errors=panic,user_xattr,acl,barrier=1,nomblk_io_s ubmit,data=ordered 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1
023,default_permissions,allow_other 0 0
The Following 2 Users Say Thank You to zedomax For This Useful Post: [ Click to Expand ]
 
Indirect
Old
(Last edited by Indirect; 28th June 2012 at 08:13 PM.)
#2  
Recognized Contributor
Thanks Meter 2022
Posts: 1,889
Join Date: Mar 2011
Location: Florida

 
DONATE TO ME
run
Code:
ls -l /dev/block/platform/sdhci-tegra.3/by-name/
and that should show all partitions.

Attention all: deck is a scrub.

My Google Plus account
My Twitter
Shiftless evo shift developer
Nook Tablet developer-found root (here)

Quote:
Without developers this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.
Developed on the following devices: Evo View, Nook Tablet, Evo Shift, Nexus S 4G (private), Evo 4G (private), Mytouch 4g Slide, Evo LTE (In progress)
The Following User Says Thank You to Indirect For This Useful Post: [ Click to Expand ]
 
zedomax
Old
#3  
zedomax's Avatar
Senior Member - OP
Thanks Meter 2175
Posts: 1,096
Join Date: Mar 2010
Location: San Francisco, CA

 
DONATE TO ME
Quote:
Originally Posted by Indirect View Post
run
Code:
ls -l /dev/block/platform/sdhci-tegra.3/by-name/
and that should show all partitions.
Thanks!




C:\Users\max\Downloads\Nexus7Root>adb shell
shell@android:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2012-06-28 11:51 APP -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2012-06-28 11:51 CAC -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2012-06-28 11:51 LNX -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2012-06-28 11:51 MDA -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2012-06-28 11:51 MSC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2012-06-28 11:51 PER -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2012-06-28 11:51 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2012-06-28 11:51 UDA -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2012-06-28 11:51 USP -> /dev/block/mmcblk0p6
The Following 2 Users Say Thank You to zedomax For This Useful Post: [ Click to Expand ]
 
Indirect
Old
(Last edited by Indirect; 28th June 2012 at 08:39 PM.)
#4  
Recognized Contributor
Thanks Meter 2022
Posts: 1,889
Join Date: Mar 2011
Location: Florida

 
DONATE TO ME
try

Code:
ls -l /dev/block/
and if you see r on the 3rd from last line of each partition, do the following commands:
Code:
adb shell cat /dev/block/platform/sdhci-tegra.3/by-name/lnx > lnxfile.bin
adb shell cat /dev/block/platform/sdhci-tegra.3/by-name/SOS > SOSfile.bin

Attention all: deck is a scrub.

My Google Plus account
My Twitter
Shiftless evo shift developer
Nook Tablet developer-found root (here)

Quote:
Without developers this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.
Developed on the following devices: Evo View, Nook Tablet, Evo Shift, Nexus S 4G (private), Evo 4G (private), Mytouch 4g Slide, Evo LTE (In progress)
 
zedomax
Old
#5  
zedomax's Avatar
Senior Member - OP
Thanks Meter 2175
Posts: 1,096
Join Date: Mar 2010
Location: San Francisco, CA

 
DONATE TO ME
Quote:
Originally Posted by Indirect View Post
try

Code:
ls -l /dev/block/
and if you see r on the 3rd from last line of each partition, do the following commands:
Code:
adb shell cat /dev/block/platform/sdhci-tegra.3/by-name/lnx > lnxfile.bin
adb shell cat /dev/block/platform/sdhci-tegra.3/by-name/SOS > SOSfile.bin

C:\Users\max\Downloads\Nexus7Root>adb shell
shell@android:/ $ ls -l /dev/block/
ls -l /dev/block/
brw------- root root 7, 0 2012-06-28 11:51 loop0
brw------- root root 7, 1 2012-06-28 11:51 loop1
brw------- root root 7, 2 2012-06-28 11:51 loop2
brw------- root root 7, 3 2012-06-28 11:51 loop3
brw------- root root 7, 4 2012-06-28 11:51 loop4
brw------- root root 7, 5 2012-06-28 11:51 loop5
brw------- root root 7, 6 2012-06-28 11:51 loop6
brw------- root root 7, 7 2012-06-28 11:51 loop7
brw------- root root 179, 0 2012-06-28 11:51 mmcblk0
brw------- root root 179, 16 2012-06-28 11:51 mmcblk0boot0
brw------- root root 179, 32 2012-06-28 11:51 mmcblk0boot1
brw------- root root 179, 1 2012-06-28 11:51 mmcblk0p1
brw------- root root 179, 2 2012-06-28 11:51 mmcblk0p2
brw------- root root 179, 3 2012-06-28 11:51 mmcblk0p3
brw------- root root 179, 4 2012-06-28 11:51 mmcblk0p4
brw------- root root 179, 5 2012-06-28 11:51 mmcblk0p5
brw------- root root 179, 6 2012-06-28 11:51 mmcblk0p6
brw------- root root 179, 7 2012-06-28 11:51 mmcblk0p7
brw------- root root 179, 8 2012-06-28 11:51 mmcblk0p8
brw------- root root 179, 9 2012-06-28 11:51 mmcblk0p9
drwxr-xr-x root root 2012-06-28 11:51 platform
drwx------ root root 2012-06-28 11:51 vold
shell@android:/ $


Permission denied for cat
The Following User Says Thank You to zedomax For This Useful Post: [ Click to Expand ]
 
Indirect
Old
(Last edited by Indirect; 28th June 2012 at 08:56 PM.)
#6  
Recognized Contributor
Thanks Meter 2022
Posts: 1,889
Join Date: Mar 2011
Location: Florida

 
DONATE TO ME
yep, that's what I figured but it was still worth a shot. :x

You'll need root. If you can get it before you have to surrender that tab, it'd be great.

Attention all: deck is a scrub.

My Google Plus account
My Twitter
Shiftless evo shift developer
Nook Tablet developer-found root (here)

Quote:
Without developers this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.
Developed on the following devices: Evo View, Nook Tablet, Evo Shift, Nexus S 4G (private), Evo 4G (private), Mytouch 4g Slide, Evo LTE (In progress)
 
m11kkaa
Old
(Last edited by m11kkaa; 28th June 2012 at 09:12 PM.)
#7  
Recognized Contributor
Thanks Meter 1024
Posts: 680
Join Date: Jan 2011

 
DONATE TO ME
run this one:
Code:
cat /proc/partitions
and this one:
Code:
fdisk -l /dev/block/mmcblk0
this command would be interesting too:
Code:
cat /proc/cmdline
And if the file exists execute "adb pull /proc/config.gz"(or copy it via rootexplorer) and post it here. It's the kernel-config
 
rayman
Old
#8  
Recognized Developer
Thanks Meter 812
Posts: 192
Join Date: May 2008

 
DONATE TO ME
Cool - these are btw mostly generic tegra names, while most are probably obvious I've "translated" them below.
Quote:
Originally Posted by zedomax View Post
C:\Users\max\Downloads\Nexus7Root>adb shell
shell@android:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2012-06-28 11:51 APP -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2012-06-28 11:51 CAC -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2012-06-28 11:51 LNX -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2012-06-28 11:51 MDA -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2012-06-28 11:51 MSC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2012-06-28 11:51 PER -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2012-06-28 11:51 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2012-06-28 11:51 UDA -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2012-06-28 11:51 USP -> /dev/block/mmcblk0p6
  1. APP -> system
  2. CAC -> cache
  3. LNX -> boot.img
  4. MDA -> Unknown
  5. MSC -> Misc (bootloader commands and other misc stuff )
  6. PER -> usually a fat partition containing sensor calibration etc. - per device provisioned.
  7. SOS -> recovery.img
  8. UDA -> /data - "user data area"
  9. USP -> Staging


---------- Post added at 10:18 PM ---------- Previous post was at 10:17 PM ----------

Quote:
Originally Posted by m11kkaa View Post
run this one:
Code:
cat /proc/partitions
and this one:
Code:
fdisk -l /dev/block/mmcblk0
There's no standard "dos" partition anywhere, so that won't work.
Quote:
Originally Posted by m11kkaa View Post
this command would be interesting too:
Code:
cat /proc/cmdline
And if the file exists execute "adb pull /proc/config.gz"(or copy it via rootexplorer) and post it here. It's the kernel-config
At least cmdline is actually protected from normal users in newer kernels and same with config.gz I believe. Worth a shot though. (FWIW, usually tegra bootloader fills in kernel cmdline rather than hardcoding it in boot.img )
Sony Xperia Z (Stock!)
Asus Transformer (CM10.1)
ASUS Transformer Prime (CM10.1)
Nexus 7 (Stock)
Notion Ink Adam LCD/3G (AOSP ICS)

NvFlash for B70+ Devices
NvFlash: TF201 | TF300 I TF700
The Following 5 Users Say Thank You to rayman For This Useful Post: [ Click to Expand ]
 
zedomax
Old
#9  
zedomax's Avatar
Senior Member - OP
Thanks Meter 2175
Posts: 1,096
Join Date: Mar 2010
Location: San Francisco, CA

 
DONATE TO ME
Code:
1|shell@android:/dev/block/platform/sdhci-tegra.3/by-name $ cat /proc/partitions

/partitions                                                                   <
major minor  #blocks  name

 179        0    7467008 mmcblk0
 179        1      12288 mmcblk0p1
 179        2       8192 mmcblk0p2
 179        3     665600 mmcblk0p3
 179        4     453632 mmcblk0p4
 179        5        512 mmcblk0p5
 179        6      10240 mmcblk0p6
 179        7       5120 mmcblk0p7
 179        8        512 mmcblk0p8
 179        9    6302720 mmcblk0p9
 179       32       2048 mmcblk0boot1
 179       16       2048 mmcblk0boot0
The Following User Says Thank You to zedomax For This Useful Post: [ Click to Expand ]
 
zedomax
Old
#10  
zedomax's Avatar
Senior Member - OP
Thanks Meter 2175
Posts: 1,096
Join Date: Mar 2010
Location: San Francisco, CA

 
DONATE TO ME
Default Config.gz

Here's Config.gz attached
Attached Files
File Type: gz config.gz - [Click for QR Code] (19.2 KB, 93 views)

The Following 3 Users Say Thank You to zedomax For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...