5,599,616 Members 43,408 Now Online
XDA Developers Android and Mobile Development Forum

[Q] aosp initramfs/ramdisk source

Tip us?
 
koe1974
Old
#1  
Senior Member - OP
Thanks Meter 328
Posts: 1,147
Join Date: Oct 2007
Location: I don't have an m110s anymore
Question [Q] aosp initramfs/ramdisk source

I am working on building from aosp 4.4.2. I have built it with the pre-built kernel without any problems. Then, I managed to get a custom kernel code in place and it builds. Now the only thing left to do is the initramfs/ramdisk for the custom kernel I have in place. Currenlty my build will not boot. I suspect it is using the initramfs/ramdisk from aosp.

Can someone point me to the source files or files that handle the initramfs/ramdisk? I have found bits and pieces strewn throughout the source code but cannot pinpoint the indivitual files or the script/mk file that produces the ramdisk found in the out folder after my system finishes building.

I kinow I can change the initramfs/ramdisk manually by repacking the boot.img, but I would prefer everything be completed in the updatpackage.
I'm reckless with my devices. I'm just warning you!
 
broodplank1337
Old
#2  
broodplank1337's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9406
Posts: 4,735
Join Date: Nov 2011
Location: Nijmegen

 
DONATE TO ME
what device do you have?

Anyways, just decompile the working boot.img with dsixda's kitchen, and replace the zImage, build it again and done
Device: Samsung Galaxy S4 (i9505)

Latest Development:

Roms:
AOSP v4.4.2 (KVT49L) from source for I9505 (Github)
- Cleanest ROM available for i9505. along with up-to-date stock kernel, also forms a perfect base for ROM developers.

Apps:
Galaxy S4 Glove Mode App (Playstore link)
- Do you want the Glove Mode of the S4 but your ROM doesn't support it? Use this app to enable/disable it easily.

Latest Scraps:
Proprietary Lib Cleaner / Silent proprietary libs / Live Thermal Monitor / GIT Conflict Fixer


Upcoming projects:

broodROM KitKat "Aiming for perfection"
- Custom ROM with really high standards, more info soon, Target devices: All popular new-generation smartphones (mainly Samsung)


For sources you can visit my Github. Or take a look at all my projects

 
koe1974
Old
#3  
Senior Member - OP
Thanks Meter 328
Posts: 1,147
Join Date: Oct 2007
Location: I don't have an m110s anymore
Quote:
Originally Posted by broodplank1337 View Post
what device do you have?

Anyways, just decompile the working boot.img with dsixda's kitchen, and replace the zImage, build it again and done
I have a Nexus 5. I'm trying to avoid the, "build it again."

I would like to envsetup, lunch, make clean, make updatepackage, flash and done.

So, I'm still trying to figure out, how make knows where to get all the files and create the ramdisk in the out directory.
I'm reckless with my devices. I'm just warning you!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes