yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro ROM Development] d-two:
Here is the compete source:

/* Physical address space information */

static unsigned long universal_pin_config[] __initdata = {
....
/* SSP 1 */
GPIO23_SSP1_SCLK,
GPIO24_GPIO | MFP_LPM_DRIVE_HIGH,
GPIO25_SSP1_TXD,
GPIO26_SSP1_RXD,
...

};

/*************************************************************************
* Touchscreen - TSC2046
**************************************************************************/
/* fixed regulator for ads7846 */
static struct regulator_consumer_supply ads7846_supply =
REGULATOR_SUPPLY("vcc", "spi1.0");

static struct regulator_init_data vads7846_regulator = {
.constraints = {
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
},
.num_consumer_supplies = 1,
.consumer_supplies = &ads7846_supply,
};

static struct fixed_voltage_config vads7846 = {
.supply_name = "vads7846",
.microvolts = 3300000, /* 3.3V */
.gpio = -EINVAL,
.startup_delay = 0,
.init_data = &vads7846_regulator,
};

static struct platform_device vads7846_device = {
.name = "reg-fixed-voltage",
.id = 1,
.dev = {
.platform_data = &vads7846,
},
};

static const struct ads7846_platform_data tsc2046_info = {
.model = 7845,
.vref_delay_usecs = 100,
.pressure_max = 512,
.debounce_max = 20,
.debounce_tol = 10,
.debounce_rep = 1,
.gpio_pendown = GPIOA12_TOUCHSCREEN_N,
.x_max	= 480,
.y_max	= 640,
.calib_data	= {9078, 26, -3438768, 36, -11665, 45389832},
};

static struct pxa2xx_spi_chip tsc2046_chip = {
.tx_threshold = 1,
.rx_threshold = 2,
.timeout = 64,
.gpio_cs = GPIO24_TSC2046_CS,
};

static struct spi_board_info tsc2046_board_info[] __initdata = {
{
.modalias = "ads7846",
.bus_num = 1,
.max_speed_hz = 2600000, /* 100 kHz sample rate */
.irq = PXA_GPIO_TO_IRQ(GPIOA12_TOUCHSCREEN_N),
.platform_data = &tsc2046_info,
.controller_data = &tsc2046_chip,
},
};

static struct pxa2xx_spi_master pxa_ssp_master_info = {
.num_chipselect = 1,
.clock_enable = CKEN_SSP1,
.enable_dma = 1,
};

static void __init universal_init(void)
{
...
spi_register_board_info(tsc2046_board_info, 1);
pxa2xx_set_spi_info(1, &pxa_ssp_master_info);
platform_device_register(&vads7846_device);
...
}

Do you have an idea why the SDCard is not right detected?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
No, as the kernel is booting from the sdcard so thats working....the only thing after that is android mounting the mmcblk0p1 as sdcard either manually by the init.rc or automatically by vold.fstab...

can you try adding this to your init.rc: mount vfat /dev/block/mmcblk0p1 /sdcard
[JASJAR, XDA Exec, MDA Pro ROM Development] d-two:
I have use your init.rc and with your kernel is it working... also it has something todo with the kernel...

EDIT: The SDCard is mount...

EDIT: Or can you give me your kernel an i will look what is the difference...
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
I'm just using the kernel/common/android-3.8 from the android git... You should just go ahead and jump kernels...so you can figure out why my touch isn't working....can you post your zImage so I can test?...I reverted all my changes in frameworks/base and deleted my .idc file but still....its not working...:confused:
[JASJAR, XDA Exec, MDA Pro ROM Development] d-two:
OK, i don't know why... but after loding your config and setup a little bit more it's working :confused:

Here is my zImage...
[JASJAR, XDA Exec, MDA Pro ROM Development] d-two:
Have you test my kernel?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Yes...it booted but after the dmesg it stayed blank and never went to the home screen.
[JASJAR, XDA Exec, MDA Pro ROM Development] d-two:
No error message or something else...

Has Android started?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Nope, I'll hook it up to adb later...but I think android did start and it never rebooted...
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
I wish i had an sdio card to test....

I really would love to get sdio working/tested or someone else to.. [MENTION=1377734]d-two[/MENTION] :highfive: Because i really want to try and get one of these cards!!!

http://www.ebay.com/itm/Universal-S...070?pt=LH_DefaultDomain_0&hash=item2a2c7cc206

Wireless N, FM, and bluetooth...This one probably won't work cause it looks like some connections still need to be soldered.

