yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] xsacha:
I don't think Google's MSM7xxx drivers are that useful. Only as a template.

I use IDA Pro to disassemble ARM binaries. Unfortunately, Windows only (Linux with qemu?).

Edit:

Someone may find this interesting. Code by Marvell and Intel for a working bootloader for our phone platform. It has USB, NAND and JTAG drivers and allows flashing of ROMs and booting of ROMs. It is very similar to the code that runs when you see Samsung splash screen.

http://www.google.com/codesearch/p?...YmJrYkviBw/trunk/MainProgram/odbm.c&q=usb3319
[Upgrading, Modifying and Unlocking] tiger2wander:
Is Palm WebOS can be run on ARMv5 while source code is available for download and re-compile?

I have download and re-compiling it for my blueangel with ARMv5 chipset PXA263

Everyone can be download the source from [link=http://opensource.palm.com]http://opensource.palm.com[/link] since June 18, 2009.
[Upgrading, Modifying and Unlocking] JerryJiang:
Hi, xsacha, will you continuous to update your git repo?

And BTW, i got a MSM6280 user guide document, seems a little different from the device spec? do you think it will help you? the document is in my PC, will upload it if you need. I got some documents about MSM6250 also, will it help?
[Upgrading, Modifying and Unlocking] mmoooo:
xsacha is working with the andromnia team now, see svn https://dotpt.com/svn/andromnia/trunk for src
[Upgrading, Modifying and Unlocking] JerryJiang:
thx, i cannot connect to the svn server currently, will try again when i back home.
[Upgrading, Modifying and Unlocking] xsacha:
Palm's Web OS is not opensource and can not be modified to run on ARMv5.

Their linux kernel modifications are only opensource by law.
[Upgrading, Modifying and Unlocking] lebrase:
What are the next steps to have network/telephony working ?

I have found that:

http://www.kandroid.org/android_pdk/telephony.html

but I am struggling to understand how a Qualcomm driver can be put in this chain.

Do anybody have a download of the ril.dll of the /Windows directory from the i780 ?
[Upgrading, Modifying and Unlocking] JerryJiang:
pls let me explain my understanding of how to make network/telephony working:

1. Get the GPIOs: This step can be done by Haret? I tried it yesterday, when someone calling me, there will be GPIOs log print out in the console. But how to understand each line of the log?

2. Analysis each line of log and convert to data structure: This step should be the most hard part, i have no idea...

3. Build up the driver module: This step is a little bit easier then step #2, we should have some templates to follow.

4. How to debug the module?

As a developer, a good debuging method should be very important, currently, i am searching through the web to find out a way to improve the speed, but not luckly.

Again, i am a newbie of Linux and the kernel things, i just want to contribute my effort.
[Upgrading, Modifying and Unlocking] xsacha:
It's like this:

1. Start with a template. Probably gloofish or msm7xxx. DONE

2. Debug (disassemble) gpidril.dll with IDA pro. DONE

3. Turn the ASM Assembly windows DLL in to an equivalent Linux C code in your new driver (from template).

Number 3 and 4 is what we're up to. The other parts took no time at all. If you don't know ARM assembly and C, you can't really help with that. Otherwise, please help!

GPIOs are already found. Took roughly 5 seconds in HaRET few months ago ;P. That info should be in Andromnia wiki now by the way.
[Upgrading, Modifying and Unlocking] JerryJiang:
Thanks very much. I will dig it deeper as your suggested to see if i can help. I focused on .net developing mostly.
[Upgrading, Modifying and Unlocking] DarylLyn:
Thanks all

Thank all of you for your work on this.

I hope my input can be useful to you.

I am using an i780 serviced by ATT wireless.

I am compiling on an i686 running Arch (fully current)

My Linux knowledge is rather extensive, and while I am not a stranger to code / script, I have not dived into writing mods to my kernel, but I can read / write code at a basic / passable level.

I have downloaded the source using: "svn co https://dotpt.com/svn/andromnia/trunk/"

I have set the mtype to "2265" in default.txt

I partitioned my 1GB sdMini card into 2 primary partitions, fdisk partition table as follows:

Command (m for help): p

Disk /dev/sdd: 1021 MB, 1021837312 bytes

31 heads, 62 sectors/track, 1038 cylinders

Units = cylinders of 1922 * 512 = 984064 bytes

Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

/dev/sdd1 1 99 95108 b W95 FAT32

/dev/sdd2 100 1038 902379 83 Linux

I am using the most recent zImage file from this forum: http://www.2shared.com/file/6597781/32a36d7d/zImage.html

I copied the contents of /src/andromnia/trunk/andromnia_rootfs/* to the second partition as root user.

The device loads through haret fine, passes to the kernel ok, and then, after a minute or so of messages passing by my screen, hangs with the following lines:

i2o adapter i2o-0: i2o_pxa: timeout waiting for bus free

i2o adapter i2o-0: i2o_pxa: timeout waiting for bus free

i2o adapter i2o-0: i2o_pxa: timeout waiting for bus free

i2o adapter i2o-0: i2o_pxa: timeout waiting for bus free

i2o adapter i2o-0: i2o_pxa: timeout waiting for bus free

i2o: error: exhausted retries

i20: msg_num: 2 msg_idx: 0 msg_ptr: 0

i2o: ICR: 000007e9 ISA: 00000004

i2o: log:

FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

FAT: codepage cp437 not found

FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

FAT: codepage cp437 not found

List of all partitions:

b300 997888 mmcblk0 driver: mmcblk

b301 95108 mmcblk0p1

b302 902379 mmcblk0p2

No filesystem could mount root, tried: ext3 ext2 vfat msdos

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179, 1)

Any suggestions?

Also, I am very interested in helping the project.

Much Thanks, Daryl Lyn
[Upgrading, Modifying and Unlocking] geez:
You need to compile the image file from source.

in the andromnia kernel directory. Rename it to zImage, and use this kernel with haret.

Update svn, and compile kernel to get the latest kernel at all time.
[Upgrading, Modifying and Unlocking] mmoooo:
Did you use /dev/mmcblk0p2 in haret default.txt?
[Upgrading, Modifying and Unlocking] mmoooo:
If you use 'make zImage' no renaming is needed
[Upgrading, Modifying and Unlocking] DarylLyn:
Fixed

no, I did not.

And, that seems to have fixed the problem!

The device boots to an animated "ANDROID" screen with a "shimmer" animation on it now.

I assume that I need to add components to the android now...
[Upgrading, Modifying and Unlocking] SamUnknown:
I am shocked with the project, it's awesome!!!

Can anyone help me?

I can't download from wikiupload... If anyone could upload Haret, the latest ZImage, the 320x319 resolution thing :S and the rest to a mirror or something, i would appreciate...
[Upgrading, Modifying and Unlocking] SamUnknown:
Anyone?...
[Upgrading, Modifying and Unlocking] xsacha:
Hey guys

I was on holiday for a week so nothing has changed. Andromnia team have discovered our wifi is connected using a different method (so we should be using different driver) but they still haven't got it working in Android. I'll try to fix it up now that I know the driver.

But yeah, nothing changed this week sorry guys. Was a good holiday though :).
[Upgrading, Modifying and Unlocking] geez:
Hope you enjoyed it well. I'd love to get to the Great barrier coral reef once. It is about a day flight from here (Hungary) though (however my parents had been to there once).
[Upgrading, Modifying and Unlocking] SamUnknown:
If anyone has ANDROID booting for i780 and with the 320x319 and the other new stuff that xsacha did please mirror it for me to download or send me on MSN... i can't download from wikiupload :( . I really want to test ANDROID
[Upgrading, Modifying and Unlocking] knights191:
For me to understand, what challenges are you guys (we) fasing ?

I mean, booting Android seems to work now, now there has to be put time and effort in creating working drivers for network/telephony and WiFi ?

But do the Android programs run when installed?
[Upgrading, Modifying and Unlocking] xsacha:
Yes Android runs 100% perfect, as it does on every phone. Only need drivers.

New files hosted on MediaFire

Here is a new kernel.

Here is a new Android RootFS that supports Wifi.

Edit: For some reason I have lost commit access to Andromnia so I can't commit the fix for wifi.
[Upgrading, Modifying and Unlocking] JerryJiang:
Great job! i cannot wait to test it, but i am now in office, will test it later.
[Upgrading, Modifying and Unlocking] DarylLyn:
this field intentionally left blank

a piece of software that runs 100% perfect on all hardware... I always suspected that it existed.

Or is this saying that if the drivers are 100% compatible and functional to the hardware, that then android runs perfectly?

And that also assumes that the binary compiles right, etc. When I tried the last time, I was working from a svn copy of Andromnia because the filehost did not have the rootFS that had been uploaded.

If there is a need for ad-free hosted space for files pertaining to this project, I have a fair quantity of unused space and transfer at my site (daryllynpublishing.com), and would be willing to donate. Please message / email me and I will set up access for you (whoever has the particular file)

Thanks, Daryl Lyn
[Upgrading, Modifying and Unlocking] xsacha:
Yeah it's called Linux and Android is just software on top of that. All you need is drivers :).
[Upgrading, Modifying and Unlocking] JerryJiang:
I install the new kernel and android rootfs in my 780, i can now enable my wifi, but failed to scan the network, when i want to manually add network, it said save failed.
[Upgrading, Modifying and Unlocking] superoloan:
same here...
[Upgrading, Modifying and Unlocking] JerryJiang:
hi, xsacha

I have a stupid question, can you get shell inside android? I want to mount my FAT32 partition as sdcard.

Another acceptable way is to directly copy files to sdcard folder under rootfs and make android to accept it. I found there is EXTERNAL_STORAGE_STATE can do this, but i donot know how to use it.
[Upgrading, Modifying and Unlocking] geez:
New andromnia kernel and rootfs now supports sdcard mounting. The only thing to do is to edit init.rc in the rootfs and find mmcblk, and edit to the partition you want to mount as sd card. E.g. : My first partition is the ext3, second is fat32, i edited it to mmcblk0p2. Now i can use this partition in windows and in linux as well. Pictures and videos taken in windows can be viewed from android.

Download new rootfs from svn, and make new kernel to enable this feature.

Wifi unfortunately doesn't work for me either. Xsacha said that he couldn't commit to svn lately.
[Upgrading, Modifying and Unlocking] Ginger_Fish:
Great news. thanks

with the new zimage & rootfs files for me worked the "OK" button now.

Thanks! :)
[Upgrading, Modifying and Unlocking] JerryJiang:
Thx, i will try it later.:)
[Upgrading, Modifying and Unlocking] xsacha:
anyone know who to contact to get commit access back? seems to have happened same time old forums died. wifi doesnt work in andromnia one. needs a few fixes but i cant commit
[Upgrading, Modifying and Unlocking] boodzz:
Error Messages

hi,

I am unable to download the haret pcak.

Also I get errors when i try using haret-0.5.2 with the follwing deafult.txt file

set RAMADDR 0xa0000000

set MTYPE 2265

set KERNEL zImage

set cmdline "root=/dev/mmcblk0p2 rw init=/init"

Set forcefbduringboot 1

boot

The error is Android: cannot find file ..... (many files)

Please advise.
[Upgrading, Modifying and Unlocking] geez:
Please use andromnia svn to get haret pack, kernel sources and andromnia rootfs. i780 should boot using the latest files.

https://dotpt.com/svn/andromnia/trunk/

xsacha: I sent pm to Ferro about your svn permissions, hope he could help.

Edit: He will reset your password, and want to contact you. Get in touch with him e.g. on www.andromnia.net/forum
[Upgrading, Modifying and Unlocking] xsacha:
Forum link is broken here :(

Edit: Solved with xda forum.
[Upgrading, Modifying and Unlocking] liddokun10:
hi xsacha, i have an i780 and i've followed your guide.

in my microSDHC, i have 2 partitions

first is windows partition, has a directory called "haret" inside, i've got

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

haret.exe

haret_052.exe

zImage

default.txt

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

total 4 files.

zImage is compiled from svn https://dotpt.com/svn/andromnia/trunk/andromnia_kernel/ :D

my default.txt is as follows

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

set kernel "zImage"

set ramaddr 0xa0000000

set RAMSIZE 0x08000000

set cmdline "root=/dev/mmcblk0p2 ramdisk_size=131072 rootdelay=5 rootwait rw init=/init lpj=loops_per_jiffy boot_delay=100"

set mtype 2265

set kernelcrc 0

set fbduringboot 1

set forcefbduringboot 1

bootlinux

in my microSDHC partition 2, it is ext3 FS made using gparted.

i put in everything i got from

svn https://dotpt.com/svn/andromnia/trunk/andromnia_rootfs/

When i run haret or haret_052

i see it load ok, then i see the shimmering ANDROID.

After that, it hangs with the ANDROID word still there. Guys am I doing something wrong? What's missing?

I suspect permissions problems with the android root FS? but everything is from svn, so permissions were preserved... After failed boot and subsequent soft reset, i see new symlink and stuff on the ext3 partition.

NOTE: also be aware i am running V5 Windows 6.1 firmware

i780 PDA ROM is I780PXIHH5 and PHONE ROM is I780PUHE1
[Upgrading, Modifying and Unlocking] geez:
Wrong permission settings may cause this problem.

/showthread.php?p=4007165&highlight=chown#post4007165
[Upgrading, Modifying and Unlocking] xsacha:
I don't think svn does right permissions. If you sudo (?) extract the tar I uploaded it should work without modifying permissions. Otherwise you'll need to modify them manually.
[Upgrading, Modifying and Unlocking] liddokun10:
hi geez, i've done that to the android rootFS.

sudo chown root.root * -R

sudo chmod 755 * -R

and retested, but no joy.

xsacha, i've also tried your AndroidWifiRoot.tar.bz2

extracted with

"tar jxvf AndroidWifiRoot.tar.bz2" and copied those into the ext3 partition.

still no joy.

current permissions as set

klown@darkstarx:/media/disk-1$ ls -lah

total 180K

drwxr-xr-x 11 root root 4.0K 2009-07-28 10:01 .

drwxr-xr-x 6 root root 4.0K 2009-07-28 09:57 ..

drwxr-xr-x 3 root root 4.0K 2009-07-28 04:17 cache

drwxr-xr-x 13 root root 4.0K 2009-07-28 04:17 data

-rwxr-xr-x 1 root root 118 2009-07-27 14:12 default.prop

drwxr-xr-x 3 root root 4.0K 2009-07-27 14:12 dev

lrwxrwxrwx 1 root root 11 2009-07-28 04:17 etc -> /system/etc

-rwxr-xr-x 1 root root 105K 2009-07-27 14:12 init

-rwxr-xr-x 1 root root 1.7K 2009-07-27 14:12 init.goldfish.rc

-rwxr-xr-x 1 root root 9.6K 2009-07-27 14:12 init.rc

drwxr-xr-x 3 root root 4.0K 2009-07-27 13:27 proc

drwxr-xr-x 3 root root 4.0K 2009-07-27 14:12 sbin

drwxr-xr-x 2 root root 4.0K 2009-07-28 04:17 sdcard

drwxr-xr-x 2 root root 4.0K 2009-07-28 04:17 sqlite_stmt_journals

drwxr-xr-x 3 root root 4.0K 2009-07-27 14:12 sys

drwxr-xr-x 11 root root 4.0K 2009-07-27 14:12 system

-rwxr-xr-x 1 root root 28 2009-07-27 14:12 version.txt

after failed boot

klown@darkstarx:/media/disk-1$ ls -la

total 180

drwxr-xr-x 11 root root 4096 2009-07-28 10:01 .

drwxr-xr-x 6 root root 4096 2009-07-28 10:32 ..

drwxrwx--- 3 klown 2001 4096 2009-07-28 04:17 cache

drwxrwx--x 13 klown klown 4096 2009-07-28 04:17 data

-rwxr-xr-x 1 root root 118 2009-07-27 14:12 default.prop

drwxr-xr-x 3 root root 4096 2009-07-27 14:12 dev

lrwxrwxrwx 1 root root 11 2009-07-28 04:17 etc -> /system/etc

-rwxr-xr-x 1 root root 106568 2009-07-27 14:12 init

-rwxr-xr-x 1 root root 1677 2009-07-27 14:12 init.goldfish.rc

-rwxr-xr-x 1 root root 9735 2009-07-27 14:12 init.rc

drwxr-xr-x 3 root root 4096 2009-07-27 13:27 proc

drwxr-xr-x 3 root root 4096 2009-07-27 14:12 sbin

drwxr-xr-x 2 root root 4096 2009-07-28 04:17 sdcard

drwxr-xr-x 2 root root 4096 2009-07-28 04:17 sqlite_stmt_journals

drwxr-xr-x 3 root root 4096 2009-07-27 14:12 sys

drwxr-xr-x 11 root root 4096 2009-07-27 14:12 system

-rwxr-xr-x 1 root root 28 2009-07-27 14:12 version.txt

klown is my username, but it probably shows that because android assigns UID and GID of 1000 to those directories.

im stumped. :confused: maybe i'll chmod 777 everything and see what happens

NOTE: chmod 777 still does not work. maybe it is partitions issue.

current partitions listed in gparted

/dev/mmcblk0p1 2.75GB fat32

/dev/mmcblk0p2 1023.75MB ext3

will try different sizes and FS

EDIT: tried. i reformatted into 3 partitions

/dev/mmcblk0p1 ~2GB fat32

/dev/mmcblk0p2 ~920MB ext3

/dev/mmcblk0p3 ~920MB ext2

untarred AndroidWifiRoot.tar.bz2 to both partitions, edited default.txt and still no joy, both still stuck at ANDROID logo.

before the ANDROID logo fires up, if i press enter key fast, I can see the # shell. I can ls, cd into stuff, and then bam, ANDROID logo loads and after a few shimmers, hangs. Ideas anybody?
[Upgrading, Modifying and Unlocking] geez:
I had problem installing android on an 4 GB SDHC, when I used the last part of the disk as ext3. I tried swapping the order of the partitions, to the ext3 to be the first one. (Because I remembered, that certain OSs couldn't boot if the boot partition isn't in the first ~2GB of a disk). I had error messages though, so I'm not sure, this will be the problem. (You should change the boot partition in the default.txt as well, when you change their order).

XSACHA: Did you have time, and access to commit wifi changes? I'm eager to try wifi on my phone, and I probably not alone with that:D
[Upgrading, Modifying and Unlocking] liddokun10:
good point geez. but android does boot. it's similar to linux in a sense that you can boot to prompt, but xdm/kdm/gdm pukes on you when you try to load Xorg.

i suspect some driver is causing the GUI to hang.
[Upgrading, Modifying and Unlocking] liddokun10:
here's a couple of additional questions,

1) how do i stop the android shimmer logo from loading?

2) what command starts up android?
[Upgrading, Modifying and Unlocking] boodzz:
Hi guys,

Same problem here. The android boot just freezes on the logo.

tried ext2/ext3 partituon with different permissions. Same issue.

Please advise.
[Upgrading, Modifying and Unlocking] geez:
question

Are you using files from svn (including haret.exe), or used the files that were uploaded here?

I chmodded to 777 to * -R (make sure to chmod the files in the directories as well with recursive flag), because I installed it only for testing purposes anyway.
[Upgrading, Modifying and Unlocking] boodzz:
tried, with your settings. but no change.

hangs on the sixth shinning loop on the logo arond DR.

Anyone please help
[Upgrading, Modifying and Unlocking] mmoooo:
Try to 'svn co https://dotpt.com/svn/andromnia/trunk/andromnia_rootfs/' as a normal user having uid 999 instead of as root

Then use following to copy files and preserve owner, group, etc.

cd andromnia_rootfs; tar -cp . | (cd /media/and-data/; tar -xp)

(assuming that android partition is mounted on /media/and-data and is empty)
[Upgrading, Modifying and Unlocking] dafimoto:
same problem here. maybe there's something wrong anyway. can anyone give a functional default.txt ?
[Upgrading, Modifying and Unlocking] liddokun10:
done and yes the logo still hangs. also hangs, default UID and GID is 1000 for the files. After the hang, as listed b4, the gid for cache dir changes to 2001
[Upgrading, Modifying and Unlocking] pedlo:
Yes, exactly same problem here, even after trying different groups, owners, etc..
[Upgrading, Modifying and Unlocking] Shambler2:
I have the same issue that has been quoted a few times above. I'm unable to test the svn as it's being blocked by my work firewall. I had a few false starts earlier naming the wrong device in default.txt and incorrect partitions, however that's okay now. I don't really know if permissions are an issue, I have tried a few different suggestions in this topic with no luck. I'd be very happy if there was a solution to this, I'm happy to test any potential fixes if anyone thinks of anything :)

Sam
[Upgrading, Modifying and Unlocking] ilMessia:
http://www.modaco.com/content-page/289028/project-andromnia-android-on-omnia/page/420/ Tried this one with no luck (obivusly changed mtype to 2265), it hangs on boot logo just like the old one, i already tried this-> http://xdaforums.com/showpost.php?p=4007165&postcount=171 Any solutions?
[Upgrading, Modifying and Unlocking] lebrase:
Hello guy,

I struggled as you to made an own built kernel run on my i780. I find a way now:

- get the rootfs of xsacha that he gave us on the post 172 http://www.wikiupload.com/download_page.php?id=137027

- copy the tar on the Android ext3/2 partition and untar in-place.

- checkout the andromnia kernel

- make menuconfig and remove the i900 from the supported plateform. Just keep the i780. This is the step that solved my problems.

- make zImage, and copy it near your Haret.
[Upgrading, Modifying and Unlocking] ilMessia:
Wow, can you please upload this zimage? (i'm a noob;))
[Upgrading, Modifying and Unlocking] lebrase:
Now I would like to connect using haret console.

I managed to install the good synce package which is now working like a charm.

ifconfig display the eth1 169.254.2.2 which I think is the connected i780.

When I run haret52 from the i780 and click the "listen" button, the console says

======== Connecting to haret ========

Socket error: Connection refused

Has anybody hit this problem and find a solution ?
[Upgrading, Modifying and Unlocking] JerryJiang:
I managed connect to HaRET once several days ago. i used telnet to connect:

telnet 169.254.x.x 9999

and it connected successfully.
[Upgrading, Modifying and Unlocking] JerryJiang:
i got the kernel and android rootfs from svn, and built the kernel using make zImage. Android is running ok in my i780. The only issue is that the touch screen may not working randomly.

So, does HaRET and default.txt cause the hung?
[Upgrading, Modifying and Unlocking] ilMessia:
Haret only affects the boot.
[Upgrading, Modifying and Unlocking] lebrase:
I tried telnet 169.254.2.2 9999, or ./console 169.254.2.2 9999, and both return the same message as above.

> nmap 169.254.2.2

Starting Nmap 4.76 ( http://nmap.org ) at 2009-08-04 14:33 CEST

Interesting ports on 169.254.2.2:

Not shown: 999 closed ports

PORT STATE SERVICE

990/tcp open ftps

Nmap done: 1 IP address (1 host up) scanned in 0.41 seconds

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

No 9999 port found.

Maybe this is my linux host configuration that needs modifications ?
[Upgrading, Modifying and Unlocking] JerryJiang:
when i connected my i780 to PC, the IP address shown as: 169.245.2.1 in WMTool. Do you have WMTool to have a look. I donot mean that you typed wrong IP, just have a try. :-)
[Upgrading, Modifying and Unlocking] xsacha:
It is definitely 169.254.2.1. If Windows or whatever OS you're using says it is 169.254.2.2 ignore it, use 169.254.2.1.

It is like this in every operating system (Windows, Mac, Linux, ...). There is only one case where it would not be this IP (I think wireless).

Update: GSM chip is now working in latest revision. You can make calls and send/receive text messages.

Daily builds are available here.
[Upgrading, Modifying and Unlocking] Shambler2:
Wow! Making calls and sms? I didn't think that so much progress would be made so quickly! Now just to get it past that freezing android logo...and woo!

EDIT: Huh. Now I get a suspended state error, along with it not getting to the android logo. Also it's now booting with the right of the screen swapped with the left... Last time I saw that I had to change the device type in haret, but i didn't modify it this time :S
[Upgrading, Modifying and Unlocking] xsacha:
You have a permissions problem if you can't get past Android splash. You'll continue to have problems until you make sure that all binaries are executable (chmod +x) and that all system files are owned by root with mod 661 (771 if executable).