[Q] Format in TWRP then flash off USB ? - T-Mobile Samsung Galaxy Note5

I would like to completely wipe my phone and re-flash. Of course I am already rooted and running a custom ROM. My question is, is it safe to boot into TWRP and do a nandroid backup to my USB-Drive (OTG). Then do a system reset and ALSO FORMAT DATA so all is gone. Then can I flash from my USB by mounting it in TWRP and flash my ROM from the USB drive since the internal memory will be wiped clean.
So basically this:
1. Boot to TWRP
2. Mount USB
3. Backup to USB
4. Factory Reset Wipe ALL Dalvik Cache / Cache / Data / Internal Storage / System
5. Format DATA ( i.e. ..data/media )
6. Flash ROM ( from USB )
7. Reboot
*** UPDATE - I just tried the above and found out it wont work. When I try to backup to the USB from within TWRP, it gives an ERROR it wont create the folder on the USB.
Could someone PLEASE help me figure out how to completely erase my internal memory/storage and then be able to FLASH a new ROM from USB via TWRP. My USB is all set and mounted and the ROM is there. Basically my concern is I want to do a nandroid backup first but since I am wiping DATA and all internal, I dont want to wipe the backup also ...
Thanks for info.

Related

HELP problem restoring CMW backup

I tried to restore a nandroid backup but it doesent boot, (bootloop), and i havn´t got any zip in my storage.
I also tried to format data this nandroid but still not boot
and finaly i cant connect my storage using -mounts and storage - enable usb storage in my CMW recovery?
How can i flash another rom o connect the storage to my pc?
thanks!
sexation said:
I tried to restore a nandroid backup but it doesent boot, (bootloop), and i havn´t got any zip in my storage.
I also tried to format data this nandroid but still not boot
and finaly i cant connect my storage using -mounts and storage - enable usb storage in my CMW recovery?
How can i flash another rom o connect the storage to my pc?
thanks!
Click to expand...
Click to collapse
tried to get into fastboot and flash a stock rom first?

[Q] Corrupted internal storage

ill keep this simple. tried to advanced wipe data and cache with TWRP which returned an E:/ unable to mount for both data and cache. internal storage is now saying its 0MB after i "fastboot erase" on as many of the partitions it would return success with (ie, what was mounted) flashall is asking me for a specific device.
How do i reset the internal partitions so they become mountable again? i believe in erasing the ones i had, it has deleted them altogether and i need to flash original firmware to get it to auto restructure (im guessing)
EDIT: so i downloaded this (link not allowed) i just dont know how to implement it through adb or fastboot
somewhere i read that the latest moto PQ versions for CWM and TWRP both have some selinux problem when wiping data, causing a force unmount (parroting. i DONT know what im talking about)
the first time i installed with CM11 with twrp (after CMW only allowing me to install 10.2) it worked great, except google play and whisperpush(whatever that is) crashing consistently. i should have used 'fix permissions' instead of going for a wipe+re-install
please help, what commands do i need to use through fastboot to restore the partitions, or where can i get the fxz file to use with RSD?
this is a brand new out of the box Sim-modded and pre-rooted PQ
SOLVED (i think)
god im so ****ing stupid.
due to corrupting the file structure and not being able to mount the cache or data partitions, when i installed CM11 snapshot it picked my external SD as the data storage /android/data/
FIX: unmounting and removing the external SD i rebooted to system, booted back to recovery. -> factory reset.... auto reboot, cant mount messages, then a second time it said SELinux supported message. ->factory reset again and finally no red messages, wipe to system (got an error, but probably cause system = external SD). i then inserted the external SD, installed the ROM and everything looks normal and working right
TWRP will restore file structure with 'factory reset' BUT ONLY IF you remove your external sd
i hope this thread saves time and headaches for someone.