I don't know where I'm going with this but everything works with USB host ... Some slowly... also the Wii and ps3 remotes work over Bluetooth...I might post another video of the USB video and Wii remote when I get double buffering and some USB cables done.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Here's my next shaky video...with the resolution dropped down to 800x600 using a Wii remote...i didn't plan it out...it's a poorly done video...but yeah...usb mouse/video and Wii remote.

[YOUTUBE]NvPgoZkGhWE[/YOUTUBE]
[JASJAR, XDA Exec, MDA Pro ROM Development] NikolasV:
Hi!

Could someone write which exactly commands i must type in linux terminal to create partitions with needed size and copy all necessary files to them.

I using Debian live cd/
[JASJAR, XDA Exec, MDA Pro ROM Development] orzech2111:
You have to partition SD card, e.g. by Gparted or any tool for Windows (partition for Android must be second and at least ~200mb I think). Next: write in linux terminal: mkfs.ext2 /dev/sdb2 (it should work, but I am not responding for any problems) or just (if you have graphical environment on Debian) run GParted and format it easier and safer way.

Next you should use this commands:

mount /dev/sda2 /mnt

tar -xvf /location/of/slim.tar.gz /mnt

It should work, but I am not sure it will work well. I hope I helped.

Sorry for my English. I tried to not make many errors(?) in this post.
[JASJAR, XDA Exec, MDA Pro ROM Development] ALoGeNo:
Hi dudes, I have my htc universal modded with external wifi anntena connector SMA, I'm not using it is very sad to have that piece of hardware getting dust, maybe someone is interested on it, here I let you some pics, if you are not interested maybe can do this mod for him self hehe.

NOTE: I have also 4800mAh chinese battery pretty new with big cover, if some one needs better pictures just PM, this ones are old ones, now I have better camera :P

NOTE to SomeModerator: I dont Know if I'm breaking some rule, if I do just PM please/thanks.

Cheers.

Enviado desde mi GT-I9003
[JASJAR, XDA Exec, MDA Pro ROM Development] paolo.oliveri:
Hi notime2d8 and All,

sorry for my basic questions, but I'm getting trouble while trying to boot android with My UNI G3 64mb Device.

With Minitool Partition Wizard I partitioned My 8gb SDHC Card in two: The first partition is FAT32, c.a. 7gb, the second one is EXT4, 1gb. Also I've tried with another 2gb SD Card, partitioned in the same manner (but obviously with other partition dimensions).

Then I transfered zImage, startup.txt and haret-w.exe to the first partition; I tried several options from sourceforge site: zImage 3.10, 3.8 and the "slim" version.

Then I mounted EXT4 partition with Paragon ExtFS, and I extracted the correct content of data tar to the root of that partiton (i.e. data.tar.gz or data.lite.tar.gz with zImage 3.10 or 3.8, slim.tar.gz with the correct zImage in "slim" section of the site).

Then I checked for startup.txt options, to remove "mem=128M" and add both nothing or "mem=64M" in the boot sequence, and add

another tweaks, such as Touch Calibration parameters and other stuff.

