maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI (https://talk.maemo.org/showthread.php?t=84193)

humble 2012-05-10 17:58

[WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
1 Attachment(s)
This is obsolete please refer to current release.

HSDK = Harmattan SDK


Prerequisite:

1.Flash openkernel, follow the instructions from http://talk.maemo.org/showthread.php?t=81579.

2.Get HarmChom, http://talk.maemo.org/showthread.php?t=82114 follow instruction on how to set this up. i recommend trying qole's project out too.

3.Put binaries of HSDK in /bin ,replace tar binary with new one( its from rootstrap) chmod a+x newly anded files

4.Download rootstrap from http://harmattan-dev.nokia.com/d6.ph...-rootstrap.tgz put it in MyDocs.

5.run "sdk-installer".

6.reboot(try 7 first).

7.run "sdk-starter"(this will start qchroot "HSDK")

note: run as root

Files include: names are self explanatory
sdk-installer
sdk-remover
sdk-starter
sdk-stopper
tar
sdk-installer.cpp
sdk-remover.cpp
sdk-starter.cpp
sdk-stopper.cpp

This is intended for those of us who would like to compile on the device with out complicating the system. if any of that makes senses to you then this is for you.

Current release : http://talk.maemo.org/showpost.php?p...8&postcount=16

humble 2012-05-11 14:00

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
2 Attachment(s)
i made a deb this morning (i can't test it) but let me know how it go's.

Edit: i need to rework the deb.

Edit: in this version you still have to chmod a+x accordingly,
and it looks for any .tgz in MyDocs so make sure the rootstrap is the only. tgz in that directory.

ejasmudar 2012-05-11 14:05

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Wow this is very interesting. Downloading rootstrap now

rcolistete 2012-05-12 01:16

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Quote:

Originally Posted by humble (Post 1204870)
4.Download rootstrap from http://harmattan-dev.nokia.com/d6.ph...-rootstrap.tgz put it in MyDocs.

Why not use the Harmattan SDK final rootstrap ?

humble 2012-05-12 05:13

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Quote:

Originally Posted by rcolistete (Post 1205531)

will do in next release.

humble 2012-05-12 17:44

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
OK I was playing around with the digsigsums, couldn't quite get it to work ... but now I have a working deb.

Edit: in this version you still have to chmod a+x accordingly,
and it looks for any .tgz in MyDocs so make sure the rootstrap is the only. tgz in that directory

humble 2012-05-14 20:20

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
i managed to build a proper deb (with Qt Creator) manifests and all that. i could add HarmChom to the package but its not my project. with that being said Prerequisite 1, 2, 4 still has to be done. theres a new one.

- first time uses you must install SDK from cmd line as root "hsdk -i".

then your free to start chroot from desktop.

note: remember that the rootstrap during installation should be the only .tgz in the MyDocs directory.

Parameters:
"-h help shows parameters"
"-i installs SDK"
"-r removes SDK"
"-s starts SDK"
"-e ends SDK"
"-v shows version"

humble 2012-06-11 22:43

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
1 Attachment(s)
hsdk (0.0.3)

* added binary blkid (to tell what kind of file system is in the image) plus its lib.
* added postinst, prerm script to .deb .
* added the ability to create images with filesystem, create mount directory, mount any image.

rcolistete 2012-07-23 18:59

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
After many trials to run HSDK on normal kernel & Inception, I am 95% sure that hsdk installation bricks (next reboot it keep rebooting) the MeeGo Harmattan OS when open mode kernel is not used. A firmware reflash fixes this problem (but all extra softwares are deleted).

Anyway, using HSDK I've created a "Harmattan SDK final" image and it works well with qchroot (from HarmChom), without HSDK.

(Update) I've tested HSDK 0.0.3 and looking inside the .deb, there are some system file changes, maybe they are the reason of boot loop when using Inception (and without open mode kernel) on my N9.
Previous versions of HSDK don't have system file changes, maybe they can be used with Inception & without open mode kernel. But I can't risk to test it now as my N9 is well configured and being used a lot.

(2nd update) HSDK 0.0.1 works 100% ok for Inception users (without open mode kernel), see post #13.

www.rzr.online.fr 2012-07-23 19:14

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
cool idea ; I'd like to rebuild for shared repo

it may become the 500th package too ...

wanna share the src / link to .dsc is fine

regards

humble 2012-07-30 23:53

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1241820)
cool idea ; I'd like to rebuild for shared repo

it may become the 500th package too ...

wanna share the src / link to .dsc is fine

regards

sure i would, but i lost the source.. you could put the binaries in a package.. but im doing a rewrite with more features.. most likely an name change. not sure about gui since all functions are terminal based.

rcolistete 2012-08-03 19:22

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Easy Chroot package for MeeGo Harmattan is now released. It is simpler to install than HarmChom (item 2) of 1st post.

rcolistete 2012-08-16 16:38

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Good news for Inception users. How to install & use HSDK only with Inception (without Harmattan open mode) :

1) Installation :
- install Inception and Easy Chroot following the Easy Chroot instructions for Inception user;
- download & install HSDK 0.0.1 from post #7, just by tapping it with a file manager or via "# dpkg -i hsdk_0.0.1_armel.deb" as root;
- download the Harmattan SDK rootstrap as explained in 1st post;

2) Creating the SDK.img in MyDocs (only 1st time) :
Once after reboot it is needed to give chroot permissions, so go to the X-Terminal as user :
$ ariadne sh
type the root password, then :
# /usr/sbin/aegisctl -s
which gives extended permissions to mount images, check them typing "accli -I" to show more than 200 lines of credentials instead of just 6 default credentials.
Finally :
$ hsdk -i
just confirm the questions. It takes some minutes reading the "arm-public-sdk-rootstrap.tgz" compressed rootstrap and creating the SDK.img (image of Harmattan SDK) with 2.86 GB (3,000,000,000 bytes) and 441 MB free.

