[Q] Flashing a new ROM after encryption - Samsung Galaxy W I8150

I encrypted my Galaxy W a few months back, and am now considering flashing a new ROM. I've looked into the process for other devices on this forum and am getting a bit confused by it!
Can I use CWM to wipe the phone as usual? I've used CWM to make a back-up of the phone to the SD card (which isn't encrypted). In the future can I restore this back-up?

creative-2008 said:
I encrypted my Galaxy W a few months back, and am now considering flashing a new ROM. I've looked into the process for other devices on this forum and am getting a bit confused by it!
Can I use CWM to wipe the phone as usual? I've used CWM to make a back-up of the phone to the SD card (which isn't encrypted). In the future can I restore this back-up?
Click to expand...
Click to collapse
which i know is you can decrypt your phone by performing a "factory data reset". That same as Wipe Data on CWM. The conclusion is you can use CWM to wipe your phone as usual. You can restore backup too, but dont forget to do Full Wipe before.
That's just my thoughts. I never encrypt my phone before.
Sorry for my bad english.

creative-2008 said:
I encrypted my Galaxy W a few months back, and am now considering flashing a new ROM. I've looked into the process for other devices on this forum and am getting a bit confused by it!
Can I use CWM to wipe the phone as usual? I've used CWM to make a back-up of the phone to the SD card (which isn't encrypted). In the future can I restore this back-up?
Click to expand...
Click to collapse
with what rom you did that?
i already tried to encrypt, but it always give me some errors.

aditiatobby said:
which i know is you can decrypt your phone by performing a "factory data reset". That same as Wipe Data on CWM. The conclusion is you can use CWM to wipe your phone as usual. You can restore backup too, but dont forget to do Full Wipe before.
That's just my thoughts. I never encrypt my phone before.
Sorry for my bad english.
Click to expand...
Click to collapse
I was thinking about it last night and decided that it should be possible to do this. The wipe is simply erasing the data, and it doesn't matter whether it was encrypted or not to do this.
zezadas said:
with what rom you did that?
i already tried to encrypt, but it always give me some errors.
Click to expand...
Click to collapse
CM9 rc6. I've tried it with some CM10 ROMS before and, like you said, got error messages. It took about an hour with my ROM and I haven't noticed any performance issues. If you want any more information about it, let me know.

Related

Random crashes after restoring to backup.

