yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] DrGit:
I've been running Debian natively from my SD card for a while, so I decided I'd share the [relatively easy] instructions. First, though, here's the status of the hardware support...

* X11 is working quite nicely. 480x640 resolution is best for using E17.

* I'm trying to think up a solution for the 3D accelerator. LLVMpipe works but it's not much faster than classic Mesa. Maybe that's because I'm only testing performance with Mupen64Plus and SuperTux :P Ideally we would have an open-source OpenGL ES 1.0 driver with an OpenGL 1.3 wrapper/Gallium state tracker, but unfortunately Qualcomm closed it :(

* The hardware buttons don't generate input events (except the power button, which apparently makes SDL windows fullscreen).

* USB function ether works. This means you can SSH into it or update packages without a data connection (I don't think data even works).

* Sound doesn't work because Android doesn't use ALSA - or maybe because DZO hasn't written the proper driver...

* Camera(s) would need a Video4Linux driver; again, not my area :P

* Bluetooth is untested.

* GPS needs userspace work (gpsd?) - maybe the HTC Dream page at HTC-Linux.org has info...

* Calling - untested because: 1) I doesn't got the software, and 2) even if it worked, I have no one to call :P

If you're willing to wait indefinitely for those things to be fixed (or if you don't care), all you need is a Debian chroot on an EXT2-formatted SD card and my special NBH. The NAND should also work*, but Debian probably wouldn't fit on it. These instructions should also work for Ubuntu, Gentoo, FSO/OpenMoko, Angstrom, ARMedSlack, Fedora, or what have you - the only requirements are ARMv6 or lower and a semi-standard root filesystem layout (i.e. /sbin/init).

For those of you who don't trust binaries, I've uploaded my patches to the kernel and tinboot needed for Debian to boot. For everyone else, I have NBH files ready. Just flash the NBH, insert your SD card, and it should boot.

Links:

http://www.mediafire.com/?mnv2memddug (source)

http://www.mediafire.com/?immywzmmqjn (binaries)

*LogFS patch included and enabled in my NBH.
[Touch CDMA Android Development] mrono:
Interesting, i'm going to have to try it out, any chance of getting it bootable from within android, like haret is with windows?
[Touch CDMA Android Development] jadenj5:
what exactly is debian??

is it like ubuntu thats on my computer
[Touch CDMA Android Development] mrono:
yes

10char
[Touch CDMA Android Development] mrono:
little confused though, where do I get the debian root files though
[Touch CDMA Android Development] DrGit:
Debian Root

Instructions to build your own RootFS follow. If you're lazy, Google for a pre-built one.

If you're on Ubuntu:

sudo apt-get install debootstrap
sudo debootstrap --arch armel --foreign unstable root/ http://http.us.debian.org/debian

Substituting "unstable" for "stable" or "testing", "root/" with the the path to the directory you want the rootfs in (probably your SD card mountpoint), and your country code in ftp.??.debian.org (or another mirror). You might also need to do

sudo mount -o remount,rw,dev,exec $MOUNTPOINT

to your SD card (which, again, should be ext2-formatted) for debootstrap to work.

Then to complete the bootstrap:

sudo apt-get install qemu-kvm-extras-static
sudo cp /usr/bin/qemu-arm-static $ROOTFS/usr/bin/
sudo chroot $ROOTFS

From inside the chroot, do

/debootstrap/debootstrap --second-stage

Then, apt-get install whatever you want on the phone (after configuring /etc/apt/sources.list), exit the chroot, unmount the card, insert it in your phone, and boot!

