FORUMS

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more
Post Reply Subscribe to Thread Email Thread

[Q] changing kernels?

justinisloco
23rd April 2014, 04:20 AM |#11  
Guest
Thanks Meter: 0
 
More
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, 04:33 AM |#12  
Member
Thanks Meter: 12
 
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

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, 04:52 AM |#13  
Guest
Thanks Meter: 0
 
More
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, 04:53 AM |#14  
vin4yak's Avatar
Recognized Contributor
Flag Mumbai
Thanks Meter: 2,462
 
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, 04:57 AM |#15  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 24,262
 
More
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, 05:49 AM |#16  
akmsr's Avatar
Senior Member
Thanks Meter: 28
 
More
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, 05:55 AM |#17  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 24,262
 
More
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, 10:53 AM |#18  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 17,531
 
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