Using CWM formats before flashing new roms? - Galaxy S II Q&A, Help & Troubleshooting

Hi
When you want to do a clean install of Windows OS, you all know that the right way to go is to format the primary partition first..
I was wondering: why can't we do the "same" in Android?
I've noticed that in CWM recovery there are many format options in addition to just doing Wipes...
So what if instead of doing the old Wipe data/cache and factory reset before flashing new rom, especially when migrating from Sammy to AOSP, we use the FORMAT function of the CWM recovery console?
So this bring up my new line of questions:
Which Formats are safe (as in terms of not bricking only, since we all know that we must backup first)?
Is Format data safe and recommended before flashing?
Is Format system safe and recommended before flashing?
Is Format SD card safe and recommended before flashing?
Does Format system erases the entire OS, meaning the ROM with it's kernel? If kernel is wiped does it mean that CWM will be lost upon next boot?
Same goes for Format SDCARD. Will this erase the entire internal memory? So the new ROM.ZIP should be placed in the external SD first?
I'd really appreciate if someone could answer all of the above questions
Many thanks
EB

If you don't have bad chip then all are safe. If you have bad chip then make sure you have safe kernel.

General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII

Jokesy said:
General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks

EB10000 said:
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks
Click to expand...
Click to collapse
Formatting the Internal Sd card wipes all your data (music, photos, videos) on the internal memory of the phone.
Doing all those wipes doesnt affect the IMEI as far as I know...
Sent from my Galaxy S2 GT i9100

EB10000 said:
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks
Click to expand...
Click to collapse
1. You're first question has been answered in the post before mine.
2. About IMEI:
-Your IMEI is stored in your root folder /efs inn your system reserved partition.
-Flashing Roms and kernel shouldn't mess with this folder but sometimes it happens.
-most of the Roms Agnes kernels made by recognized developers will backup your efs folder before flashing.
-too be on a safer side though, you can visit the thread below to backup your efs (imei) folder yourself before messing with your phone.
Look here: forum.xda-developers.com/showthread.php?t=1308546
Swyped from my Samsung Galaxy SII

Jokesy said:
1. You're first question has been answered in the post before mine.
2. About IMEI:
-Your IMEI is stored in your root folder /efs inn your system reserved partition.
-Flashing Roms and kernel shouldn't mess with this folder but sometimes it happens.
-most of the Roms Agnes kernels made by recognized developers will backup your efs folder before flashing.
-too be on a safer side though, you can visit the thread below to backup your efs (imei) folder yourself before messing with your phone.
Look here: forum.xda-developers.com/showthread.php?t=1308546
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks again
My problem is that I keep thinking in MS Windows terms.. I was sure that "Format SDCARD" is the parallel to formatting the entire "Hard drive", just like to delete the system partition..
Know let me see if I got everything right:
Format system is like deleting the Windows folder - no more OS (ROM)
Format data is like deleting all user account = deleting the "Programs data" folder in Windows - no more app data
Formatting SDCARD is like deleting the "Users" folder including "my documents" - no more user private data
So by using the 3 above formats, there is no need to do a Factory reset. But what about Wipe cache and Dalvik? shouldn't System format take care of those two caches? Or perhaps Cache and Dalvik are to separate partitions?
And for the few last question, so I can finally declare myself an Android expert :
(1) Format boot is a very bad idea right? It will delete the bootloader, meaning one must flash a rom that includes one of it's own?
(2) Are all roms intended for CWM flashing come with their own boot partition?
(3) So if Format boot is risky, I can conclude that the CWM recovery must be part of the boot partition right?
Many thanks for all the help. Once I get all of this right, I will feel confidant to start flashing roms on my own for the first time (I already got my phone rooted and CWMed by flashing Siyah kernel using Odin

EB10000 said:
Thanks again
My problem is that I keep thinking in MS Windows terms.. I was sure that "Format SDCARD" is the parallel to formatting the entire "Hard drive", just like to delete the system partition..
Know let me see if I got everything right:
Format system is like deleting the Windows folder - no more OS (ROM)
Format data is like deleting all user account = deleting the "Programs data" folder in Windows - no more app data
Formatting SDCARD is like deleting the "Users" folder including "my documents" - no more user private data
So by using the 3 above formats, there is no need to do a Factory reset. But what about Wipe cache and Dalvik? shouldn't System format take care of those two caches? Or perhaps Cache and Dalvik are to separate partitions?
And for the few last question, so I can finally declare myself an Android expert :
(1) Format boot is a very bad idea right? It will delete the bootloader, meaning one must flash a rom that includes one of it's own?
(2) Are all roms intended for CWM flashing come with their own boot partition?
(3) So if Format boot is risky, I can conclude that the CWM recovery must be part of the boot partition right?
Many thanks for all the help. Once I get all of this right, I will feel confidant to start flashing roms on my own for the first time (I already got my phone rooted and CWMed by flashing Siyah kernel using Odin
Click to expand...
Click to collapse
1) As far as I know, the boot partition is reserved for kernel. So, if you format it, phone won't be able to boot further than the initial Sgs2 logo. But it will still be flashable in Download mode.
2) If kernel is a part of boot partition, and most roms come with their own kernels, the you could say that the come with their own boot data.
3) If you format boot, you will also loose Cwm as it is a part of the kernel. Download mode would be still accessible as it is a part of the (secondary) bootloader which can be only overriden with Odin.
But again, I'm not 100% sure about this.
Sent from my Galaxy S2 GT i9100

Thanks
Jokesy said:
General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
You saved a noob a whole lot of troble:cyclops:

I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?

The answer !!!
immanuel77 said:
I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?
Click to expand...
Click to collapse
I've found the answer here:
http ://www .addictivetips. com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/
(eliminate all spaces, as I cannot post URL yet)
Now we know what to wipe or format (and what to not format)

immanuel77 said:
I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?
Click to expand...
Click to collapse
To install a new rom, you don't have to wipe the internal sdcard, just wipe data & cache and navigate to advanced and wipe dalvik cache, and then to mount and format system, then flash your rom, or use TWRP it's easier, press wipe then advanced wipe and mark (data, cache, dalvik cache, system) and swipe to wipe, then flash your rom.
Ps: all app data is removed from internal storage (data in sdcard\android) when you wipe data, so you don't have to wipe internal storage

Related

Complete Wipe of SGS2

Whats the best way to do a FULL wipe of the device? including ALL user data/files/rom leftovers/battery stats/binary counter/everything!?
I am talking about as clean a slate as possible.
*2767*3855#
Extra wipe probably overkill .
Connect phone in mass storage mode and format the phone drive .
Boot to recovery wipe cache Advanced wipe dalvik cache .
Mounts and Storage format system data and sd card .
Use Odin to flash stock firmware as phone is empty .
jje
Thanks Guys appreciate it!
Sent from my GT-I9100 using Tapatalk
Flash CWM Recovery. Then select every option called "Wipe xxxxx" in every menu and submenu. Then flash a stock rom.
I have a question by full wipe u mean-
in cwm format system ,data,cache
wipe cache, dalvik cache. Anything else.I dont want to lose sd card contents so i did not do format sd card.Is it ok when installing a new rom?
abhiwltya said:
I have a question by full wipe u mean-
in cwm format system ,data,cache
wipe cache, dalvik cache. Anything else.I dont want to lose sd card contents so i did not do format sd card.Is it ok when installing a new rom?
Click to expand...
Click to collapse
if u wipe with this way u just loss contact and apps that u installed them on your phone but other things like musics,movies and photos .
thanks button
wipe data factory reset and go to mount and storage and format system
To me complete wipe means complete not part wiped .
System Data Cache and internal SD card .
Though no need for wiping SD Card unless data corruption on it .
jje
Wiping by means of formatting won't destroy all of the data, formatting an ext4 partition simply overwrites the file tables. With the right tools it is still possible to retrieve lots of your personal information from a re-formatted partition, including stored passwords, pictures, etc.
tanseerj said:
..including../binary counter..
Click to expand...
Click to collapse
All the named procedures does not, don't they?
So either old bootloader and jig or easier use triangle away.
Erasing user data there is an additional option: settings-device-storage-erase USB-storage.
Full wipe. How??
aydc said:
Flash CWM Recovery. Then select every option called "Wipe xxxxx" in every menu and submenu. Then flash a stock rom.
Click to expand...
Click to collapse
I also do this when the instruction says "full wipe". Aside from this I also format the internal SD(to delete extra folders created from the previous ROM) since all my installers are inside the external SD.
Aside from the above instruction, I also read some posts that you have to mount to a specific folder(not internal/external sd) and clear/format that location. Can anyone confirm this? Thanks in advance.
I do this:
Wipes:
- Factory Reset
- Cache Partition
- Dalvik (Advanced)
Format:
- System
- Data
- Cache
- Internal Storage (No SD)
austick said:
I do this:
Wipes:
- Factory Reset
- Cache Partition
- Dalvik (Advanced)
Format:
- System
- Data
- Cache
- Internal Storage (No SD)
Click to expand...
Click to collapse
Could you care to elaborate on how to do the ones in bold?
What I normally do is that I mount points like /system, /data, /cache, /emmc and format all of them. I'll do all of this using ClockworkMod Recovery.
Sent from my GT-I9100 using Tapatalk 2

