yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Update: donuts for everyone

As promised my new kernel with usb host is posted on the main page as well as my new donut build… that I built myself. You can just load it like the cupcake one. For usb host you will of course need an usb mini to female adaptor as well as either a powered usb hub or patch in power I did this using a 5volt usb phone charger. I will load my éclair build as soon as I get the touch screen and or the buttons working but I will be mostly focusing on my donut build. If someone has any of this working could they update the wiki with info on zbuntu, usb host, and a general how-to on extracting android and partitioning the memory card?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
There's a link on the first page of the zbuntu thread, but its just the same as android. Partition the memory card and extract the rootfs
[JASJAR, XDA Exec, MDA Pro ROM Development] gabbafx:
Your latest release with donut is starting fine.

the OS acts real slow but it workes.

Very impressive that Android is starting :-)

Thank you for the good work.

Is Android starting inside windows as an app or is no windows running when starting Android oder zubuntu?

The device resets when I start the camera app
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Yeah i know about the slowness thats why i'm thinking about going back to cupcake if i can't find some speed somewhere. Maybe overclocking it i belive its running at 416mhz right now. And its no windows running when they are started.
[JASJAR, XDA Exec, MDA Pro ROM Development] ---UFO---:
Thanks for the update, but I have got a problem.

When i started android of any build (1.5 , 1.6) it didnt run.

Here is the error message.

init: cannot execve ( system/bin/mediaserver): Permission denied

init: cannot execve ( system/bin/dbus-daemon): Permission denied

request_suspend_state: wakeup

Thanks in advance.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Either you have the memory card locked on the side or you copied the files incorrectly. it gives that error when the files become write protected.
[JASJAR, XDA Exec, MDA Pro ROM Development] cheapusenet:
is there any hope of getting say, a 720p logitech or ms webcam working+recording to sd with usb host? i think that could have..very fun uses.

edit:

this zubuntu, does vlc run on it. >.>
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Battery

I replaced the link to my donut build with a new one. I have the battery working now!!! it shows the battery level, voltage and temp. And the battery status works as well but it only shows "discharging" and when you hook up power "not charging" because i haven't fixed the charge function in the kernel yet.

And i was right it was running at 416mhz by default I changed it to 520mhz default so its a little faster now. I think the rest of the slowness is coming from the fact that we running from the memory card, and some of us might be using slow ones instead of the class-6 ones, and the lack of ram, my 64mb universal only had a little over 2mb free on boot.

it's still snappy though and I haven't made use of a swap yet so we might get a boost from that, and maybe bump it up to 624mhz after we figure out power management, and get some hacks from the cyanogen android roms.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Did me fixing the battery break the keyboard and arrow keys? :confused:
[JASJAR, XDA Exec, MDA Pro ROM Development] gquipster:
I hope not as I've just downloaded your donut build for my first try at Android! :D
[JASJAR, XDA Exec, MDA Pro ROM Development] gquipster:
Not sure if it's me or a bug but it kept resetting itself everytime i tried to increase the brightness of the screen in the Settings screen :-)

Will play more tomorrow in work :D
[JASJAR, XDA Exec, MDA Pro ROM Development] markherbert:
Missing axdroid-0.1-alpha.tar.gz

The link to axdroid-0.1-alpha.tar.gz is broken. Can anyone provide an alternate link or upload the file to this site or somewhere?

Many thanks

Mark
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
It still works but here's another link: (Link)

This one has just a few more apps installed
[JASJAR, XDA Exec, MDA Pro ROM Development] tayfelix:
Hi Guys, I Used GPareted Live CD And Make A 40MB FAT32, 365MB EXT3 And 64MB Linux SWAP. After Reboot To Windows, I CAn Find This File System, I Download Programs That Can Read,BUT It Can't Write. Please Help Me If Any Programs Can Read/Write This Files System, Please Tell Me Thank You. I Really Loves Android!
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
Try it in Linux Live CD. For example Ubuntu.
[JASJAR, XDA Exec, MDA Pro ROM Development] KOLANICH:
What about froyo???
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
As soon as google release the source code i'll build it just for you...;)
[JASJAR, XDA Exec, MDA Pro ROM Development] blackSVK:
Hello notime2d8.

How to mount USB flash disk on Android?

I've got this cable > http://tabletblog.com/2006/01/usb-power-injector-2.html

