yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] sibere:
Placebo? maybe... But To tell you the story, it all started with kernels on the Desire. I flashed some kernels which were not built with cgroups and cpuacct. The phone was responsive but was laggy when underclocked to 128Mhz. With cgroups and cpuacct, it was smoother , even underclocked. I think that if HTC implemented the full setting fro cpuacct in their phone (see the desire init files) is for some good reasons :)

If this little thing can help getting a snappier tablette, why not giving it a try?

talking about the setting, yes this has to be done on boot but $auron can easily add this to any script during the boot sequence.
[Gen8 Android Development] xenicle:
Have some bugs to report with 0.4 on A70H :

- When usb connected to my linux box, makes some transfer on A70H and this one in screen standby : partitions suddenly unmount and my device can not come back from standby will pressing power button, soft reset needed.

- Also when pressed twice power button rapidly a sad hatched flipping screen occurred.

- Different battery level value between urkudroid and stock android : 50 vs 85.

- when playing music there are random mute.

for this last one, logs are :

I/cat ( 1010): <7>archos_dpm_suspend
I/cat ( 1010): <7>hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
I/cat ( 1010): <7>hub 1-2:1.0: port 1, status 0100, change 0001, 12 Mb/s
I/cat ( 1010): <6>usb 1-2.1: USB disconnect, address 32
I/cat ( 1010): <7>usb 1-2.1: unregistering device
I/cat ( 1010): <7>usb 1-2.1: usb_disable_device nuking all URBs
I/cat ( 1010): <7>usb 1-2.1: unregistering interface 1-2.1:1.0
I/cat ( 1010): <7>usb 1-2.1:1.0: uevent
I/cat ( 1010): <7>usb 1-2.1: uevent
I/cat ( 1010): <4>hdd_pm_hook: resuming
I/cat ( 1010): <4>archos_dpm_resume
E/NetlinkEvent( 1063): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
I/Vold ( 1063): handleUsbEvent(): Missing property, ignoring event
I/cat ( 1010): <7>hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
I/cat ( 1010): <7>hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
I/cat ( 1010): <7>hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
I/cat ( 1010): <7>hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
I/cat ( 1010): <6>usb 1-2.1: new high speed USB device using ehci-omap and address 33
I/cat ( 1010): <7>usb 1-2.1: default language 0x0409
I/cat ( 1010): <6>usb 1-2.1: New USB device found, idVendor=152d, idProduct=2329
I/cat ( 1010): <6>usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
I/cat ( 1010): <6>usb 1-2.1: Product: USB to ATA/ATAPI bridge
I/cat ( 1010): <6>usb 1-2.1: Manufacturer: JMicron
I/cat ( 1010): <6>usb 1-2.1: SerialNumber: 506EFFFFFFFF
E/NetlinkEvent( 1063): NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
I/Vold ( 1063): handleUsbEvent(): Missing property, ignoring event
I/cat ( 1010): <7>usb 1-2.1: uevent
I/cat ( 1010): <7>usb 1-2.1: usb_probe_device
I/cat ( 1010): <6>usb 1-2.1: configuration #1 chosen from 1 choice
I/cat ( 1010): <7>usb 1-2.1: adding 1-2.1:1.0 (config #1, interface 0)
I/cat ( 1010): <7>usb 1-2.1:1.0: uevent
[COLOR="Red"]I//usr/sbin/audiomixer( 1057): ALSA lib pcm.c:7067:(snd_pcm_recover) underrun occured[/COLOR]
I/cat ( 1010): <7>usb-storage 1-2.1:1.0: usb_probe_interface
I/cat ( 1010): <7>usb-storage 1-2.1:1.0: usb_probe_interface - got id
I/cat ( 1010): <7>drivers/usb/core/inode.c: creating file '033'
I/cat ( 1010): <7>hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
[COLOR="Red"]I//usr/sbin/audiomixer( 1057): ALSA lib pcm.c:7067:(snd_pcm_recover) underrun occured[/COLOR]

In over hand, why not add in future realize dspManager (from cyanogen) ?
[Gen8 Android Development] $aur0n:
Nope, doesn't work - tried everything from /sys/power already. Even developer setting allow only "no sleep" when power connected. This can be done with java app - but I hope it can be done on OS level somehow (there is daemon called powerd...)
[Gen8 Android Development] $aur0n:
Do I understand correctly, simply during USB transfer you Archos goes sleep - right? Does stock OS behaves differently?

Quite strange since nothing was done here

This is just because player had no more stream to play, so or Archos was loaded too much, or music player had to low priority. I've changed in 0.4 io scheduler do CFQ - i'm gathering now information witch one feels better :)

