yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] solune:
What I mean : connect with sshd and launch urukconfig on the archos in the same time.

Look service page : what is enable, what is disable, what is running, what is down.

Launch with sshd commands : /etc/uruk.d/<name of service> UIstatus force

for each service. Is it well the same for each service as it is mentionned in UrukConfig ?

On sshd connection, look at /etc/uruk.conf/<name of service>, does the informations are the same than in UrukConfig (enable=1 must show Enable on urukconfig, enable=0 show Disable).

After that, launch each service Cfg page on UrukConfig. Does the button on/off for startup and for running show good information ?

Push running off or on : does /etc/uruk.d/<name of service> UIstatus force show same state after change ?

Go back to service page, does informations well updated ?

A bit boring but very helpfull to see if I let a bug somewhere in the program :)

If you feel ok to try, thanks, if not, that's ok ;)
[Gen8 Android Development] Lenn:
I undestand this :) Except this:

Is the command:

/etc/uruk.d/<name of service>

or

/etc/uruk.d/<name of service> Uistatus force

???

1) Do you mean i should launch all services at the same time and look if the buttons say that the service is "online"?

Sorry, i don't understand 2) & 3), could you explain it more detailed?:D Sorry i'm 14 from germany (so 8th class english:D:o

I just dont understand the two points but, if you explain me i will do it:)
[Gen8 Android Development] solune:
No problem I'll try to be more comprehensive :)

The idea is to see if UrukConfig always do his job correctly, so to test each button and function to see if they work well.

For this, on service page, you can start each service (one after the other), and check if it work correctly.

To check, it's the command :

/etc/uruk.d/<service name> UIstatus force

After that, stop each service and check (with same command) if it is well stopped.

Other test :

When you push "Cfg" button between each service name, you arrive on a configuration page for the service.

There you'll find a button to start and stop the service, and another one to change startup status.

It's same test : start and stop each service and see if that work well (with again same command).

You can check too the link (does they point to right page?).

Hope that's clear enough :)
[Gen8 Android Development] Lenn:
I`ve "splitted" the work in 3 sections :D

Because so you have faster responses;)

First Test:

CompCache ... SAME
CpuGovernor ... SAME
Dvb ... SAME
IpTables ... SAME
Ntfs ... SAME
Samba ... SAME
Swap ... SAME
Sshd ... SAME
MediaScanner ... SAME
OpenVpn ... SAME
Nfs4 ... SAME
Vpnc ... SAME
Cifs ... SAME
___________________
All is OK

I`ll do the other "section" this evening;)
[Gen8 Android Development] Lenn:
If i enter this, i get the message:

bash: /etc/uruk.conf/compcache([I]or other services[/I]): Permission denied

I`ve typed "su" but still the same message!

What i did wrong?

P.S. I`ll do now the next step;)
[Gen8 Android Development] solune:
you must "take the right" to open the file, with command :

chmod 666 \etc\uruk.conf\<nom du service>

When you've done, do :

chmod 664 \etc\uruk.conf\<nom du service>

to set permissions as before.
[Gen8 Android Development] Lenn:
Second Test:

1) Enabling on Archos

CompCache ... OK
CpuGovernor ... OK
Dvb ... GETS ERROR MESSAGE ("Error running Command. | Is: cannot access /dev/dvb0*: No such file or Directory") But UrukConfig says "running"
IpTables ... OK
Ntfs ... OK
Samba ... OK
Swap ... GETS ERROR MESSAGE [IMG]http://u08.img-up.net/rdztdzkzp77.PNG[/IMG] (Its exactly the same on Archos just without the 2.7M part ;))
Sshd ... OK
MediaScanner ... OK
OpenVpn ... DONT START RUNNING (Not over Archos and not over SSHD) [IMG]http://z05.img-up.net/wefrwefj06t5.PNG[/IMG]
Nfs4 ... HANG AT PLEASE WAIT POP-UP (When restarting UrukConfig, it says "running" and even test over SSHD says "on")
Vpnc ... GETS ERROR MESSAGE [IMG]http://a89.img-up.net/EFEWWFWFy8a05.PNG[/IMG] (Its exactly the same on Archos)
Cifs ... OK

