Format storage and flash custom ROM? - Nexus 4 Q&A, Help & Troubleshooting

Hello,
I had AOKP ROM. Now, new build of slimbean was released so I want to flash slimbean. I flashed it but I found a lot of folders and files from AOKP in storage (yes, I did wipe - format via TWRP). How can I format storage and then flash slimbean please? I want to delete all from my nexus 4.
Thank you

Factory reset in twrp won't delete the contents of your internal sdcard. Use the format data option to do this. Keep in mind this is not necessary to do when switching ROMs.
Sent using xda premium

chromium96 said:
Factory reset in twrp won't delete the contents of your internal sdcard. Use the format data option to do this. Keep in mind this is not necessary to do when switching ROMs.
Sent using xda premium
Click to expand...
Click to collapse
Already used format in TWRP. Used Nexus 4 ToolKit for flashing stock ROM, then I used Nexus Root Toolkit for root and now I'm flashing new slimbean via TWRP. Hope, all will works fine.
I know, it's not necessary but I don't like files from other ROMS in storage

Related

Nexus 4 wipe data problem

I would like to ask that when I wipe data in recovery , what will actually be wipe, will my photo or music be wipe?
Sent from my MB526 using xda app-developers app
If you wipe data in recovery mode, it'll wipe everything. Everything.
I mean in custom recovery, if it will wipe everything even the zip in sd card then how can we actually flash rom? Sorry for my silly question, cause my previous phone can use sdcard which don't got this problem....
Sent from my MB526 using xda app-developers app
If you wipe data in recovery, it doesn't wipe your photos or music.
It only wipes your apps, system apps and their data. Also resets the phone.
Then only way you wipe your photos or music is if you go to;
mount and storage > format sdcard.
WHICH YOU DON'T WANT TO DO!
So if you want to flash a custom ROM;
In your recovery you;
Wipe data & Factory Reset
Go go Advance > wipe dalvik cache
Flash your ROM.
Sent from my Nexus 4 using xda premium
Thanks, that's mean it's just the same way as defy, how about how about flash a kernel? Because as defy's boot loader are locked, we can't actually flash a really kernel, just the 2nd boot kernel
Sent from my MB526 using xda app-developers app
ansontyl96 said:
Thanks, that's mean it's just the same way as defy, how about how about flash a kernel? Because as defy's boot loader are locked, we can't actually flash a really kernel, just the 2nd boot kernel
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Well if your bootloader is locked, look around the development thread for the nexus 4 utility 1.3.0
That unlocks, roots, install recovery and all sort of stuffs.
To flash a kernel to a stock or custom ROM;
Boot to recovery
Format Cache
Format dalvik cache
Flash
Reboot.
Sent from my Nexus 4 using xda premium
Unlocking bootloader will wipe EVERYTHING on your phone.
what would i have to do if i wanted to wipe my sd card? stock clean??
i've taken up 2gb of data because i tried to make a system back up but i've done it like 3 time and i can't find the backup zips so i just want to clean the SD card back to the begining without messing up the system data since i'm not flashing anything new
I have the same doubt. What is the best way to format SD card?. I did it once and had to inject the ROM with computer using ADb. Any alternative?
Sparta507 said:
what would i have to do if i wanted to wipe my sd card? stock clean??
i've taken up 2gb of data because i tried to make a system back up but i've done it like 3 time and i can't find the backup zips so i just want to clean the SD card back to the begining without messing up the system data since i'm not flashing anything new
Click to expand...
Click to collapse

