[Q] at&t s4 i337 stock rom reduction? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

On my I337 (rooted with SAFESTRAP 3.71), my STOCK ROM DATA partition is 9970MB with CACHE PARTITION AT 2046MB. I'm not sure how these were set (loaded a base 4.3 with ODIN), but when trying to load HYPERDRIVE in ROM-SLOT, TWRP shows only 12MB free! Nothing is on my device (like music, big files, etc), because I use the 32G external memory. My question is this (based on all I read), is it possible the STOCK ROM size might be reduced if I do a FACTORY/DATA/CACHE RESET and reinstall my backup from TWRP? Not sure what is consuming space and if you can't repartition it without losing the root...I'm not sure which way to proceed being I got this far. Any help regarding this would be greatly appreciated.
PS: the storage indication from within system shows: system 6.26G, used space 1.18G, cache 66MB, misc file 353MB, avail space 8.15G

beachbacon said:
On my I337 (rooted with SAFESTRAP 3.71), my STOCK ROM DATA partition is 9970MB with CACHE PARTITION AT 2046MB. I'm not sure how these were set (loaded a base 4.3 with ODIN), but when trying to load HYPERDRIVE in ROM-SLOT, TWRP shows only 12MB free! Nothing is on my device (like music, big files, etc), because I use the 32G external memory. My question is this (based on all I read), is it possible the STOCK ROM size might be reduced if I do a FACTORY/DATA/CACHE RESET and reinstall my backup from TWRP? Not sure what is consuming space and if you can't repartition it without losing the root...I'm not sure which way to proceed being I got this far. Any help regarding this would be greatly appreciated.
PS: the storage indication from within system shows: system 6.26G, used space 1.18G, cache 66MB, misc file 353MB, avail space 8.15G
Click to expand...
Click to collapse
The stock slot will never be reduced as it's the basic internal storage. Safestrap doesn't partition the internal storage, it makes image files where it holds all the slots on the internal storage. The 12mb thing is a glitch and i don't remember how to fix it if possible.

No space for adding custom ROM (S4, i337)
DeadlySin9 said:
The stock slot will never be reduced as it's the basic internal storage. Safestrap doesn't partition the internal storage, it makes image files where it holds all the slots on the internal storage. The 12mb thing is a glitch and i don't remember how to fix it if possible.
Click to expand...
Click to collapse
Well, you guys would know. If there is a lead or something you can think of regarding the "glitch"...it would be greatly appreciated. Just asking, is it possible the STOCK ROM size/usage might be reduced if I do a FACTORY/DATA/CACHE RESET and reinstall my backup from TWRP? If so, which ones (ie. just Cache, Data, or Dalvik) so that I stay rooted and can restore my backup? Thanks in advanced.

beachbacon said:
Well, you guys would know. If there is a lead or something you can think of regarding the "glitch"...it would be greatly appreciated. Just asking, is it possible the STOCK ROM size/usage might be reduced if I do a FACTORY/DATA/CACHE RESET and reinstall my backup from TWRP? If so, which ones (ie. just Cache, Data, or Dalvik) so that I stay rooted and can restore my backup? Thanks in advanced.
Click to expand...
Click to collapse
The size of the stock slot doesn't change, and shouldn't. Even if you restore a ROM slot to the stock slot, it will use the full space of the phone.

Only 12mb free for rom-slot1
DeadlySin9 said:
The size of the stock slot doesn't change, and shouldn't. Even if you restore a ROM slot to the stock slot, it will use the full space of the phone.
Click to expand...
Click to collapse
So perhaps I'm not asking the right question??? What would limit the ability to create/activate ROM SLOT1, if what you say (the STOCK SLOT) has no effect on the space available? Could it be a ghost remnant from MF3? Seems the question has been asked with no resolution?

Related

[Q] Use Larger CWM recovery size than needed?

