yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] $aur0n:
I don't know - if or when Archos will fix this issues - but lack of my miren browser and usb keyboard are quite disappointing ;) - for me unless.

I'll put update with this firmware changes - but it's not right direction.. I guess since they already published two firmwares (2.1.2 and 2.1.3) in two days - perhaps another fast fix will appear.
[Gen8 Android Development] snickle:
New Firmware

$aur0n,

I can test bits and pieces of the new archos release if you like. I am already running the wifi firrmware and tiwan, they seem to work well with Uruk 0.5.

Any other pieces you would like me to copy from the base to 0.5 and test?
[Gen8 Android Development] snickle:
I have confirmed that 1.2 of the mirne browser does not run on Archos's latest.

My usb keyboard works just fine though.
[Gen8 Android Development] nenadr:
On mine keyboard worked OK, even orientation change of arrow keys, wifi seems same, and both PPtP and OpenVPN finaly work great (wich is most important for me, for my frequent trips, like this weekend). On the other hand, even with usbserial.ko present in stock 2.1.2( or 3), 3G dongles cannot be made to work (module loads, all serial ports get detected (from dmesg), but no /dev/ttyUSBx gets created).

So I "vote" fro something with your kernel/init, but with archos fixed android framework so that tunneling can work. ;-)
[Gen8 Android Development] $aur0n:
Yah - but i was referring to STOCK Android - not Uruk. I've of course check all that non working things on non moded stock Android - and

- miren tosted

- usb keyboard (unless this particual model - that worked) tosted

- wifi ... well ssh over wifi is kind of crap - but file copy looked ok (have to test more)
[Gen8 Android Development] cajl:
have you news for the 3g dongle ?

for use the market,

I have to wait the 0.6 or have you a solution ?
[Gen8 Android Development] $aur0n:
I don't work on 3g dongle - since I don't have any. I've just compiled proper modules. I can add more - but someone here already said he will try to make it work.

What do you mean? Market is working on 0.5 - there is a link to proper package on first page of user thread.
[Gen8 Android Development] cheefy:
Hi,

sorry i'm very busy at college at the moment so i'm not here every day.

the regex problems came when using /bin/sh (don't know if the in /usr/bin is better)

grep and sed don't recognize the + for at least one of the specified chars,

and bash test [[ ]] cant do regex checks with =~, it just states unknown option.

but i solved all this with some workarounds ;-) not very nice but working...

Yes it should do something without any commandline options but there was another error i fixed now.

im recognizing the problem with exclude. i will try to find a solution for that.

tar speaks some regex at that point, i will try that.

i will make a check for the uruk.conf swap file.

there will be a new option --quick for skipping bzip :-)

version 0.2 will be out today.

plans for version 0.3:

--restore option which accepts type of archive (appdata/data/rootfs)

i don't know how you use it, you're free to do what you want ;-) i will use it on demand, and before upgrades.
[Gen8 Android Development] cajl:
ok for the dongle

for the market

i use the file but impossible to upgrading
[Gen8 Android Development] sublimejosh2000:
Remote Desktop

I wanted to let you know, I tried using remote desktop on 0.5 uruk... It would not work, said unknown host. I booted to stock and used same program and settings it works fine. Also, worked fine in 0.4.1

Let me know if you have any ideas.
[Gen8 Android Development] solune:
UrukConfig v0.5

Hello,

Here come UrukConfig v0.5 !

Code almost completely new !

Hope you like it...

No more buttons on services, just touch "Enabled" or "Disabled" to change it. Same think for "running" and "down".

When you launch urukConfig for first time, it will ask you root rights. Because of waiting answer, checking services states may failed, so you'll have unknow state. If then, press menu and reload. Services will be checked again, with success (normaly...).

One think I don't have done for now : if you change settings for compcache or swap, the service is not yet stopped and started. For now you have to do it yourself in Service tab. And information about news settings are not taken too, you have to reload (with menu).

Tab Configuration is empty : normal, I've done nothing for now there, will comming in future update.

For now I wait for feedback before doing more :)
[Gen8 Android Development] stephen44:
i really like this functionality - ty for this

i would like to test - is there a way of saving previous version ?
[Gen8 Android Development] $aur0n:
Wow! Looks really awesome! C00l icon's look&feel