[Q] Noob flashing questions (WanamLite ICS)

After browsing and reading a lot of threads I decided to go with WanamLite, because from what I read everything is working like stock Samsung firmware and it's fast. I'm hoping encryption and tv-out work.
I already zergrushed root and installed CF-root CWM some days ago.
So if I flash WanamLite my new bootloader will be the one from ICS? That means I'll get an increase in the flash counter and the yellow triangle, right?
Or is it that this ROM doesn't include the bootloader section?
The instructions in the official thread say:
1 - Copy my Rom to internal sdcard
2 - Backup, backup, backup
3 - If you came from a Gingerbread or AOSP Rom, you MUST WIPE your data
4 - Flash my Rom from recovery
5 - Reboot & enjoy (and let the phone to boot up, at least 5 minutes required for media scanner to finish)
I just want to be sure on this so I don't mess up.
1 - done
2 - I have made a backup using CWM
3 - so for this I must boot into CWM recovery mode and then select Wipe Data/Factory reset and then Wipe Cache Partition?
4 - still in CWM I then must select Apply Update From SDCard?
5 - reboot
Is the above correct?
Thanks a lot for your help.
BTW, is it just me or v10.7 has more features than v10.8?
Check the changelogs in the links after the text "Before you download PLEASE vote for you preferred mods" in the original thread here
The procedure you follow is right.
I would do couple more things before flashing a new ROM.
*cwm -advanced - wipe dalvik cache.
*mounts and storage - format system. This step won't be mentioned in installation steps.but its good to do.sometimes you may have problems moving from aosp rom to sammy rom this ensures that there are no issues.just be careful that you don't format SD card.
Any new flash will increase the counter.you can reset it using the USB jig.
Sent from my GT-I9100 using xda premium
Don't bother about the counter and yellow triangle if you get one, there is an app called triangle away, it will help you remove both the counter and yellow triangle with ease in ics
#*posted on the move *#
netcitizen said:
*mounts and storage - format system. This step won't be mentioned in installation steps.but its good to do.sometimes you may have problems moving from aosp rom to sammy rom this ensures that there are no issues.just be careful that you don't format SD card.
Click to expand...
Click to collapse
I just want to make sure I understand this...
So what the "Wipe Data/Factory reset" does is the same as "format /data" in the CWM advanced menu.
And the "Wipe Cache Partition" is the same as "format /cache".
And you're saying to also "format /system"
Is that correct?
netcitizen said:
Any new flash will increase the counter.you can reset it using the USB jig.
Click to expand...
Click to collapse
bala_gamer said:
Don't bother about the counter and yellow triangle if you get one, there is an app called triangle away, it will help you remove both the counter and yellow triangle with ease in ics
Click to expand...
Click to collapse
I may be wrong on this but, I think I read somewhere that the USB jig was not working with some newer kernels.
So I thought that if the jig doesn't work then it could be that the triangleaway also wouldn't work.
But do all ROMs, or in this case WanamLite, overwrite the bootloader?
Once again thanks.
@ghost shell
https://play.google.com/store/search?q=triangle+away&c=apps this is for the trinangle Isue for rooting , but theirs another way for rooting the phone without yellow triangle by using self recovery .if u came in GB u need to wipe delvic cahce ,data .
ghost shell said:
I may be wrong on this but, I think I read somewhere that the USB jig was not working with some newer kernels.
So I thought that if the jig doesn't work then it could be that the triangleaway also wouldn't work.
But do all ROMs, or in this case WanamLite, overwrite the bootloader?
Once again thanks.
Click to expand...
Click to collapse
usb jig wont work with newer bootloaders that comes with ics. triangleaway is the simpler and easy way to remove counter , usb jig is not required for ics.
for anyone who finds this thread when trying to answer their questions...
All went OK and I didn't got any yellow triangle.
So either the bootloader wasn't flashed or CWM doesn't increase the flash count.
I'm still exploring things, but the phone seems less responsible. Sometimes I tap and it does nothing.
And I think I screwed up by allowing google to backup and restore my data. Either that or WanamLite still comes loaded with a lot of crap (like widgets). I'm not sure.
To my understanding:
1. Flashing bootloaders won't give you a yellow triangle or increase flash counter.
2. Flashing with CWM or mobileODIN will not increase the flash counter as well. (Flash counter only increase when flashing non-official kernel in ODIN mode?)
3. Wananlite CWM zip doesn't flash bootloaders, you need to manually flash the ICS bootloaders if coming from GB.
4. I'm on V10.3 with siyah kernel 3.0.1, everything works as it should. (Next ROM: Sensation v3, perhaps?)
5. If you are not satisfied with the touch sensitivity, you may download ExTweaks from play store and adjust vitalij value.
Hope it helps.
Hi I was thinking of trying this rom to, but I am bit concerned about *mounts and storage-format system operation can someone exlpain this process in more depth as I don't want to loose my saved roms/back ups which are on the internal sd card and my external sd card.
The procedure you follow is right.
I would do couple more things before flashing a new ROM.
*cwm -advanced - wipe dalvik cache.
*mounts and storage - format system. This step won't be mentioned in installation steps.but its good to do.sometimes you may have problems moving from aosp rom to sammy rom this ensures that there are no issues.just be careful that you don't format SD card.
maxal said:
Hi I was thinking of trying this rom to, but I am bit concerned about *mounts and storage-format system operation can someone exlpain this process in more depth as I don't want to loose my saved roms/back ups which are on the internal sd card and my external sd card
Click to expand...
Click to collapse
its very simple.....
Yesturday only I have done this for my MIUI ROM, I came from Samsung ROM earlier, but it was continuesly giving one error on each MIUI rom I flashed,
I understand Wiping and formating are same, but in the main menu it is only given few wipes which will not effect your ROM's system file and you will be able to boot even after all that wipes,
But by formating System (at Mounts & Storage) you are completely wiping your ROM with its data, but this will not wipe any data which is stored on the user partion of SDcard (which you can access from Computor through mass storage) . now your pnone is Romless and you will not be able to boot until you install a new ROM from recovey or from ODIN.
the steps are:
1) Put your favourite ROM on your iternal SD
2) wipe data factory reset
3) wipe Dalvik cache from Advance
4) go to mouts and storage and select only format system and do it.
5) go back and select install zip from SD card and install your ROM...
Reboot - DONE
Just click on the link of CWM in my signature for more knowledge about CWM menu and partitions which I gathered for me and shared with you....
Hi all
I am about to install Wanamlite and have a question. If I copy Wanamlite in my internal SD (the 11.5 GB memory space I had afrom the beginning with my SII) and that I select wipe data/factory reset, won't it delete everything on the internal SD including the Wanamlite zip ?
Thansk for your help
nsidb said:
Hi all
I am about to install Wanamlite and have a question. If I copy Wanamlite in my internal SD (the 11.5 GB memory space I had afrom the beginning with my SII) and that I select wipe data/factory reset, won't it delete everything on the internal SD including the Wanamlite zip ?
Thansk for your help
Click to expand...
Click to collapse
No, wiping will not delete any user data on your SD card which is accessible through PC
wiping Cache and Data will only wipes your phon's some temporory files and applications and its data...

