[Q] partitions messed up - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Ive been flashing for a while now. Just recent my phone got stuck on the "Galaxy S4" screen amd I had to restart like 15 times and reflash a few times before it booted into the rom. Now I see that I only have 3.5GB of internal space left. Even off od a fresh flash with a complete format. I even fomatted all data in TWRP amd all that. How do I get my space back?
Do I use odin and check off the repartition tab?
Sent from my SGH-I337M using xda app-developers app

Do not mess with odin and check repartition. This will do nothing but brick your phone. If any thing, use your custom recovery and format storage, but be prepared to lose everything. First find out what's taking up all the space.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

I've heard of problems after formatting /data in twrp on this device. You may consider flashing back to stock and starting over

Keep in mind that the total internal storage available includes your /data partition as well as your internal SDCard (/data/media/). TWRP will not format your internal SDCard unless you explicitly tell it to. Check out the stuff on your SDCard and see if it's eating up space (like a nandroid backup for example that can take up over 2.5gb of space!)
If still unresolved, I would do these steps:
- Backup your internal SDCard to your computer, and otherwise backup everything (nandroid, data backup, what-have-you) to your computer
- Do a simple wipe-data with TWRP
- Use Odin to return to MDL stock (or Canadian equivalent)
- Use stock recovery to wipe your data (this should also wipe SDCard)
- Root with motochopper, install custom recovery, install rom, etc.
To avoid accidentally downloading any OTA updates, I would recommend simply removing your SIM card during all this

Aou said:
Keep in mind that the total internal storage available includes your /data partition as well as your internal SDCard (/data/media/). TWRP will not format your internal SDCard unless you explicitly tell it to. Check out the stuff on your SDCard and see if it's eating up space (like a nandroid backup for example that can take up over 2.5gb of space!)
If still unresolved, I would do these steps:
- Backup your internal SDCard to your computer, and otherwise backup everything (nandroid, data backup, what-have-you) to your computer
- Do a simple wipe-data with TWRP
- Use Odin to return to MDL stock (or Canadian equivalent)
- Use stock recovery to wipe your data (this should also wipe SDCard)
- Root with motochopper, install custom recovery, install rom, etc.
To avoid accidentally downloading any OTA updates, I would recommend simply removing your SIM card during all this
Click to expand...
Click to collapse
:good:

Related

[Q] Newbie questions (don't kill me Im new!)

Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
Use TWRP for recovery and to do a clean install wipe all data from TWRP.
Sent from my Nexus 7 using xda premium
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
smt8544 said:
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
Click to expand...
Click to collapse
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
mariosanoguera said:
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
Click to expand...
Click to collapse
I think it would be easier and cleaner if you restored back to stock before trying to re root, flash recovery, etc. If you have no important data on your device I'd go for it. If you do have important data, then try and pull it to your computer and then flash a stock image and re root etc.
I always find that in times when my device is screwing around, or I have file dregs around the place, I find it simply easier to backup important things and flash a stock image.

[Q] Cleaning out the main storage/new beginning

I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
duckredbeard said:
I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
Click to expand...
Click to collapse
Reset Flash Counter
http://www.youtube.com/watch?v=2FXULkN5rAU
Reflash Stock
http://www.youtube.com/watch?v=ZpdWLPaJpiQ
What is the purpose of resetting the flash counter? As far as I know my bootloader is still locked.
Returning to stock? Wont i ose root and recovery? Wont I risk ending up with MF3 instead of the MDL that can be rooted?
On-On and Beer Near
If you've got everything backed up, a nandroid, the new ROM, a custom kernel (if you so desire) and the loki-doki zip (if not flashing a loki'd ROM or kernel) all on your micro SD card, then you're ready to begin.
In recovery, wipe everything except the external sd card. I've heard of users having problems after wiping/formatting data in twrp. May want to look into that. I think some users reverted to an older version of TWRP to avoid that. I use cwm. Check out the I337 guide in my signature. It details everything to wipe for a clean slate (system, data, etc).
Cheers
I have one each of a TWRP and CWM backup and recovery. Can a CWM be restored in TWRP?
On-On and Beer Near
duckredbeard said:
I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
Click to expand...
Click to collapse
You have the answers already, but I will advice one thing, do not do any twrp over version 2.5.0.2, or you will for sure be starting over again at some point. Those versions have issues.
good luck.
TheAxman said:
You have the answers already, but I will advice one thing, do not do any twrp over version 2.5.0.2, or you will for sure be starting over again at some point. Those versions have issues.
good luck.
Click to expand...
Click to collapse
TWRP 2.6.0.0 is why we are having this conversation...
I have TWRP on my Asus TF700 tablet...not sure which version. Perhaps I need to get CWM on that device also.
Now I'm thinking the SD card that I was using at the time was the problem. I have not been able to write any files to that card using a PC. I have found another card from a different manufacturer. I have clockworkmod installed. My sd card contains recovery files and a new ROM.
I think all I need to do now is go into recovery, wipe everything including internal storage but not the external SD. Flash the new rom and kernel then reboot.
I believe this is all I need to do. Sound good to you?
On-On and Beer Near

[Q] formatting internal SD card

