New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
misterpho06
Old
#1  
Member - OP
Thanks Meter 1
Posts: 43
Join Date: Aug 2012
Default Kernel repacking?

my old phone was the HTC One X and I remember having to repack the kernel for the rom I was using
1) is it the same here with the Nexus 4 after rooting/unlocking? any automatic repackers out there?

Also,
2) do I still need to "fastboot flash boot boot.img" everytime I flash a new rom


PS pretty excited about getting back into the android scene. my nexus 4 is coming in tomorrow.
 
theMaDHakkeR
Old
#2  
Senior Member
Thanks Meter 21
Posts: 372
Join Date: Jun 2010
Default Re: Kernel repacking?

From what I know I never had to repack any kernel on my nexus phones. All you need to do is run the unlock command once through fast boot and you can flash whatever you like. This phone is made so you can run what you like without jumping through hoops like the branded phones.

Sent from my Nexus 4 using xda app-developers app
 
misterpho06
Old
#3  
Member - OP
Thanks Meter 1
Posts: 43
Join Date: Aug 2012
can anyone second that?
 
simms22
Old
#4  
simms22's Avatar
Recognized Contributor
Thanks Meter 10797
Posts: 16,231
Join Date: Jun 2009
Location: BROOKLYN!
once the bootloader is unlocked, and have a custom recovery installed, you can flash any nexus 4 kernel you want(compatible kernel). you dont have to repack anything.
The Following User Says Thank You to simms22 For This Useful Post: [ Click to Expand ]
 
misterpho06
Old
#5  
Member - OP
Thanks Meter 1
Posts: 43
Join Date: Aug 2012
Thanks simms22

is flashing the boot.img required after flashing a rom?
 
simms22
Old
#6  
simms22's Avatar
Recognized Contributor
Thanks Meter 10797
Posts: 16,231
Join Date: Jun 2009
Location: BROOKLYN!
Quote:
Originally Posted by misterpho06 View Post
Thanks simms22

is flashing the boot.img required after flashing a rom?
if thats the kernel that you are flashing. theres only one that i can think of that requires flashing the boot.img, all the others are flashable via the recovery. but, to answer the question, after every rom flash, youll have to reflash your custom kernel, as the rom will overwrite the kernel that you are running.
The Following User Says Thank You to simms22 For This Useful Post: [ Click to Expand ]
 
Hereisphilly
Old
#7  
Hereisphilly's Avatar
Senior Member
Thanks Meter 62
Posts: 342
Join Date: Dec 2009
Location: Gainsborough, UK
Default Re: Kernel repacking?

Quote:
Originally Posted by misterpho06 View Post
Thanks simms22

is flashing the boot.img required after flashing a rom?
Coming from a One X myself, I can confirm that you don't need to go hunting for a repacked ramdisk for use with your kernel of choice.

As the Nexus is fully unlocked, (not some half-arsed partial unlock that was the case with the One X), all the kernels can be flashed directly within recovery

Sent from my Nexus 4 using xda premium
Device History
The Following User Says Thank You to Hereisphilly For This Useful Post: [ Click to Expand ]
 
misterpho06
Old
#8  
Member - OP
Thanks Meter 1
Posts: 43
Join Date: Aug 2012
THANK YOU for your responses guys.

any opinion on the best rom/kernel available right now for the nexus4?

I would really like the features of AOKP and cyanogenmod but hates little bugs.

Probably might stick with stock rom but maybe a franco kernel for now??
 
simms22
Old
(Last edited by simms22; 22nd February 2013 at 01:13 AM.)
#9  
simms22's Avatar
Recognized Contributor
Thanks Meter 10797
Posts: 16,231
Join Date: Jun 2009
Location: BROOKLYN!
rasbean jelly rom, trinity kernel. stock rom is good too. but theres no best, theres whats best for your needs. experiment with a few different roms/kernels, find what you and your device likes best