yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] blazzr:
Android on i907 (Epix): stuck in boot

I have a SGH-i907 Epix and tried to install Android (read on xda it should work).

I have formatted a 256 uSD card to ext3 and unpacked the rootfs to the card. I put the haret and image in the internal memory, into a folder Haret in the internal root.

I also tried with a 8GB uSD, with a FAT32 partition (I put Haret & image there) and a ext3 partition.

I tried with the "old" files on http://www.androidoni780.blogspot.com/, and the files on the new site http://pmaster.no/andromnia/ (seems the new files are from 23.9.2009).

Android seems to be stuck in loop and doesn't boot:

The text boot process cycles at least 10 minutes in:

i2c-adapter i2c-0: i2c_pxa: timeout waiting for buss free

i2c-adapter i2c-0: i2c_pxa: timeout waiting for buss free

i2c-adapter i2c-0: i2c_pxa: timeout waiting for buss free

i2c-adapter i2c-0: i2c_pxa: timeout waiting for buss free

i2c-adapter i2c-0: i2c_pxa: timeout waiting for buss free

i2c: error: exhausted retries

i2c: msg_num: 2 msg_idx: 0 msg_ptr: 0

i2c: ICR: 000007e9 ISR: 00000004

i2c: log

...

then it finally boots to Android logo :) Where it also keeps booting - Android logo is animated as in normal boot. I left it in this state for >30 minutes, and it still didn't boot. :(

I used this default.txt:

set kernel "Image"

set ramaddr 0xa0000000

set RAMSIZE 0x04000000

set cmdline "root=/dev/mmcblk0p1 ramdisk_size=8192 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

I changed mmcblk0p1 -> mmcblk0p2 when using the 8GB card with fat32 as first and ext3 as second partition.

Any ideas? Thanks.

Blaz
[Upgrading, Modifying and Unlocking] luismanson:
try the files here...i made a mess of files so im not sure which one works, but im on the 157 version of that site...
[Upgrading, Modifying and Unlocking] luismanson:
oh, and BTW:

http://android.undeadarmy.com/

i forgot the link :S
[Upgrading, Modifying and Unlocking] blazzr:
Thanks! I'll try that version.
[Upgrading, Modifying and Unlocking] xsacha:
Hey guys. I finish my uni course soon so I'm thinking of starting this back up.

Anyone have a git to host the files on or can give me access to this new one (rev 9)?
[Upgrading, Modifying and Unlocking] blazzr:
I can buy you a beer if that helps ;) but don't have any hosting access.
[Upgrading, Modifying and Unlocking] edgedemon:
Thats great news xsascha :D

Good luck with your final exams
[Upgrading, Modifying and Unlocking] peoplechange:
It's can run on wm 6.5 ? :)
[Upgrading, Modifying and Unlocking] xsacha:
Yes, works on any winmo including 6.5.
[Upgrading, Modifying and Unlocking] nozknows:
Epix??

Can This work on the samsung epix. I know that the hardware is very similar. I have gotten to the android loading screen but it never goes past that. If anyone has gotten this to work on the epix I would be very grateful.
[Upgrading, Modifying and Unlocking] Shambler2:
Fantastic to see that you're willing to continue with the project, I've occasionally booted into it every so often to try my luck at sms, it did work once, when the screen calibration worked. Since then it's not really worked properly, the touchscreen driver seems a little touchy. Good luck in the exams! My flatmate is in the same mad rush at the moment!

Sam
[Upgrading, Modifying and Unlocking] bmo.alt:
Good to hear xsacha. a beer will be coming your way :)
[Upgrading, Modifying and Unlocking] hillin:
thats great buddy!
[Upgrading, Modifying and Unlocking] psolunke:
Is there any GUI based Linux OS for i780. As i got boarded with Win OS.

I am in search of Linux ROM and Android ROM.

