How do I reflash a stock ROM onto my phone? I'm on stock with custom recovery.
Reason being I want to keep my apps and data intact while resetting the system files only.
I'm able to download the stock firmware from Sammobile but they are Odin-flashable files. If I flash them via Odin will it factory reset the entire phone - essentially erasing the phone's data and apps and everything?
What other ways can I reset the system files only?
Related
Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
i guess not
EarlZ said:
Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
Click to expand...
Click to collapse
I guess just flashing the firmware won't wipe the data.
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
AO7 said:
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
Click to expand...
Click to collapse
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
EDIT:
Im wondering if factory reset would delete camera photos stored on the internal memory, if not I have most of my impt stuff backed up online.
EarlZ said:
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
Click to expand...
Click to collapse
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
AO7 said:
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
Click to expand...
Click to collapse
My data is not that important to trip knox
EarlZ said:
My data is not that important to trip knox
Click to expand...
Click to collapse
In that case I would just flash stock and see what happens,
AO7 said:
In that case I would just flash stock and see what happens,
Click to expand...
Click to collapse
Still waiting for the download to complete. Samfirmware is only giving me 300kb/s and I dont know where else to get stock firmwares.
To close this issue with a resolved status, I would like to say one thing.
If you flash a leaked firmware - it will wipe your phone.
If you flash a stock firmware - it will NOT wipe your phone.
Factory reset will not wipe your internal SD.
Installing TWRP or anything unofficial will trip your KNOX. If your data is worth losing warranty - go for it
I was with a UEND6 firmware and just gonna flash the same to get my data back and factory reset the phone.
EDIT:
Got my data, everything seems to be perfectly working aside from the task manger, Gonna factory reset the phone and probably reflash with odin to have a clean start, would ticking repartition be necessary for a fresh install ? ( but I remember that required a PIT file )
Ok I deleted system files via a wipe of EVERYTHING on TWRP - kind of stupid, but am selling the phone and wanted it clean.
Downloaded a stock (rooted) firmware, but when I try to flash with odin, it fails!!
HELP!!!!!!
What part does Odin fail on?
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.
So the little idiot of me tried changing the build.prop file which is only editable with root. My device is ofcourse, rooted. So after editing only the model number and restarting the phone, it's stuck on device name logo. Anyone know how to revert this? How can I fix this if I can't even boot into the phone.
Just flash the stock ROM via Odin.
Stock ROM at SamMobile and Odin at this post
I just did that. At first I was afraid of losing all my data on sdcard, but after reflashing the stock rom all my data was intact, including my apps. Thanks for the help!
Your data was intact because you didn't make wipe
I tried to flash only the AP file with Flashfire but it messed up the settings menu.
Can I do it with Odin (flash all the needed files without Bootloader and Recovery) and keep the data and TWRP?
Thanks
Yes. Just flash the HOME_csc instead of the plain csc file and all your data and settings will remain intact.
But I think that by this way you will lose twrp. The stock recovery will be restored.
If I lose TWRP, to flash it back I'll have to wipe all data. Don't I?
Maybe I can flash the AP+HOME_CSC+CP with Flashfire?