[Dev] Android on the Universal

Search This thread

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Current android versions:

CM7.2

Kernel Status:

- Kernel v3.10
- LCD
- Keyboard
- SDHC MMC
- Max1587a
- Asic3 Buttons
- Automatic screen rotation
- Touchscreen
- Bluetooth (audio and mouse tested and working)
- Usb host (supports everything USB 1.1 compliant)
- Backlight
- Adb and Usb mass storage
- M24C08 Eeprom
- Keyboard and button backlights
- RTC8564
- Led's - Red, Green, Blue
- Vibrate
- AC Charging
- USB Charging
- WIFI
- Support for EXT4 filesystems
- Modem
- Phone Support
- Audio Support - no input from mics, routing related.
- Data -3g or GPRS
- Power Management - Standby works which is a low power state, Deep sleep and suspend to mem is not working
- DOC flash chips are supported by kernel for both g3 and g4 devices

Not Working/To-do list::

- Camera's - need to add V4L driver to android and dual cam support for camera app and kernel driver.
- add video/audio decoders/encoders
- add modem sound routing to kernel or android (AT commands )




Link to files: (Link)

Link to Kernel source: (Link)
 

Attachments

  • IMAG0007.jpg
    IMAG0007.jpg
    105.8 KB · Views: 5,892
  • IMAG0010.jpg
    IMAG0010.jpg
    99.9 KB · Views: 4,358
  • IMAG0009.jpg
    IMAG0009.jpg
    106.3 KB · Views: 3,727
  • IMAG0011.jpg
    IMAG0011.jpg
    103.2 KB · Views: 4,652
  • IMG_20121127_221114.jpg
    IMG_20121127_221114.jpg
    210.3 KB · Views: 1,274
  • IMG_20121127_221103.jpg
    IMG_20121127_221103.jpg
    227.3 KB · Views: 1,087
Last edited:

Peter V8

Member
Jun 12, 2009
40
2
Now this is so cool, that somebody is actually developing android 4 our beloved Uni :-D:-D:-D
 

asdafer

Member
Dec 20, 2006
6
0
Android version

Hi,
first of all - great work!

Second - this will probably be a seen as a stupid question but why are you trying this with such an old version of Android? Are the new versions requiring so much more memory or something?

Anyhow, good luck with further work and thanks for restoring my hopes of Uni resurrection :)
 

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Hi,
first of all - great work!

Second - this will probably be a seen as a stupid question but why are you trying this with such an old version of Android? Are the new versions requiring so much more memory or something?

Anyhow, good luck with further work and thanks for restoring my hopes of Uni resurrection :)

That is a good question..., it was the only one i had on hand at the time. But the kernel i'm using is based off 2.6.32.9 the current android 2.1 eclair is based off 2.6.29 so theoretically that and the newer android version froyo should work. If i find or build a 2.1 rootfs that works i will post it.
 

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Touchscreen

Does anybody know what this ts_calibrate output means or familar with it?

xres = 480, yres = 640
Took 1 samples...
Top left : X = 65492 Y = 678
Took 1 samples...
Top right : X = 65494 Y = 678
Took 1 samples...
Bot right : X = 65492 Y = 678
Took 2 samples...
Bot left : X = 65493 Y = 678
Took 2 samples...
Center : X = 65493 Y = 678
256.000000 0.002021 0.125000
256.000000 0.002694 0.250000
Calibration constants: 16777216 132 8192 16777216 176 16384 65536
 

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Updates

I posted a new kernel and updated the working functions list on the first post. I know it might not be the updates some were wanting but....it's a update i thought was worth posting...but still no touch screen.

Has anyone tried or built any other android rootfs or images to test with this kernel or know how to?
 

TFGBD

Senior Member
Mar 9, 2005
91
23
Can you compile a kernel image that mounts loopback image files instead of actual ext2 partitions for those that don't feel like partitioning their SD cards? I think it would encourage many more testers.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Current android versions:

    CM7.2

    Kernel Status:

    - Kernel v3.10
    - LCD
    - Keyboard
    - SDHC MMC
    - Max1587a
    - Asic3 Buttons
    - Automatic screen rotation
    - Touchscreen
    - Bluetooth (audio and mouse tested and working)
    - Usb host (supports everything USB 1.1 compliant)
    - Backlight
    - Adb and Usb mass storage
    - M24C08 Eeprom
    - Keyboard and button backlights
    - RTC8564
    - Led's - Red, Green, Blue
    - Vibrate
    - AC Charging
    - USB Charging
    - WIFI
    - Support for EXT4 filesystems
    - Modem
    - Phone Support
    - Audio Support - no input from mics, routing related.
    - Data -3g or GPRS
    - Power Management - Standby works which is a low power state, Deep sleep and suspend to mem is not working
    - DOC flash chips are supported by kernel for both g3 and g4 devices

    Not Working/To-do list::

    - Camera's - need to add V4L driver to android and dual cam support for camera app and kernel driver.
    - add video/audio decoders/encoders
    - add modem sound routing to kernel or android (AT commands )




    Link to files: (Link)

    Link to Kernel source: (Link)
    7
    New Test Build...

    I just uploaded a new test image for the 128mb users. It's the latest cm7 and only needs for the the files to be placed on the root of your memory card. It works ok after it settles and i usually have 51mb of ram free with ~9 to 12mb being used by settings so maybe 63mb free at idle with nothing running.

    Everythings working except for the wifi and the modem/phone functions.

    Here is the LINK

    The file "sdboot.zip" contains all of the files that need to be placed on the root of your memory card and the folder "sdcard" has each of the individual files

    I haven't done any real tweaks or tested if zram or swap allows it to run on my 64mb universal. I will try to post a video when i get some time of it running on mine with my class10 sd card. Before you say that its not working make sure that your memory card is being mounted when the kernel is being loaded, if not try reinsearting it before android tries to start.
    5
    I think I might have to do another update if android cooperates.

    <4>universal_acx: universal_wlan_start: done
    <4>universal_acx: universal_wlan_init: platform_device_register ...
    <4>acx: found ACX100-based wireless network card
    <4>initial debug setting is 0x000A
    <4>acx: found an ACX100-based wireless network card, irq:260, membase:0x08000000, mem_size:33, iobase:0xc88b6000acx: the initial debug setting is 0x000A
    <4>acx: using IRQ 260
    <4>acx: request_irq 260 successful
    <4>acx: ACX radio type 0x0d
    <4>acx: requesting firmware image 'WLANGEN.BIN'
    <4>acx: acx_write_fw (main): 0
    <4>acx: acx_validate_fw (main): 0
    <3>init: untracked pid 390 exited
    <4>acx: requesting firmware image 'RADIO0d.BIN'
    <3>init: untracked pid 391 exited
    <4>acx: acx_write_fw (radio): 0
    <4>acx: acx_validate_fw (radio): 0
    <4>acx: initializing max packet templates
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx: TotalMemoryBlocks=79 (20224 bytes)
    <4>acx: NVS_vendor_offs:0000 probe_delay:500 eof_memory:65536
    <4>acx: CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
    <4>acx: AntennaID:01 Len:02 Data:1E 00
    <4>acx: PowerLevelID:0A Len:00 Data:
    <4>acx: DataRatesID:02 Len:05 Data:02 04 11 22 44
    <4>acx: DomainID:03 Len:07 Data:30 20 30 31 32 40 41
    <4>acx: ProductID:04 Len:09 Data:TI ACX100
    <4>acx: ManufacturerID:05 Len:07 Data:TI Tes:
    <4>acx: chipset TNETW1100B, radio type 0x0D (Maxim (MAX2820)), form factor 0x03 (Compact Flash), EEPROM version 0x05, uploaded firmware 'Rev 1.9.8.b'
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx: got antenna value 0x8D
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx: got Energy Detect (ED) threshold 112
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx: got Channel Clear Assessment (CCA) value 13
    <4>acx copy_from_slavemem: warning! destination not word-aligned!
    <4>acx: got regulatory domain 0x30
    <4>acx: got sensitivity value 176
    <4>acx: new ratevector: 82 84 0B 16 2C
    <4>acx: phy0: changing radio power level to 18 dBm (23)
    <4>acx: creating proc entry /proc/driver/acx_phy0/info
    <4>acx: creating proc entry /proc/driver/acx_phy0/diag
    <4>acx: creating proc entry /proc/driver/acx_phy0/eeprom
    <4>acx: creating proc entry /proc/driver/acx_phy0/phy
    <4>acx: creating proc entry /proc/driver/acx_phy0/debug
    <4>acx: creating proc entry /proc/driver/acx_phy0/sensitivity
    <4>acx: net device phy0, driver compiled against wireless extensions 22 and Linux 2.6.36+
    <7>phy0: Selected rate control algorithm 'minstrel_ht'
    <4>universal_acx: universal_wlan_init: platform_device_register: done
    # e_fw (main): 0

    :eek:
    5
    New version. I have hope notime2d8 talk more about. Now I can talk only that it is some files and you must copy it on SD.

    Link

    I finally got around to figuring out how to boot android without having to partition the SD card. All you have to do is place the files on your memory card and start haret. This is just a test build i put up. I still have to delete some of the apps off and a few things are broken like wifi, root, and the phone which is breaking wireless settings. I should have these fixed in a few days and update the first post. This is just a close to stock froyo, I haven't been able to get cyanogen froyo working yet.

    The plan is to move to how the xdandroid setup is, where you can select your image and have the option to make and install to a partition or just run from your SD card, fix and improve the kernel or move to a newer one, then try to improve android some more.