Hi All,
I have a Samsung Galaxy S2 LTE (SGH-I727R, but the same as the SGH-I727) and was wondering how a guy would go about re-partitioning the internal storage on the phone.
The phone has 16gb of internal memory. This has been partitioned, from what I can see, into 2gb and 12gb. The 2gb 'system' partition where your OS and apps, etc are installed and the 12gb storage partition for things like photos, music, movies, etc.
I don't store anything on my phone, mostly just photos. So i have approximately 9gb of the 12gb of the 'storage' partition available. However, the 'system' partition is pretty much maxed out. I'm running Vincom's Superlite CM10.2 rom with minimal apps installed, but it says that i only have around 160mb available and I've begun to received the 'low storage space' error/notification.
I understand that I can use Odin to re-partition the device but that I require .pit files in order to do so. Furthermore, the stock .pit files wouldn't change the size of the partitions. Ideally I'd like to increase the size of my 'system' partition and reduce the size of my 'storage' partition.
Can anyone out there help me? Please let me know if you need more info from my device.
That's not gonna happen
Sent from my HTC One using Tapatalk
how come?
messing around with the partitions will most likely hardbrick the device so no one would ever try doing it, the only way your system partition is filling up is if you are manually installing apps into that partition or the partition is messed up, odin back to stock, then wipe everything including preload then do a fresh install of a custom rom
Will do, I'll update later with results. It's weird though, i haven't manually changed the default installation locations for apps, they just automatically install there. I'll wipe and format everything, odin back to stock, flash the latest version of TWRP and then flash SL CM10.2 and let you know.
Thanks for the help Vincom.
PS - Great roms, thank you for the contributions to the community!
Odin'd back to stock, wiped everything (cache, dalvik, system, data, android secure), formatted USB storage, Odin'd TWRP 2.6.3.0 - everything went fine in that respect.
Booted into recovery, went to flash SL CM10.2 (i dropped these in 'external_sd' after formatting usb storage) and got the following error during the 'making sure you really do have the skyrocket and jb radio' sequence:
'assert failed: run_program (" /tmp/test_radio_vers
E:error executing updated binary in zip '/sdcard
Error flashing zip '/sdcard/external_sd/CM-10.2_
Updating partition deatils...'
Seeing as how I'm attempting to flash from stock rom (which was a GB rom) does it matter that the test sequence is looking for a JB radio?
Thoughts?
also noticed that it won't let me wipe 'data' in TWRP... says failed, with the error 'unable to wipe /data'
rebooted into recovery and now it will let me wipe 'data'....wtf is going on with my phone?
you need todo more reading as u need jb radio or else it will not install cm10.2+ and post an error and sometimes after the error twrp should be rebooted to properly unmount/mount partitions, i think the phone is fine, but the user is another matter..........
i guess i didn't really flash a custom rom until after i upgraded to the Rogers release of JB...? Can't remember... anyhoo, could I simply flash your SL Rogers JB 4.1.2 to obtain the JB radio and then flash SL CM10.2?
Or is there a flashable zip for the radios? I could have sword I saw those some place, but i can't find them now...
banghead
|Read This b4 posting | THE MOST Common Questions Answered HERE | its a sticky right above ur post
thanks for acknowledging/tolerating my stupidity/ignorance, both the 'read this before you post' and '1 stop' threads were helpful.
i did have one more perhaps stupid question that wasn't answer in either of those threads (or at least that I could find), I got SL CM10.2 up and running...bare bones. When checking storage in the settings app, it told me that my total space was 1.97gb and that i had 1.92gb free.... cool. I then rebooted into recovery and flashed gapps lite (12mb) and email/exchange. Rebooted my phone, checked my storage and now i have 432mb free...? This is exactly where i started... i have no apps other than what came with SL CM10.2, gapps lite and email/exchange and only have 432mb available.... any ideas as to what's going on here?
comparatively, i checked my 'apps' in settings, the 'downloaded' tab has nothing, the 'on sd card' tab has nothing, and the 'all' tab indicates that i've used 1.5gb of my internal storage, but when i tally up all the apps in the 'all' tab it totals approximately 40mb... I'm really stuck and it's really starting to frustrate me....
You're frustrating everyone. Do some reading bro.
Sent from my HTC One using Tapatalk
went back and factory reset my phone and even though the apps are all still there, it now says i have 1.92gb available... any idea what might be going on?
nobody is forcing you to read the thread dude...
Jrock_Xtreme said:
went back and factory reset my phone and even though the apps are all still there, it now says i have 1.92gb available... any idea what might be going on?
Click to expand...
Click to collapse
Sounds like you may have been installing the ROM incorrectly. Also one of the first steps of troubleshooting odd issues is a factory reset (Which MUST be done when installing roms of different types) Coming from TW and going to CM like you did requires FULL wipe!!
Jrock_Xtreme said:
nobody is forcing you to read the thread dude...
Click to expand...
Click to collapse
A response like that is not going to help you get too much help around here. @xcrazydx is correct. It sounds like you need to do some more ready.. especially if you are thinking of messing with partitions.
OK wow thread didn't load before I tried to answer lol. Anyway dude is a brick in the making.
Sent from my SGH-I727 using Tapatalk
i did factory wipe before and after flashing each of the roms. As i stated above, the storage glitch occurred after installing gapps and email/exchange... i only wiped cache/dalvik after installing those two. I suppose i should have factory wiped to be safe...
The reason i came asking about repartitioning and .pit files was because i had already searched and found a dev that had created custom partition tables (pit files) but they were for a different phone. I just wondered if anyone in this forum had seen and/or created them.
If not, that's cool, but i figured I'd ask. The only stupid questions are the ones you don't ask!
Related
So after rooting and flashing the "Clean" ROM v1.1 I had internal storage issues. First the gallery app would not work. It would give me a message "not enough memory" when trying to open it. Also I could not save any downloads, I would get a message that download failed. So, I recovered to the stock ROM provided in the guide (I have a GT-p5113). Recovering to this stock ROM fixed the above issues. However at this time I noticed that my internal storage shrank from the stock 16GB to about 2 GB total (even if i deleted everything my total internal storage would only be 2GB). So it's like my internal memory went from 16GB to 2GB for no reason. See attached screenshot. I'm not sure if that happened after installing the custom "Clean" v1.1 ROM or when I recovered back to the stock ROM. I've since flashed both the "Infected" ROM and the CM9 ROM and with those I still have the reduced storage area and the problems with the gallery app and inability to save downloads.
Anyone have any ideas what happened and how I can get my storage space back?
Same Problem here
Im having the same problem with mine Ive flashed all three of those roms and have no internal storage space left really. the Misc Files in internal storage has jumped to 8.34 GB and an available 2.18 left.
Please someone help us.
P.S. if you figured out how to fix this please post back.
Thanks!
Gallery "not enough memory"
Similar issue. Tried wiping Dalvik but still not working. Installed 3 times wiping data each time. Any ideas?
Same exacts specific problem as kdubbfive.
im not sure Dunkn.Mynes has the same problem. He is losing free space as if something is taking up room .Dunkn, check you r. clockworkmod directory isnt on your internal memory, taking up more room each time you r un a back up.
Just to underline kdubbfive's problem.
have gt-p5113 - same here
installed cleanrom 1.1 - - same here here
total internal memory shrunk from 16gb to 2gb - same here
restored and tried other roms, internal memory remains 2gb
Weird thing is i had the exact same problem putting clean rom on my phone - Motorola atrix
if i dont he of any fixes ill probably try factory restore with kies and the computer image. i only have a chinese stock image that is suppoosed to be the same as USA version. but I'm not convinced of it.
ill post if i get the nerve to try this our find another fix. if anyone has stock image for gtp5113 p please post. good luck.
Thanks for the Info - Hope to find Solution
Glad to hear someone else is having the exact same issue. I've been going crazy trying to find a solution. Please post if you are successful. I'll do the same.
SaintMatthew said:
Same exacts specific problem as kdubbfive.
im not sure Dunkn.Mynes has the same problem. He is losing free space as if something is taking up room .Dunkn, check you r. clockworkmod directory isnt on your internal memory, taking up more room each time you r un a back up.
Just to underline kdubbfive's problem.
have gt-p5113 - same here
installed cleanrom 1.1 - - same here here
total internal memory shrunk from 16gb to 2gb - same here
restored and tried other roms, internal memory remains 2gb
Weird thing is i had the exact same problem putting clean rom on my phone - Motorola atrix
if i dont he of any fixes ill probably try factory restore with kies and the computer image. i only have a chinese stock image that is suppoosed to be the same as USA version. but I'm not convinced of it.
ill post if i get the nerve to try this our find another fix. if anyone has stock image for gtp5113 p please post. good luck.
Click to expand...
Click to collapse
Solution
kdubbfive said:
Glad to hear someone else is having the exact same issue. I've been going crazy trying to find a solution. Please post if you are successful. I'll do the same.
Click to expand...
Click to collapse
HERE's what worked for me (kind of a complete wipe)
I'm a novice, first time writing instructions, and 2nd time ever posting so let me know if I missed something, and I'll try to get back to you on it.
Make backups as best you can (CWM recovery, Titanium, nandroid)
ALL DATA WILL BE LOST. Haven't tried recovery of data yet. That's the concept behind all the backups above.
Not sure all was neccessary, or what step was key so here is all of it:
Install Kies http://www.samsung.com/us/kies/
Connect tablet and follow any Samsung Instructions exactly
What is says there is updated ROM available, allow it to to install.
On reboot your system will not be rooted, and data will be there (only for the moment), on mine internal storage was still 2GB
Do a factory reset, wipe any cache and all that. Maybe repeat for good luck.
Follow the rooting instructions exactly here including re-downloading files and following all precautions:
http://forum.xda-developers.com/showthread.php?t=1657056
(I noticed the cwm file has a PIT file in it which relates to internal memory partitioning. I suspect this may have been key here.)
Follow instructions all the way to the end.
In the end I had 12GB internal which is normal because I think there are 2 2GB hidden partions there for ROM and maybe swap file, I don't know)
I'm going to make a backup now, then go back to see what I can recover. On second thought, maybe I'll just start fresh. Also, I think I'm done with custom roms. I can deal with the junk Samsung programs for the sake of dependability.
Good luck. I'll check back to see if you have questions.
Thank You!!!
Worked like a charm! Thanks, a million!
SaintMatthew said:
HERE's what worked for me (kind of a complete wipe)
I'm a novice, first time writing instructions, and 2nd time ever posting so let me know if I missed something, and I'll try to get back to you on it.
Make backups as best you can (CWM recovery, Titanium, nandroid)
ALL DATA WILL BE LOST. Haven't tried recovery of data yet. That's the concept behind all the backups above.
Not sure all was neccessary, or what step was key so here is all of it:
Install Kies http://www.samsung.com/us/kies/
Connect tablet and follow any Samsung Instructions exactly
What is says there is updated ROM available, allow it to to install.
On reboot your system will not be rooted, and data will be there (only for the moment), on mine internal storage was still 2GB
Do a factory reset, wipe any cache and all that. Maybe repeat for good luck.
Follow the rooting instructions exactly here including re-downloading files and following all precautions:
http://forum.xda-developers.com/showthread.php?t=1657056
(I noticed the cwm file has a PIT file in it which relates to internal memory partitioning. I suspect this may have been key here.)
Follow instructions all the way to the end.
In the end I had 12GB internal which is normal because I think there are 2 2GB hidden partions there for ROM and maybe swap file, I don't know)
I'm going to make a backup now, then go back to see what I can recover. On second thought, maybe I'll just start fresh. Also, I think I'm done with custom roms. I can deal with the junk Samsung programs for the sake of dependability.
Good luck. I'll check back to see if you have questions.
Click to expand...
Click to collapse
P6800 running Zeta
I was browsing facebook the other night when... shaboom - everything froze. No biggie I thought, I'll just do a little reset (I was getting a few FCs here and there anyway lately) and I'll be good to go...
NOPE. It started bootlooping at the initial Samsung Galaxy Tab 7.7 screen. I'm able to enter CWM recovery and even wipe the cache and flash ZIP files, but when I try to wipe data/factory reset, wipe the Dalvik cache or restore a Nandroid backupI get a System Error. It doesn't look good.
Is there a way to fix my seemingly funked /system without losing all my internal SD card data (where my Titanium backups reside) or to recover it before a full Odin flash?
Just tried again - it reboots and goes into a loop when I try to wipe data and dalvik, and when I try to restore a previous backup it gives me "Error while restoring /system!"
Any help greatly appreciated before it becomes a $600 door stop
Do you dare to wipe the system folder and follow by flashing another ROM?
Sent from my GT-P6800 using xda app-developers app
iena said:
Just tried again - it reboots and goes into a loop when I try to wipe data and dalvik, and when I try to restore a previous backup it gives me "Error while restoring /system!"
Any help greatly appreciated before it becomes a $600 door stop
Click to expand...
Click to collapse
ok... try go long way... download old HC stock rom and install that... then try go to stock recovery in hc and wipe your data
Thread moved to Q & A section, post in the relevant section next time.
edan1979 said:
ok... try go long way... download old HC stock rom and install that... then try go to stock recovery in hc and wipe your data
Click to expand...
Click to collapse
Do you mean via Odin? Will I lose the data on my internal SD card by doing that? Is there any way of mounting the device in its current state as external storage on my PC to copy all data before a wipe?
ZhenMing: I'm not sure what you mean, but as I wrote above I am not able to wipe the system folder.
yes you will loose your data... i can give you another advice... but do this one carefully... the reason why your device cant wipe any /system or /data is because the corrupted partition... you need to check it... follow the guide in this thread...
USE ONLY PART 3... follow the guide start from this para to check your device...
Code:
Now we are going to use e2fsck to check our new partitions for errors, but not only, it also fixes some erros and it will even for example create lost & found in /data
So let's go, we'll begin with /system. If you're still in the (parted) shell, use ctrl+c and type "adb shell", then issue the following :
http://forum.xda-developers.com/showthread.php?t=1862294
iena said:
Do you mean via Odin? Will I lose the data on my internal SD card by doing that? Is there any way of mounting the device in its current state as external storage on my PC to copy all data before a wipe?
ZhenMing: I'm not sure what you mean, but as I wrote above I am not able to wipe the system folder.
Click to expand...
Click to collapse
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
edan1979 said:
yes you will loose your data... i can give you another advice... but do this one carefully... the reason why your device cant wipe any /system or /data is because the corrupted partition... you need to check it... follow the guide in this thread...
USE ONLY PART 3... follow the guide start from this para to check your device...
Code:
Now we are going to use e2fsck to check our new partitions for errors, but not only, it also fixes some erros and it will even for example create lost & found in /data
So let's go, we'll begin with /system. If you're still in the (parted) shell, use ctrl+c and type "adb shell", then issue the following :
http://forum.xda-developers.com/showthread.php?t=1862294
Click to expand...
Click to collapse
But won't it downsize the int sd size, if OP tab still under warranty, better to get it fix by samsung for free and not lost any space.
Just reading the 1st post of the ZETA rom thread.
He says he is using stock Kernel.
He says every 5 lines, that you should full wipe...
without giving any sort of warning that it will eventually brick your device.
friedje said:
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
Click to expand...
Click to collapse
Tried that one, but it won't mount unfortunately. The external will no problem, but when I try with the internal it just... well it does nothing. It's a bummer cause all my most recent backups are on the internal. Any other way of retrieving my data short of extracting the chip?
Giving it back to Samsung sounds like the best option, but I'm worried cause it has a custom ROM and it's rooted. Anyone has experience doing that?
Also I thought full wipes were good, but you're saying they eventually brick the device? How come? I thought having a custom recovery meant it would be virtually impossible to brick my device... and the weird thing is that it happened during normal usage, not while flashing.
Anyway, my priority is obviously to get my tab working again, but retrieving my internal data is second highest. Isn't there a flashable ZIP that would copy the contents of the internal SD into an external SD card? Surely this has happened to someone before me?
Thanks for all the answers, really appreciated!
bruce16878 said:
But won't it downsize the int sd size, if OP tab still under warranty, better to get it fix by samsung for free and not lost any space.
Click to expand...
Click to collapse
nope it wont... the 3rd stage on that thread command for just check and fix the corrupted partition... its like when we force boot windows... it will run on a little diagnostic software to check the drive... same concept.
Oh I see, Thanks for the explanation. Learn something new today.
Sent from my LT18i using xda app-developers app
friedje said:
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
Click to expand...
Click to collapse
edan1979 said:
nope it wont... the 3rd stage on that thread command for just check and fix the corrupted partition... its like when we force boot windows... it will run on a little diagnostic software to check the drive... same concept.
Click to expand...
Click to collapse
Gotcha! Will try that one and post result - thanks!
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
JAYZE said:
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
Click to expand...
Click to collapse
Thanks for that. I haven't tried anything yet as I'm away till Weds, but I will then and let you know. So you're saying by flashing stock HC via Odin and wiping/resetting everything through stock recovery I won't lose my internal storage data?
that's what i experienced..but i could not guarantee that it will be the same for your device
i noticed that because old folder are not deleted when i rebooted, but i haven't checked if the system folders are cleared
to have a clean reflash i also format/sdcard on recovery..but don't do this on stocl ICS recovery since you might risk increasing the damage
try to format via odin the Honeycomb fw first [don't put PIT file neither enable Repartion, just normal flash]
then force it to enter recovery mode when it bootloops after reset
you might fix your device this way if it has softbrick
just resort to using PIT/repartition as your last option
Again I would not recommend repartition when tab still under warranty. Repartition the last resort only if the tab is without warranty after failing all other alternatives.
JAYZE said:
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
Click to expand...
Click to collapse
+1
After a full hangup, your stock hc is your first step out of the dark!
Best of luck
al128 said:
+1
After a full hangup, your stock hc is your first step out of the dark!
Best of luck
Click to expand...
Click to collapse
Ok I'm gonna do it. There are dozens of versions of HC for the 6800 though, can I just pick any or do I need to find out what it was running out of the box? Mine came from Singapore.
I'm having trouble getting feedback, and Google is of little help. I'm sure I'm not the only person with this problem but I can't find anyone else with the answer so I'm hoping one of you has a link to my answer.
Anyways I got a GoTab 6Inch running 4.0.4
It came stock with a main partition of 400MB and an SD partition of 2.3GB.
Out of both of these partitions, the 400MB one was protected in and the 2.3GB on could be "erased" by going into the settings and then storage. So I decide to "Factory Reset" and check the "Erase SD card" box.
Well with no warning from the tablet's home page or included instruction booklets, they say nothing about what was on this "free to erase" open partition. Apparantly it had some way-important files as I now can't get into recovery menu. The 400MB partition went down to 0.00MB but somehow has 39MB reserved for apps. And the 2.3GB is empty as 2.3GB. As well as no recovery menu, you also can't format to factory settings now.
Since the main partition is 0.00MB, you can't install or update apps. Also settings can't be saved, so every app is booting up as if its the 1st time every time.
If I learned anything from my Android 1.5 guides I used to read about 4 years ago, I think I need to somehow manually root, flash a new recovery, make a partition or two, and flash a whole new kernal/OS. Can anyone help with this? Getting a new recovery and partitions working properly is of the utmost imprtance because now if something goes wrong, I cant go into recovery to unbrick a device.
hello?
I flashed the latest sense 4.0 rom by apex-predator, followed all the instructions, and it didn't boot. I changed the sd-ext to ext3 as in case of any boot up problem, but to no use. Then I decided to flash stock rom, it didn't work either but earlier everything was working fine in this case, i mean flashing roms, stock and / or custom ones.
Moving over, I installed Xenon Systems rom, it successfully booted but after initial setup it gave my an annoying low internal memory notification, whereby I just completed the initial setup and didn't install any new apps except that came with the rom. It shows about 248 KB or so left.
I am unable to open messages, make phone calls n bla bla that need some memory. FYI, the rom was not overclocked and everything was previously working fine without overclocking as some threads suggest that overclocking may fry the NAND storage.
Looking forward to a positive reply on this issue.
Regards.
Give a try to NAND recovery process by cute prince.
Sent from my HTC Explorer using xda premium
Can you send the link to cute prince's thread, please!!
vikingmax said:
Can you send the link to cute prince's thread, please!!
Click to expand...
Click to collapse
here you go
but before doing process check that you have wiped phone clean via CWM or TWRP ie factory format/reset, format system, dalvik, sd-ext......install a known working rom and check internal space left, if you still have low space issue then following the proceedure in the link below.......use at your own risk
http://forum.xda-developers.com/showpost.php?p=36868966&postcount=2367
LiVeRpOoL-FaN said:
here you go
but before doing process check that you have wiped phone clean via CWM or TWRP ie factory format/reset, format system, dalvik, sd-ext......install a known working rom and check internal space left, if you still have low space issue then following the proceedure in the link below.......use at your own risk
http://forum.xda-developers.com/showpost.php?p=36868966&postcount=2367
Click to expand...
Click to collapse
Here's the deal now. I am using TWRP and I wiped everything you said above. Stock rom is not able to boot, but Xenon System's rom made it through. It still gave low memory notification. I reverse mounted the memory and it worked for now. Showing 1.5 GB as internal memory, as I have allocated that much for sd-ext partition.
What do you suggest now, shall I try cute prince's tutorial, coz I think the above thing is temporary with this rom and low memory issue will come again if I again flash stock rom or some other custom rom.
Regards.
So I was trying out a new ROM and I accidentally wiped my internal storage via latest TWRP. No big deal, phone is new and I really only had ROM and kernel files on it.
There's no more files on my SD card, nothing to install. I ADB pushed a ROM and kernel and started over. Installed and rebooted and to my surprise I saw Optimizing App 1 of 193... I got all rebooted and my apps were still there. I searched XDA, but I think it's down ( I searced a ROM thread looking for another answer, but it gave back 0 results. I looked back a couple pages in the thread and found the answer with the keyword(s) I used.. ).
So why didn't wiping internal storage take out my apps? I mean hey, my NANDroid backups got deleted so I'm not complaining lol but yeah, I still have all my apps. Can anyone help me understand what happened?
Edit: Forgot to mention, I wiped EVERYTHING in TWRP. Nuked the phone. Advanced wipe > system, data, cache, dalvik and internal storage
RoyJ said:
So I was trying out a new ROM and I accidentally wiped my internal storage via latest TWRP. No big deal, phone is new and I really only had ROM and kernel files on it.
There's no more files on my SD card, nothing to install. I ADB pushed a ROM and kernel and started over. Installed and rebooted and to my surprise I saw Optimizing App 1 of 193... I got all rebooted and my apps were still there. I searched XDA, but I think it's down ( I searced a ROM thread looking for another answer, but it gave back 0 results. I looked back a couple pages in the thread and found the answer with the keyword(s) I used.. ).
So why didn't wiping internal storage take out my apps? I mean hey, my NANDroid backups got deleted so I'm not complaining lol but yeah, I still have all my apps. Can anyone help me understand what happened?
Click to expand...
Click to collapse
I dont know the specific options in TWRP, but generally "Internal storage" refers to /sdcard and nothing else.
If you're unsure of how the N5 "memory" is set out, have a look here:
Please forward this on to any interested parties who may have been missed
*see edit, sorry
RoyJ said:
*see edit, sorry
Click to expand...
Click to collapse
No idea then. Ask the TWRP devs. Obviously something failed.