[Q] Question about Mahdi Rom - Verizon LG G2

In the instructions it says:
Installation instructions
- WIPE EVERYTHING (otherwise your device will be stuck at boot)
- Flash Mahdi-Rom zip from SDCard
- Flash your variants device patch
- Flash GApps zip from SDCard
- You may need to flash SuperSU to get root
- Reboot
- Don't restore system data using Titanium Backup!
Click to expand...
Click to collapse
I have a few questions about this. 1) By "WIPE EVERYTHING", I just choose Wipe in TWRP and slide the slider (no additional options)? 2) I choose and flash all 4 zips at once, or do I flash them individually? 3) Why does it say not to restore from TiB?

_tyler_ said:
In the instructions it says:
I have a few questions about this. 1) By "WIPE EVERYTHING", I just choose Wipe in TWRP and slide the slider (no additional options)? 2) I choose and flash all 4 zips at once, or do I flash them individually? 3) Why does it say not to restore from TiB?
Click to expand...
Click to collapse
Yes, that is a full wipe. Do not wipe internal storage, the stock slider settings (Data, Cache, and Dalvik) should work fine.

hiddenfive said:
Yes, that is a full wipe. Do not wipe internal storage, the stock slider settings (Data, Cache, and Dalvik) should work fine.
Click to expand...
Click to collapse
Thanks, got it. Sucks that I have to reset all my settings to my liking, but Mahdi's got some pretty cool features that CM doesn't have.

hiddenfive said:
Yes, that is a full wipe. Do not wipe internal storage, the stock slider settings (Data, Cache, and Dalvik) should work fine.
Click to expand...
Click to collapse
That is NOT a full wipe. You must wipe System as well. Click on Advanced Settings, then check Dalvik, Data, System and Cache (leave internal SD unchecked).
Sent from my g2 using XDA Premium 4 mobile app

graig79 said:
That is NOT a full wipe. You must wipe System as well. Click on Advanced Settings, then check Dalvik, Data, System and Cache (leave internal SD unchecked).
Sent from my g2 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
MOST ROM installations do not require you to do so, they already include a /system wipe in the process. In most cases, you are fine. :good:

hiddenfive said:
MOST ROM installations do not require you to do so, they already include a /system wipe in the process. In most cases, you are fine. :good:
Click to expand...
Click to collapse
Yes, that is true, but some devs do not include the system wipe in the install process because it can cause a longer than normal install. You shouldn't give other users false information. Someone could really mess up their device using the info you provided.
Sent from my g2 using XDA Premium 4 mobile app

I always wipe "cache", "dalvik cache", "data", "system" when I want a "CLEAN" install. You'll lose all your settings and apps. You need to back up your apps using Titanium Backup or other similar apps to restore them. This is the safest way to install a new ROM
I always wipe "chace", "dalvik cache", and "system" when I want a "DIRTY" install where my apps and settings are kept. This is only safe to do if you're moving up or down the SAME ROM versions.
I use TWRP 2.7.0.0 for my recovery program as it's touch and with big buttons :silly:

Related

[Q] Difference between Factory Data Reset vs CWM Wipe