Please help.
[Upgrading, Modifying and Unlocking] ilikenwf:
I've been chatting with xsacha in the andromnia channel. I look forward to moving on with the project since I have a US CDMA i910 on verizon. I've got the cdma dll's, and grabbed the other drivers I could find from the rom for good measure, too. I just need to learn to write and disassemble, disassemble dlls, and write kernel drivers...

Otherwise, I need to find someone to help me do it. CDMA support is in droid 2, but the kernel has to have the drivers first...and...we need to get a build of the 2.0 fs out anyway.

The DLLs: http://omploader.org/vMnJjbg/omnia_i910_us_CDMA_dlls.tar.gz

----

Furthermore, we ought to consider using the zen kernel instead of vanilla as a base sometime, once we have the drivers going...it has more embedded options for stripping stuff out, as well as other filesystems like btrfs, and many other things.

----

Lastly, I've written a sincere kind request to Samsung, though I doubt it will do anything, requesting their samsung omnia kernel drivers, as seen in the LiMo demo video.
[Upgrading, Modifying and Unlocking] ilikenwf:
I wrote this to Samsung. The reply is below my request. It may not be much, but it is progress.

Their reply:
[Upgrading, Modifying and Unlocking] mwilkos:
Hi!!!

I'm new here. Please tell me if there is any progress in porting android to Samsung i780. My friend works in Samsung dev center in Poland, so I can ask him for help if needed. I'm experienced developer in java/c#, never worked with linux kernel, but maybe I can help U somehow.

regards
[Upgrading, Modifying and Unlocking] ilMessia:
http://sourceforge.net/projects/andromnia/ This is the project page, maybe they need your help there;)
[Upgrading, Modifying and Unlocking] nonameboy007:
the kernel works,its lunching but the gsm mode doesnt work.

any progress on this side?

thanks

daniel
[Upgrading, Modifying and Unlocking] lzip:
http://www.youtube.com/watch?v=9xpEe_qWpEc
[Upgrading, Modifying and Unlocking] mithun2186:
Is someone still working on this ?
[Upgrading, Modifying and Unlocking] Lee19870611:
hi,xsacha,i am so happy to see you,you can run android on i780,very good,and i am tring to port andriod to my phone ,and it can works on my phone yet,but something do not work ,for example,the touch sceen ,the keypad,and the LCD ,my phone is WVGA(480X800),i can see four sceen when i run zimage ,could you halp me? and do you have zimge for WVGA?
[Upgrading, Modifying and Unlocking] vitusdoom:
I envy you guys using the i780. We still have a problem with our TREO PRO on the resolution end. since our TREO PRO has the same resolution as your i780, 320x320, I was looking here maybe something will help. but then, im afraid not. maybe anyone of you know how to fix this thing. help us on this. thanks.
[Upgrading, Modifying and Unlocking] heineken78:
Treo Pro is HTC based device based on qualcomm 7XXX platform. As for Treo Pro you must to search for HTC stuff for linux/andnroid.

