Related
Hi,
All is in the title,
I woulld like to build my custonROM.
As I am a noob , I would like to use CWM.
I already succeed in building a wipe ROM
Is there any way to make a CWM ROM without wipe (I didn't succeed in) ?
If Yes, are there some conditions ? or some special features to write in the updater-script ? or a special way to build the update.zip ?
Thanks in advance
Well do you mean the ROM requires a wipe to work, or that the zip is wiping?
There will be a line in updater-script for wiping /data in the latter case.
If you're needing to do the wipe to make it work, then you need to look at the ROM you are going from and to...
pulser_g2 said:
Well do you mean the ROM requires a wipe to work, or that the zip is wiping?
There will be a line in updater-script for wiping /data in the latter case.
If you're needing to do the wipe to make it work, then you need to look at the ROM you are going from and to...
Click to expand...
Click to collapse
Thanks for the answer
If I don't use a wipe script, I have some bootloops.
In the way I build the Rom, I am obliged to use a wipe script.
My question was general. Is there a way to make a non wipe customRom working With CWM ?
Thanks
when I want to CMW flash a custom ROM without loosing data nor cache (homescreens, contacts, bookmarks ...). Am I obliged to wipe some data in /data in order to avoid bootloops ?
I was thinking about wiping data/data/ witch should be automatically rebuit. if I am right, are there some other folders I am obliged to wipe ? (dalvik-cache ... ?)
Thanks,
sicopat said:
when I want to CMW flash a custom ROM without loosing data nor cache (homescreens, contacts, bookmarks ...). Am I obliged to wipe some data in /data in order to avoid bootloops ?
I was thinking about wiping data/data/ witch should be automatically rebuit. if I am right, are there some other folders I am obliged to wipe ? (dalvik-cache ... ?)
Thanks,
Click to expand...
Click to collapse
There's no requirement to wipe anything on /data, if same package signatures are used. You shouldn't get boot loops.
pulser_g2 said:
There's no requirement to wipe anything on /data, if same package signatures are used. You shouldn't get boot loops.
Click to expand...
Click to collapse
Ok, If I have well understood,
I want to flash a deodexed ROM over an official ROM, I will have to wipe.
I want to flash a new version (same signature) of my deodexed ROM over the old version, the wipe is not necessary ?
Thanks +++
I succeed in flashing my customROM over herself without loosing anything
[Mode Noob ON] :
If my script, replace everything in /System, why would I have some troubles with signature ?
cause of data cache ?
I want to move from stock odex ROM to a deoxed version. I am currently running odex rooted stock OTA 1.22.651.3 (from xHaus). Can I flash the deodexed ROM over mine without wiping? I know that I can TI Backup all of my apps if I need to wipe, but it would be simpler to flash over if possible.
Thanks.
tamas413 said:
I want to move from stock odex ROM to a deoxed version. I am currently running odex rooted stock OTA 1.22.651.3 (from xHaus). Can I flash the deodexed ROM over mine without wiping? I know that I can TI Backup all of my apps if I need to wipe, but it would be simpler to flash over if possible.
Thanks.
Click to expand...
Click to collapse
What's wrong with wiping and flashing if your apps are backed up? You will be in a world of hurt if you don't.......skies will fall, unicorns will die.....lol just force closes etc....so wipe .
Sent from my Transformer Prime TF201 using Tapatalk 2
There really is no reason not to wipe data when flashing a Rom. Really Bad idea not to.
Sent from my EVO using xda premium
neopolotin75 said:
What's wrong with wiping and flashing if your apps are backed up? You will be in a world of hurt if you don't.......skies will fall, unicorns will die.....lol just force closes etc....so wipe .
Click to expand...
Click to collapse
Things like contact linking are a pain to get right. There isn't a major problem with wiping; I was just asking to try to save myself some trouble if it was possible.
Wipe it is.
if your wanting to save yourself some trouble then always do a factory reset, wipe cache and dalvik cache. just a good way of making sure you always get a clean install. thats what i always do. and especially if im home on my wifi cuz all my apps and such download in about 3-4 mins and ur good.
tamas413 said:
Things like contact linking are a pain to get right. There isn't a major problem with wiping; I was just asking to try to save myself some trouble if it was possible.
Wipe it is.
Click to expand...
Click to collapse
Something like this was what I was about to say.
jsonger121 said:
if your wanting to save yourself some trouble then always do a factory reset, wipe cache and dalvik cache. just a good way of making sure you always get a clean install. thats what i always do. and especially if im home on my wifi cuz all my apps and such download in about 3-4 mins and ur good.
Click to expand...
Click to collapse
You're not saving yourself trouble, You're creating potential head aches in the future by not wiping. I always do a full wipe and I only use TB to restore a few apps like games that I don't want to lose data from. It takes a little longer but you'll have far less issues in the end. I'm convinced the majority of the issues people have in these rom threads are from just flashing without wiping anything and/or using TB to restore all apps + data.
When working with ROMs, it would appear that, to be thorough, the system partition needs to be wiped as well.
What's the best way to do this, and are there any risks I need to be aware of?
For what it's worth, I'm using Romracer's recovery.
Haphim said:
When working with ROMs, it would appear that, to be thorough, the system partition needs to be wiped as well.
What's the best way to do this, and are there any risks I need to be aware of?
For what it's worth, I'm using Romracer's recovery.
Click to expand...
Click to collapse
https://www.dropbox.com/s/1tgt2yax88rp2mi/Moto-Fastboot FULL WIPE.rar
DOWNLOAD THIS! This is deleting everything! I use that all the time before I flash roms. I highly recommend bro.
--connect your phone to your pc in FASTBOOT mode. Run the .bat script in the file. You should press enter I guess, It will do the rest.
Much appreciated, thanks!
Incidentally, does this do anything problematical when working with Cyanogen? It doesn't wipe something Cyanogen expects to be there, does it?
It makes your phone ready for flashing rom. I was having some problems when i switch the roms in my phone, after this script it is like a new born phone don't worry.
Hit thanks if i helped
http://www.jokersax.com/developer-pages/th3bill/809-2/
here is a full wipe app by an active dev. will be able to get support if you need it. it wipes everything, including your data. best to do a nandroid backup before wiping.
I use Th3bill's wiping tools all the time. They work great.
mrphil101 said:
http://www.jokersax.com/developer-pages/th3bill/809-2/
here is a full wipe app by an active dev. will be able to get support if you need it. it wipes everything, including your data. best to do a nandroid backup before wiping.
Click to expand...
Click to collapse
mrphil101 said:
http://www.jokersax.com/developer-pages/th3bill/809-2/
here is a full wipe app by an active dev. will be able to get support if you need it. it wipes everything, including your data. best to do a nandroid backup before wiping.
Click to expand...
Click to collapse
Doesn't wipe everything. This leaves webtop and preinstall intact..............Use either of the following for full or selective wipe:
http://forum.xda-developers.com/showthread.php?t=1421261
http://forum.xda-developers.com/showthread.php?t=1314607
<edit> As an added note, I used to manually wipe fully from fastboot with commands. I now always use the tool in my second link and select options 1, 3, 6, 7, and 8 before rebooting with option 13. This will wipe everything except your sdcard and radio.
is it not clearing cash and doing a factory wipe? does it mean just to flash the zip over the last rom flashed and doing nothing else?
stackz07 said:
is it not clearing cash and doing a factory wipe? does it mean just to flash the zip over the last rom flashed and doing nothing else?
Click to expand...
Click to collapse
Yes dirty flashing means flashing without clearing anything out.
A clean wipe is wiping cache, dalvik cache, doing a factory reset and wiping system.
Sent from my SCH-I605 using xda app-developers app
I'd say this is pretty dirty!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nosympathy said:
Yes dirty flashing means flashing without clearing anything out.
A clean wipe is wiping cache, dalvik cache, doing a factory reset and wiping system.
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
Thank you. In clockworkmod recovery wiping cashe and factory reset are in the same function right? I don't have to do three different actions, just two (reset dalvik, and reset cash+factory wipe is one action that does two things) right?
stackz07 said:
Thank you. In clockworkmod recovery wiping cashe and factory reset are in the same function right? I don't have to do three different actions, just two (reset dalvik, and reset cash+factory wipe is one action that does two things) right?
Click to expand...
Click to collapse
Yes and then make sure to format /system as that is where the old ROM is installed at.
Sent from my SCH-I605 using xda app-developers app
nosympathy said:
A clean wipe is wiping cache, dalvik cache, doing a factory reset and wiping system.
Click to expand...
Click to collapse
nosympathy said:
Yes and then make sure to format /system as that is where the old ROM is installed at.
Click to expand...
Click to collapse
Performing a factory reset wipes /cache and the dalvik cache as well, so you don't need to wipe those and then perform a factory reset, or the other way around. Doing so is really just wasting time. The same with wiping system before flashing a ROM. If the ROM isn't already doing this as part of the flash process, IMO, you shouldn't use it. If you can't setup the updater-script properly, who knows what else isn't right in the ROM.
imnuts said:
Performing a factory reset wipes /cache and the dalvik cache as well, so you don't need to wipe those and then perform a factory reset, or the other way around. Doing so is really just wasting time. The same with wiping system before flashing a ROM. If the ROM isn't already doing this as part of the flash process, IMO, you shouldn't use it. If you can't setup the updater-script properly, who knows what else isn't right in the ROM.
Click to expand...
Click to collapse
See, believe what you want, but there are still people who believe in wiping 3+ times.
Never hurts to make sure everything wipes correctly. Specially when you have recoveries that don't work right. Plus clockwork mod is well known for having issues with wiping. Maybe not on this phone, but in the past. I refuse to use it. Even TWRP for this phone the latest version is goofy.
Better to play it safe.
Sent from my SCH-I605 using xda app-developers app
nosympathy said:
See, believe what you want, but there are still people who believe in wiping 3+ times.
Never hurts to make sure everything wipes correctly. Specially when you have recoveries that don't work right. Plus clockwork mod is well known for having issues with wiping. Maybe not on this phone, but in the past. I refuse to use it. Even TWRP for this phone the latest version is goofy.
Better to play it safe.
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I agree 100% with this.
1) You should never depend on someone else's rom doing this for you. That's not the roms job. Making sure your phone is clean and working well is YOUR job. Do it and quite being lazy.
2) While the 3+ wipe method may be overkill, most people still aren't wiping their phones properly and that's why we are seeing everyone have so many problems with 4g, gps, bootloops, etc. Just like sex, nobody wants to take the time to do it right anymore and then cry when they catch some nasty from doing it dirty.
3) I think of roms as women. If you want a flawless transition from one to another, they must never find out about each other. This means erase all proof of the previous one's existence. Everybody's 4g/gps issues would be non-existent if they would listen to what we are telling them. Going from rom to rom, always wipe internal and external storage as well as after a backup. This is because conflicting data stored on your card from the previous rom can screw with the new one.
4) I would say use common sense, but you kids these days don't seem to have any. So use mine instead. Stay away from the dirty. In life and on your phone.
Yeah ibeoukdnt go so far as wiping internal and external storage....
Sent from my SCH-I605 using xda app-developers app
its like not wiping after ya poop.
Well not exactly true; I don't think anyone wants the residue after a poop; but plenty of folks would like the residue data (contacts et all) after a flash
droidstyle said:
its like not wiping after ya poop.
Click to expand...
Click to collapse
jake21 said:
Well not exactly true; I don't think anyone wants the residue after a poop; but plenty of folks would like the residue data (contacts et all) after a flash
Click to expand...
Click to collapse
if you look at it that way yes, but thats not my point. dirty flashing is ok when upgrading from lets say beans build 7 to build 8, long as the base has not changed. other than that a full wipe is recomended when flashing or your device might develop a stinch and discomfort, causing force closes. apps and contacts can easily be backed up with google or tibu, so there is no reason not to wipe before changing roms.
What exactly is considered the same base? The kernel version or something else? I.e, lets take cleanrom as an example (which is what I currently use). If we look at the files in cleanrom (via unzip -l) at what point can we determine that the 'base' has changed ?
(I understand your point; it still myths me that different versions use different file structures for caches/data; I mean I understand how it could happen but for some reason I thought he root branches were all the same for android which would imply the data files/format would be largely the same; pity there is not some sort of auto versoning of the data on disk so that when the app loads it if the version was inappropriate it could just kick it out).
droidstyle said:
if you look at it that way yes, but thats not my point. dirty flashing is ok when upgrading from lets say beans build 7 to build 8, long as the base has not changed. other than that a full wipe is recomended when flashing or your device might develop a stinch and discomfort, causing force closes. apps and contacts can easily be backed up with google or tibu, so there is no reason not to wipe before changing roms.
Click to expand...
Click to collapse
jake21 said:
What exactly is considered the same base? The kernel version or something else? I.e, lets take cleanrom as an example (which is what I currently use). If we look at the files in cleanrom (via unzip -l) at what point can we determine that the 'base' has changed ?
(I understand your point; it still myths me that different versions use different file structures for caches/data; I mean I understand how it could happen but for some reason I thought he root branches were all the same for android which would imply the data files/format would be largely the same; pity there is not some sort of auto versoning of the data on disk so that when the app loads it if the version was inappropriate it could just kick it out).
Click to expand...
Click to collapse
Read the change log for the ROM you are on. They will put in it rebased to. ....
Sent from the dark on a Note 2
kintwofan said:
Read the change log for the ROM you are on. They will put in it rebased to. ....
Sent from the dark on a Note 2
Click to expand...
Click to collapse
--
You mean this line:
International N7105XXDMA8 Jellybean 4.1.2 Base
or this line
Rebuilt: Complete rebuild from N7105XXDMA8 International Base!
--
4.2.5 is from:
Rebuild: Complete rebuild off the international N7105XXDLL4 Base
but also
International N7105XXDLL7 Jellybean 4.1.2
-
-
So would that imply that 4.5 and 4.2.5 have different bases or same base (since they are both off of 4.1.2) ?
jake21 said:
--
You mean this line:
International N7105XXDMA8 Jellybean 4.1.2 Base
or this line
Rebuilt: Complete rebuild from N7105XXDMA8 International Base!
--
4.2.5 is from:
Rebuild: Complete rebuild off the international N7105XXDLL4 Base
but also
International N7105XXDLL7 Jellybean 4.1.2
-
-
So would that imply that 4.5 and 4.2.5 have different bases or same base (since they are both off of 4.1.2) ?
Click to expand...
Click to collapse
Yes they would be different bases since they have different build numbers. There will be a lot of revisions on the same Android version (in this case 4.1.2) however it is recommend to clean flash in the different builds even if Android version stays the same.
I'll add that I personally always clean flash. With a good backup app, I use titanium backup pro, it literally takes less then 10 minutes to be fully back up after a flash
Sent from the dark on a Note 2
Yes but on Scott board he suggest you should not restore apps from TB backup:
http://www.scottsroms.com/showthread.php?2523-Battery-Drain-issue
(post #8)
(not sure about contacts and accounts)
-
Very confusing.
kintwofan said:
Yes they would be different bases since they have different build numbers. There will be a lot of revisions on the same Android version (in this case 4.1.2) however it is recommend to clean flash in the different builds even if Android version stays the same.
I'll add that I personally always clean flash. With a good backup app, I use titanium backup pro, it literally takes less then 10 minutes to be fully back up after a flash
Sent from the dark on a Note 2
Click to expand...
Click to collapse
Formatting multiple times to make sure it formatted properly? If you go to clean install the OS on your computer, do you format the HDD 3 times as well? Same principle, different device. If it doesn't format properly the first time, what makes you think doing it again will format it? If it doesn't format properly, it's going to give you an error in recovery, and trust me, recovery will complain when there is a problem, even if it is a minor one. Feel free to continue formatting /system before flashing a ROM, and wiping everything 20 times, but I'm trying to prevent people from wasting their time and continuing with the mis-information of needing to "wipe 3 times"
jake21 said:
Yes but on Scott board he suggest you should not restore apps from TB backup:
http://www.scottsroms.com/showthread.php?2523-Battery-Drain-issue
(post #8)
(not sure about contacts and accounts)
-
Very confusing.
Click to expand...
Click to collapse
you can restore apps just not app data....use google to sysnc and restore contacts. its really not that difficult.
---------- Post added at 06:36 PM ---------- Previous post was at 06:33 PM ----------
imnuts said:
Formatting multiple times to make sure it formatted properly? If you go to clean install the OS on your computer, do you format the HDD 3 times as well? Same principle, different device. If it doesn't format properly the first time, what makes you think doing it again will format it? If it doesn't format properly, it's going to give you an error in recovery, and trust me, recovery will complain when there is a problem, even if it is a minor one. Feel free to continue formatting /system before flashing a ROM, and wiping everything 20 times, but I'm trying to prevent people from wasting their time and continuing with the mis-information of needing to "wipe 3 times"
Click to expand...
Click to collapse
agreed! thats why guide simply states to wipe data then flash rom...no extra bs is required. in my gs3 guide i do infact have instructions stating to wipe system but that was just to make a few folks happy that kept insisting it was needed. either way it does no harm, so yea.
I'm always worried when it comes to the sd card.. alot of important info (no not porn).. I cant afford to lose. . Yes it's backed up on my comp. too .. what's the method to use to wipe sd but not lose anything.. if wiping is the same as formatting then yes I know not to do this.. thanks .. apologies if this sounds like nonsense. .
making a note for the 2nd time in Samsungs Galaxy
Hi.
I have the stock rom 4.2.2 its root and a Twrp Recovery.
So i want to update it to 4.4.2.
My Problem is OTA doesnt work because, i have a boot loop i come only into Recovery.
Meanwhile im out of the bootloop.
I wanted to ask if I can update without data loss.
Thanks in advance.
Galaxy05 said:
Hi.
I have the stock rom 4.2.2 its root and a Twrp Recovery.
So i want to update it to 4.4.2.
My Problem is OTA doesnt work because, i have a boot loop i come only into Recovery.
Meanwhile im out of the bootloop.
I wanted to ask if I can update without data loss.
Thanks in advance.
Click to expand...
Click to collapse
Can you nandroid backup in recovery? If so I would do that or titanium backup and copy the backup to PC then use the link below to get back to stock. Then you can update to 4.4.2 root with ioroot25 and use autorec to get custom recovery (twrp).
http://forum.xda-developers.com/showthread.php?t=2432476
OfficialPerson said:
Can you nandroid backup in recovery? If so I would do that or titanium backup and copy the backup to PC then use the link below to get back to stock. Then you can update to 4.4.2 root with ioroot25 and use autorec to get custom recovery (twrp).
http://forum.xda-developers.com/showthread.php?t=2432476
Click to expand...
Click to collapse
What does nandroid backup save? Privat Files? Like (Whatsapp, Pics, Music and so on)
Galaxy05 said:
What does nandroid backup save? Privat Files? Like (Whatsapp, Pics, Music and so on)
Click to expand...
Click to collapse
A nandroid backup is basically a clone of your whole phone so it saves everything.
OfficialPerson said:
A nandroid backup is basically a clone of your whole phone so it saves everything.
Click to expand...
Click to collapse
It's not exactly a clone of the whole phone. It's basically a clone of the currently installed ROM including data, settings, cache. To back up your apps and stuff use Titanium Backup or Copy. To backup music and video and photos, sync that to cloud storage or copy to your pc.
Sent from my LG-D800 using Tapatalk
Jank4AU said:
It's not exactly a clone of the whole phone. It's basically a clone of the currently installed ROM including data, settings, cache. To back up your apps and stuff use Titanium Backup or Copy. To backup music and video and photos, sync that to cloud storage or copy to your pc.
Sent from my LG-D800 using Tapatalk
Click to expand...
Click to collapse
Or i flash the new 4.4.2 Rom with the LG tool. I must not do wipe because I have an older stock rom.
OfficialPerson said:
A nandroid backup is basically a clone of your whole phone so it saves everything.
Click to expand...
Click to collapse
Uhmmmmm, nope, not truth.
None of your personal stuff will be backed-up.
I have flashed all is Good.
But i have a Problem with the root.
When i press: apply update from adb, its doing nothing.
The recovery says: Now send the package you want to apply to the device with "adb sideload <filename>"....
votinh said:
Uhmmmmm, nope, not truth.
None of your personal stuff will be backed-up.
Click to expand...
Click to collapse
Oh ok my bad on that part then I was told it clones all your data rom and all. I did a backup and restore
and I had everything from before but I guess its because I didnt factory reset the phone.
OfficialPerson said:
Oh ok my bad on that part then I was told it clones all your data rom and all. I did a backup and restore
and I had everything from before but I guess its because I didnt factory reset the phone.
Click to expand...
Click to collapse
Yeap, each phone will behave differently and for this specific G2, Factory Reset will wipe EVERYTHING.
votinh said:
Yeap, each phone will behave differently and for this specific G2, Factory Reset will wipe EVERYTHING.
Click to expand...
Click to collapse
So when people say to wipe everything like when installing a rom do they mean factory reset from the settings menu or from recovery?
OfficialPerson said:
So when people say to wipe everything like when installing a rom do they mean factory reset from the settings menu or from recovery?
Click to expand...
Click to collapse
Oh, no no, especially on this G2. Nope, don't do that.
"Wipe" when updating/installing new ROM is
+ wipe dalvik cache // a must regardless of dirty install or clean install
+ wipe data cache (?) // a must regardless of dirty install or clean install
+ wipe data // this will wipe data partition. Must be done when fresh installing new ROM (basically not an update)
+ wipe system // only need in some case, generally, you don't need to do this step
For this G2, if you Factory Reset, you will lose every personal stuff that on the phone, all end-user partition.
votinh said:
Oh, no no, especially on this G2. Nope, don't do that.
"Wipe" when updating/installing new ROM is
+ wipe dalvik cache // a must regardless of dirty install or clean install
+ wipe data cache (?) // a must regardless of dirty install or clean install
+ wipe data // this will wipe data partition. Must be done when fresh installing new ROM (basically not an update)
+ wipe system // only need in some case, generally, you don't need to do this step
For this G2, if you Factory Reset, you will lose every personal stuff that on the phone, all end-user partition.
Click to expand...
Click to collapse
Oh ok because for the Mahdi 2.5 rom for G2's he says to wipe "EVERYTHING". So I'm guessing that would be a case
where you need to wipe system as well then? Thanks for the clarifications.
I've been playing around with 5 Android devices and so many custom ROMs. Some do require FULL wipe including format system, some others don't.
Just read the instruction of the ROMs' authors and you should be fine.
votinh said:
Uhmmmmm, nope, not truth.
None of your personal stuff will be backed-up.
Click to expand...
Click to collapse
A nandroid copies the phone set up as is at the time of the back up. Everything, settings, call history, text messages, contacts, app versions... Everything!
---------- Post added at 09:53 AM ---------- Previous post was at 09:47 AM ----------
votinh said:
Oh, no no, especially on this G2. Nope, don't do that.
"Wipe" when updating/installing new ROM is
+ wipe dalvik cache // a must regardless of dirty install or clean install
+ wipe data cache (?) // a must regardless of dirty install or clean install
+ wipe data // this will wipe data partition. Must be done when fresh installing new ROM (basically not an update)
+ wipe system // only need in some case, generally, you don't need to do this step
For this G2, if you Factory Reset, you will lose every personal stuff that on the phone, all end-user partition.
Click to expand...
Click to collapse
Always wipe system when going from rom to rom. The new rom will install new system stuff.. Never wipe "internal storage"!