What's the difference between doing a Factory Data Reset and doing a wipe using CWM.
I'recently rooted my Note and now have CWM installed.
I plan on trying a few different ROMs (both newer stock ROMs and eventually custom ROMs) and read in most instances to per a wipe before upgrading.
I was wondering which wipe to use.
Also, if I install Titanium Backup, will it save everything including Contacts, Network settings, icon layouts, webpage favorites, appa and everything else?
Thanks
jeffs99 said:
What's the difference between doing a Factory Data Reset and doing a wipe using CWM.
I'recently rooted my Note and now have CWM installed.
I plan on trying a few different ROMs (both newer stock ROMs and eventually custom ROMs) and read in most instances to per a wipe before upgrading.
I was wondering which wipe to use.
Also, if I install Titanium Backup, will it save everything including Contacts, Network settings, icon layouts, webpage favorites, appa and everything else?
Thanks
Click to expand...
Click to collapse
Cant say surely about the difference between factory rest of data and CWM wipe. But can surely say to flash any rom you need to CWM wipe all the data and cache and dalvik cache from the recovery.
And Titanium Backup is for backing up and restoring all your apps and their associated data and market links. It doesn't backup contact (should auto backup to your google account or use any contact and sms backing app from market like - https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts&feature=search_result) or
layouts . Icon layouts you can save by going to the backup settings of the launcher you are using and favorites you can again backup on your sd card.
Hit thanks if it helped
CWM recovery wipe cache, is just wiping cache files not data
while CWM recovery wipe data n Hard reset from setting - privacy - erase data(factory reset) is same
CWM function is useful when you unable to boot device normally.
Where is dalvik cache located ? Because if it's in the data or cache partition, then I don't see why I have to wipe dalvik cache after wiping data/cache...
Latoc said:
Where is dalvik cache located ? Because if it's in the data or cache partition, then I don't see why I have to wipe dalvik cache after wiping data/cache...
Click to expand...
Click to collapse
System apps' dalvik-cache in /cache
Data apps' dalvik-cache in /data
Hence just by clearing the cache you clean the /cache space of system apps and not the dalvik cache of data apps.
So you require to do both - clean cache and clean dalvik cache.
Hit thanks if it helped!
Factory Reset will change your Android ID. Some apps with custom DRM may stop working. Factory Reset is also incompatible with some ROMs and causes some apps/files installed by CWM flashable ROMs to disappear.
I think both are same. Both format data and cache partition.
(that is why devs warned not to perform FDR on affected kernels)
With FDR you initialise the command from booted phone.
CWM Wipe is what you do from recovery mode.
dr.ketan said:
CWM recovery wipe cache, is just wiping cache files not data
while CWM recovery wipe data n Hard reset from setting - privacy - erase data(factory reset) is same
CWM function is useful when you unable to boot device normally.
Click to expand...
Click to collapse
thanks for this explanation!

Lockscreen gone on cm 7.2 stable

Hello
Please help urgently as my lockscreen has dissapeared. I fixed permissions on cwm and then it dissapeared. I tried setting a pattern lock but it doesn't show
Sent from my GT-S5830 using xda premium
Try doing a nandroid restore. If it doesn't work or you don't have one, try these steps:
1) Do a nandroid backup
2) Wipe Data/Factory Reset
3) Wipe cache partition
4) Flash ROM Again.
5) Wipe Cache
6) Go to advanced, Wipe Dalvik Cache.
After that's done, Reboot System. If you want your data back. Go to CWM, Backup and Restore. Advanced Restore. Select your backup and click restore data. Reboot.
Click the thanks button if i helped you.
masterex567 said:
Try doing a nandroid restore. If it doesn't work or you don't have one, try these steps:
1) Do a nandroid backup
2) Wipe Data/Factory Reset
3) Wipe cache partition
4) Flash ROM Again.
5) Wipe Cache
6) Go to advanced, Wipe Dalvik Cache.
After that's done, Reboot System. If you want your data back. Go to CWM, Backup and Restore. Advanced Restore. Select your backup and click restore data. Reboot.
Click the thanks button if i helped you.
Click to expand...
Click to collapse
Thanks very much
Sent from my GT-S5830 using xda premium

[Q] What is needed to do when installing new rom?

