[Q] Tricky Google Galaxy Nexus Question - Samsung Galaxy Nexus

Hi all!
I have been a long time lurker and this is my first post. I have a rather confucing question about my Samsung Galaxy Nexus
I am rooted, and was recently running CM10-whatever the latest is
I got sick of it (mainly because of the stupidly slow GPS lock times), so I wan't to switch. Xenon HD seems to be gettinga lot of praise, and stability is what I prize most in a rom, the second being speed.
I have TWRP 2.5 installed.
What I used to do in the past (with previuous phones) When switching roms was to place the rom file and gapps in a neat little folder on my Laptop.
I would then boot the phone into recovery, do a full wipe (when switching to a new rom) and factory data reset, and then wipe data/dalvik just for good measure
Then I would pop my phone into USB storage mode while still in recovery, and just move my Rom and Gapps zips to my phone.
When I did this, I had AmonRa's recovery installed, NOT my current recovery (TWRP)
PROBLEM:
I need to do a factory data reset when switching from CM10 to Xenon, but when I do the factory data reset, it erases the rom and gapps file I was planning on flashing......womp womp. As far as my research tells me, TWRP does not support USB storage mode, and will not let me just use the phone as a USB drive and simply move my rom and gapps zip from my desktop to the phone (like I used to do).
I know that I can use the sideload feature, but I would prefer not too, as I am not so good with ADB terminal, and don't have a lot of free time to re-learn what I have forgot. I essentially just need to know how to get these zip files onto my phone, and perform a factory data reset (without erasing them)
Or else, if I have overlooked some form of USB drive support while in TWRP, please enlighten me!
If anyone could just tell me how they go about avoiding this silly little issue I would greatly appreciate it, thank you!

You should be able to factory wipe without wiping the internal memory that has your ROM and gapps on it. when wiping in twrp, only wipe cache, dalvik cache, and data....that's what a factory wipe does. Don't select internal memory and it won't wipe what's on the internal "SD card"
I haven't used my computer to flash Roms in ages...just download the ROM and gapps to the "SD card"....if factory reset is wiping that then something is wrong with your recovery
Sent from my Galaxy Nexus using Tapatalk 4

Wow, you made me feel like a true noob! But thanks for the response, everything is better now!
Sent from my Galaxy Nexus using xda app-developers app

Hey don't feel bad.....I don't even think I remember how to use adb anymore
Sent from my Nexus 7 using Tapatalk 4

Using adb is just as flashing a ROM through a custom recovery: once you really know how to do it, you'll never forget it .
a maguro sent this.

Related

Help with Rebooting wiping storage

