[Q] Flash to stock with full reset - Verizon Galaxy S 5 Q&A, Help & Troubleshooting

Sorry to start a thread for something that I think is simple. I want to update my S5 to the newest PF4. I was on a rooted 5.0.1 before. I didn't care about keeping root, etc.
I used SamFirm to download the newest firmware. Then ODIN to flash the newest firmware.
The result was it upgraded my phone to 6.0.1 instead of a clean install. In the old days, I recall having to clean cache, clean Dalvik cache, and maybe some other steps.
I simply want to nuke my phone 100%, and load it with the stock firmware PF4.
If I reboot my phone into recovery I see Wipe Date/Factory Reset and Wipe cache partition. I envision that is what I need to do, but looking for confirmation. Also, does the order matter?

crimsontide said:
Sorry to start a thread for something that I think is simple. I want to update my S5 to the newest PF4. I was on a rooted 5.0.1 before. I didn't care about keeping root, etc.
I used SamFirm to download the newest firmware. Then ODIN to flash the newest firmware.
The result was it upgraded my phone to 6.0.1 instead of a clean install. In the old days, I recall having to clean cache, clean Dalvik cache, and maybe some other steps.
I simply want to nuke my phone 100%, and load it with the stock firmware PF4.
If I reboot my phone into recovery I see Wipe Date/Factory Reset and Wipe cache partition. I envision that is what I need to do, but looking for confirmation. Also, does the order matter?
Click to expand...
Click to collapse
You just need to flash a full factory tar from odin

Where do I get a full factory tar? I used SamFirm, the screencap is below.

crimsontide said:
Where do I get a full factory tar? I used SamFirm, the screencap is below.
Click to expand...
Click to collapse
You can use Samsung smart switch emergency upgrade and initialization option to fully wipe and upgrade your device.
Or just flash the stock firmware, and then go to recovery and do a factory reset.
Sent from my Galaxy S 5 using XDA Labs

Related

Would reflashing the stock firmware via odin wipe data?

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 )

[Q] Galaxy S4 won' turn on after flashing a zip

Hello. I have a rooted Verizon Galaxy S4 on 4.4.2 and the NC5. I tried to install a mod thing. The instructions on this website said to flash this zip. I used this flash gordon app to flash the zip. Now, my phone will not turn on, It goes past the Samsung screen, but cannot pass the Verizon screen. The animation plays but it just stays on the same screen forever. How can I fix this? Will I have to do a factory reset? Also, is there a way to backup my apps? I just realized that I accidentally deleted my backup yesterday. Any help would be appreciated. Thanks.
If a cache wipe doesn't work, then you need to reflash the firmware you are on. It won't wipe your system.
Lennyz1988 said:
If a cache wipe doesn't work, then you need to reflash the firmware you are on. It won't wipe your system.
Click to expand...
Click to collapse
Hello and thank you for replying. I wiped the cache both in safestrap and in the android recovery, but my phone is still not turning on. How would I reflash the firmware on my phone? Also, how would I be able to retrieve my files? Would it work if I wipe/factory reset?
Gobbling_Monkey said:
Hello and thank you for replying. I wiped the cache both in safestrap and in the android recovery, but my phone is still not turning on. How would I reflash the firmware on my phone? Also, how would I be able to retrieve my files? Would it work if I wipe/factory reset?
Click to expand...
Click to collapse
You are on the N5 firmware. Then just reflash the N5 firmware for Verizon with Odin.
Factory reset would do nothing more then losing your apps. So you don't have to do that.
Just flash the N5 firmware and you still will have everything. You have to reroot though and probably flash safestrap again but that's it.
Lennyz1988 said:
You are on the N5 firmware. Then just reflash the N5 firmware for Verizon with Odin.
Factory reset would do nothing more then losing your apps. So you don't have to do that.
Just flash the N5 firmware and you still will have everything. You have to reroot though and probably flash safestrap again but that's it.
Click to expand...
Click to collapse
Hello. I would like to thank you for your help. I did what you said and found the firmware and successfully reflashed the N5 firmware using instructions on a website. Although I already did make the mistake of factory reseting and did lose my files . What I flashed claimed to theme my Galaxy S4 like the S5. Since it didn't work, I just ended up installing the Hyperdrive ROM. Thank You and have a nice day.