[Q] Completely reset i9100

Hello,
i really tried to find answers around before asking.
I have tryed different roms on my i9100, cm7, cm9, rr, miui. Now i have a tonn of folders from apps that are not even installed on my phone. Now what i want is to get rid of all the trash in my phone, like leftovers from apps i installed with previous roms and make a clean install of cyanogenmod 9.1.
How do i do that?
I would really appreciate any help. Tutorials, links, everything you guys can give to help me out.
Thank you
full wipe, install cm9, erase internal sd card
I normally do the wipes in cwm and format usb storage.
do the following and nothing of the old files will be left.
reboot to recovery
wipe data
wipe cache
mount and storage
format cache
format system
format data
mount cache
mount system
mount data
flash the rom
wait for the installation
Flash a samsung stock rom, keyin the following code using phone keypad *2767*3855# . Is a master factory format code.
Sent from my GT-I9100 using xda premium
Do this step by step :
1. to format internal and external mmc, connect your phone in mass storage mode and format each drive with windows format tool (right click on drive icon -> format)
2. to format flash memory go to recovery wipe data, wipe cache, wipe dalviq cache
3. Install rom
Cosmic Blue said:
do the following and nothing of the old files will be left.
reboot to recovery
wipe data
wipe cache
mount and storage
format cache
format system
format data
mount cache
mount system
mount data
flash the rom
wait for the installation
Click to expand...
Click to collapse
Thank yo very much! I didn't notice those formats in recovery before. That solved my problem.
/thread

Blowing in the cartridge

