Cleanest flash tips - Nexus S Q&A, Help & Troubleshooting

I want thw cleanest flash possible. I want to format my sd card and everything. Im trying to see if this will help get the junk out of my sdcard and other hidden things that impact battery. Besides the typical CWM wipes what else can i do? I basically want everything gone except CWM to flash a new rom.
Sent from my Nexus S using xda premium

First thing, format /sdcard, then place the ROM you want to install on there. Now do a NANDROID backup in CWM.
Once this is done, go ahead and:
Data/factory reset
Format /system
Format /boot
Install new ROM
Now you can start fresh

why doing "nandroid backup" ?
and
is there a risk of loosing IMEI ?
Thanks

Nandroid in case you want to take your phone back to a known working configuration or if something goes wrong and you don't know how to fix it. Or just general backup purposes. Just do it.
Always a risk of losing imei somehow. Make a backup of your /efs folder and store it safely in case of emergency. Following the instructions won't touch that folder, though.

Harbb said:
First thing, format /sdcard, then place the ROM you want to install on there. Now do a NANDROID backup in CWM.
Once this is done, go ahead and:
Data/factory reset
Format /system
Format /boot
Install new ROM
Now you can start fresh
Click to expand...
Click to collapse
How do i connect via usb through CWM ? To copy over my rom after formatting everything?
Sent from my Nexus S using xda premium

Go into mounts & storage and hit "mount usb storage". Just note, as soon as you leave that screen in recovery it will be unmounted.

Related

Internal Memory full?

Hi all, I just flashed CM7 using the newest clockwork mod recovery. Now it says my internal memory is full. I havnt deleted anything internally since I got the phone. What is the best way to format that memory and reinstall a fresh copy of CM7?
Kaczman said:
Hi all, I just flashed CM7 using the newest clockwork mod recovery. Now it says my internal memory is full. I havnt deleted anything internally since I got the phone. What is the best way to format that memory and reinstall a fresh copy of CM7?
Click to expand...
Click to collapse
Go to recovery......in recovery go wipe cache, factory reset/data, go to mounts/storage and format system, data, cache....go to advance and delete dalvik cache..... then just install zip from sd, choose zip, flash taht **** and reboot your phone
Awesome!! thanks bud!
I don't mess with CWM wiping partitions anymore, I wrote a flashable script for that - a long time ago there was an issue with that on CWM 4.0.0.8
A member has confirmed that A01 wipe will be okay if you turn off and have no ROM installed, you will still be able to get to CWM and flash whatever you want.
A01 wipe will format /cache, /data and /system
B01 wipe will format /cache and /data
Use as needed.
I keep a backup memory card with my phone at all times that has A01 wipe, B01 wipe, and my original CWM backup of my stock system on it, in case I ever need to go back to stock if something goes wrong.
Attached are the scripts, just throw these on your sdcard and flash like normal in CWM if you need to, before installing a ROM or patch if needed.
Blue6IX said:
I don't mess with CWM wiping partitions anymore, I wrote a flashable script for that - a long time ago there was an issue with that on CWM 4.0.0.8
A member has confirmed that A01 wipe will be okay if you turn off and have no ROM installed, you will still be able to get to CWM and flash whatever you want.
A01 wipe will format /cache, /data and /system
B01 wipe will format /cache and /data
Use as needed.
I keep a backup memory card with my phone at all times that has A01 wipe, B01 wipe, and my original CWM backup of my stock system on it, in case I ever need to go back to stock if something goes wrong.
Attached are the scripts, just throw these on your sdcard and flash like normal in CWM if you need to, before installing a ROM or patch if needed.
Click to expand...
Click to collapse
hey Blue just outta curiosity has anyone confirmed having issues with wiping through CWM with the new recovery or has the issue carried over from the 4.0.0.8/9?
I'm pretty sure I don't remember anyone having issues directly with cwm 4.0.0.9, and it was only a problem with 4.0.0.8 - even then not everyone experienced it.
I haven't tried the new recovery available yet, I meant to get to it this weekend, but it doesn't look like i'll get a chance to fit it in my schedule. I haven't seen my lady in just over a week, so spending the weekend with her.
Hopefully over the next week i'll get a chance to bring myself up to speed with it, I don't expect to go back to 4.0.0.9 once I move up to the new CWM recovery.

