yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] snickle:
@aur0n,

I tried connecting to several aps, but with encryption and open no dice.

Looking at dmesg I see this for both the stock wpa and the uruk one:

archos_wifi_power: 0

archos_wifi_power: 1

TIWLAN: 1484.393574: CHIP VERSION... set 1273 chip top registers

TIWLAN: 1484.395313: Working on a 1273 PG 2.0 board.

TIWLAN: 1484.396168: Starting to process NVS...

TIWLAN: 1484.396931: NVS found, EEPROM Image addr=0xc5652400, EEPROM Len=0x0x1d4

TIWLAN: 1484.398365: Chip ID is 0x4030111.

TIWLAN: 1484.400349: FEM Type 1

TIWLAN: 1484.401172: Starting to download firmware...

TIWLAN: 1484.484730: Starting to download firmware...

TIWLAN: 1484.507343: Starting to download firmware...

TIWLAN: 1484.508716: Starting to download firmware...

TIWLAN: 1484.516559: Starting to download firmware...

TIWLAN: 1484.520710: Starting to download firmware...

TIWLAN: 1484.523121: Finished downloading firmware.

TIWLAN: 1484.524860: Firmware running.

TIWLAN: 1484.554615:

TIWLAN: 1484.555073: -----------------------------------------------------

TIWLAN: 1484.556599: Driver Version : WiLink_Driver_6.1.0.0.144

TIWLAN: 1484.557606: Firmware Version: Rev 6.1.5.44.7

TIWLAN: 1484.558460: Station ID : 00-16-DC-63-C0-0D

TIWLAN: 1484.559345: -----------------------------------------------------

TIWLAN: 1484.560444:

TIWLAN: 1484.576954: Interrogate TX/RX parameters

For the Uruk wpa I get only I single line when trying to connect