Have you tried to install it?
[Gen8 Android Development] HerrieMan:
I can confirm this 'cannot wake from sleep' bug, I've seen it several times on my A70H, only a soft-reset (hold the power-button for a couple of seconds) and then a fresh boot will bring the device back to life.
[Gen8 Android Development] Kashban:
This happens on my A101 too. Nevertheless if sleep or hibernation. Hibernation mostly wakes up but freezes then.

Another issue I had with 0.4 was a non working touch pad after wake up.
[Gen8 Android Development] $aur0n:
Really strange... I had not a single problem with soft sleep or hibernate yet. I'm just finishing final 0.4 (bluetooth fixes,vold,101logos).

Btw Kashban - have you checked DVB? Any comment?
[Gen8 Android Development] Kashban:
Maybe the .4 Version I use is outdated... it has rootfs as first Partition, not the newer version, where fat comes first.

My DVB-Stick is not supported by Linux at all, so I got myself a Terratec Cinergy XSS, which should work on Linux boxes. I'm going to test it later the day, perhaps tomorrow (evening is booked already).
[Gen8 Android Development] N23:
sorry, i can't reproduce this, my 101 wakes up (it takes a few seconds) and works just fine (hibernation and normal sleep) - even battery draining is very very low...

i'm using the first 0.4 version (i killed the whole data-partition because of FC due to the previously installed market)
[Gen8 Android Development] xenicle:
Right, with stock OS only screen goes sleep when doing long transfer. I must add that this happens without being connected to USB too, simply leave the archos go sleep and it not came back when presing power button.

After complete discharge, battery level seem to go right.

Just tested with 0.4.1 : no more sounds mute occur.

EDIT: Ooops, After a while of use the snds mute back

Since DSPManager need modified libaudioflinger.so and other roms than CM need to apply an update.zip from recovery; this one must be compiled for Urukdroid and I have not yet skills to do that, perhaps if you show me the good way... :p

Finaly 0.4.1 is more responsive on A70H thanks to, I think, disabled swap.
[Gen8 Android Development] cheefy:
hei,

first of all, i think i will upgrade to 0.4.1 today but the 0.4 i'm using now is quite unstable many freezes even when disabling bluetooth.

my google apps are not working on uruk neither in stock. i uninstalled them before changing to uruk0.4 but i find that the servicesframework is not running.will try a fresh reinstall of 0.4.1 today.

i'm adding some features to the backup script today like backing up just the data partition and backing up just modified files since a certain date.

you mentioned some autoupgrade script, can you tell what steps are needed for that, i could manage writing that script quite fast.

it would be great if you could compile the interactive governor in your kernel as described here and provide the kernel for testing issues here.

Exceppt the changes mentioned on the git-page you should use following backported file for cpufreq_interactive.c:here

and export the variable nr_running by adding EXPORT_SYMBOL_GPL(nr_running); to the end of kernel/sched.c

i'm not sure if my compiled module works.

if someone wants to activate it you have edit the file

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Gen8 Android Development] $aur0n:
I'll have to change upgrade/update script - to be more flexible - and probably add gapps in next release as update.

Like for now there are 2 ways to upgrade.

During boot, if system find in root filesystem

- UrukDroid-rootfs-upgrade.tgz - then it will remove vital directories from root filesystem (except /root /sys etc.) and untar content of the file (no checks are done - this has to change). On this level /data cannot be touch - since it's not mounted.

- UrukDroid-rootfs-update.tgz - finding this file makes Uruk to untar it in /. But this is done after mounting /data - so changes of user content are possible. No erase are made.

- there is also third file "UrukDroid-copy_data.cmd" - finding this commands makes Uruk to mount old /data filesystem (from original OS) and copy it content over existing /data

This makes all updates/upgrades quite flexible - but a bit danger, so probably some basics checks are required in future.

ps. I'm compiling this governor now - will see how it works.
[Gen8 Android Development] $aur0n:
Where this came from?

edit: It's compiled into kernel as default, you can check it out (requires "echo interactive >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" - since during boot default governor is changed...)

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

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

Can be freely flashed with 0.4.1
[Gen8 Android Development] cheefy:
its from nadlabak who backported this for the 29 kernel:http://android.doshaska.net/interactive

thanks for compiling this. I'll check it out later (no time now)

greetz
[Gen8 Android Development] snickle:
New Governor

Installed the kernel with the new governor. Seems to provide for a snappier user experience. I will run with it for a while.

Edit: Governor seems to work well. Seems to work better when swap is on for some reason.

The only thing I noticed was an issue with wifi (starts to come up and then hangs the screen) re-enabling after a sleep in airplane mode. I will will bounce back and forth between the kernels and see whether it is a general 0.4.1 or a specific issue with governor.
[Gen8 Android Development] HerrieMan:
Battery behaviour

I'm currently using uruk 0.4, and the battery indicator is acting strange.

My device was fully charged, unplugged the charger and batt level was at 100 %.

I started listening to some songs, browsing the internet and my archos was in the background updating thumbnails for all my photo's, so the device was quite heavily loaded. The batt level was after 1 hour of use still at 100 %

Then the music player stopped since the playlist was at an end, batt level dropped suddenly to 78 %, and a couple of seconds after that i got the message 'batt exhausted, shutting down' and the archos turned itself off.

I pressed again the power button and started using the device (same as above). The device is now again running for some 10 minutes (I didn't recharge in the meantime) saying the batt level is at 50 %, and the 'settings-about device-battery use' screen is saying 9m 2s since unplugged.

So it seems that when the archos powered itself down, also some counters have been reset, and that the indicators have a tendency to stay fixed at either 100 or 50 percent.

Even after again using the device for some 45 min, the batt level is still at 50%
[Gen8 Android Development] $aur0n:
I will look for battery behaviour now, bot probably it's all right on my device... What tool you use to monitor battery? (I use Battery Info. widget).

btw. I've just implemented compcache - it sounds quite ridiculus (and newer kernels have already "normal" memory compressed - without tearing in apart: to ram and swap - but... I'll give it a try)
[Gen8 Android Development] solune:
Hi,

I'm a happy user of UrukDroid, thanks for this good job, and I would like to help.

I'm beginner in Android Java developpement, but I'm trying to make an app to configure files in folder /uruk.conf with graphic interface (as you ask in other thread).

I've already done the reading of files, to show what is enabled or not at start. I've done also the possibility to modify the files, except a problem : an app haven't the rights to write in /system/ and subfolders, I'm searching a work-around.

In the other part of my program, I would like -if it's possible- to tell which service is actually running, and to give acces to stop and start the service.

In the 6 services can you tell me which ones can be start and stop easely, and which ones need reboot to be actived/desactived ?

swap => need reboot I think ?

sshd

ntfs

iptables

samba

dvb

And can you give me, for the services who can be start, a command-line to do it (in terminal), I'll see how to adapt it to the program ?

My program will not be beautiful, as I'm noob on this, but -I hope- will do the job.

(sorry for my poor english...).
[Gen8 Android Development] $aur0n:
Great to hear that! :)

If you don't find workaround - we can do symlink somewhere on /data for you.

I can make "service status" trigger for you to tell if it's on/off.

There are already some new switches like "stats".

None of the services require reboot. All of them requires restart (of service only) after config change.

I assume this question is because you thought service may require device restart. Since they don't - every service can be started from command line.

Thanks one again - and waiting for result :)
[Gen8 Android Development] solune:
I have good hope to write on /system/, as others apps are able to. And that can be usefull for other things (hosts, for example).

Ok for the services, it's a good news that all of them can be start and stop !

I already imagine a widget to activate/desactivate them :p (in v2 :D )

Google say me that I can interact with services, so I think -but have to check- I can test in my program if they are on or off. If not, I'll tell you.

I can work on it tomorrow, and hope I'll be able to send you an alpha version !
[Gen8 Android Development] Kashban:
Every app is able to write there if it's given root rights. Since you're rooted when using Urukdroid your app should be good with it.
[Gen8 Android Development] $aur0n:
Yes - there is a lock file in /var/run/uruk_update.lock - if this file is present, update/upgrade is in progress.
[Gen8 Android Development] Lenn:
@$aur0n

I've found a translater for the english wikipedia article about urukdroid!:)

I'll post it on Wikipedia this evening;)

__

My friend is meeting me this afternoon, so we can test your new Kernel (the bootscreen on the A43);)

I'll report it here:)
[Gen8 Android Development] fisha21:
Not questioning HTC (or you!) :)

Sometimes its difficult to know if things seem snappier just because you're expecting it to. But yes, if there's a chance something will make the tablet smoother, I'll eagerly give it a try! Especially now that my Starburst-enhanced Desire has shown me what Android can be like...;)
[Gen8 Android Development] Lenn:
@$aur0n