I have found this from here:
FIRST OF ALL DOWNLOAD THE ROM AND THE ADD-ONS PACKAGE.
1. Back Up all Your Important Files as the Rom is wipe-only.
2. Copy the rom to SD CARD and Boot to CWM revovery.
3. Click WIPE CACHE PARTITION -> wipe
4. Click Advanced -> Wipe Dalvik - Cache -> wipe
5. Click Mount Partition ->
a. Format /System -> yes
b. Format /Data -> yes
c. Format /Cache -> yes
6. Click Wipe Data/Factory Reset -> yes
7. Install the rom
Some ROMs need just wipe data/reset factory and wipe dalvik cache.
SO could someone tell what is needed to do and what those 5abc means and are they really "must to do"- things?
S3miniFin said:
I have found this from here:
FIRST OF ALL DOWNLOAD THE ROM AND THE ADD-ONS PACKAGE.
1. Back Up all Your Important Files as the Rom is wipe-only.
2. Copy the rom to SD CARD and Boot to CWM revovery.
3. Click WIPE CACHE PARTITION -> wipe
4. Click Advanced -> Wipe Dalvik - Cache -> wipe
5. Click Mount Partition ->
a. Format /System -> yes
b. Format /Data -> yes
c. Format /Cache -> yes
6. Click Wipe Data/Factory Reset -> yes
7. Install the rom
Some ROMs need just wipe data/reset factory and wipe dalvik cache.
SO could someone tell what is needed to do and what those 5abc means and are they really "must to do"- things?
Click to expand...
Click to collapse
All to be sure, to not have any conflicts...
With TWRP Recovery, go to "WIPE" section and check "Dalvik", "System", "Data", "Cache" swipe OK button and all it's done in one step
You just have to Install your new Custom ROM !!!
To be sure of the answer you can ask pulak861 as I see these are the instructions of his rom installation xD don't worry I think they're all ok just to make sure you don't have any issues while flashing your new rom and testing it then, I followed all these steps yesterday to flash the velocity rom and nothing unusual happened, before that the only thing I used to do was a wipe data factory reset, and wipe cache partition too.
Sent from my GT-I8190 using xda app-developers app
When installing an update (not a new version) of the custom rom you already have it's not completely necessary to do a full wipe/data cache, but if you have fully working back up, do it just to be sure everything works fine

[Q]Wiped clean to install rom, now can't access sdcard

