maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Stable Hybrid Release - SHR OS on N900 (https://talk.maemo.org/showthread.php?t=62152)

BluesLee 2010-09-12 11:13

Stable Hybrid Release - SHR OS on N900
 
hello,

some guys from #openmoko-de gave me a hint that SHR is
running on the N900. maybe this is of interest for some of you:

background: "SHR is a community driven GNU/Linux distribution
for smartphones. It currently targets Openmoko models Neo 1973
and Neo FreeRunner, but is not designed for these only. "

video: http://www.youtube.com/watch?v=ywkWbb_BetI

installation howto: http://wiki.freesmartphone.org/index...0/Installation

homepage of the shr project: http://www.shr-project.org/trac


Blues

beach king 2010-09-12 11:58

Re: Stable Hybrid Release - SHR OS on N900
 
seems cool
thanks man .. I saw the video and the OS is wonderful than Android
is the calling and massage is working ???
and what files is the best to for us from this link ??
http://build.shr-project.org/shr-uns...ages/nokia900/

efekt 2010-09-12 12:37

Re: Stable Hybrid Release - SHR OS on N900
 
Does the HW Keyboard work?

dos1 2010-09-12 12:59

Re: Stable Hybrid Release - SHR OS on N900
 
Hey :) That's my video.

HW keyboard works - I typed "htop" on it in terminal on clip. Layout is correct, so blue chars work correctly too.

I got this system running just few days ago (as I got N900 just few days ago :) ) and others from SHR are now starting their work, so those images are highly experimental at the moment and sometimes need some manual tweaking in order to get something working. But we hope that will change really, really soon :)

There is no GSM support yet for N900, but we're going to use libisi from elektranox ( https://elektranox.org/n900/ ) and integrate it with fsogsmd. Though there are apps for calls, messaging etc. - just hardware support is missing in this case ATM.

Regards,
dos

vabgeo 2010-09-12 13:04

Re: Stable Hybrid Release - SHR OS on N900
 
great work.. you may want to look at the nitdroid _android for n900_ project for details on getting the 3G working, i think they used ofono.

dos1 2010-09-12 13:20

Re: Stable Hybrid Release - SHR OS on N900
 
We don't want to use ofono - we're using freesmartphone.org middleware, so ofono is competitor to us :P

dos1 2010-09-12 14:09

Re: Stable Hybrid Release - SHR OS on N900
 
Yeah, I agree, NOLO doesn't seem to be really friendly for power users... Using u-boot image as kernels' one creates problems with automatic kernel updates in Maemo. I will try to find some nice solution and document it in installation guide - I described bootmenu only because that was the one I already tested :) But when we'll get our own kernel running correctly, then we'll have to find another solution.

www.rzr.online.fr 2010-09-12 15:52

Re: Stable Hybrid Release - SHR OS on N900
 
what about n8x0 support ?
--
http://rzr.online.fr/q/openmoko

dos1 2010-09-12 16:24

Re: Stable Hybrid Release - SHR OS on N900
 
Well, the thing is that N8x0 are not phones, and SHR is mainly phone distro :)
But of course it can be built for N8x0 - we need some maintainer to do that, as we don't have any of those devices. If you (or someone else) want to do that, then you're welcome! How to build SHR is explained on our site, OpenEmbedded has support for nokia800 machine, booting it shouldn't be hard.

aligatro 2010-09-12 18:13

Re: Stable Hybrid Release - SHR OS on N900
 
n900 is .... AWESOME

crown77 2010-09-12 20:23

Re: Stable Hybrid Release - SHR OS on N900
 
can i use 3g or phone network does the mic work with this linux so i can do a simple phone call with it?

m0da 2010-09-12 20:42

Re: Stable Hybrid Release - SHR OS on N900
 
Quote:

Originally Posted by crown77 (Post 814377)
can i use 3g or phone network does the mic work with this linux so i can do a simple phone call with it?

i haven't read the whole thread, but i bet this question has been asked and answered already in it.

beach king 2010-09-12 20:42

Re: Stable Hybrid Release - SHR OS on N900
 
Quote:

Originally Posted by crown77 (Post 814377)
can i use 3g or phone network does the mic work with this linux so i can do a simple phone call with it?

read the reply in page 1

MaddogG 2010-09-15 07:55

Re: Stable Hybrid Release - SHR OS on N900
 
Quote:

Originally Posted by dos1 (Post 814085)
I got this system running just few days ago

Hi! I followed the how-to (http://wiki.freesmartphone.org/index...0/Installation), but I have a problem with multiboot (I know, it says
"multiboot
WARNING: work in progress"
but I have NITDroid installed, so I have to use it...).

When I try to boot, I get an error message saying that It can't flash the kernel because some needed files are missing: are you using multiboot or bootmenu?

beach king 2010-09-15 10:26

Re: Stable Hybrid Release - SHR OS on N900
 
hey man

I think that your problen
go to this link and search for "WARNING: work in progress" without "" :)
http://wiki.freesmartphone.org/index...tion#multiboot

MaddogG 2010-09-15 10:54

Re: Stable Hybrid Release - SHR OS on N900
 
As I said:

Quote:

I know, it says
"multiboot
WARNING: work in progress"
but I have NITDroid installed, so I have to use it...
I only want to know if someone else have tried to use multiboot. Please, don't answer if you have nothing to say :)

beach king 2010-09-15 11:16

Re: Stable Hybrid Release - SHR OS on N900
 
just trying to help ....
Iam installing it on my device and i wish it work for me
i have android too

MaddogG 2010-09-15 11:51

Re: Stable Hybrid Release - SHR OS on N900
 
Ok, let me know when you have done! :)

Dousan 2010-09-15 12:18

Re: Stable Hybrid Release - SHR OS on N900
 
I'm pretty sure that the problem lies in the R&D mode, that you have to put the phone in to boot SHR, wich wont work with the new builds of NITdroid?

Hopefully at some near future you'll be able to boot SHR without R&D ;)

Btw looks pretty cool, nice interface, really simple, thats allways welcome :D

MaddogG 2010-09-15 12:34

Re: Stable Hybrid Release - SHR OS on N900
 
Actually, my N900 IS in R&D mode...and NITDroid works pretty well...

arief 2010-09-17 10:51

Re: Stable Hybrid Release - SHR OS on N900
 
Quote:

Originally Posted by MaddogG (Post 816637)
Hi! I followed the how-to (http://wiki.freesmartphone.org/index...0/Installation), but I have a problem with multiboot (I know, it says
"multiboot
WARNING: work in progress"
but I have NITDroid installed, so I have to use it...).

When I try to boot, I get an error message saying that It can't flash the kernel because some needed files are missing: are you using multiboot or bootmenu?

If you're using multiboot, skip entering ITEM_KERNEL portion, SHR works with maemo kernel, try entering ITEM_KERNEL=2.6.28-omap1 it works for me. FYI my N900 has 5 multiboots, Maemo, Nitdroid, Ubuntu, Debian and SHR all work well

MaddogG 2010-09-17 11:56

Re: Stable Hybrid Release - SHR OS on N900
 
Thank you! :)

Now it boots, but touch doesn't work...maybe I have to change something in xorg.conf

arief 2010-09-17 13:18

Re: Stable Hybrid Release - SHR OS on N900
 
Actually touch is working, but it wasn't calibrated yet. When you prompted to select language, tap top of the screen above language window to click the next button. You can find the menu to calibrate the touch from the setting menu.

MaddogG 2010-09-17 13:20

Re: Stable Hybrid Release - SHR OS on N900
 
Thank you again! :)

alienhead 2010-09-17 13:31

Re: Stable Hybrid Release - SHR OS on N900
 
Did you see that virtual keyboard on thing :eek:

beach king 2010-09-18 00:34

Re: Stable Hybrid Release - SHR OS on N900
 
Finally installed SHR in my phone but .....!!!!!
when I boot it the boot screen of SHR appear and it says
Please wait Booting ...

and the screen turned black and nothing happened !!!
what should I do ???
reinstalling it from the 0 ???

beach king 2010-09-18 11:21

Re: Stable Hybrid Release - SHR OS on N900
 
but how did arief got it and working well as he said ?? and MaddogG too
any help how to fix it ???

any keranl will develop and work for multiboot ??

MaddogG 2010-09-18 21:31

Re: Stable Hybrid Release - SHR OS on N900
 
I simply followed the howto (I also installed udev, watchdog and libstdc++ and did an opkg upgrade, and I downloaded kernel modules for power and battery management). This is my shr.item:
ITEM_NAME="SHR"
ITEM_KERNEL=2.6.28-omap1
ITEM_MODULES=ext3
ITEM_DEVICE=${EXT_CARD}p3
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3
IMPORTANT: you have to use the standard kernel, NOT power kernel, during the installation process.

beach king 2010-09-18 22:00

Re: Stable Hybrid Release - SHR OS on N900
 
!!!!!!!
i used power kernel while installing ...
so i guess I will format the partition and retry installing it with the standard kernel and I will back ...

beach king 2010-09-18 22:09

Re: Stable Hybrid Release - SHR OS on N900
 
why it keep telling me Read only file system ??
Iam root .. :)
I have to umount the partition and re mount it then i can extract the system files

beach king 2010-09-19 00:05

Re: Stable Hybrid Release - SHR OS on N900
 
the system is working..
but the touch is not working , I tried to touch around the screen trying to press next in language selection like arief said .. but no response
I had a few error in opkg commands
here it is



Quote:

