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 ?
Related
I know this is a basic question, and I do apologize, but it's been far too long since I've done this. Is it necessary to wipe /data when going from, say, an RC to final, or is it just highly recommended?
If I don't wipe /data, will I lose anything?
Thanks, everyone.
Sent from my HTC Dream - old and still kicking!
NiveusLuna said:
I know this is a basic question, and I do apologize, but it's been far too long since I've done this. Is it necessary to wipe /data when going from, say, an RC to final, or is it just highly recommended?
Click to expand...
Click to collapse
It depends on what rom, but it is highly recommended to do so (or your device may bootloop).
NiveusLuna said:
If I don't wipe /data, will I lose anything?
Click to expand...
Click to collapse
No, but as I said, your device may just bootloop and you won't have access to your data (so it's like you lost it ). Just make a nandroid backup then wipe data/cache partitions/dalvik cache and flash. You can then restore your data on your new rom (make more sense doesn't it? )
Hello!
Today I just wanted to revert back to the newest MIUI weekly (with the stock kernel). It's just suits best for my daily usage. Before that, I've used bunch of Custom ROM's, used Siyah kernel and done some OC.
Now, my question is: Together with the usual things like:
- Wipe data/factory reset
- Wipe cache
- Wipe dalvik cache
Is it good idea to also format partitions under CWM recovery (/system, /data or some others) to get as fresh, clean install as possible (just don't want to have any traces of ROM's, kernels or settings I had before). Didn't find any clear answers about that so that's why I'm posting it here.
Thanks!
I've done it a couple of times, had no problems. Just be sure to have the MIUI (Or whatever ROM you want to use) zip on the SD card.
Hi!
Yes, I do have the MIUI ROM zip on my device. So, to get as fresh install as possible, should I format all those partitions ? (/system, /data, /boot, /cache)?
matee89 said:
Hello!
Today I just wanted to revert back to the newest MIUI weekly (with the stock kernel). It's just suits best for my daily usage. Before that, I've used bunch of Custom ROM's, used Siyah kernel and done some OC.
Now, my question is: Together with the usual things like:
- Wipe data/factory reset
- Wipe cache
- Wipe dalvik cache
Is it good idea to also format partitions under CWM recovery (/system, /data or some others) to get as fresh, clean install as possible (just don't want to have any traces of ROM's, kernels or settings I had before). Didn't find any clear answers about that so that's why I'm posting it here.
Thanks!
Click to expand...
Click to collapse
For best result, install stock ROM & then hard reset . After that you install whatever you want .
Sent from my GT-I9100 using XDA App
Thanks sendhiloo7! I will do it then
Fellow Users,
I wiped:
- Factory/Wipe data
- Dalvik
- Cache
- Every storage
did a fixed permission
- Switched different roms Stock and Custom
- Switched different kernels stock and custom
- Flashed with Odin and with CWM Recovery.
How can i get rid of the nasty scripts or mods that are stuck ??
Is there a way to clean everything harder and deeper than what i did ?
How about init file or something?? i dont have ADB
I think this is how. follow these.
1. Factory reset / Wipe data
2. Wipe Cache partition
3. Wipe Dalvik
4. Go to mount & storage
5. Fix Permissions
6. format /cache
7. format /system
8. format /data
9. format /preload
10. format /sdcard
Try these. But make sure you have a rom to flash on external sdcard. because formatting these will remove system and you will not start phone without flashing a rom.
dimi22 said:
Fellow Users,
I wiped:
- Factory/Wipe data
- Dalvik
- Cache
- Every storage
did a fixed permission
- Switched different roms Stock and Custom
- Switched different kernels stock and custom
- Flashed with Odin and with CWM Recovery.
How can i get rid of the nasty scripts or mods that are stuck ??
Is there a way to clean everything harder and deeper than what i did ?
How about init file or something?? i dont have ADB
Click to expand...
Click to collapse
To fully format the phone you could also use megawipe. It is a flashable zip for cwm which will remove anything, also your sd card. Hence better have a flashable rom on your external sd. You can find it in the dev section or search for mega wipe.
Sent from my GT-I9300 using xda app-developers app
Thanks for help,
I try the method rl421403 says but it didnt help, i also flashed the mega wipe zip file and did the wipe but that also didn't work.
Maybe it is hardware related? is there a way to test this?
dimi22 said:
Thanks for help,
I try the method rl421403 says but it didnt help, i also flashed the mega wipe zip file and did the wipe but that also didn't work.
Maybe it is hardware related? is there a way to test this?
Click to expand...
Click to collapse
Maybe let us now what you want to delete exactly.
Usually the mega wipe well erase any file and leave a blank slate.
Sent from my GT-I9300 using xda app-developers app
chrismast said:
Maybe let us now what you want to delete exactly.
Usually the mega wipe well erase any file and leave a blank slate.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
i dont know but some file must be conflicting, the problem is that the phone keeps rebooting after the screen is of ... i have no other problem ....
dimi22 said:
i dont know but some file must be conflicting, the problem is that the phone keeps rebooting after the screen is of ... i have no other problem ....
Click to expand...
Click to collapse
did you maybe flash a custom kernel? if so try a stock rom with stock kernel
i did i did not working :crying::crying::crying::crying::crying:
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"!
hii,
My device is currently running on miui 8.5.4.0 global stable,i want to flash los 14.1,and planned some steps in order to revert back to miui safely.please correct me if i am wrong.
1.boot into twrp recovery.
2.Take full backup of current working rom including system.
3.clear data/system/cache/dalvik.
4.flash firmware-los rom-gapps-reboot.
Steps to revert back:-
1.boot into twrp recovery.
2.clear data/system/cache/dalvik.
3.restore full miui backup including system.
4.flash lazy flasher zip to disable dm-verity and forced encryption.
5.reboot.
i have just learnt basics completely but i had some doubts so i posted the entire procedure i thought to do.
thanks.
After taking backup first go to Wipe menu and "Format Data" , type yes and reboot recovery, it will remove encryption - then you can wipe data/system/cache etc..
/system wipe is never necessary .. You can skip that
Hollow6 said:
/system wipe is never necessary .. You can skip that
Click to expand...
Click to collapse
doesn't it mess up with firmware flash of custom rom?does a custom rom contains a system partition of its own to be flashed?or it just replaces or moves required system files to system partition of stock rom? help me to clear my concept!
k3lcior said:
After taking backup first go to Wipe menu and "Format Data" , type yes and reboot recovery, it will remove encryption - then you can wipe data/system/cache etc..
Click to expand...
Click to collapse
what is the difference between format data and wipe data? isn't it same?i am asking so because i havnt seen such option in recovery before.
sorabhsolanki said:
doesn't it mess up with firmware flash of custom rom?does a custom rom contains a system partition of its own to be flashed?or it just replaces or moves required system files to system partition of stock rom? help me to clear my concept!
Click to expand...
Click to collapse
Every ROM does contains its own system ..
When you flash any ROM (a full fledged ROM not OTAs) , the previous system is replaced by the later one ..
---------- Post added at 05:54 AM ---------- Previous post was at 05:50 AM ----------
sorabhsolanki said:
what is the difference between format data and wipe data? isn't it same?i am asking so because i havnt seen such option in recovery before.
Click to expand...
Click to collapse
You'll have to understand what Format Exactly we are here talking about .. When you go to TWRP/wipe , you are provided with 2 options , Format and Advanced wipe .
The format option is set to "wipe" the partitions, /data /cache /dalvik , that is generally what we require in order to flash ROMs , the wipe Option is hence the same as format , but I think the guy above is talking about Full fledged Wipe that includes the "internal storage" as well which can be selected by twrp/wipe/advanced wipe
Hollow6 said:
Every ROM does contains its own system ..
When you flash any ROM (a full fledged ROM not OTAs) , the previous system is replaced by the later one ..
Click to expand...
Click to collapse
thanks.one more question.
why dont i need to disable dm-verity and forced encryption after flashing custom rom?why kernel doesn't trigger it,because in that case there is a modification in system partition and dm-verity feature of kernel should prevent the rom from booting.
The "kernel" itself also gets replaced by a modified kernel .. But then again , I'm not sure as to why DM verity doesn't kick in , better ask the Developers (Y)
sorabhsolanki said:
hii,
My device is currently running on miui 8.5.4.0 global stable,i want to flash los 14.1,and planned some steps in order to revert back to miui safely.please correct me if i am wrong.
1.boot into twrp recovery.
2.Take full backup of current working rom including system.
3.clear data/system/cache/dalvik.
4.flash firmware-los rom-gapps-reboot.
Steps to revert back:-
1.boot into twrp recovery.
2.clear data/system/cache/dalvik.
3.restore full miui backup including system.
4.flash lazy flasher zip to disable dm-verity and forced encryption.
5.reboot.
i have just learnt basics completely but i had some doubts so i posted the entire procedure i thought to do.
thanks.
Click to expand...
Click to collapse
when you want to revert back you dont need to wipe anything or flash disable dm verify, just restore your previous nandroid backup and thats all