I had flashed Warm TwoPointThree. Didn't really like it so I restored to my nandroid back up. Now the phone randomly crashes for no apparent reason. It is sitting next to me on my desk and just now it crashed, wasn't even touching it. Secondary to the crashes is that after it happen and I try to report the phone is registering no charge and then immediately shuts down till I put it on a charger, regardless of actual battery charge.
Edit
More info. It has never crashed while on the charger. Don't know if that is relevant.
Did you wipe properly prior to restoring your nandroid? Also, what recovery are you using? If it's not Amon-ra, you need to get it! Make sure when doing a nandroid restore you have the appropriate items checked for restore (Assuming you did this when making the nandroid to begin with). Usually Boot, System, Data, and SD ext if partitioned.
Im using Amon-ra and I have an unpartitioned SD card. What do you mean by wipe? I'm a new to the entire rooting thing.
You need to wipe all data factory reset, boot, system, and dalvik cache in recovery three times each. Then restore your nandroid. You can also use a superwipe script but I feel manually wiping them is best.
Sent from my PC36100 using XDA
dieselford said:
You need to wipe all data factory reset, boot, system, and dalvik cache in recovery three times each. Then restore your nandroid. You can also use a superwipe script but I feel manually wiping them is best.
Sent from my PC36100 using XDA
Click to expand...
Click to collapse
Can I use the wipe feature in Amon-ra to do this?
Yes. That is the way to do it.
Sent from my PC36100 using xda premium
Try fix permissions, I think RA has it under other, or if u have Rom manager there is an option to fix permissions
Sent from my Synergized Aggressive Lionfish Evo using the XDA app
I think I may have found a problem with the backup I was using. For some reason the backup file had 2 copies of every entry.
Under the other tad in RA recovery there was options to fix apk uid mismatches and move recovery.log to SD.
I selected the fix apk uid mismatches. Im hoping that is the fix permissions that the previous poster was talking about. If not then can I get some direction in doing it properly?
SabaBoBaba said:
I think I may have found a problem with the backup I was using. For some reason the backup file had 2 copies of every entry.
Under the other tad in RA recovery there was options to fix apk uid mismatches and move recovery.log to SD.
I selected the fix apk uid mismatches. Im hoping that is the fix permissions that the previous poster was talking about. If not then can I get some direction in doing it properly?
Click to expand...
Click to collapse
Yes that's it.
Well the crashes have started again. They seem to start slow, one crash then like 3 days later another and then just increase in frequency, today it crashed 5 times before noon. I'm at the point that I think perhaps I need to wipe and not attempt to do a restore. My concern is will I lose my root if I do that?
Will I lose root if I do wipe with out restoring afterward?
SabaBoBaba said:
Will I lose root if I do wipe with out restoring afterward?
Click to expand...
Click to collapse
If you wipe without restoring, you won't have a ROM on your device. You'll have to flash one, and as long as it's a custom or rooted stock ROM, you'll be fine.
Well I did a factory reset tonight so we'll see how that goes. Thanks to those people who contributed.
Well I did the factory reset and this morning it crashed again. I'm at a loss. All this started after I installed the Warm 2.3 ROM and then restored back to a backup to get the stock ROM back. Any thoughts on what to try now?
Any further help that anyone can offer on this. I'm at the end of what I can think of to do
SabaBoBaba said:
Any further help that anyone can offer on this. I'm at the end of what I can think of to do
Click to expand...
Click to collapse
Just stop restoring and flash a ROM from scratch. Do a full wipe (everything except SD card), and then flash the ROM (custom or stock) or your choice. It seems that the restore is at the root of your problem, so it may be time to give up on that.
Current ROM (BootManager Slot 5): ICS-Deck-PreBeta20 | Kernel: Mason v0.14 SBC (FSO)
Captain_Throwback said:
Just stop restoring and flash a ROM from scratch. Do a full wipe (everything except SD card), and then flash the ROM (custom or stock) or your choice. It seems that the restore is at the root of your problem, so it may be time to give up on that.
Current ROM (BootManager Slot 5): ICS-Deck-PreBeta20 | Kernel: Mason v0.14 SBC (FSO)
Click to expand...
Click to collapse
Well Im going to flash this http://forum.xda-developers.com/showthread.php?t=1455340&highlight=stock+rom and see if that works. Thanks for the assist.
After wiping last night and loading the rooted version of the latest stock ROM it crashed again today. Next idea?
Try wiping in recovery by flashing Edify_Format_ALL (found on xda). I manually wipe Dalvik, habit... Flash rom from scratch. I use Titanium Backup to back up apps and data just for these situations. Some caches are moved to SD card, maybe delete these folders and let system rebuild them. (ie android_secure).
Hope you get it sorted out.
Grizraz said:
Try wiping in recovery by flashing Edify_Format_ALL (found on xda). I manually wipe Dalvik, habit... Flash rom from scratch. I use Titanium Backup to back up apps and data just for these situations. Some caches are moved to SD card, maybe delete these folders and let system rebuild them. (ie android_secure).
Hope you get it sorted out.
Click to expand...
Click to collapse
Ill give that a shot. I hope I can fix what ever I did to foul this thing up.
Just from searching the forums I really dont understand this edify thing. Can you help be get some clarity on it?

Will wiping System in TWRP delete contents of sdcard?

