New to flashing custom rom - Nexus 6 Q&A, Help & Troubleshooting

So I've rooted, unlock bootloader but still encrypted on my nexus 6. So far I went with Franco kernel & ViperAudio that's about it and I'm enjoying it.
I'm wanting to flash a custom ROM very soon and I'm new to this. Ive made backups thru twrp with nandroid already.So please bare with me.
Questions
Do I have to be decrypted before flashing a ROM?
Can I load viperaudo.zip & Franco kernel.zip along with Custom ROM, Gapps & SuperSU at the same time on Twrp?
From videos I've seen people just wipe on twrp and then install the ROM, is this a safe? Or is it better to a full factory wipe.
After flashing a ROM, will my old files still be there like pictures ive taken, stuff that I download & will my old apps be there still.
Thank you in advance.

1. its your choice, to stay encrypted or to decrypt. im still encrypted and running terminus rom
2. yes. but tge rom will always be the first flash, since itll overwrite anything you flash before it.
3. i normally dirty flash, meaning i dint wipe a single thing when flashing. that way i lose nothing. but, i always have a nandroid backup, just in case.
4. first off, your storage never gets touched, unless you wipe it yourself. if you dirty flash, you lose nothing. if you clean flash, you factory reset the phone and need to reinstall your apps, through backup of somekind or manually.

simms22 said:
1. its your choice, to stay encrypted or to decrypt. im still encrypted and running terminus rom
2. yes. but tge rom will always be the first flash, since itll overwrite anything you flash before it.
3. i normally dirty flash, meaning i dint wipe a single thing when flashing. that way i lose nothing. but, i always have a nandroid backup, just in case.
4. first off, your storage never gets touched, unless you wipe it yourself. if you dirty flash, you lose nothing. if you clean flash, you factory reset the phone and need to reinstall your apps, through backup of somekind or manually.
Click to expand...
Click to collapse
So flash the ROM, gapps and super su as the thread of the ROM says and then use the ROM for a bit and then twrp and flash ViperAudio and kernel...
So if I lose nothing do I need to reinstall the apps...
Thanks for the response

jussaren said:
So flash the ROM, gapps and super su as the thread of the ROM says and then use the ROM for a bit and then twrp and flash ViperAudio and kernel...
So if I lose nothing do I need to reinstall the apps...
Thanks for the response
Click to expand...
Click to collapse
id flash viper and your kernel at the same time, with the rim, gapps, abd supersu. if you dirty flash, you lose nothing. all you do is update what you already have. your apps stay. buts thats only during a "dirty" flash

simms22 said:
id flash viper and your kernel at the same time, with the rim, gapps, abd supersu. if you dirty flash, you lose nothing. all you do is update what you already have. your apps stay. buts thats only during a "dirty" flash
Click to expand...
Click to collapse
So for my case, stock and rooted and to install this ROM what are the primarily steps instead of dirty flashing. I wanna do everything from the phone.
Sorry for being a noob. I know if I fuxk up anything I can always revert to my nandroid backup.

Related

[Q] Questions before flashing custom ROM

I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
1. After reading the thread of my recovery, from what I understand, the recoveries are installed in /system. But on OP of the custom rom, I am about to install, there is an instruction to format /system before flashing the rom. So my question is if I format the /system partition, won’t my recoveries be removed (by the recoveries itself) before I even flash the rom?
2. Also will the recovery still be available to me if say I enter bootloop for some reason during flashing the rom?(asking for the same reason as above that is wiping my /system should also remove my recoveries)
3. Does CM 11 come with any inbuilt custom recovery? If not can I install the one I am already using (assuming installing a custom rom will remove my installed recoveries)?
4. Say I screw up during the flashing procedure. So if I want to rectify this I should first flash the stock .205 ftf, root, install a recovery again and then restore using the nandroid backup. Am I correct?
5. Is it necessary to wipe cache and dalvik cache before flashing rom? I see this instruction in some roms but not in others. And dalvik should be wiped after flashing rom and gapps, right?
6. Should I install supersu again after I flash the rom. I read in an article that it causes problems with CM. As far as I know CM11 comes pre-installed with superuser. But it also supposedly causes some problems.
7. Is it safe to restore user app+data, messages and contacts backed up using Titanium backup on a newly flashed rom? I have seen conflicted views on this.
Click to expand...
Click to collapse
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Prat92 said:
I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Click to expand...
Click to collapse
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
TechnoSparks said:
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
Click to expand...
Click to collapse
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Prat92 said:
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Click to expand...
Click to collapse
1. Wiping system wont close the recovery at all. It still runs and you can still navigate within it. But remember do not reboot unless you've flashed the ROM! The mechanism of how the magic works is yet to be acknowledged. So I can't tell why it doesn't closes upon wipe. My best guess here is that the recovery might be running on a temporary partition perhaps. I hope a developer see this post and explains the magic.
2. Nandroid backup works all the time (if they are no errors when you are creating them). Nandroid backup is simply a backup of your whole device. If you're on CM, restoring nandroid backup will get your phone back to the way when you attempted the nandroid backup (stock ROM, rooted, and triple recoveries installed). Nandroid backup is useful when you're about to try something that may damage your ROM, without doing so much work to restore your device.
Say, you created a nandroid backup in cwm in which Cyanogenmod was installed. And then you flashed something afterwards. If that "something" damages the ROM and gives you bootloop, you can simply flash Stock ROM, root it again, install recoveries again, and restore the nandroid backup. Then, voilà, cyanogenmod is back. This will simplify your work rather than flash CM again, then gapps, then restore your apps and all those other things that will consume so much time
So a new nandroid backup will backup the whole device, in a form of an image.

