I have a Nexus 4.
To flash a kernel all I need to do is to go to recovery mode,
Install zip from sd card,
Choose zip from SD card,
Pick the kernel's zip file,
Press yes and reboot the system?
Don't I need to wipe anything like when flashing a new rom?
And should I flash the kernel and then the ROM and GApps,
Or flash the ROM and GApps and then flash the kernel?
If my device acts weird after I flashed the kernel,
And I did a nandroid backup before that (I backed up with a ROM and stock kernel),
After I restore it, will everything be like what it was before I flashed the kernel (Will I have to flash the ROM again?)
Thank you in advance guys!
Yes thats how you install a kernel. Some people say to wipe cache and dalvik after installing, but its up to you.
Flash rom, gapps, then kernel.
When you restore the nandroid it will restore everything, including the rom and kernel that were installed at the time of taking the backup.
So yes...if stuff starts acting up, and you restore your nandroid that you took while on stock rom/kernel it should fix the issues. You dont have to flash the rom again...its included in the nandroid.
chromium96 said:
Yes thats how you install a kernel. Some people say to wipe cache and dalvik after installing, but its up to you.
Flash rom, gapps, then kernel.
When you restore the nandroid it will restore everything, including the rom and kernel that were installed at the time of taking the backup.
So yes...if stuff starts acting up, and you restore your nandroid that you took while on stock rom/kernel it should fix the issues. You dont have to flash the rom again...its included in the nandroid.
Click to expand...
Click to collapse
What will be different if I'll wipe cache and dalvik or not?
VIPOA said:
What will be different if I'll wipe cache and dalvik or not?
Click to expand...
Click to collapse
Not 100% sure, but f you wipe them your dalvik will be rebuilt on the next boot, and your cache will also be rebuilt once the system actually boots.
Theres no harm in wiping them.
VIPOA said:
What will be different if I'll wipe cache and dalvik or not?
Click to expand...
Click to collapse
you never have to wipe anything when flashing a kernel, nothing, regardless of what others say. the dalvik nor the cache have anything to do with kernels. its like taking a shower and washing your socks to put gas into your car.
chromium96 said:
Not 100% sure, but f you wipe them your dalvik will be rebuilt on the next boot, and your cache will also be rebuilt once the system actually boots.
Theres no harm in wiping them.
Click to expand...
Click to collapse
So my device will be OK if I'll wipe dalvik and cache before I flash a kernel, right?
simms22 said:
you never have to wipe anything when flashing a kernel, nothing, regardless of what others say. the dalvik nor the cache have anything to do with kernels. its like taking a shower and washing your socks to put gas into your car.
Click to expand...
Click to collapse
When you flash a kernel, do you wipe anything?
VIPOA said:
So my device will be OK if I'll wipe dalvik and cache before I flash a kernel, right?
When you flash a kernel, do you wipe anything?
Click to expand...
Click to collapse
your device will be ok wiping dalvik and cache, but there is no need to do it. there is never any need to wipe anything when flashing a kernel.
simms22 said:
your device will be ok wiping dalvik and cache, but there is no need to do it. there is never any need to wipe anything when flashing a kernel.
Click to expand...
Click to collapse
Do you wipe anything when you flash a kernel?
And does your kernel works OK without wiping?
VIPOA said:
Do you wipe anything when you flash a kernel?
And does your kernel works OK without wiping?
Click to expand...
Click to collapse
no, i dont. and it works great.
simms22 said:
no, i dont. and it works great.
Click to expand...
Click to collapse
OK. Thank you very much for the help
One last question, which kernel should I flash with PA?
FRANCO or TRINITY?
VIPOA said:
OK. Thank you very much for the help
One last question, which kernel should I flash with PA?
FRANCO or TRINITY?
Click to expand...
Click to collapse
try both, they are both good kernels. i use trinity, but francisco makes a good kernel too.
simms22 said:
try both, they are both good kernels. i use trinity, but francisco makes a good kernel too.
Click to expand...
Click to collapse
And two last questions,
How do I update a ROM?
Should I delete the zip files of previous Roms and kernels and keep only what I'm using (let's say PA 3.60 and Trinity/Franco kernels)?
VIPOA said:
And two last questions,
How do I update a ROM?
Should I delete the zip files of previous Roms and kernels and keep only what I'm using (let's say PA 3.60 and Trinity/Franco kernels)?
Click to expand...
Click to collapse
if you want, keep the current rom/kernel and the previous. thats probably the smartest way, in case one is buggy. but, at least, keep a copy of the current rom/kernel in your storage at all times, itll save you headaches later.
when you update a rom, flash it in your custom recovery. flash the rom, gapps if needed, and the kernel, the reboot. if youre just updating, you dont have to wipe anything. but if you are flashing a new rom, you do have to wipe data/factory reset.
simms22 said:
if you want, keep the current rom/kernel and the previous. thats probably the smartest way, in case one is buggy. but, at least, keep a copy of the current rom/kernel in your storage at all times, itll save you headaches later.
when you update a rom, flash it in your custom recovery. flash the rom, gapps if needed, and the kernel, the reboot. if youre just updating, you dont have to wipe anything. but if you are flashing a new rom, you do have to wipe data/factory reset.
Click to expand...
Click to collapse
OK
Thank you very much for the help
Will my ROM's settings be saved?
VIPOA said:
OK
Thank you very much for the help
Will my ROM's settings be saved?
Click to expand...
Click to collapse
if you are just updating, yes.
simms22 said:
if you are just updating, yes.
Click to expand...
Click to collapse
Can I use this and will it be OK (no bugs)?
http://forum.xda-developers.com/showthread.php?t=2227226
VIPOA said:
Can I use this and will it be OK (no bugs)?
http://forum.xda-developers.com/showthread.php?t=2227226
Click to expand...
Click to collapse
Always use your recovery to flash stuff its the safest way.
Sent from my Nexus 4
spaceman860 said:
Always use your recovery to flash stuff its the safest way.
Sent from my Nexus 4
Click to expand...
Click to collapse
OK
Thank you very much guys!
Related
I just installed a new kernel, and it caused a boot loop. How can I go back to my old stock kernel without using the RUU, because if use that, i'll lose my root :/
Did you clear your cache and dalvik cache before installing ?
No, was i supposed to? :/ sorry if i missed directions, i was pretty careless about this.
dhMassacre said:
No, was i supposed to? :/ sorry if i missed directions, i was pretty careless about this.
Click to expand...
Click to collapse
Yes. Always or you will get FC's and have to Factory Wipe and lose your data. If you have a nand backup, restore it prior to the kernal. ALWAYS backup before installing a kernal. Also they say use Amon RA Recovery. I guess ClockworkMod does not wipe the Dalvik Cache and Cache properly.
Make sure you read stuff over and over when it involves rooting, flashing a radio and kernel. I used the ClockworkMod to wipe the cache and dalvik cache and installed the Kernel and it disabled my usb and sdcard. That is not fun trying to get back working. Make sure you do that.
This is my first android phone and therefore cm10.1 is the first ROM I've ever had so I've never updated my ROM before. Goo manager sent me a notification saying that Cm10.1 rc2 is now available but in order to download it do I have to wipe my phone to factory default or can I just install it over my old cm10.1 and keep my apps and stuff?? Thanks
michaelsp9 said:
This is my first android phone and therefore cm10.1 is the first ROM I've ever had so I've never updated my ROM before. Goo manager sent me a notification saying that Cm10.1 rc2 is now available but in order to download it do I have to wipe my phone to factory default or can I just install it over my old cm10.1 and keep my apps and stuff?? Thanks
Click to expand...
Click to collapse
The whole point of the CM updater is that you don't have to wipe anything - not data, not cache. Just start the download, click OK to install when it finishes downloading, and it'll flash itself over your previous installation. The same applies to downgrading to an earlier release - no wipe needed.
Yes, you can keep your apps and system settings. No need to backup and restore - they'll be exactly the way they were before you downloaded the update.
However, if you are migrating to an entirely different ROM (i.e. not the official CM), then yes, you probably need to wipe. Going back and forth between different updates of the same ROM doesn't need wiping though.
You can just flash it normally using CWM. It's called Dirty Flashing. DO clear Cache and Dalvik before flashing
sigma392 said:
You can just flash it normally using CWM. It's called Dirty Flashing. DO clear Cache and Dalvik before flashing
Click to expand...
Click to collapse
So what do I do just download the ROM and its gapps again and flash them both? Which one first?
michaelsp9 said:
So what do I do just download the ROM and its gapps again and flash them both? Which one first?
Click to expand...
Click to collapse
Wipe Cache and Dalvik -> Flash ROM -> Flash GApps -> Reboot.
And don't forget custom kernels
sigma392 said:
Wipe Cache and Dalvik -> Flash ROM -> Flash GApps -> Reboot.
And don't forget custom kernels
Click to expand...
Click to collapse
No need to flash Gapps again on CM, unless data is wiped because of the b/u scripts.
The updater script in the ROM also wipes the Dalvik for you.
sigma392 said:
Wipe Cache and Dalvik -> Flash ROM -> Flash GApps -> Reboot.
And don't forget custom kernels
Click to expand...
Click to collapse
Actually you don't have to do any of that except flash the rom and reboot. All the rest is automatic.
I reverted to my backup that I made before flashing. Franco kernel didn't work and I had all the crappy apps I uninstalled from cm10.1 like Apollo and stuff .. What's new is rc2 anyways?
updating cm10.1
Hi all
I am currently using cmw6.0.2.3 and rom cm10.1.20130411-EXPERIMENTAL-p3100-M3 and would like to switch to using cm10.1 nightly. Reason to switch is because pie control in M3 is not working and I saw in some video that it is working in nightly. May i know how to update usingmanual mode please? And also will it deketenall my installed apps and data?
Thanking you all in advance
People,
1) Nandroid Backup.
2) Dirty Flash, if something doesn't work or it starts to fails, restore nandroid, backup everything (needed) with Titanium backup or similar, wipe everything, flash, restore, win.
For example im on carbon 1.6 if i flash 1.7 will it delete everything or not?
Thanks
No it wont... if you just flash it on top without wiping (dirty flashing)
chromium96 said:
No it wont... if you just flash it on top without wiping (dirty flashing)
Click to expand...
Click to collapse
dirty flashing?
is it better to wipe it or does it run fine? thanks
Whelan189 said:
dirty flashing?
is it better to wipe it or does it run fine? thanks
Click to expand...
Click to collapse
i always dirty flash, never wipe. wiping will delete your apps and data. only wipe when you are flashing a different rom. when updating, you never have to wipe.
Whelan189 said:
dirty flashing?
is it better to wipe it or does it run fine? thanks
Click to expand...
Click to collapse
If your upgrading the same rom then dirty flashing is fine, however if you are completlely changing roms its better to do a full wipe. If you dont you may get bugs that dont normally occur.
Hi, I own a Nexus 4, just a quick nooby question..
Will flashing a custom kernel (thinking of Faux or Franco) and wiping cache and dalvik wipe data? The main reason I want to flash a custom kernel is to underclock to save battery life, and do these have profiles so I can leave it on low clock over night and normal clock during the day?
isnip said:
Hi, I own a Nexus 4, just a quick nooby question..
Will flashing a custom kernel (thinking of Faux or Franco) and wiping cache and dalvik wipe data? The main reason I want to flash a custom kernel is to underclock to save battery life, and do these have profiles so I can leave it on low clock over night and normal clock during the day?
Click to expand...
Click to collapse
Just flash the kernel dont wipe anything.. kernel never need flashing unless stated in op.
Rohit02 said:
Just flash the kernel dont wipe anything.. kernel never need flashing unless stated in op.
Click to expand...
Click to collapse
Thanks for clarifying but in the OP it says to wipe the cache partition and dalvik cache, and I meant from recovery not flashing, sorry haha. a little more clarification ;(
isnip said:
Thanks for clarifying but in the OP it says to wipe the cache partition and dalvik cache, and I meant from recovery not flashing, sorry haha. a little more clarification ;(
Click to expand...
Click to collapse
Same answer, you don't need to wipe anything in recovery if you're flashing a kernel. And wiping cache and dalvik will not wipe your data
Sent from my Nexus 5 using XDA Free mobile app
you never ever have to wipe anything when flashing kernels. never. wiping dalvik/cache before flashing a kernel is the same as wiping your butt to fill your car up with gas. its just not needed. and for all those that write it in their op, they just dont know better.
So yesterday I'm trying to flash Pixel Experience custom rom on my Galaxy S7 Edge Exynos and I'm using floyd rom v4, so i flashed it and it's successful but i can't get passed google logo screen and it stuck for way too long. Then i tried to flash lineage os 17.1 and this time it got to Lineage logo but then it boot back to recovery. I tried adb sideload to install it that also didn't work, in the end i tried flashing floyd rom v5 and that worked beautifully. Can anyone help me as i really want to experience the Pixel experience. Oh and I'm using TWRP 3.4.0.
are you flashing gapps afer the rom?
DSA said:
are you flashing gapps afer the rom?
Click to expand...
Click to collapse
Yes
ok, what kind of s7 is it? international, verizon etc?
what were your install steps?
link the roms you are trying
DSA said:
ok, what kind of s7 is it? international, verizon etc?
what were your install steps?
link the roms you are trying
Click to expand...
Click to collapse
Its a S7 Edge Exynos 8890, So I boot into recovery mode, wipe data, cache and delvik cache, and install the rom along with magisk(pixel experience rom already included gapps). Here's the rom thread; https://forum.xda-developers.com/t/...lte-pixel-experience-aosp-2020-01-09.4040463/
DanielMirza said:
Its a S7 Edge Exynos 8890, So I boot into recovery mode, wipe data, cache and delvik cache, and install the rom along with magisk(pixel experience rom already included gapps). Here's the rom thread; https://forum.xda-developers.com/t/...lte-pixel-experience-aosp-2020-01-09.4040463/
Click to expand...
Click to collapse
Just to check - you didnt say you are wiping the system folder...are you?
DSA said:
Just to check - you didnt say you are wiping the system folder...are you?
Click to expand...
Click to collapse
Haha nah i didn't, just the data, cache and delvik cache
DanielMirza said:
Haha nah i didn't, just the data, cache and delvik cache
Click to expand...
Click to collapse
lol!
Well thats gonna be part of the problem then dude, conflicting system files...
DSA said:
lol!
Well thats gonna be part of the problem then dude, conflicting system files...
Click to expand...
Click to collapse
But the instructions said to format the data, I'm quite confused
DanielMirza said:
But the instructions said to format the data, I'm quite confused
Click to expand...
Click to collapse
Yep, you format both, especially going from one ROM to another.
Data is your personal settings, app stuff etc,
System is the operating system (To put it simply).
If you have old ROM files leftover in the system folder, when you flash a new one they will conflict with each other.
It needs to be a clean install
DSA said:
Yep, you format both, especially going from one ROM to another.
Data is your personal settings, app stuff etc,
System is the operating system (To put it simply).
If you have old ROM files leftover in the system folder, when you flash a new one they will conflict with each other.
It needs to be a clean install
Click to expand...
Click to collapse
So what files do i need to format before installing the rom?
DanielMirza said:
So what files do i need to format before installing the rom?
Click to expand...
Click to collapse
folders to format when swapping from one rom to another (oneui samsung rom to aosp, or different aosp to aosp):
dalvik
cache
data
system
when you are on an aosp rom, and are updating the same rom to a newer version, you can normally get away without wiping data
DSA said:
folders to format when swapping from one rom to another (oneui samsung rom to aosp, or different aosp to aosp):
dalvik
cache
data
system
when you are on an aosp rom, and are updating the same rom to a newer version, you can normally get away without wiping data
Click to expand...
Click to collapse
Ah I see, thanks a lot for your help!
Cheers