2) Testing enabling over SSHD

CompCache ... SAME (on)
CpuGovernor ... SAME (on)
Dvb ... SAME (on --> See above (for the error message))
IpTables ... SAME (on)
Ntfs ... SAME (on)
Samba ... SAME (on)
Swap ... SAME (off --> see above (for the error message))
Sshd ... SAME (on)
MediaScanner ... SAME (on)
OpenVpn ... SAME (off --> see above (for the error message))
Nfs4 ... SAME (on --> see above (for the "problem"))
Vpnc ... SAME (off --> see above (for the error message))
Cifs ... SAME (on)

3) Disabling on Archos

CompCache ... OK
CpuGovernor ... OK
Dvb ... OK
IpTables ... GETS ERROR MESSAGE [IMG]http://t51.img-up.net/w4rtf21f43h.PNG[/IMG] (Its exactly the same on Archos)
Ntfs ... GETS ERROR MESSAGE [IMG]http://d25.img-up.net/wqerfeqwfe819r.PNG[/IMG] (Its exactly the same on Archos)
Samba ... OK
Swap ... OK (Was already disabled --> see above (for the error message))
Sshd ... OK
MediaScanner ... OK
OpenVpn ... OK (Was already disabled --> see above (for the error message))
Nfs4 ... OK
Vpnc ... OK (Was already disabled --> see above (for the error message))
Cifs ... GETS ERROR MESSAGE [IMG]http://s22.img-up.net/qiuefHUIEfbofn.PNG[/IMG]

4) Testing disabling over SSHD

CompCache ... SAME (off)
CpuGovernor ... SAME (off)
Dvb ... SAME (off)
IpTables ... SAME (on --> see above (for the error message))
Ntfs ... SAME (on --> see above (for the error message))
Samba ... SAME (off)
Swap ... SAME (off)
Sshd ... SAME (on --> for testing over sshd, sshd have to be running :D (i`ve not disable it;)))
MediaScanner ... SAME (off)
OpenVpn ... SAME (off)
Nfs4 ... SAME (off)
Vpnc ... SAME (off)
Cifs ... SAME (on --> see above (for the error message))
[Gen8 Android Development] Lenn:
@solune:

Now i go to bed:D

Hope I could help you.:)

Tomorrow evening i`ll do the next steps ( The CFG Tests and the links;) )
[Gen8 Android Development] fisha21:
With latest 1.1b2, Dazzle wifi widget no longer works. If you try and turn wifi off using the widget, it doesn't turn off correctly. Trying to turn off wifi via the Archos settings menu also results in an error message. Using either method, if I try to turn wifi on again, it works. So basically, can't turn wifi off with either method, but can turn it on.

Also, if I use the Wifi manager widget, the widget displays "Wifi Disabled", but the Archos settings menu still says "Wifi (Error)".

There were earlier posts mentioning similar problems with 1.0, but those were using Uruk WPA supplicant. The problems I'm getting are using either Uruk or Stock. It's only a minor thing, but I would like to be able to turn wifi off!
[Gen8 Android Development] solune:
Thanks a lot for your tests :)
[Gen8 Android Development] Lenn:
Theres already an issue (by me:D) on the code.google page for this problem;)
[Gen8 Android Development] Lenn:
No problem;)

I thank you for learning me the main steps of linux commands and sshd :)

I dont want just use Urukdroid, i want to help the developement:)

I think i'll do the next steps this evening:)
[Gen8 Android Development] denwaotoko:
I'll apologize beforehand in case I should be posting in the other thread about bugs.

