Is not having external SDCard an issue for rooting? - Nexus 5 Q&A, Help & Troubleshooting

I'll try to explain myself before people jump at me. I saw another thread with same question but seems like people misunderstood the question.
I am not talking about "lack" of memory, or not having another 32/64gb availble, etc.
I'll give you an example to what I am referring to:
Recently I decided that my rooted S2 needs a little 'refreshing', meaning - not just a wipe, but a complete format, to start from scratch. So I formatted everything, including /system and /emmc partitions. I then re-booted to recovery and had my rom file on the SD card so i was able to get a clean install.
Now, the question is - say I am at a stage when I need to 'refresh' the phone and wipe everything out. How do I then access the rom file for new install if I don't have external SD Card?
Thanks.

with adb.

What I do when I want a clean start, is I will load the rom/gapps/kernel to my phone, go to recovery, factory reset (with system if you choose), then flash all the things you want, then go back and wipe internal storage after. Then you're left with a fresh version of the ROM you want to install and no files whatsoever in the memory. Hope that helps.

I had the same suspicions a while ago. Basically with the nexus 5, even without an external sd, you can still do a full wipe of everything other than your storage. There is a path on the internal storage which essentially acts like an sd card, and when doing wipes in recovery it will not be wiped, unless of course you specifically choose to format /sdcard or all of /data. Read here for more info. I found that explanation very helpful.
So to answer your question, no, its not an issue.

Zepius said:
with adb.
Click to expand...
Click to collapse
This.
I have the same issue, with my OCD, that I always need a complete wipe of EVERYTHING.
One option, I recommend if that's not an option at the time of flash, is to simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash

justinisloco said:
simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash
Click to expand...
Click to collapse
Reset in settings just uses recovery unless something changed I haven't realised?
It should be down to what recovery you have (stock vs custom) as to whether a reset (regardless of how you initiate it) wipes /sdcard or not... or are you saying that's changed now?
Sent from my Nexus 5 using Tapatalk

Zepius said:
with adb.
Click to expand...
Click to collapse
Pardon my ignorance, but what is adb?
spitefulrain said:
What I do when I want a clean start, is I will load the rom/gapps/kernel to my phone, go to recovery, factory reset (with system if you choose), then flash all the things you want, then go back and wipe internal storage after. Then you're left with a fresh version of the ROM you want to install and no files whatsoever in the memory. Hope that helps.
Click to expand...
Click to collapse
Problem with factory reset, as far as I know, is that it does not wipe out everything. When I do factory reset in my S2, I still see old folders (even though empty) from before the wipe. That's why I like to format everything clean. When I mean clean, I don't want to see any old folder in there
justinisloco said:
This.
I have the same issue, with my OCD, that I always need a complete wipe of EVERYTHING.
One option, I recommend if that's not an option at the time of flash, is to simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash
Click to expand...
Click to collapse
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?

sbi1 said:
Pardon my ignorance, but what is adb?
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?
Click to expand...
Click to collapse
Android Debug Bridge. It allows you to communicate with your phone via command line tools.
You would keep the rom somewhere on your internal storage (data/media) just like you would on any other phone. Then after wiping, you would simply choose to install zip from sdcard and your rom, along with any other flashable zip on your sdcard will be available to install. Basically when you do a typical full wipe from a custom recovery, the contents of your internal storage/sdcard are not wiped.

Chromium said:
Android Debug Bridge. It allows you to communicate with your phone via command line tools.
You would keep the rom somewhere on your internal storage (data/media) just like you would on any other phone. Then after wiping, you would simply choose to install zip from sdcard and your rom, along with any other flashable zip on your sdcard will be available to install. Basically when you do a typical full wipe from a custom recovery, the contents of your internal storage/sdcard are not wiped.
Click to expand...
Click to collapse
OK, this seems a bit too complicated for me

sbi1 said:
Problem with factory reset, as far as I know, is that it does not wipe out everything. When I do factory reset in my S2, I still see old folders (even though empty) from before the wipe. That's why I like to format everything clean. When I mean clean, I don't want to see any old folder in there
Click to expand...
Click to collapse
Which is why I said wipe your internal storage after
Sent from my Nexus 5 using Tapatalk

rootSU said:
Reset in settings just uses recovery unless something changed I haven't realised?
It should be down to what recovery you have (stock vs custom) as to whether a reset (regardless of how you initiate it) wipes /sdcard or not... or are you saying that's changed now?
Click to expand...
Click to collapse
Lately, I've noticed that it wipes the Data as well. Unless It was only on CWM that it happened? I had installed CM11 with CWM and wanted to reset my SD. I used the reset feature and it erased everything, except the OS
sbi1 said:
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?
Click to expand...
Click to collapse
I would flash the Rom first, then do the factory reset, the only downside is the nandroid you made may be lost, unless you uploaded it to GDrive or something.
---------------------------------------
Using this guide, you will be able to learn about ADB
http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
In Step 3-
Chromium said:
3. Rooting
Now that your phone has an unlocked bootloader and a custom recovery installed you have a two options to gain root (Pick one or the other. You don't need to do both)
Option A) Flash SuperSU binaries which will give you root with the stock rom
Confirm that you have downloaded the SuperSU zip from the downloads section above and that it is located in the platform-tools folder inside of the android-sdk-windows folder on your desktop.
Turn the phone off then boot into the bootloader. (volume down + power). Once in the bootloader use the volume rockers to scroll onto Recovery Mode, then press power to select it. This should bring you into your newly installed custom recovery. Leave the phone at the home page of the custom recovery.
Open a command prompt window and run the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
Code:
adb push UPDATE-SuperSU-v[COLOR="Red"]X[/COLOR].[COLOR="red"]XX[/COLOR].zip /sdcard/
This will copy the SuperSU zip onto your phone. Once the command has completed continue.
Instructions for TeamWin Recovery Project (TWRP):
Install > browse to SuperSU zip and select the it
Swipe to confirm the installation. Then reboot.
Click to expand...
Click to collapse
It shows how to "Push" a file to your phone. That is the best way, IMO. But instead of SuperSU, just "adb push ROM.zip /sdcard/"

sbi1 said:
OK, this seems a bit too complicated for me
Click to expand...
Click to collapse
Flashing the rom? Its honestly not any more complicated than flashing a rom for any other device. You download the rom to your internal storage. Boot into recovery. Then do a full wipe:
TWRP Full Wipe:
- Wipe
- Advanced wipe
- Select all, except internal storage
- Swipe to wipe
CWM Full Wipe:
- wipe data/factory reset
- wipe cache partition
- advanced > wipe dalvik cache
- mounts and storage > format /system
Finally you can then flash the rom (and gapps).

sbi1 said:
OK, this seems a bit too complicated for me
Click to expand...
Click to collapse
It's not really and if you're rooting and flashing any device, adb is essential knowledge.
Once you've installed adb (millions of guides on the net) you just boot into recovery then connect to pc via usb.
adb commands are run from cmd prompt.
For example...
adb push c:\users\sbi1\desktop\rom.zip /sdcard
Would push the file on your windows desktop called rom.zip to your sdcard.
You can even sideload from recovery.
Or better yet,.just don't wipe /sdcard. It has no benefit other than looking tidy anyway
Sent from my Nexus 5 using Tapatalk
---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------
Ok too many cooks... i'm bowing out
Sent from my Nexus 5 using Tapatalk

OK, thank you all. So I should have no worries then. Was just wondering how this is done without external SD and it seems to be working fine. Thanks again!

Chromium said:
CWM Full Wipe:
- wipe data/factory reset
- wipe cache partition
- advanced > wipe dalvik cache
- mounts and storage > format /system
Click to expand...
Click to collapse
Parting note
Philz Touch Full Wipe:
- wipe data/factory reset > clean to install new ROM
(Does all the steps mentioned above at once)
Sent from my Nexus 5 using Tapatalk

Related

Wipe Internal Storage