[Q] Format data/media and internal without losing ROM flash.zip

Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
re: full wipe
Thibor69 said:
Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
Click to expand...
Click to collapse
Easy, do an advanced wipe in twrp and don't check mark internal storage or the OTG, only
check mark system, data, cache and dalvik and nothing except do a factory reset in twrp.
(doing it this way will not delete anything on the internal sdcard.
Good luck!
Have a nice Thanksgiving!
Haven't tried on this phone as I haven't rooted but adb push should solve your question.

Wiping Phone in TWRP Reovery

What should I wipe before I sell my phone:
Dalvik Cache
System
data
Internal Storage
Cache
USB-OTG
Well, assuming the person buying it wants an OS on there, you should perform a factory reset from the settings menu while the phone is booted. This should take care of the system and data partitions (I think it takes care of internal storage as well, but you can be sure by wiping internal storage in TWRP).
You could also just do everything in TWRP if you have a flashable zip of an OS (COS, CM, OOS, etc.) and a Gapps package ready. If you have those ready, wipe system, data, cache, DALVIK, and internal storage then flash the OS and Gapps and boot. If you did this, you just performed a clean flash and everything that was previously on the phone is now gone.
Sent from my A0001 using Tapatalk
If I wanted to just keep the OS, would I wipe everything but System then?
Also, when I restart my phone, it still asks me for my encryption password. I thought after a factory reset, it would no longer ask me for this. How do I get rid of this? I want to leave whatever is encrypted, encrypted. Do I need to wipe something else, I am guessing?
Wipe everything on that list and just connect PC to computer and transfer gapps and rom via twrp and then flash. Completely cleans phone
Check first if your computer recognizes your OPO while in TWRP. If not, get yourself OTG cable and pendrive. Wipe everything and flash new rom, gapps, root perhaps via otg. Cheers!
kodo12 said:
Check first if your computer recognizes your OPO while in TWRP. If not, get yourself OTG cable and pendrive. Wipe everything and flash new rom, gapps, root perhaps via otg. Cheers!
Click to expand...
Click to collapse
Wipe everything *before* plugging in the OTG drive. Wouldn't want to wipe the drive containing the ROM.
Sent from my A0001 using Tapatalk
Yup, you're right kind sir. Thank you for pointing that out. Best regards.

Strange Bootloop!

I install ResurrectionRemix M v5.7.2 and gapps 6.0 to my phone through TWRP. it was good. But later i decided to install AospExtended-v3.1 . I took the zip file into my USB Removable disk as my phone didn't have any external storage so that i could install it with the help of OTG cable!
I install AospExtended-v3.1 and gapps 7.1 successfully from TWRP recovery . when it is 'done' i tapped on 'Reboot to system'. I don't know why, my phone goes into bootloop though i installed various ROMS in this process but i wasn't face this problem before!
Anyway then i wiped all data and decided to go back to my previous ROM. I Installed ResurrectionRemix M v5.7.2 through TWRP. it was installed successfully and i thought now that looping problem will resolve, but after successful completion of installing ResurrectionRemix M v5.7.2 when i reboot to system there still the bootloop problem!
Then i though i should go back to my STOCK ROM. I download MIUI 6.7.5_5.0_global fastboot ROM and using miflash tool with proper ADB drivers installed i flash my phone. It was again completed successfully, then i thought this time the bootloop problem will resolve! But no! My phone still stuck into bootloop.
whatever installing process(TWRP/Fastboot) i followed, i am unable to solve this Strange bootloop issue! What should I do?
i am also facing this problem,wht i do i cant understand,pls anyone hlp me to take out from this situation
Try these.
1. Boot into twrp
2. Wipe System, Data, dalvik, cache ( Don't wipe system storage )
3. Connect USB disk
4. Copy desired ROM into internal storage using the file manager given in TWRP.
5. Flash ROM locating the zip in internal storage.
6. Wipe Cache/Dalvik.
Your phone should now boot successfully.
madhurajkumar said:
Try these.
1. Boot into twrp
2. Wipe System, Data, dalvik, cache ( Don't wipe system storage )
3. Connect USB disk
4. Copy desired ROM into internal storage using the file manager given in TWRP.
5. Flash ROM locating the zip in internal storage.
6. Wipe Cache/Dalvik.
Your phone should now boot successfully.
Click to expand...
Click to collapse
I tried this process, but this doesn't work!
try returning to stock MIUI
follow this thread
https://forum.xda-developers.com/mi-4i/help/solved-mi4i-continuous-reboot-issue-t3537896

Categories

Resources