So basically I am migrating ROMs and have a lot of junk apps that I want to remove by using the SuperWipe full script. Then straight afterwards I was planning on flashing the rom (Revolver V4). The problem is that Superwipe wipes the internal storage where I would actually put it and the rom. I don't know how things would go if Superwipe wipes itself and also what I would do if the ROM file was deleted (I wouldn't be able to boot).
I figured the solution was to flash both off my external sd card however I can't find any such option for that in CWM. Only 'Install zip from SD' which points to my internal storage.
1. Would it be ok anyway to flash it on internal storage.
2. If not, how do I access external storage from within CWM.
3. If impossible, what other options do I have for doing this?
1. No, the ROM .zip would be wiped, and you stuck.
2. There are some mount commands, but to use those you need adb working, and if you have adb working, just 'adb push rom.zip /sdcard/' then flash from internal.
3. You could install the latest Rouge XM touch recovery, which has support for internal and external, and is still touch.
Hope I've cleared it up a bit.
Related
I understand that in order to flash a ROM you need to select the wipe data/factory reset button in CWM recovery. But I can't find any thread that answers various questions:
1) Does the phone need to be plugged in during this?
2) Does the battery need to be at a certain level? (obviously not near dead, but maybe 100% or closest possible mandatory?)
3) What needs to be set on the phone before turning it off and going into recovery? debugging turned on? mount or unmount anything?
4) While in recovery, should I select to have my data, cache, sd card mounted or unmounted?
5) Some threads say to use the format options in recovery. Should I format /sdcard and-or /system ?
6) USB storage is the External SD card, correct?
7) If I have CWM located on the Ext. SD card, do I need to mount it via CWM recovery screen or do anything else differently before I begin flashing a ROM?
Thanks!
el buho said:
I understand that in order to flash a ROM you need to select the wipe data/factory reset button in CWM recovery. But I can't find any thread that answers various questions:
1) Does the phone need to be plugged in during this?
2) Does the battery need to be at a certain level? (obviously not near dead, but maybe 100% or closest possible mandatory?)
3) What needs to be set on the phone before turning it off and going into recovery? debugging turned on? mount or unmount anything?
4) While in recovery, should I select to have my data, cache, sd card mounted or unmounted?
5) Some threads say to use the format options in recovery. Should I format /sdcard and-or /system ?
6) USB storage is the External SD card, correct?
7) If I have CWM located on the Ext. SD card, do I need to mount it via CWM recovery screen or do anything else differently before I begin flashing a ROM?
Thanks!
Click to expand...
Click to collapse
It was recommended to me to have it unplugged before entering into CWM. I read the battery "should" be over 50% because JUST IN CASE, you don't want to run out of battery in the middle of a flash...but with this phone, flashing is so quick anyway...but still, personally, I make sure it's over 50%. I haven't messed with any mounting/unmounting features in CWM during flashing. Whether to format your sdcard or not should be obvious to you...it has nothing to do with flashing a rom or kernal...it's for setting up a new sd card for putting apps, storage, and/or swap. As far as CWM being located on the external sd card, I don't really understand. You should use NVFlash to flash CWM to your phone (with external support)...if you dig around these threads, you'll see a One Click NVFlash tutorial and software. I hope this helps. I"m new too...I've learned all this by reading these forums this past week.
I already did the NVFlash etc. But at one point in the recovery procedure you have to press a button saying Flash CWM to External SD card or Flash CWM to Internal SD card and the forums said it really doesn't matter, so I went with external.
That meant that when you load up CWM, it will allow you to browse in your external card for the roms, kernals, mods, etc. that you wanna flash...so that's where you'll store that stuff that you'd like to flash. If you had selected "internal", then CWM would only allow you to browse your internal card.
el buho said:
I understand that in order to flash a ROM you need to select the wipe data/factory reset button in CWM recovery. But I can't find any thread that answers various questions:
1) Does the phone need to be plugged in during this? No
2) Does the battery need to be at a certain level? (obviously not near dead, but maybe 100% or closest possible mandatory?) No, but you don't want it to be at 5%.
3) What needs to be set on the phone before turning it off and going into recovery? debugging turned on? mount or unmount anything? Nothing
4) While in recovery, should I select to have my data, cache, sd card mounted or unmounted? Don't touch anything in regards to mounting.
5) Some threads say to use the format options in recovery. Should I format /sdcard and-or /system ? Just /system usually.
6) USB storage is the External SD card, correct? Correct
7) If I have CWM located on the Ext. SD card, do I need to mount it via CWM recovery screen or do anything else differently before I begin flashing a ROM? No
Thanks!
Click to expand...
Click to collapse
Answers in bold.
I recently managed to successfully root my TF101.
I installed CWM (Via ROM Manager) and downloaded CM9
I boot into CWM and attempt to do a nandroid...can't find path.
I attempt to just install from SDCard...can't find path
Realization (and research) hits that CWM can't see the external sd, and the system doesn't see it as SDCARD but EXT-.
CWM can't see the internal SDCard because apparently on the Tablet the ICS encryption locks that down (but doesn't on my EVO since the SC Card isn't part of the internal storage)
I attempt to perform a factory data wipe to clear out the encrtyption , but upon reboot CWM loads. I try to perform the boot-launcher data wipe, but then CWM loads.
I try to use CWM to factory reset but since it can see the damned SDCard because of the encryption, no dice.
My machine is not bricked, as I can still boot into the previous install but I can't seem unable to format the thing to install CM9.
What to do, and thanks.
It has been said multiple times before DO NOT USE ROM MANAGER.
Either use Thing O Doom's peri to install a different CWM or Gnufabio's Recovery installer or NVFlash a rom to completely wipe. And don't use encryption there is no point 99% of the time
I didn't check here first, which is obviously what was my first mistake.
Will any of those recoveries be able to access and format the SD Card area?
Also, I use encryption as I do have sensitive things on my machine that I don't want exposed in case the machine is stolen. First time I've ever had it give me a problem, as the phone encrypts differently.
Team roug's recovery has internal and external sd support and i think the encryption is an ics/tegra 2 bug more than anything
Ok, so I managed to get the new recovery on via Thing O Doom's peri. And I was able to install Revolver via the ext card...but upon boot I was prompted for my encryption pin and got the message that android was updating...My Build number is now Revolver but everything is the same as it was. I still can't factory wipe this damned thing.
Upon request to wipe, it boots back to recovery and says formatting data and cache, data wipe failed.
Tis site states http ://0xfeedface.org/blog/lattera/2012-06-04/installing-cm9-encrypted- android-tablet
The dilemma
When you encrypt your Android device, the /data partition is what gets encrypted. The partition in full is encrypted and cannot be mounted within CWM. CWM also cannot perform a wipe, since it cannot mount the /data partition. And CWM cannot mount the external SD card. This is our dilemma. No access to the internal SD. No access to the external SD. No way to perform a wipe and format the internal SD from CWM.
The Solution
What we need to do, then, is use adb while the tablet is in recovery mode to reformat the internal SD card, thereby removing the encryption. On the US Transformer Prime, the internal SD card is at /dev/block/mmcblk0p8. The partition for our spare SD card will be at /dev/block/mmcblk1p1. You will need to replace those device entries for any other device you might attempt this on. After formatting the internal SD card, we will mount it and then mount the external SD card at /data/media:
In CWM, wipe cache
adb shell
mke2fs -t ext4 /dev/block/mmcblk0p8 # Warning: This can take a while. Be patient.
mount /data
mount /dev/block/mmcblk1p1 /data/media
Now go back to CWM on your device, then go ahead and flash your CM9 and gapps zips like normal. You now have CM9 installed! The /data partition is not encrypted. If you do not need to flash any other ROMs (unlikely if you're reading this article), feel free to re-encrypt your device.
Click to expand...
Click to collapse
I don't know the block numbers for the TF01
you need to undo the encryption before you can wipe anything
You can't. Hence my problem. I cannot mount,delete, or format the SDCard. It sounds like the process in the above post is the solution, but I don't know how to find out what block numbers the tf101 uses.
If you don't mine losing your data NVflashing a rom will resolve all the problems
Yep nvflash will do the trick otherwise as the solution you found yourself explains
Use adb in recovery ( in other words hook it up on a pc ) for this you will need android sdk runnin on your pc
More info about adb u can find here
http://forum.xda-developers.com/showthread.php?t=1751439&highlight=adb+help
Good luck
Thanks to all, I have resolved my issue!
I had to download the stock rom, extract the blob, and use Wheelie for PC to NVFlash everthing abck to stock. I was then able to update over OTA, and use the excellent Thing O Doom's peri to re-root and flash the working recovery.
There should be several items in the Root FAQ up top, such as:
If you are encrypted and going to root, factory reset to get rid of the encryption FIRST since the encryption locks down the SDCARD partition (Unlike on the phone)and none of the recoveries can access it to mount. DON"T use ROM manage on the TF101 and always, always check XDA first.
:good:
darthrater said:
Thanks to all, I have resolved my issue!
I had to download the stock rom, extract the blob, and use Wheelie for PC to NVFlash everthing abck to stock. I was then able to update over OTA, and use the excellent Thing O Doom's peri to re-root and flash the working recovery.
There should be several items in the Root FAQ up top, such as:
If you are encrypted and going to root, factory reset to get rid of the encryption FIRST since the encryption locks down the SDCARD partition (Unlike on the phone)and none of the recoveries can access it to mount. DON"T use ROM manage on the TF101 and always, always check XDA first.
:good:
Click to expand...
Click to collapse
That FAQ is sadly pretty outdated, I wish I could liberate the OP
Glad all is working now though.
I am looking for some help with my sdcard on my P3113
I can no longer mount my sdcard in recovery. "Error mounting /sdcard!" any time I try. Here is what I have done so far to try and fix it:
Reflashed CWM 6. No difference
Flashed CWM 5. No difference.
Used Odin to return the device to stock.
Flashed CWM 5. Still same issue
Flash CWM 6. Still same issue.
Any reason I can't mount my SDCARD anymore in recovery or any suggestions on what I can do next to fix it?
jskolm said:
I am looking for some help with my sdcard on my P3113
I can no longer mount my sdcard in recovery. "Error mounting /sdcard!" any time I try. Here is what I have done so far to try and fix it:
Reflashed CWM 6. No difference
Flashed CWM 5. No difference.
Used Odin to return the device to stock.
Flashed CWM 5. Still same issue
Flash CWM 6. Still same issue.
Any reason I can't mount my SDCARD anymore in recovery or any suggestions on what I can do next to fix it?
Click to expand...
Click to collapse
Have you tried formatting the card?
Yes, I have tried multiple different cards also and they mount just fine once the ROM is booted.
Which SD Card (internal or external)? Also, does the SD Card mount properly when booted into Android? I had the external sd fail to mount in recovery, when to use it in Android, and it wasn't recognized there either. Had to do a reformat before my tablet could recognize it again.
imnuts said:
Which SD Card (internal or external)? Also, does the SD Card mount properly when booted into Android? I had the external sd fail to mount in recovery, when to use it in Android, and it wasn't recognized there either. Had to do a reformat before my tablet could recognize it again.
Click to expand...
Click to collapse
The problem is with the External SD card not be accessable while in recovery. Once I am booted into the OS I am able to access it and use whatevers on it no problem. I have formated the first card and that didn't help, so I switch to a different card and that didn't work either. I have tried flashing Recovery again as well as returning to full stock and rerooting. Recovery just won't see the card. It's not that big of a deal, i just want to make sure I am not going to start having other problems too...
same device, same problem, using cyanogenmod 13.
I have a T-Mobile Samsung Galaxy S4 M919, and I would like to flash the GPE 5.0.1 ROM http://forum.xda-developers.com/showthread.php?t=2557353. They problem is my SD card is not big enough to store the file, so can I put it in my internal storage? Would it get deleted when I wipe the Dalvik Cache, System, Data, and Cache?
Also this ROM do I also flash the optional files that I want and do I need GApps?
Edit: As I understand it, I do not need GApps because they are indulge in the ROM, and I shouldn't use the optional files because they are for the 4.4.4 version. Is this right?
yawers said:
I have a T-Mobile Samsung Galaxy S4 M919, and I would like to flash the GPE 5.0.1 ROM http://forum.xda-developers.com/showthread.php?t=2557353. They problem is my SD card is not big enough to store the file, so can I put it in my internal storage? Would it get deleted when I wipe the Dalvik Cache, System, Data, and Cache?
Also this ROM do I also flash the optional files that I want and do I need GApps?
Edit: As I understand it, I do not need GApps because they are indulge in the ROM, and I shouldn't use the optional files because they are for the 4.4.4 version. Is this right?
Click to expand...
Click to collapse
Yes, you can just put in it in internal storage, in a specific folder, depending on the recovery you use.
For example, if you're going to use TWRP recovery, put it in directory: /twrp
Caution: Don't place it in /system or /data or /cache
Placing here would definitely delete the ROM Zip file
GokulNC said:
Yes, you can just put in it in internal storage, in a specific folder, for the corresponding recovery you use.
For example, if you're going to use TWRP recovery, put it in directory: /twrp
Caution: Don't place it in /system or /data or /cache
Placing here would definitely delete the ROM Zip file
Click to expand...
Click to collapse
yes you can just drag and drop the file into internal. then boot into recovery and find the file in the internal and flash it.
i think its even better to flash from internal because it can read it faster ans boot quicker
Of course you can stre it in the interna l memory but if you Factory reset your mobile .................sadly it will get deleted
and to install from internal storage you jyst have to choose inatall from internal storage insted on sd card....
Press thanks button if it helped
It also helps me a lot
Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Arthurvben said:
Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Click to expand...
Click to collapse
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Planterz said:
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Click to expand...
Click to collapse
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Arthurvben said:
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Click to expand...
Click to collapse
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Thnx
Planterz said:
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Click to expand...
Click to collapse
Thanks very much for a clean explanation!