[Dev] Android on the Universal

Search This thread

liyaocheng

New member
Feb 18, 2012
4
0
wow I've already saw this ... I'll try it later.. but there is something problem with the battery of Universal
 

kybergreg

Member
Apr 7, 2009
23
5
near Prague
Hi, I'm watching this thread as well. I'm still using Uni as my main phone and even though I'll soon move to the HTC Desire Z I would still love to see android working on my Uni. I would even pay for the 128 MB RAM upgrade just because of android. My Uni has only standard 64 MB RAM and that's simply unusable with the current android image.
 

Da9L

Senior Member
Jan 31, 2007
1,044
25
35
How does this work? My UNI is not my primary phone, as it has a broken LCD, but if this works well i would be happy to return to my universal as primary phone and replace the LCD!
 

gbl08ma

Senior Member
Nov 13, 2009
316
136
gbl08ma.com
If your Universal has been upgraded to 128MB RAM, I think it might worth bringing your Uni to life, at least judging by others' feedback. However, it's unusable on 64MB RAM Universals, as I have experienced myself.

But I'd advice not to buy a new screen just for hopes of running Android on it, in the end, I don't think that at this stage this Android port even has a working Phone/Messaging function.

notime, are you still developing this? (I guess not)
 

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
If your Universal has been upgraded to 128MB RAM, I think it might worth bringing your Uni to life, at least judging by others' feedback. However, it's unusable on 64MB RAM Universals, as I have experienced myself.

But I'd advice not to buy a new screen just for hopes of running Android on it, in the end, I don't think that at this stage this Android port even has a working Phone/Messaging function.

notime, are you still developing this? (I guess not)

Not as much as i used to or would like. And when i was working with froyo i did have text messaging working and receiving and making calls but i never got the microphone working. But i also think that this will never be good enough for daily use...having no GPU cripples android.
 

kybergreg

Member
Apr 7, 2009
23
5
near Prague
Not as much as i used to or would like. And when i was working with froyo i did have text messaging working and receiving and making calls but i never got the microphone working. But i also think that this will never be good enough for daily use...having no GPU cripples android.

Does that mean that all android phones have a GPU? Including Google G1 (Dream)? I would be quite happy if Uni could run just android 1.6 just like G1. It would be quite enough. G1 has 192 MB RAM which is more than 128MB (Uni's maximum) but not that much more. And CPU speeds are just same (528 MHz).
Froyo 2.2 is more hardware demanding than 1.6.

EDIT: Yeah, I found it on wikipedia, the G1 has a combined CPU/GPU processor...
 
Last edited:

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Does that mean that all android phones have a GPU? Including Google G1 (Dream)? I would be quite happy if Uni could run just android 1.6 just like G1. It would be quite enough. G1 has 192 MB RAM which is more than 128MB (Uni's maximum) but not that much more. And CPU speeds are just same (528 MHz).
Froyo 2.2 is more hardware demanding than 1.6.

EDIT: Yeah, I found it on wikipedia, the G1 has a combined CPU/GPU processor...


Yeah, 1.6 did run really nice on my 64mb uni. There are a few issues with that now...i can't find the source code for 1.6 or cm4?, it lacks a lot of needed performance updates and features i would need to back port, and a lot of the good apps and the newer ones have stopped supporting 1.6
 
  • Like
Reactions: orb3000

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Not as much as i used to or would like. And when i was working with froyo i did have text messaging working and receiving and making calls but i never got the microphone working. But i also think that this will never be good enough for daily use...having no GPU cripples android.



d-two has posted a video of cm7 running on a blueangel. link it has 128mb of ram and runs really well, the only difference with a universal is the GPU, half the resoultion, and running in portrait so no cpu usage needed to rotate it.
 

Da9L

Senior Member
Jan 31, 2007
1,044
25
35
Would be super sweet if you could provide the files for running android 1.5/1.6 on the uni.. I would love to try this on my (now restored) universal :)
 

d-two

Inactive Recognized Developer
Nov 27, 2008
1,554
465
@notime2d8
How do you use the Loox touchscreen driver in your Kernel ?

you can use the tsc2046, can't you?
 

d-two

Inactive Recognized Developer
Nov 27, 2008
1,554
465
Nope, i could never get it working. Even with all the correct settings i got no input. It would save me some trouble if i got it working... :eek:

Hmm, OK... What do you think about merging our work (kernel and rootfs)? We could work on it together, maybe we'll get it work!?
 

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
OK, no answer is an answer, too :p

Here two patchs for using the normal ads7846 driver ;):


Let's not be like that, i've been just a little busy lately and i'm typing this while at work... :eek: But yeah that sounds like a good idea but i don't really know the best way to go about it. I have a lot of tweaks/patches ontop of my cm7 source code and some is a little messy. But if we can figure where/how to host it i could do some cleaned up patches for cm7 and a 2.6.36 kernel. How are you loading android, with a rootfs on a partition or a system.img file on the sd card?

And thanks so much for the patches, i'll try them out later. That was one of the things that kept me from switching kernels.
 
Last edited:

d-two

Inactive Recognized Developer
Nov 27, 2008
1,554
465
Let's not be like that, i've been just a little busy lately and i'm typing this while at work... :eek: But yeah that sounds like a good idea but i don't really know the best way to go about it. I have a lot of tweaks/patches ontop of my cm7 source code and some is a little messy. But if we can figure where/how to host it i could do some cleaned up patches for cm7 and a 2.6.36 kernel. How are you loading android, with a rootfs on a partition or a system.img file on the sd card?

And thanks so much for the patches, i'll try them out later. That was one of the things that kept me from switching kernels.

I use at the moment a rootfs on SDCard... I think we make an github for working... BUT here is an pic from touchscreen driver test with tslib, looks strange... I think it needs fine tuning ;)
 

Attachments

  • IMAG0019.jpg
    IMAG0019.jpg
    257.9 KB · Views: 197

d-two

Inactive Recognized Developer
Nov 27, 2008
1,554
465
Clean up patch

Here i have the section for Android gadgets a little bit clean up ;)
I would you send per PM, but i can't send attachment over PM
 

Attachments

  • htcuniversal2.patch
    5.3 KB · Views: 26
  • Like
Reactions: smartpal

notime2d8

Senior Member
Jul 31, 2007
303
93
Birmingham
Any progress? I haven't Universal now, but maybe I'll soon buy it again...

Yes, I’m still working on it…, slowly, nothing worthy of a new test build though…and I’m kind of stuck and waiting for a new idea to come or a tweak to squeeze some more ram or performance out of our phones and android. I applied some tweaks to android and the kernel and have about 80mb of free ram now, I’m working on a new kernel – 3.5-rc1 it’s much snappier but I have to get my drivers/changes ported over and working again then I will see if I can get the new docg3 or docg4 flash drivers working that have been added to the mainline kernel and switch to the other touchscreen driver posted above. :eek:
 
  • Like
Reactions: smartpal

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.