[Q] How do I fully refresh and deep clean my SGS4 ? - Galaxy S 4 Q&A, Help & Troubleshooting

Dear Friends,
I have done some serious criss cross flashing /modem/rom/recovery etc. (Rom upon rom) over the last months. I've recently had a soft brick and had to reinstall stock. I want a fresh start.
I feel like my phone's memory has been rewritten many times by now and that there are some resedues (crap files) in the system that I can't get out and that are slowing the system down. I'd like to do a full blown erase and restore to factory settings and then set up my custom roms again.
What is the best way to do this?
I am familiar with the use of Odin etc.
It would be delicious to get full instructions from you.
Best,
Thomas

Install a custom recovery like PhilZ and go to mounts and storage and then format system, cache, data, preload and SD card.
You will now have a totally clean system and can boot I to download mode and flash firmware in Odin.
Sent from my GT-I9505

Obagleyfreer said:
Install a custom recovery like PhilZ and go to mounts and storage and then format system, cache, data, preload and SD card.
You will now have a totally clean system and can boot I to download mode and flash firmware in Odin.
Sent from my GT-I9505
Click to expand...
Click to collapse
Thanks for the Help bro

Related

[HELP] I think I have bricked it.

Guys, I was about to flash a new rom (Omega v2 for i9500) then I wiped the whole thing in CWM. But in addition to that I have formatted the system (mounts and format > format system), now device won't boot. I can get in Download Mode and Recovery mode but it just won't boot...
Now I am downloading a stock ROM from SamMobile; would it fix it if i flash it via Odin? And any suggestions?
Please tell me something because I am feeling really bad =/.
holygeek said:
Guys, I was about to flash a new rom (Omega v2 for i9500) then I wiped the whole thing in CWM. But in addition to that I have formatted the system (mounts and format > format system), now device won't boot. I can get in Download Mode and Recovery mode but it just won't boot...
Now I am downloading a stock ROM from SamMobile; would it fix it if i flash it via Odin? And any suggestions?
Please tell me something because I am feeling really bad =/.
Click to expand...
Click to collapse
always do a backup via cwm for your rooted stock rom after rooting!
did you flash the rom after formatting system?
any way, Odin should fix it
samersh72 said:
always do a backup via cwm for your rooted stock rom after rooting!
did you flash the rom after formatting system?
any way, Odin should fix it
Click to expand...
Click to collapse
You are right =/ I should have done a backup.. Yea' I did flash the ROM after formatting system but won't boot.
holygeek said:
You are right =/ I should have done a backup.. Yea' I did flash the ROM after formatting system but won't boot.
Click to expand...
Click to collapse
wipe data and cache and dalvik, reflash the rom, rewipe data and cache and dalvik, reboot.
if not, you have odin.
samersh72 said:
wipe data and cache and dalvik, reflash the rom, rewipe data and cache and dalvik, reboot.
if not, you have odin.
Click to expand...
Click to collapse
Yes I have tried it many times. The downlaod is about to end now, I am so freaking nerveous right now, I hope it will fix it!..