Hello everyone,
I would post this in the development thread but I can't since I am a ne user. Anyway..
I am currently on InFamous switching between the 2.4 TW version and the Google Edition v2.0.
My problem is every time I reboot my phone, it gets stuck on the Samsung Galaxy S4 boot image. Then when I go to recovery the Internal storage shows 0 MB available, and I can't fix permissions or wipe anything without having to format data first. The only way to boot my phone again, is to format data, wipe everything, and reinstall the ROM which is very annoying and time consuming.
PLEASE HELP!!
Thanks in advance
-Jesse
re: rebooting into Google Edition Rom
razorj7 said:
Hello everyone,
I would post this in the development thread but I can't since I am a ne user. Anyway..
I am currently on InFamous switching between the 2.4 TW version and the Google Edition v2.0.
My problem is every time I reboot my phone, it gets stuck on the Samsung Galaxy S4 boot image. Then when I go to recovery the Internal storage shows 0 MB available, and I can't fix permissions or wipe anything without having to format data first. The only way to boot my phone again, is to format data, wipe everything, and reinstall the ROM which is very annoying and time consuming.
PLEASE HELP!!
Thanks in advance
-Jesse
Click to expand...
Click to collapse
Have you tried this:
Before doing anything, be sure to back up the internal sdcard to a folder on your computer if you have anything you
want to save on the internal sdcard. Also be sure that the Google Edition zip file rom is on your "external" sdcard.
When the phone is flashed and ready to use go into settings>accounts tab>backup and reset>"Factory data reset".
Click on the factory data reset.
After doing that reboot into cwm or twrp which ever you are using and do a full wipe as you usually do but don't
forget to include "Factory reset".
Then flash the Google Edition rom as you normally have done and it should fix the problem you are having hopefully.
Good luck!
Misterjunky said:
Have you tried this:
Before doing anything, be sure to back up the internal sdcard to a folder on your computer if you have anything you
want to save on the internal sdcard. Also be sure that the Google Edition zip file rom is on your "external" sdcard.
When the phone is flashed and ready to use go into settings>accounts tab>backup and reset>"Factory data reset".
Click on the factory data reset.
After doing that reboot into cwm or twrp which ever you are using and do a full wipe as you usually do but don't
forget to include "Factory reset".
Then flash the Google Edition rom as you normally have done and it should fix the problem you are having hopefully.
Good luck!
Click to expand...
Click to collapse
Unfortunately, this did not work =(. Again, as soon s I reboot, I get stuck on the Samsung screen and have to pull out the battery. Then, in recovery my Internal storage has 0 MB aeven though the folders are empty.
razorj7 said:
Unfortunately, this did not work =(. Again, as soon s I reboot, I get stuck on the Samsung screen and have to pull out the battery. Then, in recovery my Internal storage has 0 MB aeven though the folders are empty.
Click to expand...
Click to collapse
Have you tried holding the power button, home key and the volume up key all at the same time to boot in recovery? If not do a battery pull and do it when turning the phone back on
Sent from my SGH-M919 using xda premium
razorj7 said:
Unfortunately, this did not work =(. Again, as soon s I reboot, I get stuck on the Samsung screen and have to pull out the battery. Then, in recovery my Internal storage has 0 MB aeven though the folders are empty.
Click to expand...
Click to collapse
If you already tried to Odin flash the STOCK rom and formatted your internal sdcard and you still find "0 MB"
in your internal storage then it must be a hardware issue and if I were you I would return/exchange the phone.
Good luck!
It's not a hardware issue. It's a bug in twrp. Whenever you do "format data" it corrupts the data partition. Use PhilZ Touch recovery. His recovery includes the fix. Try it.
teshxx said:
It's not a hardware issue. It's a bug in twrp. Whenever you do "format data" it corrupts the data partition. Use PhilZ Touch recovery. His recovery includes the fix. Try it.
Click to expand...
Click to collapse
Thanks, I'll try that. How do I get rid of the bug after writing the new recovery? Format data?
Thanks!
Hello, any progress please? I have exactly the same issue.
I found here http://forum.xda-developers.com/showthread.php?t=2265588&page=23 this solution:
I wanted to clean my internal SD card before flashing Omega ROM, so I used Format Data option from Wipe section in TWRP.
After that I lost almost two days trying to fix my phone. Flashed stock ROM, TWRP and Omega ROM endless times without success after that.
My phone became randomly unbootable on reboot or power on! It was stuck on i9505 logo that is shown before boot animation forever. It was same for both stock and Omega ROM, with or without external micro SD.
After endless tries, I figured out that my phone works fine if I do factory reset and wipe from original recovery. Worked fine before and after flashing TWRP.
I tired to Format Data from TWRP again and my phone again was stuck on boot.
So I did everything once more. Flashed stock, did factory reset and wipe from original recovery and then installed TWRP and in the end I flashed Omega without wiping anything.
Everything works just fine now and I will not try to use Format data option from TWRP on this device in near time! Please fix this.
First I used TWRP 2.5.0.1 and then 2.5.0.2, but it is same in both of them.
Click to expand...
Click to collapse
Now I'm downloading stock rom so I'll try it in next 2 hours.
bet you guys previously flashed a aosp rom, I could be wrong, but it sounds as if you did.
TheAxman said:
bet you guys previously flashed a aosp rom, I could be wrong, but it sounds as if you did.
Click to expand...
Click to collapse
It says so in the OP... going between TW and Google Edition 2.0.. Out of curiosity though, what difference would that make? I have flashed and have backups of two versions of TW and quite a few AOSP variants... I can move between them seamlessly and haven't encountered any such problems as the OP. I use TWRP as well.
It was TWRP problem. I have flashed the stock ROM with stock recovery. I have done full wipe and my phone works well again. This is bug in TWRP. Don't push "format data" button!

[Q] format internal memory samsung galaxy s 4

so i formated the internal storage with team win rcovery. I installed Alpha s4 v2.0 and it works fine but when i install anyothere mods and reboot my phone it stays on the logo Galaxy S 4 logo and I have to re flash the ROM again but i have to formatted the internal storage again just to flash the rom . does any one have any idea how to fix this pls help
Reformat it in recovery
Sent from my SGH-M919 using Tapatalk 2
richardlibeau said:
Reformat it in recovery
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
what do you mean like how ? because installing rom like doing a factory reset doesn't work get me on to the Galaxy S 4 logo and that it. I have to format the data just to install any Rom dont know why but im getting frustrated about it
SuperAndroidman said:
what do you mean like how ? because installing rom like doing a factory reset doesn't work get me on to the Galaxy S 4 logo and that it. I have to format the data just to install any Rom dont know why but im getting frustrated about it
Click to expand...
Click to collapse
Should be an option in mount storage or advanced section of recovery to format .
Sent from my SGH-M919 using Tapatalk 2
STOP!!! TWRP is known for messing up your phone when you format internal memory. It will lead to bootloops and even the rom not booting at all. Switch recoveries to Clockwork or Philz and you will be fine. You may need to Odin back to stock to fix the issue first.
Cal-El said:
STOP!!! TWRP is known for messing up your phone when you format internal memory. It will lead to bootloops and even the rom not booting at all. Switch recoveries to Clockwork or Philz and you will be fine. You may need to Odin back to stock to fix the issue first.
Click to expand...
Click to collapse
just doing Odin put me back stock or do i need look for the stock rom and stock kernel then run odin? link pls
What to Wipe in TWRP
If you are switching ROMs (changing from one ROM to a completely different one) then you should perform a factory reset. A factory reset wipes data and cache (which includes dalvik cache). A factory reset will also wipe sd-ext and android_secure if your device has those items. 99% of the time, this is all that you need to wipe and you only need to do it once, not three times as some people would lead you to believe.
If you're installing a nightly update, then oftentimes you don't need to wipe anything at all. However, if you encounter strange behavior, then you may want to consider performing a factory reset. Of course, if the ROM maker recommends that you do a factory reset during an update, then it's a good idea to follow their recommendation.
The vast majority of ROMs wipe system as part of the zip install. This means that in most cases you do not need to wipe system... ever.
At this point, cache (not dalvik cache) is primarily used for recovery. It's used to store the recovery log and for storing OTA (Over The Air) updates. You probably don't need to wipe cache, and cache is already wiped as part of a factory reset.
In most ROMs, dalvik cache is stored in the data partition, so if you do a factory reset, you've also wiped dalvik cache. In a few custom ROMs, especially on older devices with small data partitions, the ROM maker may have moved dalvik to the cache partition to provide you with more room for apps. Since we wipe cache with a factory reset, again, you probably don't need to wipe dalvik. There are a few situations where you may need to wipe dalvik cache when installing updates, but you will know that it's needed when you are greeted with force closes when trying to open some apps.
Depending on your device and its configuration, you may have options for wiping internal storage, external storage, sd-ext, android_secure, and/or an option for formatting data. There's almost no reason that you would ever need to use these items. These options are there for convenience. For instance, if you're getting ready to sell your device, then it's a good idea to wipe everything on the device so that the new owner doesn't get your private data. Note that these wipe options may not be completely destructive. If you store especially sensitive information on your device or are really concerned about your private data, then you may need to look into other options to ensure that your data is fully destroyed.
http://teamw.in/whattowipe
http://teamw.in/project/twrp2

[Q] Is it nesesary wiping everything when changing rom?

Well, i heard about the new releases of Cyanogenmod 11 for the tablet and i'm really excited. I have experience with roms and i read that i need to wipe everything, even the fake sd card partition and i have like 20gb of data there, is it really necesary to wipe it? I tought i could change rom just wiping system data but if it is necessary i would move all that to my pc.
Thanks so much in advance.
By the way, if anyone is using cyanogenmod, does it improve the perfomance on battery and all that? Thanks again for answering.
DiegoConD said:
Well, i heard about the new releases of Cyanogenmod 11 for the tablet and i'm really excited. I have experience with roms and i read that i need to wipe everything, even the fake sd card partition and i have like 20gb of data there, is it really necesary to wipe it? I tought i could change rom just wiping system data but if it is necessary i would move all that to my pc.
Click to expand...
Click to collapse
No need to wipe the SD, a simple factory reset/system format when going from one Rom base to another (from stock to CM in this case) is enough.
Pfeffernuss said:
No need to wipe the SD, a simple factory reset/system format when going from one Rom base to another (from stock to CM in this case) is enough.
Click to expand...
Click to collapse
So the factory reset on twpr recovery wouln't wipe all my data stored on the sd? Have you tried it by yourself? Does Cm11 worth the change? Thank s for the answer and sorry for the lot of questions haha
DiegoConD said:
So the factory reset on twpr recovery wouln't wipe all my data stored on the sd? Have you tried it by yourself? Does Cm11 worth the change? Thank s for the answer and sorry for the lot of questions haha
Click to expand...
Click to collapse
Yup, won't touch the SD at all... Doing it all the time using TWRP 2.6.3.1.
CM11 runs nice here, am using a non-Caf version so more kernels are compatible. Using ElementalX myself :good:
i did something stupid....
i did wipe my sd card.
This is what i get for not paying attention and watching football while i was wiping.
this is what i did:
1) downloaded cm 11 and gapps on tablet
2) went into twrp and did a nandroid.
3) went into advance wipe & wiped everything: dalvic, system, data, internal storage, cache
4) went to install and it was blank so i slapped the forehead
5) went to https://developers.google.com/android/nexus/images#razor and downloaded https://dl.google.com/dl/android/aosp/razor-krt16s-factory-7235eb0d.tgz on the computer
6) also went ahead and downloaded http://download.cyanogenmod.org/get/jenkins/50524/cm-11-20131208-NIGHTLY-flo.zip on the computer
7) also downloaded http://www.mediafire.com/download/ahbnc2k5u5op501/pa_gapps-full-4.4-20131126-signed.zip on the computer
so i am still in twrp.
can i boot into bootloader? is it there?
i thought the image file extension ended in .img
what was downloaded was a .tgz file.
since i dont have an os on the tablet i can not enable usb debugging so will adb work?
im a bit of a noob with adb but i think im about to get a crash course.
Thanks in advance for some advice
error629 said:
i did wipe my sd card.
This is what i get for not paying attention and watching football while i was wiping.
this is what i did:
1) downloaded cm 11 and gapps on tablet
2) went into twrp and did a nandroid.
3) went into advance wipe & wiped everything: dalvic, system, data, internal storage, cache
4) went to install and it was blank so i slapped the forehead
5) went to https://developers.google.com/android/nexus/images#razor and downloaded https://dl.google.com/dl/android/aosp/razor-krt16s-factory-7235eb0d.tgz on the computer
6) also went ahead and downloaded http://download.cyanogenmod.org/get/jenkins/50524/cm-11-20131208-NIGHTLY-flo.zip on the computer
7) also downloaded http://www.mediafire.com/download/ahbnc2k5u5op501/pa_gapps-full-4.4-20131126-signed.zip on the computer
so i am still in twrp.
can i boot into bootloader? is it there?
i thought the image file extension ended in .img
what was downloaded was a .tgz file.
since i dont have an os on the tablet i can not enable usb debugging so will adb work?
im a bit of a noob with adb but i think im about to get a crash course.
Thanks in advance for some advice
Click to expand...
Click to collapse
ok so i cheated and used wugfreshs nexus toolkit.
i did have my bootloader there.
just flashed stock and root.