I would just like to report that starting from 1.0final for me on the Archos 43, Whenever I try to download large files the system would lock up and I would have to do a hard reset.
[Gen8 Android Development] Lenn:
Sorry i cant do the other steps this evening, i cant go to my pc:D

But i've checked the Links to the wiki of code.google page;):)

CompCache ... OK
CpuGovernor ... OK
Dvb ... OK
IpTables ... OK
Samba ... FAIL. Right link, but you wrote the link-text is the same as at the CpuGovernor CFG's page;)
Swap ... OK
Sshd ... OK (but the link-text says "sshd" instead of "Sshd" (little s;)))
MediaScanner ... OK
Nfs4 ... OK
Vpnc ... OK (but the link-text says "Vpn Cisco" instead of "Vpnc" (i think you do this intentionally :D))

Maybe i'll do the next steps tomorrow (i hope this for real:D)
[Gen8 Android Development] $aur0n:
Yep that's my "error" - I haven't change from partition to file (I use now partiton swap). It's not really an error - just default configuration is not so useful for most of users...
[Gen8 Android Development] $aur0n:
It's turning off - but somehow Archos config sees error (but it's off). On works properly in 1.1b2. I've spend some time yesterday on this issue - and frankly I don't know what's going on - there is no error in Dalvik and system log...
[Gen8 Android Development] $aur0n:
Great! - Don't you want to edit UrukConfig wiki page? (just subscribe to the project)
[Gen8 Android Development] solune:
Thanks again :) I will correct all of it :)
[Gen8 Android Development] Lenn:
Hey solune,

I just saw this in urukconfig (i dont if this is a bug or intends:D)

In every CFG page there is a white stripe, at the height of the link, on the right;)

Just want to say:D

Maybe its a bug?
[Gen8 Android Development] solune:
Yes I will, for now working on widget and service.

Maybe service (ie android java service) is a way to communicate with urukdroid system as you ask me, not sure yet.
[Gen8 Android Development] snickle:
Are you going to add the option of a swap partition in the advaced install?

I'll resize a partition, so I can add one.
[Gen8 Android Development] fisha21:
I'm finding there's more of a problem with wifi than that. when browsing the internet, the wifi keeps disconnecting from the network, for anywhere up to a few minutes, then reconnecting again. Also, if I use the Settings menu to try and connect to a new network, it seems it can't store the passkey, so is unable to connect. Have to use wifi manager to connect.
[Gen8 Android Development] woti23:
$aur0n, what are you planning with the AlternativeOS directory, a debian chroot jail and a debian server running on the devices??
[Gen8 Android Development] woti23:
no, this makes no sense at all

first: "\etc\uruk.conf\" here are backslashes instead of slashes /

second:

/etc/uruk.conf contains text-config-files,, the OP tries to run them as shellscripts

/etc/uruk.conf/swap gets a permission denied because it's not executable and has no script interpreter line

it won't get executable by chmod 666 either, thats rw-rw-rw-, which is makeing a config file world writable, which is a strange thing from security point of view anyway

so the right thing would be to start the files in /etc/uruk.d instead od /etc/uruk.conf, for example

/etc/uruk.d/swap (start|stop| .....) - which are script files with executive permissions
[Gen8 Android Development] solune:
You're right, I've reply too quickly !

The idea was to read the file to see if it is correctly fill, so no need to change permissions on it.
[Gen8 Android Development] solune:
Yes it's a bug, WebView make this, dunno why, will look at it, thanks :)
[Gen8 Android Development] Lenn:
So what i've to do now?:D
[Gen8 Android Development] solune:
I've look at this, I think I can create a service and you may start it with am script.

But I can't find a way to take the message, can't see in my intent how to catch it. A possibility is that you write the message somewhere (in a file or a prop, dunno) and when you start the service it will read it. I can't see anything better.