I'm trying to flash a rom for example http://forum.xda-developers.com/showthread.php?t=1100707 and requires 260m recovery size and 1gb partition.
My phone currently has a 400m recovery and 1gb partition from previous rom. Would it be possible if I just installed the new rom without changing recovery to 260m?
If possible any side effects?
Googled b4 and no results...
Ok tried it and booted successfully.
Problem was that I had almost no storage space..
calvinfoo said:
Ok tried it and booted successfully.
Problem was that I had almost no storage space..
Click to expand...
Click to collapse
Hi,
The point of the correct CWM size is to accommodate the system for the ROM you are using.
It only needs to be a little bit bigger than the actual system itself.
The rest of the space can then be allocated to the internal memory and therfore be used to install apps.
If you use a CWM that is too big,you will have no room for your apps etc. as you found out.
It's not difficult to re-partition your CWM especially now that KSUBEDI has made THIS TOOL (Don't forget to thank him).

Does flashing a ROM normally wipe not only system but also data and sdcard?

I just tried a ROM for the first time on my Nexus 7 (though I've used a lot on my past phones) and holy ****, coming from a non-Nexus device, I wasn't expect this, it wiped out my internal storage partition (/sdcard) as well as my data partition.
Losing the international storage partition is really painful, as that's where all my clockworkmod backups were.
Does this happen every time a ROM is flashed on a Nexus 7? (In case it makes a difference, this is the ROM I flashed.) Does this happen every time an update to a ROM is flashed?
For future reference, is there any way to try ROMs and flash updates without wiping out my whole internal storage?
Do you have a 3G?
Sent from my Nexus 7 using xda app-developers app
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
dparrothead1 said:
Do you have a 3G?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I have a 3G.
corumuk said:
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
Click to expand...
Click to collapse
So what do people normally do when an update to a ROM comes out? Do they fully backup everything and then do an advanced restore in CWM to get back their data? Or are most people starting fresh on every ROM update?
corumuk said:
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
Click to expand...
Click to collapse
What?
A rom shouldn't wipe the Emmc (internal sdcard), coming from Samsung phones that all have 16gb of internal storage plus a slot for an external card, i have never had it wipe my storage. Either internal or external.
I have also flashed a few roms on the Nexus and the ONLY thing that wiped my storage was unlocking the bootloader.
Looks to me like you were answered in the ROM Thread that you referenced.
http://forum.xda-developers.com/showthread.php?p=35322271
Sent from my Nexus 7 using xda app-developers app
Based on my experience with the original Droid, flashing a new rom usually calls for wiping system, cache, data, boot, and dalvik. Internal memory data is deleted, but external microsd storage is not cleared. The N7 only has internal memory, and that is cleared when doing the wipes prior to installing a new rom. You should copy pictures, video, documents, downloads, music, saved texts, etc. to a pc or OTG storage along with the backups before the new rom.
Wiping system and data in recovery does not touch /sdcard. sdcard should remain intact unless flashing a factory image.
regalpimpin said:
Wiping system and data in recovery does not touch /sdcard. sdcard should remain intact unless flashing a factory image.
Click to expand...
Click to collapse
This.
If you want to be completely and absolutely sure it will not delete anything, open the zip go to:
META-INF/com/Google/android and open up the updater-script file in a text editor, look through and you will see every command that is given in the flash.
You will most likely only see it format the /system partition. Which is why you manually have to do a factory reset in recovery, which formats
/data (where your user apps and preferences are stored, as well as the dalvik cache is)
/cache
And the android secure file which is in fact located on the Emmc, but that is the only file on that partition it touches.
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
fastboot -w flash system system.img
Click to expand...
Click to collapse
That -w flag is what wiped my internal storage.
manekineko said:
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
That -w flag is what wiped my internal storage.
Click to expand...
Click to collapse
So what did you do with that ?
manekineko said:
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
That -w flag is what wiped my internal storage.
Click to expand...
Click to collapse
@manekineko @studacris Can you please elaborate, what do you mean by that ? I am intending to flash a different ROM on a different device.I extracted the firmware zip and checked every file but couldn't find "wipe (-w) in fastboot with system.img".
Thank you

[Q] System memory

System memory is almost full and I only have about 1gb left of internal storage. I save almost everything on my external card. Can any one help me out?
RJ
Looks like you're running Safestrap. You cannot access the entire 32GB if you're on a ROM slot. You can max out the system and data partitions but I think they are limited to 4GB.
haza12d said:
Looks like you're running Safestrap. You cannot access the entire 32GB if you're on a ROM slot. You can max out the system and data partitions but I think they are limited to 4GB.
Click to expand...
Click to collapse
I am running safestrap. I like being able to back up with ease but I don't think I like the memory loss. Any other options that I have?
RJ
you can restore your custom rom on the stock partition. That way you have access to all 32 gigabytes of memory. Make sure you do a backup of your stock rom before you do anything
Check out this thread for more info. http://forum.xda-developers.com/showthread.php?t=2521899

[Q] Device internal memory shrinks after every flash?

I am using Hongkong version of SM-N9005, everything worked just fine earlier, but recently after I flashed stock NB3 the total amount of internal storage I could use cut down to about 28GB. Then I tried XNOTE v10 and official CM11 as well, but the internal memory kept getting smaller and smaller after every flash as I could see it when I attached my phone to my computer. I tried factory reset in the ROM and also wipes in CMW recovery, but neither seems to be working. And I found out that Storage→System memory took up a space about 6.5G.
Does anyone have an idea about this? How should I wipe correctly and get my memory back? Thanks in advance.
When flashing in cwm I usually wipe in mounts and storage first. Research which ones to wipe...as I cant remeber which ones exactly. Things like format cache...format system...format sdcard(but the internal sd card - what it is named depends on which recovery is flashed)...just remeber this will wipe alk ur internal data like game saves, game data, local pictures etcetc...but should clear the excess storage being used.
Example...if you flash CM11 it uses a seperate sub-directory as main storage...and reverting back to stock changes to normal but the CM11 directory remains...something similar to sdcard/0/ ...soooo....if you are on stock now...use a file manager and if you have a folder named '0' ypu can usually delete what's in there...but the folder itself remains unless u change write permissions or formate ur internal storage.
Sent from my SM-N9005 using XDA Premium 4 mobile app
ZH_Ray said:
I am using Hongkong version of SM-N9005, everything worked just fine earlier, but recently after I flashed stock NB3 the total amount of internal storage I could use cut down to about 28GB...
Click to expand...
Click to collapse
It is not uncommon for stock ROMs released by Samsung to come with a new partitioning scheme to make slightly more space in certain partitions. In this regard the HK N9005 was already known to have a system partition that was smaller than the EU N9005 (which resulted in some of the problems seen when the first XEO 4.4.2 leak was attempted on HK 9005).
"fastboot flash userdata userdata_64g.img"
xclub_101 said:
It is not uncommon for stock ROMs released by Samsung to come with a new partitioning scheme to make slightly more space in certain partitions. In this regard the HK N9005 was already known to have a system partition that was smaller than the EU N9005 (which resulted in some of the problems seen when the first XEO 4.4.2 leak was attempted on HK 9005).
Click to expand...
Click to collapse
Fix partition table with this:
http://www.androidheadlines.com/2014/07/android-flash-oneplus-one-stock-cyanogenmod-11s.html

[HELP] Partition issue, no more space for apps

Hi all, thanks for kind support,
I've a 900V CID11 bootloader locked, unrooted, I installed MM 6.0.1 by safestrap.
MY phone is 16GB but it looks I've really small space for apps, someone can kindly describe me how the storage is allocated?
As I guess reading around, the safestrap eat me 2,5gb for some reason, then there is the rom space, then the "sdcard" folder for data. On sdcard I still have 500MB available but I think the phone doesn't want to use them for installing apps. I've 32GB SD but it looks also that with uroot phone I can't move apps there.
Any way to expand the space for installing apps? Any way to repartition the space? Use the 2,5gb of safestrap? Maybe repeat the procedure using flashfire?
By now I've a serious limitation. Thank you for help
I ask kind help, thank you
Well your only option is to look up how to use your 32gb as card as adoptable storage
SuperBrolySSJ said:
Well your only option is to look up how to use your 32gb as card as adoptable storage
Click to expand...
Click to collapse
thanks for answer,
may you kindly explain me breifly how the whole storage is allocated on the phone memory? What can it change if I'll have root (what can I edit/reallocate) and if one day someone will unlock the bootloader and I can load everything? (can I use the supposed 2,.5GB safestrap partition as system?)
Thank you
help needed to understand, thank you
do you need to know how to use the adoptable storage? And sorry for taking so long
I would know how 1)
Android partize the internal memory,
2) why data wipe is not wiping the /sdcard folder (I'm speaking about intenal memory),
3) if there exist a ROM partition and if it the same of "System" or two different
4) if it is possible to edit files inside System and ROM with root permissions
5) if System has a rigid partition size, or depends on the quantity of internal, and which criteria is used to assign the space.
6) If gapps are all stored in System
7) Where the 3rd party apps are stored
8) Where folder data is located, and it's not /sdcard folder.
9) if safestrap eats 2,5GB of space and hide it from a file explorer.
10 ) if it's possible to reduce safestrap partiton
11) if the space used from safestrap reduces directly the "system" partition, or even "data" and "/sdcard"
12) if it's possible to edit the partitions size, for example I've a big SD card and I sould like to use the internal memory almost for installing apps.
Thank you a lot!!! I can't find such infos.. and that is quite amazing. You can answer briefly
somebody can help clear? Thank you
Hopefully somebody can reply me, thanks
Do you still need help
Yes please, I would know how Android works with the storage, I think there are some hidden partitions that I can't see with xplore, containing ROM.
Xplore tells I've 11GB internal memory (and the phone has 16, where are othere 4/5?)
And also tells that:
root total amount is 2,47 GB, free 16%of 11GB=1,7GB
Internal storage (SD card folder)= 1,44GB, , free 16%of 11GB=1,7GB
2,47+1,44+1,7=5,61, where are other 5GB to make 11GB?
I think I lost somewhee 9 GB!
Thank you for help!
This might explain it more
Barabba11 said:
Yes please, I would know how Android works with the storage, I think there are some hidden partitions that I can't see with xplore, containing ROM.
Xplore tells I've 11GB internal memory (and the phone has 16, where are othere 4/5?)
And also tells that:
root total amount is 2,47 GB, free 16%of 11GB=1,7GB
Internal storage (SD card folder)= 1,44GB, , free 16%of 11GB=1,7GB
2,47+1,44+1,7=5,61, where are other 5GB to make 11GB?
I think I lost somewhee 9 GB!
Thank you for help!
Click to expand...
Click to collapse
http://indiatoday.intoday.in/techno...hone-has-12gb-storage-available/1/411117.html
What you are saying sounds about right with safestrap and rom slots. And 16gb just isn't all that much space to work with.
Root Essentials will allocate your sd card for you. https://play.google.com/store/apps/details?id=com.superthomaslab.rootessentials
Also, with safestrap...are you using the main rom slot to boot into? if not, you should, then delete the other rom slots, that will free up a ton of space. plus if i were you, i would get rid of safestrap and flash TWRP on your phone. http://forum.xda-developers.com/ver...t/rd-unlocking-galaxys-s5-bootloader-t3337909
Good luck
I thank you very much for your kind help!
Let's proceed by order, ok about the real 14,6GB, but does the ROM shows itself in xplore in the root folder? I think it should.. like I can see C:\ on the windows OS with all the system files. Or does Android hide the ROM files?
I agree about Safestrap caused it, I used it to mount the Android 6, I unfortunately have a CID11 S5 and I can't have it rooted, how can I recover the Safestrap wasted space? I think I'm using only the main ROM, I followed the procedure to root Lollipop and upgrade with Safestrap to MM.
Thank you a lot!
Any help here? Thank you a lot!

Categories

Resources