Hey Guys,
After doing some reading about Folder & partition structure of Android, I am totally confused & in worse condition.
My question is simple;
Flashing a new ROM does not reset/delete the folder in the internal SD card. Since I have capacity problem, I would like to delete those folders and make fresh start. How can I do this? Is is safe to delete /android/data folder?
Under setting/storage, the sum of all folders is around 5.2 GB, while it shows the total as 8.8 GB. Where is the rest of my space?
Best Regards
I have a GT-I9500, running Arrow ROM 11.0 (android 4.3)
Philz recovery has an option to format the device internal memory.
Sent from my GT-I9505 using XDA Premium 4 mobile app
9505 has 9.13gb
in recovery before flashing a rom you have to wipe data, system, cache, dalvkit cache, etc
i wist phyl recovery sayd wike internal memory, but there is no option like that, only wipe sdcard1 (external)
Okay this is what you need to do.
First download official firmware through SamMobile, then flash the .tar file through Odin, the boot into recovery, factory reset, the flash the same .tar file again. This will wipe out ALL your data on internal storage and give you a true fresh start. Of course after that if you're not happy you can always flash a custom recovery and flash a ROM.
Thanks for the replies. Going back to original firmware, seems like a tough route.
When I connect my device to windows, it simply allows me to format the SD card. What would happen IF I just do that? Would I brick the phone or loose an irrecoverable important data? (I don't care, If some bloatware does not work or loose its data)
xhuttra said:
Thanks for the replies. Going back to original firmware, seems like a tough route.
When I connect my device to windows, it simply allows me to format the SD card. What would happen IF I just do that? Would I brick the phone or loose an irrecoverable important data? (I don't care, If some bloatware does not work or loose its data)
Click to expand...
Click to collapse
I'm pretty sure if you format the internal card from a Terminal prompt, you will brick your phone.
we already told you you have to WIPE though recovery
maurocds said:
we already told you you have to WIPE though recovery
Click to expand...
Click to collapse
When wiping through recovery will that wipe/erase my efs folder?
That contance my imei and other...
marcel112 said:
When wiping through recovery will that wipe/erase my efs folder?
That contance my imei and other...
Click to expand...
Click to collapse
No. wiping through philz does not erase your efs directory.
However, you can always backup your efs to be totally safe

[Q] SafeStrap 3.71 Formatted my EXTSD card!

I have a pretty serious issue. I was trying to upgrade to the latest version of Hyperdrive, and somehow using SafeStrap 3.71 I emptied my stock OS slot (System partition size is 0, and it says no OS installed when I try to reboot). Obviously, I had put all my backup files and the new ROM on my external drive. In the midst of trying to restore my stock ROM, I tried the "Wipe" Format Data option just to get back to a fresh start. It says all "internal storage" will be formatted. I had no idea this included my EXTSD! Now I can't install the custom ROM that was on it, can't get back to factory ("no os installed"), and I've lost every bit of data, pictures, business files etc.
Any help here? I'm pretty intelligent but this is over my head. I've got to restore that data on that SD card if nothing else.
Thanks,
Matt
You are in the wrong section. Our S4 don't use safestrap. You need to be here:
http://forum.xda-developers.com/galaxy-s4-att
ps try to read your sdcard in your pc to see if the data is really gone.

TWRP backup question

If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
matthewbhass said:
If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
Click to expand...
Click to collapse
I think TWRP backups are normally stored on your internal storage partition, so if you perform a (EDIT full factory reset doesnt wipe this, thanks Silesh) or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Edit: thanks Silesh for correcting me, I was thinking of app data rather than user data!
echo92 said:
I think TWRP backups are normally stored on your internal storage partition, so if you perform a full factory reset or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Click to expand...
Click to collapse
Thanks for replying. I can't transfer files from my computer to my phone, but I have thought about using the ADB sideload option from recovery. Is there a way that I can move my backup from my phone to my computer (and to my phone from my computer) using the sideload option, just in case I need the backup? I refuse to flash a new ROM without access to my complete backup, lol.
Internal storage is not formatted during a normal wipe. You have to specifically go into the advanced wipe and select internal storage to wipe it completely. So there is no issue while flashing a new rom if you don't choose the advanced wipe option.
You could also create the twrp backup in your external sdcard. That way your backup stays even if you wipe your phone using a factory reset or by mistake.
Strange. What's the problem of making backups to external SD? The function is right there (as Silesh mentioned). BTW: the very last version of TWRP is able to make backups straight to pc. This needs to be done FROM a pc though. TWRP is capable to work with fastboot now (using special command though, or with this GUI for pc: https://forum.xda-developers.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241 )
You can choose whether you want to use internal storage or SD card when making a backup. It doesn't matter which you choose as long as you (and I learned this the hard way) pay attention to what you are doing and DO NOT WIPE internal storage or your SD card. Advantages of SD card is you won't lose your backup if you decide to flash stock. Disadvantage: if your card craps out on you backup is lost unless you have copied to PC or saved on cloud.
My Solution
I solved my problem by using the pull command in adb. Now if I decide to flash a new ROM, I can push my TWRP recovery back to my phone using adb and then recover it in my TWRP recovery.. I also backup using adb backup which backs it up directly to my computer anyways.
I knew about storing my TWRP backup on an sd card, but I haven't made time to get one. . I recently switched to the Motorola G4 Plus after my iPhone 6s decided to turn off and not turn back on. I eventually grew tired of the iPhone anyways due to lack of accessibility and freedom. Back in the day I owned androids but never rooted one or had one that was rooted. I did jailbreak my 4th generation iPod a few years ago. But I went through an iPhone 5s, and upgraded to a 6s and had that for a few months. I eventually just switched back to android after the longest time and I can't say that I regret it.
My Moto G4 Plus has been an amazing phone. I've only had it for a few weeks now, but I rooted it the day after I got it . So I'm a bit of a noob in the rooting community, . Since then it's been a pretty smooth transition. I've only got root access and xposed framework as of now. I was thinking about flashing a ROM so I made backups just in case, but I don't plan on making any major changes to the kernel or flashing another ROM. I'm satisfied with the stock ROM since Motorola pretty much made it as minimal as possible. I would recommend this phone to anyone. It's the most solid phone I've had yet.

Categories

Resources