For a notification there is 3 strings : message who show when notification is push, title notification and message under title. That's the 3 strings you have to pass to service.
[Gen8 Android Development] solune:
For now nothing thanks a lot for all your work, I will debug and do new version of urukconfig :)
[Gen8 Android Development] $aur0n:
Yes, it's part of rescue menu in Uruk now, it will allow to boot other OSes (debian,android - whatever) that use the same kernel. My idea for this is

/AlternativeOS/ directory and directories+files system description

like debian dir and debian.boot file. Debian boot is a shell script that (in my case) mount's sdcard partition under AlternativeOS/debian and do chrooting and init on this new sytem.
[Gen8 Android Development] $aur0n:
Sounds good, I can set android properties and call notification in UrukConfig. My idea for this is to put notification about "Update/Upgrade" process running and when it finish. So user won't wait without any idea what's going on.
[Gen8 Android Development] eagleofdeath13:
@$auron : Is it possible to (or does it exist) make a tutorial to how to make a rom for the Gen8 devices, or, like for other devices, a rom kitchen?
[Gen8 Android Development] Lenn:
No problem, i want to be an Urukdroid developer/help you guys:D

When you need a tester, text to me here;)
[Gen8 Android Development] Lenn:
@Sauron,

Do you still need a dump for the bootscreen on the A43?

I could do this,a good friend of mine has the A43 and gave me his ok to do it on his Archos:):D
[Gen8 Android Development] solune:
Bad news : my method to catch system prop don't work when use in a service, dunno why :confused:

What do you think if I make a service who check all xx seconds if a file change.

When you need the service, you start it, then it check the file. You put in the file the update when you need, and the service update the notification each time file is updated. At the end, you send last information (like "finish") to the service, wait the xx seconds, and then delete the file. The service will stop itself as soon file not found.

If you're ok with that I will send an urukconfig with the service for tests.
[Gen8 Android Development] $aur0n:
Wouldn't it better to simply read file while I call a service? (not every few seconds) - there will be no much messages so it should work with this.

You can use /tmp/urukdroid_message.xml (or .txt) - i don't know what you want to parse.
[Gen8 Android Development] Lenn:
@$auron:D

You still need a dump for the bootscreen fix on 43?;)

@Solune

I have googled and i think i found the solution for the bug with the white stripe in WebView:

So its the scrollbar:D

And this guys add some extra infos:
[Gen8 Android Development] $aur0n:
2.3.26 kernel tests

Just to inform (and perhaps someone else already did some tests) - I've tried to boot with current (2.3.26) Archos kernel (compiled from source) - without luck. It does not work with Uruk, what is quite common ;) But it also does not want to work with files from 2.3.26 - and that's quite strange...
[Gen8 Android Development] $aur0n:
Yes, I still do.
[Gen8 Android Development] Lenn:
Okey, a friend of mine have the A43, and he gave his ok, that i can do it with his A43:)

I think i'll do this someday in this week;)
[Gen8 Android Development] sibere:
cgroups not fully configured

Hi !

Was looking at the way cgroups has to be configured to be fully functional, and I realized that the last bit was not done.

cgroups has been configured in kernel (see /procs/cgroups) but the cgroups file system has to be mounted also!

see cpuacct.txt in kernel src for details, but basically, what has to be done is:

mkdir /acct

busybox mount -t cgroup -o cpuacct none /acct

mkdir /acct/uid (I'm not sure that $auron choose UID, for CONFIG_USER_SCHED, I'll have to check his config)

Tried this with a home made kernel based on uruk 1.0 kernel sources from $auron.

Not present in stock kernel.

This can be done "live" while uruk is running

Let the thing run and you should feel a more responsive tablet :)

A script to do this @ boot can be added to init.d

EDIT: Fogret about it. Only working apparently on my home built kernel.
[Gen8 Android Development] solune:
Ok for reading /tmp/urukdroid_message.txt when call the service (I prefer txt). Use separator ":" between 3 strings (message at pop-up, message title, message description).