Hello.
first I want to apologize for my, sometimes, bad English!
Second, i want to apologize for my novice touch in this topic!
The story:
I've been using SweetRom for a while, but tonight i wanted to try another rom.
I loaded up SuperBean(not really relevant to this story) on a microSD.
Rebooted my phone into recovery
Philz Touch 5
I choose "Wipe Data/Factory Reset" and then "Clean to install a new rom"
Then i tried to "install zip"
"Choose zip from sdcard"
But then i get: E:Can't Mount /sdcard/
I've tried to format the sdcard, exfat, fat, fat32, ntsf but nothing worked, still the same error.
I can access the internal storage and i can boot into download.
I thought that maybe i'll try to install the newest Philz but when in download mode
my computer wont recognize my phone (i'm using Windows 8)
i'm stuck! please help me out!
I've searched everywhere for answers but i can't find any!
What are my options?
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Thank you so much!
It took a while for my computer to find my phone, but it worked!
Cool. There's another way to express thanks.
There's is a thanks button and press it for the guy who helped you.
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
what DOES the "clean to install a new rom" option do anyway?
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
It does a full wipe. Basically it formats: cache, /system, /preload, /data
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
explorer-10 said:
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
Click to expand...
Click to collapse
nokiamodeln91 said:
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
Click to expand...
Click to collapse
So, to be clear, is it necessary or advisable to do any of 'Wipe Data/Factory Reset', 'Wipe Cache Partition' and 'Wipe Dalvik Cache'? Or is 'Clean to Install a New ROM' merely an amalgam of the above (plus added formats?)?
Thanks
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
XxPixX said:
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
Click to expand...
Click to collapse
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
largeruk said:
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
Click to expand...
Click to collapse
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
XxPixX said:
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
Click to expand...
Click to collapse
Ah right. So if you're flashing a new ROM - then clean install is all that's necessary. If upgrading to a newer version of existing ROM, then it's better to wipe cache and dalvik post-install? Why? What does it do and how does it help?
Cheers
reset before installing zip, now no super su ... cannot mount usb
Hi,
The title says it all. I have been reading and searching. Many similar stories. I apologise if this is in the wrong place but this is very similar to my problem.
I have a galaxy i9505 trying to install a DjeMBeY ROM from TWRP.
I factory reset and wiped cache's BEFORE I flashed the .zip file so then had no .zip file to flash!
Also have erased my system backup and the USB WILL NOT SEEM TO MOUNT to copy it back onto the card.
I have read and read I am very struck.
I am not familiar with all the processes yet. Please help.
i recommend going to here
Similar prob
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
luislaperika said:
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
Click to expand...
Click to collapse
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
nokiamodeln91 said:
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
Click to expand...
Click to collapse
Thanks! i went with download mode, then installed a stock rom, i had to root again and flash philz touch and install xtrestolite and now everything is ok!

How to know if encrypted or not?

I flashed a file that was supposed to disable encryption but it still shows as "encrypted" in Security settings. How can I tell if encryption is actually enabled or not?
If not encrypted you will have option "Encrypt phone" in security settings. After flashing kernel that does not enforce encryption you need to format userdata.
The Resurrection Remix ROM I'm using gave a zip to flash that was supposed to disable encryption but all I did after flashing the ROM, Gapps, and then that file was wipe the cache and then the dalvik cache. What is formatting the userdata?
enginuity2 said:
I flashed a file that was supposed to disable encryption but it still shows as "encrypted" in Security settings. How can I tell if encryption is actually enabled or not?
Click to expand...
Click to collapse
flashing a file wont decrypt you. you have to decrpt yourself after flashing that file or a kernel that allows decrypting. you have to format your user data/storage, this will delete everything in your storage. only then will you be decrypted after booting up.
enginuity2 said:
The Resurrection Remix ROM I'm using gave a zip to flash that was supposed to disable encryption but all I did after flashing the ROM, Gapps, and then that file was wipe the cache and then the dalvik cache. What is formatting the userdata?
Click to expand...
Click to collapse
Connect device to a PC and use command "fastboot format userdata". This will wipe all your private stuff so backup before proceeding.
Can I do that through my TWRP recovery?
enginuity2 said:
Can I do that through my TWRP recovery?
Click to expand...
Click to collapse
You can. It is in Wipe>Format Data section. You will have to type "yes" to confirm.
Is that all I need to do to decrypt now? Just wipe the user/data? Can I install a new kernel and not have to wipe everything?
enginuity2 said:
Is that all I need to do to decrypt now? Just wipe the user/data? Can I install a new kernel and not have to wipe everything?
Click to expand...
Click to collapse
not wipe. format. they are two differing things. and yes, as long as it allows decryption.
That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.
enginuity2 said:
That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.
Click to expand...
Click to collapse
to get a full real wipe.. you should wipe system and data, then reflash your rom. because when you wipe system, you wipe your rom off your phone.
enginuity2 said:
That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.
Click to expand...
Click to collapse
Before you do that make sure that you can connect your device to PC in bootloader mode and in recovery mode (TWRP). If you wipe everything you will cut the branch you are sitting on.
Witek_M, you beat me to it. Thank you.
Witek_M said:
Before you do that make sure that you can connect your device to PC in bootloader mode and in recovery mode (TWRP). If you wipe everything you will cut the branch you are sitting on.
Click to expand...
Click to collapse
to be safe, ok. thats a great idea for newer folk.
but ill be honest, there are a few differing ways to get a rom onto your device from twrp. but you should downliad the rom beforehand, it wont get deleted. anyways, now you can use adb to transfer files, two differing ways. and you can just simply transfer a rom to your phone using twrp, not adb, as well.
What commands do I need to use to push the rom onto the phone?
enginuity2 said:
What commands do I need to use to push the rom onto the phone?
Click to expand...
Click to collapse
if anything, i use adb push. but twrp has an option now to tranfer roms over to your phone as well, without using adb.
So if I put the rom's zip, gapps, etc on the phone's storage and wipe system, the rom zip file and twrp will still be usable on the phone after that?
enginuity2 said:
So if I put the rom's zip, gapps, etc on the phone's storage and wipe system, the rom zip file and twrp will still be usable on the phone after that?
Click to expand...
Click to collapse
yes. wiping system will get rid of the rom, wiping data will get rid of all your apps and data, but none of them will wipe your storage. thats in advanced wipe settings.

Categories

Resources