[Q] Install New Rom Without Deleting Photos,Video & Music? - Sprint HTC One (M7)

I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?

cornell said:
I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?
Click to expand...
Click to collapse
The best option I have found is to use the Superwipe Script. It does a full wipe and optimizes your system for a ROM flash. It does not touch your internal SD card.
http://forum.xda-developers.com/showthread.php?t=1762712

cornell said:
I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?
Click to expand...
Click to collapse
Your pics,videos,music are not erased when you flash a rom

Yes, ...
what recovery are you using?
If its twrp
Wipe
This section is dedicated to wiping all standard partitions on your Android device. By default, TWRP offers you to perform a full factory reset upon hitting Wipe, since it’s the most common form of wipe operation that most users need in recovery. This will wipe all your user data from the phone, including your installed apps, cache, and dalvik cache. This will not effect the internal or SD card storage area of your phone, meaning your documents, downloads, pictures, music, videos and other files will stay safe.
If you would rather want to wipe EVERYTHING including the aforementioned data, tap ‘Format Data’. This will wipe all your apps, backups, downloads, pictures, videos and media, and will also remove encryption on your internal storage, if you have applied it, essentially leaving nothing but the operating system itself on the device, in a complete factory state.
If you want to be more specific about the partitions you want to wipe, hit ‘Advanced Wipe’ instead. You can then select one or more common partitions to wipe specifically, leaving the rest untouched. The partitions available for wiping include system (where your operating system is stored), data, cache, Dalvik cache, and usb-otg in case of our Nexus 4, but may (or may not) include other partitions as well. Just remember – if you are unsure of whether to wipe a partition or not, NEVER touch it, especially if it’s the system partition. If you are following instructions provided somewhere, wipe only the partitions that the instructions clearly specify to wipe, and leave the rest untouched. Otherwise, you might be stuck with a device with no operating system installed, or lose all your data stored on the device.
http://www.addictivetips.com/android/what-is-twrp-how-to-install-use-it-on-android-devices-guide/
boy did I come last to this party. You guys are quick!

Related

[Q] Does installing new ROM on the XL erase data

As stated in the title, does flashing a new ROM erase data on the built-in flash drive such as contacts, apps, appdata, music, videos, pictures etc?
I'm rather new to ROM flashing.
short answer: Yes with an If, long answer: No -- with a But...
When flashing a new ROM to an Android phone its a good idea to do as its creator has advised and wipe data/factory reset and wipe dalvik cache all via ClockworkMod recovery, that way there is no additional bloat ware or old system data to gum up the works,, anything stored on the phone (contacts/system data) is erased anything on the 'internal storage' (8GB or so on the XL) or memory card is spared, so anything backed up to there will be safe
Its worth making note that when first installing a ROM, most if not all work on A2SD/ADSD+/+ etc, this is where your given the option to store app data on the memory card, in devices where you can take out the memory card you will need to format it (via ClockWorkMod recovery) and sort out the size of your 'hidden' EX3/4 partition that app data is stored on. formating and partitioning yor memory card wipes everything on it so back it up to a PC before doing anything!
Additional Note: Since the XL has internal storage make sure you get everything you want off it first then when we have CWM working on the XL format the crap out of the internal storage and have fun!
DanTehMan01 said:
short answer: Yes with an If, long answer: No -- with a But...
When flashing a new ROM to an Android phone its a good idea to do as its creator has advised and wipe data/factory reset and wipe dalvik cache all via ClockworkMod recovery, that way there is no additional bloat ware or old system data to gum up the works,, anything stored on the phone (contacts/system data) is erased anything on the 'internal storage' (8GB or so on the XL) or memory card is spared, so anything backed up to there will be safe
Its worth making note that when first installing a ROM, most if not all work on A2SD/ADSD+/+ etc, this is where your given the option to store app data on the memory card, in devices where you can take out the memory card you will need to format it (via ClockWorkMod recovery) and sort out the size of your 'hidden' EX3/4 partition that app data is stored on. formating and partitioning yor memory card wipes everything on it so back it up to a PC before doing anything!
Additional Note: Since the XL has internal storage make sure you get everything you want off it first then when we have CWM working on the XL format the crap out of the internal storage and have fun!
Click to expand...
Click to collapse
Ahhhh I see. So if I want to flash a new ROM, I have to back up everything on my own then manually re-enter them.
Thanks for enlightening.
Pretty much yeh, always a good idea to manually do a backup every now and again,, once you have your ex3/4 partition apps data will be restored when you reinstal the app, also Titanium Backup w/root permissions on a fully ROMd device will restore data in the same way too (if you backup with root access the first time etc)

