Related
I got Paranoid 3 as my internal rom, running franco kernel. However, gaming and file transfer with computer seem slow and laggy as a 2gigs movie took 15 mins to copy from pc to nexus 7, so I'd like to install stock rom and stock kernel as an alternative I can use when I want to transfer files. The problem is Multiboot only allow separate kernel for external roms as boot.img, and the kexec patched stock kernel (any many other kernels) is only released under .zip flashable. So does anyone have any solution to this? Please tell me
Um, what's the problem with flashing stock kernel over then stock ROM through Install menu in the recovery?
Fatal1ty_18_RUS said:
Um, what's the problem with flashing stock kernel over then stock ROM through Install menu in the recovery?
Click to expand...
Click to collapse
Well, there are too options to flash zip:
- flash zip thru install menu. This affects the internal ROM and Roms that share kernel with internal one
- flash zip thru multi boot -> manage roms -> choose a specific rom . The description already says that 'don't flash kernel with this option' and if I did, the ROM wouldn't boot.
So, way I see it, there's only one option to inject a boot.img that houses a kernel to the eexternal ROM, but the kernels I need are not released as a .img
Bump ? Anyone ?
hi guy! i'm a new user and i have a problem with my galaxy y: my computer does not read my device in download mode because it doesn't install a particular driver (i've already tried to fix this error without any result but this is not my problem), i'm testing the AOSP custom rom and until now i've tried it with jarvis kernel and percy's kernel. actually i'm using the percy one but i want to return to jarvis. how can i install it without reinstall stock rom (due to my computer's problem)? thanks in advance for any help!
Blade.94 said:
hi guy! i'm a new user and i have a problem with my galaxy y: my computer does not read my device in download mode because it doesn't install a particular driver (i've already tried to fix this error without any result but this is not my problem), i'm testing the AOSP custom rom and until now i've tried it with jarvis kernel and percy's kernel. actually i'm using the percy one but i want to return to jarvis. how can i install it without reinstall stock rom (due to my computer's problem)? thanks in advance for any help!
Click to expand...
Click to collapse
read the instructions on the op of the kernel thread - you should already be on ext4 so just do following
Jarvis-CM:
1. Download Kernel
2. Reboot Into Recovery (if on percy kernel it will be cwm)
3. Mount System
4. Install From sdcard Select Jarvis-CM Kernel
6. Reboot
marcussmith2626 said:
read the instructions on the op of the kernel thread - you should already be on ext4 so just do following
Jarvis-CM:
1. Download Kernel
2. Reboot Into Recovery (if on percy kernel it will be cwm)
3. Mount System
4. Install From sdcard Select Jarvis-CM Kernel
6. Reboot
Click to expand...
Click to collapse
i have another question about this: ì've also installed ad-blocking and amarullz script. after flashing jarvis kernel should i reinstall all of these or will they remain on the device?? i'm sorry if my english is not perfect...
Blade.94 said:
i have another question about this: ì've also installed ad-blocking and amarullz script. after flashing jarvis kernel should i reinstall all of these or will they remain on the device?? i'm sorry if my english is not perfect...
Click to expand...
Click to collapse
if they are init.d scripts and the kernel supports them then they should remain
marcussmith2626 said:
if they are init.d scripts and the kernel supports them then they should remain
Click to expand...
Click to collapse
ok thanks a lot for your help! i gave you 2 thanks for each reply! i'll try it!
Hi,
I have a small question. I own a Canadian Samsung 4 SGH-i337m, after reading the main guide for running other carrier rom on this address
http://forum.xda-developers.com/showthread.php?t=2295557
As the guide mention that I didn't need the loki kernel and I could use my carrier kernel.
I used to backup my kernel with SGS kernel flasher to do the job, but it's not working for s4.
I wanted to backup my stock kernel and apply it after the installation of a cursom rom and apply it through TWRP. As I understood it, kernel is the boot.img, and I read somewhere that the way to create this is to copy the boot.img + copy the /sytem/lib/modules files. If I look to the file prepared by iB4STiD in the file MDOB-I337M-VMK6-FIX-4.1 present here, it seems that it's the case.
There is still flashify as a solution but you can't use the file into recovery.
Does someone know how to do it, or point me out where to find a guide where I can do what I want.
thanks in advance,
youpiyo said:
Hi,
I have a small question. I own a Canadian Samsung 4 SGH-i337m, after reading the main guide for running other carrier rom on this address
http://forum.xda-developers.com/showthread.php?t=2295557
As the guide mention that I didn't need the loki kernel and I could use my carrier kernel.
I used to backup my kernel with SGS kernel flasher to do the job, but it's not working for s4.
I wanted to backup my stock kernel and apply it after the installation of a cursom rom and apply it through TWRP. As I understood it, kernel is the boot.img, and I read somewhere that the way to create this is to copy the boot.img + copy the /sytem/lib/modules files. If I look to the file prepared by iB4STiD in the file MDOB-I337M-VMK6-FIX-4.1 present here, it seems that it's the case.
There is still flashify as a solution but you can't use the file into recovery.
Does someone know how to do it, or point me out where to find a guide where I can do what I want.
thanks in advance,
Click to expand...
Click to collapse
What type of ROM are you using? You have to be using a compatible kernel. AOSP ROM's won't work with a stock kernel, and you can't cross Android version between system and kernel. Using any custom kernel developed for your phone with this guide will work okay however.
Thank you for your answer.
in order to answer your question I was trying to flash the hyperdrive to my phone with compatibility pack. But after reboot I go back directly to download mode. So I figured that it was the boot partition that wasn't adapted to my phone.
So yes, I understand that if you flash a rom based on code as cyanogenmod you will need a custom kernel. but for a rom that is based on stock as hyperdrive rom, unless I'm mistaken, I would imagine that the stock kernel should work.:cyclops:
Is there a way to back it up?
youpiyo said:
Thank you for your answer.
in order to answer your question I was trying to flash the hyperdrive to my phone with compatibility pack. But after reboot I go back directly to download mode. So I figured that it was the boot partition that wasn't adapted to my phone.
So yes, I understand that if you flash a rom based on code as cyanogenmod you will need a custom kernel. but for a rom that is based on stock as hyperdrive rom, unless I'm mistaken, I would imagine that the stock kernel should work.:cyclops:
Is there a way to back it up?
Click to expand...
Click to collapse
My best guess is find out which partition it is and use the dd command OR download the ODIN of your firmware version and extract the boot.img. However, it would be easier to just use a custom kernel designed for your phone as if you back it up like that you either have to make it into a flashable zip or use heimdall to restore it every time.
Sent from Black<3's I337 running Foxhound ROM
Thanks for your answer.
That's weird as a nandroid is doing the job,that is hard to find how to backup a kernel.
anyway, I guess my best chance is to download a custom kernel and apply it after installation of the cutom rom. At first boot re apply a backup kernel with an app as flashify.
thanks youpi
Hi,
I am new to android community and totally new to linux. I m interested in playing with my old device(S5360) .So i m reading a lot over internet. More i read more i get curious and confused..
My questions are not like HOW TO? but more like WHY ? Please forgive my funny questions u may think and be nice
1. Why one need to make a flashable rom from NANDROID backup ? If one has backup,then whats the advantage in having that flashable file ?
2. I installed CWM and ROOT (update zip ) from recovery mode.... why all phones cannot be rooted that way? why PC and ODIN in between?
3. Flashable image (qst 1) from NANDROID backup is usable with other device ? (same model and make)
4.Why STOCK ROMS always flashed from ODIN and not from recovery mode (way the custom roms are flashed)
5.ODIN uses 3-4 files (PDA,PIT etc) but recovery mode uses just a single zip file..why ?
warm regards
inwell said:
Hi,
I am new to android community and totally new to linux. I m interested in playing with my old device(S5360) .So i m reading a lot over internet. More i read more i get curious and confused..
My questions are not like HOW TO? but more like WHY ? Please forgive my funny questions u may think and be nice
1. Why one need to make a flashable rom from NANDROID backup ? If one has backup,then whats the advantage in having that flashable file ?
2. I installed CWM and ROOT (update zip ) from recovery mode.... why all phones cannot be rooted that way? why PC and ODIN in between?
3. Flashable image (qst 1) from NANDROID backup is usable with other device ? (same model and make)
4.Why STOCK ROMS always flashed from ODIN and not from recovery mode (way the custom roms are flashed)
5.ODIN uses 3-4 files (PDA,PIT etc) but recovery mode uses just a single zip file..why ?
warm regards
Click to expand...
Click to collapse
Question go in the question & answer section!
Thread moved
1 - There is no reason why you can't restore your own personal nandroid backup - do not restore other people's
Make sure you restore the backup using the same cwm & kernel to which it was made on
You do not create rom zips from nandroid backups - at least that's not the conventional way
2 - the galaxy y doesn't need odin to root or flash cwm
Other devices do as they have separate partitions for recovery or use fastboot
The galaxy y recovery is within the kernel
3 - technically yes - you can transfer a nandroid backup to another phone of the exact same model & restore it - note you will have all that phones data contacts etc if you restore data
4 - because it flashes modem files & other things
The pda file is the system directory & kernel which you could turn into a flashable zip if you wanted
You can flash any rom via cwm but it will treated as a custom rom with no modifications
5 - pda contains system & kernel
Modem contains radio files ie baseband
CSC contains carrier specific codes
PIT is the partitioning information table & is not required - do not use it
A flashable zip only contains the system directory & kernel (although most stock based roms don't include a kernel) in the case of galaxy y
Thank you very much sir,
Few of your answers again increasing my curiosity...
marcussmith2626 said:
Make sure you restore the backup using the same cwm & kernel to which it was made on
Click to expand...
Click to collapse
How do i know what kernel was used while taking the backup and which one is present at the time of restore ?When i will flash custom rom then my kernel will get replaced..right? so how will i get old kernel at the time of restore?
You do not create rom zips from nandroid backups - at least that's not the conventional way
Click to expand...
Click to collapse
I just asked coz i read few threads here regarding Flashable Rom From NANDROID backup
3 - technically yes - you can transfer a nandroid backup to another phone of the exact same model & restore it - note you will have all that phones data contacts etc if you restore data
Click to expand...
Click to collapse
I have read a lot of confusing things about EFS DATA. Will restoring this nandroid backup to exact same phone make those two phone identical...? i.e same IMEI or same EFS data ?
Correct me if wrong... Samsung Gal Y uses single flash file coz it does not have diff partitions or file structure for recovery/modem/radio ...?
Other phones may have diff partitions so they need diff technique of flashing other than using a single flashable zip ?
Regarding Cust ROM...
How can these custom roms based on newer virsions of android work pretty well with these old phones like GAL Y having very poor RAM and ROM ?
best wishes...
(m i troubling you a lot ? )
inwell said:
Thank you very much sir,
Few of your answers again increasing my curiosity...
Click to expand...
Click to collapse
How do i know what kernel was used while taking the backup and which one is present at the time of restore ?When i will flash custom rom then my kernel will get replaced..right? so how will i get old kernel at the time of restore?
Click to expand...
Click to collapse
It states what kernel you are using in about phone in phone settings
Most stock based custom roms for this device does not contain a kernel
Search - all kernels are available
I just asked coz i read few threads here regarding Flashable Rom From NANDROID backup
I have read a lot of confusing things about EFS DATA. Will restoring this nandroid backup to exact same phone make those two phone identical...? i.e same IMEI or same EFS data ?
Click to expand...
Click to collapse
Efs data is not backed up
This partition is not mountable in galaxy y during normal use
Correct me if wrong... Samsung Gal Y uses single flash file coz it does not have diff partitions or file structure for recovery/modem/radio ...?
Other phones may have diff partitions so they need diff technique of flashing other than using a single flashable zip ?
Click to expand...
Click to collapse
all custom roms are 1 Flashable zip
Stock firmware can contain many files to flash (samsung uses odin other phones use fastboot)
Regarding Cust ROM...
How can these custom roms based on newer virsions of android work pretty well with these old phones like GAL Y having very poor RAM and ROM ?
best wishes...
(m i troubling you a lot ? )
Click to expand...
Click to collapse
The operating system can technically run on this phone - its the crap that Samsung adds to it that slows it down
Thank you sir..once again
marcussmith2626 said:
It states what kernel you are using in about phone in phone settings
Most stock based custom roms for this device does not contain a kernel
Search - all kernels are available
Click to expand...
Click to collapse
So i can say,my kernel at the time of NANDROID backup will remain same after i install a custom rom ...until i deliberately change it ...correct ? (so while restoring the backup mostly i will be having the same kernel... )
AS you told me about ODIN and flashable ROM from CWM... it again takes me to a question ..
When we isnatll cust rom..we take nandroid backup of first rom/settings etc.
Many posts says if something goes wrong or if you need to go back to stock, u need ODIN...
My question is if something goes wrong,is it not possible to go back to stock using my nandroid backup,which was taken before custom rom installation ?
I am avoiding ODIN as my device S5360 is not connecting itself to PC/LAPTOP via USB. Dont know what the prob is..(Kies/Drivers/USB Ports are good)
best wishes
inwell said:
Thank you sir..once again
Click to expand...
Click to collapse
So i can say,my kernel at the time of NANDROID backup will remain same after i install a custom rom ...until i deliberately change it ...correct ? (so while restoring the backup mostly i will be having the same kernel... )
Click to expand...
Click to collapse
Unless the rom zip contains a kernel it will not be replaced
in the rom zip look for boot.img in the root of the rom zip
AS you told me about ODIN and flashable ROM from CWM... it again takes me to a question ..
When we isnatll cust rom..we take nandroid backup of first rom/settings etc.
Many posts says if something goes wrong or if you need to go back to stock, u need ODIN...
My question is if something goes wrong,is it not possible to go back to stock using my nandroid backup,which was taken before custom rom installation ?
Click to expand...
Click to collapse
Like I said before - you can restore a nandroid backup anytime and your phone will revert to the state it was in when the backup was made
In the galaxy y the kernel is not backed up during a nandroid backup
It is advised to restore the backup whilst on the same recovery and kernel to which the backup was made
if you are using a different kernel you will likely get a boot.img error and the backup will not restore - in this case just advanced restore system and data but note the kernel must be compatible with the rom else it will not boot
I am avoiding ODIN as my device S5360 is not connecting itself to PC/LAPTOP via USB. Dont know what the prob is..(Kies/Drivers/USB Ports are good)
Click to expand...
Click to collapse
See my firmware thread - links in signature
follow all instructions - kies is not needed - uninstall it as its not compatible with the galaxy y and is just a waste
you only need usb drivers and if using windows 8.1 make sure to run the setup programe in compatibility mode for windows xp else the setup will not run
marcussmith2626 said:
Unless the rom zip contains a kernel it will not be replaced
in the rom zip look for boot.img in the root of the rom zip
Like I said before - you can restore a nandroid backup anytime and your phone will revert to the state it was in when the backup was made
In the galaxy y the kernel is not backed up during a nandroid backup
It is advised to restore the backup whilst on the same recovery and kernel to which the backup was made
if you are using a different kernel you will likely get a boot.img error and the backup will not restore - in this case just advanced restore system and data but note the kernel must be compatible with the rom else it will not boot
See my firmware thread - links in signature
follow all instructions - kies is not needed - uninstall it as its not compatible with the galaxy y and is just a waste
you only need usb drivers and if using windows 8.1 make sure to run the setup programe in compatibility mode for windows xp else the setup will not run
Click to expand...
Click to collapse
So what is the best advised practice that i should follow to keep my KERNEL same at the time of backup and at the time of restore ?
Flashing custom rom without custom kernel is the only way ? ( many posts i v seen advising flash some custom kernel before custom rom)
If i take nandroid backup of my rooted stock rom with stock kernel, now i flash some custom rom + Custom kernel.....when restoring my nandroid backup in any case, how would i get my stock kernel back ?(that was used at the time of backup)
secondly, I removed kies .. i have drivers installed, but my phone has some issues i guess (hardware or software not sure). It charges through usb but not recognized to windows in any mode. When its remove from chager,it still shows charging icon in notification area..
I think usb drives are fine as i can connect my other phone to windows. (Win 7 and Win Xp)
best wishes
inwell said:
So what is the best advised practice that i should follow to keep my KERNEL same at the time of backup and at the time of restore ?
Click to expand...
Click to collapse
Like I said - making/restoring a nandroid backup does not change your kernel in a galaxy y
Flashing custom rom without custom kernel is the only way ? ( many posts i v seen advising flash some custom kernel before custom rom)
Click to expand...
Click to collapse
Some roms like CyanogenMod roms require a specific kernel - stock kernel will not boot the rom - refer to rom thread
If I take nandroid backup of my rooted stock rom with stock kernel, now i flash some custom rom + Custom kernel.....when restoring my nandroid backup in any case, how would i get my stock kernel back ?(that was used at the time of backup)
Click to expand...
Click to collapse
Flash stock kernel the same as a custom kernel
Hells fusion #50 contains the option to flash stock kernel if that's easier
Remember if you flash CyanogenMod roms you will now be on an ext system partition - to get back to stock rfs partition you need to flash stock rom via odin
secondly, I removed kies .. i have drivers installed, but my phone has some issues i guess (hardware or software not sure). It charges through usb but not recognized to windows in any mode. When its remove from chager,it still shows charging icon in notification area..
I think usb drives are fine as i can connect my other phone to windows. (Win 7 and Win Xp)
Click to expand...
Click to collapse
Clean USB port of phone
Flash stock rom via odin
Wipe cache dalvik cache in cwm
marcussmith2626 said:
Like I said -making/restoring a nandroid backup does not change your kernel in a galaxy y
Flash stock kernel the same as a custom kernel
Hells fusion #50 contains the option to flash stock kernel if that's easier
Remember if you flash CyanogenMod roms you will now be on an ext system partition - to get back to stock rfs partition you need to flash stock rom via odin
Click to expand...
Click to collapse
Thank you marcus,
When looking or searching for roms,where it will be mentioned that the ROM is using EXT or RFS partition ? any simple guide to know this thing ?
How would a new and non tech. person like me should search for ROMS without kernels? any guide for that ? (any specific terms to look on the rom link that will tell abt partition sys and kernel it uses )
regarding odin..
i have cleaned the connector,tried diff PC,diff os, diff drivers..but no success.
If i have a hardware failure related to usb,what will be my best option to revert back? (restoring the nandroid backup with original kernel will do?)
btw... a have seen many official roms listed here,but my stock rom is diff from all of them..how? (here list is DDLK and so on..but my device is DDKL..which is nowhere to be found)
best wishes
inwell said:
Thank you marcus,
When looking or searching for roms,where it will be mentioned that the ROM is using EXT or RFS partition ? any simple guide to know this thing ?
How would a new and non tech. person like me should search for ROMS without kernels? any guide for that ? (any specific terms to look on the rom link that will tell abt partition sys and kernel it uses )
Click to expand...
Click to collapse
like I said before the zip will contain boot.img if it has a kernel
stock based roms normally dont
cm based roms will
regarding odin..
i have cleaned the connector,tried diff PC,diff os, diff drivers..but no success.
If i have a hardware failure related to usb,what will be my best option to revert back? (restoring the nandroid backup with original kernel will do?)
Click to expand...
Click to collapse
if you have converted to ext to use cm roms you will need to use odin to convert back to rfs for stock or use a stock based kernel that uses ext like hells fusion #50
btw... a have seen many official roms listed here,but my stock rom is diff from all of them..how? (here list is DDLK and so on..but my device is DDKL..which is nowhere to be found)
best wishes
Click to expand...
Click to collapse
your firmware is old
just use the latest version for your region from my firmware thread (starting DD)
Ok,Thank You
I m really waiting for my first Custom Rom to get flashed.. with your help,i have learned a lot.(basic concepts got cleared) Thank you once gain.
So going for my first mod rom, will you please tell me what rom / roms use RFS partition, so that if something goes wrong, i will revert back with simple backup restore
btw,what is CM based roms, that you mentioned ?( i really dont know all these terms :crying: )
inwell said:
Ok,Thank You
I m really waiting for my first Custom Rom to get flashed.. with your help,i have learned a lot.(basic concepts got cleared) Thank you once gain.
So going for my first mod rom, will you please tell me what rom / roms use RFS partition, so that if something goes wrong, i will revert back with simple backup restore
btw,what is CM based roms, that you mentioned ?( i really dont know all these terms :crying: )
Click to expand...
Click to collapse
any stock based rom uses rfs
any cm based rom uses ext
google cyanogenmod if you want read about it
marcussmith2626 said:
any stock based rom uses rfs
any cm based rom uses ext
google cyanogenmod if you want read about it
Click to expand...
Click to collapse
Hello,
I read about many custom rom install guides. In the process of flashing rom some say mount partition through CWM and some threads do not have any mention about this mounting process.
So what basically we need to do ? mount or no mount ? or each rom has its diff requirement ?
regards
inwell said:
Hello,
I read about many custom rom install guides. In the process of flashing rom some say mount partition through CWM and some threads do not have any mention about this mounting process.
So what basically we need to do ? mount or no mount ? or each rom has its diff requirement ?
regards
Click to expand...
Click to collapse
You always have to mount system data cache before flashing any zip
Format system data cache & mount system data cache before flashing a rom zip
The only way you are going to learn is to do things yourself & try it out
help me please, my galaxy young may be have been bricked because the screen on my phone was blank or black screen. then i can't access into the CWM mode.
then i try to flasing my phone using Odin for returning back into stock ROM. but the complete (write) operation always failed. here the SS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is there anyone can solve my problems?? pleeeasee
sorry for my english writing
badayz said:
help me please, my galaxy young may be have been bricked because the screen on my phone was blank or black screen. then i can't access into the CWM mode.
then i try to flasing my phone using Odin for returning back into stock ROM. but the complete (write) operation always failed. here the SS
is there anyone can solve my problems?? pleeeasee
sorry for my english writing
Click to expand...
Click to collapse
Do not keep posting the same question in multiple threads as per xda rules
I have already answered you
http://forum.xda-developers.com/showpost.php?p=58294418&postcount=5295
hi marcus,
A general knowledge question,
STOCK based CUSTOM ROM for a particular device will always be based on the original android version of that device when launched ? (so that Galaxy Y will have Stock Based Cust ROMs with gingerbread flavor only .... and if if you wish to have other flavors like ICS , JB or Kitkat,they wont be called as Stock Based Roms )
Will you please suggest a custom rom other than gingerbread to me (RFS based).(I will not blame you in any manner for sure )
regards
inwell said:
hi marcus,
A general knowledge question,
STOCK based CUSTOM ROM for a particular device will always be based on the original android version of that device when launched ? (so that Galaxy Y will have Stock Based Cust ROMs with gingerbread flavor only .... and if if you wish to have other flavors like ICS , JB or Kitkat,they wont be called as Stock Based Roms )
Will you please suggest a custom rom other than gingerbread to me (RFS based).(I will not blame you in any manner for sure )
regards
Click to expand...
Click to collapse
Stock based custom rom is just that - a stock rom that has been customised
CM roms are based on aosp (android open source project)
Only stock based roms for galaxy y are rfs - as there is only Gingerbread for this device there is no other stock ics
You can have KitKat via cm11 - the system needs to be ext
Follow rom thread instructions
You can have KitKat via cm11 - the system needs to be ext
Follow rom thread instructions
Sorry sir,
In ROM section for our device,i only found CM 7.2 and CM 9 like things.... CM11 and kitkat nowhere ... did i searched something/somewhere wrong ?
inwell said:
You can have KitKat via cm11 - the system needs to be ext
Follow rom thread instructions
Sorry sir,
In ROM section for our device,i only found CM 7.2 and CM 9 like things.... CM11 and kitkat nowhere ... did i searched something/somewhere wrong ?
Click to expand...
Click to collapse
Don't know why you couldn't find - its on the 1st page of the dev section
http://forum.xda-developers.com/showthread.php?t=2766229
Note don't post in that thread - There is a separate help & discussion thread in the general section
Hi, i have a moto g4 plus XT1644 U.S Model. I flashed lineage os 14.1 with elemental x kernel. I'd like to know how to flash back the original kernel on this device since i can't find any "understandable" guide. From what i understood i have to go back to the stock nougat rom and then i'd be fine...? Thanks in advance!
Prowy333 said:
Hi, i have a moto g4 plus XT1644 U.S Model. I flashed lineage os 14.1 with elemental x kernel. I'd like to know how to flash back the original kernel on this device since i can't find any "understandable" guide. From what i understood i have to go back to the stock nougat rom and then i'd be fine...? Thanks in advance!
Click to expand...
Click to collapse
By original kernel, do you mean the kernel that came with LineageOS or are you referring to the kernel that came with the Motorola stock ROMs?
If you mean flashing the kernel that came with LineageOS, you can extract the boot.img from the LineageOS zip you flashed with, which is the LineageOS kernel - a good file manager app (e.g. Amaze) should allow you to view the zip file (no need to extract the whole zip file) and extract the boot.img to your Downloads folder. Ideally, perform this extraction step on your device to minimise the chances of corruption (hopefully TWRP would stop a corrupted image being flashed!)
Then:
Reboot to TWRP recovery.
Backup your existing system, just in case anything happens.
Head back up to Install, press Install.
Tap 'Install Image'
Navigate to the boot.img that you extracted from the LineageOS zip (e.g. in your Downloads folder).
Select 'boot' as the target partition.
Wait for your new kernel to flash.
Tap on the back button and head to 'Wipe'
Wipe cache and Dalvik
Reboot.
If anything happens, you can reboot to your TWRP recovery and restore the backup you made. For future reference, if you flash a ROM, back up your boot.img (which contains your kernel) before flashing a new kernel on top. That way, you have an existing copy of your original kernel ready to revert back to.
If you want to revert back to your stock, Motorola, kernel, then your best bet is to flash the whole stock ROM, so you'll have a stock system. I would not recommend flashing a stock kernel onto a custom ROM (custom kernels, like ElementalX, are okay on stock ROMs, but check the custom kernel first). For the latest Nougat stock ROM, here's the fastboot ROM https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369 but be aware this will replace your custom ROM with the stock ROM, stock recovery and stock kernel. TWRP and root and any modifications on your custom ROM will be erased and your data may be wiped too. Back up accordingly and it may be worth moving your data off your device as a precaution.
Any more questions, please ask/research before you perform anything. Good luck either way.
echo92 said:
By original kernel, do you mean the kernel that came with LineageOS or are you referring to the kernel that came with the Motorola stock ROMs?
If you mean flashing the kernel that came with LineageOS, you can extract the boot.img from the LineageOS zip you flashed with, which is the LineageOS kernel - a good file manager app (e.g. Amaze) should allow you to view the zip file (no need to extract the whole zip file) and extract the boot.img to your Downloads folder. Ideally, perform this extraction step on your device to minimise the chances of corruption (hopefully TWRP would stop a corrupted image being flashed!)
Then:
Reboot to TWRP recovery.
Backup your existing system, just in case anything happens.
Head back up to Install, press Install.
Tap 'Install Image'
Navigate to the boot.img that you extracted from the LineageOS zip (e.g. in your Downloads folder).
Select 'boot' as the target partition.
Wait for your new kernel to flash.
Tap on the back button and head to 'Wipe'
Wipe cache and Dalvik
Reboot.
If anything happens, you can reboot to your TWRP recovery and restore the backup you made. For future reference, if you flash a ROM, back up your boot.img (which contains your kernel) before flashing a new kernel on top. That way, you have an existing copy of your original kernel ready to revert back to.
If you want to revert back to your stock, Motorola, kernel, then your best bet is to flash the whole stock ROM, so you'll have a stock system. I would not recommend flashing a stock kernel onto a custom ROM (custom kernels, like ElementalX, are okay on stock ROMs, but check the custom kernel first). For the latest Nougat stock ROM, here's the fastboot ROM https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369 but be aware this will replace your custom ROM with the stock ROM, stock recovery and stock kernel. TWRP and root and any modifications on your custom ROM will be erased and your data may be wiped too. Back up accordingly and it may be worth moving your data off your device as a precaution.
Any more questions, please ask/research before you perform anything. Good luck either way.
Click to expand...
Click to collapse
Thank you so much, it's ok if i lose all my data,twrp by flashing the stock rom via dab. I just wanted to be sure that i would go back to the stock kernel as well (If i'll ever have problems with the EX Kernel).
Do you think EX kernel would give my device better battery life?
Prowy333 said:
Thank you so much, it's ok if i lose all my data,twrp by flashing the stock rom via dab. I just wanted to be sure that i would go back to the stock kernel as well (If i'll ever have problems with the EX Kernel).
Do you think EX kernel would give my device better battery life?
Click to expand...
Click to collapse
with ex kernel you have the option to underclock your device. you may want to try it if you are interested in saving battery!
Ayan Uchiha Choudhury said:
with ex kernel you have the option to underclock your device. you may want to try it if you are interested in saving battery!
Click to expand...
Click to collapse
What's the recommended values for our moto g4 plus?
while flashing ex kernel you'll see 4 values of frequency. choosing any one of them will suffice. I would not recommend going for other values.
hit the thanks button if it helped!
Ayan Uchiha Choudhury said:
while flashing ex kernel you'll see 4 values of frequency. choosing any one of them will suffice. I would not recommend going for other values.
hit the thanks button if it helped!
Click to expand...
Click to collapse
Didn't know that, i 'll give it a try thanks!
Not booting up
I did as it is said above and the stock booted fine.
there was a software update and after installing it, the phone isn't booting up.
Please help, thank you in advance
ps i had element x kernel before relocking