[Q] Newbie questions (don't kill me Im new!)

Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
Use TWRP for recovery and to do a clean install wipe all data from TWRP.
Sent from my Nexus 7 using xda premium
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
smt8544 said:
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
Click to expand...
Click to collapse
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
mariosanoguera said:
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
Click to expand...
Click to collapse
I think it would be easier and cleaner if you restored back to stock before trying to re root, flash recovery, etc. If you have no important data on your device I'd go for it. If you do have important data, then try and pull it to your computer and then flash a stock image and re root etc.
I always find that in times when my device is screwing around, or I have file dregs around the place, I find it simply easier to backup important things and flash a stock image.

Q: Wipes?

When I want to install a new ROM I usually do system wipe, factory reset, dalvik cache and cache..
I've noticed that there are others 3 options which one of them gave me a brick.
Format Data (gave me a semi brick since I could only access recovery mode but the rom to install had been wiped and couldnt transfer files to my nexus 7 through adb push)
External Storage wipe (since the nexus 7 hasn't got an sd card this option is dangerous?)
Internal Storage (even more dangerous?)
When I flash some folders are still there after doing the process described in the first line of this thread..
I would like to know if I can safely include the External Storage wipe or Internal storage wipe, and IF I do one of these 2 will I loose the .zip I have in my nexus 7 ready to flash?
Should I include one of these 2 options before flashing a new rom? (Since Format Data I know it wipes everything and only lets you access recovery, and you can't install anything since your .zip has been wiped aswell)
Thank you
Your already doing it right. The N7 only has internal storage. No need for anything else. I do have a superwipe flashable zip that erases everything except storage and repartitions the device. Not needed in almost any case except for bug fixes/tests.
Sent from my Nexus 7 using XDA Premium HD app
All of these wipes are unnecessary. A factory reset is the only one needed, and it covers /data and /cache. Plus most installations will wipe the dalvik for you.
Sent from my Nexus 7 using Tapatalk HD

[Q] Flashing CM from touchwiz?

When flashing CM 10.2 nighlty from stock TouchWiz, in Clockworkmod Recovery, is it necessary to format /system and format /data before doing so? Also would I lose all nandroid backups that I save internally by doing this?
I think you should read the OP of the ROM before you do anything. It will have the info you need.
You will not lose any data on any SD. It's always recommended to back that up though.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
SimpIe said:
When flashing CM 10.2 nighlty from stock TouchWiz, in Clockworkmod Recovery, is it necessary to format /system and format /data before doing so? Also would I lose all nandroid backups that I save internally by doing this?
Click to expand...
Click to collapse
it's my opinion that every user should have a micro sd card. i dont understand why anyone wouldnt pay $10 to have their nandroids, rom, kernel, etc stored safely on a separate piece of media. again, my opinion.
you are wanting to change android versions here in addition to changing ROMs. when you change ROMs, you can just wipe data/factory reset and wipe both caches. when you transition from one version to another, in this case from 4.2.2 to 4.3, you need to format /system and i highly recommend to format /data. this will alleviate headaches down the road and give your device a great, clean point to start from. if you're going to commit to placing a new OS on your device, commit to doing it the best way possible. having a micro sd card will keep all your files safe during these full wipes.
cheers
SimpIe said:
When flashing CM 10.2 nighlty from stock TouchWiz, in Clockworkmod Recovery, is it necessary to format /system and format /data before doing so? Also would I lose all nandroid backups that I save internally by doing this?
Click to expand...
Click to collapse
You should always wipe data/factory reset and format /system when flashing a new ROM.
You will not lose nandroid backups or anything else stored on internal storage. Those things are not stored on /data or /system.
Sent from my SGH-I337 using XDA Premium 4 mobile app

[I9505] Recover files

Hello Guys. I'm desperate as yesterday i did try full wipe on my brother galaxy s4 via stock recovery and I did wipe whole phone including photos and videos. I'm so surprise as this never happened on my old s2. Now I'm trying to recover some files but s4 blocking access to those files. Phone is rooted running 4.3 Any advice please? How to remove those blocking system ? Please Please
how you want to access files that you have deleted
pda4g said:
how you want to access files that you have deleted
Click to expand...
Click to collapse
I believe there is option via for ex dr.fone software but unfortunatelly s4 blocking access. Wondering if I flash any non stock rom it will help
if they were stored on the internal and you formatted it, they are basically gone, as i don't think you can mount this in windows, you will only have limited access to certain files via the mtp interface.
if they were on your ext sd card, remove it and use a card reader to connect to your pc and try recovery software?
as have been deleted in stock Recovery I do not believe to be restored
Guys you both right. Still no luck on stock rom. Just wondering if I flash for ex SlimKat will I be able to mount internal storage? Thanks
Sent from my GT-I9100 using XDA Premium 4 mobile app
demo84 said:
Guys you both right. Still no luck on stock rom. Just wondering if I flash for ex SlimKat will I be able to mount internal storage? Thanks
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This is part of how to install SlimKat
Reboot to recovery.
In recovery make a full wipe as per these instructions:
In CWM perform wipe data / factory reset and in mounts and storage section format system.
In TWRP choose advanced in wipe section and wipe dalvik cache, cache, system and data.
Flash SlimKat rom zip.
Flash SlimKat gapps zip.
Reboot, setup and enjoy.
What's up
You will delete,format again,wipe again
before install
I need to talk?

Categories

Resources