[GUIDE] Android deep clean-up / wipe

Now with the release of many JB leaks for our Galaxy Note, more and more people are starting to flash custom ROMs into their devices. However, many don't do a proper clean-up / wipe of their devices before doing so, complaining about supposed "bugs" that in fact are not real bugs, but just incompatibilities with previous app data and config left from the previous ROM or improperly restored from backups (TB etc.).
So, after facing that myself with the first ROMs I flashed, reading a lot of tips from the senior members, and experimenting different approaches, I came up with a method that I always follow before flashing a new ROM, which gives me less or no issues at all.
Pros: you minimize the chance of having issues when flashing a new ROM.
Cons: you have to manually reinstall your apps (can be somewhat automated from Google Play) and reconfigure everything.
Pre-reqs: I'm assuming you have CWM installed and know how to use it, and are not a complete noob. If you don't, search the forums and read the guides. Read this guide fully and make sure you understand everything before proceeding.
IMPORTANT: ONLY wipe your device if you have a SAFE (BRICK-FREE) KERNEL. Check your kernel and search the forums. Don't proceed if you are not sure! I'm not responsible for any bricks, unexpected issues that can happen to you or personal data loss because you forgot to backup that! If you want to stay safe, don't want to experiment with your cell phone, it's critical you have it working everytime, stay with the official Samsung ROMs updates you get OTA and don't proceed with this how-to.
How-to:
1) Boot into recovery and perform a full backup (a.k.a. nandroid) to your internal or external SD card.
2) Reboot, and create backups of personal data needed from your apps in your internal or external SD card. For instance, I backup data from apps which are not cloud-based; they usually have a "backup" menu for that.
3) Plug your device into your computer, and copy everything you need from your internal and external SD cards (including the backups done in 1) and 2)). Don't forget your pictures and MP3 files.
4) Delete any apps and data from your external SD card. Leave it as clean as possible (it's OK to leave personal data such as MP3s, pictures etc.).
5) Copy the ROM you are about to flash to your EXTERNAL SD Card (don't copy to internal, because we are going to wipe it).
6) Boot into CWM Recovery and do the following wipes:
6.1) Wipe data / factory reset
6.2) Wipe cache partition
6.3) Advanced -> Wipe dalvik cache
6.4) Mounts and Storage -> Format /system
6.5) Mounts and Storage -> Format /preload
6.6) Mounts and Storage -> Format internal SD card (make sure you know if your internal SD card if /emmc or /sdcard; see below!)
7) Install Zip -> Flash ROM from your external SD card.
8) Wipe cache partition again.
9) Advanced -> Wipe dalvik cache again.
10) Reboot
11) Don't restore anything from Titanium Backup. Reinstall and reconfigure everything from Google Play. I never tried but I think that if you just restore user apps, it should work. Just never restore system apps and data. The backups you created in step 2) and copied to your computer in step 3) can be safely restored from within the apps themselves.
Now you may ask why we format the internal SD card. Many apps store their configuration and app data there, so this way we ensure no old data and config are there which may be incompatible with the new ROM. In fact it might not be that important, since it's only related to user apps, but I prefer to clean everything before flashing a new ROM.
How to find if your internal SD card is mounted on /emmc or /sdcard in CWM Recovery:
1) Boot into CWM Recovery.
2) Install Zip -> Choose zip from internal sdcard. In the top you can see where yours is mounted (/emmc or /sdcard).
3) This is the partition you should format in step 6.6. Pay attention to not format the external SD card, because the ROM zip file is there!
If you still have issues after flashing a new ROM, try to reflash it without any wipes (i.e. just do step 7 again).
Hope it can help people with their flashing!
Good job
Is it any better to just install user apps from google play and then restore just the data from TB?
Sent from my GT-N7000 using xda app-developers app
allansy said:
Is it any better to just install user apps from google play and then restore just the data from TB?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
No..the main purpose of the thread is to remove the incompatible app data and system data
Useful.
Sent from my GT-N7000 using xda premium
dbolivar said:
How-to:
6.1) Wipe data / factory reset
6.2) Wipe cache partition
6.3) Advanced -> Wipe dalvik cache
6.4) Mounts and Storage -> Format /system
6.5) Mounts and Storage -> Format /preload
6.6) Mounts and Storage -> Format internal SD card (make sure you know if your internal SD card if /emmc or /sdcard; see below!)
7) Install Zip -> Flash ROM from your external SD card.
8) Wipe cache partition again.
9) Advanced -> Wipe dalvik cache again.
10) Reboot
Click to expand...
Click to collapse
6.2 ---> unnecessary, because factory reset wipes user data and cache
6.6 ---> how on earth does formatting internal SD card help flashing any Rom?
8) ---> unnecessary, because your cache is already wiped
9) ---> see above
6.2) True, thanks for pointing out.
6.6) Some apps, including ones that usually give strange issues between ROM flashes like SNote, leave data there which may cause incompatibilities with a different version. This incompatibility is just a guess; as I said in the original post, it may not be that necessary to format the internal SD card, but I prefer to make sure there is no old data at all floating around, and this recommendation can also be useful when people are going to sell their devices (many think that just a factory reset is enough).
8) and 9) Is it possible that a new ROM can come with stuff in cache and dalvik cache, say, from the developer testing/cooking environment? If it is, can be useful to clean it again after flashing. Otherwise, I agree, it can be skipped.
Yeah total clean scenario is best. In my opinion. So also SD, but never efs
Sent from my GT-N7000 using Tapatalk 2
I too do things that are not necessary, I have a ritual when doing a deep clean lol
It involves things like the above method, but i do it twice.. No harm in that is there !
azzledazzle said:
I too do things that are not necessary, I have a ritual when doing a deep clean lol
It involves things like the above method, but i do it twice.. No harm in that is there !
Click to expand...
Click to collapse
Wel, better safe then sorry. Totally clean just feels right
Sent from my GT-N7000 using Tapatalk 2
Thank you very much. I will do this like you say.
I have CWM v6.0.1.2 and I don't have format/ preload. What can I do?
You can try to proceed without formatting it, or you can first flash a kernel with a more recent CWM. Always a safe kernel, of course. After flashing it, you can just select "reboot recovery" from your current CWM to boot into the new CWM. I'm not sure if the absence of /preload is due to an old CWM, or it's because you don't have a /preload partition. Anyway, trying a newer CWM won't harm.
i follow this guide , considering that i'm a noob it mean that is written really really clear. Thanks for all your job . i have a clean cooked rooted cell now.
error preload
Hello, I got error when formatting preload
it is said "make_extf4fs failed on/dev/block/mmcblk0p9
and when i'm trying to format/scard it pop up some type format
"deafult
"exfat
"fat
bla bla bla
so i choose default, am i right to choose it?
what should i do?
What device, what recovery, what rom?
dbolivar said:
flashing!
Click to expand...
Click to collapse
Hey bro,
i forgot to do step 9
9) Advanced -> Wipe dalvik cache again.
Phone is working fine, but just curious. will it have any effect ? or will it cause any problem later ?