[Q] Data Partition Corrupted

I think I got myself a Maguro Galaxy Nexus (on ATOM ROM, Android 4.2.2) with a corrupted /data partition.
(Not 100% sure though, so if you think I'm wrong, please tell me)
I can't wipe the /data partition in CWM, nor perform a partial restore for data from nandroid backup. When I try that, CMW crashes and my phone reboots.
I can however still boot the phone normally. Everything else works, just can't do a factory reset in CWM, which I want to do to flash a new ROM.
Any ideas how I can solve this? I'm alright if I loose my data, I got backup. Would like to avoid erasing the virtual sdcard though (takes ages to copy).
Djalaal said:
I think I got myself a Maguro Galaxy Nexus (on ATOM ROM, Android 4.2.2) with a corrupted /data partition.
(Not 100% sure though, so if you think I'm wrong, please tell me)
I can't wipe the /data partition in CWM, nor perform a partial restore for data.
I can however still boot the phone normally. Everything else works, just can't do a factory reset in CWM, which I want to flash a new ROM.
Any ideas how I can solve this?
Click to expand...
Click to collapse
Try via fastboot
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Try via fastboot
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Try using what command? I can flash roms n gapps no problem, but I can't do factory reset. Is there a command for factory reset in fastboot?
P.S. We are almost neighbours, Schiedamer hier.
*EDIT*
Lol, feel a bit stupid now. I didn't know there was the fastboot command "erase". I erase userdata using fastboot, however, now I got a whole new problem... It got rid of the whole folder, not just the contents. Now there is no data folder. And I forgot that the virtual sdcard is also inside the data folder... Now I got no data at all, nothing to flash...
I'll try to find out what to do, but if anyone reads this soon, perhaps you can help me.
*EDIT2*
Alright, I tried something I've wanted to try a long time now - I connected my USB memory stick (OTG mode) while in CWM. It worked wonders. I have all my zip files (ROM,Gapps,Kernels) on it, so I flashed from there.
EVERYTHING WORKS NOW.
Though my sdcard data is gone, but luckily I backed it up this morning.
P.S. For those of you who don't know, I found out you can restore nandroid from, and backup to the USB memory. I think I won't even put my nandroid and zip files on my phone anymore. I'll keep it on my usb memory.

[Q] TWRP guidance

All,
Tab pro 10.1, rooted, TWRP installed.
Recently installed the only rom available for our 10.1 tab pro, but I realized that all previous folders were kept in.
Before installing the rom, in TWRP, wiped all except "internal storage" and "External storage".
To get rid of photos, app data in android/data etc, wipe "internal storage"?
What is best to wipe before installing a rom in general?
Thanks
I have wiped my internal storage plenty on my phone (Galaxy S3) when changing ROMs and don't want the left over folders. Just be sure not to wipe wherever you have your zipped rom downloaded, tho.
I don't think it's necessary to do when installing a rom in general. Usually you just need to do a factory reset, wipe cache and dalvik cache in advanced.
And to address a comment you made in another thread, when you first load a rom, it can take awhile for the first boot-up. Even 10 minutes or so, depending on the rom. A good rule of thumb is to boot the new rom, let the device sit for at least 5 minutes - don't touch anything! , then turn completely off and reboot again. Gives the rom a chance to get settled in.
Sent from my SM-T520 using XDA Premium 4 mobile app
thanks
k8108 said:
I have wiped my internal storage plenty on my phone (Galaxy S3) when changing ROMs and don't want the left over folders. Just be sure not to wipe wherever you have your zipped rom downloaded, tho.
I don't think it's necessary to do when installing a rom in general. Usually you just need to do a factory reset, wipe cache and dalvik cache in advanced.
And to address a comment you made in another thread, when you first load a rom, it can take awhile for the first boot-up. Even 10 minutes or so, depending on the rom. A good rule of thumb is to boot the new rom, let the device sit for at least 5 minutes - don't touch anything! , then turn completely off and reboot again. Gives the rom a chance to get settled in.
Sent from my SM-T520 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
All previous folders are gone...
Thanks

Categories

Resources