I use this rootfs > http://sourceforge.net/projects/htcuniversal/files/axdroid.tar.gz/download
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
I haven't tried to get it to work yet, but you should be able to change

# Mount the SD Card partition

setprop EXTERNAL_STORAGE_STATE mounted

mount vfat /dev/block/mmcblk0p1 /sdcard nosuid nodev

in your init.rc to the path of your usb disk. From what i've seen, in android you can only mount memory devices as the sd card. Have you tried using any other usb devices in zubuntu?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
eclair

Posted my eclair build it runs fairly slow and crashes when it runs low on memory still no touch screen. Also posted kernel that has backlight working.
[JASJAR, XDA Exec, MDA Pro ROM Development] Gonnir:
Please help!

I'd like to ask a little help. When i try to load the 1.5 build it's stops at "Jumping to kernel". I used a 1gb mmc card.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Do you have the phone turned on?
[JASJAR, XDA Exec, MDA Pro ROM Development] Gonnir:
Nope. But i don't use SIM in my uni...
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Yeah you will still need to have the phone enabled in wm before you start android for it to work.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
128mb universal

Do anybody know the patch or changes that were needed for linux to work on 128mb universal's? Has anybody gotten this to work on a 128mb universal?
[JASJAR, XDA Exec, MDA Pro ROM Development] Gonnir:
error

Ok turning the phone on helped, but now i get kernel panic. Cannot open root device "mmcblk0p2" or unknown block (0,0)
[JASJAR, XDA Exec, MDA Pro ROM Development] Gonnir:
I tryed to replace the 2 with 1 and 3 too, but not helped...
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
If anyone is wanting to build the linux kernel for the universal or needs some files i have most of everything posted on

https://sourceforge.net/projects/htcuniversal/files/

as well as my android builds....if anything else is needed let me know and i'll try to get it uploaded.

If anybody knows how to build a kernel let me know i still need help trying to get the new camera and wifi drivers to build as well as the sound.
[JASJAR, XDA Exec, MDA Pro ROM Development] kEviN.H:
my universal is 128MB

it work

1.5

1.6 and 2.1

not test

set FBDURINGBOOT 1

set kernel "zImage"

set mtype "855"

#set cmdline "root=/dev/mmcblk0p6 rootwait rw rootdelay=10 cpu-pxa.pxa27x_maxfreq=624 console=tty0 fbcon=rotate:1"

#set cmdline "root=/dev/ram0 ramdisk_size=16384 rootwait rootdelay=10 rw init=init fbcon=rotate:1

set cmdline "root=/dev/mmcblk0p6 rw init=init cpu-pxa.pxa27x_maxfreq=520 console=tty0 rootdelay=5 fbcon=rotate:1"

boot
[JASJAR, XDA Exec, MDA Pro ROM Development] Gonnir:
Please help...

Still can't start it... I don't know why. What i made wrong?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
update

Got a few changes coming when I post the next kernel in a few days…details/working list updated on the first page.

Random thought's and questions:

A question on the sound gpio’s there’s some conflicting info. What is gpio27 some say usb host and some say it’s the codec on, what gpio’s are used to power on/off the ak4641?

What gpio are used for the charge function?

How do I find out the use of all the blank and unused gpio’s, egpio, and asic3 gpio’s?

What’s GPIO 94 ipl: O? / GPIO 97 DREQ1 / GPIO 111 button? GPIOA9 extra flashlight (1=on, 0=off)

How to turn the backlight or LCD off?

How was the phone interfaced in the old 2.6.21 kernels and who wants to work on a new driver for it, it's halfway done?

Does anybody need IR built into the kernel.

I wonder if or how much of an increase would we get if we switched to a 320x240 resolution or should i just leave it at 640x480?

We only have the big three to go: sound, wifi, and the phone. Still looking for help I can send the partially working drivers for these that I have. I think i've run out of other easy things to do i gotta work on these now... :(
[JASJAR, XDA Exec, MDA Pro ROM Development] cheapusenet:
stick with 640x480. using qvga seems like a waste of screenspace.
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Froyo

What I tell you? :cool:

This gotta be the fastest port. I built it as soon as it was out.

Screen shots and rootfs on first page.