Few that can be changed:

- menu button works only when in services (not in options/configuration)

- in swap - please add "Mem (MB)" - like in compcache

- happens to be that samba had unknown state - why?

- "reload" button from "menu" i would call "refresh" or best "refresh status"

- my nickname is Sauron, on XDA $aur0n - kind of not $hauron :D

If you remember - we were talking about starting media updater on demand. I'll create service - MediaRefresh with one configuration option (do not refresh automatically on/off). Please add it to configuration.

Every service has it's description - it would be great if you could fit it somewhere there.

Anyway I'm really impressed!
[Gen8 Android Development] solune:
You can try it, I don't think you'll want to return to previous version ;) But if you do, I've posted some pages before urukconfig v0.4 (the one you have with urukdroid 0.5). Really happy to read you like this tool :)

Thank you :)

- menu button : yep I'll add it on option and configuration, perhaps not exactly same menu

- in swap : ok to put Mb, then I have to convert it when reading/writing on conf file, that must be ok, I'll try

- samba : service state is ok on my device, strange it is not in your :confused: the program pass the terminal command "\system\etc\uruk.d\samba UIstatus force" and wait for just one line in answer : "on" or "off". If you type this command line do you have exactly that ? If yes I don't understand why it don't work ? State never give another think than unknow whenever samba is on or off ?

- reload : yep refresh is better :) I've made progress in java, not yet in english :rolleyes:

- your nickname : hey really sorry for that mistake ! I've edited and corrected that !

No problem to add media updater. Is there a way to add a one-time refresh too ?

I will look where I can put description for all services. I had some troubles with listview, but I'll try to add description there...
[Gen8 Android Development] $aur0n:
Hi,

I've created some real IO benchmark test - since it's new package required to install. Please give it a try...

http://xdaforums.com/showthread.php?t=934087

if we get some result's I can try to make some test tunings to be more reliable - and we get list of "good" cards ;)
[Gen8 Android Development] solune:
$auron,

I'm looking at samba and ssh to see what can I put in Options to configure.

I've found smb.conf, where is workgroup name, path, valid users, but where is user list and how can we change password ? Do you think it's a good idea to offer possibility to change, in UrukConfig, workgroup name, path share (can we add more than one ?), user name and password ? Do you think it's a security issue to show password in plain text ?

And for sshd ?

well enough questions for tonight, thanks :)
[Gen8 Android Development] $aur0n:
Everything I thought it's usefull to change I've put in conf files.

So ssh password can be changed in uruk.conf/sshd

Samba password can be changed by calling "smbpasswd -s -a storage" and writing new password to it twice (or I can script it).

Path share for smb is not much use to change, workgroup - perhaps - I don't have much experience with it.
[Gen8 Android Development] solune:
When we use MS Windows in computer, it's interesting to change workgroup, user name and password :

- if you put same workgroup than computer, it's easier to see each other in Network.

- if you use same user name and password, you'll not have to sign in to access share in Archos from Pc

And -if it's possible- I think it's really interesting to change share, to add more shares in fact, for example we can mount a share to the urukupdate folder, a share to specified folder for videos, and so on :)

In other side it's ssh that I don't know -never try in fact for now- and I don't know what it is interesting to change here, other than password.
[Gen8 Android Development] $aur0n:
Ok - I know there can be done plenty of things - but the question is, if it will be used by users. But be my guest ;) - if you want me to put something more in config file - tell me. File you want to play with to change workgroup/share is "/etc/samba/smb.conf"

Not really - the only thing I can figure out is key exchange for password less authentication.

SSH is straight forward and allows you to do almost everything (you can mount Archos disk on PC over ssh, copy files, export display) - and, what can be quite surprising, is faster then samba (samba is terribly slow - and not just implementation - entire protocol is one big mess)
[Gen8 Android Development] $aur0n:
MediaScanner

Well that's cool - it seems that under certain condition Mediascanner erases every video file on Archos :eek:

I don't know exactly when, but while playing with system part of mediascanner (not Java+UI) - it's third time when my video files are gone... lovely...

edit: Ok it seems like second part of media scanner (java) changes sqllite library and if this process does not find diff file - starts to delete media... quite awkward

I did not want to loose more time on this (I could edit this sql files with my script - so it would be fully Uruk only service) so I've made kind of hybrid solution.

