Getting FireFoxOS to Run on TS

A

ARAN

Guest
Hi All!

I was able to Obtain/Compile a Compatible and Working FireFoxOS build for the Omate Truesmart Kernel.

By following this Steps here you will be able to get and start successful FireFoxOS on your Omate Truesmart
and get a Output on the Screen.

THIS STEPS ARE ONLY FOR DEVS.
FireFoxOS for Omate Truesmart is a Work in Process and not yet finished!

Step 1: Download and unzip the Compatible build of FireFoxOS for the Omate Truesmart Kernel.
https://mega.co.nz/#!6RhBWYhA!H19ORFCWcUub4ZcVEO7LfHcVxbfgmuP76XoQGrwxD9Y

Step 2: Connect to the Omate Truesmart over ADB
adb start-server

Step 3: Prepare the System Partition for uploading the new FireFoxOS Files
adb shell mount -o rw,remount /system

Step 4: Push/Upload the downloaded and unziped FireFoxOS b2g Directory to the Truesmart System Partition
adb push b2g/ /system/b2g/

Step 5: Make the FireFoxOS Files executable.
sudo adb shell chmod -R 775 /system/b2g

Step 6: Turn the Screen on to see the Output of FireFoxOS
(You only have a few Seconds before it turns off again for saving battery)
adb shell input keyevent 26

Step 6: Run FireFoxOS on your Truesmart from the Console (make sure that Android does not run in Parallel and interfere with FireFoxOS)
adb shell LD_LIBRARY_PATH=/system/b2g/:$LD_LIBRARY_PATH /system/b2g/b2g -screen 240x240 &

If you have done everything right you should see this Debug Information in the Console

Code:
1406046526870	Marionette	INFO	marionette enabled via build flag and pref
1406046526990	Marionette	INFO	marionette-server.js loaded
1406046527223	Marionette	INFO	B2G emulator: no
1406046527225	Marionette	INFO	Device detected is x201
1406046527227	Marionette	INFO	Listening on port 2828

1406046527228	Marionette	INFO	Marionette server ready
We need to have a BusyBox Console only Firmware stripped full of Android and its related Stuff to be able to run FireFoxOS
without that Android is interfering and running in Parallel.

For this the Init Process also need to be modified.

It would be great if some very good Devs start to test this out and work on it together.

Looking forward to see very soon a FireFoxOS only firmware for the Omate Truesmart.
All the Best, Greetings ARAN.

P.S. TO Stop FireFoxOS running on Omate Truesmart you need to get the Proccess ID of b2g.
for this you run the following command and look after the b2g Preccess ID
adb shell top

after this you do
adb shell kill 1234
where 1234 is the Process ID
 
Last edited:
A

ARAN

Guest
Updating the Broken Download Link

Hi all.

Thanks a lot for your Replys and Information.
I just got notified by the User deadhp1 that the Download Link got broken/truncated after several Editing of my first Post.

I updated now the Download Link. It should work again now.
To be sure i am Reposting the Download Link here again
Sorry for this Error by my side.

https://mega.co.nz/#!6RhBWYhA!H19ORFCWcUub4ZcVEO7LfHcVxbfgmuP76XoQGrwxD9Y

Related the Sources for Building FireFoxOS.
All Steps that are needed from Getting the Sources and Building them are described on the Mozilla Developer Page.

https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS

I recommend that you first try to make a Emulator Build and run FireFoxOS inside the Delivered Emulator and test it.
After this you need just pay attention that you build FireFoxOS for the right Kernel Version Number and you should be able to run FireFoxOS on the TrueSmart by just copying only the b2g directory.

If you compile FireFoxOS for a different Kernel Version then it will be not possible to run the build on the TrueSmart.

Hope everything is clear now.
Greetings ARAN.
 

kuronosan

Senior Member
Nov 10, 2008
1,929
638
0
Hi all.

Thanks a lot for your Replys and Information.
I just got notified by the User deadhp1 that the Download Link got broken/truncated after several Editing of my first Post.

I updated now the Download Link. It should work again now.
To be sure i am Reposting the Download Link here again
Sorry for this Error by my side.

https://mega.co.nz/#!6RhBWYhA!H19ORFCWcUub4ZcVEO7LfHcVxbfgmuP76XoQGrwxD9Y

Related the Sources for Building FireFoxOS.
All Steps that are needed from Getting the Sources and Building them are described on the Mozilla Developer Page.

https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS

I recommend that you first try to make a Emulator Build and run FireFoxOS inside the Delivered Emulator and test it.
After this you need just pay attention that you build FireFoxOS for the right Kernel Version Number and you should be able to run FireFoxOS on the TrueSmart by just copying only the b2g directory.

If you compile FireFoxOS for a different Kernel Version then it will be not possible to run the build on the TrueSmart.

Hope everything is clear now.
Greetings ARAN.
Firefox team has been in contact with me about help with the kernel source, but I might need to refer to a couple of you guys about it as I'm still learning the ins and outs of kernel compiles for MTK.
 

thgxda

Member
Dec 16, 2015
36
8
0
Hi kuronosan,

Firefox team has been in contact with me about help with the kernel source, but I might need to refer to a couple of you guys about it as I'm still learning the ins and outs of kernel compiles for MTK.
can we expect something new here, or is it just "over" after Mozilla stopped any further FirefoxOS-development?

Thanks a lot,

Kind regards,

thgxda
 
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