3) Everyday use of HSDK :
Do not use the HSDK icon, it doesn't have the extended permissions to mount the image.
Once after reboot it is needed to give chroot permissions, so go the X-Terminal as user :
$ ariadne sh
type the root password, then :
# /usr/sbin/aegisctl -s
which gives extended permissions to mount the image, check them typing "accli -I" to show more than 200 lines of credentials instead of just 6 default credentials.
Finally :
# hsdk -s
starts the Harmattan SDK on your device. After finishing your compiling and packaging :
# hsdk -e
closes the Harmattan SDK image.

PS : I confirm that installing hsdk_0.0.3_armel.deb on Incepted Nokia N9/N950 (without Harmattan open mode kernel) yields a reboot loop & need to reflash the device. So, for Inception users : do not use hsdk_0.0.3, only hsdk_0.0.1.

MFaroTusino 2012-10-25 11:14

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
I tried to use dpkg-buildpackage -d with a directory i copied fom my pc that I have successfully built, and I get an error.

Quote:

'Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 507
Anyone know how to fix it?

thedead1440 2012-10-25 11:16

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
MFaroTusino,

I haven't tried this method but I think you need to chmod 775 your /debian/rules file...

humble 2013-01-03 20:22

Re: [WIP]Harmattan SDK"on device" [N9/950]
 
Finally got a GUI stable enough for release
all required packages are in tar

What happen since hsdk:
got rid of the the whole concept.

I found separate binaries to be better.

you can install and successfully start SDK without GUI.

In SDK run these commands to fix locales.
Code:

apt-get update
apt-get install posix-locales

#NOTE: To build programs that utilize libmeegotouch you need to download source
http://meego.gitorious.org/meegotouch/libmeegotouch
and build it if anyone can find a better solution post up.

What this update consists of.
HTML Code:

-sdk-series:updated the binaries
-eazy-chroot
-inception package
-wget
-hsqml:new GUI

the source will be up later.
https://build.pub.meego.com/project/...3Atheonehumble

NOTE: on my n950 i have installed openkernel.

simple to install open the README.TXT in .tar.

anyways here the link
http://www.mediafire.com/?8bc3o5ko9mz6zng

humble 2013-01-07 22:36

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
minor fixes. to package sdk-installer & sdk-downloader

heres the link http://www.mediafire.com/?3rgnu7spxw9m9cs

humble 2013-01-09 21:56

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
more minor fixes to sdk-installer.


http://www.mediafire.com/?mxbqk430r6mfpye

farfary 2013-01-09 23:21

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
plz pack all deb in a deb file :)
very thanks for your GOOD app :)

humble 2013-01-19 04:00

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
Release: hsqml 2.0.0
*consolidated sdk-series
*more minor fixes
http://www.mediafire.com/download.php?qy7rci49c9ooiub

humble 2013-02-02 13:00

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
1 Attachment(s)
Release: hsqml 2.2.0

* minor tweaks "GUI/Backend"

any requests are welcomed..

humble 2013-02-22 23:54

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
1 Attachment(s)
Release: hsqml 2.2.1

* major/minor tweaks "GUI/Backend".
* Maemo SDK now available.

humble 2013-03-03 10:25

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
1 Attachment(s)
Release: hsqml 2.3.2

* <Added new Rootstraps>
-Mer
-Nemo

* <Added bins to start Rootstraps out side HSQML>
- sdk-start-h renamed rs-start-harmanttan
- sdk-start-m renamed rs-start-maemo
- rs-start-mer
- rs-start-nemo

* <Added Readme>

* <Renamed>
-imgs
-directories

so this wont work with previous installion's due to renaming more appropriately.

www.rzr.online.fr 2013-03-03 11:13

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
PM me if you want me to rebuild it ?

humble 2013-10-15 13:38

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
Wow its been a while...
due to my situation, my development has slowed down tremendously sorry... its life.
i lost everything exepct a few articles of clothing and my N950!.... even service.. since then its been a mess...
but I will keep faith that it will all turn out good.

Anyways I just installed HSDK to find out that the harmanttan rootstrap mirror went bad.

Since the part that handels that part is hard coded. There is nothing I could do.(next time if there is one make it not..hehe) The source is lost,( along with my whole computer) I should have givin it to rzr.
COBS where i put the last know source is gone. any direction to where I might find the mirror to that whole site will be much apprcated.

Walk-Around

So download arm-public-sdk-rootstrap.tgz
rename it to harmanttan-public-sdk-rootstrap.tgz
place it in the root of /MyDocs

thats it untill then...

rcolistete 2013-10-15 16:12

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
humble, do you have some PayPal account (or alike) so we can help you by donating ?

humble 2013-10-15 17:33

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
I've puttin a donation link in my signature.

rcolistete 2013-10-15 18:22

Re: [WIP]Harmattan SDK"on device" [N9/950] [NEW]hsqml GUI
 
Quote:

Originally Posted by humble (Post 1380773)
I've puttin a donation link in my signature.

Done. Best wishes for you.


All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8