Porting Firefox OS to FP1 - Fairphone

Continuing the discussion from Firefox OS is the way to go!
Hi guys!
I am new to xda-devs, but have been visiting it for useful information in the past.
I own a FP1 (First Edition) and am seeking to port FFOS to the FP1.
I do not have any developing experience, I have just done C and Java and I am comfortable with Linux's CLI.
I am following this guide: Porting Firefox OS
Currently I am stuck at the following: Create a manifest for the new device
[edit]
Which changes do I have to make to the hamachi manifest mentioned there?
I figured out, that most of the stuff is hamachi-specific and thus not required. My current manifest is attached. Could you please take a look and tell me, if this is enough?
These files are at hand:
madde on Fairphone Forum said:
Well there already is a recovery file for the fp1 + fp1u by chrmhoffmann up and running. The MTK6589 source code is kind of released and there has been a lot of work on the android code by the omnirom project, which might come in handy.
Should be definitely manageable to build and try out Firefox OS on the FP1. UnfortunatelyI'll just don't have the time to really dig into that. Maybe someone with a bit more experience can give it a shot. I'd love to see and try out the result...
Click to expand...
Click to collapse
I am inviting @madde-, @_keesj and @chrmhoffmann, I hope you, or others, can help me out.
Thanks in advance, Stefan
PS.: As I am new to xda-devs, I do not know, if my thread is in the right position and/or tagged correctly. Please give some advice on how to improve my original post.
Edit: My current manifest is attached.

I'm very interested by a portage of Firefox OS to the Fairphone
Don't have enought time to test for now, but I stay connected

Newluck77 said:
Continuing the discussion from Firefox OS is the way to go!
Hi guys!
I am new to xda-devs, but have been visiting it for useful information in the past.
I own a FP1 (First Edition) and am seeking to port FFOS to the FP1.
I do not have any developing experience, I have just done C and Java and I am comfortable with Linux's CLI.
I am following this guide: Porting Firefox OS
Currently I am stuck at the following: Create a manifest for the new device
[edit]
Which changes do I have to make to the hamachi manifest mentioned there?
I figured out, that most of the stuff is hamachi-specific and thus not required. My current manifest is attached. Could you please take a look and tell me, if this is enough?
These files are at hand:
I am inviting @madde-, @_keesj and @chrmhoffmann, I hope you, or others, can help me out.
Thanks in advance, Stefan
PS.: As I am new to xda-devs, I do not know, if my thread is in the right position and/or tagged correctly. Please give some advice on how to improve my original post.
Edit: My current manifest is attached.
Click to expand...
Click to collapse
Did you try your file out? I's think it's probably best to cut down on just the relevant settings.

