Does Flashing Stock Samsung ROM in Odin Clear out the System Partition? - Galaxy Note 3 Q&A, Help & Troubleshooting

Does Flashing Stock Samsung ROM in Odin Clear out the System Partition?
Options Used:
No repartition
ROM put inside PDA slot
I'm wondering because I suspect there may have been some malware in the previous ROM that was flashed. So I want to be sure all the Files that were in the System Partition Previously are deleted.

klau1 said:
Does Flashing Stock Samsung ROM in Odin Clear out the System Partition?
Options Used:
No repartition
ROM put inside PDA slot
I'm wondering because I suspect there may have been some malware in the previous ROM that was flashed. So I want to be sure all the Files that were in the System Partition Previously are deleted.
Click to expand...
Click to collapse
Flashing via Odin doesn't wipe the System partition, it simply overwrites it. There may still be bits from the old ROM unless and until you do so manually.

What is the simplest way to Wipe the system partition before flashing the Samsung TAR in ODIN?

64999423
klau1 said:
What is the simplest way to Wipe the system partition before flashing the Samsung TAR in ODIN?
Click to expand...
Click to collapse
wipe with recovery
hold volumeup+power+menu until samsung logo show 2 time then release power button....

But with a stock rom and stock recovery it's impossible formatting system. Stock recovery let you only do a factory reset. You can wipe system only with a custom recovery.
Inviato dal mio SM-N9005 utilizzando Tapatalk

Related

[Q] How do I fully refresh and deep clean my SGS4 ?

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

[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

Encryption that can't be formated

Hi,
I set up TWRP 2.8.7.0 and cm-13.0-20160129 on my Samsung Galaxy S4 LTE-A (GT-I9506), and run into an odd problem where it would work after install, but would not work after a reboot (booting screen would just roll for ever). Installing CM again, would work, and than the problem would still be there. Mindlessly I decided to play a little anyway and set up encryption. The phone ended up rebooting, and not loading, so I'm here without a password (default_password doesent work) and with an encrypted /data that TWRP cant wipe or format
Unable to mount storage.
Unable to decrypt data
Unable to wipe '/data' -- unknown file system 'auto'
Unable to format to remove encryption
Click to expand...
Click to collapse
I've attempted to use ADB to format it, but it seems parted isnt installed. With that phone being a less popular variant I'm kind of afraid to just flash whatever there, but I guess I need a recovery with a least parted, or possibly one that would be able to format the drive itself. Any pointers?
Have you tried flashing a stock ROM via Odin? Is this your phone: http://www.sammobile.com/firmwares/database/GT-I9506/ ?
not yet; I don't have windows, and didn't see any point in changing the soft used for flashing, will try but cant download the polish rom at the moment o0 (ends up with a dead link or a server down?)
I know of no other way to flash a stock ROM from sammobile.com other than Odin.
Did you create a free account on sammobile.com to enable the regular download?
harce said:
not yet; I don't have windows, and didn't see any point in changing the soft used for flashing, will try but cant download the polish rom at the moment o0 (ends up with a dead link or a server down?)
Click to expand...
Click to collapse
You can also flash it with Heimdall. It's the open source variant of Odin.
aaaand I'm back, managed to download, got some windows, flashed to stock using odin, and it's still encrypted. is running 'repartition' from odin safe? I've noticed some warnings against it but without any explanations.
edit; running the same operation with repartition failed. this bloody encryption might be able to survive nuclear war.
After flashing back to stock via Odin, did you perform a factory wipe before booting the rom for the first time?
I assume you have a pit file for the phone since you repartitioned?
audit13 said:
After flashing back to stock via Odin, did you perform a factory wipe before booting the rom for the first time?
Click to expand...
Click to collapse
just now, seamed to go thorough properly (no error messages) and worked!
audit13 said:
I assume you have a pit file for the phone since you repartitioned?
Click to expand...
Click to collapse
never managed to do that. I wonder what advantage does the wipe from factory ROM have over custom recoveries... anyways thanks to all who helped, the issue is solved. also it seems that the problems with non-rebooting CM were my mistake of not wiping the cache/dalvik after install
I find that a wipe using a custom recovery is not always as through as a stock recovery. Can't say how or why, it's just based on my experience with Samsung and Nexus phones.
harce said:
just now, seamed to go thorough properly (no error messages) and worked!
never managed to do that. I wonder what advantage does the wipe from factory ROM have over custom recoveries... anyways thanks to all who helped, the issue is solved. also it seems that the problems with non-rebooting CM were my mistake of not wiping the cache/dalvik after install
Click to expand...
Click to collapse
audit13 said:
I find that a wipe using a custom recovery is not always as through as a stock recovery. Can't say how or why, it's just based on my experience with Samsung and Nexus phones.
Click to expand...
Click to collapse
I think the difference is that a custom recovery only wipes /data partition so that the internal sdcard will not be wiped. The stock recovery formats /data partition. When you want to lose encryption you need to format /data partition.
You can also format the /data partition with a custom recovery, but that option is hidden for good reason. Because it will also format your internal sdcard and that's not something we want to do when changing roms.

Flashing stock rom using odin.

Does odin delete all sypware or malware on the system partition? Does it completely format the /system partition? Or can viruses/spyware survive flashing stock firmware via odin?
When you reinstall the stock firmware back onto your device using Odin. It should remove everything including the System Partition.
Really? the reason I ask is because of threads I came across mainly this https://forum.xda-developers.com/showthread.php?t=2572693
This https://forum.xda-developers.com/general/help/please-help-super-virus-flashing-rom-t3363497
And this
https://forum.xda-developers.com/showthread.php?t=2573021
In the first link the person says odin overwrites system it doesn't flash it therefore malware/spyware can survive. In the second link the person asks whether odin wipes system and the first reply said "You didn't wipe everything. You didn't wipe the system partition". Finally last link person says he flashed via odin and a super virus remained. Are they wrong or is there another way?

Wipe system partition keep stock Rom

What is the easiest way to wipe system partition and keep stock ROM?
Factory reset
Sent from my SM-N9200 using Tapatalk
This doesn't work
kenshin12345 said:
This doesn't work
Click to expand...
Click to collapse
If you wipe the system partition it will wipe the rom (operating system) from your phone. Like @a602820922 said, the easiest way to wipe everything but the system partition is a factory reset. If something in the system partition has been overwritten then you'll have to reflash your stock rom to undo any changes made.

Categories

Resources