Uruk service: mediascanner

if this service is enabled (/etc/uruk.conf/mediascanner) - media scanner runs as usual on Archos OS, but with some my changes to be more polite for OS (introduced in Uruk0.5). If this service is disabled - mediascanner on Archos will not work (ends right after start). When you want to do scan on demand - it requires to run Uruk service "mediascanner start force" - so like every service in UrukConfig. After this in next 5 minutes mediascanner is allowed to start single scanning. So "on demand" scanning will be in two steps

UrukConfig - start mediascanner service

ArchosConfig -> Storage -> Update library

Is this clear? Will this work for people?
[Gen8 Android Development] solune:
Strange process that can delete video files !

Anyway the solution you offer seems ok for me, and it's easy to add in urukconfig at least :)
[Gen8 Android Development] thefunkygibbon:
i appriciate that mediascanner is an archos tool not your own, but is there anyway to hack it so that it just monitors a certain folder/subfolders for changes and if there are any new files then it scans it. maybe only when the media has been remounted (been plugged into a pc) or upon boot up)

apologies if its an old idea that may have long since been rejected as possible
[Gen8 Android Development] cjdalessio:
Just a quick request for the config work... if you are working witth passwords please be sure storage of them is properly encrypted. How many banking apps aren't even getting this right yet.

Mediascanner deleting files is an old topic I thought - though you may be closer to finding a fix than Archos. :)
[Gen8 Android Development] $aur0n:
About what password you are talking about? Because Android tried to be secure on Java level - it broke default Linux level security - so it's certainly not secured platform - unless below Dalvik (I don't have any idea how Dalvik is "secure").