wlanDrv_If_Release (Note: This had theTIWLAN: ###.###### in front, but I did not copy it down.)

For stock wpa I get:

TIWLAN: 1484.576954: Interrogate TX/RX parameters

TIWLAN: 1487.305713: ************ NEW CONNECTION ************

TIWLAN: 1487.306690: -- SSID = nickle

TIWLAN: 1487.307361: -- BSSID = c0-c1-c0-7c-2a-14

TIWLAN: 1487.308155: ****************************************

Configure McBSP for 1 phase

Configure McBSP TX FIFO threshold to 1260

It seems the Uruk wpa build has trouble with the TX/RX parameters.

I tried this with two different open access points and two wpa/psk access point. All different manufacturers.

Any other data you would like me to collect? I can toggle back and forth.
[Gen8 Android Development] fzelle:
Beside that the "new" wifi isn't connecting, you don't see ap with a channel above 10.

Something the archos guys also did sometimes.
[Gen8 Android Development] $aur0n:
This is how it looks on my Archos - with new wpa_supplicant. I've did fresh install (yesterday) of Uruk 0.7 then update to 1.0.

This is for AP with wpa/wpa2....

But when I deleted this from wpa_config - I can't connect to it again - so hopefully this is some kind of configuration problem - working on...
[Gen8 Android Development] julen163:
still freeze

Hi, I just try too with freeze problem in uruk 0.7

I note that with moon+reader and repligoreader apk, is easy to reproduce freeze problem.

with moon+reader you have to open a book and touch to pass pages enough quickily and after time is frozen.

with repligo, you have to open a PDF, and wait opened. After sometime if you try to touch it, it is frozen.

I'm very disapointed

After update with rc1, still frozen. !!!!!

:confused:

How can I help ??? to progress....
[Gen8 Android Development] lechuckthepirate:
I have the same wifi issue.

With 1.0 RC1 wifi doesn't connect to anything. It stays all the time "Searching..." then it finds APs (normal and adhoc), but if you try to connect it just does nothing.

Reformatted my device and installed 0.7. Connected to my AP without problems but, of course, adhoc networks didn't show... then I upgraded to 1.0RC1 and while it kept connecting to the "saved" AP automatically, I couldn't connect to anything else... same issue, doing nothing and staying connected to the "saved" AP... it didn't even disconnect from the one that was already connected.
[Gen8 Android Development] d31b0y:
Yep, having the same problem as lechuckthepirate.

Strangly, if I try to connect with wifi analyzer it still fails but gets stored in my list of saved AP's and I can connect to it after that in the regular settings. At least until I reboot.

A101it 16gb

Adhoc network app is from winmo energy rom called wifi router.
[Gen8 Android Development] $aur0n:
The "wifi" problem in 1.0RC1 has something to do with "editing" /data/misc/wifi/wpa_supplicant.conf over control socket - not with wifi connection itself. If you have defined AP/adhoc point at this file - it should work.

I don't know what is the reason of that, i'll try to do other compilation - sadly wpa_supplicant wont debug with -dd and -f - also don't know why :/

edit: Please try to use other (then default) wifi manager app - like WiFi Manager. I'm investigating the problem still but it seems to be somehow more connected to settings application then supplicant itself.
[Gen8 Android Development] fzelle:
You have seen my remark about the channel?
[Gen8 Android Development] $aur0n:
Yes - it's a minor problem (probably just some compilation setting) - with "normal" Linux wifi stack it's just a kernel module option.
[Gen8 Android Development] lechuckthepirate:
Can't assure you, but I think I tried to connect to my AP's network, that was already "saved" from 1.0RC1 and it did the same... I shoult try it again maybe... Will do tonight when I get home.

Cheers
[Gen8 Android Development] snickle:
I switched back to the Uruk wpa, and deleted the config and the tiwlan.ini.

I used wifi manger and I can connect to my AP and ad-hoc APs.

Still have an issue with sometime wifi flacking out and stop talking even though connected. That is not a wpa issue as it happens witht the uruk wpa and teh stock wpa.

I may try reloading stock completely this weekend and see if it is a 2.1.08 issue.
[Gen8 Android Development] jackson0829:
I have the same wifi issue.

With 1.0 RC1 wifi doesn't connect to anything. It stays all the time "Searching..." then it finds APs (normal and adhoc), but if you try to connect it just does nothing.

Hope anybody could help to solve Wifi issue due to I am very satisfy URUK 1.0 RC1 performnce except Wifi would not work?
[Gen8 Android Development] sibere:
Wifi issue on 0.7 A70S

Same wifi issue.

When everything started to get slowly, I tried a ping with an ADB shell

# ping -c10 www.google.com
ping -c10 www.google.com
PING www.l.google.com (209.85.147.105) 56(84) bytes of data.
64 bytes from bru01m01-in-f105.1e100.net (209.85.147.105): icmp_req=1 ttl=49 time=202 ms
64 bytes from bru01m01-in-f105.1e100.net (209.85.147.105): icmp_req=3 ttl=49 time=141 ms
64 bytes from bru01m01-in-f105.1e100.net (209.85.147.105): icmp_req=4 ttl=49 time=202 ms
64 bytes from bru01m01-in-f105.1e100.net (209.85.147.105): icmp_req=5 ttl=49 time=122 ms

--- www.l.google.com ping statistics ---
10 packets transmitted, 4 received, 60% packet loss, time 13370ms
rtt min/avg/max/mdev = 122.131/167.229/202.810/36.056 ms

60% loss is way too much !

After switching off and on, wifi, I even couldn't get network access. ifconfig and route are OK even though very slow to respond and then ping gots lost in the desert:

# route
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 tiwlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 tiwlan0
# ifconfig
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1434 errors:0 dropped:0 overruns:0 frame:0
TX packets:1434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:163522 (159.6 KiB) TX bytes:163522 (159.6 KiB)

tiwlan0 Link encap:Ethernet HWaddr 00:16:dc:65:5c:24
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2112 (2.0 KiB) TX bytes:37850 (36.9 KiB)
# ping -c 10 www.google.com
ping -c 10 www.google.com
ping: unknown host www.google.com
#

I'm trying ATM to run with the old wifi firmware (see in /etc/wifi) and will report.
[Gen8 Android Development] sweetypie:
This is probably a red herring, and if so I apologise. I've not installed 1.0 yet - I'm really happy with 0.7, and I have AdHoc working using my own simple method.

But I had the problem of "Searching ..." endlessly, on my A5IT. In the end, it turmed out that, because I had created my wpa_supplicant.conf file from scratch, and named it as such instead of editing the original file, the final file ended up with the ownership properties as: owner / group = root / root, whereas they need to be system / wifi.

When I changed them using chmod and chgrp, they worked immediately.

Just a thought.
[Gen8 Android Development] woti23:
@$auro0n

sshfs works great

sshfs user@192.168.0.67:/home/user /mountpoint -o allow_other

or with key

sshfs user@192.168.0.67:/home/user /mountpoint -o allow_other -o IdentityFile=/somedir/.ssh/id_rsa_netb
[Gen8 Android Development] $aur0n:
Glad to hear :) I use nfs4 more often (over vpn) - but it's good to have option.

Anyway I have compiled 3gntfs binaries (full r/w etc) to use in user space fuser - but I have no way to test it (dead usb) or idea how to use it in "easy" manner (perhaps some script masking for vold or something...).

Anyone interested to do the job?

Services update: there is cifs service (just like ntfs)

edit: And It looks like Google killed Android 3.0 for a while... not a big lost, I would really love to see MeeGoo in place of Android (witch is more and more crappy to me - when I see how it's done...)
[Gen8 Android Development] woti23:
well android UI looks pretty polished on other devices than the archos.

and the ui is why i got an android in the first place.

if i'd only want a good working "system" i'd buy a barebone and used a remote shell and put debian on it. but on a tablet? i wouldn't want gnome/unity/kde/gnomeshell/meego/maemo cribbled UI flavours. thats why i got an android tablet. don't get me wrong, i like linux and use it daily, but i want android, google apps and market and not linux and ubuntu one on my smartphone and tablet ;-)

its nice to have all those additional functions and binaries from linux, but replacing the android framework and libs purely with linux will simply not work.
[Gen8 Android Development] sibere:
ATM wifi issue solved so far using old firmware. no freeze also with "ondemand" cpu gov.

Sent from my A70S
[Gen8 Android Development] sibere:
Cgroups

@$auron

I was looking at /proc/config.gz and realised that cgroups is not enabled in your kernel.

Could you include this in your next build?

In the mean time when I've a bot of spare time, I'll try to cross compile the kernel as well.

First time I flashed a kernel on my HTC desire, cgroups were not enabled and since I build a kernel with cgroups, the phone felt much more responsive even at a very slow CPU freq (128MHz).

A few tweaks have to be done as well to enable properly cgroups (like /acct tree, etc) but I'm quite convinced that this would greatly enhance the experience on our devices.
[Gen8 Android Development] $aur0n:
Ok, enabled - but this won't make any difference unless some task will get "grouped" ;). Anyway like for now my priority is to get rid of this freezes and EI for A70H.
[Gen8 Android Development] sibere:
Thanks!

Well it did a great job on the desire running froyo, I guess there is a chance that it'll do the same good job on the A70 :)

Let me know when you post the updated cgroups kernel!
[Gen8 Android Development] sibere:
libsqlite.so

In the mean time, I've patched libsqlite.so following this thread

It's boosing I/O for SQL write access and you can see it immediately in quadrant I/O score (I've got about 3500+ I/O and a total of about 2100+)

Here is the patched lib.

Install, reboot, enjoy :)
[Gen8 Android Development] fisha21:
Thanks sibere! To forestall the inevitable questions (you know they're coming ;) ):

Connect via ADB

adb push libsqlite.so /sdcard/
adb shell
su
mv /system/lib/libsqlite.so /system/lib/libsqlite.so.bak
mv /sdcard/libsqlite.so /system/lib/libsqlite.so
chown root.root /system/lib/libsqlite.so
chmod 644 /system/lib/libsqlite.so

ADB reboot
[Gen8 Android Development] sibere:
Ahem, yes thanks. I thought it was obvious because it's the Devs thread ;)

Don't forget also to chown root.root the new libsqlite.so

Did you feel/see any differences with this patched lib?
[Gen8 Android Development] fisha21:
Not only devs/advanced users follow this thread...;) Have amended the code

My tablet does seem a bit "snappier", but haven't used it much, will feed back after extended use. I don't bother with Quadrant scores, prefer how the device feels to use (not sure Quadrant and real-life usability always correlate!)
[Gen8 Android Development] sibere:
That's right!

Quadrant just shows that the patch is working :)

Now I wanna work on kernel.

Unfortunately the install script in uruk 0.7 doesn't align partitions. ATM I don't see how to delete and redo partitions easily because there is no recovery mode like we have on the Desire... maybe with a console version of Gparted running on the stock android... just thinking ...
[Gen8 Android Development] $aur0n:
How reliable is this patch? I see it just removes synchronization - so it makes system less reliable during crashes - anything else?
[Gen8 Android Development] sibere:
I've been using it for month on my desire without any issue.

Shouldn't be a problem on a ordered journalised ext4 .

Sent from my HTC Desire with DATA2SD :)
[Gen8 Android Development] cajl:
i move the update on data/UrukUpadate

i see this file on /sdcard/data/UrukUpdate/

but now i wait many time ?
[Gen8 Android Development] $aur0n:
It's /data/UrukUpdate - not /sdcard/data...
[Gen8 Android Development] cajl:
Ok i move with Astro

now i wait and the install is Ok !!!!
[Gen8 Android Development] bobsie41:
Try root explorer instead of astro, you'll find it so much quicker, more functional (and prettier!) :)
[Gen8 Android Development] Caste23:
Hi,

If nothing happens, you can force it with urukDroid config.

:)

CaSte23
[Gen8 Android Development] cajl:
it is GOOD

i see the 1.0 !!!!!!
[Gen8 Android Development] $aur0n:
Ok since I can't fix the wpa_supplicant problems with Archos/Android configuration UI (it works with 3thrd party software without a problem). There will be "wpa" service that will allow users to choose whether they want to have "adhoc" and don't use stock configurator - or not.

So Solune - 2 new services in 1.0: cifs, wpa
[Gen8 Android Development] sweetypie:
So, just to be clear. Does that mean that the "out of the box" 1.0 release will leave wpa_supplicant.conf (and maybe tiwlan.ini ?) alone, as it is now in 0.7, and offer an option somewhere to do something with it?

I ask because I'm happy with my present simple method of getting AdHoc working with 0.7 - it works beautifully now with my Nokia N97 and JoikuSpot. I worry slightly that, if you mess with wpa_supplicant.conf, and maybe tiwlan.ini (?) by default, then I won't get it work at all.
[Gen8 Android Development] $aur0n:
All "adhoc" method now requires to edit wpa_supplicant.conf manually. With patched wpa_supplicant binary (not config) in Uruk 1.0 - you will see all adhoc as normal wifi networks in wifi managers, and you can connected to them without editing anything. Drawback is (and what I haven't seen before - because I don't use build in/Archos wifi configuration) that stock configurator somehow does not get along with new wpa_supplicant.

So Uruk 1.0 approach will be to have stock (unmodified) wpa_supplicant (without adhoc patches) as default, and "wpa" service that when enabled will use patched wpa_supplicant - so you will have to use "wifi manager" (or something similar) - witch is better solution anyway.

Is this clear?
[Gen8 Android Development] sweetypie:
Yes, I think so, thanks. It'll be obvious when 1.0 arrrives. For what it's worth, I messed with the various settings in wpa_supplicant.conf a year ago for the A5IT, with no success.

It now turns out that all that's required (after a minor edit to the wpa_supplicant.conf file) is to delete the tiwlan.ini altogether, not edit it. This works, not only on my A101 but also finally on my A5IT too.
[Gen8 Android Development] solune:
Hello,

I was in holidays, and after that I fell ill :(

I was not able to advance as I wished it on UrukConfig, I'm going to put myself on it this week and this week-end. Ok to add the 2 news services. Are they already there in the RC release ?
[Gen8 Android Development] $aur0n:
Probably not - I'll put RC2 soon. Now I still try to solve the freeze problem. Currently I'm almost sure it's the kernel stuff, I wrote to Archos guys (NZ) perhaps they will help a bit with more recent kernel source/config.
[Gen8 Android Development] sibere:
Yep that's really a big issue ATM.

I still have freezes with ondemand (not a cpu gov problem then).

I do agree that it might be a kernel issue. Could it be b/c ext4 has been patched?
[Gen8 Android Development] $aur0n:
It's certainly kernel issue, and it's not a problem of ext4. I've tested binary kernel from 2.1.8 with compiled (by me - not foreign) ext4 modules and it's working stable. I've tested kernel compiled with SDE provided kernel configuration (without changes - just ext4 added) - still freezes. Yesterday I've compiled kernel with Archos provided toolchain (usually I use Android ndk) both with "plain" make and build - botch freeze. I'm quite sure it's not my fault now - I've talked with NZ about checking if/what changes they made to kernel source (perhaps some patches) and asked to provide recent kernel configuration.

ps. Anyone is willing to test latest EasyInstall on A70H? - it's tested and should work (thx Scott) - but it's better to be sure if it's working with some other configuration.

http://sauron.pourix.com/UrukDroid/UrukDroid-1.0/EI/
[Gen8 Android Development] sibere:
I'm gonna try this kernel also on my A70S and will report about stability.
[Gen8 Android Development] silaimo:
Hi Developer,

I found there is a thread about SD card speed fix, will it help to improve the speed of UrukDroid which running using external SD?

http://xdaforums.com/showthread.php?t=1010807
[Gen8 Android Development] pki101:
Wow.. tested in my urukdroid 0.7 and reading speed went from 29Mb/s to 36Mb/s using cache setting 2048kb

Great, thanks!!
[Gen8 Android Development] julen163:
there is an apk in Market... SD Speed Boost....

it takes care of that cache settings....
[Gen8 Android Development] $aur0n:
Yep - and takes one more bite of our precious memory :/ (app). To be precise this "tweak" is not a cache modification - it's a read ahead change value. So it may help, but those tests are useless since they do one big read - no multi file read. Read ahead tells only system to read more then he needs at the moment, so IF this data will be required later - perhaps they will be already cached (other cache). This value usually should be aligned with block sizes (if we want go for optimal speed).
[Gen8 Android Development] sibere:
no need for an APP to tweak readahead.

And it's already set to 128Kb in the kernel, which is more than enough!

A good thing would be to "align" partition for /data and /system and maybe use some ext4 options like stripe and stride to "align" data blocks within the partition. It's used with good results on SSDs, should work for us on the internal storage :)
[Gen8 Android Development] sibere:
Stock Kernel

I've been using for a day the stock+ext4 kernel.

So far it's seems good and even snappier.

It's build with cgroups (look in /proc) which gave me great improvement on my HTC Desire kernel.

I've even tried to use ext4 module on the stock android and it's working pretty well!

What I have done so far also is using the stock 32Mb dedicated swap partition (/dev/block/mmcblk0p3) with a swappiness of 20 (like in stock) This provided virtual mem on a seperate flash memory, sharing the load and reducing lags when accessed. I also tuned the "/proc/sys/vm/minfree" to these values: 1536,2048,6144,8192,10240. this gives me always a free mem btwn 30 and 40Mb minimum and also a very responsive system with always enough ram available

I've also started to play with the /proc/sys/vm/min_free_kbytes tunable and set it to 4000 for testing.

This can be easily automated with a minimal script in /etc/init.d so no need for a app :))

