Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Nexus 7 G1 (2012) partition layout

OP wwr

5th June 2014, 10:48 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jun 2014
More
I'm playing with a Nexus 7 G1 to see what's under the hood for learning purposes.

I've learned already how to unlock, install custom recovery and root and now I'm trying to figure out how's the partition layout but I can't find any information about the storage architecture of the device.

I'd like to know how many storage devices are installed in the device, how they are partitioned and what's the aim of each partition.

I'd like to know where the bootloader, the recovery image and the operating system are physically stored.

In a few words I'd like to master an android device (or just my nexus 7) as I master my linux boxes. Can you help me with this?

Thank you!
5th June 2014, 07:32 PM   |  #2  
Member
Flag Hull
Thanks Meter: 17
 
69 posts
Join Date:Joined: Feb 2012
More
See /dev/block

Sent from my LT30p using XDA Free mobile app
The Following User Says Thank You to razzmataz1478 For This Useful Post: [ View ]
6th June 2014, 02:05 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jun 2014
More
Quote:
Originally Posted by razzmataz1478

See /dev/block

thanks! Your suggestion pointed me in the right direction and I ended up on this post on android.stackexchange .com/questions/14530/whats-the-android-equivalent-of-etc-fstab (sorry I can't post URLS yet) which has valuable information.

In my case these sources were useful:
  • cat /proc/partitions
  • cat /proc/devices
  • cat /fstab.$something where '$something'= grouper in my case

there is still something I can't clarify though:
  • what's the name of the sd device? there is no /dev/sd but in /proc/devices it's listed like sd
  • where does /recovery live? Is it a partition inside the main sd or is it a separated chip?
11th June 2014, 11:15 AM   |  #4  
opssemnik's Avatar
Senior Member
Flag Porto Alegre,Rio Grande Do Sul,Brasil
Thanks Meter: 747
 
1,148 posts
Join Date:Joined: Jun 2013
More
Quote:
Originally Posted by wwr

thanks! Your suggestion pointed me in the right direction and I ended up on this post on android.stackexchange .com/questions/14530/whats-the-android-equivalent-of-etc-fstab (sorry I can't post URLS yet) which has valuable information.

In my case these sources were useful:

  • cat /proc/partitions
  • cat /proc/devices
  • cat /fstab.$something where '$something'= grouper in my case

there is still something I can't clarify though:
  • what's the name of the sd device? there is no /dev/sd but in /proc/devices it's listed like sd
  • where does /recovery live? Is it a partition inside the main sd or is it a separated chip?

use parted /dev/block/mmcblk0
or go to /dev/block/platform/<the only folder here that i canīt remember the name>/by-name/
The Following User Says Thank You to opssemnik For This Useful Post: [ View ]
13th June 2014, 02:03 PM   |  #5  
Member
Flag Hull
Thanks Meter: 17
 
69 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by wwr

thanks! Your suggestion pointed me in the right direction and I ended up on this post on android.stackexchange .com/questions/14530/whats-the-android-equivalent-of-etc-fstab (sorry I can't post URLS yet) which has valuable information.

In my case these sources were useful:

  • cat /proc/partitions
  • cat /proc/devices
  • cat /fstab.$something where '$something'= grouper in my case

there is still something I can't clarify though:
  • what's the name of the sd device? there is no /dev/sd but in /proc/devices it's listed like sd
  • where does /recovery live? Is it a partition inside the main sd or is it a separated chip?

The "SD" isn't a actually an SD. It's an emulated FUSE filesystem that lives in inside /data/media. So, the SD is the userdate partition by name.

Recovery, by name, is called SOS.

Sent from my LT30p using XDA Free mobile app
The Following User Says Thank You to razzmataz1478 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes