Hi
For some time i was trying to investigate our PIT using [APP] Updated: 31/10/12 - PIT Magic v1.3.10 - Samsung PIT Creator, Editor, Analyzer!
I know that it's possible to make /data partition about 1GB bigger, but i have some questions
We can resize system, cache and hidden partitions, as they don't need to be so big for CM11 custom ROM
SYSTEM can be resized from 1200MB to 500MB
now /system with CM11 and UltraSlim_gapps installed have 420MB
CACHEFS can be resized from 840MB to 500MB maybe???
I am not sure about that.
What can be stored on /cache partition?
Now, in my case it contains only 14MB of data
HIDDEN can be resized from 320MB to 200MB
This partition contains operator specific files. On custom ROM it is not used at all
After resizing we can add 700MB from system, 340MB from cache and 120MB from hidden partition to /data
I am not sure, what do i need to do after phone repartitioning with Odin
And now my questions:
Was somebody playing with PIT on our phone?
Do i need to make ext4 filesystem's on resized partitions or they will be created by Odin?
Can we resize cachefs to make it smaller?
Maybe there are another steps, which i must to do after repartitioning?
Why don't you buy a bigger microsd?
Jokes apart I never did it by myself but i'm quite sure odin will not format your partitions. You may do an empty ext4 image of the right size and flash it while repartitioning,at least for cache partition. Probably you dont need to do this for hidden and system, the first cause you dont use it,the second cause the installation script will format it anyways.
About the cache... it should be used,among other things, by play store to download apks - someone correct me if I'm wrong - so if you set it to 100 Mb you cant install apks bigger than that.
Clostry said:
Why don't you buy a bigger microsd?
Jokes apart I never did it by myself but i'm quite sure odin will not format your partitions. You may do an empty ext4 image of the right size and flash it while repartitioning,at least for cache partition. Probably you dont need to do this for hidden and system, the first cause you dont use it,the second cause the installation script will format it anyways.
About the cache... it should be used,among other things, by play store to download apks - someone correct me if I'm wrong - so if you set it to 100 Mb you cant install apks bigger than that.
Click to expand...
Click to collapse
My microsd is big enough I have 32GB
I want to play with PIT and partitions, because it's something, what can be helpful for people with smaller microsd's
Thanks for all info's and tips
I did some tests with modded pit but without success
In Download mode after flashing pit file with "Re-partition" option checked i saw text in red "CUSTOM PIT BINARY" and nothing has changed in partition layout
Have you tried going in dl mode from recovery? It should be different from stock dl mode (at least it looks different for TWRP), maybe it does bypass the check....
It should be different? Why do you think so?
Dl mode is dl mode, and it cannot be changed by TWRP, i think.
I can be wrong. Will try it at the evening.
Yes, I thought that too, but, at least for me, dl mode from twrp looks different, it doesn't ask for confirmation, it doesn't display counter, nor model or other info. Plus I had the feeling it was more reliable with heimdall ( I had few hangs with "normal dl mode"), but it may be just a feeling...:laugh:
Ok, I will check it
Partitionate your sd card
You can do this men instead of doing that! It's easier and not that dangerous
Dnxss said:
You can do this men instead of doing that! It's easier and not that dangerous
Click to expand...
Click to collapse
Can you speak more clearly? Is there another method for partitioning internal flash?
I had no time to test new pit with twrp dl mode for now.
piskor said:
Can you speak more clearly? Is there another method for partitioning internal flash?
I had no time to test new pit with twrp dl mode for now.
Click to expand...
Click to collapse
I tested this and it fails with the same error. I still haven't found a way to flash a customized PIT. I'm thinking of directly writing to the PIT partition (with dd in terminal) but I'm not sure if it would be a correct way.
https :// imgur.com/a/oGQAfsY
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
ok so these forums have help me sooo much from rooting my g1 for the first time and upgrading my g1 to the max. But I've comed to a problem on partitioning my g1.
I am currently using cyanogenmod and I use amon ra's recovery 1.5.0 which I have found really easy to use.
So basically I'm trying to get a linux swap of 96mb and I belive a 512mb ext partition but when I do this on amon ra I chect on cosole by first typing su and then free to check my memory and my swap partition says 0? And I'm trying to see what I'm doing wrong?
What I basically do is I:
wipe
Format my sd via computer with swiss knife or bassic format tool
Plug in my card
Wipe again
Wipe ext partion
And then I do the ext/linux/fat32 partition thing
And then I do my flashing.
Am I doing something wrong? Or maybe taking too many steps? Lol
But if anybody could tell me what to do it would be good.
And again I don't mind starting out fresh.
I am going to assume your new...
And I am a bit of a smart a$$ so deal with it. It's also late and I'm hungry, so I'm a triple threat.
1. Welcome to the forums.
2. keep up to date on the programs...RA1.5.0 had a bug in it. It was replaced with RA1.5.1 in less than 8 hours.
Check for daily updates on everything you use.
3. Don't do it by hand...Amon RA 1.5.1 does all this for you. (has since like 1.3.9 I think)
Even walks you through it step be step.
Its under the heading PARTITION SDCARD (Can't miss it on the main screen. It's there on 1.5 too)
Know your Sdcard specs b4 proceeding.
It even upgrades your partitions...don't bother with apps2sd if your not on a class 4 or 6 card.
And yes you do want ext 4 if you have a class 4 or 6 card.
No I won't tell you how to tell the difference. Google will.
4. Not to sound like an a$$...oh wait I already put in that disclaimer...
Seriously are you learning about what your doing or are you following along blindly?
Just following along results in posts like "OMG I just F*ing Bricked my Phone trying that lame a$$ write up. How do I fix my phone!?!?"
Read up on the programs before you use them, and ask questions about how to do something before trying. Please.
Have a nice... ah who am I kidding...see ya!
Ok..
1. Thanks for the welcome
2. You didn't help much but still thanks.
3. I'm not that of a complete dumba$$ and I do try to stay up with the updates and stuff but I go to school full time and I work right after but thanks for the advise...
4. But what I was looking for was how to start out fresh with cyanogen and a partition on my phone because when I try it it doesn't show on console but the size on my sd does decrese.
But again thanks.
Ok..
1. Thanks for the welcome
2. You didn't help much but still thanks.
3. I'm not that of a complete dumba$$ and I do try to stay up with the updates and stuff but I go to school full time and I work right after but thanks for the advise...
4. But what I was looking for was how to start out fresh with cyanogen and a partition on my phone because when I try it it doesn't show on console but the size on my sd does decrese.
But again thanks.
Do you have a userinit.sh setup to activate the swap on boot? Otherwise, you can try entering "swapon" in a terminal window and then "free" to see if you now have swap being utilized. Just having the partition does not enable swapping.
If you want to try to re-partition it one last time, I wrote a very simple excel program that walks you through the partitioning. I boot into recovery, and go to console. From there, just type the text exactly as written. There are 2 variables that you will type in, the swap and the actual size of the card. By typing those in, it will update the spreadsheet with the correct values to input. I have formatted quite a few this way and never had a problem that wasn't due to a bad SD card.
Anyway, this is what it looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and the download link:
http://rapidshare.com/files/318493809/Partition.xlsx
I guess in my cranky state you missed my point.
There is no reason to do any of the partitioning on another computer, or by hand. Amon Ra's recovery image does that operation with a little interaction from you.
Basically it does what speed.racer's script does, and it's already on your phone.
As for not seeing the partition information...
A fresh partition has nothing on it, so you will get a 0 when looking to see how much data it is storing.
Look again after you have booted up to the home screen.
Does that help?
Well its been like about 2 hours since i did the repartition and im sure that it would of have had taken up mem by now but it says 0 0 0 and
When i do the swap on thin it says to set swap priority?
hey guys im making this thread cus androidboss dint know how to do this and im mkaing it easier for him(might help others too so )
I AM NOT RESPONSIBLE FOR ANY DEAD SDCRADS PHONES LAPTOPS DESKTOPS AND ANYTHING ELSE
requirements
-windows computer
-phone with swiftdroid or any rom that supports inti.d boot scripts
-recovery 5.0.2.3
1. backup all sdcard stuff to computer.
2. wipe all data from the sdcard. after that use this to remove all partitions from sdcard( if you do not have any other partitions on sdcard skip to the end bellow the last picture)
http://www.partition-tool.com/personal.htm
the pics will look may look different cus im using a older version
mine looks like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to remove all the other partitions
when all is done click apply at the top lefthand corner. at the end after it refreshes make sure there is only one partition left . the FAT32 partition.
so now the card has no data put it in the phone and boot into recovery(5.0.2.3). there go to advance>partition sdcard>EXT size 2M(2M if you dont want a ext partition but if you want then the size is up to you )>swap size 256m
power down the phone and put back data into the sdcard. now enjoy swap
well this is my first thread so hope it helps!!
hahaha thank you
every much bs828 !!!
You helped me a lot!!!
Thanks a lot mate.
Edit: will use this on my girls gt540.
These typos was sent from my Nexus S [I9023]
custom rom??
I use this method more than 2 or 3 month, thats nothing new. Mur4ik Swiftdroid roms use this method, automatically find&use SD card's swap partition.
Before that, i made a video for my 2.1 Ultimate rom, how to partition SD card under windows to use swap&ext partition. (I use swapper for swap and joe's autoapp2SD in my ROM) Sometimes it not possible because compatibility problems between win&card readers but newer CWM recoveries able to partition cards.
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
bs828 said:
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
Click to expand...
Click to collapse
hahaha!!!
yeah thanks !!!
i tried it today and it works fine!!!
should be useful if we we ever get ICS
hi, tnx for guide... folowing it i found out that me sdcard was formated like super floppy, maybe that was cose of sdcard unmounting.
LoL hope it helped
Just tried it, works like a charm
Im quite a newbie in this, how exactly does swap and ext porticions work and what do they do ?
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
jasper580 said:
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
lavero burgos' mediafire-folder
http://www.mediafire.com/?dc647azbpozp2#vhlcnb75m7yq7
always the first thing for me if i need something ;D
bs828 said:
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Click to expand...
Click to collapse
thats true except the phones memory is yaffs2
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
vita94 said:
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
Click to expand...
Click to collapse
look in root explorer (or any root file manager), in folder etc/init.d
if there isnt script called 07swapon, the swap wont active. and afaik, mike's ics doesnt have this script. u must add it manually.
Yes take 1 from any rom
How can I open *.img files so I can get the 07swapon file?
Can you give me the download link for swapon file?
So I am not a noob to flashing or to android, but I am fairly new to this damned Galaxy Tab... A friends daughter had a small issue with her tab so she called verizon who had her do a bunch of things to it now it totally wont boot. it givs the "Samsung" screen, then the verizon splash screen but wont go any further. I can get it into download mode and i can get it into recovery, but Im seeing a lot of errors in recovery. I am attaching a pic of that...
I have spent the last two days searching all over for a way to get this darn thing running, eveywhere I read :If you can get to the download screen or into recovery it is easy to recover." Well Im guessing its not always so damn easy....
I have a TAR file that is the stock VZW files and I tried that via heimdall, no go... tried multiple ways, nothing. i had it at one time so the video wouldnt work, I could hear the bootup sounds, but couldnt see anything on the tab... could someone please help me out with this thing?
device is a Verizon branded SCHI800BKV
Here is my recovery screenshot...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
do a wipe data/factory reset in stock recovery, after it ur device will fully bootup
I wish it was that easy.... here is what I get when i try that..
If you notice the empty line in the middle of the red text, the next line states, "Your storage is not prepared yet, use UI menu for format and reboot menus.
I have let it run at the verizon splash screen overnight just incase it was rebuilding Dalvik, but no go.... and of course all verizon tells me is "As old as this is, you would be better off buying the newer version. Should i ring one up for you?"
It seems to me, like the onboard memory is fragged, and not holding the data when I flash via either Odin or Heimdall...
Internal storage is broken.
crap. thats what I thought.... been reading the threads about using a SD card to run and have NO freaking clue how to do that stuff. good thing this isnt my device.
It has just become simpler! CM10 nightlies can be installed without modifications on an external storage card by creating an empty file activate_data_on_sdcard (the name is important) in the root of the card.
ableeker said:
It has just become simpler! CM10 nightlies can be installed without modifications on an external storage card by creating an empty file activate_data_on_sdcard (the name is important) in the root of the card.
Click to expand...
Click to collapse
OK, i just grabbed the latest nightly and the Gapps, but as this tab is NOT rooted, nor does it have ClockworkMod recovery installed, how do i flash it? Just put a file with that name on the SD card along with the zip file for CM10? do i still have to partition the SD card? Damn I feel like a noob...:cyclops:
Well, we don't install CWM on the Tab, we install a kernel that has a recovery that can install unsigned zips from storage. The Overcome kernel is known to work. I believe there's a thread in General with links to the Overcome files.
Partition the card: 1 = /SDCARD, Primary FAT32, most of the capacity of the card (say 25 GB on a 32 GB card, or maybe 13 GB on a 16 GB card), 2 = /DATA, Primary Ext4, 2 or 4 GB, 3 = /CACHE, Primary Ext4, rest of the card.
Download the CM10 nightly and JB gapps and put them on the external card.
Create a file named activate_data_on_sdcard on the card.
Put the Tab into Download mode and flash the Overcome kernel as PDA with Odin. The Tab will not boot normally anymore after you've done this. Power off the Tab.
Boot it into recovery by powering it up while holding down Power on and Volume-up until you see the text Galaxy Tab. It should start the recovery.
Wipe data, cache, and Dalvik cache.
Go to the Install menu and select the option to install from storage. Select the nightly and flash it.
It may start to flash and then reboot into recovery. This should now be the CM10 recovery. Flash the nightly again.
Flash gapps for JB.
If all had gone well the Tab will boot and run from the external card.
Hm, I must have been doing this stuff too long now, because I find this whole process quite logical...
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
ForcedZucchini said:
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
Click to expand...
Click to collapse
EDIT: I misread your question and do not know the answer.
64gb?
Sent from my LG-K530 using Tapatalk
ForcedZucchini said:
I have TWRP recovery and went to Format my phone through TWRP.
After formatting it says in Windows Explorer 50.5 GB free of 53.6 GB.
When I click into the phone in Explorer there are not files and nothing shows up. Is this normal for internal Storage for the phone after a clean wipe?
Click to expand...
Click to collapse
Mine is also the same
jimchee said:
64gb?
Sent from my LG-K530 using Tapatalk
Click to expand...
Click to collapse
Yes this is for the 64GB version.
Here is what file manager is saying, after I have setup the phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The 6GB of 'other' can't be found when browsing the phone.
Sent from my ONEPLUS A3000 using Tapatalk
OP: Did you format it f2fs or ext4? There's approx a ~5 G difference. F2fs leaves less than ext4.. (well, it's faster too for writes, so .. I think well worth it).
It's ok to show that way if you have data on f2fs [emoji4]
Sent from Funk Tuned 3T
i have the same issue and i have been trying to solve it because i remember i had 53 GB free space out of the box. now i messed up something and i have 17 gb only free data partition. any ideas?
Funk Wizard said:
It's ok to show that way if you have data on f2fs [emoji4]
Sent from Funk Tuned 3T
Click to expand...
Click to collapse
Man that Daft Punk logo is epic!
If you're feeling bold you can do some trial and error and allocate your own partition space. But by default you are not going to get all 64gb of the 64gb advertised. Disk space is quite a finicky thing where some storage devices are made better than others. Mine for instance with all my stuff installed with FreedomOS i have 57GB on my phone usable. I don't really do pictures though and hardly have many apps. Its just how technology is. I wouldnt really suggest any manual allocations to specific partitions because you could choke the phone causing either a boot-loop issue or a full bricking of your device. If you need more space you can hop down to best buy and purchase a smartphone external hard drive. Believe it or not phones can actually recognize flash drives and send files to them independently.
i have just formatted my storage in twrp and changed it to EXT4 and to me also its showing 50GB free of 53.6
Seem like some space are reserved for driver image drive which are usually shown up during connecting a PC.
This happened to me when I was changing filesystem (f2fs -> ext4 , and/or ext4 -> f2fs). I would connect my phone to my pc and it would show completely empty storage with around 50gigs free and without any of the usual android system folders. I ignored it and simply went ahead with rom installation from twrp and there were no problems.
Yes, it is normal after you switch /data filesystem
My System files are taking up a lot of space on my 64 GB N6. Trying to figure out what is taking up so much space. Considering the device comes in both a 32GB and a 64GB variant I can't see the OS using 35GB. Any thoughts? Running Lineage OS.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Man0f5tee1e said:
My System files are taking up a lot of space on my 64 GB N6. Trying to figure out what is taking up so much space. Considering the device comes in both a 32GB and a 64GB variant I can't see the OS using 35GB. Any thoughts? Running Lineage OS.
Click to expand...
Click to collapse
I don't understand your explanation. You say in the first sentence that system files are using space, and your second says you're trying to figure out what is using space. If you're rooted you could try DiskUsage. The alternative explanation could be the well-known problem of an update showing only half of your actual storage.
@dahawthorne: He had a screenshot showing system taking up too much space on his LineageOS install. That's not normal, but I think you hit upon the problem. The OP needs to format his internal storage in recovery to resolve this, as I'm willing to bet a userdata.img file was flashed prior to the ROM itself.
Strephon Alkhalikoi said:
@dahawthorne: He had a screenshot showing system taking up too much space on his LineageOS install. That's not normal, but I think you hit upon the problem. The OP needs to format his internal storage in recovery to resolve this, as I'm willing to bet a userdata.img file was flashed prior to the ROM itself.
Click to expand...
Click to collapse
Thanks for your advice. So I don't screw anything up, what options do I need to use when doing a wipe in TWRP?
I had this problem several years ago and I honestly can't remember how I resolved it. A quick search for "Android missing storage" shows a consensus that a factory reset usually fixes it, and if you have just installed LineageOS and don't mind starting all over again that's worth a try. Otherwise I can only suggest doing the reading to find another solution, or waiting for someone with a better memory to help. Sorry...
Edit: Strephon's advice is probably also a way to fix the size (he knows more than I do... ), but note that you'll lose all your data (photos, videos, etc.) in your device. You should never undertake any major update of a device without backing up first, so I'm guessing you've already covered this?
Edit 2: The TWRP option is in Advanced wipe - you have check boxes for system, data, cache, Dalvik & internal storage. When upgrading with a clean flash you wipe the first 4 but not internal storage so that at least you keep your photos on the device. This time you'll be doing the opposite - since it's the internal storage that's the problem, that's the only one you wipe.
@dahawthorne: Regardless of how much I may know, I don't always get it right.
From what I recall, formatting the internal storage is all he needs to do. However, if that doesn't work, the factory reset certainly will. The OP should back up everything onto his PC prior to performing either operation, because he will lose everything, as you note.
So after wiping and reimaging my phone, I found there is an option in TWRP to resize partitions. It's buried under the Wipe menu under Advanced => Repair or Change File System which is why I didn't see it before. I think my problem stemmed from a bad update Google pushed out when I was running the stock ROM. When I originally flashed Lineage it didn't automatically resize the partition like I assumed it would.