[Q] What to backup before flashing new ROM?

I flashed my initial custom ROM when I first bought my HTC One. I'm on the 4.4.2 Android Rev. GPe ROM. I want to try a different ROM now that perhaps might be a better fit for me.
However, I'm already all, "set up" with my phone now with pictures, music, apps etc. I don't want to lose all this if I do a factory reset. What should I make sure to backup before wiping and flashing to make sure I don't lose any of my personal media/data?
I have already made a TWRP Backup, a Titanium backup of all user apps, and copied the TWP/Titanium Back folders as well as the DCIM and Music Folders to my local hard drive. Is there anything else I am missing should I want to switch back?
Elite83 said:
I flashed my initial custom ROM when I first bought my HTC One. I'm on the 4.4.2 Android Rev. GPe ROM. I want to try a different ROM now that perhaps might be a better fit for me.
However, I'm already all, "set up" with my phone now with pictures, music, apps etc. I don't want to lose all this if I do a factory reset. What should I make sure to backup before wiping and flashing to make sure I don't lose any of my personal media/data?
I have already made a TWRP Backup, a Titanium backup of all user apps, and copied the TWP/Titanium Back folders as well as the DCIM and Music Folders to my local hard drive. Is there anything else I am missing should I want to switch back?
Click to expand...
Click to collapse
You wont lose any pics/music/videos if u wipe. Your apps will go. But Titanium is there for that. Just make sure THAT YOU DON'T WIPE INTERNAL STORAGE
raghav kapur said:
You wont lose any pics/music/videos if u wipe. Your apps will go. But Titanium is there for that. Just make sure THAT YOU DON'T WIPE INTERNAL STORAGE
Click to expand...
Click to collapse
To confirm that I don't accidentally wipe my internal storage like an idiot, when I select "Wipe" in TWRP, I choose "Factory Reset", (both caches obviously), and "Wipe Data"?
Elite83 said:
To confirm that I don't accidentally wipe my internal storage like an idiot, when I select "Wipe" in TWRP, I choose "Factory Reset", (both caches obviously), and "Wipe Data"?
Click to expand...
Click to collapse
1- You should do a nandroid backup.
2- Yes, wipe: Cache, Dalvik, Data (excluding /data/media aka internal storage) for a clean flash;
for a dirty-flash, you only wipe, cache and dalvik (though most installer scripts take care of that anyways).