I've tesed the new kernel on the A43 and it still dont work:( (the bootscreen)

just want to tell you;)

If you need another test post me here;)
[Gen8 Android Development] solune:
Is someone with an Archos 10 on urukdroid v1 can submit a capture of desktop with urukconfig icon on it, and a capture of urukconfig launch on service page ?

It will help me to adapt icon size to this device, I think it's not ok for now.

Thanks !
[Gen8 Android Development] spino1970:
Hi there...i rooted my Archos 70it with SDE "method"...

'Cause i'm a newbie, i would like to know if this OC method is valid also without UrukRoot...

may I install this zimage+initramfs.cpio.gz flashing from menu?

And if yes, it will work on latest FW 2.3.26?

Thanx in advance for any answer ;)
[Gen8 Android Development] Caste23:
I use ADW launcher :) :
[Gen8 Android Development] solune:
Thanks :) Someone said that icon was too small on desktop but it seems ok ! And urukconfig seems ok too. One thing less to search for :)

BTW that's too bad that Archos don't provide emulator for his archos 8 series, as Samsung has done with his tablet, so I could test program on all screen size and resolution.
[Gen8 Android Development] eagleofdeath13:
Just create an AVD with the resolution and dpi from each device, isn't it possible?
[Gen8 Android Development] solune:
It was not with SDK 2.2 (at least I've not found the way to do it), maybe I should update it and see if it is possible now with android 3.0 they may have add it, you're right :)
[Gen8 Android Development] Lenn:
wooow:D

Really? That would be amazing!

Tell me about this,please:)
[Gen8 Android Development] eagleofdeath13:
It is with the SDK 2.2 and all the ones after ^^

(as far as i know it's with all SDK ^^)
[Gen8 Android Development] solune:
Yep, problem is that urukconfig need urukdroid to work, and that's not in AVD :D

If you're able to make one urukdroid AVD (I'm sure it is possible, even if I've no idea how to :D) be my guest !
[Gen8 Android Development] Lenn:
I'll try to do this:);)

I just have read me in Avd's here:

http://developer.android.com/guide/developing/devices/index.html

I think i get it:D

But i have some questions:

Can you tell me what you need here?

___

Do you use an auses-library element?

If yes, could you send me the library(s)?
[Gen8 Android Development] reffu:
Have been trying out the beta kernels and updates these past couple days. Everything works better but it breaks my soft buttons. When tapped they look like they're pressed but do nothing. Have tried as an upgrade, have used easyinstall reinstall and upgraded, and have completely wiped and reinstalled SDE. Only usable method at the moment is to use buttons mode or hide soft buttons in Urukconfig. The problem is Definitely with the upgrade and not the kernel. Have tried with both beta 1 and beta 2. Attempting to revert back to Urukdroid 1.0 causes the soft buttons to disappear entirely and removes the show button mode option from the power menu. I really like the new updates as they fixed some of my wifi problems but its very annoying to have to leave button mode on.

I'm on Archos 43 16gb.

Any help would be greatly appreciated. I have terminal emulator so if you would like the output of any commands let me know.
[Gen8 Android Development] todobarato:
----------------------------------------------------------

Hello Reffu,

I have reported this issue, I am shore they are working on it, but this take time.

Actually I am sticky with the 1.0-RC3, on my A43 is the most stable release.

But will be nice to have the AC3 codec working and the fix for recording video on HD like the stock archos , but with all the good stuff from UrukDroid.

Best regards.

Ferenc.
[Gen8 Android Development] fzelle:
AC3 is working, with 1.1b3
[Gen8 Android Development] Lenn:
@solune:

Sorry, but i cant do the AVD today or tomorrow, but i'll do it on sunday.

(I go away over the weekend;))

But please answer my questions above so i can start creating the AVD when i come back on sunday evening:)
[Gen8 Android Development] solune:
No ause-library.

For storage the idea is to reproduce urukdroid, so same as it is.

But are you sure you can do that ? How will you put urukdroid stuff in the virtual android ?
[Gen8 Android Development] fisha21:
Just started having a very odd WiFi problem. Running UrukDroid 1.1b2 update, and 1.1b3 kernel on internal SD.

Was trying to sync my Titanium Backup files to Dropbox, and it kept failing. I noticed there is no wifi icon in the notification bar, but if I go to Settings>Wireless & Network settings, the Wi-Fi box is ticked. But, if I click on Wi-Fi Settings, the next screen is greyed out and the message underneath Wi-Fi reads "Turning on..." for a few seconds, then says "Turning Off..." for a couple of seconds, then says "Error...", then back to "Turning on...."