When I'm flashing a new ROM, I like to install it as cleanly as possible. Usually a factory reset along with wiping cache and dalvik. Doing this, I know my sdcard contents will remain safe. Does wiping system in TWRP wipe out my sdcard as well? If not, I'll start doing that as well. If it does, I guess I won't.
no, only /system.
only time your SDCARD is wiped is if you choose format /sdcard.
No. Wiping system wipes /system. Wiping internal storage wipes the internal storage. The two don't cross at all.
Thanks a lot, both of you.
For giggles, what does wiping system do? Obviously wipes system, but I mean in terms of flashing a new ROM. How is it beneficial, I guess is what I'm asking.
blackplague1347 said:
Thanks a lot, both of you.
For giggles, what does wiping system do? Obviously wipes system, but I mean in terms of flashing a new ROM. How is it beneficial, I guess is what I'm asking.
Click to expand...
Click to collapse
it makes the /system partition is clean so there is no remnants of the previous rom.
most rom installs include a script that wipe it, so generally its not needed.
You will also lose the contents of /sdcard when you lock/unlock your bootloader. (root)
I do literally everything except wipe external SD.
Even Format Data.
jbbosu said:
I do literally everything except wipe external SD.
Even Format Data.
Click to expand...
Click to collapse
why did you bump a 5 month old thread?
Zepius said:
why did you bump a 5 month old thread?
Click to expand...
Click to collapse
For the record, his bump on the 5 month old thread helped me, over two years later.
Thanks everyone.
Thanks
It is Still helping people like me...Thnx...Keep Bumping
Same
Can confirm... Keep bumping
Hey Guys
Yep
Very useful. One up from me as well. IS TWRP only way to do FULL WIPE or are there alternatives? For example, can this be achieved without being rooted?
bump LOL does wiping the ext_sd actually wipe the data or is it still accessible via linux? im hoping that it only deletes the data table
nvm, it only deletes the data table. Data recovered, crisis averted
I know this is now 4 months old, so using twrp system wipe- wipes out the current android firmware too or no?
If you just want to delete everything from Android SD card , you'd better use eraser tool to do ,
Once you use it to erase your Android SD card , all of the data save on the SD card can be completely deleted ,
eidairaman1 said:
I know this is now 4 months old, so using twrp system wipe- wipes out the current android firmware too or no?
Click to expand...
Click to collapse
I also need that answer
Bump, thanks for explain

[Q] Wiping Cache & Dalvik AFTER flashing new custom rom

