What does "Re-Partition" mean? - Galaxy Tab General

I've recently been doing a lot of flashing here and there and always wondered what "re-partition" meant. Would anyone care to enlighten me?
NOTE: my bad, I should of mentioned this is regarding Odin.

Say you had a 4gb sdcard and had a 1gb ext4 partition for A2SD+, you could then repartition it to 512mb. Doing this will give you back 512mb for the fat32 partition and wipe your sd. None of this applies to us as we done have custom roms, and with the vast internal storage, we shouldn't need it either
Hopefully that gives a bit of insight to it
Sent from my GT-P1000

GANJDROID said:
Say you had a 4gb sdcard and had a 1gb ext4 partition for A2SD+, you could then repartition it to 512mb. Doing this will give you back 512mb for the fat32 partition and wipe your sd. None of this applies to us as we done have custom roms, and with the vast internal storage, we shouldn't need it either
Hopefully that gives a bit of insight to it
Sent from my GT-P1000
Click to expand...
Click to collapse
I think what xoltrix2000 is talking about is when we flash the ROM there is the option to repartition using a PIT file. If I understand correctly, it specifies the sizes allocated to each image file (factoryfs.rfs, modem.bin, etc) in the Flash storage where the ROM is stored. In effect it is treating the internal storage (not to be confused with the internal SD card) like you would treat a hard drive in a computer. The PIT file just specifies how it's broken up.

Hi, and yes it's in regards to Odin, sorry!
So do we need to repartition if we're switching to different regional firmwares? Just in case they're different size? The reason I'm asking is because I noticed different performance issues and thought that it might need something like that to be done.

xoltrix2000 said:
Hi, and yes it's in regards to Odin, sorry!
So do we need to repartition if we're switching to different regional firmwares? Just in case they're different size? The reason I'm asking is because I noticed different performance issues and thought that it might need something like that to be done.
Click to expand...
Click to collapse
I've actually been experimenting with not partitioning and manually loading up the images and I have noticed some performance oddities as well. I think that re-partitioning may be better in the long run, it will bring you close to stock of whatever you are going to. But, as always, do a RotoBackup before flashing so you have your stuff just in case.

Related

(Q) wich lagfix we can use?

now i m confused.. wich lagfix is better? in quadrant all the fix do then the 2000...
Your choice. Do you want to repartition the sd card and fiddle in cmd, or just double click a file?
The problem with the first fix is that you cant replace the card any time you want. The problem with the second fix is that if you dont have 1gb free on the phone, it wont work
Second one looks like a much better deal.
If you don't have 500mb free on your internal SC card (correct me if I'm wrong, but I don't think it's 1gb), you can always move all your personal stuff in the external SD card.
Unless of course you have filled it up with apps only (with no app2sd with Eclair), but how you would have managed to fill almost 2gb of apps is beyond me. That'd be more than 2000 apps.
What I don't know though is the long term effects. I have no idea if the fixes that are made are bad for the internal SD card. I guess you have to trust Ryan.
Davith said:
Second one looks like a much better deal.
If you don't have 500mb free on your internal SC card (correct me if I'm wrong, but I don't think it's 1gb), you can always move all your personal stuff in the external SD card.
Unless of course you have filled it up with apps only (with no app2sd with Eclair), but how you would have managed to fill almost 2gb of apps is beyond me. That'd be more than 2000 apps.
What I don't know though is the long term effects. I have no idea if the fixes that are made are bad for the internal SD card. I guess you have to trust Ryan.
Click to expand...
Click to collapse
what do you mean about second choise lagfix 2.0??
2.0 caused my phone to be unstable so I re-flashed and went back to the first (1GB) fix.
Are you considering mimocam's fix (using the external card) or just between Ryan and Chanfire's fixes?
rock187 said:
what do you mean about second choise lagfix 2.0??
Click to expand...
Click to collapse
Yeah, I was talking about Ryan's Lagfix 2.3. (it's not 2.0 anymore).
I don't use either. I recommend the original fix that moves data to dbdata. I have over 70 apps installed and still plenty of space left. Using autokiller to keep free memory at 70 meg I have no lag. Currently on jm5.
Sent from my GT-I9000 using XDA App
I first did it by command line with the 1Gb partition. That ran well. I then updated to Ryans 2.2 which I have been using all day. It also runs really well. Lag pretty much gone.
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Bajo76 said:
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Click to expand...
Click to collapse
Just run the included unlagfixme.bat file. It's automated. But make sure you are running the unlagfixme for the correct version (2-2 or 2-3)
It works fine. I ran unlagfixme and flashed back to a stock ROM, tested with Quadrant and got the 900 something score again, so it does remove the lagfix.
I will note, however, that it's a very good idea to run the unlagfixme.bat before flashing to a different ROM.
kgk888 said:
Just run the included unlagfixme.bat file. It's automated. But make sure you are running the unlagfixme for the correct version (2-2 or 2-3)
It works fine. I ran unlagfixme and flashed back to a stock ROM, tested with Quadrant and got the 900 something score again, so it does remove the lagfix.
I will note, however, that it's a very good idea to run the unlagfixme.bat before flashing to a different ROM.
Click to expand...
Click to collapse
If you are flashing to any rom using odin3, there is no need to do the unlagfix at all, because the flashing would have overwritten any changes that you have made to the file system.
I often flashed my device alredy with repartition but it didnt touched my internal sd, cause my photos which are stored in the internal sd were still there after flashing. So will a firmware-flash through odin really delete the virtual ext2 partition?
Bajo76 said:
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Click to expand...
Click to collapse
The LagFix does not partition your internal card. A 1gb file is created upon which the ext2 filesystem is made. Then this file is mounted as a loopback device. So the UnLagFix basically moves the data back to the native internal storage directories and deletes the ext2 file, so no need to use gparted

