[ROM] Oxygen for u8800 (Latest gingerbread, clean and simple)

Search This thread

dzo

Senior Recognized Developer
Apr 3, 2008
2,487
5,086
Auckland
About
underline.png

This ROM is no longer being maintained, I suggest you try my ICS rom here: http://xdaforums.com/showthread.php?t=1492957
Oxygen is a very clean stable AOSP ROM originally for the HTC Desire, the philosophy is to make it as close to the open source as possible with just a few modifications.
Find out about it here:
http://xdaforums.com/showthread.php?t=971904
and here:
http://forum.oxygen.im/
This port is based on oxygen 2.3.1 and is Android 2.3.7_r1

Features
underline.png

Modified Kernel - 1GHz, updated touchscreen driver, faster graphics.
Working Wi-fi & BT - Wi-fi shuts down when the screen is off by default, change this in Wifi Settings..Menu..Advanced..Sleep policy and set this to "never sleep" if you use wifi often.
Working Sensors
Working Audio Out and In
Optional Battery Percentage
Optional Notification Power Widget
Market App - needs an SD card to download apps
Launcher Pro - I prefer it to the stock launcher but both are included (try the transition effects in Menu..Preferences..Homescreen Settings..Transition effects)
Torch

Not included in ROM:
Maps - restore from backup or get from the market

Known to be not working:
Wifi hotspot (wireless tether app in the market works)
USB Tethering (market apps work for USB tethering)
Mounting internal memory card (use genokolar's partitioning zip to resize /data), this means you need to have an SD card.
High resolution video recording may have pauses
Flash videos don't always play correctly from the stock browser, Opera may work better and the YouTube app works fine.

Downloads
underline.png

Download it here:
https://sourceforge.net/projects/u8800oxygen/files/

Installation
underline.png

To install, first make sure you have a recovery image, Genokolar's version 3 and 4 both work.
On first install you should really wipe your data partition, so backup all your apps using titanium backup.
Put the zip fille on the sdcard of the phone
switch off the phone
Boot into recovery by pressing power and volume up and keeping them pressed until the recovery menu appears
Select "install zip from sdcard" by pressing volume up/down and then pressing power.
Select "choose zip from dcard"
Select the file you downloaded
Confirm
Wait until it finishes
Press back until you get to the main menu, select "reboot system now"

Thanks
underline.png

All credit for this needs to go to the original developers of Oxygen - AdamG, thalamus, schiznik and others, if you want to donate, give to Adam's charity.
Also thanks to genokolar and stockwell for getting the CM7 port going
Please don't post bugs for this port on the Oxygen bugtracker or in the Desire Forums, they won't be happy.

Bugs
underline.png

Post bugs/problems here:
https://sourceforge.net/p/u8800oxygen/tickets/

Building from source
underline.png

To build from source, follow the instructions here: http://source.android.com/source/index.html and setup a build environment and then do:
Code:
repo init -u git://github.com/dzo/oxygen_manifest.git
repo sync -j 10
. build/envsetup.sh
lunch oxygen_u8800-user
make -j 4 oxygen

Changelog
underline.png

oxygen-u8800-test-110701a.zip
First release

oxygen-u8800-test-110707.zip
Fix random reboots (caused by failing to set a flashing led)
Lots of audio fixes, I wrote an audio library so it doesn't use any proprietary libs now, handset volume is louder and BT audio should work. A2DP should work too.
Still no UMS or Camera

oxygen-u8800-test-110711.zip
USB Mass Storage works
Notification led disabled when asleep
Dual mic should be enabled in calls
Camera starts but colour is wrong and crashes when taking pics
Fix for wifi restart preventing sleep

oxygen-u8800-test-110718.zip
Camera takes photos (may still have issues with some hardware), video recording doesn't work.
Better power consumption when wifi is on (try setting wifi to never sleep)

oxygen-u8800-test-110727.zip
Much better graphics performance with 44.7 Hz refresh rate and switch to rgba888 for the display. Camera controls now visible. Accelerated video playback works now, video recording works for low resolution but not 720p yet. Bluetooth may still have problems.

oxygen-u8800-test-110728.zip
Fix sometimes laggy opengl. Do fsck on sdcard mounting (may still not fix problems if you write to the card). Haptic feedback on soft keys. Reduce max call volume.

oxygen-u8800-test-110729.zip
Fix USB Mass Storage.

oxygen-u8800-test-110730.zip
Fix 720p video recording.

oxygen-u8800-test-110802.zip
Fix volume not always set for voice calls
Configure rmnet0 whenever apn status changes, hopefully this will fix data connectivity problems.
build rild and libril from source
Fix flashlight

oxygen2.2-u8800-test-110804.zip
Update to Oxygen 2.2.1 (based on AOSP 2.3.5_r1)
note: you may have to wipe data to downgrade so backup your data before upgrading

oxygen2.2-u8800-test-110805.zip
Fix for youtube videos not displaying correctly.
Add Torch app.

oxygen2.2-u8800-test-110808.zip
Get wlan mac address from the radio.
Fix BT not automatically connecting.
Fix BT Voice quality
Update to libra module from B162

oxygen2.2-u8800-test-110809.zip
Use fixed bt mac address
reduce flash led voltage
only apply wifi sleep fix when wifi refuses to sleep

oxygen2.2-u8800-test-110811.zip
Allow internal emmc to mount over usb
A different fix for data not connecting when switching from 3G to 2G
Force BT to use power level 2
Get and set network operators correctly

oxygen2.2-u8800-test-110816.zip
Fix data not reconnecting on 2G after making a call
Move dalvik-cache to /cache (wipe cache before installing)
Remove port-bridge (may stop usb crashes)
Get correct BT MAC Address
Add sysfs file to enable led for notifications
Fix /system/etc/init.d scripts not running
Fix sensors not waking correctly

oxygen2.2-u8800-test-110817.zip
Remove Oxygen Settings and replace with modified Settings app.
Add and option to the Settings app for led notifications and make the haptic feedback setting apply to the soft buttons.
Enable flashing notifications.

oxygen2.2-u8800-test-110823.zip
Fix sensors getting slower over time
Disable usb mounting of internal memory card to stop usb crashes
Fix enterprise wifi (EAP)
Fix haptic feedback on amtel touchscreen
Fix headset button (thanks to Anteus)
Set Oxygen version number

oxygen2.2-u8800-test-110824.zip
Bugfix for oxygen2.2-u8800-test-110823.zip, sometimes the files in /data/misc/wifi
were left with incorrect permissions causing a bootloop.
This should fix the problem but it's probably a good idea to
disable wifi before rebooting to recovery to install.

oxygen2.2.2_r1-u8800.zip
Update to oxygen 2.2.2
fix bad cpu clock speed and lpj values
fix wifi sleep bugfix for new kernel
Change to new initrd
fix sensors not updating battery stats
add autorun.iso (probably not very useful)
move dalvik-cache back to /data

oxygen2.2.2-u8800-test-110914.zip
Fix touchscreen not always working correctly near left and right edges
Allow finger to slide onto soft keys without reporting a keypress (very useful in some games)
Add volume button wake (in Settings..Applications..Development), only wakes if music not playing.
Fix for wifi access points that give an infinite dhcp lease
Handle an unknown radio state in the same way that CAF froyo does (don't know if this will do any good)
Reduce minimum brightness (thanks Stockwell)
Enable gemini hardware jpeg encoder (slightly faster photo taking)
1.8 GHz overclock possible (not stable on all devices)

oxygen2.2.2_r2-u8800.zip
Fix low resolution video recording
Change HD video recording to h264/aac
Reduce backlight brightness for all levels to save battery
Remove wpa_supplicant debugging messages
Try to recover when the radio reports SIM_LOCKED (not tested)

oxygen2.2.2_r2a-u8800.zip
Remove the SIM_LOCKED fix because things go badly wrong if you have a SIM pin

oxygen2.2.2_r3-u8800.zip
Fix opaque surfaces not always drawn correctly
Increase backlight brightness slightly
Change to CM7 camera and add 720x480 video recording
Revert to older qcril to see if this fixes coverage loss problems
Increase default min cpu speed to 368MHz
Add 192MHz to cpufreq list
Add 1.7GHz frequency
Increase vdd for 1.8 GHz to 1.425V
Disable gemini to get rid of green line in pictures
Include ES file explorer

oxygen2.2.2_r4-u8800.zip
Add projectmenu apk and library
add proximity sensor build prop
add wifi drivers and ril from latest B138 ROM
build bt executables, change media profiles.
libril fix for lost coverage - tries to reset the the radio when it reports SIM_ILLEGAL
and registration is denied 8 times in a row.

oxygen2.3.1-u8800_r1.zip
Update to Android 2.3.7_r1 and oxygen 2.3.1
Fix sim pin bug (hopefully)

oxygen2.3.2-u8800.zip
Update to oxygen 2.3.2 framework
Update to the sim illegal fix
autobrightness uses manual brightness as the lowest level
 
Last edited:

genokolar

Senior Member
Nov 25, 2010
76
258
yibin
the updater-script:
#mount("vfat", "EMMC", "/dev/block/mmcblk0p1", "/cust");
#package_extract_file("boot.img", "/cust/image/boot.img");
 

cooldfuzion

Senior Member
Feb 24, 2009
164
10
Did you have an sd card in? what kind of crash was it, a reboot or back to the boot animation. Did you have BT on, that still seems to be a bit unstable.

Yes i have a sd card, the phone whent to the boot animation, and no BT on.

EDIT: i reinstalled the rom, and now it´s working ok :)

Thanks mate
 
Last edited:

dzo

Senior Recognized Developer
Apr 3, 2008
2,487
5,086
Auckland
Yes i have a sd card, the phone whent to the boot animation, and no BT on

I just installed a few apps from the market and they all worked fine. If you could get a log from the phone using logcat during a failed install that would be useful. Also, you did a full wipe of data and cache before installing I presume.
 
  • Like
Reactions: segulsen83

stockwell

Retired Recognized Developer
Mar 8, 2007
375
596
Brisbane
Great work! Moving to RGB565 is good, doesn't seem to affect colour clarity at all. I never thought to test it since I figured that there would have to be a reason they're using a 32-bit colour mode on a 16-bit panel but evidently they just like wasting video memory.
 

dzo

Senior Recognized Developer
Apr 3, 2008
2,487
5,086
Auckland
Great work! Moving to RGB565 is good, doesn't seem to affect colour clarity at all. I never thought to test it since I figured that there would have to be a reason they're using a 32-bit colour mode on a 16-bit panel but evidently they just like wasting video memory.

Yes, and it's much faster, only half as many pixels to push.
 
  • Like
Reactions: segulsen83

Top Liked Posts

  • There are no posts matching your filters.
  • 118
    About
    underline.png

    This ROM is no longer being maintained, I suggest you try my ICS rom here: http://xdaforums.com/showthread.php?t=1492957
    Oxygen is a very clean stable AOSP ROM originally for the HTC Desire, the philosophy is to make it as close to the open source as possible with just a few modifications.
    Find out about it here:
    http://xdaforums.com/showthread.php?t=971904
    and here:
    http://forum.oxygen.im/
    This port is based on oxygen 2.3.1 and is Android 2.3.7_r1

    Features
    underline.png

    Modified Kernel - 1GHz, updated touchscreen driver, faster graphics.
    Working Wi-fi & BT - Wi-fi shuts down when the screen is off by default, change this in Wifi Settings..Menu..Advanced..Sleep policy and set this to "never sleep" if you use wifi often.
    Working Sensors
    Working Audio Out and In
    Optional Battery Percentage
    Optional Notification Power Widget
    Market App - needs an SD card to download apps
    Launcher Pro - I prefer it to the stock launcher but both are included (try the transition effects in Menu..Preferences..Homescreen Settings..Transition effects)
    Torch

    Not included in ROM:
    Maps - restore from backup or get from the market

    Known to be not working:
    Wifi hotspot (wireless tether app in the market works)
    USB Tethering (market apps work for USB tethering)
    Mounting internal memory card (use genokolar's partitioning zip to resize /data), this means you need to have an SD card.
    High resolution video recording may have pauses
    Flash videos don't always play correctly from the stock browser, Opera may work better and the YouTube app works fine.

    Downloads
    underline.png

    Download it here:
    https://sourceforge.net/projects/u8800oxygen/files/

    Installation
    underline.png

    To install, first make sure you have a recovery image, Genokolar's version 3 and 4 both work.
    On first install you should really wipe your data partition, so backup all your apps using titanium backup.
    Put the zip fille on the sdcard of the phone
    switch off the phone
    Boot into recovery by pressing power and volume up and keeping them pressed until the recovery menu appears
    Select "install zip from sdcard" by pressing volume up/down and then pressing power.
    Select "choose zip from dcard"
    Select the file you downloaded
    Confirm
    Wait until it finishes
    Press back until you get to the main menu, select "reboot system now"

    Thanks
    underline.png

    All credit for this needs to go to the original developers of Oxygen - AdamG, thalamus, schiznik and others, if you want to donate, give to Adam's charity.
    Also thanks to genokolar and stockwell for getting the CM7 port going
    Please don't post bugs for this port on the Oxygen bugtracker or in the Desire Forums, they won't be happy.

    Bugs
    underline.png

    Post bugs/problems here:
    https://sourceforge.net/p/u8800oxygen/tickets/

    Building from source
    underline.png

    To build from source, follow the instructions here: http://source.android.com/source/index.html and setup a build environment and then do:
    Code:
    repo init -u git://github.com/dzo/oxygen_manifest.git
    repo sync -j 10
    . build/envsetup.sh
    lunch oxygen_u8800-user
    make -j 4 oxygen

    Changelog
    underline.png

    oxygen-u8800-test-110701a.zip
    First release

    oxygen-u8800-test-110707.zip
    Fix random reboots (caused by failing to set a flashing led)
    Lots of audio fixes, I wrote an audio library so it doesn't use any proprietary libs now, handset volume is louder and BT audio should work. A2DP should work too.
    Still no UMS or Camera

    oxygen-u8800-test-110711.zip
    USB Mass Storage works
    Notification led disabled when asleep
    Dual mic should be enabled in calls
    Camera starts but colour is wrong and crashes when taking pics
    Fix for wifi restart preventing sleep

    oxygen-u8800-test-110718.zip
    Camera takes photos (may still have issues with some hardware), video recording doesn't work.
    Better power consumption when wifi is on (try setting wifi to never sleep)

    oxygen-u8800-test-110727.zip
    Much better graphics performance with 44.7 Hz refresh rate and switch to rgba888 for the display. Camera controls now visible. Accelerated video playback works now, video recording works for low resolution but not 720p yet. Bluetooth may still have problems.

    oxygen-u8800-test-110728.zip
    Fix sometimes laggy opengl. Do fsck on sdcard mounting (may still not fix problems if you write to the card). Haptic feedback on soft keys. Reduce max call volume.

    oxygen-u8800-test-110729.zip
    Fix USB Mass Storage.

    oxygen-u8800-test-110730.zip
    Fix 720p video recording.

    oxygen-u8800-test-110802.zip
    Fix volume not always set for voice calls
    Configure rmnet0 whenever apn status changes, hopefully this will fix data connectivity problems.
    build rild and libril from source
    Fix flashlight

    oxygen2.2-u8800-test-110804.zip
    Update to Oxygen 2.2.1 (based on AOSP 2.3.5_r1)
    note: you may have to wipe data to downgrade so backup your data before upgrading

    oxygen2.2-u8800-test-110805.zip
    Fix for youtube videos not displaying correctly.
    Add Torch app.

    oxygen2.2-u8800-test-110808.zip
    Get wlan mac address from the radio.
    Fix BT not automatically connecting.
    Fix BT Voice quality
    Update to libra module from B162

    oxygen2.2-u8800-test-110809.zip
    Use fixed bt mac address
    reduce flash led voltage
    only apply wifi sleep fix when wifi refuses to sleep

    oxygen2.2-u8800-test-110811.zip
    Allow internal emmc to mount over usb
    A different fix for data not connecting when switching from 3G to 2G
    Force BT to use power level 2
    Get and set network operators correctly

    oxygen2.2-u8800-test-110816.zip
    Fix data not reconnecting on 2G after making a call
    Move dalvik-cache to /cache (wipe cache before installing)
    Remove port-bridge (may stop usb crashes)
    Get correct BT MAC Address
    Add sysfs file to enable led for notifications
    Fix /system/etc/init.d scripts not running
    Fix sensors not waking correctly

    oxygen2.2-u8800-test-110817.zip
    Remove Oxygen Settings and replace with modified Settings app.
    Add and option to the Settings app for led notifications and make the haptic feedback setting apply to the soft buttons.
    Enable flashing notifications.

    oxygen2.2-u8800-test-110823.zip
    Fix sensors getting slower over time
    Disable usb mounting of internal memory card to stop usb crashes
    Fix enterprise wifi (EAP)
    Fix haptic feedback on amtel touchscreen
    Fix headset button (thanks to Anteus)
    Set Oxygen version number

    oxygen2.2-u8800-test-110824.zip
    Bugfix for oxygen2.2-u8800-test-110823.zip, sometimes the files in /data/misc/wifi
    were left with incorrect permissions causing a bootloop.
    This should fix the problem but it's probably a good idea to
    disable wifi before rebooting to recovery to install.

    oxygen2.2.2_r1-u8800.zip
    Update to oxygen 2.2.2
    fix bad cpu clock speed and lpj values
    fix wifi sleep bugfix for new kernel
    Change to new initrd
    fix sensors not updating battery stats
    add autorun.iso (probably not very useful)
    move dalvik-cache back to /data

    oxygen2.2.2-u8800-test-110914.zip
    Fix touchscreen not always working correctly near left and right edges
    Allow finger to slide onto soft keys without reporting a keypress (very useful in some games)
    Add volume button wake (in Settings..Applications..Development), only wakes if music not playing.
    Fix for wifi access points that give an infinite dhcp lease
    Handle an unknown radio state in the same way that CAF froyo does (don't know if this will do any good)
    Reduce minimum brightness (thanks Stockwell)
    Enable gemini hardware jpeg encoder (slightly faster photo taking)
    1.8 GHz overclock possible (not stable on all devices)

    oxygen2.2.2_r2-u8800.zip
    Fix low resolution video recording
    Change HD video recording to h264/aac
    Reduce backlight brightness for all levels to save battery
    Remove wpa_supplicant debugging messages
    Try to recover when the radio reports SIM_LOCKED (not tested)

    oxygen2.2.2_r2a-u8800.zip
    Remove the SIM_LOCKED fix because things go badly wrong if you have a SIM pin

    oxygen2.2.2_r3-u8800.zip
    Fix opaque surfaces not always drawn correctly
    Increase backlight brightness slightly
    Change to CM7 camera and add 720x480 video recording
    Revert to older qcril to see if this fixes coverage loss problems
    Increase default min cpu speed to 368MHz
    Add 192MHz to cpufreq list
    Add 1.7GHz frequency
    Increase vdd for 1.8 GHz to 1.425V
    Disable gemini to get rid of green line in pictures
    Include ES file explorer

    oxygen2.2.2_r4-u8800.zip
    Add projectmenu apk and library
    add proximity sensor build prop
    add wifi drivers and ril from latest B138 ROM
    build bt executables, change media profiles.
    libril fix for lost coverage - tries to reset the the radio when it reports SIM_ILLEGAL
    and registration is denied 8 times in a row.

    oxygen2.3.1-u8800_r1.zip
    Update to Android 2.3.7_r1 and oxygen 2.3.1
    Fix sim pin bug (hopefully)

    oxygen2.3.2-u8800.zip
    Update to oxygen 2.3.2 framework
    Update to the sim illegal fix
    autobrightness uses manual brightness as the lowest level
    16
    Hi dzo

    I see on the Oxygen forum that version 2.3.2 has been released.

    Are you planning to port this version to the x5?

    More importantly, are you still 'active' in regard to this phone and oxygen rom development?

    Naj

    Sent from my u8800 using xda premium

    I started to port 2.3.2 but then the ICS source was released so I started playing with that instead. Hopefully, I'll have an ICS port running but it may take a while since a few libs will need rewriting.
    10
    Dzo how the is the workshop. Do you have news for us?
    Thanks

    Sent from my u8800 using XDA App

    No news really, I got ICS to compile but then the hw gb beta came out so I've been looking at it, I'll probably port oxygen to the new drivers and then work on ICS again. Don't expect anything soon though, I'm quite busy at the moment.
    10
    I've just uploaded a port of oxygen 2.3.2, I only ported the framework changes so it's not very different from 2.3.1. The only things you will notice is that you can slide a notification to dismiss it and the autobrightness works differently. Set the manual brightness to the dimmest you want before enabling auto. The sim-illegal fix should work better now and not put the phone in airplane mode for some people.
    10
    I'm not going to do any more work on oxygen but this is what I've been doing lately:

    http://xdaforums.com/showthread.php?t=1492957

    Thanks for all your support.

    Martin