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] changing kernels?

OP alexm231

justinisloco
23rd April 2014, 05:20 AM   |  #11  
Guest
Thanks Meter: 0
 
n/a posts
Just wanted to add to this...

If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?

Sent from my Nexus 5 using Tapatalk
23rd April 2014, 05:33 AM   |  #12  
Member
Thanks Meter: 10
 
50 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by justinisloco

Just wanted to add to this...

If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?

Sent from my Nexus 5 using Tapatalk

Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?
justinisloco
23rd April 2014, 05:52 AM   |  #13  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by matts290

Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?

I know I had to do that when I flashed elemental. Otherwise some apps won't open. But now I want to find out was the the full correct way? Or was it the lazy way

Sent from my Nexus 5 using Tapatalk
23rd April 2014, 05:53 AM   |  #14  
vin4yak's Avatar
Recognized Contributor
Flag Mumbai
Thanks Meter: 2,453
 
4,239 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by justinisloco

Just wanted to add to this...

If I'm on the stock ROM. I decide to flash elementalx. Then, want to switch to Franco or something, would I need to flash the stock img? Or can i just flash the stock kernel?

Sent from my Nexus 5 using Tapatalk

Quote:
Originally Posted by matts290

Wondering the same thing. If I am currently on stock rom with franco kernel, in order to switch over to elemental do I have to flash the stock rom zip from the thread here on XDA and then install the elemental kernel?

Flash the stock boot.img and system.img and then flash the kernel you want to change to..

I have also tried just flashing the stock boot.img and then the custom kernel.. Sometimes it works, sometimes it doesn't. So I would reccomend flashing both! (boot and system)
23rd April 2014, 05:57 AM   |  #15  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 22,931
 
27,553 posts
Join Date:Joined: Jun 2009
also check to see if the original kernel left any init.d files, some kernels do. you would want to delete them, as those could, probably would, not play well with your next kernel.
23rd April 2014, 06:49 AM   |  #16  
akmsr's Avatar
Senior Member
Thanks Meter: 28
 
107 posts
Join Date:Joined: Dec 2013
Quote:
Originally Posted by simms22

also check to see if the original kernel left any init.d files, some kernels do. you would want to delete them, as those could, probably would, not play well with your next kernel.

another noob question,
does your advice still applies if someone flashed both stock system.img and stock boot.img?
if it is where that file will be located?
thanks.
23rd April 2014, 06:55 AM   |  #17  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 22,931
 
27,553 posts
Join Date:Joined: Jun 2009
Quote:
Originally Posted by akmsr

another noob question,
does your advice still applies if someone flashed both stock system.img and stock boot.img?
if it is where that file will be located?
thanks.

yes. they arent located in either of those locations, so my advice applies, and is the only reason why i posted this. they are located in /etc/init.d/. you either dont have that location (best option), have it but an empty folder, or have an init.d folder with files in it. if there are files there, delete them.
The Following User Says Thank You to simms22 For This Useful Post: [ View ]
23rd April 2014, 11:53 AM   |  #18  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,989
 
25,236 posts
Join Date:Joined: Aug 2010
More
Flashing a system.img will overwrite init.d scripts. /etc is a symbolic link to /system/etc so when you replace /system/etc with whatever is in a ROM.zip or a system.img, these changes apply to /etc too.

If you look in any ROM.zip or kernel.zip, they all flash their scripts to /system/etc/init.d

Sent from my Nexus 5 using Tapatalk

The Following User Says Thank You to rootSU For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes