Jump to content


Photo

[DEV][ROM] Firefox OS for ZTE V9 [alpha - not for production]

- - - - -

  • Please log in to reply
10 replies to this topic

#1
PlaguedByPenguins

PlaguedByPenguins

    Regular

  • Members
  • PipPip
  • 108 posts
  • Gender:Male
  • Location:Canberra, Australia
  • Devices:ZTE V9
for the insane or just very curious amongst you, here is a pre-alpha rom of Firefox OS (Boot to Gecko) for ZTE v9.

Attached File  2013-08-19-21-49-56.png   246.27KB   23 downloadsAttached File  2013-08-19-22-01-07.png   313.54KB   25 downloadsAttached File  2013-08-19-22-07-14.png   107.94KB   23 downloads

AFAICT this is the first Android based armv6 port of Firefox OS! (I don't think the RPi port is Android/gonk based, and I can't see any other working armv6 b2g ports). it also looks like it's the first b2g device with all the headaches of a 270 degree screen rotation.

this is NOT an official Firefox OS port, nor a port that should be taken as representative of how Firefox OS behaves. there are many many things still not working and/or very slow which I would expect to be fixed in a real port. I just did the port to see if I could, and to see what Firefox OS looks like. my port is far from complete and is unlikely to ever be finished.

current git 'master' of the b2g gecko/gaia code was used. b2g was ported using my CyanogenMod 10 rom for v9 as a base. I use the gonk ICS graphics layer instead of a JB gonk as hwcomposer > 1.0 support doesn't exist in my CM10 or 10.1 ports so can't support a true JB gonk. lots of other hackery to get it to (semi) work.