I use the last line each time, so you can add a line or replace file each new message as you wish.

I have a last problem to solve : usualy when click on the notification it should open a new intent, and I have a launch error if I don't give him an intent. If I don't find a way with this (notification without intent), can I put an intent with just "UrukDroid update, please wait" if someone click on notification ?
[Gen8 Android Development] fzelle:
@sibere:

I get a "can't find /acct in /etc/fstab"
[Gen8 Android Development] sibere:
try again, there was a typo in mount command

not working with stock kernel, did not try with $auron kernel, but only on a home made kernel built with $auron kernel src
[Gen8 Android Development] solune:
Great :) You're right, and the code you give me make the white stripe disappear !
[Gen8 Android Development] fisha21:
Got same as fzelle with first run. Using edited mount command gives:

mount: mounting none on /acct failed: No such file or directory

This is using $aur0n's Uruk 1.1beta2 kernel..
[Gen8 Android Development] fzelle:
@sibere:

Have Uruk 1.1b2.

Now i get "mounting none on /acct failed: No such file or directory"
[Gen8 Android Development] sibere:
Hum, so it's only working with my kernel ;)
[Gen8 Android Development] fisha21:
The cpuacct.txt you linked to has slightly different folder names and syntax. Tried various combinations, but none worked. Which uruk kernel are you basing yours on?
[Gen8 Android Development] sibere:
I've build my kernel on sources $auron has released with uruk v1.0.

Yes you're right, I've used HTC config for my desire. They're using /acct and UID for their kernel. But it's just the mount folder name. You could call it /foobar ;)

But I have an issue with my kernel. vold is not mounting mmcblk1p1 (storage). Other than that, everything is running ok so far.
[Gen8 Android Development] fisha21:
:D

I'm using the 1.1beta2 kernel, since I found the 1.0 a bit laggy. Can't think that much change between the two, but will go back and check the change logs. Just started reading about kernel compilation and trying out chulris tutorial, so unable to offer anything more constructive... yet!
[Gen8 Android Development] sibere:
I've downloaded the tar from repo here : http://sauron.pourix.com/UrukDroid/UrukDroid-1.0/

I've just noticed that there is a "vold" binary. Could maybe solve my problem :)
[Gen8 Android Development] woti23:
mkdir /acct

the mkdir and mounting should be in init.rc

thats why it won't work on 1.0 kernel:

# CONFIG_CGROUP_FREEZER is not set
CONFIG_CGROUP_DEVICE=y
[B]# CONFIG_CGROUP_CPUACCT is not set
[/B]

the kernel is just not seriously configed for using cpuacct

btw:

- CONFIG_CGROUP_DEVICE=y ... and others would need a setup (cgroup.conf) and a binary daemon to be useful. or in our case dalvikvm taking care about cgroups. i think i read that cyano mods have a modified dalvikvm. i'm not sure.

- autogroups is introduced later in the kernel - 2.6.29 doesn't have it

- cpuacct by uid needs setup in kernel and init.rc
[Gen8 Android Development] sibere:
Yep.

I've built a kernel with cpuacct and a few more cgroups options, mounted the virtual fs, and it's working great.
[Gen8 Android Development] jackson0829:
Can you upload the new kernel for my reference?

I eager to try it, thanks a lot
[Gen8 Android Development] Lenn:
Hey $auron,

I`ve just do the dump for the bootscreen on the A43 ;) (Thanks to ArchosRocker:D)

I`ve do it in Landscape mode, was that right?:D

