BH_MAN, I didn't read all the thread because i'm really short on time, so forgive me if i repeat something you already addressed! Also I have none of my code or notes here, so all from memory...
First off WELL DONE! Finally someone who has a Bh2 taking interest in continuing the work
I'll give you some ideas/hints to progress in random order:
- Search the galaxy forum for a few posts I made about tweaking for more memory. Although you have alot of memory available you can kill off useless processes like NPS etc and save processor cycles. It also makes a big difference on battery. You should incorporate these into your ROM.
- Check out the GALAXO custom ROM and its init.rc We added a bunch of vmcache tweaks in there which will significantly improve the caching android does. You wont be able to put these in the init.rc unless you replace the boot image, but you can run them in playlogo, since that runs AFTER the init.rc
- Check out the 'black bar' mod, which involves a hexedit in one of the frameworks. do a google search for it, or take the libraries from the galaxo ROM to get it. You will also get the newer icons if you use the galaxo framework
- Consider deleting the dalvik cache after installing the ROM (before the final reboot). This will force the cache to be regenerated for all the 'new' apps (galaxy apps), and deleted for old removed apps (bh2 apps) - and using the new libraries. This will speed up the system and save RAM.
I suggest after these mods you're kind of at your limit with 1.5. For Kernel, 1.6 and 2.x:
There are several issues with just dropping over a galaxy built kernel, or an ASOP kernel. Check out the galaxy 2.x project and build their kernel for 2.x. They have fixed the RIL problems, wifi problems and ALOT of others too.
If you google there is an easy way to turn on linux console. That will show you the dmesg on the screen of the phone AS it boots. No timing issues with running logcat quickly, and you'll get messages right from kernel load. You will see why it boot loops or dies and be able to recitfy the issues one by one.
You will most likely have a couple of driver issues, just drop in the behond2 drivers from its source, and slowly slowly you'll get it to boot.
Also remember the partitions are different on the bh2 than any other android phone. You may need to add the driver, and definatly will need to mod the init.rc
Don't waste your time building the behold 1.5 sources. They have missing patches so wont build. Also it wont get you much further in the ROM.
I'm sure you know when you copy a kernel you also need to copy its libmodules into the /system/libmodules too right?
I think the main thing to focus on is to get a bootable kernel. Then we don't need to mess around with playlogo, and don't need a new exploit to root every time. We can also insert tweaks in init.rc directly.
Good luck, and good job so far
PS. I suggest you EDIT you're first post each time, otherwise people will miss your updates.