i think i forgot to wipe cache & slavik before i flashed the custom rom
if i will do it now there is a chance i will lose my IMEI or S/N because of it?
i already lost my IMEI twice and i cant take a chance of losing it again
DrCow said:
i think i forgot to wipe cache & slavik before i flashed the custom rom
if i will do it now there is a chance i will lose my IMEI or S/N because of it?
i already lost my IMEI twice and i cant take a chance of losing it again
Click to expand...
Click to collapse
No, it'd not cause any problem. Just take the EFS bakup (You haven't did it before?), and then feel free to do anything on your own. And man, It's Dalvik Cache not salvik.
m.b.jikre said:
No, it'd not cause any problem. Just take the EFS bakup (You haven't did it before?), and then feel free to do anything on your own. And man, It's Dalvik Cache not salvik.
Click to expand...
Click to collapse
i had a backup of the EFS
i tried different ways to backup my EFS folder
but none of them actually worked
DrCow said:
i had a backup of the EFS
i tried different ways to backup my EFS folder
but none of them actually worked
Click to expand...
Click to collapse
Try it with philz recovery, you'd found an option under 'Backup and restore >> Custom backup to sdcard0 / 1', you've to uncheck all options except efs (because it flags a caution/warning there that efs backup must be made seperately).
Otherwise try backing up your efs content with Dr.Ketan's mutitool, download: http://d-h.st/wgy
Description: http://forum.xda-developers.com/showthread.php?t=2445480
m.b.jikre said:
Try it with philz recovery, you'd found an option under 'Backup and restore >> Custom backup to sdcard0 / 1', you've to uncheck all options except efs (because it flags a caution/warning there that efs backup must be made seperately).
Otherwise try backing up your efs content with Dr.Ketan's mutitool, download: http://d-h.st/wgy
Discription: http://forum.xda-developers.com/showthread.php?t=2445480
Click to expand...
Click to collapse
i guess i will do it with Philz
anyway i dont have my phone atm so i cant try that
the reason im thinking i didnt wiped cache is because it's take quite a while for the phone to boot up
DrCow said:
i guess i will do it with Philz
anyway i dont have my phone atm so i cant try that
the reason im thinking i didnt wiped cache is because it's take quite a while for the phone to boot up
Click to expand...
Click to collapse
For first use only, and for optimising apps and cache for same. From second boot it doesn't check.
m.b.jikre said:
For first use only, and for optimising apps and cache for same. From second boot it doesn't check.
Click to expand...
Click to collapse
and if it does take a while to boot after the first time?
it's mean i didnt wiped?
DrCow said:
and if it does take a while to boot after the first time?
it's mean i didnt wiped?
Click to expand...
Click to collapse
I mean when you wipe the cache then it optimises apps for only once, thereafter it'd not needed until you tried to do it. And comin' to point it'd not stuck at boot, it flags, after rebooting action on screen that 'Optimising apps xxx from xxx'. And this definately done if you are used your current rom for a while.
m.b.jikre said:
I mean when you wipe the cache then it optimises apps for only once, thereafter it'd not needed until you tried to do it. And comin' to point it'd not stuck at boot, it flags, after rebooting action on screen that 'Optimising apps xxx from xxx'. And this definately done if you are used your current rom for a while.
Click to expand...
Click to collapse
i only rebooted my phone like twice or so after i flashed the rom
and honestly i dont remember if it did anything or went straight to the language select menu
DrCow said:
i only rebooted my phone like twice or so after i flashed the rom
and honestly i dont remember if it did anything or went straight to the language select menu
Click to expand...
Click to collapse
It does man, maybe you wasn't looking at the phone. And it is no. of applications dependent so for time it'd take less for less apps. I just want to know how you are in need to Wipe cache?
m.b.jikre said:
It does man, maybe you wasn't looking at the phone. And it is no. of applications dependent so for time it'd take less for less apps. I just want to know how you are in need to Wipe cache?
Click to expand...
Click to collapse
Like i said i dont have my phone with me atm
so i cant really check if it actually boot without too many delays
So i got my phone back
It does get stuck about 10 seconds on the samsung logo
Dunno if its should be like this because i dont really remember how it was
Sent from my GT-N7100 using xda app-developers app

After Factory Reset, Phone is Slow as Hell - HELP!!

I'm rooted on my Galaxy S3. Last month I made a backup through TWRP recovery. Yesterday when I restored to the backup, the restore wasnt complete. I tried to restore again and I encountered the same incomplete restore. My customized settings in the apps were gone and some of the apps I had backed up weren't included in the restore. Looks like something got messed up.
I then wiped cache, Dalvik, data and system. I even formatted the phone. I also did a factory reset. This messed up my phone so I installed a new rooted stock rom. So now, the phone is slow as hell and apps arent very responsive. Everything is laggy and slow. And the play store and youtube have slow connection speeds.
What should I do to fix this stupidity??
Did you try restoring a stock ROM via Odin?
I had the same thing happen before. Odin with a stock rom is all that fixed it for me.
audit13 said:
Did you try restoring a stock ROM via Odin?
Click to expand...
Click to collapse
Yes I did. But Playstore downloading speed and wifi speed are slow as hell. What do you suggest?
Are you downloading over WiFi or cellular data network? The phone is running the latest rom without root? After flashing, you you immediately go to b recovery and do a full wipe?
audit13 said:
Are you downloading over WiFi or cellular data network? The phone is running the latest rom without root? After flashing, you you immediately go to b recovery and do a full wipe?
Click to expand...
Click to collapse
Yes I'm downloading over wifi and its slow. The phone is laggy too. Its running JB with root. I tried a full wipe of dalvik, cache and data or system. It doesnt help.
This is really strange because a factory reset usually does the trick.
This may be a redundant question but was the phone flashed with the correct ROM? I see different variations of the T999 on sammobile.com's website.
audit13 said:
This is really strange because a factory reset usually does the trick.
This may be a redundant question but was the phone flashed with the correct ROM? I see different variations of the T999 on sammobile.com's website.
Click to expand...
Click to collapse
Hi audit.. Its not a dumb question at all. The rom was the correct one for my phone. Everything was working fine up until a week ago. Its possible that my phone fell and maybe that caused damage maybe.
Not only that but restoring bsckups through TWRP doesnt yield perfect restores. All my restores have not been complete. Customized settings all returned to default and apps were rearramged differently.
Anyeay, just to make sure, how can I do a proper wipe without wiping out my custom settings and apps? Do I just wipe dalvik, cache and system?
You would wipe dalvik and cache only.
Wiping data wipes apps.
Wiping system wipes the rom.
audit13 said:
You would wipe dalvik and cache only.
Wiping data wipes apps.
Wiping system wipes the rom.
Click to expand...
Click to collapse
Thanks for a speedy reply. Can you explain why my backuo restores through TWRP dont yield perfect restores? Custom settings return to default and apps are arranged differently.
I am not sure why that happens but I have used twrp on several phones, including the lg g2, nexus 4, note 3, htc one x, and Samsung tab without issue. Maybe you need to do a full wipe before restoring? Does the phone have the latest twrp?
audit13 said:
I am not sure why that happens but I have used twrp on several phones, including the lg g2, nexus 4, note 3, htc one x, and Samsung tab without issue. Maybe you need to do a full wipe before restoring? Does the phone have the latest twrp?
Click to expand...
Click to collapse
Hi audit. Yes the phone has the latest TWRP. I downloaded it from the play store yesterday.
I got an important question. I backed up my rom a few days through TWRP as I said. Is it possible to open up the backup on my laptop and search for specific pics? I dont want to restore the rom, since as I stated, I have problems doing so. I just need to get those pics. Is this possible?
I am not sure but it is worth a try.
Humour me but is the twrp 2.8.7?
audit13 said:
I am not sure but it is worth a try.
Humour me but is the twrp 2.8.7?
Click to expand...
Click to collapse
Thats right, current version is 2.8.7.0.
I don't know why it doesn't restore properly. Maybe try re-flashing twrp from Odin? Can't really think of anything else.
audit13 said:
I don't know why it doesn't restore properly. Maybe try re-flashing twrp from Odin? Can't really think of anything else.
Click to expand...
Click to collapse
How do I reflask TWRP through odin? In doing so, would I risk losing my data, apps, etc? Is it safe?
You download the tar file for d2att, open Odin, put phone into download mode, put the tar file in the pda box, and flash.
audit13 said:
You download the tar file for d2att, open Odin, put phone into download mode, put the tar file in the pda box, and flash.
Click to expand...
Click to collapse
Wait, when you say the tar file for d2att you mean the TWRP file, right? Hope thats what you mean because the way you describe it, it sounds like instructions on flashing the whole rom.
Where do I get the tar file for the TWRP app?
TWRP link: https://dl.twrp.me/d2att/
audit13 said:
TWRP link: https://dl.twrp.me/d2att/
Click to expand...
Click to collapse
Thanks audit. Now, I'd like to know what app do you recommend to find out which apps are causing the phone to get so hot. Thanks.

TWRP Restore Issue

Hi guys,
I seem to have this problem where my nandroid backup from TWRP won't boot. I can only get it to boot after flashing the Rom over again after the store (this doesn't erase the data and all my file are still there, I just have to make sure I'm flashing the same Rom version as was part of the backup to avoid issues . But I was wondering if there is something else I should be doing here. I've used TWRP in the past and was just able to back up and restore no problem.
When I back up I make sure my system partition is mounted and I usually backup the default selections (boot/data/system, EFS) . My feeling is somehow the boot partition gets corrupted and won't allow the phone to continue booting, but I'm not sure why?
Any ideas? I'm using TWRP version 3.0.2-0. This happens when restoring nandroid for any rom (so far tried with oxygen/hydrogen/miui and cm14).
Thanks in advance.
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
borijess said:
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
Click to expand...
Click to collapse
Standard factory reset on TWRP will erase data, cache and Calvin cache without wiping internal SD card. That's what most people use.
piotrus22 said:
Hi guys,
I seem to have this problem where my nandroid backup from TWRP won't boot. I can only get it to boot after flashing the Rom over again after the store (this doesn't erase the data and all my file are still there, I just have to make sure I'm flashing the same Rom version as was part of the backup to avoid issues . But I was wondering if there is something else I should be doing here. I've used TWRP in the past and was just able to back up and restore no problem.
When I back up I make sure my system partition is mounted and I usually backup the default selections (boot/data/system, EFS) . My feeling is somehow the boot partition gets corrupted and won't allow the phone to continue booting, but I'm not sure why?
Any ideas? I'm using TWRP version 3.0.2-0. This happens when restoring nandroid for any rom (so far tried with oxygen/hydrogen/miui and cm14).
Thanks in advance.
Click to expand...
Click to collapse
I don't have any solution for you but I can certainly concur. I've seen this behaviour as well but not as consistently as what you are describing. About 1/3rd of the time my restores don't work as you mentioned and I have to dirty flash the rom to get it to boot. Sometimes the restore even errors out while restoring the System partition in which case I just dirty flash. This is like my 9th or so Android device since Samsung released the SGS1 in whatever year that was and this is the first phone I've ever had this problem with. On previous phones it would happen rarely but nothing like it does on the OP3.
---------- Post added at 11:01 AM ---------- Previous post was at 10:58 AM ----------
borijess said:
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
Click to expand...
Click to collapse
You can either not wipe internal storage (that is what I do usually) or you can buy an OTG adapter. I think TWRP supports it for our device. You can always copy off your backups via USB then wipe internal then copy your backups back too I think.
Did you for once try wiping the complete device after backing up nans on external storage and thn trying restoring? That would make a difference
Dr-Hack said:
Did you for once try wiping the complete device after backing up nans on external storage and thn trying restoring? That would make a difference
Click to expand...
Click to collapse
What?
piotrus22 said:
What?
Click to expand...
Click to collapse
I think he is asking to do below procedure -
1.Copy your nandroid backup and other imp stuff to computer
2.boot into TWRP
3.wipe all partitions including internal storage
4.copy nandroid backup to phone
5.restore backup through TWRP
Did you mount system to restore backup?
null0seven said:
Did you mount system to restore backup?
Click to expand...
Click to collapse
Yep of course.
JumboMan said:
I think he is asking to do below procedure -
1.Copy your nandroid backup and other imp stuff to computer
2.boot into TWRP
3.wipe all partitions including internal storage
4.copy nandroid backup to phone
5.restore backup through TWRP
Click to expand...
Click to collapse
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
piotrus22 said:
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
Click to expand...
Click to collapse
its one time procedure. Subsequent restore will be fine.
May be different versions of TWRP will help you with this problem
is this issue had been resolved? because i have also the same problem.. whats the fix for this?
piotrus22 said:
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
Click to expand...
Click to collapse
How did you fix your problem? I cant restore my backup also..
it says restore complete but stock in boot logo after... any fix?
toto_vanir said:
How did you fix your problem? I cant restore my backup also..
it says restore complete but stock in boot logo after... any fix?
Click to expand...
Click to collapse
Hey man. No I never fixed it. Just flash your Rom over it and it should boot fine.

Categories

Resources