[Q] Twrp flashing order check?

I'm trying to flash chroma rom onto phone with leankernel/hells core and verizon 5.1 radio. May someone confirm this is the correct order? I'm currently on latest chroma with franco kernel. (i don't like dirty flashing )
1. Wipe everything but internal sd
2. Flash latest chroma
3. Flash latest leankernel/hellscore
4. Flash Gapps
5. Flash verizon radio 5.1
Should i also include Supersu in the steps?
Also, if my internal memory is getting a bit cluttered from apps and other random stuff, is there a way I can reset my phone to a rooted, bootloader unlocked, unencrypted state without doing a full reset to stock then doing everything over?
Raymondlikesroot said:
I'm trying to flash chroma rom onto phone with leankernel and verizon 5.1 radio. May someone confirm this is the correct order? I'm currently on latest chroma with franco kernel. (i don't like dirty flashing )
1. Wipe everything but internal sd
2. Flash latest chroma
3. Flash latest leankernel
4. Flash Gapps
5. Flash verizon radio 5.1
Should i also include Supersu in the steps?
Also, if my internal memory is getting a bit cluttered from apps and other random stuff, is there a way I can reset my phone to a rooted, bootloader unlocked, unencrypted state without doing a full reset to stock then doing everything over?
Click to expand...
Click to collapse
first off, why would you have to go back to stock???
secondly, the radio can be flashed at any time, no order involved in that.
thirdly, when you wipe data(everything but the SD storage), thats a factory reset. so, wipe data/system, flash chroma, flash the gapps, flash SuperSU(for root), then flash your kernel and reboot.
As long as you flash ROM first, doesn't matter about the order
simms22 said:
first off, why would you have to go back to stock???
secondly, the radio can be flashed at any time, no order involved in that.
thirdly, when you wipe data(everything but the SD storage), thats a factory reset. so, wipe data/system, flash chroma, flash the gapps, flash SuperSU(for root), then flash your kernel and reboot.
Click to expand...
Click to collapse
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Raymondlikesroot said:
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Click to expand...
Click to collapse
Make a backup in TWRP of your device when it's in that state. Then flash that backup whenever you want to return to that state.
Raymondlikesroot said:
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Click to expand...
Click to collapse
just do a full wipe in twrp, itll clean out your storage. but move all the files that you want to save to your computer or they will be gone.
Evolution_Tech said:
Make a backup in TWRP of your device when it's in that state. Then flash that backup whenever you want to return to that state.
Click to expand...
Click to collapse
Wouldnt I have to full wipe beforehand?
simms22 said:
just do a full wipe in twrp, itll clean out your storage. but move all the files that you want to save to your computer or they will be gone.
Click to expand...
Click to collapse
After I full wipe, I can use mtp to transfer the rom and gapps in twrp right? Or do I have to use adb ?
Raymondlikesroot said:
After I full wipe, I can use mtp to transfer the rom and gapps in twrp right? Or do I have to use adb ?
Click to expand...
Click to collapse
Either
danarama said:
Either
Click to expand...
Click to collapse
Thanks! I would give you a thanks but I'm limited to 8 per day lol
Raymondlikesroot said:
Thanks! I would give you a thanks but I'm limited to 8 per day lol
Click to expand...
Click to collapse
No worries. I'm not bothered about them. Really they're to be used in development threads to prevent flooding them with useless "thanks".posts

Flashing other roms than Andro X doesn't work

I just updated my bootloader and whenever i try to flash a rom, the booting process takes forever until i wipe my phone myself. But when i flash Andro X rom than it takes max. 3min to boot and then it works.
But i want another rom, how do i fix this?
Do you mean that when u flash lollipop based rom it gets bootloop? if yes then first flash stock lollipop firmware and then try flashing other rom. I mostly wipe my internal storage when going from Kitkat to lollipop it works for me.
Well Firstly Explain your problem clearly (I didnt quite understand it)
OK so here's my solution from what I understood..
1. Restore your stock rom Backup from recovery. Boot it once.
2. Now clean flash (Wipe System, Data , Cache, Dalvik cache) a lollipop based Rom (preferably try to clean flash cm 12.1 build)
3. Dont flash Gapps. First see if your phone boots up properly.
4. Configure data and reboot to recovery and flash Gapps.
If you dont have a Stock backup, Then download Stock Firmware images from gregor's thread and install via fastboot. Then follow from step2.
Hope this helps you.
Haroun16 said:
I just updated my bootloader and whenever i try to flash a rom, the booting process takes forever until i wipe my phone myself. But when i flash Andro X rom than it takes max. 3min to boot and then it works.
But i want another rom, how do i fix this?
Click to expand...
Click to collapse
Use easy installer first and get stock lollipop then u can simply root and install recovery then try roms?
sagar846 said:
Well Firstly Explain your problem clearly (I didnt quite understand it)
OK so here's my solution from what I understood..
1. Restore your stock rom Backup from recovery. Boot it once.
2. Now clean flash (Wipe System, Data , Cache, Dalvik cache) a lollipop based Rom (preferably try to clean flash cm 12.1 build)
3. Dont flash Gapps. First see if your phone boots up properly.
4. Configure data and reboot to recovery and flash Gapps.
If you dont have a Stock backup, Then download Stock Firmware images from gregor's thread and install via fastboot. Then follow from step2.
Hope this helps you.
Click to expand...
Click to collapse
My problem is that when i try to flash roms like CM12, Blisspop it doesn't stop booting, it was taking more than an hour so i shutdown my phone and when i flashed Andro X the booting took around 3mins.
So can anyone explain in easy steps how to fix this?
OK now I understand what your problem is. Give me your full specs (like which Model and and stuff). But if you follow what I said above it might fix your problem.
sagar846 said:
OK now I understand what your problem is. Give me your full specs (like which Model and and stuff). But if you follow what I said above it might fix your problem.
Click to expand...
Click to collapse
I got the XT1068
Haroun16 said:
I got the XT1068
Click to expand...
Click to collapse
are you fully wiping cache and userdata (factory reset) because this is most common problem moving between Roms that causes bootloops and why I include factory reset in my easy installer.
you can only dirty flash when going up (upgrading) the same rom - changing roms or downgrading nearly always causes bootloop / hang.

How do I completely restore everything to stock?

First of all, I know that this question has been asked before but the solutions on those threads aren't what I'm looking. So please hear me out here.
So, I've been trying to find out how to completely restore my phone to stock. People said to flash the fastboot rom and I did but it didn't restore the phone *completely*. First I thought that it did, since the custom recovery was gone along with the custom rom. But then I flashed twrp again and I noticed that my previous twrp settings and theme are still intact, meaning that they were not wiped by the fastboot rom.
What should I do to remove them completely? On Samsung phones i could just flash through odin and everything would be restored. How do I do it on xiaomi's? Thanks!
Did you choose clean flashed and lock option? or flashed with save user data? choose clean flash and lock (it will wipe everything in your device so do backup first).
Flash the latest miui stable version
metelhammer said:
Did you choose clean flashed and lock option? or flashed with save user data? choose clean flash and lock (it will wipe everything in your device so do backup first).
Click to expand...
Click to collapse
yes i tried that, then i unlock the bootloader again just to make sure, flash twrp and yup my twrp settings are there still. if it were wiped it would have reset to default settings right?
Radityaargap said:
yes i tried that, then i unlock the bootloader again just to make sure, flash twrp and yup my twrp settings are there still. if it were wiped it would have reset to default settings right?
Click to expand...
Click to collapse
It should have made clean flash. honestly i never cared about after clean flash if it retains setting or not because that doesn't even matter at all to me since i am using android or caused any problem /issue.
May i know what is your purpose of getting rid of TWRP settings? and what exactly setting you want to get rid of?
if still care about getting rid of full twrp setting i highly recommend you to visit xiaomi service center and ask them to install latest version because they thoroughly clean flash device like it was out of the box using some other method.

Question Need help installing Xiaomi EU Weekly

Hey, so i opened my Bootloader and now I cant find how the hell to flash the latest Weekly version of Xiaomi EU, can someone help me? I searched on youtube but they flash via Fastboot and I don't see a weekly version with Fastboot
Follow the instructions found on the first post here https://forum.xda-developers.com/t/...mi-eu-rom-for-xiaomi-mi-11-pro-ultra.4260617/
Look at the bottom, there's an edit that tells you how to install TWRP, that's the primary way to install the new versions of that rom
Bananablob said:
Follow the instructions found on the first post here https://forum.xda-developers.com/t/...mi-eu-rom-for-xiaomi-mi-11-pro-ultra.4260617/
Look at the bottom, there's an edit that tells you how to install TWRP, that's the primary way to install the new versions of that rom
Click to expand...
Click to collapse
HELP - i flashed the EU rom and wiped Dalvik cache, and reeboted, now It reboots to the TWRP over and over again, what do I need to do?
You also need to wipe data and such before flashing, so maybe you didn't notice or forgot, but as long as you have TWRP, you can recover.
Maybe your ROM download got corrupted. If possible, check the checksum, they should provide it.
It's also possible your USB port + cable combo doesn't work properly, it's happened to many people, so if you are sure it's not the rest, it might be just that
Bananablob said:
You also need to wipe data and such before flashing, so maybe you didn't notice or forgot, but as long as you have TWRP, you can recover.
Maybe your ROM download got corrupted. If possible, check the checksum, they should provide it.
It's also possible your USB port + cable combo doesn't work properly, it's happened to many people, so if you are sure it's not the rest, it might be just that
Click to expand...
Click to collapse
I flashed it but now every app I open crushes, Im on weekly version and I restored apps from the Xaiomi backup, do you know why?
I can't say I do, but I'd assume it's because Xiaomi backup is configured to work only on stock roms.
It's possible that uninstalling and reinstalling each app using whatever the proper app shop is for the given app will fix it without losing the restored data and cache for it.
Bananablob said:
I can't say I do, but I'd assume it's because Xiaomi backup is configured to work only on stock roms.
It's possible that uninstalling and reinstalling each app using whatever the proper app shop is for the given app will fix it without losing the restored data and cache for it.
Click to expand...
Click to collapse
omg I only did it because i thought I would be able to restore everything within 1 click and now everything crushes. I have like 100 apps + tons of accounts to login
I would always assume auto backup things to fail when you need them.
Try to reflash your original rom from here and restore using the same backup tool: https://forum.xda-developers.com/t/miui-updates-tracker-mi-11-pro-ultra-star-mars.4263135/
Then you can reevaluate how you wanna backup and restore to transition.
It's possible it failed because you have an official rom backup, but it would work if the tool had backed up from Eu to Eu
Bananablob said:
I would always assume auto backup things to fail when you need them.
Try to reflash your original rom from here and restore using the same backup tool: https://forum.xda-developers.com/t/miui-updates-tracker-mi-11-pro-ultra-star-mars.4263135/
Then you can reevaluate how you wanna backup and restore to transition.
It's possible it failed because you have an official rom backup, but it would work if the tool had backed up from Eu to Eu
Click to expand...
Click to collapse
I dont wanna mess with reinstalling CN version, etc
I will just Factory reset and reinstall manually..
To factory reset in brings me to TWRP, why is it?
Because you installed TWRP instead of the normal recovery utility, you now have TRWP in that partition on your phone. If you use TWRP to flash the proper stock ROM, it will have the same effect as using factory reset using the stock recovery utility. BTW, the stock recovery utility is not built to support having flashed another rom, so you're in good hands having TWRP instead.
You probably had issues because you only wiped dalvik rather than format data after installing the EU ROM. You must format data after flash because the different branches have different partition layouts, hence your problems.
As you must format, you might as well start from scratch again or go in to twrp wipe menu and select format, type yes to confirm and then reboot system. If you want to go down the full install, then flash the ROM again, format data, with the yes confirmation, then reboot system. After each update, just a dalvik wipe is

Categories

Resources