Help deleting folders - used rooted phone - One (M7) Q&A, Help & Troubleshooting

I just bought my first Android phone - HTC One. I'm loving it so far!! The guy I bought it from previously rooted it and ran several roms on it. I'd like to copy all the files to my computer and then figure out how to wipe all the folders back to stock (no need to have all kinds of roms and folders from apps he had installed previously, etc.)
Is there a way to do this and wipe everything back to factory?? I tried to do the reset through the OS but the files are still there. I also seen factory reset in the bootloader but havent tried it since I'm still learning and dont want to brick the phone.

If you have the nandroid backup of stock the mobile.
Then goto recovery mode and wipe all data,dalvik cache, battery stats.etc..then say restore..The original stock will be back.
If atall u see old files delete with no fear using root explorer.(be carefull)
If any thing goes wrong just restore the backup through recovery....
Good luck:thumbup:

Sanjay Kumar said:
If you have the nandroid backup of stock the mobile.
Then goto recovery mode and wipe all data,dalvik cache, battery stats.etc..then say restore..The original stock will be back.
If atall u see old files delete with no fear using root explorer.(be carefull)
If any thing goes wrong just restore the backup through recovery....
Good luck:thumbup:
Click to expand...
Click to collapse
Thanks ... I was thinking the same thing last night ... I thought after rebooting into recovery TWRP had a wipe function (not sure if this does a full wipe or not).
How would I restore a backup once I wipe the device if it wipes the entire device? Use USB and upload it back to the device then restore?
Lastly, I restored into the first backup the device has on it but unfortunately it has tons of stuff already installed on it and I'd like it to be a fresh build. Additionally, I'm only on version 4.1.2 and I'd like to upgrade if possible. Perhaps I can find a newer version of the factory AT&T image which is fresh?
I seen a 4.2.2 thread stickied on here ... would that be a factory AT&T image I could restore to after wiping the entire device of everything? Or perhaps I should try the 4.3 leak or even wait for 4.3?

Related

[Q] Trying to unflash ROM - very overwhelmed!