You'll need - at the very least - xserver-xorg-video-fbdev and xserver-xorg-input-evdev *WITHOUT* installing the other video or input drivers. And a desktop/window manager. If you haven't used Debian before, try e17.
[Touch CDMA Android Development] mrono:
Thanks man, i'm going to go check it out
[Touch CDMA Android Development] Dominik06:
can't find one.? :(
[Touch CDMA Android Development] rzk333:
ubuntu 10.04 debootstrap doesnt know about stable/testing/unstable names, but knows about lenny, squeeze, sid (:
[Touch CDMA Android Development] rzk333:
okay, I maked Debian unstable rootfs - here it is (127MB tar.bz2). here is dpkg -l.

root password is "1", apt sources.list is configured to most close to me mirror. I also added /proc into fstab.

how to pack my rootfs into .img image now?
[Touch CDMA Android Development] insestito:
can you post a screenshots please ???
[Touch CDMA Android Development] rzk333:
there is nothing to show now, really. we need to make working pack first.

google e17 screenshots, on device you will have same.
[Touch CDMA Android Development] mssmison:
a note about the sound issue. You are correct in that the vogue kernel does not have alsa support at this time.
[Touch CDMA Android Development] jamezelle:
nice job on this
[Touch CDMA Android Development] mrono:
E: No such script: /usr/share/debootstrap/scripts/stable

debootstrap installed with no errors but that's what I get when I try to run

sudo debootstrap --arch armel --foreign stable /media/79e9dd5a-174b-4324-a704-6aa06807fe35 http://http.us.debian.org/debianc
[Touch CDMA Android Development] DrGit:
Try "lenny" instead of stable.
[Touch CDMA Android Development] mrono:
progress but now i get

I: Retrieving Release
E: Failed getting release file http://http.us.debian.org/debianc/dists/lenny/Release
[Touch CDMA Android Development] DrGit:
Look closely - the mirror URL doesn't contain "debianc", does it?
[Touch CDMA Android Development] mrono:
I'm F-ing retarded

/facepalm

-Edit- any packages you would advise to install?

New problem

mrono@mrono-desktop:/$ sudo chroot /media/79e9dd5a-174b-4324-a704-6aa06807fe35_
chroot: cannot run command `/bin/bash': Exec format error

Could it be because sudo apt-get install qemu-kvm-extras-static had no packages and I had to install sudo apt-get install qemu-kvm-extras
[Touch CDMA Android Development] DrGit:
sudo cp /usr/bin/qemu-arm-static $ROOTFS/usr/bin/

This step is essential - without qemu-arm-static in your chroot, you won't be able to run/emulate any ARM binaries (in this case, Debian-armel's /bin/bash).

Yes, you do need the static version. Last I checked it was actually in the Ubuntu repositories, so look again...

As far as what packages to install, here you go.

Essential packages: xserver-xorg-{video-fbdev,input-{mouse,keyboard}}

Essential desktop packages (pick one): e17 fluxbox lxde xfce4

Recommended packages: cellwriter xfce4-goodies

Suggested packages: Whatever floats your boat.

Packages I installed even though having no sound makes them useless: zynaddsubfx supertux sopwith bomberclone
[Touch CDMA Android Development] mrono:
I swear this is just never easy, I got the -static package installed by downloading the deb and fixing the dependencies(never showed up in apt-get). Now I have another error, after chroot the following happens when I try to do the next step.

I have no name!@mrono-desktop:/# /debootstrap/debootstrap --second-stage
/debootstrap/functions: line 1088: //test-dev-null: Permission denied
E: Cannot install into target '/' mounted with noexec or nodev
[Touch CDMA Android Development] DrGit:
You probably forgot to do:

sudo mount -o remount,rw,dev,exec $MOUNTPOINT

outside of the chroot before you entered into it.
[Touch CDMA Android Development] mrono:
Yeah that was it. I'm a little confused, What do I put in my sources.list I tried copying over the one from my system and it didn't quite work, though I think it's more a problem with the net because when I try to ping google I get:

I have no name!@mrono-desktop:/# ping google.com
Unsupported setsockopt level=255 optname=1
WARNING: setsockopt(ICMP_FILTER): Protocol not available
PING google.com (66.102.7.99) 56(84) bytes of data.
Unsupported ancillary data: 1/29
64 bytes from 0.0.0.0: icmp_seq=1 ttl=57 time=22.8 ms
Unsupported ancillary data: 1/29
Unsupported setsockopt level=1 optname=26
WARNING: failed to install socket filter
: Protocol not available
Unsupported ancillary data: 1/29
64 bytes from 0.0.0.0: icmp_seq=2 ttl=57 time=24.3 ms
Unsupported ancillary data: 1/29
Unsupported ancillary data: 1/29
64 bytes from 0.0.0.0: icmp_seq=3 ttl=57 time=27.1 ms
Unsupported ancillary data: 1/29
Unsupported ancillary data: 1/29
64 bytes from 0.0.0.0: icmp_seq=4 ttl=57 time=24.8 ms
Unsupported ancillary data: 1/29
Unsupported ancillary data: 1/29
64 bytes from 0.0.0.0: icmp_seq=5 ttl=57 time=41.5 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4469ms
rtt min/avg/max/mdev = 22.889/28.168/41.568/6.837 ms

Sorry i'm being such a bother.
[Touch CDMA Android Development] DrGit:
No problem :P Did you remember to mount /proc, /sys, and /dev? As far as your sources.list, it should look something like this:

deb http://http.us.debian.org/debian stable main

Or replace the mirror with the one you used to do the bootstrap. Also, you should run "/debootstrap/debootstrap --second-stage" *BEFORE* you do anything else in the chroot.
[Touch CDMA Android Development] mrono:
er mount /proc, /sys, and /dev?
[Touch CDMA Android Development] DrGit:
Oops... I forgot to add that to the instructions.

From outside the chroot:

sudo mount --bind /dev /media/$MOUNTPOINT/dev
sudo mount -t sysfs none /media/$MOUNTPOINT/sys
sudo mount -t proc proc /media/$MOUNTPOINT/proc

and after exiting the chroot:

sudo umount /media/$MOUNTPOINT/dev
sudo umount /media/$MOUNTPOINT/sys
sudo umount /media/$MOUNTPOINT/proc
[Touch CDMA Android Development] mrono:
I set up my sources.list just like that but no matter what I do i always get this

root@ubuntu:/# apt-get install xserver-xorg-{video-fbdev,input-{mouse,keyboard}}
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xserver-xorg-input-keyboard
[Touch CDMA Android Development] mrono:
Another thing, I can't flash the included NBH, i renamed it correctly but the phone says no image file
[Touch CDMA Android Development] DrGit:
Try "kbd" instead of "keyboard". Also, try using HTCFlasher (RUU) instead of flashing from SD.
[Touch CDMA Android Development] walter79:
http://wiki.xda-developers.com/index.php?pagename=RhodiumUbuntu

or

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

Rhobuntu - Ubuntu on HTC device
[Hero CDMA Q&A, Help & Troubleshooting] ahunid50proof:
Ive tried flashing the stock 1.5 radio and seemed to work but as it reboots and i check software info it still shows the 2.1 radio i flashed. Are there specific steps in flashing radios?
[Hero CDMA Q&A, Help & Troubleshooting] azyouthinkeyeiz:
Yea, click search up there at the top..

There are only about 1500 threads about this same thing..

If that's too hard, ##786# from a 1.5 rom..
[Hero CDMA Q&A, Help & Troubleshooting] ahunid50proof:
i tried ##786# but it asked for a password, do u know whats the password? i am suppose to reset it right?? would b greatly appreciated
[Hero CDMA Q&A, Help & Troubleshooting] regaw_leinad:
here you go :)

http://xdaforums.com/showpost.php?p=5859560&postcount=28
[Hero CDMA Q&A, Help & Troubleshooting] thatguythatdid:
Follow the link in my signature it will tell you how to get your msl which is the password.
[Hero CDMA Q&A, Help & Troubleshooting] ahunid50proof:
thanks i tried ur method for msl but it didnt show me entries labeled "I/EpstBroadcastReciever"....so my question is can i use the official sprint 2.1 ruu to update with the 2.42.01.04.27 and stock 1.5??
[Tilt, TyTN II, MDA Vario III Android Development] grybanas:
HI

i have kaiser 130

I tried few diffrent android version but with evry version phone cant connect to network sometimes he connects for few minutes but not longer. With windows everything ok

I tried:

Incubus26Jc's Super Eclair Lite 2.1

Warm Donut RLS 5 with Kaiser updates integrated including battery

Im using

HardSpl 3.34

radio 1.70.19.09 (tried 1.70.18.02)

Protocol 25.83.40.02h

Maybe someone had same problem and can help me?

Sorry for my english.

i just checked i was editing nbh for Warm Donut RLS 5 with Kaiser updates integrated including battery

and i was using esclair not donut. (dum) Maybe in this is problem....
[Tilt, TyTN II, MDA Vario III Android Development] oahcuil:
I has the same problem too ,waiting somebody give a method to solve this
[Tilt, TyTN II, MDA Vario III Android Development] mr_fosi:
Have you tried an older radio, such as 1.65.21.18?
[Tilt, TyTN II, MDA Vario III Android Development] grybanas:
No because in guide:"How to replace Windows Mobile with Android (Guide)" (sorry i cant paste link because im new user) is recommended 1.70.x and better here it is "#2 Does your Kaiser have a relatively new radio rom? If not then get one. Recommended to have 1.70.xx.xx and up. "

if it is radio fault so why on winMO with same radio working?

And one more thing kaiser with android finds not 02 but BTCellnet (in the beginning O2 was BTCellnet )
[Tilt, TyTN II, MDA Vario III Android Development] mr_fosi:
The same radio suggestion was made to me several days ago while trying to get audio working in android (via HaRET). Upping to 1.70.xx didn't fix my issues, but 1.65.xx did.

If you are able to test it in WM, you must still have WM installed. Are you booting android with HaRET?
[Tilt, TyTN II, MDA Vario III Android Development] grybanas:
No i think HAret if you installing to sdcard but im installing not in sdcard.

im doing all by this guide go here to read.

xda-developers > HTC Kaiser: Tilt, TyTN II, MDA Vario III > Tilt, TyTN II, MDA Vario III Android Development

> How to replace Windows Mobile with Android (Guide)
[Tilt, TyTN II, MDA Vario III Android Development] mr_fosi:
Yes, I know the sticky thread to which you have now twice referred. I am asking how you know wifi works in WM if you have replaced WM with android as the guide leads you to do.

There is no danger it trying an older radio regardless of what the guide suggests. I would respectfully suggest that you give 1.65.xx a shot, despite what the guide says. If the older one works, then you have solved your problem. If it doesn't work, you can flash 1.70.xx back on and try something else.

I am running Incubus's Super Eclair on my device and wifi works flawlessly. I am also able to do BT connections and hear audio. None of these worked when I tried 1.70.xx, so I use 1.65.21.18 instead.
[Tilt, TyTN II, MDA Vario III Android Development] grybanas:
em not wifi iwth wifi every thing ok but mobile newtwork dosent work
[Tilt, TyTN II, MDA Vario III Android Development] mr_fosi:
Roger that. My recommendation still stands, however.

Trying the alternate radio will take you less than 5 min total including d/l time. You can find it linked in post #3 of this thread: xdaforums.com/showthread.php?t=393182.

You could also try 1.71.09.01, which I see was posted several days ago.
[Tilt, TyTN II, MDA Vario III Android Development] grybanas:
thx m8 its working! just signal strength is bad :) but still....it works! one more time thank you m8!
[Tilt, TyTN II, MDA Vario III Android Development] mr_fosi:
m8? :confused:

What was your solution?
[Tilt, TyTN II, MDA Vario III Android Development] Terracide:
i have a similar problem. Cannot connect to the internet with 2g/3g, but wifi works. The latest rom did not solve my problem. Maybe i'll try older ones...
[Tilt, TyTN II, MDA Vario III Android Development] dwmz:
hi @all,

any news here?

I got the same problem.

At the moment I have running the version milanche has upped, because I thought it is running for him, so maybe it does also for me. but it doesn't.

xdaforums.com/showpost.php?p=6570064&postcount=7

(sorry, as a new user I can't make a link out of this)

Everything seems to be fine except mobile internet.

Edit:

Maybe I should inform you that I already have edited my APN-Settings. And I really think they should be ok. On WM6.1 these settings are working.

And I like to mention that I'm booting from SD.
[Tilt, TyTN II, MDA Vario III Android Development] orcatrainer:
Kernel may be ?...

Same problem with my phone. I have installed Froyo as explained in another post on my Kaiser TyTNII and everything works perfect except the phone network. I tried already around 5 diferent radios, with NO results.

Do anybody think this issue may come from the kernel instead ?

Using the "kaisimg-panel2-240x320-2.6.32-tilt-froyo-06-09-10_22.nbh" on my phone.

Thank you.
[Tilt, TyTN II, MDA Vario III Android Development] popicu:
I have a problem with an i-mate K-JAM ... Some time ago I got this ppc but I went I installed a program and got stuck. Windows and the currency we now find no signal at all looking and looking and still not know what does. please help me
[Tilt, TyTN II, MDA Vario III Android Development] illegal2008:
same issue.APN data not working

Incubus26Jc's Super FroYo RLS15

radio 1.65.16.25

kaisimg-panel2-240x320-2.6.32-tilt-froyo-09-09-10_21.nbh
[Tilt, TyTN II, MDA Vario III Android Development] illegal2008:
possible solution

I,m started MODEM application,tapped Connect-and looks like APN now working!
[Tilt, TyTN II, MDA Vario III Android Development] nastiero:
Let's see how long it works for you. I have the same setup as orcatrainer but mine works off and on some times. I must add, I have Simple Mobile. They are on the T-mobile network therefore, I cannot access 3G on my tilt. Playing with the 2G setting usually cause my phone to connect to APN until I turn the phone off. Then I have to struggle to get it to work again. I just put my sims back into my Blackjack 2 to access mobile data until this issue is fixed.
[Tilt, TyTN II, MDA Vario III Android Development] orcatrainer:
Hi there, I don't understand well what you did on your phone which made it work. Under which section you can find "modem" application ?

Thanks.:confused:
[Tilt, TyTN II, MDA Vario III Android Development] illegal2008:
in applications section-not in settings
[Tilt, TyTN II, MDA Vario III Android Development] nastiero:
I think you have found the solution. I have been using your method with success. Thanks Illegal2008
[Tilt, TyTN II, MDA Vario III Android Development] ritterkeks:
Tried anything - but still no data connection

I'm hoping to bring new life to this thread.

I have been trying to bring android to my kaiser since 1.5

But on. every. single. version. out. there...

data connection fails for me.

There may be bugs, there may be fixes and updates so that everything else works fine. But no data connection.

Of course I filled in the correct APN settings as said so often.

Now, after 2 months of absence, I tried the new advise, to also set MCN and MCC Values. I also tried this. And checked with different SIM-Cards and Providers.

And of course I tried the Modem Application and clicked connect.

(I also tried some early android versions for the HTC Blackstone, which I borrowed from a friend, and there the data connection worked out of box, but wifi didnt)

I tried the console

#/setupmodem.sh
--> wont do anything. the program has to be stopped by ctrl+z

#/smodem/ip-up
-->
ifconfig: ppp0: error fetching interface information: Device not found
(3 times)

then #cat /smodem/ppp.log shows:
Connection attempt SUCCESSFUL!
Phone IP:
Subnet:
P-t-P:
Done!

but since there are no entrys, it still won't work.

Also Important:

Im currently trying warm eclair and there in the power manager is the switch "APN" which is greyed out and cannot be clicked.

In the Wireless Settings "Mobile networks" are "disconnected" and won't connect if I click on it.

Also, I cannot set it to only use 2G Networks. Which is new, because in older versions I could check it, but that would not cause anything.

Oh, and since I have now found this thread and read the advice with older radios, I have tried different 1.7x radios before with no success, today I flashed the recommended 1.65.x radios, but that wont change anything. I have just flashed 1.71.09.01, but also no success.

:(:(

As I have found several posts from people who HAVE the correct configuration, who HAVE tried everything out there but still won't get a working data connection - is there any help or information I could provide to get this to work?
[Tilt, TyTN II, MDA Vario III Android Development] spaic:
Are you using haret or have you installed nand?

If you are using haret, make sure that the data connection is active when you boot into android. Worked for me when I used hare.

My problem was that I could not make calls (it would hang while hanging up...) and the data connection did not work, even if configured properly.
[Tilt, TyTN II, MDA Vario III Android Development] yellowsunshine682001:
I`m also having the same damn problems.To all the threads out there,still no clear cut step by step instructions on how to set up connection.Like what is the step by step for the APN?
[Tilt, TyTN II, MDA Vario III Android Development] ritterkeks:
well I have tried that before, of course.

but as you mentioned it again, i tried it another time, and also checked an older radio and a new one...

nonetheless no success.

but hopefully I will get a orange san francisco and then no more disappointing kaiser builds...

@yellowsunshine

--> http://xdaforums.com/showpost.php?p=6101873&postcount=186
[Desire General] iLHaNroID:
Hej!

Have updated my Desire's firmware to 1.21.405.2 as soon as I saw it was available as OTA, after verifying it in the HTC's official website as well. I had not my analog homescreen clock, nor the calendar widget on my desktop (both HTC original widgets and my device is not rooted) after the upgrade. Tried to bring them as usual, but they are no longer available in the widgets stock (?) Even no possibility to download via "more HTC widgets" (!)

:-( Please help.. I want to get these widgets back soonest possible! )
[Desire General] iLHaNroID:
Now tey are back. After shut down and start again they were available in the widgets as they were as before, just had to place them again. But redtart took 15 mins, this is another known issue being investigated under separate thread.

As to what has changed with this upgrade; have no any clue about that, seen no change for now.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire General] bedeabc:
Sorry to hijack but it seems your issue is resolved?

Is there any reason not to accept this OTA update to 1.21?

I'm running an Orange branded handset with a flashed generic 1.15 ROM

Do I need to worry about upgrading the bootloader etc?
[Desire General] iLHaNroID:
The new firmware upgrade updates bootloader too (as read in another thread) personally have no any clue what advantages or disadvantages it brings. My suggestion is just search and try to find more info reg that in the forum. As to changes after this upgrade, can say only some bug fixes; which are mainly htc widgets and fm radio, also youtube app, rest are not visible to user. My Desire branded to 3 Sweden and not rooted/flashed nor debranded and now, after this upgrade, no issues with my phone, except shutdown time (there is a separate thread on it, raised by another member)

-------------------------------------

Sent via the XDA Tapatalk App, from my Desire.
[Desire General] iLHaNroID:
Just for clarification, shutdown issue is not something came with this upgrade, that was already an issue before; presumably any of the apps installed cause the matter.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire General] tommo123:
hmm, hasn't come through to me yet. i'm still on 1.15.110.11 and no update available.