i`ve uploaded the dump here:

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

hope i could help you with this :):D

if i should do this again in portrait mode, you post me here;)
[Gen8 Android Development] sibere:
Unfortunately, I've deleted it and I dunno why but ATM I can't build a working new one... It's booting but getting into errors at some stage during the boot. I ain't got time to try again but I'll post one a soon as I got it working on my A70S.
[Gen8 Android Development] lechuckthepirate:
Well... my 3rd try to move to UrukDroid and my 3rd fallback... Maybe my tablet is different from the rest, or maybe I do something not expected with it (?) but for me until now at least, UrukDroid (be 0.7, 1.0 or 1.1b2) has been a very unstable OS ... every once in a while some application crashes and then allt he system behaves unstable.

Sometimes is market, sometimes bluetooth, sometimes wifi, settings, whatever... but I haven't been able to run smooth with UD for more than 15 minutes with any version I've tried.

Said this, I really appreciate your work $auron and I would love to be able to use your Adhoc wifi connection, because Archos BT tethering is very unstable too... but there are many drawbacks for me.

Keep up the work, maybe next version will do it for me... and thanks for all your efforts... I'll keep checking the forums for new versions.

Cheers!
[Gen8 Android Development] ArchosRocker:
@Lennb No problem for lending you my Archos 43, my friend. See ya tommorow

@$auron I hope we respectively Lenn could help you :D.
[Gen8 Android Development] $aur0n:
Don't worry about it (for now) - where can I get new UrukConfig to test it? (and how to call it from am?).

ps. Just came to my mind - perhaps you could show some information about updates from /var/lib/urukdroid/ directory? (for example all updates/upgrades/kernel from directory - it should be easy to parse, every file is another update/upgrade/kernel update).

I'm open to modify this files format - if something is inconvenient for you...
[Gen8 Android Development] $aur0n:
Here is new kernel package

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-1.1/UrukDroid-1.1beta3-kernel.tbz2

I've addeded a43 boot screen (please test and report back), some new stuff to rescue menu (but still not usable), and more cgroups options (do you need more?) - if you find good usage method for cgroups please let me know, I'll add it.
[Gen8 Android Development] Lenn:
Can i/we (not my A43) use this still with Urukdroid 1.0?

He don`t want to use betas:D ( I appreciate that:D)

______________

I`ve created an Wikipedia-Article about Urukdroid!:):D

http://de.wikipedia.org/wiki/Urukdroid

Its on german and not complet and i cant upload images:mad: (not until i`ve registered on wikipedia 4 days :rolleyes::D)

What do you think about this?

I`ve don`t write your full name is this ok?:D

Maybe anyone could translate my Article into English?

(My English isn`t so good, just in 8th grade:D)
[Gen8 Android Development] $aur0n:
I thinking... thinking hard ;) - I don't recall any reason why it should work with 1.0. But I don't give 100% guarantee since I've made really much testing/compiling in last few days...

Great! I haven't even thought about this - but it's a brilliant idea! (here is more credits if you like)
[Gen8 Android Development] Lenn:
Okey i'll ask him about that and report you;)

Okey, thanks!:) i'll work on the article tomorrows evening;)

I'll open a Thread to find translators:D:)
[Gen8 Android Development] sibere:
Thanks!

I'll try this ASAP and let you know about cgroups and cpuacct.

Did you update your kernel sources?
[Gen8 Android Development] shrewdlove:
Other OS

So how do you add another OS (lets say debian) to the urukdroid boot menu? Is there any documentation on it?
[Gen8 Android Development] fisha21:
Ok, no error messages when trying this with the 1.1beta3 kernel. Tablet certainly seems snappier, but placebo effect? Any objective way to check if it worked? Also, this will need repeating after each boot right? Seemed to be some doubt about whether to add this to init.rc, or a script in init.d...

@ $aur0n: thanks for the frequent updates. My tablet hasn't been this smooth since 0.6..
[Gen8 Android Development] solune:
I'll give you urukconfig with service tonight when I'll be back home. I've not make tests with am yet, my service is local application service, if it don't work I can make a remote service, but it's a little more complicated I've not it running for now.

I've look at /var/lib/urukdroid and yes I can use file information to show update/upgrade/kernel in an intent. Will work at it tonight too.

edit: is there a way I can know an update/upgrade/kernel is running ?