Stupidly encrypted my Nexus S, how would I go about removing this encryption?

From what I read you need to unroot the phone but I can not find a guide about this. I do not need to remove the encryption right now but I would like to remove it soon so I can flash a new rom.
maybe this? http://forum.xda-developers.com/showpost.php?p=21755219&postcount=11
sean1984 said:
maybe this? http://forum.xda-developers.com/showpost.php?p=21755219&postcount=11
Click to expand...
Click to collapse
That guide is for the Galaxy Nexus. I will look it over later and see if I could possibly use it. At first glance it looks like I can't.
Probably just best to backup all your data (Titanium backup for apps, copy all SDCard contents to your PC) then go intor recovery:
factory/data reset
format /system
format /boot
Flash FULL OTA for your phone
I also stupidly encrypted my phone without realizing that I cannot undo it later on. Now most of my apps force closes very often especially the games that I have installed before encryption.
The phone also heats up very quickly at times. Not sure if it's related to this or not.
I'm just hoping that the next OTA update to either 4.04 or 4.05 would solve these issues. If not, then I'll have to do the whole factory reset thing
Harbb said:
Probably just best to backup all your data (Titanium backup for apps, copy all SDCard contents to your PC) then go intor recovery:
factory/data reset
format /system
format /boot
Flash FULL OTA for your phone
Click to expand...
Click to collapse
Just wanted to say that this worked for me. The one thing I would like to add though is that you will still need to mount the usb storage and format before you are allowed to copy files to the sd card.
Wiping encrypted /sdcard
Luckily, Clockwork can still make the USB interface available. If you're on Windows, you can format the "Removable Disk" device that appears when you use the USB mount option in "mounts and storage" in Clockwork. It only needs a quick format.
Once you're done with that, go back to Clockwork and wipe it. You should be good.

Is not having external SDCard an issue for rooting?

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

[Q] Back Up Stock ROM

Hi all, How do I go about backing up my Moto G stock ROM.
I have CWM 6.0.4.7 installed and when I select backup to sd card I get the message can't mount backup path.
I want to install Gravity Box and in the guide it says "1) Backup your current ROM in custom recovery. I am serious. Don't skip this step,"
Thanks For looking
did you rebooted after unlocking the bootloader and flashing the recovery? the sdcard needs to be formated after a reset and this will be done once the phone boots. you will be asked if you want to root and maybe if you want to disable recovery flash. on the first one you can click no and root after you made the backup or just click yes and on the second question you need to click no
Damn I can't remember. I had a lot of trouble for some reason installing SU. I cant remember the exact steps but I know it took me about 3 Hrs to root and install cwm.
After each re boot it was like I never modded anything. Finally got it working but not su
macthehobo said:
Hi all, How do I go about backing up my Moto G stock ROM.
I have CWM 6.0.4.7 installed and when I select backup to sd card I get the message can't mount backup path.
I want to install Gravity Box and in the guide it says "1) Backup your current ROM in custom recovery. I am serious. Don't skip this step,"
Thanks For looking
Click to expand...
Click to collapse
In CWM go to Mounts and Storage and choose format /data and /data/media
That will wipe everything on /sdcard but the partition will start mounting!
It would be help in providing a better solution if you attach a pic or exact error text!
deej_roamer said:
In CWM go to Mounts and Storage and choose format /data and /data/media
That will wipe everything on /sdcard but the partition will start mounting!
It would be help in providing a better solution if you attach a pic or exact error text!
Click to expand...
Click to collapse
Okay thanks,will give it a go. It's a shame though as other than a few things got all my apps, display and widgets the way I want them.

[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 !!

Categories

Resources