i780/i907 are Intel powered (PXA chipset) and completely different besides screen resolution.
[Upgrading, Modifying and Unlocking] vitusdoom:
yeah. well, that was just the main reason why i wanted to know more about the i780 image for android since they have the same reso. so, no luck here? :(
[Upgrading, Modifying and Unlocking] babylonx:
I tried this andromnia project on my i780 but it didn't work. Kernel loads but it then hangs on the ANDROID logo.

Also, if I remove the battery at that point (I have no other choice) the phone will not turn on again except if I connect it to my computer.

Also, I have to leave the battery of the phone for 1-2 minutes or there is a column on the right side of the screen that has an artifact (like LCD has some kind of problem). I guess this is because the project can't use 320x320 screen so it uses 240x320 leaving that area unused and the screen goes crazy. So it has to stay without power for some minutes to reset.
[Upgrading, Modifying and Unlocking] xsacha:
If it locks up on Android logo, this means permissions were not set correctly on the partition. This has been mentioned several times.

If screen resolution has any issue it's either a) an old build or b) a HaRET issue.

As of last year, screen resolution works fine on andromnia for i780.

I have stopped development because I am working on a PhD now. If there's any update for system power management or drivers, I will be right on it though.
[Upgrading, Modifying and Unlocking] metelesku:
LiMo on i780

Hey guys,

just found an article from 2009 on phonescoop (just google for i780 limo - I can't put the link here becouse I'm new member).

Googling for a week now but can't find any clues for a download (if there is any) of the LiMo for i780.

Anyone can help?

I want to run Linux on i780 for the sake of Baldur's Gate ;)

If the Nokia N900 can do it I'm sure our Sammy can do it as well :D
[Upgrading, Modifying and Unlocking] hugo@switch:
Hi where did you find the correct software to load android on you samsung i780
[Upgrading, Modifying and Unlocking] emjaygee:
I wonder what now happen to this project.
[Upgrading, Modifying and Unlocking] melgurth:
or there is reset button on left edge of device*

*Paper clip not included ;)
[Upgrading, Modifying and Unlocking] Ginger_Fish:
Not working! I try every button!

Whitch button you mean? :rolleyes:
[Upgrading, Modifying and Unlocking] ilMessia:
He means the soft-reset button wich is the hole in the left side of the phone, under the volume buttons;)
[Upgrading, Modifying and Unlocking] Ginger_Fish:
try to push the button with the stylus and with an other thin object, but nothing happend!

... You are confused me, because I never known from an reset button on the i780! :D
[Upgrading, Modifying and Unlocking] ilMessia:
Mmm, when you push it, the i780 must restart just like when you turn off and on the phone...:confused:
[Upgrading, Modifying and Unlocking] Ginger_Fish:
Everything worked right now! :rolleyes:

It was my fault, sometimes try more times before ask stupid Forum questions! :cool:

thanks,

.:]GF[:.
[Upgrading, Modifying and Unlocking] boodzz:
Great Work.

I am constantly looking out for the thread.

Works like a charm on my i780. Looking forward to android port.
[Upgrading, Modifying and Unlocking] melgurth:
HERE is some good initrd for testing...
[Upgrading, Modifying and Unlocking] ilMessia:
Tnx a lot;) What are the differences between this and the last initrd? Does it support mmc?
[Upgrading, Modifying and Unlocking] melgurth:
No, drivers are in kernel (which is halted ATM), this is root filesystem. pretty good, based on Slack distro.
[Upgrading, Modifying and Unlocking] ilMessia:
Oh! Yes, srry for the stupid question i m already sleeping;)
[Upgrading, Modifying and Unlocking] oklan:
I will wait the time that linux can setup on every wm machine,no matter 10 thousand years.is I so crazy ?ha ha
[Upgrading, Modifying and Unlocking] karousel:
Wow... the only device I have that run a non-linux OS is just my i780. If I could get Linux to work on this. I will dare to say bye-bye to Micro$oft... :). Fantastic job you did...
[Upgrading, Modifying and Unlocking] Ginger_Fish:
I cant get it start! What the hell is goining on??? :mad:

( In the moment i testing WM6.5 on my i780 - and its an reason to get Linux so fast as its possible on i780! :D )
[Upgrading, Modifying and Unlocking] ilMessia:
It works for me, put it into your "linux directory" and modify the default.txt
[Upgrading, Modifying and Unlocking] Ginger_Fish:
ok it worked now! Thank you!

1. How type numbers?

2. is the keyboard driver, in any way, portable to Windows Mobile? because its allows press more keys at the same Time! This would be awesome!

.:]GF[:.
[Upgrading, Modifying and Unlocking] Ginger_Fish:
http://github.com/melgurth/i780-kernel/commit/9398305f61b9121196dfbaecda97e3c1639979d7

Nice to see that the Project is in working process! :)

Kind Regards,

.:]GF[:.
[Upgrading, Modifying and Unlocking] ilMessia:
Hi all, anyone has any news?
[Upgrading, Modifying and Unlocking] naguz:
There is one really big flaw with this project. A really really big one.

There is no "buy me a beer"-button! :P

They are spammed across other threads, even those with stupid little projects, yet something so important as this is lacking one. Now come on, I really want android, and so I want to buy someone a beer for working on making it possible.

Sorry for not reading the whole post, but what exactly is missing? I noticed the keyboard doesn't work properly (more precise; modofier key and then another key does not give the right result (ex. mod+P does not give @ as it should))

Is there theoretically anything stopping it from running android? Not stable as of now, but to test and debug. I guess it would have to load it of a sd card, as keeping it all in a ramdisk probably isn't a good idea - is this ready yet? without the keyboard fully working it is kind of cumbersome to navigate too much. I would really like too help out, but although I have some linux knowhow I have no experience with armel or embedded linux. And none with android. :P

But I would like to try and help, if someone could point me in the right direction as to what I might help out with.
[Upgrading, Modifying and Unlocking] imazighen:
Hi all and melgurth thank you for your great work!

this is my first post in the forum! I just got samsung omnia 2 days ago :) I was desesperate to find some linux project for samsung ! because its the only device at home that contains windows, and I didnt use windows since 95 !!

last days I tried all kind of emulators/vrtual machine such dosbox and jpc etc... but they didnt satisfy my needs, too slow to use and lake many things and are unpractical for my Omnia.

I was already started looking at the source code of some emulators etc.. and trying to make my own so I can boot linux instead of windows. until I get to this thread , hopefuly!

I am average in programming with C++ but I can eat books in a week if I wanted to learn something or accomplish something!

I would like to contribute and I wish you answer those questions:

- Tools needed.

- specs needed.

- do I have to know how the samsung hardware work? or its already done ?

- and finaly how to test the outcome on the phone. upload/flush or just install??

I am doing my masters thesis at the moment, but I would like to do something and learn also something from your project during the weekends.

Thanx bro!
[Upgrading, Modifying and Unlocking] melgurth:
Hello there.

I'm really gratefull for all that nice and enticing words.

My thesis is still not finished tho.

http://wiki.github.com/melgurth/i780-kernel

Here ^^^ you can find most answer to questions from previous posts.

Take care! - Adrian
[Upgrading, Modifying and Unlocking] naguz:
For the sd-card issue, have you tried to add the lines

mmc_core

mmc_block

sdhci

to

/initramfs-tools/modules?

For all I know this is too basic, and was the first thing you tried.

I'll maybe have time to download toolchain and sources soon to get a look and feel of it. Writing a paper atm that really bugs me. And then I'll probably be quite busy out june. And then maybe work. But I'll try. :P
[Upgrading, Modifying and Unlocking] imazighen:
Thanx Mel!

yes I just bookmarked your page, but I have some questions:

in the instructions, you wrote only about downloading some cross compiler and the kernel, then compile with make/makeconfig then test on the phone!

could you please explain more, for example , what to change ? the kernel or some other files? how the kernel knows/recognize the samsungs hardware? which parts need modifications etc..

regards,
[Upgrading, Modifying and Unlocking] naguz:
From previous posts with some additions:

tollchain:

http://www.codesourcery.com/sgpp/lit...tal/release644

Download the:

Advanced Packages:

IA32 GNU/Linux TAR

unpack to (location)

Then download the git repo from here: http://github.com/melgurth/i780-kernel/tree/master

enter the i780-kernel-folder downloaded from git and edit the following line in the MAKEFILE:

CROSS_COMPILE ?= /(location)/arm-2008q3/bin/arm-none-linux-gnueabi-

Set the (location) to wherever you unpacked the IA32 GNU/Linux TAR

Then you are ready to go.

Be warned though, that although the experience gained from looking into this surely will be helpful in porting the kernel to Omnia, it is running on different hardware, and what works in the i780 probably won't work on the Omnia and vice versa.

_____________

Tried a test-compile now, but I didn't get a initrd-file at all. oO

And I couldn't find any obvious way to config initrd or initramfs at all before compile. Just used defaults on all configure-options without checking them out, but why is there no "initramfs-make config-changes here-file? :P. Meeeh, I don't have time to learn a lot of new stuff now. :( At least not without good and relevant instructions. Anyone?

Everything I find about the subject involves running a tool to remake the initrd-image when you already have a running environment.
[Upgrading, Modifying and Unlocking] melgurth:
Compiling kernel won't create initial ramdisk :)

I can say only this, read entire thread... post 48

Ok, ok - I'm not cruel as I look. Google for "armed slack". As I recall initrd.img from there runs quite good (no kernel panic ;) )

naguz, about loading that modules - there is none, I've disabled modules (for testing purposes), everything is compiled in kernel.

imazighen - sadly I cannot tell you how to make all hardware working. If I knew that I'll finish it by myself.

And here is big deal...

Kind developer, (I don't know does he want to reveal himself) made Haret for pxa 31X processor.

Those who know what haret can, may try skills with watching GPIOs (look at haret documentation in project website).

I've tested it and it works great. You need haretconsole to communicate with PC.
[Upgrading, Modifying and Unlocking] LogKill:
I'm currently testing out WM 6.5 on i780. However if there is a much clearer insturction on how to go to Linux on i780 I dont mind trying out as well. Would really love Linux on my i780.
[Upgrading, Modifying and Unlocking] xor007:
ARMedslack packages are compiled for armv4, little endian, old ABI (a new port to EAB

From the http://www.armedslack.org/ web site,

ARMedslack packages are compiled for armv4, little endian, old ABI (a new port to EABI will also be undertaken at a later date).

Processor on i780 seems to be ARM5. May be we should just try an Android Kernel+initrd?
[Upgrading, Modifying and Unlocking] naguz:
edit: removed lots of stuff.

Seeing as the MMC-drivers are compiled in kernel according to your config file, what is your theory about why it isn't working? Does the sd-stuff in the i780 maybe require a third party driver (whic may not even exist as of now)?

edit:one more thing: What exactly have you changed from the standard kernel? If you could gove as much info as possible about this, I would like to try to get the android kernel running on it, hopefully even booting android in a big ramfs. Would be nice ta at least try that.
[Upgrading, Modifying and Unlocking] xor007:
Would like to help booting the Android Kernel on i780.

What changes do I need to do to .config file to get started?
[Upgrading, Modifying and Unlocking] xsacha:
Hey guys

I don't want this to die so I'm doing my part. I decided to clone Melgurths repo and work on it a bit.

I found the GPIO for memory card. The board you were using expects an SD card, so I had to change some stuff. SDHC cards now work.

From my dmesg:

...
mmc0: new high speed SDHC card at add ress d555
mmcblk0: mmc0: d555 SU08G 7.60GiB
...

My git repo: http://github.com/xsacha/i780-kernel/tree/master

Feel free to pull from it melgurth :)

Update

Registered the i780 as a machine on arm.linux.org.uk. mtype=2265

Merged all code and removed redundancies.

Here is the new image file.
[Upgrading, Modifying and Unlocking] xsacha:
Small update: Removed MTD (phone memory) from kernel so the data on your phone can't be altered in any way (should prevent any possibility of a bricked phone).

Right now all linux distros work. I've tried Debian Lenny, SLED, Angstrom, Busybox.

Trying to port Android now. I'm using the Android SDK (ARMv5). I made a partition on my memory card with everything running from there. Seems to be some issues with running `init' though so I'm stracing that now.

Wouldn't mind some help :).
[Upgrading, Modifying and Unlocking] nCoder:
Great news xsacha!

could you please post some pics and details so we can have more confidence in testing this ROM?

Cheers and thank you for your hard work ;)
[Upgrading, Modifying and Unlocking] xjackassx:
yeah also I wanto to try this rom...
[Upgrading, Modifying and Unlocking] ilMessia:
This is not a rom.
[Upgrading, Modifying and Unlocking] xjackassx:
Mi spiace ma non parlo bene inglese, ho capito di cosa si tratta, mi chiedevo se fosse possibile però crearla una rom direttamente con android.
[Upgrading, Modifying and Unlocking] ilMessia:
Nono scusa, non era per "rimproverarti" ma solo per puntualizzare che non sovrascrive i file di sistema. Per quanto ne so non esistono ancora rom con android (di sicuro non per i780);)

Sorry it was only to remember you that this doesn' t overwrite any system file. I think there aren' t android roms yet (at least not for i780).
[Upgrading, Modifying and Unlocking] xsacha:
Update:

Touchscreen working

Sound device working

Note:

Has to be based on a new kernel from android.git.kernel.org, otherwise Android doesn't like it.

Android still doesn't boot to anything meaningful. Gets up to splash screen (text: because pxafb unpatched).

Kernel panic when reading libicu18n.so. Trying to figure out why.
[Upgrading, Modifying and Unlocking] 93matt93:
Can we test it ? :rolleyes:
[Upgrading, Modifying and Unlocking] nevertalk:
:)great！！waiting program
[Upgrading, Modifying and Unlocking] xsacha:
Update: I found my problem. Android OS files needed read permissions, it boots for about a minute now! :) It crashes with a shmem_fault (if anyone knows how to fix).

Since last time:

I have checked out the official android kernel (just the standard one) which has android patches in it

I ported rtc-pxa (real time clock) from 2.6.29 because it doesn't exist in 2.6.27.

I commented out a dev error: "unable to stop clock" because it got annoying!

I used the i780.c board from my github account and added the ARM machine.

I changed the touchscreen IRQ value to get touchscreen+audio working.

Here is the latest kernel, designed for Android:

zImage (1.34MB)
[Upgrading, Modifying and Unlocking] ilMessia:
How can i boot android? Which files i need apart haret, the zimage, default.txt, i mean, you created an initrd with android or there is another way to start it?
[Upgrading, Modifying and Unlocking] xsacha:
OK there are a number of ways to start android with the kernel.

The method I used (no initrd):

1. Partitioned my memory card with an EXT2 partition

2. Downloaded system.img, userdata.img and ramdisk.img Android OS files for ARMv5 devices.

3. Extract system.img to /system on my EXT2 partition, extract userdata.img to /data on my EXT2 partition and extract ramdisk.img on to / of my EXT2 partition.

4. Modify the init.rc to prevent mounting (no mounting is required)

5. Used the following default.txt:

set RAMADDR 0xa0000000
set MTYPE 2265
set KERNEL zImage

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

Set forcefbduringboot 1

boot

An alternative method is to boot to a busybox initrd which would then mount your SD card and then mount the ANDROID os files.
[Upgrading, Modifying and Unlocking] ilMessia:
Can you please share the extracted system.img, userdata.img and ramdisk.img? They are a bit hard to extract for me, it would be easier if someone who succeded in extracting them can share them:)

EDIT: Can anyone reupload the initrd posted by melgurth at pag.5, post#48?
[Upgrading, Modifying and Unlocking] melgurth:
ough! new version appear :)

just cut filename from adress = go to

ftp://ftp.slackware.pl/pub/armedslack/armedslack-current/isolinux/

and download initrd-versatile.img

This is console only linux distro, don't have anything to do with android.

BTW. xsacha - You are doing excellent work, I don't have time for porting but I'm following this thread and your git-fork. Nice, really nice.

//edit.

Forget to ask. xsacha- what is status of this android port? is it booting? working?