Then I finally inserted SDHC (or SD) to the phone, I checked that bluetooth and phone were powered on and not Wi-Fi stack (I've also tried with BT off with the same results), and finally I launched "haret-w.exe".

Application starts, begins to load drivers, but after a few seconds arrives at the message I added in attachments. As you can see, the device reboots itself without any success to let it work. What am I doing wrong?

Thank you all for the patience.
[JASJAR, XDA Exec, MDA Pro ROM Development] dstyl:
Boot athena from USB or internal FlashDisk

Sorry i know its a bit offtopic but im having problems to boot android.I have no minisd card so the only possibilitys to boot are over the cable and than from usbstick or the internal flash of the athena 400. I tried everything but i always get kernel screen , then android and then only a black screen stays or my phone just reboots into wm. I dontknow what im doing wrong , formated usb into 2 ext2 partitions and a swap and still cant boot. If anyone knows what im doing wrong ? I just posted it because the athena forums are dead
[JASJAR, XDA Exec, MDA Pro ROM Development] OMOZ:
HTC Universal und Android

Hello to all, I have now spent 24 hours to finally see Android on my HTC Universal and fail again on reboot after reboot comes back WM 6.1, I think the SD card partitioned'm right at the end .... although I until now everything always hinbekommen, I read often use some commands as write in linux terminal: mkfs.ext2 / dev/sdb2, how do I do that? Create file? Sorry for the stupid questions, but hope dies last, maybe even one or the other but still a hint, because somehow I take the HTC Universal regulary! Did my comment / question from German to English with Google translator translated

Regards OMOZ
[JASJAR, XDA Exec, MDA Pro ROM Development] kEviN.H:
D900 is good phone
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Thank God!

Hey notime2db! Can you provide me with what you're compiling into the zImage?? I wanna also contribute into this.... And thanks for getting the screen fixed plus the back button!!
[JASJAR, XDA Exec, MDA Pro ROM Development] Da9L:
This is awesome . This could bring a hole new world of options to universal as well as ressurect the device from the dead.

Is it still beeing worked on?
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Yeah!

It is being worked on....

@notime2db

Just provide me with the patch of whateva(drivers and stuff) you've updated to the original cupcake... I will get the original source and apply it. I wanna help man... I want our Uni to have android as soon as possible.
[JASJAR, XDA Exec, MDA Pro ROM Development] yuvraj:
what to do with these drivers?

pls will u explain me ho to make 3 partition in sd card?

thanks
[JASJAR, XDA Exec, MDA Pro ROM Development] kEviN.H:
installing the driver

SD will become a HDD

After you can do the same to the hard disk partition
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Partitioning

I wouldn't recommend changing your sd card into an hdd and stuff when you have a straight forward way out of it...

I wasn't use to to the terminal and command line stuff when I did this. But I figured my way out. Go Here and follow the steps. Just keep in mind you have to make three partitions for this android kernel and not two. If I got time I'll post up a tutorial.
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Ok here we go. I'll try my best of what I remember and stuff.

You follow almost everything in that tutorial. Just remember that the second partition, aka the "linux partition", that you're making do no just hit enter and let it select the default value for the last cylinder. it depends on your card if it's 1 gb then write this value : 920 or 900. You just have to leave a lil space.

Then you make the third partition:

Type: n

Type: p

Type: 3

Hit enter to select default first cylinder value

Hit enter to select default last cylinder value

Type: t

Type: 3 (to select the last partition. It should be the third one if you're getting this lil tut right)

Type: 82

then follow the step to make the first partition vfat.

Type: w (to write and exit)

Now just follow the steps to make the dos filesystem and you're good. :P

Be free to ask me if you have any problem.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Bluetooth!!!!!

We now have bluetooth support!!! :eek: I really stumbled across this trying to get something else working.... but the new kernel is on the first page you will need to replace the zimage with the one included as well as the init.rc file on your 2nd partition.

Please post your test results I only turned it on and off and paired with another phone and entered a passkey.....that's as far as me saying that it works goes.
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Can't turn on bluetooth dude.... Missing something or what?
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
The screen callibration is a lil messed up... if you notice in portrait mode you're able to get the notifications bar out... but in landscape you can't. The reason is that the screen responds a little lower to point you touched. Needs callibration.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Did you replace your zimage as well as your init.rc?
[JASJAR, XDA Exec, MDA Pro ROM Development] shabihsherjeel:
Well, I did, but I will try again. Maybe I didn't unmount the card correctly.. :)
[JASJAR, XDA Exec, MDA Pro ROM Development] Simon_WM:
Notime, is it possible to create a ROM from this kernal?

or am a crazy young fool? :D
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Small Update......

Posted a small update on the first page, might be a big one to some but I improved the touchscreen driver it's spot on and accurate now. And I fixed the init.rc where it mounts the main vfat partition now as the sdcard, and added rnids/ether support this kernel is faster and for the bluetooth and main partition support you will need to replace your init.rc with the one provided.

Still trying to get the phone, sound, power management, leds, and wifi working if anybody found or can build drivers for these please let me know and we also need somebody to build android images to get newer versions, main SD card partition bootable images, and phone support working.

And if any of the old devs are around... Does the current pxafb framebuffer make use of the sram?
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
hi notime2d8

Do you think this rootfs will work?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Maybe with a little work, the last time I tried one though my memory got filled up while booting it up and crashed. But I will try some different ones later today and maybe move to a newer one once my 128mb universal comes.
[JASJAR, XDA Exec, MDA Pro ROM Development] Simon_WM:
Is it possible to get an updated kernal?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
It's posted on the first page.
[JASJAR, XDA Exec, MDA Pro ROM Development] Simon_WM:
kwl,

although is there any change of say updating to the latest version of ANDROID?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Yeah, the kernel can and i tested a newer version of android and it kinda worked but they changed the graphics system 1.6 up, so the changes that i made to my kernel, to the pxafb driver, no longer work = blank screen except for system calls to the lcd.

Although i could be wrong, but it's too much to be done to the kernel mainly phone and audio support before i can dive into getting a newer version of android working.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Source code?

Can anyone find the source code for these phones? SciPhone N12 with Android 1.6 Donut? It has a PXA series processor and a qualcomm MSM6246 i might be able to get a better framebuffer and phone driver from this, or a phone driver from the samsung GT-I5700 (Galaxy / Spica) QC MSM6246 or samsung GT-I8000 Omnia II QC MSM6290.
[JASJAR, XDA Exec, MDA Pro ROM Development] tayfelix:
Go To http://www.handhelds.org/moin/moin.cgi/UniversalHowtoInstallLinux to check it out!:rolleyes:
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
UPDATES.....

Getting ready for another release sometime this week details posted on the main page, still gotta sort out a few things....

Still need someone to start building android builds to get a newer one working and some other features working mainly lights, vibrator, phone and maybe sound.

And I'm still accepting any input anyone my have on code for the remaining hardware, and can share mine. I'm starting to run out of ideas and skill. :(
[JASJAR, XDA Exec, MDA Pro ROM Development] Simon_WM:
Hi Notime,

just partitioned my 2gb SD card, and loaded the files into the correct partions to find an eorror ocurs, when its trying to find the system files although there under: ex3 sdb2 section? :eek:

any ideas?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Well....make sure that the lock on the side of the SD card is off, and that it's your second partition if not change your startup.txt file to point to the correct partition. If that's correct see if you can see the files on your computer and maybe copy the files again and test again.
[JASJAR, XDA Exec, MDA Pro ROM Development] tayfelix:
but how to use it???
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
I found source codes for HTC Android Phones. Maybe it help. http://developer.htc.com/
[JASJAR, XDA Exec, MDA Pro ROM Development] domi007:
notime I sent you a PM, did you get it? :rolleyes:;)
[JASJAR, XDA Exec, MDA Pro ROM Development] tayfelix:
Hi, Can U Make A Easy Installer Like OpenMoko Please I Luv Android But I Don Like Creating A Partition!
[JASJAR, XDA Exec, MDA Pro ROM Development] willhard1986:
Great!Great!
[JASJAR, XDA Exec, MDA Pro ROM Development] KOLANICH:
1 Need It a swap file after installation?

If it need, it will damage flash card

2 What about ROM for RUU ?

3 Need we flash card after instaalation?

Will I be able to remove it and use another flash card (32 mb :( )?

because it is flash card from pocketbook.

What about Froyo?
[JASJAR, XDA Exec, MDA Pro ROM Development] derluz:
on the first try i got an error that it didn't have the permission to execute some files. after delete and recreate the ext3 partition (this time with full aviable size) it works. i am not relly sure where the problem was. :confused: but now it works :D

thanks a lot notime :)
[JASJAR, XDA Exec, MDA Pro ROM Development] Simon_WM:
Hi Notime,

followed the instructions on partioning (on ubuntu 10.4)

and when i try and run it get a " Kernal Panic "... Any ideas?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Update on Eclair....

I know this has been asked a lot: "Can we get éclair or foryo working?", "Why are you using such an old build?" I made some changes to the frame buffer code a while ago trying to get some improvement in speed it gave a little boost but it also fixed the page flipping and frame buffer error that I was receiving when trying to boot donut and eclair builds. So I got éclair working and as most would assume it was painfully slow without any room for improvement and potentially slower if phone and sound functions are ever working. I haven't tested it with my 128mb uni just my 64mb but without a graphics processing unit and 192mb+ of ram android past 1.6 donut just seems impractical and a waste of time. Foryo is suppose to be 5.5x faster then eclair so maybe....i'll have to wait for the source to be released though to see. I will post my kernel and éclair source at some point if anyone wants to test and i will try to get a donut build going at some point.
[JASJAR, XDA Exec, MDA Pro ROM Development] KOLANICH:
what about swap file

will your build need it in the common expluatation?
[JASJAR, XDA Exec, MDA Pro ROM Development] KOLANICH:
will we need the swap patrition in a common expluatation?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
OMG!!!!!!!

I just got USB host working!!!!! I'm sooooooooo excited!!!!!! :D:D:D:D

Who would've thought it.....all I did was enable usb host in my kernel and took a usb mini to female cable and patched in power using a old cellphone charger and presto:

<7>usb 1-2: udev 3, busnum 1, minor = 2

<6>usb 1-2: New USB device found, idVendor148f, idProduct=3070

<6>usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

<6>usb 1-2: Product: 802.11 n WLAN

<6>usb 1-2: Manufactuer: Ralink

<7>usb 1-2: uevent

Why has this not been done yet? :mad: My universal is even more awesome now!!!:cool:

This should be able to be done with a powered usb hub and a usb mini to female cable.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Am i the only one excited by this? I got my universal to see my usb wifi card!!! That there's linux drivers for!!!....i will try and load my zubuntu again and try and install a driver for it later that or figure out how to get android to see it following these instrusctions link...will post results later.

Does anybody have a powered usb hub and a mini to host cable who can test some devices or am i the only one who just have that stuff laying around...?
[JASJAR, XDA Exec, MDA Pro ROM Development] orb3000:
Congrats mate!

Keep up the good work!

Hope we can have soon a full working version for Uni´s!

Perhaps Android 2.2:rolleyes:
[JASJAR, XDA Exec, MDA Pro ROM Development] -Jonny-:
That is quite an amazing find. I thought it was physically impossible to do. Certainly when being talked about in the past everyone was negative about it saying the USB chip wasn't wired up for hosting. But here we have notime2d8 with it working. Ok, I'm more WM than Android, but nevertheless, a very exciting find indeed. I am only wondering now if we can find a WM driver!
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
WOW!!! USB-host working! gr8 work. Have you tried usb mouse? And flash drive?

BTW: For USB-host we need cable like this > http://tabletblog.com/2006/01/usb-power-injector-2.html ???
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
ok... so I got around to testing a few things. I hooked up a usb hub and it worked and to that I hooked up and all worked:

- 4gb sansa mp3 player it got mounted as a usb storage device and worked

-A regular and a mini optical mouse got mounted and it worked in android....:confused:...moving the mouse moved the screen and the click opened the menus

-A 2gb scandisk cruzer memory card mounted as a usb storage device and worked

-A usb gps mouse

-And a logitech gamepad

-and the ralink 802.11n wifi dongle

-generic micro buletooth dongle

-128mb universal running wm6.5 :cool:

So every usb device that I have worked.....need to find my usb dvd drive. I'm really in disbelief with myself and my universal right now. with zbuntu we can have a full mini laptop with all the externel usb devices we want.......
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
gr8!!! :cool:
[JASJAR, XDA Exec, MDA Pro ROM Development] l2tp:
OMG!! What a good news! Is there any possibility of doing this in WM?
[JASJAR, XDA Exec, MDA Pro ROM Development] ---UFO---:
I'm so happy to hear that. USB-host is one of the functions i miss in my Uni.

Please, post here a new kernel and also a new filesystem (1.6, 2.1, 2.2..) asap.

Thanks for your amazing work.
[JASJAR, XDA Exec, MDA Pro ROM Development] gabbafx:
Great work! Thank you for sharing your work.

I will try Android and also Zubuntu in the next days. I am very curious about it :-)

Hopefully the GSM/3G and the audio will work soon.

So it is possibly to make calls and use the dataplans.

Also I will try to understand how this stuff works to help or at least I will test the realeases.
[JASJAR, XDA Exec, MDA Pro ROM Development] gabbafx:
I tried to start android as described and I got following failure:

HaRET boot
Shutting down Hardware
Turning off MMU
Init preloader
PSR=600000df
Tags relocated
Kernel relocated
Initrd relocated
Jumping to Kernel....

After 15 sec or so the device reset.

I used the files from the first post which I putted on the fat32 partition of a fresh "formated" 4GB High Speed SD.

I have a 3,9GB Ext3 partition and a 128MB Linux Swap partition.

Are there some special requirements like a clean win mobile installation or a specific Win Mobile Version ?

(I use Winmobile 6.1 MaxStegi)

It would be nice if someone could me help me out.

thank you
[JASJAR, XDA Exec, MDA Pro ROM Development] Win_XP:
Any instructions how to get Zubuntu working on Universal?
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
Before you start HaRET turn off Wifi and turn on phone.
[JASJAR, XDA Exec, MDA Pro ROM Development] gabbafx:
Thank you!, that worked for me, now it boots.

I see it booting, than it switches to a white screen and hangs.

Thats not perfekt, but it is closer to running android ;-)