Delete WebTop Partition

Hi, I'm rocking the latest CM7 nightly, which doesn't support WebTop, so I have a 1GB+ partition just taking up space of my precious storage (which is very limited since I only have a 2GB SD card for now). I just read this article, could this be used to get rid of the webtop partition (and possibly shrink the /data as well)?
+1
Sent from my MB860 using XDA
nm, was thinking erase and not deleting the partition.
CaelanT said:
nm, was thinking erase and not deleting the partition.
Click to expand...
Click to collapse
Yeah, I saw it in the update email, lol
even deleting the partition, the memory of it won't be relocated to anywhere else, DONT DO THAT IF YOU ARENT A DEVELOPER WHO KNOWS WHAT IS DOING! =)
Sent from my MB860 using Tapatalk
You need to be able to edit the partition tables somehow, deleting the webtop partition and expanding the sdcard partition. Not sure how we can get a utility on the phone to do it. Id imagine it would be best to do it from a recovery so you wouldn't be using the internal storage partition while trying to do it. I don't think any simple and easy solution exists for this.
Sent from my MB860 using XDA App
I'm not a dev, but I'm quite knoelegable in general stuff (like partition maps, filesystems, etc) and a fast learner. That said, your right on that I probably shouldn't just go out and try it, and since I don't want to lose my little baby to a hardbrick, I was never planning on trying anything out. I posted the link to see if anyone had tried that method on an Atrix, or if someone knoelegable (or with a bunch of high end smartphones lying around) could try. I also must admit I haven't really read the thread & post linked in the article: I have a very busy week and this isn't something to do in a rush.
I'm also interested in this. I'll be following this thread to see if a solution comes up.
Silly suggestion: how about taking the card out and hooking it up with a proper PC. Copy the contents out of it to a temporary location. Then reformat the card to the full capacity and then re-copy all the items back in after. Reformat may have some issues if you are using Windows to try and rid of the EXT partition, but there are plenty of Partitioning programs out there that will kill it (including the native command prompt one called Diskpart).
bchliu said:
Silly suggestion: how about taking the card out and hooking it up with a proper PC. Copy the contents out of it to a temporary location. Then reformat the card to the full capacity and then re-copy all the items back in after. Reformat may have some issues if you are using Windows to try and rid of the EXT partition, but there are plenty of Partitioning programs out there that will kill it (including the native command prompt one called Diskpart).
Click to expand...
Click to collapse
We are talking about the internal storage (which is not removable as far as I know), not the MicroSD card.
adriangb said:
We are talking about the internal storage (which is not removable as far as I know), not the MicroSD card.
Click to expand...
Click to collapse
The OP: "Hi, I'm rocking the latest CM7 nightly, which doesn't support WebTop, so I have a 1GB+ partition just taking up space of my precious storage (which is very limited since I only have a 2GB SD card for now). I just read this article, could this be used to get rid of the webtop partition (and possibly shrink the /data as well)?"
Notice the SD card comment..
bchliu said:
The OP: "Hi, I'm rocking the latest CM7 nightly, which doesn't support WebTop, so I have a 1GB+ partition just taking up space of my precious storage (which is very limited since I only have a 2GB SD card for now). I just read this article, could this be used to get rid of the webtop partition (and possibly shrink the /data as well)?"
Notice the SD card comment..
Click to expand...
Click to collapse
Yes, but the webtop partition is on internal storage (unless you are using webtop2sd).
Sent from my MB860 using XDA App
bchliu said:
The OP: "Hi, I'm rocking the latest CM7 nightly, which doesn't support WebTop, so I have a 1GB+ partition just taking up space of my precious storage (which is very limited since I only have a 2GB SD card for now). I just read this article, could this be used to get rid of the webtop partition (and possibly shrink the /data as well)?"
Notice the SD card comment..
Click to expand...
Click to collapse
That was only to point out a possible reason for which I would want to do this, since I probably wouldn't care too much about 1GB of internal storage if I had a 32GB SD card.
U can format the partition by fastboot erase webtop command but other then that u cant use that space for other purposes and as far as i can tell there are certain number of partitions in atrix system (ever one is for some specific thing).
SO my suggestion is DO not completely delete the partition insted make it so small (as small as possible) and reallocate all of the free space to system partition (where user and preinstalled apps are installed. this way no natural order of flashing and backup will be disturbed and we will get extra space for applications and stuff.
Possible problems (unable to flash SBF through RSDlite) {Who flash thins via RDS now any ways ?}
if flashed rom with webtop (bluer bassed ROMs) then there is strong possibility that webtop partition so small unable to flash webtop causing aborted flasing process.
xateeq said:
U can format the partition by fastboot erase webtop command but other then that u cant use that space for other purposes and as far as i can tell there are certain number of partitions in atrix system (ever one is for some specific thing).
SO my suggestion is DO not completely delete the partition insted make it so small (as small as possible) and reallocate all of the free space to system partition (where user and preinstalled apps are installed. this way no natural order of flashing and backup will be disturbed and we will get extra space for applications and stuff.
Possible problems (unable to flash SBF through RSDlite) {Who flash thins via RDS now any ways ?}
if flashed rom with webtop (bluer bassed ROMs) then there is strong possibility that webtop partition so small unable to flash webtop causing aborted flasing process.
Click to expand...
Click to collapse
True, I hadn't thought of that. CWM flashs could probably work fine, or be modified to do so, but sbf I don't know, and sbf is useful to recover from a softbrick (I had to do so once, I don't remember th exact circumstance thou).
Some dev who knoes what he is doing would have to check this and see if there is a possible workaround (like the one you gave).
Sent from my MB860
in soft brick u can access fastboot so no need to flash SBF just flash recover and from it mount storage as a mass storage on pc and copy rom and flash. i do it all the times.
last time i used rsd was to flash unlock bootloader sbf.
xateeq said:
in soft brick u can access fastboot so no need to flash SBF just flash recover and from it mount storage as a mass storage on pc and copy rom and flash. i do it all the times.
last time i used rsd was to flash unlock bootloader sbf.
Click to expand...
Click to collapse
Yeah, I know, I don't remember what tje exact circumstance was, but maybe I just had the sbf laying around, it's irrelevant to the thread anyways (as is this post). I was just trying to point out that it's just better if we can keep the sbf fladhing capibility, even if it's only to be able to return it under warranty (althou I'm pretty sure you can also flash stock ROMs under CWM, granted someone made a zip out of it).
Maybe there is a way of tricking the phone into thinking the webtop partition is an sd card after it's re-formatted. Like formatting it into a fat32 partition and have some command to mount it.
i will never use webtop, its just some space useless to me =[
i have found a purfect solution to webtop extras space problem.
BUY A BIGGER CAPACITY MEMORY CARD
Every thing els dont have to change, give developers some time they will find some webtop replacement and we r gona love it.

[Q] Not enough internal storage

Like everyone here, I have the famous HTC Leo. A friend installed Android on NAND, the 2.3.4 with the mod-HyperDroid CM7-v2.1.0.
This is a great device, but the more I use it, the more I have less internal memory.
At first, I installed a lot of applications, I was full of things and I ended up filling the internal memory. I moved the more applications possible on the SD card, but the internal memory ended up being full. So I uninstalled applications not too useful, and applications more useful, clean caches, remove data, but it is still too small. My system tells me that I only have 217.3 Mb total internal memory and while I hardly more than application system installed, I only have 21.3 MB available. Now, I know that this model has double.
I do not understand: what is this devilry? Where is my memory? How can I resume normal operation until all the memory is gone and my phone becomes unusable?
I can't be the only one to whom it happens, right?
only the data partition counts as internal memory, the rest is taken by the system, boot and recovery partitions, so your200+ sounds about right.
read up on creating an ext partition on your sd card, and either flash a rom that supports it already, or add a script to your current rom, , then, instead of using the data partition on the nand the system will use the sd-ext partition as if it were nand. (This is NOT the same as choosing 'move to sd' in the apps config screens, that moves it to the fat partition, and some apps wont work from there, , , all apps will work from the ext partition, and faster than the fat partition.)
There are two sets of scripts, some move the whole data partition to ext, meaning of course you are not using the 200+ mb on the nand, so for me i prefer the scripts that move only the apps to the ext partition, and keeps your actual data (txts, contacts, stuff like that) on the regular nand data partition, thus spreading the useage.
look out for keywords like 'app2sd+' 'data2ext' 'dataonext', , stuff like that when you're searching.
samsamuel said:
only the data partition counts as internal memory, the rest is taken by the system, boot and recovery partitions, so your200+ sounds about right.
read up on creating an ext partition on your sd card, and either flash a rom that supports it already, or add a script to your current rom, , then, instead of using the data partition on the nand the system will use the sd-ext partition as if it were nand. (This is NOT the same as choosing 'move to sd' in the apps config screens, that moves it to the fat partition, and some apps wont work from there, , , all apps will work from the ext partition, and faster than the fat partition.)
There are two sets of scripts, some move the whole data partition to ext, meaning of course you are not using the 200+ mb on the nand, so for me i prefer the scripts that move only the apps to the ext partition, and keeps your actual data (txts, contacts, stuff like that) on the regular nand data partition, thus spreading the useage.
look out for keywords like 'app2sd+' 'data2ext' 'dataonext', , stuff like that when you're searching.
Click to expand...
Click to collapse
Excellent advice, but I think you forgot to mention this
Late I think me brain is playing tricks on me...:cyclops:
shanman-2 said:
Excellent advice, but I think you forgot to mention this
Click to expand...
Click to collapse
so, pretty much exactly what i described, then....
shanman-2 said:
Excellent advice, but I think you forgot to mention this
Late I think me brain is playing tricks on me...:cyclops:
Click to expand...
Click to collapse
So, I don't really need to use this. I just can install a new ROM on my NAND after making extending place on my SD for the 'dataonext', can't I?
I have to choose a dataonext ROM (with french version) and make new partition on my CD card. I'm saving all the SD card data's just now (with luckyBackup, because I'm on ubuntu PC).
My problem is find a good ROM for my needs. So, I have HSPL 2.0.8 and MAGLDR. How can I find the rom radio number? I need this information to choose the good ROM. Any advices about good ROM for my needs?
r no need to change the radio,,, if magldr works then the radio is fine.
samsamuel said:
r no need to change the radio,,, if magldr works then the radio is fine.
Click to expand...
Click to collapse
I bought a new 16 GB SD card to try the method of post 1843062. I am trying to format as it should, and tonight or tomorrow, I'm trying to see if I can install the script without too much risk, I am not a very experienced user of ROM for HD2 and, in addition, as I'm 100% Linux Ubuntu, I saw that many procedures are more complicated or impossible to run from a Linux desktop.
Thank you for all your help and I'll let you know.
I need to understand.
I have a EU HD2 with HyperDroid CM7 installed on it.
Like many people here, my memory became too small over time. So I look for a solution and I was guided to this thread. While speaking, I read everything I could understand (and frankly there really is too much to read and understand, here ) and I ended up deciding to adopt the solution Kokotas.
So I bought a new SD card (16GB class 10 Duracell - I know, Duracell is a brand of batteries ...) and I formatted properly Gparted as shown, with one primary partition of 12 GB fat32 I named /données (French for datas) and a second primary partition 4 GB Ext4 I named /data.
Then I primed to install the script Kokotas (but I have not yet done so, this is the trick!) And there: surprise!
I suddenly 4 times more free memory internally (from 20 MB to 80 MB), but it is still the same overall size!
I wonder how it is done, because it's been months that I want to release the NAND memory, I deleted almost all my applications downloaded without great effect and there, before installing the solution Kokotas, hop, I have the place!
I run Nautilus on my HD2 connected via USB and what do I see? in the partition /data in ext4, records were Cres /app /app-private and /dalvik-cache.
What does that mean? My ROM can do one DATAtoEXT 2011 alone, when she sees a partition SD / data?
Do I install the script Kokotas or it is not worth it?
Do I flash a new ROM (I thought MIUI-MIX_3.3.1, but I'm not sure it's a good idea) without risk, in short I need to understand what happens with my phone.
Thank you.
(Sorry for my english : this is the fault of Google translation )
You might also consider just running an SD build instead of NAND. You can get a 2GB "internal storage" system.img and you don't risk getting bad blocks on nand by constantly flashing things. In my use of both I didn't really see any great speed increase or advantage in using NAND other than boot-up time is a bit less, but does that really matter?
Just another thought on this.
orangekid said:
You might also consider just running an SD build instead of NAND. You can get a 2GB "internal storage" system.img and you don't risk getting bad blocks on nand by constantly flashing things. In my use of both I didn't really see any great speed increase or advantage in using NAND other than boot-up time is a bit less, but does that really matter?
Just another thought on this.
Click to expand...
Click to collapse
I thought NAND is better for battery's management...
Monolecte said:
I thought NAND is better for battery's management...
Click to expand...
Click to collapse
I didn't see any great battery improvement with NAND.
ROM flashing don't work
I tried to flash MIUI-MIX_3.3.1, but, it wasn't working. I think this is because Resurection needs this specific table of partition and I don't how can I modify this table of partition. CMW had a partition tool? How can I do?
Monolecte said:
I tried to flash MIUI-MIX_3.3.1, but, it wasn't working. I think this is because Resurection needs this specific table of partition and I don't how can I modify this table of partition. CMW had a partition tool? How can I do?
Click to expand...
Click to collapse
use the nand toolkit
samsamuel said:
use the nand toolkit
Click to expand...
Click to collapse
With an Ubuntu PC?
After miles of thread reading here, I won against the machine!
I have something like a new phone.
Thank you everybody.
If I can do it, anybody can do it!
ubuntu or windows will be fine.
The NAND Toolkit is a Windows software... so...

Formatting internal SD

After trying out some roms I want to start fresh. I plan on odining back to MDB and was wondering if it's possible to format the internal SD as well. Is there an option in Odin to do that or is it bad to wipe the internal SD?
do u mean phone memory by interal sd ?
Not sure why you would need to format it--just back it up before you do anything
Why back to MD--just curious
As far as formatting internal, not sure
I rooted before looking into stock recovery to see if it had option. CWM did on the S3, but I have twrp and it does not have that option
there use to be codes to format internal also--don't remember them
some research needed--but still back up everything and pull ext sdcard before you do anything
I have a similar question, does formatting internal sd also wipe everything (except system) from root (/)?
seanpr123 said:
I have a similar question, does formatting internal sd also wipe everything (except system) from root (/)?
Click to expand...
Click to collapse
It'll wipe /storage/sdcard0 and everything on it only. Not sure what you mean by root.
jd1639 said:
It'll wipe /storage/sdcard0 and everything on it only. Not sure what you mean by root.
Click to expand...
Click to collapse
Kinda what I figured, so I'm curious is it possible to start completely fresh from / or maybe that happens on a ROM install anyway?
For instance under root I have the following directories:
acct,cache,config/d/data/data_1-3,dev,efs,etc,firmware,mnt,persdata,preload,proc,res,root,sbin,sdcard,sotage,sys,system,tombstones,vendor. Along with a bunch of files, many are init.something. I know how to wipe sdcard (as you mentioned above), and system but what about everything else.
Make sense?
seanpr123 said:
Kinda what I figured, so I'm curious is it possible to start completely fresh from / or maybe that happens on a ROM install anyway?
For instance under root I have the following directories:
acct,cache,config/d/data/data_1-3,dev,efs,etc,firmware,mnt,persdata,preload,proc,res,root,sbin,sdcard,sotage,sys,system,tombstones,vendor. Along with a bunch of files, many are init.something. I know how to wipe sdcard (as you mentioned above), and system but what about everything else.
Make sense?
Click to expand...
Click to collapse
Flashing a Rom will write over those other folders.
lazard said:
After trying out some roms I want to start fresh. I plan on odining back to MDB and was wondering if it's possible to format the internal SD as well. Is there an option in Odin to do that or is it bad to wipe the internal SD?
Click to expand...
Click to collapse
There's really no reason to do this before using ODIN. ODIN rewrites anything in it's way. If there's something it didn't rewrite it's probably because you need that.
agent929 said:
There's really no reason to do this before using ODIN. ODIN rewrites anything in it's way. If there's something it didn't rewrite it's probably because you need that.
Click to expand...
Click to collapse
Not necessarily, I've odined many times and it hasn't touched my internal sd card.
jd1639 said:
Not necessarily, I've odined many times and it hasn't touched my internal sd card.
Click to expand...
Click to collapse
....what do you mean internal SD card? I guess I'm just a little confused. I know there are many partitions (I think 7 total) but ODIN won't write to all of them. I'm assuming that if you format the internal storage completely it will mess your phone up.
agent929 said:
....what do you mean internal SD card? I guess I'm just a little confused. I know there are many partitions (I think 7 total) but ODIN won't write to all of them. I'm assuming that if you format the internal storage completely it will mess your phone up.
Click to expand...
Click to collapse
The part where pics, etc are stored /storage/sdcard0. Yea, the other partitions get overwritten when you Odin. And you certainly don't want to try and format those.
Ps, there are closer to 30 different partitions that android creates.
Alright yeah I understand what you mean now. Your right ODIN won't do that part, to my knowledge the only safe way to do it through recovery on your phone.

Resize partitions?

It's been bugging me for a while that the system partition sizes are so huge, and I only get a little over 9GB for actual storage. Specifially the cache, of which I'm only using 104/2037MB, and the system, of which I'm only using 485/2717MB.
Is there any way to resize these partitions to give me more room for storage? I'm looking into making a new partition on my sd card, but that still doesn't solve the stupidly huge cache/system partitions.
There is also the issue of the missing space. As far as I can tell, my phone only has 14892MB in total, not the advertised 16GB. I understand that usable space is frequently lower than advertised on storage devices, but this is a little bit too much.
I've researched this but couldn't find anything useful. Maybe my google-fu is low haha.
Thanks in advance.
Bump.
Masterjuggler said:
Bump.
Click to expand...
Click to collapse
I've been looking for a way to do this as well. I feel like I'm wasting at least a good 3gb that could be used for installing some larger games or something. As far as I can tell, there is a way to do it on another variant of the S4, involving using odin to flash a Chinese version of the stock rom(specifically the PIT file) which repartitions the storage. But it only works on that variant, and won't work for us. No way to do it on the sph-l720, at least none that I can find.
I was thinking I could reclaim some of the system partition by taking any apps that are essential to me, and converting them to system apps. But since the system partition gets wiped every time I update the rom, which is very frequently, that would be a disaster.

Categories

Resources