How much of the ritual of rom management is actually necessary and how much is just passed on wisdom based ultimately on nothing? Is there really any benefit to wiping a partition more than once, fo example? Some people suggest all sorts of voodoo to make sure a rom gets installed right and everyone is quick to blame a failure to follow the ritual perfectly for any shortcomings of the rom.
Just curious. Either way - it is interesting to have these flashing rituals. The ritual is different for each device.
Steps to flashing ROM -
1. Wipe all partitions ONCE (but make sure you wipe them all).
2. Flash ROM first, flash gapps if not included, then flash any other zips of apps/mods/whatever else that you need.
3. Done.
A lot of the tips that people give are misleading. You DO NOT need to wipe more than once. When you format a flash drive on your computer, do you format it 2-3 times just 'to make sure everything is wiped' or do you just format it once? Same thing for the NAND flash memory of phones/tablets. One format of the partitions will wipe them clean.
There's no such thing as a wait time for 'letting the ROM settle in'. You flash a ROM, reboot, wait for dalvik cache to rebuild, wait a minute or two after boot for all the auto-start apps to load (especially if you have a single core phone with low RAM) and use away.
You don't have to wipe cache+dalvik cache each time you flash an update of your ROM. Android automatically detects which apks have changed and rebuilds the dalvik cache only for them, rather than unnecessarily deleting the whole dalvik cache and rebuilding the same stuff again. Google 'android auto dexopt-ing' for more info.
You don't have to wipe cache+dalvik after flashing a new kernel, because those are for apps and aren't related to kernel.
The correct wiping order is -
1. Format /boot
2. Format /system
3. Format /data
4. Format /cache
Some devices have additional partitions so you would need to format them too if necessary, but for most devices these are the standard partitions to wipe. Some recoveries have a 'format all partitions (except SD card)' option which does all this at once, most recoveries require you to format them manually. In most recoveries, the option for formatting data is called 'Format data/Factory Reset'. This does the same thing as running Factory Reset in the phone settings, i.e. it formats /data and /cache. So depending on your recovery, you might not need to format /cache after formatting /data. Many people advise to format dalvik cache after formatting data. This is completely unnecessary. Dalvik cache is just a folder in /data and in /cache, so when you format /data and /cache or do a factory reset, it is wiped too. If you wipe dalvik cache after formatting those partitions already, you're doing nothing other than deleting a non-existent folder.
You don't need to 'calibrate' the battery after a new ROM flash. Battery calibration as it is called does nothing but delete a system file called batterystats.bin which contains info about the running apps, percent of battery they use and the battery history. This file is anyway reset whenever you charge the device fully, so you're essentially 'calibrating' your device each time you fully charge it.
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Last one, you don't need to fix permissions each time you flash a ROM/ROM update. Only run it if you're getting a lot of app FCs.
Sent from my Desire HD using xda premium
I agree with Sashank, use the order but personally (again my own personal preference) I boot the ROM first after flashing ROM /or GApps then I reboot back into recovery to flash anything that needs to be flashed. Also when using 4EXT Recovery (preferred/best recovery for our Desire HD) there's an option to wipe all partitions except for SD Crad, I usually use that 3 time to make sure my device is as clean as possible

Question about deleting partitions and boot

Hi!
- I have LG G2 mini D620r with stock 5.0.2 Android. Phone has unlocked bootloader, is rooted and TWRP 3.0.2 recovery is flashed.
Few days ago I installed CM13 just to try it and then returned to stock OS. Before flashing custom ROM i used to wipe dalvik, system, data and cache partitions. Now my question is what would happen if I add interal memory partition to list of 4 aforementioned partitions? I know that it would delete all the data in internal memory (and that's what I want to do, because I want my phone to be like it was before it was used for the first time), but would it be able to boot up to OS? I don't won't to flash a kdz file or something like that.
- Also, I can't seem to enter recovery through button combination. I tried all combinations I could find on the internet. When holding volume down + power button for a few seconds i gat an option to hard reset the phone. Only way to get into TWRP is to use QuickBoot app. Anyone having any ideas what could I do?
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Vagelis1608 said:
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Click to expand...
Click to collapse
Well you just keep on helping!
Thanks.
Just to be clear these are the steps:
TWRP> Wipe> Advanced Wipe> select partitions: Dalvik, Data, Internal Storage, Cache, System
After that I go to:
TWRP> Wipe> Format Data> type yes
Is that correct procedure?
After all this has been done will my phone boot up to stock Android 5.0.2 or would I have to flash some kdz or custom ROM?
Where can I find option to format /data partition as ext4?
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
mobiusm said:
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
Click to expand...
Click to collapse
Thank you. I'm gonna try that and see how it works.

Categories

Resources