Gordon, I think they meant to use Nexus4 as a base to make you own port of
SGS2.
Well, I'm worikng on this very port but I'm having some issues with the
framebuffer / gralloc ... as soon as I figure out how to fix it I'll write
to the list to share my work and try to integrate it with the mainstream
project.
You can see a preview of all the work I've already done under my github
account.
Try to clone: [email protected]:atilag/B2G.git and then:
$ git checkout sgs2-jb
$ ./config.sh galaxy-s2-jb
$ ./build.sh
(don't use flash.sh!)

Right now it's mandatory to have Cyanogenmod 10.2 previously installed!!

The initramfs is built separately. Clone:
[email protected]:atilag/initramfs-i9100-jb-dual-boot-b2g.git
and [email protected]:atilag/android_kernel_samsung_smdk4412.git, and then:
$ cd android_kernel_samsung_smdk4412
$ ./build_s2_kernel.sh (you will probably have to change the toolchain path
into the script)
This will generate a dual-boot like kernel on:
android_kernel_samsung_smdk4412/zImage, use heimdall if you wish to flash
it.

Dual-boot managment
================
$ adb shell mount /dev/block/mmcblk0p11 /preload
$ adb shell echo "1" > /preload/.defaultrom (to boot CM10.2)
or
$ adb shell echo "2" > /preload/.defaultrom (to boot B2G)


Juan Gómez [:_AtilA_]






On Wed, Oct 23, 2013 at 1:46 AM, Gordon <[email protected]> wrote:

> Still banging away on this, here's where I'm at.
>
> ThomasTsai, I tried cloning the git repo you mentioned, but
> I get permission errors, and when I went to your bitbucket.org
> I couldnt find the specified repo.  Has it gone away, or is my
> git-fu lacking?
>
> What I did instead was run ./config.sh nexus-4 to build for JB.
> Config runs, ./build.sh runs to completion as well.  However when I
> try to ./flash.sh the image to my gs2, the script never progresses past
> <waiting for device>.  The phone switches to download mode, then
> then everything just stops.
>
> I looked at the ./flash.sh script, is heimdall only envoked if the
> .config.sh environment specifies the Galaxy S2?  Do I need to call
> heimdall manually and flash all the bits separately?  Do I need to
> edit flash.sh?  Is there something I'm overlooking?
>
> I've added all the udev rules, adb sees the phone, heimdall and fastboot
> do too.
>
> Any help would be greatly appreciated!
> -Gordon
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to