Nokia-N900:/# opkg install udev watchdog libstdc++6
Package udev (151-r17.5) installed in root is up to date.
Package watchdog (5.6-r0.5) installed in root is up to date.
Package libstdc++6 (4.5-r9.1+svnr163322.5) installed in root is up to date.
Configuring ffalarms.
Reloading system message bus config: Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Configuring sysvinit.
update-alternatives: Linking //sbin/halt to halt.sysvinit
update-alternatives: Linking //sbin/reboot to reboot.sysvinit
update-alternatives: Linking //sbin/poweroff to poweroff.sysvinit
update-alternatives: Linking //sbin/shutdown to shutdown.sysvinit
update-alternatives: Error: not linking //sbin/init to /sbin/init.sysvinit since //sbin/init exists and is not a link
Collected errors:
* pkg_run_script: postinst script returned status 1.
* opkg_configure: ffalarms.postinst returned 1.
* pkg_run_script: postinst script returned status 1.
* opkg_configure: sysvinit.postinst returned 1.

and the other command ....


Quote:

Nokia-N900:/# opkg upgrade
Configuring ffalarms.
Reloading system message bus config: Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Configuring sysvinit.
update-alternatives: Linking //sbin/halt to halt.sysvinit
update-alternatives: Linking //sbin/reboot to reboot.sysvinit
update-alternatives: Linking //sbin/poweroff to poweroff.sysvinit
update-alternatives: Linking //sbin/shutdown to shutdown.sysvinit
update-alternatives: Error: not linking //sbin/init to /sbin/init.sysvinit since //sbin/init exists and is not a link
Collected errors:
* pkg_run_script: postinst script returned status 1.
* opkg_configure: ffalarms.postinst returned 1.
* pkg_run_script: postinst script returned status 1.
* opkg_configure: sysvinit.postinst returned 1.
Nok

any help ????

MaddogG 2010-09-19 09:51

Re: Stable Hybrid Release - SHR OS on N900
 
Quote:

I had a few error in opkg commands
I also had those errors, don't care about them.

Quote:

but the touch is not working
The touch is working, but is upside down (up is down and down is up :D).

beach king 2010-09-19 11:35

Re: Stable Hybrid Release - SHR OS on N900
 
thanks man
but as I said ...
Quote:

I tried to touch around the screen trying to press next in language selection like arief said .. but no response
any fix ???

ivyking 2010-09-19 11:48

Re: Stable Hybrid Release - SHR OS on N900
 
as a fix for touch screen : (i am not sure if this will work here , worked for me on debian installation)

ON MAEMO chroot into the SHR installation , and configure the usb network
load g_nokia by default ,add your specific network address to /etc/network/interfaces .
reboot into SHR , ssh into it from your pc , and call ts_calibrate .

TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate

of course you need ssh server running in the first place (i don't know if open-ssh is installed , install it if it isn't there)

[Edit ] I will install it myself , and check if calibrating screen via ssh works .

beach king 2010-09-19 12:20

Re: Stable Hybrid Release - SHR OS on N900
 
i know that trick in debian ...
but I cant get the system work cuz when I boot the system it want to select a language ... you can select it with up down keys on the keyboard but you cant press next to continue the system with the keyboard .
so you can press next just with touch input .

I will try to installing it again I hope it will work

ivyking 2010-09-19 14:51

Re: Stable Hybrid Release - SHR OS on N900
 
i got the screen calibrated successfully , simply ssh into SHR at the choose language screen from your pc and call : xinput_calibrator

as simple as that !

of course you need to correctly configure your network interface, before you can ssh into SHR .

beach king 2010-09-19 22:33

Re: Stable Hybrid Release - SHR OS on N900
 
thanks for reply ....
did you configure the network interface to connect to a wireless internet
I have a wireless internet and I will try to connect to it and using ssh

can you put your /etc/network/interfaces here ... if you dont mind ?

x61 2010-09-19 22:58

Re: Stable Hybrid Release - SHR OS on N900
 
Can't wait for this to be capable of accepting and making calls/texts.

smartypants 2010-10-06 02:31

Re: Stable Hybrid Release - SHR OS on N900
 
any njus on the progress?

MaddogG 2010-10-06 14:59

Re: Stable Hybrid Release - SHR OS on N900
 
A new verson is out:

http://build.shr-project.org/shr-uns...ages/nokia900/

I don't know if there is a changelog and where it is but I tried it:
  • the system seems more responsive (maybe graphics acceleration?)
  • GSM module is present, but I think it doesn't work (you can enable and disable GSM antenna, but I don't think you can make/receive calls or send/receive sms, I will test it)
  • battery charging seems to work
  • it continuously asks for PIN code even if my SIM has not a PIN code...


All times are GMT. The time now is 06:20.

vBulletin® Version 3.8.8