Introduction:
This guide will explain the different partition layouts for the Streak5.
It's purpose is to help users decide which custom recovery varient to flash for their device.
The purpose of multiple device branches is to block users from flashing the wrong rom onto their device.
Roms are build with the assumption of a specific partition layout, using a rom ment for a different layout will result in it bootlooping/brick/loss of data.
Technical details:
While roms are able to mount ext3 partitions in ext4 mode, they CANNOT mount ext4 partitions in ext3 mode.
Doing so will result in a bootloop/brick as the partition will not be accessable.
The initial fs format used does affect the characteristics of the partition, otherwise it would be possible to mount ext4 partitions in ext3 mode.
(This also completely ignores the compability mode for ext4 that would otherwise allow it to be mounted in ext3 mode, this compability mode is not supported under android)
While users are free to determine the size of the partitions they wish to use, these are the standardized sizes for the purposes of custom recoveries.
Custom recoveries are like roms in that they require knowing the size and location of partitions ahead of time to work.
If a user wishes to use a custom layout, they will need to build their own recoveries and modify their own roms for them to work properly.
Thusly it will not be supported by rom makers or custom recovery makers (unless stated otherwise)
Click to expand...
Click to collapse
Layout details:
See Dell Streak 5/Partition Layout - XDA wiki
Click to expand...
Click to collapse
Basics:
There are 5 layouts total, with 3 of them being relevent for most users.
streak <original layout for unmodified devices>
Original version used by all stock roms
Uses yaffs2 for /firstboot and /system; ext3 for /cache and /data
Layout used on stock devices
streak5ex <ext4 mod>
Uses yaffs2 for /firstboot and /system; ext4 for /cache and /data
ext4 mod for devices with unmodified innerSD partitions
streak5dm <layout for MTP users>
Uses ext4 for /cache, /data, /system
/cache is expanded to 512mb
/system is moved onto innerSD and expanded to 512mb
/data is moved to last partition and expanded to maximum size of innerSD
/sdcard is symlinked to /data/media
outerSD is linked as /sdcard2
Not yet implemented!
streak5sd8 <layout for devices with 8-16gb innerSDs>
Uses ext4 for /cache, /data, /system, /sdcard
/cache is expanded to 512mb
/data is expanded to 4096mb
/system is moved onto innerSD and expanded to 512mb
/sdcard is moved onto innerSD and expanded to maximum size of innerSD
outerSD is linked as /sdcard/external_SD or /sdcard2 (dependant on android version)
Dual SD card support not yet implemented!
streak5sd32 <layout for devices with 32-64gb innerSDs>
Uses ext4 for /cache, /data, /system, /sdcard
/cache is expanded to 512mb
/data is expanded to 16384mb
/system is moved onto innerSD and expanded to 512mb
/sdcard is moved onto innerSD and expanded to maximum size of innerSD
outerSD is linked as /sdcard/external_SD or /sdcard2 (dependant on android version)
Dual SD card support not yet implemented!
Not yet implemented!
Click to expand...
Click to collapse
Changelog:
Sep 15 2012: Created initial guide
Click to expand...
Click to collapse
2char
question for streak5ex <ext4 mod>
does that one support ext3 by default too or you have to use specifically for it?
How i can format ext4 MMC system partition in updater-script?
So I have searched but can't seem to find what File System format should be for each partition to use this rom. Currently I have:
System - ext4
Cache - ext3
Data - F2FS
ext_sdcard - vfat
ext_data - ext4
ext_system - ext4
dock_sdcard - vfat
I read that the only partition I needed to change to make this rom work was Data to F2FS, but that doesn't seem to be the case.
Is there anyway to Increasing system partition size?
Like this
http://forum.xda-developers.com/gal...ivatives/mod-increase-partition-size-t3011162
Anyone?
I have encountered a problem with partitioning my J320FN.. I mounted mmcblk0 which is the root directory of the device and contains partitions 1-27. I wish to make the system partition smaller (since my system folder is 1.2gb smaller than the official) and give that space to userdata which will then be available and usuable even in Smart Manager.
The problem begins with the SYSTEM and userdata partitions not being consecutive... I have a HIDDEN partition between them
[email protected]:/ $ su
[email protected]:/ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: The backup GPT table is not at the end of the disk, as it should be.
This might mean that another operating system believes the disk is smaller.
Fix, by moving the backup to the end (and removing the old backup)?
Fix/Ignore/Cancel? i
i
Warning: Not all of the space available to /dev/block/mmcblk0 appears to be
used, you can fix the GPT to use all of the space (an extra 16384 blocks) or
continue with the current setting?
Fix/Ignore? i
i
Model: MMC QN16BB (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
25 344MB 2491MB 2147MB ext4 SYSTEM
26 2491MB 2701MB 210MB ext4 HIDDEN
27 2701MB 7806MB 5104MB ext4 userdata
Click to expand...
Click to collapse
Now, the thing this hidden partition is the same size as the CACHE partition which is located at partition 24 mmcblk0p24 /CACHE and is 210mb(exact same size in bytes)
24 134217728B 343932927B 209715200B ext4 CACHE
25 343932928B 2491416575B 2147483648B ext4 SYSTEM
26 2491416576B 2701131775B 209715200B ext4 HIDDEN
27 2701131776B 7805599743B 5104467968B ext4 userdata
Click to expand...
Click to collapse
Im kinda worried about what is in the hidden partition as i will need to dd it out and back in after creating the partition anew.. Anyone know what is stored in hidden partition or how to pull it? dd doesn't give an output file with .img or .zip, they're just broken files...
TIA
Peace [emoji1]
Bump..