I would like to wipe internal storage to make better/clean install of the ROM (
with old S3 i make a folder on Ext SD with .zip file
reboot to cwm
backup
wipe all (cache + data + system + internal storage)
install (rom + gapps + kernel)
reboot
As you know on 1+ there is no Ext Sd
Someone has already tried to do:
copy .zip file to a folder on PC
reboot to TWRP (2.8.0.1)
make a backup
connect phone to pc and mount data
copy backup from 1+ to Pc
advanced wipe (cache + data + system + internal storage)
copy .zip file from PC to 1+
install (rom + gapps + kernel)
reboot
Can it work?
P.s. I have no OTG cable or USB
You should be able to wipe everything and install the Rom-Zip via ADB-Push.
Why dont you try to install the new rom in recovery with a normal wipe and after you falsh the rom + gapps do a wipe of the internal sdcard should have the same affect ?
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
Wow. Interesting thread. However, I wipe my internal storage (for a "full" wipe) everytime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
to the OP: I put all of my zip files in a USB otg so flashing is a bit simpler. This includes all of my nandroid and media.
I would wait to wipe the internal storage until you figure out which route you want to use (USB-otg or ADB)
Until then a normal factory reset in your recovery should be good. Also as @Hogyoku metioned you can erase internal from within the Rom to get the same effect.
Sent from my One A0001 using XDA Free mobile app
Mojar7070 said:
Wow. Interesting thread. However, I wipe my internal storage (for "full" wipe) evertime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
I do put all of my zip files in a USB otg so flashing is a bit simpler.
Sent from my One A0001 using XDA Free mobile app
Click to expand...
Click to collapse
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Hogyoku said:
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Click to expand...
Click to collapse
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
markbencze said:
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
Click to expand...
Click to collapse
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
markbencze said:
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
Click to expand...
Click to collapse
That's really nice of you that you did that guide. But there is no way that bricks could have to do with that wipe. There is no way an internal wipe could corrupt any other partition than /data/ (efs, persist anything) beside of a bug in the recovery. Wiped internal several times on every phone and also the OPO with TWRP 2.8.0.1 and as you can see it's still running.
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Although you are right about this I still think it ain't smart to advice this on this forum. A lot of noobs around here, much more than in any sub forum of a phone I ever owned.[emoji6]
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Thank you

How do I wipe /sd card?

I want to flash a clean install of Resurrection Remix, but when I wipe cache, dalvik cache, etc., my pictures, apps data, etc. in /sd is still there. How do I delete that info?
tilt4life2 said:
I want to flash a clean install of Resurrection Remix, but when I wipe cache, dalvik cache, etc., my pictures, apps data, etc. in /sd is still there. How do I delete that info?
Click to expand...
Click to collapse
Boot into recovery.. go to wipe , then advanced wipe.. select everything except for otg option.. Reboot. Everything will be erased including your internal memory.
Cheers
Sent from my A0001 using Tapatalk
tilt4life2 said:
I want to flash a clean install of Resurrection Remix, but when I wipe cache, dalvik cache, etc., my pictures, apps data, etc. in /sd is still there. How do I delete that info?
Click to expand...
Click to collapse
The question is why? This isn't at all necessary when flashing a ROM.
Heisenberg said:
The question is why? This isn't at all necessary when flashing a ROM.
Click to expand...
Click to collapse
I downloaded lots of different widgets, wallpaper apps, themes, etc., to test different setups for my phone. I have the setup I want now, but the /SD card folder is cluttered with folders from apps and themes I don't want and don't plan on redownloading.
I have seen your warnings in other threads about wiping internal storage, so I haven't done that. On my Note 3, I had the external SD card, so it was easy to wipe internal storage and flash from the SD card. But since there is no SD card with this phone, I've been trying to read up on it. And there is a bunch of conflicting advice on what's safe and what's not.
Heisenberg said:
The question is why? This isn't at all necessary when flashing a ROM.
Click to expand...
Click to collapse
anugrah n3xu5 said:
Boot into recovery.. go to wipe , then advanced wipe.. select everything except for otg option.. Reboot. Everything will be erased including your internal memory.
Cheers
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
How do I then flash a ROM without an external SD card? I've read about adb sideload and USB otg, but haven't found a thread that easily explains how to do those methods. I've also seen conflicting reports about whether it's safe to wipe internal storage. Any good threads on this issue you can point me to? Thanks.
tilt4life2 said:
How do I then flash a ROM without an external SD card? I've read about adb sideload and USB otg, but haven't found a thread that easily explains how to do those methods. I've also seen conflicting reports about whether it's safe to wipe internal storage. Any good threads on this issue you can point me to? Thanks.
Click to expand...
Click to collapse
You can store the ROM zip on your PC, then use TWRP to wipe your internal storage, then just connect your phone to your PC and copy the zip onto the phone to flash.
tilt4life2 said:
How do I then flash a ROM without an external SD card? I've read about adb sideload and USB otg, but haven't found a thread that easily explains how to do those methods. I've also seen conflicting reports about whether it's safe to wipe internal storage. Any good threads on this issue you can point me to? Thanks.
Click to expand...
Click to collapse
First of all do a factory reset(will clear all files ,folders and apps "excluding" system files) then transfer zip file(ROM) and gapps to your phone. Go to recovery > wipe> advance wipe > select everything except for internal memory and otg option > wipe > go to install > select the zip file(ROM) and flash> flash gapps > wipe dalvic cache > reboot
The first boot may take a while (2-10 minutes)
Sent from my A0001 using Tapatalk
Heisenberg said:
You can store the ROM zip on your PC, then use TWRP to wipe your internal storage, then just connect your phone to your PC and copy the zip onto the phone to flash.
Click to expand...
Click to collapse
Thank you. Do I simply need to mount my phone while in TWRP to copy the ROM and Gapps zips? Also, can wiping internal storage screw up my radios or any other aspects of the phone? I recall seeing a thread where the poster claimed that wiping the internal storage screwed up his phone and resulted in lots of FCs when he installed a new ROM. But others doubted his claims.
Heisenberg said:
You can store the ROM zip on your PC, then use TWRP to wipe your internal storage, then just connect your phone to your PC and copy the zip onto the phone to flash.
Click to expand...
Click to collapse
anugrah n3xu5 said:
First of all do a factory reset(will clear all files ,folders and apps "excluding" system files) then transfer zip file(ROM) and gapps to your phone. Go to recovery > wipe> advance wipe > select everything except for internal memory and otg option > wipe > go to install > select the zip file(ROM) and flash> flash gapps > wipe dalvic cache > reboot
The first boot may take a while (2-10 minutes)
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
I'm on Resurrection Remix ROM and when I try to wipe from settings, nothing happens. But I tried your method with cm12 and the files were still there.
tilt4life2 said:
Thank you. Do I simply need to mount my phone while in TWRP to copy the ROM and Gapps zips? Also, can wiping internal storage screw up my radios or any other aspects of the phone? I recall seeing a thread where the poster claimed that wiping the internal storage screwed up his phone and resulted in lots of FCs when he installed a new ROM. But others doubted his claims.
Click to expand...
Click to collapse
Just connect the phone and it should mount automatically. Wiping the internal storage has no effect on the modem or any other aspect of the operation of the phone.
tilt4life2 said:
I'm on Resurrection Remix ROM and when I try to wipe from settings, nothing happens. But I tried your method with cm12 and the files were still there.
Click to expand...
Click to collapse
Go to recovery>wipe > factory reset or
Wipe>advance wipe> select internal storage>wipe it > clear dalvic cache> reboot
Sent from my A0001 using Tapatalk

[q] oneplus one urgent!!!! Help

Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Ricardo-Fr said:
Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Click to expand...
Click to collapse
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Heisenberg said:
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Click to expand...
Click to collapse
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Ricardo-Fr said:
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Click to expand...
Click to collapse
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Heisenberg said:
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Click to expand...
Click to collapse
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Ricardo-Fr said:
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Click to expand...
Click to collapse
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Heisenberg said:
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Click to expand...
Click to collapse
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Ricardo-Fr said:
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Click to expand...
Click to collapse
It doesn't really matter where you put them, I have a dedicated folder for ROMs so they're easy for me to find. But as long as you use the Advanced Wipe menu and only select system, data, cache, and dalvik cache (not internal storage) you'll be fine.

[Q] FORMAT Data/Media... ?

I would like to format my /dat/media.. and then I would like to re-flash the ROM I am using. Since we all know the Note 5 does not have a sdCard port/reader
I can not figure out were to put my ROM that I will be flashing. There is no safe place to store it is there if I do a full FORMAT of /data/media. If I
format /data/media wont that wipe everything ?? even my image file of my ROM. Normally I would store it on an external sdCard then format /data/media..
and then copy the ROM image file back from the sdCard to the phones internal sdcard.
Bottom line .... I want to WIPE my entire phone EVEN /data/media then re-flash my ROM.
Thank you for any tips help.
My phone currently is Rooted and running [MULTI-LANG-6.0.1] TEKXodus HYBRID N5/S7Edge URv7.5E 5/04/16 N920X/G928X
re: internal sd
Thibor69 said:
I would like to format my /dat/media.. and then I would like to re-flash the ROM I am using. Since we all know the Note 5 does not have a sdCard port/reader
I can not figure out were to put my ROM that I will be flashing. There is no safe place to store it is there if I do a full FORMAT of /data/media. If I
format /data/media wont that wipe everything ?? even my image file of my ROM. Normally I would store it on an external sdCard then format /data/media..
and then copy the ROM image file back from the sdCard to the phones internal sdcard.
Bottom line .... I want to WIPE my entire phone EVEN /data/media then re-flash my ROM.
Thank you for any tips help.
My phone currently is Rooted and running [MULTI-LANG-6.0.1] TEKXodus HYBRID N5/S7Edge URv7.5E 5/04/16 N920X/G928X
Click to expand...
Click to collapse
If you have twrp recovery, it will not touch your internal sdcard or any of it's contents unless
you purposely click on the advanced wipe option indicating that you actually want to format it.
By default the internal sdcard in twrp is not check marked.
Simply doing a "Wipe" and a "Factory Reset" in twrp will not format, wipe or delete anything
located in your internal sdcard.
Good luck,
Have a great day!
Misterjunky said:
If you have twrp recovery, it will not touch your internal sdcard or any of it's contents unless
you purposely click on the advanced wipe option indicating that you actually want to format it.
By default the internal sdcard in twrp is not check marked.
Simply doing a "Wipe" and a "Factory Reset" in twrp will not format, wipe or delete anything
located in your internal sdcard.
Good luck,
Have a great day!
Click to expand...
Click to collapse
Yes BUT you missunderstand what I am trying to do. I want to WIPE internal memory. I want to wipe all traces of old programs located both on the internal SD and also located in data/media
Make sense ??
If I do it your way it will still leave all the stuff in the internal area and without doing a format DATA ( YES ) the stuff in /data/media will also still be untouched.. I want all traces of old user installed programs gone.
Help ?
re: wipe/format internal sdcard
Thibor69 said:
Yes BUT you missunderstand what I am trying to do. I want to WIPE internal memory. I want to wipe all traces of old programs located both on the internal SD and also located in data/media
Make sense ??
If I do it your way it will still leave all the stuff in the internal area and without doing a format DATA ( YES ) the stuff in /data/media will also still be untouched.. I want all traces of old user installed programs gone.
Help ?
Click to expand...
Click to collapse
With twrp thats easy too, simply click Wipe and then click "advanced wipe" and there you will see options
for each individual type of wipe, Wipe Data, System, Cache, Dalvik and "Wipe Internal SDCARD".
Misterjunky said:
With twrp thats easy too, simply click Wipe and then click "advanced wipe" and there you will see options
for each individual type of wipe, Wipe Data, System, Cache, Dalvik and "Wipe Internal SDCARD".
Click to expand...
Click to collapse
My friend -
I am so sorry, but I am still confused. So were would I put my image file (my new ROM) so it is safe from a wipe since you are saying it is ok to do this:
Wipe: cache devcache data internal system and then FORMAT DATA ( data/media )
??
To me this seems like it will wipe the ENTIRE PHONE ... were would a safe place to put the ROM be so I can flash it after ..??
Thibor69 said:
My friend -
I am so sorry, but I am still confused. So were would I put my image file (my new ROM) so it is safe from a wipe since you are saying it is ok to do this:
Wipe: cache devcache data internal system and then FORMAT DATA ( data/media )
??
To me this seems like it will wipe the ENTIRE PHONE ... were would a safe place to put the ROM be so I can flash it after ..??
Click to expand...
Click to collapse
Copy the image file into your computer then after the wipe copy it back into the phone while the phone is still in the twrp screen.
The new twrp 3.0.2 allows USB file transfers while twrp is running.
Sent from my SM-G928F using Tapatalk
Misterjunky said:
Copy the image file into your computer then after the wipe copy it back into the phone while the phone is still in the twrp screen.
The new twrp 3.0.2 allows USB file transfers while twrp is running.
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
Ok I need to upgrade TWRP I guess. I am running v2.8.7.1 !! and I can not get files to my phone from the pc. I think ... unless I am doing it wrong ???
Please could someone help me. I need to know how to get TWRP 3.0.2 onto my phone. Do I need to odin it ?? I am trying to get a working kernel onto my phone.... Please help me ...
I thank you
John
.
.
I am sorry for posting 2 posts in the forum. The 2 posts sort of run together now
and are messy, so If you can help me with my boot/loop/freeze issue, please
just go here: http://forum.xda-developers.com/tmobile-galaxy-note5/help/off-phone-t3375446
.
.
Thank you all !!

0 mb in TWRP internal storage

I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying

Categories

Resources