Building replicant for the Galaxy Player 50 (YP-G50).
PaulK
paulk at paulk.fr
Tue May 29 20:57:00 UTC 2012
> > , however I suspect that replacing the kernel
> > sources have an issue: what configuration did it take(the configurations
> > are in arch/arm/configs)? to be sure you could run
> > script/extract-ikconfig on the kernel binary...
To have this done right, you must understand a bit of how kernel
compiling works. I'll give you some hints:
- on android (and embedded devices in general), you need a per-device
kernel configuration
- given the number of options, you can't determine it on your own, so
you have to take the same configuration layout as on official samsung
images
- to do so, download an official update package from samsung for your
device and run "script/extract-ikconfig" against the kernel file, likely
to be named "zImage"
- once you have the configuration layout, store it somewhere in
arch/arm/configs/
- then you must make sure the android build system will load this
configuration
- to change it, on galaxysmtd, modify the following file:
vendor/replicant/products/replicant_galaxysmtd.mk
- then you are ready to build for galaxysmtd with "make -j4
recoveryimage"
- the file to flash with heimdall is "recovery.img" for (kernel +
recovery) or "boot.img" for (kernel + initramfs) but if you take
ramdisk.img, you only have initramfs which is just a couple of files in
an archive
Though, I think the correct configuration is already there, and you
might want to search for a todo or readme file at the index of the
archive you got from samsung with instructions. It'll likely point you
to the correct config file to use.
Please bear in mind that dealing with the kernel requires some
particular knowledge so I encourage you to learn as much as possible how
things work before trying to do stuff you're unsure about (like flashing
ramdisk.img). I know we all get to start with very few knowledge but it
is important for you to understand what you're doing.
--
Paul Kocialkowski, Replicant developer
Replicant is a fully free Android distribution
Website: http://www.replicant.us
Wiki/Tracker: http://redmine.replicant.us
More information about the Replicant
mailing list