Super Partition ? - Xiaomi Poco X3 NFC Questions & Answers

This X3 new device with android 10, have Super partition and eat 2x system storage. Anyone can explain this function? is save for deleted? Is custom rom also read this super partition?
because i'm new with this case, and my old poco f1 did't have super partition

I didn't fully understand it either, but it's like having a nested partition table, so you have this 8gb physical partition (super) and inside you will have 3 logical partitions (system,product,vendor) that are free to be resized if needed.

DP FH said:
I didn't fully understand it either, but it's like having a nested partition table, so you have this 8gb physical partition (super) and inside you will have 3 logical partitions (system,product,vendor) that are free to be resized if needed.
Click to expand...
Click to collapse
Hello!. can the 3 logical partitions (from super) be resized to make them smaller? im using crdroid (a11), oss, latest twrp and super is already rw-able.

Everything is possible, good luck figuring out how

Related

[Q] How to resize/recreate /system and /data partitions?

With all the lighter custom ROMs we have today, the default huge /system partition we have in the O3D is a waste of space. Same with the /data partition. For those who don´t know, both /system and /data (and other smaller ones) are actual internal SD Card space!
That´s why we have LG specs saying we have 8GB of internal flash storage, when in fact we have just 5.5GB available.
So my question is: is there a (safe) way to wipe all internal SD partitions and then recreate them with more appropriate sizes, earning back all the wasted space?
Thanks a lot!
Marcovecchio said:
With all the lighter custom ROMs we have today, the default huge /system partition we have in the O3D is a waste of space. Same with the /data partition. For those who don´t know, both /system and /data (and other smaller ones) are actual internal SD Card space!
That´s why we have LG specs saying we have 8GB of internal flash storage, when in fact we have just 5.5GB available.
So my question is: is there a (safe) way to wipe all internal SD partitions and then recreate them with more appropriate sizes, earning back all the wasted space?
Thanks a lot!
Click to expand...
Click to collapse
Have you read about data2ext? I think it would be a very good solution to us.
Sent from my LG-P920 using XDA App
Thanks for the reply, ThiaiZ!
However, I think I´m looking for something different: as far as I know, data2ext changes the /data partition pointer to external memory (SD Card), so the original /data partition will never be used by the OS, and it´s space will be wasted, right?
I would like to find a way to get this wasted space back! If we could repartition /system, /data, /cache, to smaller sizes, we would have more storage space for stuff on the internal SD. Does it make sense? Thanks!
Well, since I had no solutions here, I would like to post some examples of this for other phone models:
MyTouch 3G Slide - http://forum.xda-developers.com/showthread.php?t=893706
LG GT540 - http://forum.xda-developers.com/showthread.php?t=1171531
The MyTouch 3G Slide thread is particularly good because it explains in detail how to check the partition sizes, and shows how much space is wasted on the /system partition.
Marcovecchio said:
Well, since I had no solutions here, I would like to post some examples of this for other phone models:
MyTouch 3G Slide - http://forum.xda-developers.com/showthread.php?t=893706
LG GT540 - http://forum.xda-developers.com/showthread.php?t=1171531
The MyTouch 3G Slide thread is particularly good because it explains in detail how to check the partition sizes, and shows how much space is wasted on the /system partition.
Click to expand...
Click to collapse
Don't we have to be s-off to be able to resize the partitions ?
I did it a lot on my HTC Desire.
BTW do you have any idea in which block data and sd-ext are mounted on our device ?
I believe the S-OFF flag exists only in HTC devices. I read that somewhere here, at XDA. The guy seemed to know what he was talking about, and he said LG never implemented any kind of protection like S-ON / S-OFF.
About the block names, I believe you can list the blocks and the partition names they´re mounted as, with the "df" command. I know almost nothing about Linux, and even less about how Android manage it´s partitions, but that would be nice to be able to tweak their sizes...
LG GT540's partitions can easily be resized by flashing an MBN file. Don't know if this phone can get that done too
http://forum.xda-developers.com/showthread.php?t=1171531
Don't try resizing partitions.
You'll brick your phone.

[Q&A] 2 GB External Data -- Hefe Hook Kernel and others

The Hefe Hook kernel allows you to mount a partition of your microSD as /data, getting 2 GB (or more) for your apps and their data.
Please ask your questions here about installation, use, or general approach.
This is great @jeffsf and can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it. Thanks man
Sent from my GT-N7000 using Tapatalk 2
daothanhduy1996 said:
This is great @jeffsf can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it.
Click to expand...
Click to collapse
Yes, you've hit on another of the reasons I've been exploring using the microSD for "live" storage. It's one thing to use potentially slow storage for photos that you basically write once or "app to SD" where you read the APK at boot time, make sure your ODEX in the Davlik cache is good, then generally read from the internal-flash cache. It is another when that memory is being read and written "constantly" when your phone is running.
The good thing is that once /data is not part of the internal flash filesystem, you don't have to worry about one ROM (kernel) thinking it begins at one place and another saying it starts at another. Previously, if one ROM had one /system size and another and a different one, the next partition, /data, would look to be corrupt when you swapped ROMs.
As a warning, not all users have fast microSD cards. Some that say "Class 10" on them really are dogs, especially for small reads/writes. The "Class" ratings are for sustained writes, as you would have with a camera recording video. If your ROM is "external /data" only, or even defaults to that, be prepared for a slew of "Your ROMs sucks. It is so slow." complaints.
You'll also need a way to automate formatting the card. It can be done on the phone, as long as you aren't trying to preserve any data.
As I recall, the layout of the MTD partitions is done in drivers/mtd/onenand/samsung_galaxys4g.h I would be careful not to move the partition boundary for efs, as you'd have to move the data it contains in your updater script. Repeating the warning about not moving the boot and recovery partitions is probably a good idea as well!
Your build tree may need some of these values, or at least think it needs some of these values. For example, device/samsung/aries-common from the CyanogenMod/cm-11.0 (KitKat) branch calls out NAND page sizes, partition sizes, and flash block sizes. I haven't looked in detail at your build tree so I can't comment on how it might handle things differently than the CyanogenMod one.
itzik2sh said:
Hi
I hope I don't ask anything silly, but please let me know if any of my assumptions is wrong :
1. I take FBi's251's AOKP milestone 6 (ICS 4.0.4)
2. 8GB SDCard was formatted to FAT32 (4GB) and EXT3 (4GB) using TWRP kernel
(Beastmode's proton kernel to be exact).
3. I would flash this kernel and it would move apps and their data to the sd-ext
without any special additions.
Thanks. I read the thread, but unfortunately 8GB SD is what i have and I think it should be enough.
Thanks again.
P.S - it's for 2 guys I already sold them my SGS4Gs. I want them to be happy...
Click to expand...
Click to collapse
AOKP should be fine. I haven't tried it recently, but it was the tree in which I did the early Hefe Kernel development.
As I understand it, you have a microSD with
partition 1: 4 GB FAT32
partition 2: 4 GB ext3
So that can work, but will need some tweaking of the init-on-fs.sh script. I intentionally didn't use the second partition as so many scripts gobble that up as sd-ext and do who knows what to it.
My first preference would be to reformat the cards, perhaps:
6 GB FAT32
1 MB ext2/3/4 (Yes, 1 MB, a sliver, choice of ext2, ext3, ext4 up to you)
2 GB ext4
since then the script will work without modification and if they install a third-party script that uses the second partition, it won't corrupt their data.
If you were to keep the formatting the way that it is now, you'd need to edit the mount commands in the script to look something like:
Code:
/system/xbin/busybox umount /data
/system/xbin/busybox mount -t ext3 -o noatime /dev/block/mmcblk0p2 /data
(removing the sd-ext mount)
I'm not sure what your expectations are, but all that the kernel and that script will do is mount a different disk partition on /data -- you need to manually move the data over (or restore from something like Titanium Backup). There may be some trickery in renaming that could be used with TWRP backups to restore from data.yaffs2.win to the new /data partition, but I haven't tried that at all.
Hi Jeff
Thanks for your quick reply, and sorry again for not seeing the Q&A thread.
I think making it :
partition 1: 4 GB FAT32 (sdcard)
partition 2: 2 GB ext3 (sd-ext)
partition 3: 2 GB ext3 (data)
partition 4: 1 MB (spare)
would be better and handle data as well. don't you think ?
Would it be worth doing with a "Team" micro-SD card (class 6 I believe) ?
Thanks.
I haven't tried a Class 6 card, but my gut feeling is that it will be dicey. I didn't "commit" to using /data on microSD until I had tried it for several days using Titanium Backup's ability to move both apps and app data to the external card. I would try that first, especially as the phones in question aren't going to be in your hands (I consider you an expert user, able to manage things outside the UI with ease).
I've attached some testing I did a while ago with Transcend and SanDisk cards. When you look at them, realize that the speed scale changes between them. I have a feeling that the real "performance" on a device is going to be related to relatively small reads and writes, not the ability to stream video to the card. I also don't know much about the Team brand, but I found that even some well-known brands didn't have the performance of the Transcend or SanDisk in the same category.
However you configure your cards, I would definitely recommend a journaling filesystem of some sort. I've had my microSD come loose inside the phone. The journal will at least help to reduce any filesystem corruption should that happen.
You don't need the fourth partition -- I have it there to be able to keep rsync backups for fast ROM swapping.
.
Regarding the apps data, have you tried exploring the Mount2SD script ?
sent from me
I've tried a couple of the scripts out there in the past. Since backing up my data is very important to me, I trust the scripts in Titanium Backup to work well with its backup/restore strategies.
Mounts2SD looks like it has gotten a lot more sophisticated than it was when I tried it in the past. It sounds like something worth trying in its current state. At a quick glance (and not looking at the code), I'd personally make some different choices about features; enabling journaling, and being concerned about why lost+found was filling up (things should only appear there if the file system is found to be corrupt).

Resizing system and data partitions

Hello everyone, how can I resize my /system and /data partitions?
I've noticed that my system partition is 2.2GB big, but my system is using only 1G of it.
Meanwhile, my data partition, where the apps are stored, has 3.9 out of 4.5G in use.
Is it feasible to resize those?
If so, can you link me to any good how-to on how to do it? I would be very happy to have 0.7G more in my /Data partition.
Thanks in advance.
I've attached a pic of the issue.
frenchiveruti said:
Hello everyone, how can I resize my /system and /data partitions?
I've noticed that my system partition is 2.2GB big, but my system is using only 1G of it.
Meanwhile, my data partition, where the apps are stored, has 3.9 out of 4.5G in use.
Is it feasible to resize those?
If so, can you link me to any good how-to on how to do it? I would be very happy to have 0.7G more in my /Data partition.
Thanks in advance.
I've attached a pic of the issue.
Click to expand...
Click to collapse
Last time I messed with the partitions I semi-bricked my phone and had to restore stock firmware via ADB and fastboot. Won't be doing that again anytime soon. I am sure it can be done just be careful, goodluck.
Don't do it... really... this device has 20+ partitions, and messing with them almost always results in a non-bootable condition, and sometimes in hard brick state, and since we don't have the proper QDLoader files (and never will), it makes it a perma-brick. Messing with partitioning on newer device is problematic at best, because we can only access about 5-8 of the partitions out of the 20 or so on the device, but on the Moto without Qualcomm QDLoader recovery files, it is almost impossible.
Ok, good to know that I must not do it then.
Thanks for the replies!

OpO Tiny system partition

Good day!
So i was wondering, is there a way to repartition the oneplus one system partition so that it takes some space from the /sdcard partition (like 1gb extra) so it would allow for bigger gapps files and maybe even android 12/13?
Maybe if someone would make a repartition script (like some exynos 7870 devices) that would open so much possibilities.
Have a good day and thanks!
vinnievh said:
Good day!
So i was wondering, is there a way to repartition the oneplus one system partition so that it takes some space from the /sdcard partition (like 1gb extra) so it would allow for bigger gapps files and maybe even android 12/13?
Maybe if someone would make a repartition script (like some exynos 7870 devices) that would open so much possibilities.
Have a good day and thanks!
Click to expand...
Click to collapse
[GUIDE][WORK IN PROGRESS]Oneplus one - resize system partition and maybe even more
WARNING!!! Everyone is responsible for the proper functioning of their device. This guide is the result of personal experiments and I'm not responsible for any damage caused to your device as a result of improper use of its contents...
forum.xda-developers.com

Question Resizing System Partition?

Hi all...
Just wandering if anyone new how to resize the system partition of a galaxy a53?
Need to make it larger to fit files onto it but not able to delete bloatware or anything for some reason using all the recommended processes. And to be honest having larger system partition would probably just be useful anyway.
My phone is rooted. I'm not fussed about having to refresh ect. And I have TWRP flashed and Stock Rom.
Please help lol
TWRP should automatically resize your system partition.
When you're installing the ROM, make sure you format /data then /system before installing.
It does, but i want to make the partition larger so i can add files to the system partition once the rom is flashed and phone is set up to be used.
At the moment it say 6GB partition and only the rom fits onto the partition and there isnt any room to add extra files. so im looking to make the partition say 10GB to give myself some wiggle room to play with.
i Have 128GB in total so can spare some extra GB's lol

Categories

Resources