madde- said:
Did you try your file out? I's think it's probably best to cut down on just the relevant settings.
Click to expand...
Click to collapse
Yes, the config.sh got stuck at like 93%.
Also I have no idea, what exactly I have to include into the manifest file. I think I need a toolchain, but I am not sure where to get one, and how to apply it. (I somehow know what it is though, I think... )
Ok, running the config.sh comes at the very end, so I probably should continue with the configuration tree[1]...
Does everything in here [2](@chrmhoffmann's repo android_device_fp_FP1) go to the configuration tree?
[1]: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Firefox_OS/Porting#Create_a_configuration_tree_for_the_new_device
[2]: https://github.com/chrmhoffmann/android_device_fp_FP1
PS.: Sorry, not allowed to post links...

Newluck77 said:
Yes, the config.sh got stuck at like 93%.
Also I have no idea, what exactly I have to include into the manifest file. I think I need a toolchain, but I am not sure where to get one, and how to apply it. (I somehow know what it is though, I think... )
Ok, running the config.sh comes at the very end, so I probably should continue with the configuration tree[1]...
Does everything in here [2](@chrmhoffmann's repo android_device_fp_FP1) go to the configuration tree?
[1]: https://developer.mozilla.org/en-US...reate_a_configuration_tree_for_the_new_device
[2]: https://github.com/chrmhoffmann/android_device_fp_FP1
PS.: Sorry, not allowed to post links...
Click to expand...
Click to collapse
any progress on that? Might be able to help you a little bit in the next few weeks.
Cheers!

madde- said:
any progress on that? Might be able to help you a little bit in the next few weeks.
Cheers!
Click to expand...
Click to collapse
No haven't been able to work on this.
I still have no idea, where and how to build this configuration tree. Do you have advice on this?
Thank you, Stefan

Fyi, a build is now available. As a new user on XDA, I can not post link here (what a ****ty rule), but check bug 1139642 on bugzilla and search Fairphone on the Mozilla Developer Network (MDN) to have more info.

Wrong phone (FP1(U) vs FP2)
The build, you are referring to, is for FP2, not for FP1.
A Firefox OS for FP1 could possibly be built using the source by @chrmhoffmann: http://forum.xda-developers.com/fairphone/orig-development/rom-fairphone-fp1-kitkat-4-4-2-t3243623

Related

[W O R K I N G] Kaiser-Buntu - Ubuntu on the HTC Kaiser (!UPDATED w/DL-links!)

Hello everyone,
I am happy to inform all those folks who waited for a full Linux operating system on the HTC Kaiser PDA that today a little bit modified version of Zubuntu finally booted successfully on my HTC Kaiser.
It is a really in the alpha-state but it works, let's see what do we have:
TouchScreen: works perfectly with calibration
Screen: looks good. but programs doesn't support Kaiser's small resolution. You can fix this by using INTERPOLATION, but this makes picture quality a lot worse. To try it out edit the default.txt, find the mddi.height and mddi.weight values and change to for example 480 and 360.
Keyboard: works exactly as expected, some fine tuning with the keyboard map will be done
ScreenRotating
Not tested/not working:
WiFi (MY #1 ISSUE, TRYING TO FIX): I extracted the wifi section from an Android rootfs, successfully modprobed wlan.ko, dmesg shows that the driver is loaded OK, but:
Code:
iwconfig
tiwlan0: no wireless extensions
ifconfig tiwlan0 up
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
TI's WLAN_LOADER program didn't work either, so now I am moving to the other driver (wl12xx)
Bluetooth (Driver is there, no BT programs installed, couldn't test it)
3G
Cameras
Phone (NO dialer, nothing, however perhaps gsm-libs can help us firing it up)
Many many thanks goes for all these people form the #htc-linux IRC channel: randomblame, Markinus, ali1234, Ondalf and bombenbach for their outstanding support and help!
I would like to say thank you especially to phh for his awesome help and patience with me!
Click on the image for more pictures!
Stay tuned for: hopefully working WiFi, screnshots, YouTube-demonstration.
If you are interested, want to say thank you, want to help, or have an idea how to fix some things please write into this topic.
Also if you like my work, please consider a little a donation for me
After all, I am pretty sure now you want to try this on your own too, so here is the link for the Google-Code website. Download all the files and read the Wiki to know what to do.
http://code.google.com/p/kaiser-buntu/http://code.google.com/p/kaiser-buntu/
Link to RootFS:
http://www.megaupload.com/?d=ANRC94ON
Mirror (thanks to jmcbrother):
http://rapidshare.com/files/371631240/ubuntu_rootfs.rar
Mirror #2 (thanks to hoatienii):
http://www.mediafire.com/?uvytadoykyy
Want to be updated? Check out the project's Twitter page!
http://www.twitter.com/kaiserbuntu
Thank you,
DOMy
RESERVED for future additions
Reserved for future additions
great work . please upload link to test
Sweet that is great news! I can't wait to try it out!
Me wants the alfa link
This is so great!
Maybe we can find a solution at my hackersspace.
Great Work... Luv Linux.... Ported Android on Windows Mobile Device... Eager to port Ubuntu on Kaiser...
can you please share the Linux Beta link ...
Makes me almost wanna install Ubuntu on my PC.
Dukenukemx said:
Makes me almost wanna install Ubuntu on my PC.
Click to expand...
Click to collapse
me 2
oh……thank you……I wanna test……wait ……
Would it be destructive to flash it to nand at this point in the project?
I wouldn't count on it even remotely fitting on the NAND. Besides, you'll probably have to have half the apps on an SD card anyway...
how about a build that will work with the new nomorootfs installers so hose of us like me can try it without going back to winmo, Would like to install to ext2.img files or sdcard partitions.
And is this remotely close to the MER Linux build that progress seems to be halted on I was able to get it to work
working XWindow?
I wouldn't recommend installing it to NAND (it doesn't work so good, for example I didn't have time to test power/suspend).
Xwindows works perfectly (except the resolution issue).
DOMy
resolution issue. can you please explain that? (whats wrong in resolution) before i flash back to ,WM and try it
Michga said:
resolution issue. can you please explain that? (whats wrong in resolution) before i flash back to ,WM and try it
Click to expand...
Click to collapse
The problem is that the rootfs is not for the Kaiser and the Xserver uses some hardcoded resolution (that means there is no config file for it) so circa half of the windows are too big for the screen. It is not a big problem because you can move them around so it is easy to get to one of the corners and resize them so you can see the whole thing at once.
Fixing this is on my To-Do list
sorry for the dumb question but...
will this support phone???
no mention in the OP.
I assume no. (for now anyway)
mnjm9b said:
sorry for the dumb question but...
will this support phone???
no mention in the OP.
I assume no. (for now anyway)
Click to expand...
Click to collapse
Driver support is there, but AFAIK no frontend yet.
DOMy
mod: I found this: http://packages.ubuntu.com/hardy/comm/gsm-utils and this http://manpages.ubuntu.com/manpages/gutsy/man8/gsmctl.8.html perhaps I will try it later (or someone can try it and report)
This intrigues me muchly, but why ubuntu/debian based?
There are other, (and imho simpler), bases to build on, slackware springs to mind, and there are some tiny distros out there, which may also be worth looking at, to say nothing of the likes of Familiar, an interesting candidate for a non-android htc-linux.

How to build ROM for HTC Desire

Hi all Desirian Guru,
I am not sure this is the right place to bring this stupid question, but if you, the operator, found it is wrong, please move to where it should be. I would like to create or develop, if I can, my own custom ROM for fun and share. Could anyone here kindly point me what steps I should take, what the prerequisites I should have.
Appreciate you guys so much if those tools are supported on my Ubuntu.
and on windows too!
Same sort of thread made before: http://forum.xda-developers.com/showthread.php?t=817699
Might help
Start here, if you are intending to build from the AOSP source:
http://source.android.com/porting/index.html
http://source.android.com/source/git-repo.html
Get the source code from here:
http://android.git.kernel.org/
There is an unofficial "vendor" from devoferreria for the htc bravo board here:
https://github.com/defer/android_device_htc_bravo
The cyanogenmod wiki has a load of excellent info on it, including compiling your kernel:
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
If you are looking to mod a SenseUI rom there are guides around here that explain how to change the framework. That is a different art ... use a wider forum search and you should find them.
TheGost1233, stOkes,
thanks for your advise.
You guys rock.

[Q] Requirements for AOKP on serranoltexx

Hey guys!
I just got my serranoltexx and am fairly happy. However, I really would like to try and get AOKP running. Could any devs point me in the direction of where to start, you know, just bootstrap me with some reading? I have a background in Linux and UNIX, have developed some networking stack API projects on windows and have written a ****load of bash, perl etc. scripts in the past. I've also worked on the Matroska container format. Compiling etc. pose no challanges for me. However, I have never fumbled around with Android and I have no idea what drivers and other components might be needed. And how to start finding out what's missing...
I do know how to bootstrap my source repository and sync it... and in theory also how to compile AOKP - for supported devices, that is. What I don't know is: how do I start resolving unmet dependencies, and, you know, generally port a rom to a new device?
Please don't post if you haven't even compiled your own ROM yet. More likely than not, you'd be wasting your time.
I've posted on xda-dev as well, not sure which is the more suitable forum, possibly this one... Link to the other thread:
http://forum.xda-developers.com/showthread.php?t=2501539
And please don't post me to this guide right here as it is only of limited help. As I said, I know how to do it in general... You know, this guide:
http://aokp.co/learn/so-you-want-to-build-aokp-jb-ubuntu-1204
I tried to build it, but many things are missing once i flashed the *.zip.
Maybe i messed up with sources and patches.
Tell us if you have success! :good:

QNX based infotainment systems and navigation apps

Hello,
I'm actuallty working on Ford's SYNC3 system which is based on QNX 6.50. I have full access to it and would like to modify the navigation system. Actually, the system uses either Telenav (for EU and NA maps) or NNG (for rest of the world). None of those two systems is really satisfying as they are closed source and don't allow much modifications.
Therefore, I would like to build (compile) or port another system; preferably open source.
First I thought of osmand which is open source but I was told that QNX doesn't have everything needed to port it. Now I wonder if Navit : www navit-project org could be compiled for QNX.
So I would appreciate if anybody could help me / give me some info on it.
Regarding closed source apps, I saw that some car brands using QNX run Tomtom. But I can't find anything regarding an SDK for this.
Thanks in advance for all your help / hints.
Maybe it is not appropriate to ask here.. But it seems you have already give up your another thread.
I'm also on to that SYNC3 system, but I only got a update image that I dont know how to extract. Can you tell me how you extract that image?
It seems like QNX6 filesystem but I failed to mount it. I downloaded the files you posted in your another thread, and carved binaries from my own image, the files seems to fit.
Sorry I can't help you about your problem, and sorry for the interrupt, but I really need some help and find nowhere to ask. Thanks.
stang18 said:
Hello,
I'm actuallty working on Ford's SYNC3 system which is based on QNX 6.50. I have full access to it...
Click to expand...
Click to collapse
Hi stang18, I wish I had knowledge on the topic and could help you, but I can't.
I'm very interested if you could elaborate on how you gained full access to the SYNC 3 system.
I would much appreciate it and I believe the people from this thread would also be interested:
https://forum.xda-developers.com/general/connected-car/ford-sync-3-shell-access-t3707308
Thank you so much and I hope someone will be able to help you too.
Well I just noticed that the thread I added above was yours to begin with and seems you've managed to get all the access you wanted.
I'd be very happy if you could share the procedure of how you managed do it.
Thanks!

Google Fuchsia OS testers needed

Hi everyone! So I stumbled across the Google Fuchsia dev page with the source, so I thought, that it would be fun to port this OS to the Pixel cause' why not? But I need a tester who is willing to flash the ROM. If anyone want to help, reply to the thread!
P.S: I have a working build that I am currently trying to get the graphics to work on in emulation, QEMU, so if you want to check that image out, just reply to the thread.
I'll give it a try
Ok, I'm uploading the OS, I'll let you know when it's done.
Count me in too, please
No problem, I'm currently making a driver for video and graphics cause without those you are only gonna see text fly by
Also, take a look at my poor laptop while this process is going:
I am interested. Sound like a nice project ?
Oooh, I'll give it a try.
Finally an update!!
LosDef said:
Oooh, I'll give it a try.
Click to expand...
Click to collapse
Thank you so much and sorry for the 3 month long wait as I had to do so much stuff to get ARM64 support back. But it's done now! And the biggest problem for now is that we need some kind of EFI in the phone. So my request to you is, can you find something that allows EFI booting on the Pixel and if you can, please tell me how I can, cuz' that will help me out a ton.
Is this work still in progress? That's interesting.
I am ready to test Google Fuchsia OS.

Categories

Resources