[ROM][v2.1][WIP] FirefoxOS dualboot with Cyanogenmod 10.2 for SGSII (i9100 /i777)

Search This thread

_AtilA_

Member
Jul 29, 2011
25
52
[ROM][v2.1][WIP] FirefoxOS dualboot with Cyanogenmod 10.2 for SGSII (i9100 /i777)

UPDATES
30 - Jun - 2014
- Updated to lastet Gecko and Gaia versions (v2.1!!). CHECK THE NEW INTERFACE!!
- Some stuff is broken like SIM recognition... but it's a common error for most of 2.1 devices. There's a patch on the way.
- Colors swapping issue
Download: ffos-sgs2-jb-30-Jun-2014.zip

23 - Feb - 2014
- Updated to latest Gecko and Gaia versions (yesterday builds). Lot of new cool stuff!!
- Graphic errors fixed!!! Now it's *really* smooth :)


Hi there!,
I've been working on supporting Samsung Galaxy S2 (mostly i9100, partially i777) with FirefoxOS for a long time, and I would like to share my work with you.

FirefoxOS-logo.png

Dualboot
General info
System files (/system) are installed on the HIDDEN partition () so they DON'T conflict with CyanogenMod 10.2 ROM.
I use CyanogenMod Kernel with no modifications, all dualboot stuff is based on initramfs (indeed is based on Siyahkernel approach).
How to dual-boot
It's a rudimentary mechanism so far. You have to: adb shell, and type (no matter where ROM you are):
If you want to boot into CM10.2 - Note: If you don't have installed CM10.2, please don't do this!!:
Code:
 # cr.sh 1
If you want to boot into FirefoxOS - Note: it can be any number different from 1, i.e: cr.sh 3, cr.sh 5:
Code:
 # cr.sh 2
Your device will reboot in this very moment, and will boot into the selected ROM.
The first time, FirefoxOS ROM will be booted by default.

Downloads
I'm providing a CWM installable .zip so you can test it without having to build the whole system.

Installing
  • Boot into recovery mode with CWM.
  • Make a backup (as always).
  • Save your backup in other place than your device (no matter what partition you are using), please.
  • adb push ffos-sgs2-jb-version-2014.zip /emmc
  • Install zip from sdcard
  • Insall zip from internal sdcard
  • Select the .zip file
  • Install it!!!

In case you want to go further and compile everything from scratch, I would suggest you to see my G+ post with detailed instructions on how to build it by yourself.

Of course, all my work is available under my Github account.

Features at a glance:
  • Dual boot with CM10.2 (if you have installed it)
  • Rooted
  • Adb Insecure
  • FirefoxOS v1.4

What's not working:
  • Flickering graphics
  • Camera
  • Mobile data
  • Wifi on i777
  • Hardware Home button on i777

Do not expect a very stable version!

Thanks to
Cyanogenmod, cause it's amazing work on this device despite Samsung, I'm using your kernel.
Siyahkernel, cause my dualboot solution is inspired by yours.
All the people helped me testing very first releases, risking their devices ;).

Enjoy!

_AtilA_ (@longor)


XDA:DevDB Information
[ROM][v2.1][WIP] FirefoxOS dualboot with Cyanogenmod 10.2 for SGSII (i9100 /i777), ROM for the Samsung Galaxy S II

Contributors
_AtilA_
ROM OS Version: 4.3.x Jellybean

Version Information
Status: Alpha

Created 2014-01-16
Last Updated 2014-07-02
 

arekmelerski

Senior Member
Jan 19, 2010
198
25
I install rom and after booting i dont have desktop, only black screen, power button work, after pull display power menu, volume buttons also working, after pull screen display volumebar, but desktop is black :/
 

_AtilA_

Member
Jul 29, 2011
25
52
I install rom and after booting i dont have desktop, only black screen, power button work, after pull display power menu, volume buttons also working, after pull screen display volumebar, but desktop is black :/

The first .zip I provided was wrong, if this is the one you've installed (it's less than 100 Mb) download the new one (just click in the link) and install it again.
 

_AtilA_

Member
Jul 29, 2011
25
52
I run again FF OS, same black screen, no desktop but i have sms notifikation, but can't i touch this ;/

hmmm... I'm having a lot of fun trying to figure out wich files are necessary and which are not... Anyway, I think I solved the problem... new .zip uploaded.
I hope this one works :)
 

amirfida

Senior Member
Jul 15, 2011
703
220
Working on it! I can't give you a date right now. I'll probably fix the camera first, release a new updated version (Gaia/Gecko) and then fix the mobile data.

Stay tunned ;)

yahoo actually mobile data is not really much much important :D okay well how to dual boot ? i mean does this zip file include dual boot thingy ? means cm 10.3 is already there or i need to follow some steps ?
 

_AtilA_

Member
Jul 29, 2011
25
52
how to install ? it says you need cm 10.1 installed and i installed then also tried but its same :(

Where does it say you need cm 10.1?
All the instructions are in the first post: http://forum.xda-developers.com/showpost.php?p=49484692&postcount=1
If you want dualboot (it's not mandatory) you cannot install CM10.2 after installing ffos.zip, cause the boot.img (zImage on SGS2) I modifed would be overwritten with the one from CyanogenMod, wich is not dualbootable.
So:
1º - Install CM10.2
2º - Install FFOS
 

amirfida

Senior Member
Jul 15, 2011
703
220
Where does it say you need cm 10.1?
All the instructions are in the first post: http://forum.xda-developers.com/showpost.php?p=49484692&postcount=1
If you want dualboot (it's not mandatory) you cannot install CM10.2 after installing ffos.zip, cause the boot.img (zImage on SGS2) I modifed would be overwritten with the one from CyanogenMod, wich is not dualbootable.
So:
1º - Install CM10.2
2º - Install FFOS

oops sorry i meant 10.2 i installed cm 10.2 first and then firefox OS it says that i need cm 10.2 installed which i have already i asked you on google plus and you said me to follow some procedure but where shall i follow it in recovery or booted up device ?
 

_AtilA_

Member
Jul 29, 2011
25
52
oops sorry i meant 10.2 i installed cm 10.2 first and then firefox OS it says that i need cm 10.2 installed which i have already i asked you on google plus and you said me to follow some procedure but where shall i follow it in recovery or booted up device ?

Your device with CM10.2 booted up
 

amirfida

Senior Member
Jul 15, 2011
703
220
okay i managed to install it :)

now review time :)
first of all this rom is still sluggish i don't know why it's like that despite being dual core mobile it's still laggy :/ when laggines will be fixed ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    [ROM][v2.1][WIP] FirefoxOS dualboot with Cyanogenmod 10.2 for SGSII (i9100 /i777)

    UPDATES
    30 - Jun - 2014
    - Updated to lastet Gecko and Gaia versions (v2.1!!). CHECK THE NEW INTERFACE!!
    - Some stuff is broken like SIM recognition... but it's a common error for most of 2.1 devices. There's a patch on the way.
    - Colors swapping issue
    Download: ffos-sgs2-jb-30-Jun-2014.zip

    23 - Feb - 2014
    - Updated to latest Gecko and Gaia versions (yesterday builds). Lot of new cool stuff!!
    - Graphic errors fixed!!! Now it's *really* smooth :)


    Hi there!,
    I've been working on supporting Samsung Galaxy S2 (mostly i9100, partially i777) with FirefoxOS for a long time, and I would like to share my work with you.

    FirefoxOS-logo.png

    Dualboot
    General info
    System files (/system) are installed on the HIDDEN partition () so they DON'T conflict with CyanogenMod 10.2 ROM.
    I use CyanogenMod Kernel with no modifications, all dualboot stuff is based on initramfs (indeed is based on Siyahkernel approach).
    How to dual-boot
    It's a rudimentary mechanism so far. You have to: adb shell, and type (no matter where ROM you are):
    If you want to boot into CM10.2 - Note: If you don't have installed CM10.2, please don't do this!!:
    Code:
     # cr.sh 1
    If you want to boot into FirefoxOS - Note: it can be any number different from 1, i.e: cr.sh 3, cr.sh 5:
    Code:
     # cr.sh 2
    Your device will reboot in this very moment, and will boot into the selected ROM.
    The first time, FirefoxOS ROM will be booted by default.

    Downloads
    I'm providing a CWM installable .zip so you can test it without having to build the whole system.

    Installing
    • Boot into recovery mode with CWM.
    • Make a backup (as always).
    • Save your backup in other place than your device (no matter what partition you are using), please.
    • adb push ffos-sgs2-jb-version-2014.zip /emmc
    • Install zip from sdcard
    • Insall zip from internal sdcard
    • Select the .zip file
    • Install it!!!

    In case you want to go further and compile everything from scratch, I would suggest you to see my G+ post with detailed instructions on how to build it by yourself.

    Of course, all my work is available under my Github account.

    Features at a glance:
    • Dual boot with CM10.2 (if you have installed it)
    • Rooted
    • Adb Insecure
    • FirefoxOS v1.4

    What's not working:
    • Flickering graphics
    • Camera
    • Mobile data
    • Wifi on i777
    • Hardware Home button on i777

    Do not expect a very stable version!

    Thanks to
    Cyanogenmod, cause it's amazing work on this device despite Samsung, I'm using your kernel.
    Siyahkernel, cause my dualboot solution is inspired by yours.
    All the people helped me testing very first releases, risking their devices ;).

    Enjoy!

    _AtilA_ (@longor)


    XDA:DevDB Information
    [ROM][v2.1][WIP] FirefoxOS dualboot with Cyanogenmod 10.2 for SGSII (i9100 /i777), ROM for the Samsung Galaxy S II

    Contributors
    _AtilA_
    ROM OS Version: 4.3.x Jellybean

    Version Information
    Status: Alpha

    Created 2014-01-16
    Last Updated 2014-07-02
    1
    Nice work mate! Much appreciated :D
    1
    when camera and mobile data will be fixed ? just asking no hurries because i wanna try it :D

    Working on it! I can't give you a date right now. I'll probably fix the camera first, release a new updated version (Gaia/Gecko) and then fix the mobile data.

    Stay tunned ;)
    1
    Keep going

    Am giving a try for this OS i hope it's gonna be awesome :D
    Keep On Man ;)
    Waiting for The Camera And Mobile Data get Fixed :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone