Closed
Bug 1204482
Opened 9 years ago
Closed 9 years ago
Provide a VirtualBox VM ready for B2G Installer use
Categories
(Firefox OS Graveyard :: B2gInstaller, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
We want a ready-to-use VM with:
- a Firefox Nightly
- ADB Helper and B2G Installer installed
- ADB and Fastboot supported devices configured for USB pass-through
Assignee | ||
Comment 1•9 years ago
|
||
Debian 8,
- Root access: root/root
- Login: b2ginstaller/b2ginstaller
Assignee | ||
Comment 2•9 years ago
|
||
A nightly is installed in ~/bin/firefox, profile is named "B2GInstaller".
The udev permissions are maintained in /etc/udev/rules.d/51-android.rules
Assignee | ||
Comment 3•9 years ago
|
||
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(dietrich)
Flags: needinfo?(dale)
Flags: needinfo?(asa)
Comment 4•9 years ago
|
||
This is awesome, but obviously we would vastly prefer users to just install the addon and it looks like you have that all working now :)
Flags: needinfo?(dale)
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #4)
> This is awesome, but obviously we would vastly prefer users to just install
> the addon and it looks like you have that all working now :)
I agree, but even in the event of mac breakage I feel this is still useful: exposes a good configuration to users, ready to use (ok, huge download), fixes usecase of windows or other unsupported OSes (BSD ?).
Updated•9 years ago
|
Flags: needinfo?(dietrich)
The counter didn't move on the last step; it kept saying 0 out of 3 for the longest time, it's hard to tell if there was any progress in the flashing process.
Having said that, my device did flash and I see that the build id ended up changing? I'm not sure how I can be sure that the gonk layer wasn't distributed.
So the flash process worked on the Mac. I need to test on windows.
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(nhirata.bugzilla)
Assignee | ||
Comment 7•9 years ago
|
||
It's not yet supported on Windows.
Interesting. I'm not sure what I did on windows. The device was detected initially, the second time I tried, the device won't detect.
I would have thought as long as the VirtualBox (virtual machine) is supported on the platform, it wouldn't matter so much. (ie the Virtual Software and associated drivers are installed). Not sure if there's a bug in the software or not. I'll look at it again later on my own time.
Assignee | ||
Comment 9•9 years ago
|
||
Ok, it was not clear, I understood from your message you tested on bare metal and not the VM.
Assignee | ||
Comment 10•9 years ago
|
||
I need to update the VM because the code inside is old now, but that will have to wait until tomorrow because I don't have proper upload speed right now :)
Assignee | ||
Comment 11•9 years ago
|
||
Update should be uploader later ...
Assignee | ||
Comment 12•9 years ago
|
||
Seems like a lot of issues started to pile up again and nothing works anymore.
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #12)
> Seems like a lot of issues started to pile up again and nothing works
> anymore.
Ok, there was issues with the USB stack and my VM ... :)
Assignee | ||
Comment 14•9 years ago
|
||
Did we want to pick up testing this once again, Alexandre?
[I assume we will wait until after we get aries-L out?]
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Comment 16•9 years ago
|
||
Yes, but before there are lots of improvements on the addon for the next testing phase. I would also like move from a handcrafted VM to something generated with Vagrant.
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(asa)
Assignee | ||
Comment 17•9 years ago
|
||
Updated the VM with a temp v0.9 version.
Assignee | ||
Comment 18•9 years ago
|
||
Updated the VM with a new temp v0.9 version that supports updating online.
Assignee | ||
Comment 19•9 years ago
|
||
VM with version B2G Installer v0.9.9 and ADB Helper v0.8.7 is ready at: https://drive.google.com/file/d/0B8Ju6ek0Knd6aE5RdUkwTnlUTjQ/view?usp=sharing
SHA1: 9cbf309fa48eb73d983150e6aab21f7facb4f327
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 20•9 years ago
|
||
This is what the VM should look like after booting. Ready to handle devices, including:
- T2M Flame Kitkat
- Sony Xperia Z3 Compact Kitkat
- Sony Xperia Z3 Kitkat (no online builds)
- LG Nexus 4 Kitkat
- LG Nexus 5 Lollipop
- Wileyfox Swift Lollipop (depends on bug 1245229)
- Fairphone 2 Lollipop (depends on bug 1245228)
Comment 21•9 years ago
|
||
I'm sorry for the question but, does this work in Windows? If not, will it do so some time soon or should I just forget it?
Assignee | ||
Comment 22•9 years ago
|
||
(In reply to Gabriela [:gaby2300] from comment #21)
> I'm sorry for the question but, does this work in Windows? If not, will it
> do so some time soon or should I just forget it?
For now, there is no Windows build. That's also why there is a VM available. For the future, here is the problem:
- getting the addon code itself ready should be a matter of fixing paths (James Hobin hacked on this during his internship last summer)
- building mkbootfs, mkbootimg and make_ext4fs for windows should work
- but as stated on https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on#TODO one of the most important feature to come would be supporting external blobs sources.
This includes downloading from OEM such as Google for their AOSP Nexus and Fairphone. Both those are releasing blobs packaged as shell script. If you can find a suitable and maintainable way of handling this on Windows, then supporting this platform would be possible.
You need to log in
before you can comment on or make changes to this bug.
Description
•