[Q] Flashing various TW Lollipop fw over existing CM12 fails

Hello,
actually I'm using a SGS4 I9505 with cm-12-20150304-NIGHTLY-jfltexx and CWM 6.0.5.1.
I've tried to flash several TW Lollipop firmware wich i found in the I9505 forum:
1. Kushan+Touchwiz+Lollipop+Lite+Rom+v.1.2
2. S4_Echoev42_EchoePop2_020315
3. OA7-2.1F
4. XXUHA07-v2.01
Before flashing any oft this firmwares i made a factory reset, wiped both caches and installed the modem Firmware via Odin.
After flashing firmware # 1 and 2 my phone was stuc in a bootloop (only Samsung Galaxy S4 Logo appears).
Flashing firmware #3 and 4 fails and cwm reports error 7.
Flashing cm12 afterwards isn't a problem and runs fine.
I think the wipe fails or doesn't work properly. Is it enougth to select factory reset in cwm and wipe the dalvik cache manualy?
What can I do?
With besteht regard
Mirko (NemesisMF)
What if it is a recovery problem?
Thought about that too.
Should i try twrp or philz?
I switched to Philz Recovery and flashed S4 Echoe Rom v42 without any Problems.
CWM seems to have a problem to falsh TW Lollipop images ower an existing CM12 an the I9505.
You need to do full wipe not just cache.
ranger4740 said:
You need to do full wipe not just cache.
Click to expand...
Click to collapse
As I wrote above I did a factory reset before flashing and wiped the caches with cwm. If that is not enougth it would be nice to explain what else I have to wipe or post a link.
While using philz recovery the factory reset for clean system is enougth and the new System is working fine.
Factory wipe is not full wipe, you need to do a full wipe as in format to install new rom, phillz recovery has this feature can't remember exactly where, I think its under advanced.
Just have a look in the sub menus.
Just to explain it better when you do a full wipe it deletes every part of the existing
Rom including the system, data and cache and some other stuff completely removing the android operating system, so unless the rom you install does a wipe before install parts of the existing system will remain and can cause boot issues. For example as you've already discovered you are trying to install a tw rom over an existing cyanogenmod 12 installation which Will cause it to hang on boot.
NemesisMF said:
As I wrote above I did a factory reset before flashing and wiped the caches with cwm. If that is not enougth it would be nice to explain what else I have to wipe or post a link.
While using philz recovery the factory reset for clean system is enougth and the new System is working fine.
Click to expand...
Click to collapse
Do you mean a factory reset from within Android itself? If so, then that's a complete obsolete step. When before flashing a rom you should perform a factory reset, then they always mean a full wipe from the recovery. You need to do a full wipe from the recovery. That means the /system partition is being wiped. You will see it in the screen during the wipe if it wipes /system.
But it also could have been a problem of CWM. I don't think it is being updated anymore, so better use TWRP or Philz.

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.

another brick in the wall

Hi, another post about a brick I'm afraid. This brick holds a question though. I'll get to it
Friends new s5 failed an ota root (towelroot, reset then kingroot.. both fail) he didn't want custom rom just root access.
Then when trying official ota update from 4.2.2 to 6 it looped. Installation was around 10 min then the reboot stalled and just sits until it's warm.
It runs download mode and is recognised in odin.. but no recovery - it goes to update screen (android w cog in chest) and then bootloops
This softbrick 'is' fixable.. but i dont have the csc
It is a 4.4.2 telstr austrailia model.. I think it might be build that ends with an_1
BUT did it update? do I flash 4.4.2 or 6
If partition was affected before official update then it will still be 4.4.2
But if it was simply files that were damaged then it may be a corrupt 6
hmm
Much appreciated
Andy
install twrp>advanced wipe> wipe data, cache, dalvik, system.
reflash any fw version via odin
vincom said:
install twrp>advanced wipe> wipe data, cache, dalvik, system.
reflash any fw version via odin
Click to expand...
Click to collapse
Yeah recovery then wipe worked, I had doubted flashing since it was stuck on official update.. Thanks
For ref - loop was just from sys files being modified (prob towelroot ota)
Once wiped it would still sit on boot but now it wouldn't loop or heat up
From there I flashed og firmware w odin and wiped

Categories

Resources