still got a ways to go still :(
[JASJAR, XDA Exec, MDA Pro ROM Development] tayfelix:
Can Anyone Make Or Create An CAB. Installer Like OpenMoko And Qutopia? Because When I Create Ext 2 Partition, I Can Copy The Tar. To It! I Use Ubuntu Live CD! I Love Android I Want A Cab. Installer! Can Anyone MAke One!:p
[JASJAR, XDA Exec, MDA Pro ROM Development] rpg_greg:
BUMP, anyone?
[JASJAR, XDA Exec, MDA Pro ROM Development] KOLANICH:
Thanks.

What about wi-fi?

How soon it will be ready?

Will I need swap patrition after installation or wont?

Can I run it with 64 mb ram on board?

Will I be able to change flash card after installation or remove it at all?

Will it be fast?

What about installation through bootloader?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
What about wi-fi?

I kinda have wifi working through usb wifi dongle.

How soon it will be ready?

Built in wifi is going to be longer as i cant get the driver to build with my kernel.

Will I need swap patrition after installation or wont?

No, but you only have 64mb of ram so you'll get some crashes and it'll run slower, and i don't have swap enabled in this build.

Can I run it with 64 mb ram on board?

Yes

Will I be able to change flash card after installation or remove it at all?

No, it will freeze and crash

Will it be fast?

As fast as a 5yr old device can be. I got some speed improvements coming in my next kernel release.

What about installation through bootloader?

Don't know where to begain on this :confused: not likely. This would speed it up quite a bit though.
[JASJAR, XDA Exec, MDA Pro ROM Development] orb3000:
congrats notime!

Keep up the good work!
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
I've tried both froyo and donut rootfs, everything's boot until "A N D R O I D" is writen in console, then it drops me to sh. looks like mmcblk0p2 is mounted as / (ls shows it content)

about gsm, have a look at Titchy linux for uni, it has gsm working (using it's own phone daemon, but it may be a good base for developing sth for android)
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
tried with other sd card with no luck :(
[JASJAR, XDA Exec, MDA Pro ROM Development] b0z0k:
Little Help for Noobs Please

Hi Notime! Gr8 work on the Android & the whole USB drivers thing ^^

It's such an achievement for 5-year old Uni..

I love Uni very much & the recent WM changes are slowing down..

I really am interested in Android.. But all the instruction in this thread & other threads aren not Noob-proof (like me -- hey i'm really really a noob at the whole android thing) thus making we (noobs) asked a lot of questions like this..

So what i'm saying is.. instead of receiving a LOT of noobs questions like this, can someone make a detailed step-by-step HOW-TO-GET-ANDROID in Universal in this thread (preferably @ first post) this will help the community a lot..

i myself had all the troubles met by noobs :

1.

Creating the 3 partitions on SD Card : Solved by using RAMDISK posted by shabihsherjeel in

http://www.handhelds.org/moin/moin.cgi/UniversalHowtoInstallLinux

with a little note :

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

2.

After getting the necessary partitions, we noobs are confused @ un-tar the froyo.tar.gz file : Solved using a little help from google -- just open the RAMDISK again, log on as ROOT, copy the froyo.tar.gz file to /mnt/ext3 using steps from the partitions tutorial & go to the /mnt/ext3 partitions and use : tar -zxvf froyo.tar.gz

3.

Then i get this "Jumping to kernel error" when i run HARET : Solved by turning on the phone @ WinMo before booting HARET

4.

After that i still got the kernel Panic.. i dont know what is causing this.. and a fellow noob (Gonnir) are also met this problem.. Can somebody give us noobs some helping hand?

P.S. i CAN use android @ my touch pro, because the android there doesn't need the partitions (only copying some files from the WinMo -- Simpler) & because there's some detailed explanations. I really loved Uni better than touch pro & the USB driver stuff is incredible (thx to Notime) but maybe because Uni is an old device, the steps are quite hard for noobs.. Please help us noobs :confused:

thx in advance

--

b0z0k

128mb G3 Uni

Thing's v.2.3.2
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
This may be a problem with your sd card - can you post a photo of uni's lcd after kernel panic occurs? I have 2gb MicroSD Kingston card and very often it's not recognized by linux kernel on pxa based pda's...

in my case android stop boot after running init from it's partition. Got only "A N D R O I D" and then "sh can't access tty job control turned off". After that it drops me to sh.

[edit]

wow, on axdroid rootfs (this oldest) i've goot android splash... and after few seconds got softreset (as usual :/ )

ok, got also froyo booting - i must do something in terminal (eg. repeat using ls command every few seconds) until i've got android splash, then it boots. If I don't do anything, it just softreset after a few seconds.

After boot i've got a lots of messages that "process <name> is not responding"
[JASJAR, XDA Exec, MDA Pro ROM Development] samjam:
offtopic

I've seen quite a few people use "sth", mostly eastern european. When I ask what it means I'm told that their english teacher tells them it means "something".

In the interest of good communication I have to say the closest common use in western europe is Sexually Transmitted Herpes, followed by Sith (as in Sith Lord, Star Wars).

I realise this may be offensive and so probably not many people point it out which is why it keeps getting used. I realise that english is under constant change; I'm merely trying to point out how the word appears to many.

best regards, Sam
[JASJAR, XDA Exec, MDA Pro ROM Development] b0z0k:
I use a 1GB Sandisk Micro SD using MicroSD adapter from a local SD card Branf (Visipro)

Ok.. This is my screen when i boot Haret & then got a kernel panic :

(hope i do it right)

and this one after i try to change the startup.txt from /dev/mmcblk0p2 to /dev/mmc/blk0/part2

--

B0z0k

128MB G3 Universal

Thing V. 2.3.2
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
In your first screen shot, it just seems that there was a problem detecting your card. you could've just reinserted it to get it to detect right, and it should be /dev/mmcblk0p2

Also I dropped, and broke/cracked the screen on my universal this weekend. :( so until i find a screen for it or figure out how to get this working on my 128mb universal the updates might not be coming so quickly. i"ve only seen one person who has it working on a 128mb universal, but i always get soft resets, as soon as i figure it out i'll post a update of what i did.
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
samjam - i didn't know that before, as you written i thought it means "something", but thranks for a tip ;-)

about photos - i've got this problem very often on my uni (64mb g3) with kingston microsd. but i think it's pxa sd host driver related - on other device - bsquare power handheld (i'm working on linux port for it) i've always got this error... and never got it with other - pretec 2gb sd card. never got it also on any sd card reader i used in my pc.

froyo for me worked damn slow (about 10 to 30 seconds between screen tap and response), is it normal?

about usb host, is there any chance that it's powered from uni? it's "normal" pxa usb otg host? (i think about grabbing drivers from other host enabled pda with pxa 270, maybe it will work for winmo too)
[JASJAR, XDA Exec, MDA Pro ROM Development] PrzemoST06:
b0z0k, try adding rootdelay=2 (or more)
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
look @ photos, he has got 5 seconds delay, on first photo problem is in sd card init, not mounting partitions, on second looks that he's got bad root path in kernel command line
[JASJAR, XDA Exec, MDA Pro ROM Development] b0z0k:
Little progress.. but... :(

Thx 4 the support @ Android everyone.

I came across some progress today (still can't boot that damn Froyo :p)

I change the SD settings in my WM ROM to standard SD (i think this is the problem, yesterday i still used the SDHC type I setting -- i used an 8GB SDHC usually, lots important files, so i cant format it)

I change the micro SD adapter (still the same MicroSD & same files)

i get this result :

is it because i use SPB Mobile Shell 3 in my WM?
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
no, thats okay, just wait (or if you'll get softreset, try again but repeat using some command in terminal, like ls) until you'll get blank screen or android boot logo (depends on used rootfs)
[JASJAR, XDA Exec, MDA Pro ROM Development] b0z0k:
Yay! it's booting.. Touch Screen dont work though.. :p

I got it working, but after i got into this screen (lock screen), i can't do anything, i cant use the touch screen, and i cant use any buttons.. hmm.. still a gr8 progress though ^^

Bad News.. after a while the screen ocassionally become blank like in this picture:

Is there any settings i need to do to pass the lock screen? Because i tried many, many times and waited so long but nothing happened (for over 30 seconds after i slide it)

--

b0z0k

128mb RAM G3 Universal

Thing V.2.3.2
[JASJAR, XDA Exec, MDA Pro ROM Development] cer7400:
i've got the same problem as you b0z0k until I try donut version

now it works OK.
[JASJAR, XDA Exec, MDA Pro ROM Development] b0z0k:
Donut build works..

I add "lcd.density=210" in my startup.txt right after the first #set cmdline

The wallpaper seems better (before i add the patch the wallpaper seems too small)

For noobs like me that wanted to install applications, because there's no Android Market, i can add the APK's in /system/app folder in EXT3 partition.

Just put the APK in your VFAT, run RAMdisk, and use this instructions:

Login

Login with : root

Password : rootme

Prepare the first mount point:

Type : mkdir /mnt/vfat

Prepare second mount point:

Type : mkdir /mnt/ext3

Mount the partitions

1st partition mount

Type : mount -t vfat /dev/mmc/blk0/part1 /mnt/vfat

2nd partition mount

Type : mount -t ext3 /dev/mmc/blk0/part2 /mnt/ext3

Copy The APK files Using this line :

Type : cp /mnt/vfat/"The .APK file without the quotes" /mnt/ext3/system/app

Type : Sync

Type : Reboot

That's it.. the next time u boot haret it will be on your app list.

Viva Android ^^
[JASJAR, XDA Exec, MDA Pro ROM Development] cheapusenet:
just gave the froyo build a shot. touchscreen dont work period, and my god is 10minute bootup time normal?
[JASJAR, XDA Exec, MDA Pro ROM Development] abam:
Hey guys,

does phone and wi fi features in Android finally work on Uni?

thanks for your reply.
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
read first post... :mad:
[JASJAR, XDA Exec, MDA Pro ROM Development] abam:
hey Kitor,

thanks for reply.

I actualy did, noticed 'Last edited by notime2d8; 29th June 2010 at 07:28 PM. Reason: Update' and decided to double check if anything changed since then
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
They were no changes here.

@notime2d8

Where you had enabled USB host? I want to quite improve old kernel that was used for Debian.
[JASJAR, XDA Exec, MDA Pro ROM Development] kitor:
Any changes in there? I noticed first post modification on Sunday :cool:
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
Little that I didn't feel was important enough to post about, i switched to a newer kernel that's a little faster and has a faster/better mmc driver and i fixed the charge function and the led for it.
[JASJAR, XDA Exec, MDA Pro ROM Development] domi007:
Could you tell me what's wrong with the WiFi driver and the newer kernel please?
[JASJAR, XDA Exec, MDA Pro ROM Development] notime2d8:
I honestly don’t know I haven’t really looked at it. I worked on it for about 3 hours and moved on. I think I will try to get the old driver working or get with the person working on it for one that can build against a 2.6.35 kernel this weekend.

I also got a driver for the modem working it shows up as /dev/ttyUSB0 and /dev/ttyUSB1 and I can send a few at commands to it, but no calls or internet yet, it fails in android somewhere with the RILD. I might need to apply some patches to android’s libreference_ril and RILD to get to it to work properly. Can anybody work on or look into this? Or know how to use AT commands on a modem?

Also, if anybody knows of any apps, patches, ideas, drivers, or tweaks that i can apply to my kernel or android build please PM and i will get those added and updated.
[JASJAR, XDA Exec, MDA Pro ROM Development] przemoc21111:
how unpack rootfs on ext3 partition
[JASJAR, XDA Exec, MDA Pro ROM Development] laserdrome:
@ przemoc: You'll first have to mount the EXT3-Partition. And then you simply use the command from the first post - if in the shell, don't forget to cd to the folder, where the axdroid.tar.gz is in.

I used an Ubuntu Live-CD for doing all the preparation. Worked like a charme - although the volumes have very very long alphanumeric strings there. Requires some typing :)

@ notime: Wonderful work! You might consider a PayPal donate-button :)
[JASJAR, XDA Exec, MDA Pro ROM Development] przemoc21111:
thanks for answer laserdrome:)
[JASJAR, XDA Exec, MDA Pro ROM Development] spanner3003:
why no new build

Hi notime2d8

Thank you for the grate work on linux and android on the HTC universal

Could you please tell us why you have not uploaded this new donut build yet as I am very interested in getting it working on my phone and hopefully getting rid of windows mobile for good

with a stable all working android OS.

I know it's not stable at the moment but I would hope you would work more with your teams help and get is stable and work with phone and wifi.

i agree with laserdrome to.

thank you again

spanner3003
[JASJAR, XDA Exec, MDA Pro ROM Development] przemoc21111:
how install applications on android donut:confused: I please for detailed answer