Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Noob questions abaut kernels and ROMs

OP neucoas

14th August 2014, 11:27 PM   |  #1  
neucoas's Avatar
OP Junior Member
Flag Rosario
Thanks Meter: 3
 
19 posts
Join Date:Joined: Aug 2014
More
Hi everyone! First of all, sorry for my english.

My question is very simple. I am going to flash Aero Kernel into my Moto G xt1034.

In case something goes wrong or i want to go back to stock kernel, does reflash the rom via fastboot replaces the kernel? I mean, Aero Kernel is ereased and replaced by the stock kernel?

Thank you very much in advance!
15th August 2014, 01:47 AM   |  #2  
Member
Flag Budapest
Thanks Meter: 49
 
94 posts
Join Date:Joined: Aug 2012
More
Yep, boot.img is your kernel, so you need to flash that at least. But, I think aero is replacing your kernel modules too (eg the WiFi driver), so you need to flash the system image too. Or backup the original modules from the /system/lib/modules directory.
The Following User Says Thank You to Rhyn For This Useful Post: [ View ]
15th August 2014, 02:10 AM   |  #3  
neucoas's Avatar
OP Junior Member
Flag Rosario
Thanks Meter: 3
 
19 posts
Join Date:Joined: Aug 2014
More
Quote:
Originally Posted by Rhyn

Yep, boot.img is your kernel, so you need to flash that at least. But, I think aero is replacing your kernel modules too (eg the WiFi driver), so you need to flash the system image too. Or backup the original modules from the /system/lib/modules directory.

Thank you. Does flashing stock Rom replaces those modules ?
15th August 2014, 05:52 PM   |  #4  
Member
Flag Budapest
Thanks Meter: 49
 
94 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by neucoas

Thank you. Does flashing stock Rom replaces those modules ?

If you mean by flashing is fastboot flash etc, then yes. The system.sparesechunk.0-3 files contains your full system partition including the kernel modules. But if you do a cwm backup from your stock system partition before flashing aero and flash that back, that will work too.

Edit: if you just do a backup from /system/lib/modules directory, you should include /system/lib/hw/power.msm8226.so too, hence aero installer also deletes that too.

Usually if you uncertain what a flashable zip do, you can always examine the META-INF/com/google/android/updater-script file. Thats the installer, you can open it with a simple text editor. Usually not too hard to understand, its quite a simple language.
Last edited by Rhyn; 15th August 2014 at 05:59 PM.
The Following 2 Users Say Thank You to Rhyn For This Useful Post: [ View ]
15th August 2014, 07:37 PM   |  #5  
neucoas's Avatar
OP Junior Member
Flag Rosario
Thanks Meter: 3
 
19 posts
Join Date:Joined: Aug 2014
More
Quote:
Originally Posted by Rhyn

If you mean by flashing is fastboot flash etc, then yes. The system.sparesechunk.0-3 files contains your full system partition including the kernel modules. But if you do a cwm backup from your stock system partition before flashing aero and flash that back, that will work too.

Edit: if you just do a backup from /system/lib/modules directory, you should include /system/lib/hw/power.msm8226.so too, hence aero installer also deletes that too.

Usually if you uncertain what a flashable zip do, you can always examine the META-INF/com/google/android/updater-script file. Thats the installer, you can open it with a simple text editor. Usually not too hard to understand, its quite a simple language.

Thank you very much!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes