yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] Shambler2:
The android splash issue was with the previous build you posted, the latest one it has a: request_suspend_state error, which just loops shortly after it starts init. But I'll give that a go, I was chowning to root:root, then running chmod 777 (i was just trying to get it running). Would that be causing the issue?
[Upgrading, Modifying and Unlocking] ilMessia:
Really noob question-->how?:confused:

Edit: This is the command? chmod 771 -R /media/due(my partition name). Wich are the executable files?
[Upgrading, Modifying and Unlocking] lebrase:
Same issue here: request_suspend_state...

I switch from the older rootfs to the andromedia after updating svn. I guess this rootfs should solve the keymap problems that's why I gave it a try, but with no luck.

Inside the rootfs, I did:

chown -R root *

chgrp -R root *

chmod -R 771 *

then cp -a * /media/disk-1/ (my android partition on the SD card)

Anything wrong with that ?

BTW I found really strange that neither svn or git support file permission.

Thanks very for your help, 169.254.2.1 9999 is indeed working.
[Upgrading, Modifying and Unlocking] bazzix:
Great! Can't wait to get home and try it out!
[Upgrading, Modifying and Unlocking] Ginger_Fish:
can i use the zimage & rootfs on my i780???

Regards,

.:]GF[:.
[Upgrading, Modifying and Unlocking] ilMessia:
Of course you can, just change the mtype to 2265.

By the way i cannot boot it because permission problems (i'm not able to solve them myself)
[Upgrading, Modifying and Unlocking] xsacha:
I think the only thing that keeps file permissions is a tar archive. Really sad. I don't know how to overcome this issue.

SVN does keep permissions but no permissions are set.

iMelissa, you didnt have a problem before. What did you change? The executables are in system/bin.
[Upgrading, Modifying and Unlocking] lebrase:
xsacha, if you set a file permissions _locally_, svn will not modify them. But actually, with some googling, I found that svn nor git support file permission.

A solution could be to

1/ checkout the andromnia rootfs.

2/ untar in this rootfs your old rootfs

3/ update with the option "overwrite modification"

Thus, the permissions of the old rootfs should be kept, but with the new files. I'll try that later.

Lastly I am impressed by the pace of the dev. Thank to all and you xsacha.
[Upgrading, Modifying and Unlocking] Ginger_Fish:
Can somebody please upload the actuality haret, zImage & rootfs?

Because all the peaces of instructions here are very helpful for one or two,

but the rest have to collect every peaces from every post. Have to find the haret,

the instruction for partition and so on...

or

One single post for a instruction and always the actuality files!!! I think this would be the best resolution for everyone. :)

Regards,

.:]GF[:.
[Upgrading, Modifying and Unlocking] ilMessia:
I changed rootfs, with the older ones i didn't have any problem. Now i' m stuck at boot logo also with the tar one (wich must have right permissions, i think). With rev159's rootfs i had some "permission denied" errors while booting, than i copyed permissions from the tar one (nautilus as root-->right click-->permissions and than change the rev159's permissions as the tar ones) and those errors are disappeard but i'm still stuck at boot logo.

Edit: @ginger_fish look here http://pmaster.no/andromnia/
[Upgrading, Modifying and Unlocking] mmoooo:
I have found an svn wrapper script which claims to solve this at http://svn.collab.net/repos/svn/trunk/contrib/client-side/asvn

I haven't used it yet, so I don't know if it will work (though it looks like it would do the trick).
[Upgrading, Modifying and Unlocking] Ginger_Fish:
I have the Same Issue, it frozen at the ANDROID booting logo!

Someone resolved this Issue?

Kindly,