[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

odin pc doesn't erase everything??

hey guys i was under the impression that if i flashed stock firmware using the pc version of odin it was supposed to format my phone to clean without having to use recovery to delete everything.
this isn't the case with me, odin pc (ver 1.85) seems to be dirty flashing these stock roms on my phone if i don't wipe in recovery.
is this right or is something wrong here?
I've seen the same thing. It doesn't necessarily wipe the internal sd card
re: odin pc
Amb669 said:
hey guys i was under the impression that if i flashed stock firmware using the pc version of odin it was supposed to format my phone to clean without having to use recovery to delete everything.
this isn't the case with me, odin pc (ver 1.85) seems to be dirty flashing these stock roms on my phone if i don't wipe in recovery.
is this right or is something wrong here?
Click to expand...
Click to collapse
That's the way all the version of Odin PC work.
That's why it's always best to go into recovery and do a clean wipe including data,
system, cache, dalvik cache and last but not least do a "Factory Reset" in recovery.
Doing it that way always gives the best results. (it does not wipe the sdcard)
Good luck!

Fix freeze , lags etc.

Hello people my phone getting old i think 1.5 year so far my phone started to freeze having lags getting too hot while browsing. And bootloops started without flashing anything. First bootloop happened 2 weeks ago. Today happened again twice i wiped dalvik cache and everything is fine how can i fix it? I thought rom cause it i flashed stock firmware rooted it and removed bloatware. Still happens lags,freeze,getting too hot and bootloop. Is it lollipop update? I never had this issues with kitkat. How can fix this and keep my alive?
Orangley said:
Hello people my phone getting old i think 1.5 year so far my phone started to freeze having lags getting too hot while browsing. And bootloops started without flashing anything. First bootloop happened 2 weeks ago. Today happened again twice i wiped dalvik cache and everything is fine how can i fix it? I thought rom cause it i flashed stock firmware rooted it and removed bloatware. Still happens lags,freeze,getting too hot and bootloop. Is it lollipop update? I never had this issues with kitkat. How can fix this and keep my alive?
Click to expand...
Click to collapse
Try a full factory reset. Be careful as this will wipe your internal storage.
GDReaper said:
Try a full factory reset. Be careful as this will wipe your internal storage.
Click to expand...
Click to collapse
Thank you for your answer but I did it after flash stock rom via odin. Wiped data / factory reset , cache partition , mounted cache , system , data , wiped dalvik cache..
Wiping data does not equal a factory reset. Wiping data does just that, wipes user installed apps. But generally leaves the internal storage alone.
A factory reset returns the phone to the settings it came out of the factory with, including a clean internal storage(If you have the stock rom). I heard that changing roms and just wiping data, dalvik and cache will still leave behind some files.
But it could also be untrue.
GDReaper said:
Wiping data does not equal a factory reset. Wiping data does just that, wipes user installed apps. But generally leaves the internal storage alone.
A factory reset returns the phone to the settings it came out of the factory with, including a clean internal storage(If you have the stock rom). I heard that changing roms and just wiping data, dalvik and cache will still leave behind some files.
But it could also be untrue.
Click to expand...
Click to collapse
Flashing stock rom is same with factory reset i think clears everything.
I don't know. Haven't flashed stock on this device yet.
But don't most guys recommend doing a wipe before going back to stock?
I dont know i'll try that when i have free time. I did research some guys saying lollipop causing these problems. I'll try wipe before flash stock rom again , if issues keep happen i'll use lates 4.4.2 custom rom. Thank you for your answers i'll report back.
Real reset
This method will wipe everything, including operating system and efs files. Before you do this:
you must root
Download twrp recovery
Install the recovery using the app from the play store
Boot into recovery mode and have twrp backup everything
save your backup to an SD card and the computer (can't hurt to have two backups)
Doing the above will preserve your phone important data like your imei and efs
in case something goes wrong.
NOW
after you have backed everything up use twrp recovery to wipe data. Have twrp wipe everything except for your SD card (don't won't to lose the backup)
After everything has been obliterated have twrp boot you into download mode.
Download Odin from XDA preferably 3.09 (most stable release) and then grab an official stock firmware from a trusted source. The latest stock firmware should be at least 4.4.2
If you have carriers other than t-mobile you will also need to find a PIT file for partitioning.
When you have all of this open up Odin with your phone connected in download mode and make sure repartitioning, clear efs and nand-erase is checked along with the defaults.
Select pda button and choose your firmware (unzipped tar.md5 format.) Then select repartitioning PIT file button and direct to where you have the PIT file downloaded.
now click start (be sure that the Com port is recognized by Odin: will be highlighted in blue or yellow.)
This will take a while depending on your computer.
when it finishes your phone should reboot with a fresh os and filesystem. If you get stuck in a bootloop reboot into recovery mode and do a wipe data and wipe cache. Reboot and your phone should be good as new.
IMPORTANT!!! It is vital you keep your TWRP backups for as long as you have your phone if you lose them and something goes wrong while flashing your phone you will lose important things such as IMEI baseband which will prevent you from connecting to your network and Sim card recognition.
Thank you so much i'll try this now.
AndroidInitiate said:
This method will wipe everything, including operating system and efs files. Before you do this:
you must root
Download twrp recovery
Install the recovery using the app from the play store
Boot into recovery mode and have twrp backup everything
save your backup to an SD card and the computer (can't hurt to have two backups)
Doing the above will preserve your phone important data like your imei and efs
in case something goes wrong.
NOW
after you have backed everything up use twrp recovery to wipe data. Have twrp wipe everything except for your SD card (don't won't to lose the backup)
After everything has been obliterated have twrp boot you into download mode.
Download Odin from XDA preferably 3.09 (most stable release) and then grab an official stock firmware from a trusted source. The latest stock firmware should be at least 4.4.2
If you have carriers other than t-mobile you will also need to find a PIT file for partitioning.
When you have all of this open up Odin with your phone connected in download mode and make sure repartitioning, clear efs and nand-erase is checked along with the defaults.
Select pda button and choose your firmware (unzipped tar.md5 format.) Then select repartitioning PIT file button and direct to where you have it downloaded.
now click start (be sure that the Com port is recognized by Odin: will be highlighted in blue or yellow.)
This will take a while depending on your computer.
when it finishes your phone should reboot with a fresh os and filesystem. If you get stuck in a bootloop reboot into recovery mode and do a wipe data and wipe cache. Reboot and your phone should be good as new.
IMPORTANT!!! It is vital you keep your TWRP backups for as long as you have your phone if you lose them and something goes wrong while flashing your phone you will lose important things such as IMEI baseband which will prevent you from connecting to your network and Sim card recognition.
Click to expand...
Click to collapse
Odin freeze everytime i put twrp tar.md5 file cant i use philz touch which i use for long time?
Orangley said:
Odin freeze everytime i put twrp tar.md5 file cant i use philz touch which i use for long time?
Click to expand...
Click to collapse
Is that another custom recovery?
If so then yes just make sure you have all of your system files and most importantly your efs backed up.
Run odin as administrator if that doesnt work, try using another version of Odin.
AndroidInitiate said:
Is that another custom recovery?
If so then yes just make sure you have all of your system files and most importantly your efs backed up.
Run odin as administrator if that doesnt work, try using another version of Odin.
Click to expand...
Click to collapse
Doesnt work another versions both twrp and odin. I'll keep my custom recovery and try it.
Orangley said:
Doesnt work another versions both twrp and odin. I'll keep my custom recovery and try it.
Click to expand...
Click to collapse
What carrier are you using, model number of the phone, etc.
Have you backed everything up? And can you flash the custom recovery through Odin if it fails?
Try it without wiping efs first just to be safe
Look here for your device you will be able to find standalone flash able versions of twrp that should work through odin.
http://twrp.me/Devices/
Using i9500. And i did what you said and works fine thank you! Mods close thread please.

Full Wipe With TWRP No Rom

Hey guys
I basically did a full wipe of my S4 I9505 because I wanted to change roms the new rom is the Dirty Unicorn in the i9505 thread. Everything has gone the last thing TWRP said before I turned it off was my phone wasn't rooted and to install SU then it went off. I tried to restart the phone in download mode which works then tried to reboot normally it wouldn't go past the start screen. I am assuming I need to flash TWRP the Dirty Unicorn Rom through Odin? Is what I'm thinking right or is there alternatives?
TWRP doesn't care if your phone is rooted or not.
Can you boot into TWRP?
If not, try flashing TWRP again through Odin then flash Dirty Unicorns with TWRP.
Thanks for that GDReaper it doesn't boot into TWRP now. I'll try that as soon as possible.
With the Dirty Unicorns rom it said do a full wipe I'm assuming that's the standard TWRP wipe even though it said do internal and external sd card wipe?
Kripz123 said:
Thanks for that GDReaper it doesn't boot into TWRP now. I'll try that as soon as possible.
With the Dirty Unicorns rom it said do a full wipe I'm assuming that's the standard TWRP wipe even though it said do internal and external sd card wipe?
Click to expand...
Click to collapse
you never have to wipe external, if you did and also wiped internal as well you'd be deleting all your user files including the new rom you intended to flash. that would leave you needing to download the rom and gapps again on a computer and then transferring them to your external SDcard before you could continue.
click on wipe, then advanced wipe and tick
dalvik/art
cache
data
preload
and system... then swipe to start the process
actually there is a time when you might wipe all your memory including internal and external memory but it should be telling you that you have to backup all your files somewhere first I'm such cases...
Thanks for that 3mel!
That's what happened. I'm assuming I need to put my sd card in a card reader and transfer that way?
yes or if you have an adaptor for it, it might go into an SD slot if your laptop has one...
It's booting up now I can't thank you guys enough for your quick responses and sound advice!
Installation:
You must have flashed a Android 7.0 Samsung Firmware with Odin.
TWRP recovery
Format data in recovery
First installation needs a full wipe! (Updating to newer releases a dirty flash will do)...
First installation needs a full wipe! (Updating to newer releases a dirty flash will do)" what i must to do pls?
There is no way to flash Android 7.0 to this phone with Odin.

Categories

Resources