[Q] Flashing a custom rom on a phone with no SD card - General Questions and Answers

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!

Related

[Q] Complete system reinstallation

Hello,
I'd like to completely wipe my system (wipe system, cache, factory reset AND SD card) for a fresh installation. But what I usually do is flash the zip file of the new rom from SD card. I'd like to ask how to flash the new system when the SD card is wiped.
Thank you
ws2112 said:
Hello,
I'd like to completely wipe my system (wipe system, cache, factory reset AND SD card) for a fresh installation. But what I usually do is flash the zip file of the new rom from SD card. I'd like to ask how to flash the new system when the SD card is wiped.
Thank you
Click to expand...
Click to collapse
You don't need to wipe the sd card, the rom doesn't store anything there, just some apps do. But if you wiped it you also wiped out your rom, that was on it. I would advise wiping everything, but that next time, if you insist on wipe sd, do it after rom flash, or once you boot the rom from storage settings.
Sent from my HTC One X using xda premium
oh, ok I got it. Will do it now. Thank you

Wondering why my data transferred over when I installed CM10.1.

Before I installed CM10.1 my phone was a stock Verizon Samsung Galaxy SIII with JellyBean 4.1.1 on it. I had all of my apps, pictures, etc. on it. (I also have no External SD card). I ended up rooting the phone and installed ClockWorkMod I pushed wipe/factory reset within the ClockWorkMod menu (up/power/home). I also wiped the caches and Dalvik cache. I then installed CM10.1. Once CM10.1 was installed I went to settings > backup & reset and then did a Factory data rest. This did yet again another factory reset with CM10.1.
I am wondering how in the world I still have all of my 500 images / videos in my Gallery that were on my original stock JellyBean 4.1.1. Could someone please tell me. Also, please tell me what I should have done to get a completely fresh installation without a single thing from the past. The only thing I guess I could have done was a factory reset when I was on JellyBean 4.1.1 to wipe everything, then install CM10.1.
(BY THE WAY I always have Back up my data, backup account, Automatic restore all UNCHECKED)
The factory data reset doesn't wipe the InternalSD, it just removes apps and settings and puts the phone back to how it came out of the box (settings wise). To delete all the data on your internal SD card, go to Mounts and Storage and you'll see an option for "format /data and /data/media (/sdcard)". That will delete everything on your internalSD.
Here's the catch, though. If you don't have an EXTERNAL SD with the rom you want to flash on it, you'll wipe off whatever rom you were going to flash, leaving you with a phone that has nothing to "boot up".
If you want to start clean, wipe /system, /data, /cache, and dalvik cache, flash your rom, then format the internal SD, don't do it the other way around.
I think that'll work....someone else chime in if I'm wrong about wiping sd after rom intall (that'll get rid of the /0 folder...could cause a problem booting up...)
The easiest way is to just buy an external sd card....doesn't have to be big (2 gig), put your flashable zip on it, wipe /system, /data, /cache, internal sd, and dalvik cache, then flash the zip on the external.
letinsh said:
The factory data reset doesn't wipe the InternalSD, it just removes apps and settings and puts the phone back to how it came out of the box (settings wise). To delete all the data on your internal SD card, go to Mounts and Storage and you'll see an option for "format /data and /data/media (/sdcard)". That will delete everything on your internalSD.
Here's the catch, though. If you don't have an EXTERNAL SD with the rom you want to flash on it, you'll wipe off whatever rom you were going to flash, leaving you with a phone that has nothing to "boot up".
If you want to start clean, wipe /system, /data, /cache, and dalvik cache, flash your rom, then format the internal SD, don't do it the other way around.
I think that'll work....someone else chime in if I'm wrong about wiping sd after rom intall (that'll get rid of the /0 folder...could cause a problem booting up...)
The easiest way is to just buy an external sd card....doesn't have to be big (2 gig), put your flashable zip on it, wipe /system, /data, /cache, internal sd, and dalvik cache, then flash the zip on the external.
Click to expand...
Click to collapse
I actually have an external SD card where I keep CM10.1 and gapps for JellyBean 2.4.1. So I can just go into mount and storage and click every single format option there except for the external SD one right. Then I can install CM10.1 and gapps. Right?
HunterT said:
I actually have an external SD card where I keep CM10.1 and gapps for JellyBean 2.4.1. So I can just go into mount and storage and click every single format option there except for the external SD one right. Then I can install CM10.1 and gapps. Right?
Click to expand...
Click to collapse
yeppers. That's the best way to make sure you're starting so fresh and so clean, clean.

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

[Q] Format data/media and internal without losing ROM flash.zip

Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
re: full wipe
Thibor69 said:
Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
Click to expand...
Click to collapse
Easy, do an advanced wipe in twrp and don't check mark internal storage or the OTG, only
check mark system, data, cache and dalvik and nothing except do a factory reset in twrp.
(doing it this way will not delete anything on the internal sdcard.
Good luck!
Have a nice Thanksgiving!
Haven't tried on this phone as I haven't rooted but adb push should solve your question.

[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