Hell guys!
I recently started flashing custom roms found in the rom section and I'm currently on latest pixel experience Build.
Next I want to flash custom kernels and see how it goes but since I'm fairly new to all this I want to make sure I'm doing it right.
1. So what's the safest way to switch different kernels while being on custom rom such as PE, lineage etc?
2. What's the procedure for flashing these custom kernels through twrp?
3. How to take backup of the current stock kernel that comes with this (PE) Rom and restore safely in case of bugs without losing previous apps/settings/data or causing bootloops, soft bricks etc?
Thank you for your time.
before you flash anything backup your Rom first
(by Boot data system vendor in custom recovery)
Do clean install by Wipe dalvik cache and cache and flash the kernel
Backup:
Backup /boot partition using twrp, this contains the currently installed kernel and ramdisk.
Installation:
Flash the kernel zip, no need to wipe anything.
Restore:
Restore the boot partition you made earlier in twrp.
If you don't have a backup, you can dirty flash your currently installed ROM, this will restore the roms stock kernel and also uninstall magisk which you can reflash.
Related
hi friends..
i have sony lww rooted and a flashed custom rom serenity v3 and vegeyance 1.31 kernel.
now i want to try another custom rom but i have some confusion..
should i have to follow all procedure again while flashing another custom rom
i mean i don't want to loose my data and contacts again i have backup but i don't want to do it again
so if i want to flash another custom rom should i have to follow all procedure like..
-flash a kernel
- do a full wipe/factory reset
- wipe cache
- go to mount & storage>format system
- go to advance-wipe dalvik cache
- flash the rom
i know flashing kernel and flashing rom is always important and without it i cant install any custom rom
but i hate the steps to follow between these two steps.....
so friends plz tell me is this compulsory to follow all steps or is there any short way...
thanx to all in advance.....
jiturawat said:
hi friends..
i have sony lww rooted and a flashed custom rom serenity v3 and vegeyance 1.31 kernel.
now i want to try another custom rom but i have some confusion..
should i have to follow all procedure again while flashing another custom rom
i mean i don't want to loose my data and contacts again i have backup but i don't want to do it again
so if i want to flash another custom rom should i have to follow all procedure like..
-flash a kernel
- do a full wipe/factory reset
- wipe cache
- go to mount & storage>format system
- go to advance-wipe dalvik cache
- flash the rom
i know flashing kernel and flashing rom is always important and without it i cant install any custom rom
but i hate the steps to follow between these two steps.....
so friends plz tell me is this compulsory to follow all steps or is there any short way...
thanx to all in advance.....
Click to expand...
Click to collapse
If you are on an ics kernel, no need to flash a kernel again. If you want to flash CM, then you have to follow all the instructions. While switching between roms, wipe everything except the /data partition. Then install your new custom rom. There is no guarantee that the rom will boot. It is recommended to wipe everything but no harm in trying. It is much safer to backup contacts by going to contacts and export to sd card. For messages you can use Sms backup and restore on market. Use titanium backup for apps. Done!
Sent from my LT26i using xda app-developers app
I would not recommend to format /system. Otherwise you may get a getprop error. The updater-script should wipe /system automatically
Only wipe it if it's recommend in the thread of the rom :good:
follow this procedure bro...
1.Backup
So you dont want to lose data...then first backup your contacts,export it to memory card,
then backup messages using sms backup and restore,u can find that on the play store...
dont forget to make a nandroid backup..
2.Gather info about current device status and the rom u want to flash
then check whether the rom you want to flash requires a different kernel other than the one on your device right now...
if the android versions differ,definitely kernel has to be changed otherwise you can get stuck in a bootloop...
visit the rom thread,check whether there are some bugs associated with your device,download the fixes required if any...
here you might find links to the supported kernels,instructions on installing the rom i.e wipe cache,data,dalvik cache,system etc etc...
download the rom,copy it to your sdcard along with the fixes if any...
3.Start flashing
First flash the kernel...then enter recovery
wipe the partitions that were mentioned on the thread...
then select your rom and flash it..,then enter recovery again if u want to flash the fixes...
4.Restoring..
install titanium backup first,restore all your apps from the nandroid backup,then you can restore the contacts and messages...
you are done
i know its a long procedure,u can get really frustrated until you hit on a stable rom and kernel...but i dont think there is any shortcut to this..
Sometimes the updater-script in your new rom may have been set to delete data,system,cache,dalvik cache. So if u don't want them to delete u have to edit the updater-script.
Hi!
I need some help with understanding of flashing custom roms e.t.c.
If I have 4.3 ( latest official update ), is it possible that I upgrade to CM11 4.4? Or I just can flash roms wich are based on 4.3?
Dont get it!
Thank you for responding!
If you have custom recovery installed, then you can install Compatible ROMs for your device (such as CM 4.4). If you are running stock or another ROM, then by entering custom recovery and making Nandroid backup first, you can install the ROM. To install, read the post for ROM you want to make sure compatible/whats needed (like GApps, etc), download, backup current ROM if isssue happens (to save yourself), WIPE data/factory reset, WIPE cache/dalvik cache, install ROM/etc as directed via the ROM post page. As long as you can meet these, you can flash what you'd like.
RevelationOmega said:
If you have custom recovery installed, then you can install Compatible ROMs for your device (such as CM 4.4). If you are running stock or another ROM, then by entering custom recovery and making Nandroid backup first, you can install the ROM. To install, read the post for ROM you want to make sure compatible/whats needed (like GApps, etc), download, backup current ROM if isssue happens (to save yourself), WIPE data/factory reset, WIPE cache/dalvik cache, install ROM/etc as directed via the ROM post page. As long as you can meet these, you can flash what you'd like.
Click to expand...
Click to collapse
I have cwm on my phone and made a backup yesterday so i think im ready to roll!
Thank you!!!
damarsdun said:
I have cwm on my phone and made a backup yesterday so i think im ready to roll!
Thank you!!!
Click to expand...
Click to collapse
Welcome, make sure you do your research though on flashing and the ROM in case there are issues with the ROM specifically (ex. Bluetooth not working, or something). Any one thing missing (didn't flash GApps, ROM problem, etc) can cause issue. If no issues or you can live around them if they exist, then good luck.
Hi,
I want to temporary boot my nexus 6 with ElementalX.
I'm familiar with the fastboot command fastboot boot boot.img
But what boot img I need to use after downloading the flashable zip file of the kernel?
Pics provided below, which file I need to use for the fastboot command?
I don't believe you can flash Elemental kernel in that regards as it is set up differently than many custom boot.imgs. Even if you did, you would be missing out on many functions of the kernel without the other settings being installed. You could either do a nandroid backup of your boot and system and restore that when you were done testing the kernel or dirty flash just the rom you are on (they have flashable stock roms in the forums) while just wiping the cache and dalvik cache.
es0tericcha0s said:
I don't believe you can flash Elemental kernel in that regards as it is set up differently than many custom boot.imgs. Even if you did, you would be missing out on many functions of the kernel without the other settings being installed. You could either do a nandroid backup of your boot and system and restore that when you were done testing the kernel or dirty flash just the rom you are on (they have flashable stock roms in the forums) while just wiping the cache and dalvik cache.
Click to expand...
Click to collapse
I only want to flash ElementalX in order to be able to use properly on Android M.
But I'll try to do a nandroidbackup . funny I never though to do that. Thanks.
Yea, for best results, use TWRP, make a backup, then flash what you need. No reason to keep a stock recovery setup if you are running a custom kernel and root as you will not want to take OTA updates anyway. Keep in mind that it is also recommended to update the radio and bootloader. I have seen reports of members being fine without them, but it's best practice to keep them all updated together. If you don't want to mess with any of that and don't care about being rooted or customized at all, then you will just want to unlock the bootloader and flash the factory img files from Google and then all partitions will be updated to official 6.0 and you'll be done with it. If you go that route, remember to backup your internal storage as unlocking the bootloader and the update will wipe everything.
How to backup stock firmware on twrp as i backup stock firmware on twrp n when i want to restore it gives error encryption failure need to reset your phone, am i doing anything wrong in backing up
no need to restore. if u install a custom rom over miui, the miui's firmware partition will not be removed/deleted. u only wipe system+data+cache+dalvik, firmware partition remains the same as before
Encrypt with flash oficial roms. Never use oficial roms.
To solve go to twrp, in wipes menu chose format data partition in ext4.
Use always xiaomi.eu roms.
..
To perform a completely clean installation of a custom ROM, boot into TWRP and wipe system, cache, data.
I have always flashed performed a complete wipe, flash the ROM, flash the kernel, and reboot the phone and set it up to make sure everything works. I then flash gapps.
..
If you want a completely reset device then you need to flash the stock firmware via odin twice with a factory reset via the stock recovery in between flashes. This doesn't reset the flash counter, just everything else.
If you want to reflash a custom rom after that then you root via chainfire, install twrp and flash Los via twrp.
If you want to flash a kernel or anything else you can flash via twrp whenever you want but make sure they are compatible.
If you want to use magisk then you will need to refer to the installation instructions for both magisk and los. It will most likely involve uninstalling supersu and its binaries.
If you have issues with cell signal then you can look at flashing other modems. If no problems leave it alone.
..