[Q] Quick question about flashing a rom. - One (M7) Q&A, Help & Troubleshooting

On all the phones that I have rooted in the past I have had a SD card that I could keep files I wanted to retain or backup everytime I wiped/flashed a new ROM. How does that work on the HTC One which has no SD card capabilities? Is there a certain folder that recovery avoid flashing?
Thank you in advance for all your support!

Does no one know the answer to this question? Or did I post this in the wrong section? (I am really sorry if I did)

Short answer is yes, you can continue to use the same wipe commands in recovery as you would with actual physical removable SD card media.
Properly-written recoveries know not to actually format /data but rather erase all the files *except* /data/media (which is the new location for things that traditionally went on an SD card)
I just learned this today- if I'm way off, I'm sure someone will correct me..
Sent from my PC36100 using xda app-developers app

NxNW said:
Short answer is yes, you can continue to use the same wipe commands in recovery as you would with actual physical removable SD card media.
Properly-written recoveries know not to actually format /data but rather erase all the files *except* /data/media (which is the new location for things that traditionally went on an SD card)
I just learned this today- if I'm way off, I'm sure someone will correct me..
Sent from my PC36100 using xda app-developers app
Click to expand...
Click to collapse
Cool, thank you for the reply, so /data is completely untouched. That's good to know. So I could just make a /data/backup /data/roms etc...

Um, that's not quite right, I believe the only part of the /data partition that is treated like an SD card is the part *below* /data/media. Ie, you could make something like /data/media/myfolder and it will be preserved even if you "wipe userdata" in recovery. The paths you described would not be preserved because they are outside /data/media.
Sent from my PC36100 using xda app-developers app

Related

(Q) Ext4 on latest CM7 Kang Milestone

I finally decide to have a partion on my 8GB SD other than FAT32. So i used the FuFu Minimod to split my SD. First to Ext2 then to Ext3 and then to Ext4.
It all went fine. I have moved some basic apps like Facebook and Igo to the Ext4 partion.
The weird thing that drove me to create this thread is the fact that my phone became a bit slow... unresponsive... and just because the Ext4 with basic apps on it?
Did i miss something or this is normal?
Appreciate all feedbacks.
WF
Sent from my Milestone using xda premium
Try wipe both Cache and Dalvik-Cache
Thanks... but is not the case... and yes i already did that before creating the thead.
Tks
Well then, manually move the app to the sdcard, then move back to the phone.
It should move into the ext4 partition.
They are all in ext4...
Sent from my Milestone using xda premium
wisefreakz said:
They are all in ext4...
Sent from my Milestone using xda premium
Click to expand...
Click to collapse
I know it is inside ext4. Please try to move to the sdcard and back to the phone again.
I did face this b4
I have done that before you mention... and it looks like its a bit more stable.
One doubt... i notice that all sd-ext\app files are alson in data\app.
Why is that?
Sent from my Milestone using xda premium
Why
Is ext4 faster or what ?
Im kinda noob on this android and stuff things, so i donno.
I can put my apps on SDcard without formatting to ext2, 3 or 4.
Well, now after billions of testing, formating, reflashing... all looks pretty nice now.
@ivanotera: moving apps to sdcard is not the same as moving apps to a second partition where this second partition is journaled - case of ext4.
It means that when you boot your phone, this partition is ready to use and does not need to be "prepared" as the usual fat32 - thats why we see the message after boot up that sd card is being prepared (in fact the OS is checking if the partion is corrupted or not.
Also when moving apps directly to sd card like you are doing, is not good as phone becomes slow, widgets, shortcuts dissapear while booting phone and while phone is connected to pc via usb with sd mounted for access.
With ext4 (using ext4.ko module) OS will think that this second partition is part of the internal storage and all of the above mentioned will not be a problem anymore and you will not get that anoying message that you have not enough space just because you added a couple apps.
Hope this can clarify some important things.
Cya
Sent from my Milestone using xda premium
Yeah, got it.
But another question, is ext4 "viewable" by windows ?
Because i have a 32gb card, so i use it as a "pen drive", have some apps so when i format a pc, not at home, i have some apps already, and dont have to download it.
Or in the case of creating a ext4, i partition the sdcard, so i have the "apps" partition and the "windows" partition ?

[Q] Safe to format internal SD?

Hey guys, after having my phone for coming up on 2 years, my Internal SD has been filled with tons of garbage apps that I've tried, uninstalled, and a bunch of other stuff. I was wondering - what is the best procedure for formatting this to clean it up a little? If I copy my Titanium Backup folder to my PC (some savegames i want on there ) am I pretty much safe to just format it? Is there anything I should know?
Can anybody offer me any information on this
Kops said:
Can anybody offer me any information on this
Click to expand...
Click to collapse
x2
I also need to knw, if its safe to format Internal SD.
Since im on ICS, i have noticed many of my Games (Gameloft) are not working properly and continuously crashing, previously i was on GB, I think its because of the data stored(game data) or any thing else in there. Agn, is it safe to format Internal SD, that is approx 6gb. ?
If Yes, then what items are to be made backup?
You can format your internal sd card no problem. Personally I like to copy everything off the internal sd card onto my pc first. Once this data is safe I delete it off the phone. Restart in recovery, format the internal sd card & do a factory reset, clear cache and dalvick cache.
Now phone is like new...
scubadude said:
You can format your internal sd card no problem. Personally I like to copy everything off the internal sd card onto my pc first. Once this data is safe I delete it off the phone. Restart in recovery, format the internal sd card & do a factory reset, clear cache and dalvick cache.
Now phone is like new...
Click to expand...
Click to collapse
Well, and good! That is a good idea to have everything backup in computer. Thank you.
Yes u can format bt after format u hav to flash a rom thru odin as ur phone is clean without any system files.
Sent from my GT-I9000 using xda premium
Sys81 said:
Yes u can format bt after format u hav to flash a rom thru odin as ur phone is clean without any system files.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Stop spouting nonsense. The internal SD is separate from system.
Knowledge is Power. Guard it well.
snapper.fishes said:
Stop spouting nonsense. The internal SD is separate from system.
Knowledge is Power. Guard it well.
Click to expand...
Click to collapse
Well its nt nonsense it depends on hw he format it. I format usin my com leh.
Sent from my GT-I9000 using xda premium
Although I'm not certain, I would think that I might lose some app data, but all the important system files are in /system
Sent from my GT-I9000 using XDA
Sys81 said:
Well its nt nonsense it depends on hw he format it. I format usin my com leh.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Even formatting on a computer should not affect System partition. Not unless if you are using ADB commands to specifically format the internal SD. That's a LOT of extra effort.
snapper.fishes said:
Even formatting on a computer should not affect System partition. Not unless if you are using ADB commands to specifically format the internal SD. That's a LOT of extra effort.
Click to expand...
Click to collapse
Serious? Y dun u try and then get back to me agn regardin this prob.
Sent from my GT-I9000 using xda premium
Sys81 said:
Serious? Y dun u try and then get back to me agn regardin this prob.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I haven't tried this, but I'm assuming Snapper's correct on this subject. The PC will only mount the /sdcard partition, which you should be able to wipe without losing any of your /system data.
Kops said:
I haven't tried this, but I'm assuming Snapper's correct on this subject. The PC will only mount the /sdcard partition, which you should be able to wipe without losing any of your /system data.
Click to expand...
Click to collapse
Hmm than mayb im wrong as last time i format than after a reboot theres prob. Well i fix it by flashin via odin.
Sent from my GT-I9000 using xda premium

HTC One Storage.

being that there is no storage expansion for the phone. with the onboard storage can you partition it to have two seperate storage spaces for my photos and videos and music so i dont have to transfer them to the phone each time i flash a rom??
Kontagious said:
being that there is no storage expansion for the phone. with the onboard storage can you partition it to have two seperate storage spaces for my photos and videos and music so i dont have to transfer them to the phone each time i flash a rom??
Click to expand...
Click to collapse
i dont understand. all my pics/videos are there after i flash a new rom
flashing a ROM, assuming you do a wipe leaves the SD card portion intact.
skinsfanbdh said:
i dont understand. all my pics/videos are there after i flash a new rom
Click to expand...
Click to collapse
ive never owned a phone that doesnt have external storage so for me all my photos and videos and music are on my microSD card. i just wasnt sure as to how the only internal storage was going to work out?
gunnyman said:
flashing a ROM, assuming you do a wipe leaves the SD card portion intact.
Click to expand...
Click to collapse
So there is an Sdcard partition then.
No, Android storage is structured so there is a 'virtual sd card' which is just part of the total phone storage.
Sent from my GT-I9100 using xda app-developers app
drspikes said:
No, Android storage is structured so there is a 'virtual sd card' which is just part of the total phone storage.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Are you saying that when you are in recovery and go to wipe and format and choose "wipe everything but sd card", your sdcard partition will still get wiped?
Sent from my HTC One using xda premium
Custom recoveries are smart enough not to wipe out the internal SD location, regardless of whether it's a separate partition or not. The only way it'll get wiped is if you specifically tell it to (and as far as I can remember, by default, no recovery wipes the SD location).
Vincent Law said:
Custom recoveries are smart enough not to wipe out the internal SD location, regardless of whether it's a separate partition or not. The only way it'll get wiped is if you specifically tell it to (and as far as I can remember, by default, no recovery wipes the SD location).
Click to expand...
Click to collapse
Right, this has always been my understanding as well.. but it sounds like some think that the /sdcard directory will be formatted when wiping data through recovery.
Sent from my HTC One using xda premium
Recoveries usually only wipe the system information, not the ALL of the user data, this is normal. If you'd like it all all gone there is an option in either TWRP or CWM respectively
Sent from my HTC One using xda app-developers app

ROM swaps

So my last phone was a galaxy S2 and I was obsessive about flashing. Bleeding edge, constantly trying new ROMs out of boredom, and it was fun. I absolutely adore this phone, (the one) but it was hard for me to get over not having an external card slot. Is there a simple way to flash new ROMs without losing your titanium backups or nandroids or anything else which is obviously on your sd card? Or is it alright to flash with wiping the entirety of your memory? Just clearing /data and /system and such
? I'm admittedly new to HTC. It's annoying to have to be near a computer to have a external backup. Any help for a noob?
Sent from my HTCONE using xda premium
cknuth said:
So my last phone was a galaxy S2 and I was obsessive about flashing. Bleeding edge, constantly trying new ROMs out of boredom, and it was fun. I absolutely adore this phone, (the one) but it was hard for me to get over not having an external card slot. Is there a simple way to flash new ROMs without losing your titanium backups or nandroids or anything else which is obviously on your sd card? Or is it alright to flash with wiping the entirety of your memory? Just clearing /data and /system and such
? I'm admittedly new to HTC. It's annoying to have to be near a computer to have a external backup. Any help for a noob?
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
If you use your recovery's factory reset option, it will not wipe the internal storage. It won't cause any issues with roms if you do this. This is basically what you've been doing all along, except the "SD Card" is actually an internal partition instead. Otherwise functionally identical.
Or just download the superwipe zip in the dev section. It wipes everything but your internal sd.
Sent from my HTCONE using xda app-developers app

[Q] Imternal sd awkwardly partitioned

Hi all,
I noticed that my internal sd card has two 0 folders, they are like so
Sdcard/0/0/
Everything from internet saves on the first /0/Download for ex., i am now on arhd 51, but previously on archidroid everything saved inside /0/0/Download, is there any way to fix this, or repartition or something without need to wipe all the data in sd? Because everything is messed up and i don't know any more wich uses what folder and so on.
Thx in front.
Edit: posted in i9305 not i9300 Q&A, mods please transfer, sorry for that.
Sent from my GT-I9300 using XDA Premium
lsalamun said:
Hi all,
I noticed that my internal sd card has two 0 folders, they are like so
Sdcard/0/0/
Everything from internet saves on the first /0/Download for ex., i am now on arhd 51, but previously on archidroid everything saved inside /0/0/Download, is there any way to fix this, or repartition or something without need to wipe all the data in sd? Because everything is messed up and i don't know any more wich uses what folder and so on.
Thx in front.
Edit: posted in i9305 not i9300 Q&A, mods please transfer, sorry for that.
Sent from my GT-I9300 using XDA Premium
Click to expand...
Click to collapse
can you post some screenshots of the two folders and their content, perhaps i can tell you what to do?
Edit: you can also copy all the files in one of the 0 folders to the other 0 folder and delete the empty one, i asked for screenshots just to make sure if there is any important file in one of those folders that maybe will cause problems with functioning of other apps or system settings if you replace it.
Here is the /0/0/ and i cannot delete archidroid folder or clockworkmod folder (write protected), also if i copy pictures from 0/0/DCIM/Camera to 0/DCIM/Camera, they are not shown, even after reboot when mediascanner is running, when i transfer them back they are imediately shown.
Edit: i can delete archidroid and clockworkmod folder, but via phone, not via pc, but the probem with transfering pictures to now used DCIM still persists.
Sent from my GT-I9300 using XDA Premium
I transfered all the pics inside a new folder in sdcard/0/DCIM but they just don't wanna show, they pop up only in sdcard/0/0/DCIM
What can cause this problem? (I can normally view them in file managers.
I noticed that when i force run media scanner it scans storage/emulated/0/0/
It doesnt scan the first /0/ that is used now, can this be fixed?
Sent from my GT-I9300 using XDA Premium
Screenshots for proof that 0/0/ works.
P.s. sorry for double post i cannot update pictures via xda premium in edit mode.
Sent from my GT-I9300 using XDA Premium
lsalamun said:
Screenshots for proof that 0/0/ works.
P.s. sorry for double post i cannot update pictures via xda premium in edit mode.
Sent from my GT-I9300 using XDA Premium
Click to expand...
Click to collapse
oke bro, here is what you should do everything personal and important to you like pics./music/documents copy to your external sd card or to your pc if possible both should be safe. format your internal sd card of the phone in recovery mode after everything is restored back put your files back into proper folders and all should be fine again. you are rooted and have custom recovery installed right?
MaHo_66 said:
oke bro, here is what you should do everything personal and important to you like pics./music/documents copy to your external sd card or to your pc if possible both should be safe. format your internal sd card of the phone in recovery mode after everything is restored back put your files back into proper folders and all should be fine again. you are rooted and have custom recovery installed right?
Click to expand...
Click to collapse
Yes of course i'm rooted with twrp, i tought there was some other way than getting in all that copy paste, but i'll do that and then it must, just must work.
I think i messed something up in archidroid installation when it asked for EXT4 repartitioning or something like that.
lsalamun said:
Yes of course i'm rooted with twrp, i tought there was some other way than getting in all that copy paste, but i'll do that and then it must, just must work.
I think i messed something up in archidroid installation when it asked for EXT4 repartitioning or something like that.
Click to expand...
Click to collapse
yes that must be it, as i had read somewhere on these threads a similar problem like yours its better to avoid changing or setting options from which you dont understand what they do like EXT4 or F2FS partitions unless you know what you are doing. at least thats what i do to avoid any problems with my device
MaHo_66 said:
yes that must be it, as i had read somewhere on these threads a similar problem like yours its better to avoid changing or setting options from which you dont understand what they do like EXT4 or F2FS partitions unless you know what you are doing. at least thats what i do to avoid any problems with my device
Click to expand...
Click to collapse
Yes, i know now for future, but, one more question..
It's 'calculating time for copy...' now, i see it'll take ages to 'calculate', so, is there any option to just mount the internal sd card, i remember i could mount it via CWM on my old S2 and everything went quick, but i cannot mount just SD anymore, only as a 'Media device', it seems quite slower..
Do you know an option to do that?
Edit: Disabled indexing, it's flying now
lsalamun said:
Yes, i know now for future, but, one more question..
It's 'calculating time for copy...' now, i see it'll take ages to 'calculate', so, is there any option to just mount the internal sd card, i remember i could mount it via CWM on my old S2 and everything went quick, but i cannot mount just SD anymore, only as a 'Media device', it seems quite slower..
Do you know an option to do that?
Edit: Disabled indexing, it's flying now
Click to expand...
Click to collapse
I do recommend using philz touch CWM advanced edition or just the CWM touch version as a recovery choice (especially philz) rather than Twrp, but its all up to you..
I was on philz quite a while, now testing twrp, i did the wipe, everything's perfect now, but i accidentaly deleted my pics coz' they were in the 0/0/ and i deleted the second 0 thinking i don't need it
I got a little shock but i'll recover
Sent from my GT-I9300 using XDA Premium
lsalamun said:
I was on philz quite a while, now testing twrp, i did the wipe, everything's perfect now, but i accidentaly deleted my pics coz' they were in the 0/0/ and i deleted the second 0 thinking i don't need it
I got a little shock but i'll recover
Sent from my GT-I9300 using XDA Premium
Click to expand...
Click to collapse
Haha :laugh: allright mate :good:

Categories

Resources