Hi there,
I recently rooted and flashed a custom ROM onto my Samsung Galaxy S3 Mini. I'm very new to this thing and find everything quite overwhelming, but I want to learn.
I flashed this ROM - http://forum.xda-developers.com/showthread.php?t=2119219 (the v6 No Wipe version because I was petrified about losing my data if I factory reset), but the phone is now extremely laggy and buggy, so I want to go back to the stock ROM (so I can do a nandroid backup) and then try a different custom ROM like Dmod.
So, my question is, do I have to factory reset my phone to go back to stock? Or can I just flash this file (http://hotfile.com/dl/189271016/833...T-I8190N-BTU-I8190NXXALL6-1356151513.zip.html) using the CWN recovery menu without wiping? I'm asking because my phone keeps giving me an error everytime I try to backup using the CWM Recovery menu.
Thanks and if you need me to explain something in further detail, let me know.
YamiWheeler said:
Hi there,
I recently rooted and flashed a custom ROM onto my Samsung Galaxy S3 Mini. I'm very new to this thing and find everything quite overwhelming, but I want to learn.
I flashed this ROM - http://forum.xda-developers.com/showthread.php?t=2119219 (the v6 No Wipe version because I was petrified about losing my data if I factory reset), but the phone is now extremely laggy and buggy, so I want to go back to the stock ROM (so I can do a nandroid backup) and then try a different custom ROM like Dmod.
So, my question is, do I have to factory reset my phone to go back to stock? Or can I just flash this file (http://hotfile.com/dl/189271016/833...T-I8190N-BTU-I8190NXXALL6-1356151513.zip.html) using the CWN recovery menu without wiping? I'm asking because my phone keeps giving me an error everytime I try to backup using the CWM Recovery menu.
Thanks and if you need me to explain something in further detail, let me know.
Click to expand...
Click to collapse
That firmware is a zipped odin-file. Can't be flashed in CWM.
Make a cwm nandroid backup of your "/data" to your external sd (that's your installed apps)
You can also backup your apps and appdata using titanium backup or similar, for later restore.
Just remember to never backup/restore systemapps.
Backup internal sd to computer just to be sure, if you in any situation have to make a factory reset. Make sure any kind of backup is on your external sd before you make factory reset, or it will be lost forever
YamiWheeler said:
Hi there,
I recently rooted and flashed a custom ROM onto my Samsung Galaxy S3 Mini. I'm very new to this thing and find everything quite overwhelming, but I want to learn.
I flashed this ROM - http://forum.xda-developers.com/showthread.php?t=2119219 (the v6 No Wipe version because I was petrified about losing my data if I factory reset), but the phone is now extremely laggy and buggy, so I want to go back to the stock ROM (so I can do a nandroid backup) and then try a different custom ROM like Dmod.
So, my question is, do I have to factory reset my phone to go back to stock? Or can I just flash this file (http://hotfile.com/dl/189271016/833...T-I8190N-BTU-I8190NXXALL6-1356151513.zip.html) using the CWN recovery menu without wiping? I'm asking because my phone keeps giving me an error everytime I try to backup using the CWM Recovery menu.
Thanks and if you need me to explain something in further detail, let me know.
Click to expand...
Click to collapse
Backup your data in CWM, flash my ROM and restore your data with CWM.
Benzonat0r said:
Backup your data in CWM, flash my ROM and restore your data with CWM.
Click to expand...
Click to collapse
CWM has NO choice to backup/restore only parts of the device. Only a full backup is possible.
This is only in TWRP. Pity! I only use CWM because TWRP makes corrupted backups (three times) for me.
Or is it possible to pick out only DATA from the backup? And what is happen with the dalvik cache, which
consists of the byte-code for all installed apps, optimized for the ROM which created it?
"advanced restore and restore only /data". Is this the way in CWM that you mean @benz?
JackoMJ
Yes that's exactly what I meant, "advanced restore and restore only /data"
You don't have to worry about cache and dalvik because it's automatically created on the initial start.
thx for the information Benz (usefull in the future perhaps),
but i´ve decided to use Titanium Backup.
JackoMJ

[Q] Flash stock ROM by Odin dont erase all user data?

I was surprised that after flashing stock ROM by ODIN, phone was not cleaned from the user data.
I mean: account settings, applications installed by user, etc.
I know that flashing dont erase data from internal/external SD card, but why all data was still exist?
Only Wipe Data / Factory Reset will erase all user data?
Btw, Merry Xmas
darcik said:
I was surprised that after flashing stock ROM by ODIN, phone was not cleaned from the user data.
I mean: account settings, applications installed by user, etc.
I know that flashing dont erase data from internal/external SD card, but why all data was still exist?
Only Wipe Data / Factory Reset will erase all user data?
Btw, Merry Xmas
Click to expand...
Click to collapse
Nope, factory reset will not erase all user data. Go into setting/storage and delete from there (not sure cause I didn't have the device now). If you want to erase using odin, tick the repartition box while flashing the firmware. This is the easiest way I think.
Odin flash doesn't wipe user apps and their data, but it may cause bugs if you come from another ROM...
E.g : if u soft bricked on stock JB, just odin flash is necessary.
for other ROMs, it may or may not lag.
I will describe my way.
I tried to install CM 10.2
I did factory reset, next steps follow procedure.
When I did first start, unfortunately keyboard stop working, so my cyjanogen install failed and I decided back to old system using backup.
After restore and start, phone required settings like on first start after factory reset.
Lol, big surprise.
Ok, I entered necessary information but after reset -
again same like after factory reset
I tried from another backup with same result.
Hmm, big mess.
So I flash stock ROM by Odin.
And new surprise - phone with fresh system and all my own settings and applications from last restore.
Two disappointments:
1. Restore from backup does not cause a return to the initial state.
2. Flash ROM by Odin don't make factory state of phone.
I have question, if format partitions: system and data and next restore backup will do real state phone on this backup?
GT-I9070 ==> Tapatalk space
darcik said:
I will describe my way.
I tried to install CM 10.2
I did factory reset, next steps follow procedure.
When I did first start, unfortunately keyboard stop working, so my cyjanogen install failed and I decided back to old system using backup.
After restore and start, phone required settings like on first start after factory reset.
Lol, big surprise.
Ok, I entered necessary information but after reset -
again same like after factory reset
I tried from another backup with same result.
Hmm, big mess.
So I flash stock ROM by Odin.
And new surprise - phone with fresh system and all my own settings and applications from last restore.
Two disappointments:
1. Restore from backup does not cause a return to the initial state.
2. Flash ROM by Odin don't make factory state of phone.
I have question, if format partitions: system and data and next restore backup will do real state phone on this backup?
GT-I9070 ==> Tapatalk space
Click to expand...
Click to collapse
1. Almost every restore from backup for me it returned phone on state when backup was made. Only if my backup was bad (did not have enough place on sd for backup or something corrupted it).
2. Flashing stock ROM by Odin do not touch data partition (or folder whatever it is). So if you want to erase that, you need to make factory reset. It is like that on every Samsung Android device - I am not sure for other, never used.
When you come back from any CM10.2, Omni 4.3 and CM11 based ROM - first flash stock with Odin, do factory reset - and after that restore backup (ofcourse first root, install CoCore kernel for CWM before restore - you can't use restore in stock recovery).
Tnx for answers.
This is weird that format system partition not enough to get rid of the CM
But I checked this again and exactly after refresh ROM by Odin - restore my settings and data works fine.
Hmm imo this is mess in whole Android system
darcik said:
Tnx for answers.
This is weird that format system partition not enough to get rid of the CM
But I checked this again and exactly after refresh ROM by Odin - restore my settings and data works fine.
Hmm imo this is mess in whole Android system
Click to expand...
Click to collapse
Explanation for that, TeamJanica used preload partition for swap, and it is patitioned in other format than the one stock ROM use. That partition is not used on CM for files, but it has it's use on stock based ROM.
shut_down said:
Explanation for that, TeamJanica used preload partition for swap, and it is patitioned in other format than the one stock ROM use. That partition is not used on CM for files, but it has it's use on stock based ROM.
Click to expand...
Click to collapse
Tnx for explanation :good:
Is there somewhere a description of the organization of the file system, partitions in our device?
darcik said:
Tnx for explanation :good:
Is there somewhere a description of the organization of the file system, partitions in our device?
Click to expand...
Click to collapse
I think there is in some of the first posts of developer thread. I will try to find it and post if I get it.
Maybe this http://forum.xda-developers.com/showpost.php?p=30694671&postcount=288
shut_down said:
I think there is in some of the first posts of developer thread. I will try to find it and post if I get it.
Maybe this http://forum.xda-developers.com/showpost.php?p=30694671&postcount=288
Click to expand...
Click to collapse
Tnx, as usual you are very helpfull
How I missed this topic?
darcik said:
Tnx, as usual you are very helpfull
How I missed this topic?
Click to expand...
Click to collapse
It is made 25th August 2012. Maybe because of that.
Heeeelp pleeeease
Ive got a problem with frp protection my daughter forgot everything so i restored to factory and used odin 3 v13.3 and correct firmware to flash it but when odin says pass the phone erases itself of the flashed firmware it’s a galaxy s7 edge any help would be grateful im pulling my hair out now .
j7 nxt stock frimware flash failed
i accidentally wiped vendor,syastem and all and now i can only install custom gsi roms.
While flashing stock frimware it stuck at set partition adn cannot install stock frimware please helpe to get this fixed?
gauravsapkotanp said:
j7 nxt stock frimware flash failed
i accidentally wiped vendor,syastem and all and now i can only install custom gsi roms.
While flashing stock frimware it stuck at set partition adn cannot install stock frimware please helpe to get this fixed?
Click to expand...
Click to collapse
supposedly you have downloaded the stock FW, flash via Odin with re-partition ticked. if it fails, extract the PIT file from CSC_OMC_OXM_XXX save it in a location and load it at the pit session via Odin the re-flash again with re-partition ticked.

[Q] Help Needed With Restore

I hope someone can help me.
I just got my GT-N7000 back from Samsung after a repair to the audio socket. The phone was rooted but Samsung returned the phone to the stock JB 4.1.2 ROM. All was working as it should when I got it back.
Now, I wish to re-root the phone and restore my choice of custom ROM - Ultimate _N7000_XXLT4_JB_4.1.2. v6.0 with all my apps and data. This is the ROM I've been using ever since it was published without issue.
I have managed to re-root the phone with the PhilZ Touch 5 recovery + safe kernel and CWM Base Version v6.0.3.7 which I think is the version I was using before. This part of the procedure appears to have worked correctly and I can now boot into the PhilZ Touch 5 recovery without any issue.
However, after restoring the backup I made prior to the audio jack problem and rebooting, he phone hangs after a few initial swipes through the screens ie I can no longer swipe screens or start apps and the phone is non-responsive. All I can do then is remove the battery. No errors are being reported during the Restore and I've taken care to Wipe data/Factory reset, Wipe Cache Partition and then Advanced >Wipe Dalvik Partion.
I tried the Restore several times but the result is the same. One thing that may be related is that my lockscreen image is not the one I was using when I did the backup. Nor is it the stock image of the book and quill pen that the stock ROM uses (it's a picture of a kid leaping into the air with a big bunch of balloons which I've never seen before). This could mean that something isn't being wiped properly.
Any advice from the experts would be most welcome as I'm out of my depth.
Trevor
Did you check in Philz recovery if the restore of Preload partition is enabled..?
nokiamodeln91 said:
Did you check in Philz recovery if the restore of Preload partition is enabled..?
Click to expand...
Click to collapse
Thanks for the reply. No, I didn't know to check that but will do so in future. I have never encountered that setting before. Is it usually enabled by default?
I think the trouble was that at least one of my backup files was corrupt. I tried an earlier one and this one seemed to have fewer problems so concluded that this was the source of trouble.
In the end, I downloaded a fresh copy of the Ultimate ROM I was using which got the phone fully working again and then let Google download all my apps automatically. So I'm out of trouble now.
Thanks again.
Trevor

[Q] AT&T Note 3 4.4.2 unable to mount system

I have a new n900a with stock 4.4.2. I rooted the phone with the TowelRoot and then installed SS 4.72. I backed up my phone with a nondroid backup via SS, titanium backup as well as Helium all on my external SD . The problem is that I tried to flash the Alliance ROM v6 and it didnt work. So I said, hey I've got a full backup lets just restore to the stock ROM and no foul. Well it happens that it FAILED and I noticed that SS cant mount the system partition.
From what I have read, the stock system file for AT&T is not available so I cant flash a stock rom back on my phone. I think that somehow the phone got corrupted. I tried wiping, format data, delvic cache, data, etc. via SS 3.72, nothing works. SS shows the system partition empty. I suspect this may have happened because the ROM I was flashing was based on using SS 3.71. The developer said I should not have a problem flashing the ROM with SS 3.72. I've been flashing roms for a couple of years but have never come across this and am totally stumped. Can anyone point me in the right direction or do I have an $800 brick?
ccaceres said:
I have a new n900a with stock 4.4.2. I rooted the phone with the TowelRoot and then installed SS 4.72. I backed up my phone with a nondroid backup via SS, titanium backup as well as Helium all on my external SD . The problem is that I tried to flash the Alliance ROM v6 and it didnt work. So I said, hey I've got a full backup lets just restore to the stock ROM and no foul. Well it happens that it FAILED and I noticed that SS cant mount the system partition.
From what I have read, the stock system file for AT&T is not available so I cant flash a stock rom back on my phone. I think that somehow the phone got corrupted. I tried wiping, format data, delvic cache, data, etc. via SS 3.72, nothing works. SS shows the system partition empty. I suspect this may have happened because the ROM I was flashing was based on using SS 3.71. The developer said I should not have a problem flashing the ROM with SS 3.72. I've been flashing roms for a couple of years but have never come across this and am totally stumped. Can anyone point me in the right direction or do I have an $800 brick?
Click to expand...
Click to collapse
Head on over to the soft brick thread for instructions on how to undo what you did. If that fails, well, you always have the hard debrick method.

[Q] Questions before flashing custom ROM

I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
1. After reading the thread of my recovery, from what I understand, the recoveries are installed in /system. But on OP of the custom rom, I am about to install, there is an instruction to format /system before flashing the rom. So my question is if I format the /system partition, won’t my recoveries be removed (by the recoveries itself) before I even flash the rom?
2. Also will the recovery still be available to me if say I enter bootloop for some reason during flashing the rom?(asking for the same reason as above that is wiping my /system should also remove my recoveries)
3. Does CM 11 come with any inbuilt custom recovery? If not can I install the one I am already using (assuming installing a custom rom will remove my installed recoveries)?
4. Say I screw up during the flashing procedure. So if I want to rectify this I should first flash the stock .205 ftf, root, install a recovery again and then restore using the nandroid backup. Am I correct?
5. Is it necessary to wipe cache and dalvik cache before flashing rom? I see this instruction in some roms but not in others. And dalvik should be wiped after flashing rom and gapps, right?
6. Should I install supersu again after I flash the rom. I read in an article that it causes problems with CM. As far as I know CM11 comes pre-installed with superuser. But it also supposedly causes some problems.
7. Is it safe to restore user app+data, messages and contacts backed up using Titanium backup on a newly flashed rom? I have seen conflicted views on this.
Click to expand...
Click to collapse
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Prat92 said:
I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Click to expand...
Click to collapse
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
TechnoSparks said:
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
Click to expand...
Click to collapse
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Prat92 said:
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Click to expand...
Click to collapse
1. Wiping system wont close the recovery at all. It still runs and you can still navigate within it. But remember do not reboot unless you've flashed the ROM! The mechanism of how the magic works is yet to be acknowledged. So I can't tell why it doesn't closes upon wipe. My best guess here is that the recovery might be running on a temporary partition perhaps. I hope a developer see this post and explains the magic.
2. Nandroid backup works all the time (if they are no errors when you are creating them). Nandroid backup is simply a backup of your whole device. If you're on CM, restoring nandroid backup will get your phone back to the way when you attempted the nandroid backup (stock ROM, rooted, and triple recoveries installed). Nandroid backup is useful when you're about to try something that may damage your ROM, without doing so much work to restore your device.
Say, you created a nandroid backup in cwm in which Cyanogenmod was installed. And then you flashed something afterwards. If that "something" damages the ROM and gives you bootloop, you can simply flash Stock ROM, root it again, install recoveries again, and restore the nandroid backup. Then, voilà, cyanogenmod is back. This will simplify your work rather than flash CM again, then gapps, then restore your apps and all those other things that will consume so much time
So a new nandroid backup will backup the whole device, in a form of an image.

Categories

Resources