the zip WILL format your /data, /boot, and /system partitions on install (won't touch the sd card though), so make sure you have backed these up before you start. it is also likely to crash.

download here (it WILL wipe all your data - backup first)
b2g-v9-20130822.zip
md5sum fc5071888b16993488d427adcf2cd14a

this rom requires >160MB in /system and >66MB in /data.

working
- display
- home button, power and volume buttons
- touchscreen
- screen rotation
- battery charging and levels
- sensors (light level, orientation, gravity)
- phone (RIL)
- sms
- wifi
- screen brightness and screen on/off
- vibration
- headphone detection and audio routing
- gps
- sdcard
- usb storage
- bluetooth (pairs ok, but nothing else tested)
- web browser
- boot logo (but rotated 90 degrees)

almost working
- audio (works ok after volume up/down is pressed when audio is playing - needed to init the audio system?)
- 2d and 3d graphics is working but seems slow

not working
- mobile data (rmnet0 comes up ok, but dns isn't set)
- camera
- fm radio
- ...


for sources and instructions see
Firefox OS Porting
my github

version history

2013-08-22
- fixed sdcard handling which also fixed usb storage and screenshot
- mozilla folks fixed bluetooth, gps, boot logo, most browser skitishness
- mozilla also changed the apps/market screen on the left. I think now it's generated from searches on the home screen?
- mozilla fixed mobile data default route, but mobile dns still doesn't work for me - might work for another carrier?
- graphics seems smoother now, but moving the shade up/down is actually slower according to the framerate metric (was 30fps, now ~12-15)

2013-08-06
- initial release

Edited by PlaguedByPenguins, 24 August 2013 - 02:59 AM.

  • 4

#2
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,654 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio
Awesome job. :) Congratulations on the first ARMv6 port!

  • 0

#3
RogyHyde

RogyHyde

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Devices:ZTE Skate/ZTE V9+/LG Nexus 4
Wow, :0
Congratulations! :D

  • 0

#4
naifah

naifah

    Regular

  • Members
  • PipPip
  • 74 posts
waw pbp again..?goodjob man....
any review btw..?

Edited by naifah, 11 August 2013 - 01:32 PM.

  • 0

#5
RogyHyde

RogyHyde

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Devices:ZTE Skate/ZTE V9+/LG Nexus 4
I suppose that if I install this in a V9+, the touchscreen is no responding, no?
I think I will try, :/
If it don't work, I will be restoring the system (CM7.2) and all is ok.

EDIT:
CWM-based Recovery v4.0.1.5

--Installing: /sdcard/b2g-v9-20130806.zip
Installing update...
symlink: some symlinks failed
E:Error in /sdcard/b2g-v9-20130806.zip
(Status 7)
Installation aborted.

I remember... it is same error I got when installing any Android 4.X rom.
I forgot I repartitioned the NAND memory with this tutorial: http://www.modaco.co...tup-2011-08-15/

Restoring CM7... :/

I think I need a GP Peak+, xD

Edited by RogyHyde, 13 August 2013 - 04:20 PM.

  • 0

#6
PlaguedByPenguins

PlaguedByPenguins

    Regular

  • Members
  • PipPip
  • 108 posts
  • Gender:Male
  • Location:Canberra, Australia
  • Devices:ZTE V9

I suppose that if I install this in a V9+, the touchscreen is no responding, no?
...
I remember... it is same error I got when installing any Android 4.X rom.
I forgot I repartitioned the NAND memory with this tutorial: http://www.modaco.co...tup-2011-08-15/

according to your link you have "Layout: /system 136Mb /data 300Mb /cache 5Mb". my firefox OS, cm10, cm10.1 roms need > 149, 154, and 196MB in /system respectively. so none of those OS's will work with the nand partitioning you have now, sorry.

most people seem to use the standard gen2 partitioning (where /system is 220MB) and then put many/all apps (that normally use space on /data) onto the sdcard via various means.

if you have a capacitive screen v9 model then I very much doubt it'll work with this firefox OS rom, but I'm not sure - there are some input handling differences between firefox OS and android.

Edited by PlaguedByPenguins, 14 August 2013 - 04:03 PM.

  • 0

#7
PlaguedByPenguins

PlaguedByPenguins

    Regular

  • Members
  • PipPip
  • 108 posts
  • Gender:Male
  • Location:Canberra, Australia
  • Devices:ZTE V9
2013-08-22 rom posted. sdcard works now and generally it's a lot more usable. only mobile data is really a fundamental usability issue now.

  • 0

#8
naifah

naifah

    Regular

  • Members
  • PipPip
  • 74 posts

for the insane or just very curious amongst you, here is a pre-alpha rom of Firefox OS (Boot to Gecko) for ZTE v9.

Attached File  2013-08-19-21-49-56.png   246.27KB   23 downloadsAttached File  2013-08-19-22-01-07.png   313.54KB   25 downloadsAttached File  2013-08-19-22-07-14.png   107.94KB   23 downloads

AFAICT this is the first Android based armv6 port of Firefox OS! (I don't think the RPi port is Android/gonk based, and I can't see any other working armv6 b2g ports). it also looks like it's the first b2g device with all the headaches of a 270 degree screen rotation.

this is NOT an official Firefox OS port, nor a port that should be taken as representative of how Firefox OS behaves. there are many many things still not working and/or very slow which I would expect to be fixed in a real port. I just did the port to see if I could, and to see what Firefox OS looks like. my port is far from complete and is unlikely to ever be finished.

current git 'master' of the b2g gecko/gaia code was used. b2g was ported using my CyanogenMod 10 rom for v9 as a base. I use the gonk ICS graphics layer instead of a JB gonk as hwcomposer > 1.0 support doesn't exist in my CM10 or 10.1 ports so can't support a true JB gonk. lots of other hackery to get it to (semi) work.

the zip WILL format your /data, /boot, and /system partitions on install (won't touch the sd card though), so make sure you have backed these up before you start. it is also likely to crash.

download here (it WILL wipe all your data - backup first)
b2g-v9-20130822.zip
md5sum fc5071888b16993488d427adcf2cd14a

this rom requires >160MB in /system and >66MB in /data.

working
- display
- home button, power and volume buttons
- touchscreen
- screen rotation
- battery charging and levels
- sensors (light level, orientation, gravity)
- phone (RIL)
- sms
- wifi
- screen brightness and screen on/off
- vibration
- headphone detection and audio routing
- gps
- sdcard
- usb storage
- bluetooth (pairs ok, but nothing else tested)
- web browser
- boot logo (but rotated 90 degrees)

almost working
- audio (works ok after volume up/down is pressed when audio is playing - needed to init the audio system?)
- 2d and 3d graphics is working but seems slow

not working
- mobile data (rmnet0 comes up ok, but dns isn't set)
- camera
- fm radio
- ...


for sources and instructions see
Firefox OS Porting
my github

version history

2013-08-22
- fixed sdcard handling which also fixed usb storage and screenshot
- mozilla folks fixed bluetooth, gps, boot logo, most browser skitishness
- mozilla also changed the apps/market screen on the left. I think now it's generated from searches on the home screen?
- mozilla fixed mobile data default route, but
- graphics seems smoother now, but moving the shade up/down is actually slower according to the framerate metric (was 30fps, now ~12-15)

2013-08-06
- initial release


Good looking i think..try something new,wait until rom alpha fixed :wub:

  • 0

#9
HarryPirate

HarryPirate

    Regular

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo a5)
PBP do you ever sleep? You're one fire mate!

  • 0
Device: ZTE Libra (Sapo a5)
ROM: The Most Recent CM
Recovery: ClockworkMod 5.0.2.0
External Storage: Transcend 8GB MicroSDHC (Class 4)
Current Launcher: Espier Launcher

#10
DaKKs

DaKKs

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:iPhone 4G, ZTE Light V9

Amazing! I cant believe there is still any life left in this device. Go PBP!


  • 0

#11
naifah

naifah

    Regular

  • Members
  • PipPip
  • 74 posts
Port 4.4 kit kat pbp,thats cool :lol:

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users