Free disk space disappeared

I have a galaxy tab 8.9 with Cwm installed (Gt-P7310)
I've been trying out different rom's lately.
After returning to the stock Ics had noticed that only free memory 1 Gb. Before trying the Rom's had a free space of 6 gb.
The Sd folder has a size of 6 Gigas. I do not know where they might be the other 5 gb.
Is there any way to delete the entire contents of the tablet and re-install android? Something similar to format a pc?
I've tried installing with Odin, but the end had the same available space.
Thanks!!
Have you tried wiping the sdcard partition?
0. Before you do this make a nandroid backup and transfer that backup to your pc, along with any important files you want to keep.
Download a ROM.zip and Gapps.zip and put them on the sdcard partition.
1. In recovery, wipe system, data, cache, and dalvik.
2. Install a new ROM and Gapps.
This next part could be risky. If something went wrong with your flash, it might be a pain to get files back on to fix it, but if you know how to use ADB, it is easy enough. That being said, most flashes go fine, and you shouldn't have any trouble.
3. Wipe the sdcard partition. Reboot. When all is said and done, you should have around 10 or 12 gb of space.
Thanks for the tip.
I had already tried to wipe system, data, cache, and dalvik and install a new rom with no results.
But I found the problem:
The Camera folder was duplicated in: / data / media.
After removing it I was the free space que I expected.
Thanks for your help!

[Q] Custom ROM upgrade problem :(

Hi guys I'm new to this forum but i've been a CD-ROM for years...
I have question about upgrading ViperROM to 6.2.1
I'm currently using ViperROM 2.7.0 with sense 5.0
Android 4.2.2
I use Titinium Pro to backup all my apps and....
my question is....how to upgrade from 2.7 to 6.2.1 the easiest way?
without any data lost?
do i have to use the data backup from ROM or i can just use the titaniumPRO for full backup?
please advice
I always copy and paste the contents of the sdcard to a folder for safe keeping on my laptop or usb drive. I wipe, data, cache, dalvik cache, system and user partitions. Reboot recovery, use adb sideload to send the rom.zip over and flash. Setup the phone and copy and paste everything back. The whole process takes min. 25-30 minutes. Works for me /shrugs, just my 2 pennies.
I would follow @DeathAngel66669 advice it is very solid. I also use Titanium Pro to quickly add back my USER APPS only with data. Never restore system apps.
majmoz said:
I would follow @DeathAngel66669 advice it is very solid. I also use Titanium Pro to quickly add back my USER APPS only with data. Never restore system apps.
Click to expand...
Click to collapse
I'm just concerning about my User App data, (whatsapp image, convo history)
so i can just do titanium pro and wipe the phone? cool!
Whatsapp etc backs up it's own data to a folder in your internal storage, when you reinstall it and set it up it will say backup found would you like to restore. Just make sure you don't wipe internal storage.
You could also try and dirty flash as you are on viper one already, just go into advanced wipe and wipe your caches only, do not factory reset and when installing the Rom also select don't wipe data partition.
But again as the others have said, make sure it's backed up first, if a dirty flash doesn't work, you'll be left with no choice but to reflash and wipe along the way.

Categories

Resources