Like for me (only few tests done) - java part of mediascanner was erasing data while final diff changelog (/tmp/mediascanner.diff.final) was not present... - but I may be wrong - since not enough test have been done. Will see...
[Gen8 Android Development] $aur0n:
Ok - here is Uruk 0.6RC1 (it's not real RC ;) - there will be plenty of changes before 0.6 yet). First of all I STRONGLY recommend backup root partition (as this one mess with it quite a lot - since it merge 2.1.3 firmware changes).

Fast change log:

- 2.1.2/2.1.3 updates

- new services: mediascanner, openvpn

- bonnie++ IO benchmark with iobench.sh script (for sdcard testing)

- initramfs changes to support waiting for device..

- DVB changes - with 2.1.3 and LiveTV by chulri allows to watch TV

- binaries updates...

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.6/initramfs.cpio.gz

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.6/zImage

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.6/UrukDroid-0.6RC1-update.tbz2

I've created openvpn service (off by default) - if you use openvpn, you know how to edit it (/etc/openvpn/archos.conf). It runs smooth and nicely with every system boot, takes less then 3MB of memory...

I don't want to to fight with stupidity Android permission system witch happens to change with upgrades :mad: - yet still on to fix list...

Update drop to /data/UrukUpdate (directly - not over USB) - kernel optional, but recommended.
[Gen8 Android Development] thefunkygibbon:
cool, will be a guenea pig for this. dont suppose you know of a easy way to backup the root partition? ie a command to tar up all of it onto the storage card or something? not sure if the fact that the system is booted from it will cause headaches in backing up?
[Gen8 Android Development] sublimejosh2000:
Got it running

Only thing so far, when I boot up, it sometimes boots fine, but sometimes just gives me a black screen seconds bofore the buttons should appear

JW

Also, is there a new UrukCOnfig or Arctools that came with this? I saw that the Mediascanner was in the options now, is this latest version.
[Gen8 Android Development] solune:
I'll post update version of urukConfig tonight with mediascanner and openvpn added.
[Gen8 Android Development] sublimejosh2000:
NICE

Also @ $auron,

When I upgraded to 0.6

I had a lot of force closes.. couldn't open ES file explorer to make sure the update had finished, so I waited 10 minutes to be sure.

It worked fine, but that might be noted suring the update that you might not be able to get back into file browser to make sure Uruk updated and the file is gone...

EDIT: Once I rebooted, it came to black screen, then after 2nd reboot, it was updated to 0.6RC and everything looked fine. I had to re-sign into the Market Google account too after I booted first time.
[Gen8 Android Development] solune:
Here is UrukConfig v0.5.1 with just the two services added. But can't try I can't update to uruk v0.6 :confused:

I copy file to /data/UrukUpdate but no update, even if the file is not there anymore after reboot...
[Gen8 Android Development] sublimejosh2000:
0.6 Update

Reflash those init+zimages.. Should boot up to the 0.6
[Gen8 Android Development] sublimejosh2000:
Tested 0.51

working.. I tried to put the swap space to 128Mb (Just to test) looks like it defaults back to 50. Normal?? But it is working on 0.6 everything else is look fine.

EDIT: your program says its 128 with 60 swappiness but in terminal, it still says 50Mb
[Gen8 Android Development] solune:
Have you restarted the service ? If not it's normal, I'll add restart on options change soon, but for now you have to do it manually after change (or it will be take at next reboot).
[Gen8 Android Development] sublimejosh2000:
Services

I tried to stop/start.. still showed same 50Mb.. so I am rebooting now.. will edit in a sec.
[Gen8 Android Development] solune:
I've tested again, swap file in /system/etc/uruk.conf/swap is well updated with value I put in urukconfig.apk, and stop start swap seems to work.

What are you typing in terminal to check swap ?

By the way I'm still in 0.5, as no way to update, if I put UrukDroid-0.6RC1-update.tbz2 in /data/UrukUpdate it stay here, and if I put UrukDroid-rootfs-udpate.tgz it is copied to /data/ after reboot !?
[Gen8 Android Development] sublimejosh2000:
Terminal Command

I am using "free" in terminal.
[Gen8 Android Development] $aur0n:
Update system since 0.5 live information in /var/lib/urukdroid. You can find there entire update.log and failure.log - also package description for every update/upgrade/kernel flash.

Kernel reflash for this update is not necessary - but will write during but it's still 0.5. Last screen should be 0.6RC1 - and you can always check "cat /etc/urukdroid-version"
[Gen8 Android Development] sublimejosh2000:
Also..

Start stop seems to complete correctly. I checked the files in the /system/etc/uruk.conf/ dirrecrtory the swap file is only a few bytes (not sure if that matters, but non of the files have "-rw" only "-r-" .. does that matter for this?

EDIT:

I Checked the file /system/etc/uruk.conf/swap file in (it does say =128Mb) but when I check the swap01.file it is only 50Mb
[Gen8 Android Development] $aur0n:
In /etc/uruk.conf/swap it's clearly stated ;) (yah if anybody reads it :( ) that changing swap size requires to delete swap file - it's not checked during start. I'll add this size check now (while writing it I had not idea about possibility of using some config tools like UrukConfig).

If the file is not updated - you can touch it "touch /data/UrukUpdate/*"

or even drop any kind of file there - it will trigger update process and delete unproper files.

No - updates don't go to /data/ - they are applied at once (without reboot).
[Gen8 Android Development] sublimejosh2000:
Swap space

So should I delete this 50Mb Swapo1.file ? and then reapply the swap in UrukConfig?

Also, how do I check the Comp cache?
[Gen8 Android Development] $aur0n:
Stop swap service, "rm /swap01.file" and start swap service (it will take longer to start since it needs to create new swap file)

Like every Uruk service:

/etc/uruk.d/compcache status

in this case you have even more with

/etc/uruk.d/compcache stats
[Gen8 Android Development] sublimejosh2000:
Config Uruk

Ha! had already done this when you posted it (It worked) I should trust myself more hmmmmmm.... (running 128Mb Swap)

Did this as well and looks good :) (Running 256Mb Comp Cache just to see if it worked)
[Gen8 Android Development] sublimejosh2000:
Performance

So with 256Mb Comp Cache, 128Mb Swap, 0.6 Uruk (IS that too much???)

Mediscanner turned off..

I am loving the performance, works even better than the OC kernel on 0.41!!!

I am happy so far, thing is on fire now!
[Gen8 Android Development] snickle:
no wifi on 0.6

I updated to 0.6 with no apparent issues, but now everytime I try to connection to a new. Wifi settings FCs. I tried the2.1.0.3 wiring firmware but no change.

When I get home I will see if it will connect to known ones.

Thoughts?
[Gen8 Android Development] jdolmen:
Hi

I've updated to 0.6. Now quite often I get FC with the media android.process.media

Also I cannot download anything from market, it gets stalled in downloading (actually,

the download never starts....)

Any ideas about how to fix this ?
[Gen8 Android Development] $aur0n:
First of all it's NOT 0.6 - it's 0.6RC1 (release candidate) - it's not meant to be update for users - just for developers. I appreciate all feedback - but it's too soon for it.
[Gen8 Android Development] solune:
I read it (and more than once !) but it did not occur to me to integrate it in UrukConfig :D sorry, I'll add it tonight (just two lines to add) !

I'll try this tonight too :) Thanks :)
[Gen8 Android Development] $aur0n:
Like I said - i'll make proper checks - so you don't need to modify it.

Is this possible that your "waiting" process for service to start/stop will write messages that service outputs?

For swap it's for example:

[root@localhost uruk.d]# ./swap start force
Uruk-Swap: creating new swap file, please wait...
Uruk-Swap: Enabling 50M swap memory...Done
[Gen8 Android Development] solune:
Ok I let you do the check.

Write service outputs, I think it's possible (even if the start is make in another thread), in the waiting windows or in toast, I will look at it, and that will permit to return errors messages if there is one when started a service. For now when start failed you just don't see it turning "running" but no error message is show, it will be better.
[Gen8 Android Development] $aur0n:
When service fails to start it returns to "stderr" 1, when success 0 (it's not everywhere strict - but I'll try stick to it now).
[Gen8 Android Development] erichbitch:
Hey guys. Maybe before releasing 0.6 - would it be able to integrate the newest Firmwarepatch?

Version 2.1.4 - February 1st, 2011

* Applications: fixes force close happening on applications not handling properly SecurityException (e.g. AppMonster and Dolphin)

* Network shares: limit scanning to /24 subnet mask

I think especialy the Application Crash Bug (Dolphin) was very annoying for users.

Best regards to such a great DevTeam ! Uruk gets better every week ! Love it !
[Gen8 Android Development] $aur0n:
0.6 RC2

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.6/UrukDroid-0.6RC2-update.tbz2

- added all service changes mentioned here (swap file size check, all services return 1 on fail - 0 on success, openvpn fixes)

- fix in mount_sdcard.sh - it should now honor ext3 mounted /mnt/sdcard (new in 2.1.2+ OF)

- fixes in iobench.sh - ignores some unreliable parameters

- add changes from 2.1.4 OF (but phone info still reports it's 2.1.2 ? )...

this update requires previous one RC1
[Gen8 Android Development] solune:
Update to RC2 done (from fresh install).

No luck with reading return from start / stop service :( The return come only at end of line, after Done. So I can show this when it is finish, not before. And if there is more than one line, it seem's -for what I've found- that I can't read others lines. I have to do more tests.

Others strange thing : at first launch I have lot of unknow states. I have to see why...

Only thing I've done is to update to UrukConfig v0.5.2, who give access to start and stop the 2 news services media & openvpn.

Haven't see that was not working in 0.5.1 :o
[Gen8 Android Development] $aur0n:
What does "phone info" from config tells you about version? If it's 2.1.2 - please erase dalvik cache and see if it's help (rm -f /data/dalvik-cache/*)
[Gen8 Android Development] stephen44:
thank you :D
[Gen8 Android Development] lolo33:
Tested 0.6 RC2 with these parameter and all is very smooth, better than 0.5.

Have you changed the swappiness?

Btw UrukConfig 0.5.2 is very nice and it works perfect for me.

Just problem with wifi, impossible to connect.
[Gen8 Android Development] Kashban:
Hi!

Coming from 0.5 I dropped the update package to the update folder, rebooted into recovery and flashed the new kernel/initramfs, then tried to boot into uruk.

It hangs at "UrukDroid 0.6RC1 Boot: Switching to rootfs..." for quite a time now.

Any hint what's going on?

Regards,

Kashban
[Gen8 Android Development] $aur0n:
It failed to start second stage boot (run /init binaries on root partition - 90% for this).

How fast did you "rebooted" after dropping this package? Did file dissapeared from folder.

ps. I've made my mind to make every update auto reboot - so you WILL know if update has finished ;). So after dropping package to /data/UrukDroid and after update has finished - Archos will reboot.