.:]GF[:.
[Upgrading, Modifying and Unlocking] xsacha:
I guess that's why svn isn't meant to version control binaries :P. I remember getting some executable files over svn before, maybe some fluke. Thought it supported it.

Well, can anyone work out the exact files that need permissions changed? All I remember doing is giving 771 to all executables and 661 to everything else.

Any way I can dump my permissions in to a file or something?
[Upgrading, Modifying and Unlocking] ilMessia:
What about creating a tar from your sd?

Edit: Are you using this kernel--> http://pmaster.no/andromnia/ (rev163)? If not maybe you can try this--> http://xdaforums.com/showpost.php?p=4262510&postcount=298 (removing i900)
[Upgrading, Modifying and Unlocking] lebrase:
To solve the permissions problems, I tried these perl files: http://www.unix.com/shell-programming-scripting/42750-shell-script-save-restore-files-dir-permissions.html

Save from the old rootfs then apply the result to the new. I had the feeling that it went further in the boot process, but still it is blocking, perhaps due to files different between the rootfs.

Maybe xsacha or others, could you save your permissions state with this line:

perl saveState.pl . > perms

and publish it for us to try.

thanks
[Upgrading, Modifying and Unlocking] xsacha:
OK I think I'll just upload the tar of my rootfs.

Here's download link
[Upgrading, Modifying and Unlocking] Ginger_Fish:
I take the rootfs from xsacha, the haret 0.52 and the zImage from andromnia.

Still frozen at the ADROID boot logo.

dont know what I can do...

Kindly,

.:]GF[:.
[Upgrading, Modifying and Unlocking] Shambler2:
Okay, I've used your rootfs, untarred it to the second partition on my sd, copied haret straight from andromina, and the Image file from andromina. I then changed the mtype to the i780's correct type, then tried to boot. Permissions are as they were straight out of the tar file. It went through the initial loading, worked fine, swapped to init on the rootfs, sat loading for a while (flashing blue led - nice colour by the way!) and gave me the android logo, flashing all nicely. However, after 4-5 nice flashes, it stopped, the led stopped flashing, and it sat still.

If it helps at all (probably not, but it was fun! :P) I've made a Youtube video of what it's done so far. I'll put it up later tonight when I can use wifi. I THINK you can make out the kernel loading text.

So so close :P

EDIT: Here's the video:

http://www.youtube.com/watch?v=sjhvOOC5zyI
[Upgrading, Modifying and Unlocking] xsacha:
Hmm ok, sorry I guess my rootfs must differ from the one on the andromnia svn.

I'll upload the actual one on my phone soon.
[Upgrading, Modifying and Unlocking] katoda:
I have managed to boot Android successfully on my i780, using the daily build from http://pmaster.no/andromnia/. Unfortunately, neither GSM nor WiFi is working. How can I get it working?

I'm using old rootfs which was posted by xsacha an old time ago. Can it be the reason of my troubles?
[Upgrading, Modifying and Unlocking] hillin:
They won't work now.
[Upgrading, Modifying and Unlocking] Shambler2:
Awesome, thanks for that! Take your time, you've already done so much! :)
[Upgrading, Modifying and Unlocking] xsacha:
GSM definitely works. Wifi is not initialising properly right now. I'm waiting til I have my new laptop to fix that.

One problem I have is that my only wireless network uses WPA2-Corporate/Enterprise and it seems Android does not support this type via GUI (backend probably does though).

Can make/receive phone calls as well as send/receive text messages on i780 for about 2 weeks now.

Here is a working Android rootfs obtained directly from my phone after I confirmed GSM to be working: Download
[Upgrading, Modifying and Unlocking] Shambler2:
Fantastic! Thanks for that! I'll post back once I've tested it on my phone

This rootfs is noticably larger than the builds from andromina

EDIT: Frustrating to say the least :P

I removed everything from the ext2 partition, untarred it onto the ext2 partition, then un mounted the SD. I then booted haret and loaded, got to the third glow of the android logo then froze. I then tried to make it all 777 (chmod 777 -Rv /media/disk/) and it got to about the 6/7th glow of the android logo before it froze. I'm with you that the permissions are the issue, is it also possible that certain models of the i780 are different, and that's throwing the error? Mine is an Australian model, not sure if it makes a difference though.

Anyway, thanks for all this messing about trying to get it working on others phones, is it worth trying a different partition model?

Sam
[Upgrading, Modifying and Unlocking] pjduplooy:
Error

Hi guys

I think I might be doing something wrong. If anyone can assist me, I would be grateful.

I have downloaded the newest "WorkingAndroidRootFs" file, as well as the Haret and Image file from http://pmaster.no/andromnia/.

SD Card was formated using gparted, and now contains a FAT32 partition, /sda5, and an EXT3 partition, /sda6.

I copied haret to a folder on my FAT32 partition, and extracted it in the partition, as well as extracted the Image to this same folder.

The WorkingAndroidRootFs was copied to the EXT3 partition, and then extracted.

Next, I did the following steps:

chown -R root *

chgrp -R root *

chmod -R 771 *

When I reboot, the bootloader starts, but in a very unreadable (small) font. I get to the stage where it says Waiting for 5 seconds before mounting the root, and then where it says SND initializing. I can't see any text below this.

The boot process just hangs. I do not even get a boot logo.

What am I doing wrong? Can anyone help or shed some light on this please?

Regards
[Upgrading, Modifying and Unlocking] mmoooo:
Maybe the following can solve the andromnia rootfs logo looping problem

At some point in the past I tried a number of things, amongst which manually adding the mmcblk devices under /dev (*) with "tar -cp ..."

I copied /dev/mmcblk0, /dev/mmcblk0p* from a linux rootfs (e.g. one of the debian armel rootfs's) to a folder on the android rootfs (e.g. to /media/disk/custom/dev/). and then added following to android /init.rc, after the "#mount rootfs rootfs / ..." line:

symlink /custom/dev/mmcblk0 /dev/mmcblk0
symlink /custom/dev/mmcblk0p1 /dev/mmcblk0p1
symlink /custom/dev/mmcblk0p2 /dev/mmcblk0p2
symlink /custom/dev/mmcblk0p3 /dev/mmcblk0p3

(tried first with following instead of cp'ing devs and symlinking:

mknod /dev/mmcblk0 b 179 0 1000
mknod /dev/mmcblk0p1 b 179 1 1000
...

Somehow mknods failed though.)

Andromnia svn rootfs seems to work on my i780, however don't know for sure if above solves the looping thing.

* for mounting another partition on /sdcard, needs also vfat codepages compiled into the kernel
[Upgrading, Modifying and Unlocking] xsacha:
well im not sure guys cause that's a copy of the one that's working on my phone. Does tar not copy all the states or maybe hidden files?
[Upgrading, Modifying and Unlocking] mmoooo:
If you use the -p switch (=preserve) when archiving and also later on when unpacking it should preserve owners and permissions (hidden files should be copied by default if you give tar a directory as the file to be archived)

e.g. to archive (cd /media/and-data/ && tar -pczvf /tmp/rootfs.tgz .)

then to unpack (cd /media/and-data/ && tar -pxzvf /tmp/rootfs.tgz) (making sure /media/and-data/ is empty before executing this command)
[Upgrading, Modifying and Unlocking] JerryJiang:
I can boot android using the new rootfs, but the GSM is not working..will different service provider causes the failue?
[Upgrading, Modifying and Unlocking] Shambler2:
You may have already done this (you didn't mention it in your post) but it's necesseary to change the mmcblk0p line in your DEFAULT.txt file with haret. after the p should be the partition number, so if it's sda6, then it will be mmcblk0p6.

Hope that helps!

Since you've been able to get it working, would you be able to detail the steps taken to get it onto the device? Maybe you thought of something or did something slightly differently to the rest of us that got it working

Thanks,

Sam
[Upgrading, Modifying and Unlocking] JerryJiang:
OK, let me explain a little bit how i make it working, actually, I just follow the steps already explained in this thread.

1. download the new rootfs and copy it to Ubuntu (I am using Ubuntu under VMWare.)

2. remove all files in ext3 partition. Command: $sudo rm /media/Linux -r (Linux is my ext3 partition label)

3. untar the new rootfs to ext3 partition. Command: $sudo tar xvf /home/jerry/android/WorkingAndroidRootfs.tar -C /media/Linux

4. build kernel and copy zImage to FAT32 partition. (actually i also tried the kernel image of andromnia, it worked fine)

5. unplug the phone and run HaRET.exe/HaRET_0.5.2.exe (both worked fine)

according to mmoooo's post, i also tried tar command with -pxvf, but no success.
[Upgrading, Modifying and Unlocking] JerryJiang:
one thing i want to highlight is that i did not format my ext3 partition before unpack the rootfs to ext3. i installed a working rootfs before, will this causes my successful booting?
[Upgrading, Modifying and Unlocking] xsacha:
Strange that your GSM wouldn't work. Do you have a SIM card PIN enabled? You may need to disable that in WinMo first.

By the way, I have a phone number recorded in the rootfs (when I tested GSM). So if you are using the correct rootfs (one I just uploaded), it should have a few SMS's and a missed call in notifications.
[Upgrading, Modifying and Unlocking] JerryJiang:
Yes, i saw the missed call and some SMS messages, but the GSM still not work, for the PIN, i donot know what it is. I will make some research first.

I removed the folders under data in order to have a clean environment the second time, but still have no lucky.
[Upgrading, Modifying and Unlocking] JerryJiang:
I just get another different, when i open the notification panel in Android, the service row showed as "NIMP", but previously it should be "no service" i remember.
[Upgrading, Modifying and Unlocking] JerryJiang:
Under phone security settings tab of WinMo, the check box of "Require PIN when phone is used" is not not checked, and when i want to change my PIN to empty, system told me that i need to input 4-8 number for PIN. I input the original PIN number instead.

Any suggestion?
[Upgrading, Modifying and Unlocking] JerryJiang:
Well, i enabled the PIN and boot android, and android told me that screen & phone is locked, when i click the locked screen, i enable to input my PIN number to enter main screen, but still GSM not working.

BTW, the lock screen is beautiful...
[Upgrading, Modifying and Unlocking] ondrejpecta:
I must agree with JerryJiang - I'm pretty sure I'm using xsacha's last rootfs, but after entering the PIN code and leaving the lock screen the GSM is not working ...

BTW. The unlocking effect is great!
[Upgrading, Modifying and Unlocking] ivm164:
Hi xsacha,

I can see one outgoing call and 5 SMSes. Does this mean that rootfs is correct one? I don't know if the GSM driver is working or not but GSM signal level on top of the screen shows 'x' and when I try to search for networks from Wireless conrol it says "Error while searching networks".

WBR
[Upgrading, Modifying and Unlocking] Ginger_Fish:
I dont know why but the i780 frozen everytime after 3 times flashing the ANDROID logo :(

-> 2GB SDCard

1. Partition: ext3 385MB

2. Partition: fat32 1.5GB

-> Ubuntu 9.04

-> copy the folders from "workingrootfs" to ext3

-> Andromnia Image & haret (changed to 2265) on the fat32

-> permissions are for nomal Users

>>> dont work

kindly,

.:]GF[:.
[Upgrading, Modifying and Unlocking] boodzz:
Yep same problem here too.:mad:
[Upgrading, Modifying and Unlocking] JerryJiang:
The hung may caused by the incorrect default.txt file. The default.txt file from Andromnia is initially for Omnia, not for i780. Please copy the following content to default.txt to have a try:

actually, you just need to update

as

And, does anyone know anything about ttySn? i found some post that need to set android.ril=ttySn also, but i tried, failed, the services row show "no serivice", same as the old version.

BTW, is NIMP a GSM service provider or just some kind of hard code in android code? i searched through the web, got nothing help.
[Upgrading, Modifying and Unlocking] pjduplooy:
Possible Solution

I think Jerryjiang might be right with the ram size

I had a look at default.txt file of early in July, and the change he suggested is the same as in that file.

I will test it
[Upgrading, Modifying and Unlocking] Ginger_Fish:
Worked now by changing the RAM size! :)

Thank you,

.:]GF[:.
[Upgrading, Modifying and Unlocking] JerryJiang:
how about GSM?
[Upgrading, Modifying and Unlocking] JerryJiang:
hi, xsacha

I found a Error log in logcat.txt:

E/SIM (648): [SIMRecords] onAllRecordsLoaded: imsi is NULL!

and

E/TelephonyProvider(648): Failed setting numberic 'null' to the current operator.

Seems that the problems i caused by failed to scan the operator, can we just add a configuration property to set the operator number and we can modify it in default.txt.
[Upgrading, Modifying and Unlocking] sh337:
Finaly got it working thanks to the mem size fix... :D

Specs:

SVN rootfs

haret and image from http://pmaster.no/andromnia/

It asks for the PIN, and registers on the network, although it says NIMP.

I can send and receive SMS.

I can make calls, but I don't hear anything (sound doesn't seem to be working), and the call receiver can't hear what I say.

When someone calls me, I don't have a incoming call notification, but if I press the "green" button, the call is answered.

It seems that the keyboard has issues. Misplaced keys, etc.

The reject/hang call button acts as the suspend/turn off key.

The "enter" key is the Menu key.

There are probably other stuff, but these are the most evident ones from 5 minutes of usage. :)

Overall it's very slick. The UI is really sweet. :D

PS: My battery went from 90% to 30% in those 5-10 minutes... :p
[Upgrading, Modifying and Unlocking] lebrase:
I got it too, thanks to xsacha rootfs. I untared it on my etx3 partition, and used a previously built zImage, same default.txt as always (same as few posts above).

This zImage BTW is an andromnia i780 specific kernel. If you want to remove i900: after menuconfig, you will have to correct the Makefile at the CONFIG_MACH_SGH_I780 line:

obj-$(CONFIG_MACH_SGH_I780) += sgh_i780_i900.o sgh_rpc.o

(it adds rpc_init)

GSM is working (tested on my phone).

Many many thanks to xsacha and others.

Now, how can I use Haret/Haretconsole/telnet or whatever tool is needed to track how to enable other lacking features ? Can someone post a simple tutorial for a coder with some linux driver knowledge ?
[Upgrading, Modifying and Unlocking] sh337:
I've just checked out the kernel from the Andromnia SVN, and don't seem to find that line on the Makefile...
[Upgrading, Modifying and Unlocking] Ginger_Fish:
SMS receiving working for me too. Brilliant!

Question:

When i push the red button, the i780 goes black.

How can I bring it back to the UI?

Faithfully,

.:]GF[:.
[Upgrading, Modifying and Unlocking] sh337:
It seems that the red button puts the phone on suspend. I just press it again and the UI comes back. :)
[Upgrading, Modifying and Unlocking] Ginger_Fish:
for me not! thats the problem!

Is it possible to change the "power Button" with the "red button"?

.:]GF[:.
[Upgrading, Modifying and Unlocking] mmoooo:
Just for the record, I don't think so as previously it did work after the first time formatting to ext3. Anyway, I see that you solved the looping with the mem setting :)
[Upgrading, Modifying and Unlocking] mmoooo:
I believe for that usbnet or usbserial driver are needed for working over usb, but it looks like it they are not yet working? E.g. I tried to get usbnet (compiled succesfully in the kernel), but there is no usb0 or usb1 interface visible. Alternatively one could use wifi when it is working for i780.

I have done the following to get a root console on the phone itself :

got busybox (e.g. from http://benno.id.au/blog/2007/11/14/android-busybox, although that one seems old to me)

copied it to the android partition (e.g. to /media/and-data/custom/bin/busybox)

made some soft links to some commands, a.o.:

cd /media/and-data/custom/bin

ln -s busybox telnetd

ln -s busybox ash

appended following line to the bottom of android init.rc

service telnetd /custom/bin/telnetd -l /custom/bin/ash

oneshot

Installed android terminal app (e.g. http://code.google.com/p/connectbot)

then execed telnet localhost

-> root console

I think it is better to use ssh (e.g. dropbear or openssh) instead of telnetd as using the latter is a major security risk!

However, for ssh server you need to get a debian root on the android partition and do some configuring (a while ago some people on xda-developers where trying to do that, don't know if they've succeeded)
[Upgrading, Modifying and Unlocking] lebrase:
I meant the Makefile near the sgh_i780_i900.c file. Which Makefile did you look at ?

https://dotpt.com/svn/andromnia/trunk/andromnia_kernel/arch/arm/mach-pxa/Makefile
[Upgrading, Modifying and Unlocking] JerryJiang:
Since sh337 successed to boot Android using the SVN rootfs, i tried again to use SVN rootfs and also successed. But it didn't work before, here is my steps:

1. install eSVN

2. create a folder "rootfs"

3. open eSVN (without root permission)

4. use eSVN to check out andromnia rootfs

5. copy rootfs to card using $sudo cp /home/jerry/rootfs/* /media/Linux -r

i think eSVN should do the thing as "svn command" did, the only difference is that i used: $sudo svn co http://dotpt.com/.... rootfs

the svn using root permission to checkout, that may cause the permission problem.
[Upgrading, Modifying and Unlocking] xsacha:
Ok guys it seems your problem was that you used the i900 default.txt with different mem setting (we don't have all 128MB enabled on i780 yet).

Anyway, haret isn't very helpful anymore. We've got pretty much everything out of it. What we're using now is IDA Pro + Winmo DLL files. Reverse engineering the ARM assembly code in to linux drivers. You don't even need an i780 to do this. I don't have Windows though and my laptop only 40GB so I can't realistically have both Windows and Linux. I'm still waiting for my new laptop which is stuck at customs right now.
[Upgrading, Modifying and Unlocking] JerryJiang:
GSM still not working in my phone.
[Upgrading, Modifying and Unlocking] Ginger_Fish:
-> SMS send and recieving working fine for me!!!

-> Calls making not work and recieving are no notification but the caller hear that it should ringing on my side, but it doesnt!

-> cant wake ANDROID from sleepMode (red button)

.:]GF[:.
[Upgrading, Modifying and Unlocking] Ginger_Fish:
I create a Blog for this project.

http://androidoni780.blogspot.com/

If someone want help keep the blog up to date pease consult me.

Regards,

.:]GF[:.
[Upgrading, Modifying and Unlocking] JerryJiang:
Which version of Phone driver do you have in your phone? Here is my version info:

1. Phone: PDXIB1

2. OS: Windows Mobile 6.5 23001
[Upgrading, Modifying and Unlocking] Ginger_Fish:
My Version is:

PDA: i780PXIHH5

Phone: i780DXHH1

OS: Windows Mobile 6.1 Pro - CE OS 5.2.1944 (Build 20273.EVSX.96U)

I think that the Windows configuration isnt interesting for haret & Android, because Android have his own driver.

Regards,

.:]GF[:.
[Upgrading, Modifying and Unlocking] WildMetal:
I have visited your blog and want to try the linux on my i780 but i have a few questions:

- before i partition my sd card must i uninstall all programs that i have installed on my card?

- or can i just take the card out of the phone and copy all my files in the card to a pc and then partition the card and copy the files back to the card and all programs will still work?

Cumps

ps - sorry for my bad english
[Upgrading, Modifying and Unlocking] fr0sty:
@wildmetal

Option 2 is the best

I partioned my disk, and now i put the ext3 partion in front of my fat32 partition. But now my i780 doesnt recoginize the partition anymore. Is it really necesarry to put the ext3 partion up front?
[Upgrading, Modifying and Unlocking] Ginger_Fish:
the best is to use Ubuntu with Gparted! create the first as ext3 and the 2nd as fat32!

The fat32 will regonized in ervey Operating System ( Windows, Linux & Mac ) and the ext3 partition only will regonized in Linux!

This is the best way to run ANDROID on your i780!

Regards,

.:]GF[:.