I'm playing ATM with IOscheduler and changed it to deadline with a fifo_batch of 1 which has been showing better results in the publications I've read on the net about flash storage.
[Gen8 Android Development] cajl:
i have a problem with the wifi - do not detected

i use the update to 1.0
[Gen8 Android Development] $aur0n:
Uruk 1.0 - release date

Ok,

It seems like I need to postpone 1.0 a bit - there is a good change that in next week Archos will release new SDE source. So hopefully it will have all patches making it more stable (I assume there are patches on kernel - I don't know it). Anyway - I think It's worth to wait for a while...
[Gen8 Android Development] Caste23:
Thanks for the information :)

I hope Archos will release new SDE source soon :)
[Gen8 Android Development] sibere:
SDE sources?

Does it mean that we could make our own recovery ?!
[Gen8 Android Development] $aur0n:
Ok my fault - my understanding of this "source release" is a bit different. NZ also was confused about this name. It's called "GNU something", on Archos page - witch is wrong. I called it everywhere SDE source - witch, as I can see, also makes some confusion. Archos released source code for it's Android port (this is how GNU license works) + build toolchain - I'm talking about this source release. SDE is an abbreviation of "Software Development Environment" - so it's kind of a good name for source release (in my understanding).
[Gen8 Android Development] sibere:
Got it! :)
[Gen8 Android Development] lhva1mk:
I'm using Uruk 0.7 on A70H and if I forget to force close apps before turn off the screen, it will keep reading the HDD and of course, drain the battery ...

And even that I have closed the apps, when plugging the charger in, it cannot stop reading HDD even with deep sleep ... again, battery killer.

Is there any possible ways to make it totally sleep?

Another issue is that although iptables exist, AS Proxy still doesn't work.
[Gen8 Android Development] $aur0n:
Try to sleep it and look at dmesg output. If device keep doing i/o - it's not sleeping (it can have only screen off - here are many levels of "sleep" in android).

This probably requires NAT functionality, witch requires recompiling tivlan_drv - I haven't managed to do that (well I've compiled it many times - but it was just not working at all, or working partially).
[Gen8 Android Development] lhva1mk:
Do you mean using SSH connection to check?

Sometimes it does sleep (no connection detected) but sometimes not (even use system monitor to force close things). But once the charger is used, it always awake?!? Deep sleep is checked ...

I have recharged fully 100% (device is turned off) and I turned it on, leave it for few hours (2 or 3) and when I came back, it was really hot with 70% battery left.

Well, I think because Uruk is installed on the HDD so the background apps keep the HDD running.
[Gen8 Android Development] lechuckthepirate:
$auron ... FYI

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

Someone claims to have unlocked recovery for Gen8... that would be awesome... if it is possible to chug it a CW Recovery ... maybe a Cyanogen port???

What do you think?
[Gen8 Android Development] snickle:
All this really gives I think) you is the ability to flash custom kernels, without installing SDE. So for those of us that already have, I don't think it makes much difference.