Error log shows the following repeated over and over:

E/WifiHW ( 1157): Unloading WLAN Module Failed
E/WifiService( 1157): Failed to unload Wi-Fi driver.
E/WifiHW ( 1157): Unable to open connection to supplicant on "tiwlan0": No such file or directory
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 800508, res = 1, errno = 25)
E/wpa_supplicant( 3473): ERROR - Failed to get mac address!
E/BluetoothHeadset( 1157): Could not bind to Bluetooth Headset Service
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 800508, res = 1, errno = 99)
E/wpa_supplicant( 3473): ERROR - Failed to get mac address!
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 800508, res = 1, errno = 99)
E/wpa_supplicant( 3473): ERROR - Failed to get mac address!
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000305, res = 1, errno = 99)
E/wpa_supplicant( 3473): ERROR - Failed to handle rx data filter command!
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8001504, res = 1, errno = 99)
E/wpa_supplicant( 3473): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8021503, res = 1, errno = 99)
E/WifiStateTracker( 1157): Wifi Driver reports HUNG - reloading.

Thankfully a reboot fixes this, but attempting to upload to Dropbox causes it to restart...
[Gen8 Android Development] fzelle:
I had the same.

Switch of the powersaving feature of that wifi connection and it is behaving well again.

And it has less batterydrain that way to.
[Gen8 Android Development] fisha21:
Thanks, will give that a try. Not had problem with powersaving before, so didn't think of altering that.
[Gen8 Android Development] Lenn:
Okay, first thanks for information;)

1) You mean the whole data-structure?

2) I'll google and just try it:) Maybe i'm able to do this, we'll see:);)

___

P.S. Do you need an "Archos-Frame" for the AVD, so the emulator looks like an Archos Tablet?
[Gen8 Android Development] Lenn:
@$aur0n

Do you read my message about bootscreen-testing on A43?
[Gen8 Android Development] $aur0n:
Which one? I could missed it...
[Gen8 Android Development] machhho:
Please, make the Archos 43 to support arabic with connected letters

thanks
[Gen8 Android Development] Lenn:
Sorry but at the moment we've got other problems, but maybe sauron could give aou infos how to create an language add-on, so you can do it:rolleyes:;)
[Gen8 Android Development] Lenn:
No problem;)

This one:

http://xdaforums.com/showpost.php?p=13696248&postcount=1185

____

The Wikipedia Article in English is online!:)

Credits goes to woti23 for the translation;) Thank you:)

What do you think about the article(s) any fails? Or do you have some tips?
[Gen8 Android Development] $aur0n:
What does "get_info p" command shows on A43?
[Gen8 Android Development] machhho:
Please $aur0n , can you create an Arabic language add-on to the Archos 43 or tell me how to do it .

thanks in advance
[Gen8 Android Development] $aur0n:
http://xdaforums.com/showthread.php?t=1061371
[Gen8 Android Development] Lenn:
I'll try it maybe tomorrow;)

the problem is that it isn't my A43, it belongs to my friend:D
[Gen8 Android Development] machhho:
thanks for replying, but in order for me to do that I have to get my Archos 43 rooted and I can't do it because it has the 2.3.20 firmware. so in this case what to do ?
[Gen8 Android Development] Lenn:
Downgrade to 2.1.08;)

Search here at the forum for that thread;)

And please:

Dont post a question here and post a thread about this question at the same time;):D
[Gen8 Android Development] Lenn:
@$aur0n

I type on my A101

get_info p

And i get A101IT:D

So this command tests the Archos Product Name:D

But why you want me to test this on the A43?

Do you think the Kernel give wrong infos about the device?
[Gen8 Android Development] nimrodity:
what chances are there getting a OC Kernel for 1.0 anytime soon?
[Gen8 Android Development] Lenn:
@$aur0n and all

Great News about Honeycomb Developement!:)

I've created the following thread at "normal" android developement section:

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

Read it;)

zFr3eak told me how to port his Honeycomb Rom "BeatMod" (http://xdaforums.com/showthread.php?t=1036519) to our Gen8 Devices.

His steps/tips you can see at Post #10

It has much bugs, but its at least a start:)

And when the AOSP CODE is released or Android 4.0 will released:)

Who wants to support?

Maybe we could create an Urukdroid Honeycomb Rom?

What do you think about that $aur0n?