yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] gersto:
Ok think i found something else:

When i try to use the WPA tweak in UrukConfig so i can wireless tether the Archos 70 to my Eris, Wifi would NOT come back on. I looked at the wpa files under

uruk.d

and

uruk.config

and compared with the files indicated under system/bin. There is a descrepency:

The files that the WPA config, under

uruk.conf

, associates with wpa_supplicant-uruk does not exist. i see a wpa_supplicant-omap and wpa_supplicant-stock but no -uruk. I checked the install files and same thing.

i just removed the -omap from that file and restarted wifi. It sees the Adhoc from my Eris but it will not attempt to connect. Just stays at 'Scanning...' forever. I restored the symbolic link so it's working as normal again.

Update: Ok it seems you really NEED

Wifi Manager

for it to work with the modified wpa_supplicant. I uninstalled it initially. Once i reinstalled the manager, i switched back to the -omap file, started up

Wifi

and use

Wifi Manage

r to connect to my Eris' adhoc. Took a bit of time but it finally connected. Also i fixed the file name reference from -uruk to -omap in the WPA file under uruk.conf so now the switch works fine within UrukConfig 1.1.2. I've posted the fixed wpa below (extract the RAR) if anyone wants to just drop it in over the original under /system/etc/uruk.conf
[Gen8 Android Development] $aur0n:
Yes your are right - we have fixed this early morning with solune - when he prepared new UrukConfig with WPA supplicant. It's already fixed in installation files - but I'll quite soon release 1.5.1 with other small tweaks and fixes.
[Gen8 Android Development] sibere:
@$aur0n: Will you release at the same time kernel sources?
[Gen8 Android Development] blawoef:
$auron the stupid thing is i mistyped here but NOT when trying the pack - i made folder /.upgrade

i was not talking about installing oc kernel, i tried to upgrade ud from 1.0 to 1.5 with the upgrade pack

well, another issue now i am afraid: how to install new urukconfig? it i just start the apk, it gives error the app was not installed. manual replace in app folder i can nowhere find it back; no icon anywhere on the system...
[Gen8 Android Development] blawoef:
ok solved the last issue myself: copy urukconfig.apk to /system/app then it will install...
[Gen8 Android Development] jakkrith:
Thank you for UrukConfig 1.1.2 but this version could not enable MediaScanner.

I had clicked Enable at Start: On, Running: On but after back to Services tab it still shown MediaScanner Disabled down :confused:
[Gen8 Android Development] blawoef:
$auron, issue with oc kernel and cpu governor. If i do nothing, cpugovernor stats states that available freqs is up to 1200000, but cpu max used is 1000000. When i override through config file and restart through terminal, it takes the max ok. BUT after a while i check again, and it has forgotten, max cpu is back to 1000000.
[Gen8 Android Development] sibere:
same here. I personnaly have completely disabled (removed script) cpugov and I use setcpu.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] $aur0n:
I'll check this out

How do you know it's 1Ghz?

ps. I'll of course put kernel source on ftp - a soon as I'll find a bit of time to clean it up (just probably as I send tablet to RMA ;) ).
[Gen8 Android Development] $aur0n:
SetCpu is buggy (unless it was when it was free) and can't show properly CPU frequency - so that's why I asked how he knows its on 1Ghz - if from SetCpu... sorry it's just setcpu problem.
[Gen8 Android Development] sibere:
Apparentl cpugov too ;)

setcpu is working like a charm here v2.1.3

and there is other free alterntives on the market.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] $aur0n:
How it can work wrong if it shows exactly what is in /proc - and this topic getting boring. Show (both of you) me an error or end of topic - we won't going to talk about personal preferences.
[Gen8 Android Development] sibere:
Don't be bored when a user is reporting an issue. We both noticed that cpugov was throtteling back to 1000 mhz after a while on OC kernel.

I'm not talking about personal preferences but about an alternative and a possible simple solution.

I would also like to report that in order to completely stop cpugov, the script has to be deleted. If I choose the option with urukconfig to disable it on boot, it comes back on the next reboot, showing disabled AND running in urukconfig. This has nothing to do with personal preferences

Other alterntive to a potentially buggy setcpu is cpumaster (and it's free)

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] $aur0n:
This is simply impossible - cpugov is not something that is "working" in background - it's started once at boot time. So it can't change cpu frequency later - that's why I'm assuming there is some kind of observation mistake on your side and please - give me some credit of trust if I'm assuming something and not explaining everything.

This I'll check. Does urukconfig shows it's disabled? (when you choose to disable it)
[Gen8 Android Development] $aur0n:
ADB issue

Someone here said about ADB working issue on Linux (Uruk 1.5). I've checked both on 1.5 and stock fw and in both cases I don't see Archos in adb - I haven't been using adb so far (yep) so I don't have much experience with it, but my Motorola is working ok (with adb linux settings). There is one more issue here, my Archos has broken USB Host - I don't think this should be a case but...

So please, anyone can confirm it's working/not working - I thought that with adb (and without working keyboard - adb host) I could fix that last WiFi issue (sometimes not turning on during boot).
[Gen8 Android Development] sibere:
Yes it does. I've seleted disable stopped it with urukconfig. After a reboot, like I said, it is showing disabled but reported running in green.

About the other boring topic.

when I launch setcpu on the OC kernel after the boot, I choose "interactive" - 300/1200mhz.

After a while when I check again, it's showing "on demand" 300/1000 and not what I selected earlier. It never happened again after is disabled the script. That's why I don't consider it personnaly as a issue, but I just was giving a solution to blawoef :)
[Gen8 Android Development] sibere:
No ADB issue here on v1.5 after following install process as described on Archos website.
[Gen8 Android Development] $aur0n:
[root@urukdroid uruk.d]# grep enabled ../uruk.conf/cpugovernor
service_enabled=0
[root@urukdroid uruk.d]# ./cpugovernor status
Uruk-CPUGovernor: Disabled
[root@urukdroid uruk.d]# ./cpugovernor stats
Uruk-CPUGovernor statistics:
Current governor: ondemand
CPU Max: 1000000
CPU Min: 300000
Available frequencies: 1000000 800000 600000 300000
CPU statistics (tick spend in every frequency range):
1000000 3533
800000 489
600000 4135
300000 0

This how it looks when cpugovernor script is disabled.

So status is disabled, "stats" is working - because it's always working (it shows system statistics).

I'll try to explain once more but I'm assuring you it's working properly.

Kernel boots up (my kernel and archos kernel) with default cpu governor "performance". Then this governor will be changed (always) by archos software (this overdrive etc. stuff) - then if cpugovernor UrukDroid script is enabled - it's going to be changed (or not) once more. That's it. Uruk cpugovernor script does one more thing - allows to change cpu min/max freq.
[Gen8 Android Development] jakkrith:
Vote +1, No any problem about ADB on my device.
[Gen8 Android Development] sibere:
So I would say that the problem is coming from urukconfig.

ATM I'm in interactive mode and I have disabled cpugovernor. Urukconfig is reporting disabled and running with performance mode.

So what is the difference between "running" status and "down" status for cpugov?
[Gen8 Android Development] sibere:
Hoo I thought you already sent it to RMA.

Hope it won't be too long.
[Gen8 Android Development] sibere:
No misunderstanding there. I just want to know/understand why it is having this behaviour. I'm not saying that you are wrong.
[Gen8 Android Development] blawoef:
$auron, I conclude that it does not work by looking 1) first of all at output of terminal command cpugovernor stats. It says max cpu 1000000. It also says ticks for 1200000 and 1100000 almost none. A lot for 1000000. After I stop and restart cpugovernor, it shows max cpu 1100000 in accordance with my override (until it drops back some time later as I explained). Then there are also more ticks coming in @ 1100000.

2) CPUMaster also shows: available range: 300000 - 1100000; max set at 1000000.

So for me it looks like this. Before I edit cpugovernor settings file:

# ./cpugovernor status
Uruk-CPUGovernor: Enabled
# ./cpugovernor stats
Uruk-CPUGovernor statistics:
Current governor: interactive
CPU Max: 1000000
CPU Min: 300000
Available frequencies: 1200000 1100000 1000000 600000 300000
CPU statistics (tick spend in every frequency range):
1200000 123
1100000 234
1000000 635533
800000 43453
600000 4135
300000 46545

Then I edit the conf file to set cpu max freq=1100000; min =300000. Then I disable cpugovernor (does NOT work throug UrukConfig: if I click the button it executes but if I do status in terminal thereafter it is still running) through terminal: cpugovernor stop and restart: cpugovernor start. Then it shows (after some use of cpu ;)):

# ./cpugovernor status
Uruk-CPUGovernor: Enabled
# ./cpugovernor stats
Uruk-CPUGovernor statistics:
Current governor: interactive
CPU Max: 1100000
CPU Min: 300000
Available frequencies: 1200000 1100000 1000000 600000 300000
CPU statistics (tick spend in every frequency range):
1200000 123
1100000 289055
1000000 63553
800000 43453
600000 4135
300000 46545

That is expected behavior. Ok. But when I check again, cpugovernor stats, after maybe 30 minutes, it is back to first situation! Even though config file is still the same, max 1100000 etc.
[Gen8 Android Development] alex2308:
Hey $auron,

stupid question: I haven't seen you mentioning zip alinging in the changelog. I am no real Android nerd, but I read it speeds things up if you zip align .akp files. What do you think? Worth trying? Wrong topic?

Here is the info:

http://developer.android.com/guide/developing/tools/zipalign.html
[Gen8 Android Development] $aur0n:
Check other tools settings - it's probably something else switching cpu - because like I said, cpugovernor is working only when triggered - not in background.
[Gen8 Android Development] fzelle:
Mhh, i thought it was not like that.

The governor ( the one set ) is responsible for the switching of the cpu speed,

thats why there are these modules.

http://kitchendroid.blogspot.com/2010/12/androids-cpu-governor.html

SetCpu just feeds it with the min-max values and can switch between diff governors.

But did you see the new FW?

Skype seems to work now.
[Gen8 Android Development] blawoef:
Ok I see that point: but I uninstalled all other tools I could think off, CPUMaster, setcpu etc... any ideas? Anyone? :)
[Gen8 Android Development] $aur0n:
You are completely right - perhaps this is misleading that Uruk Service is also called CPUGovernor, but it's because it's only task is to switch correct governor from Linux kernel (for example not present in Archos settings - like interactive) and bump max cpu frequency in OC kernel. I've added also taping option and stats because it seems a right place.
[Gen8 Android Development] $aur0n:
I haven't seen it before ;) - and it's enough stupid to be a Java dependant stuff. I'll take a look - but it seems more like a tool for app developers.
[Gen8 Android Development] $aur0n:
Stats

Hi,

Just some statistics.

UrukDroid 1.5 installation file so far has 8655 hits (on pourix.com, I don't know how it looks on dropbox)

UrukDroid 1.5 upgrade package has 1516 hits

UrukDroid 1.0 installation file has approximately (I don't have exact numbers) 45700 hits

well I would say not too bad ;)
[Gen8 Android Development] sibere:
Zip align is pretty known in the rom cooker's world and they all use this argument to add "fast" to their topic ;)

If Archos did it's job properly, all system apks should be zipaligned from stock. But... you never know ...
[Gen8 Android Development] fzelle:
@blawoef:

You didn't by any chance used the stock videoplayer?

It is known to swith to 800Mhz and afterwards to 1000
[Gen8 Android Development] sibere:
Nope.

I just did another test.

Started setcpu, set 1200/interactive.

Then started UrukConfig and check cpugov status. UC reported disabled and running.

I turned it down, exited UC, and started it again. UC reported again disabled and running...

Then I started again SetCpu and now the governor is ondemand. So it's probably more a issue with urukconfig than the cpugovernor script.
[Gen8 Android Development] lordofazeroth:
Just a question:

Is the OC kernel also undervolted or normal voltages?

€dit:

Another thing:

I updated from 1.1b2 and got no Urukconfig.

After that I reinstalled UD and still no Urukconfig.
[Gen8 Android Development] $aur0n:
OC - normal.

UC - download it and install if it's somehow missing.
[Gen8 Android Development] Greebble:
Great job! UrukDroid 1.5 is really amazing. Special thanks for WiFi fix.

Can we hope to get next build based on the fresh stock FW? Skype should work with it.
[Gen8 Android Development] $aur0n:
Probably yes, but I have to RMA my device (since may :() and I'm going to do this in few days (when I'll be sure 1.5 is stable) - RMA can take 4-6 weeks :eek:
[Gen8 Android Development] fzelle:
We should see to it that the guys from archos, like nz and co know that it is your device.

Mybee they know a faster way.
[Gen8 Android Development] FrEcP:
hi guys,

got 2 problems in 1.5 final:

1. Can't start swap service - get an error like "can't run script" - will edit as soon as im sure what message it was.

2. My Keyborad sometime dissapreas while typing... dunno if its affected by ud 1.5 (don't think so but who knows...)

Any solutions?

regards

FrEcP
[Gen8 Android Development] $aur0n:
Start it from terminal - then you will see why it won't run

su
cd /etc/uruk.d
./swap start force
[Gen8 Android Development] fzelle:
@$auron:

Did you see http://forum.archosfans.com/viewtopic.php?f=63&t=55783&start=11 post of Bragon?
[Gen8 Android Development] sibere:
For info, the stock swap partition on the Archos is /dev/block/mmcblk0p3 and is 32Mb size.

So if you use swap_mem_partition=/dev/block/mmcblk0p3 it should use this partition.
[Gen8 Android Development] aaronmy:
The keyboard problem is the system closing the virtual keyboard, so try closing some more apps.
[Gen8 Android Development] blawoef:
Wow, new fw!! If it's good, I hope $auron can again incorporate it into UD... but I know he has to RMA his device...

Can we not set up donations so that he can buy an A70 or sth to develop on? I will gladly chip in with $10 or €10! If I look at the download stats for UD which $auron posted, we should be easily available to reach the necessary amount with about 25 users or so??
[Gen8 Android Development] FrEcP:
Thanks guys:

1. was: had 2 low space for swap - so i had 2 set it up with lower MB count - ty sauron for the "manual" trick

2. was: The keyboard problem is the system closing the virtual keyboard, so try closing some more apps. <- works with swap - i really need to check all those services ;)
[Gen8 Android Development] blawoef:
$auron, I still have not been able to track down the Cpugovernor behavior. As you say, there must be something in the system setting back max freq to 1000000 after the UD cpuovernor service has set it to 1100000 in accordance with my override.

This morning I tested again: if I manually restart Cpugovernor, the setting is 1100000 as shown by stats. After working a while, stats show 1000000 as max again...
[Gen8 Android Development] sibere:
Make sure that urukconfig is not also running in the background. I'm suspercting a link between this app and the strange behaviour, eventhough it never happened with UD1.0 or 1.1.
[Gen8 Android Development] alex2308:
You can get used one's at ~150€ in Ebay Germany. I'd be in for a donation :)
[Gen8 Android Development] sibere:
@$aur0n

Have you patched something in the kernel regarding the battery meter or is it something "new" with the latest firmware?

I'm asking because the battery meter drops immediately and quickly after unplugging the charger. And on top of that, I recently booted back to stock. On stock, battery was reporting 100%. I had, just before rebooting, 94% with Uruk. I immediately rebooted to uruk to compare and I was having 94% again. Rebooted to stock again and ... 100% !

How come?
[Gen8 Android Development] $aur0n:
This is something not in kernel but powerd and/or android framework - since this parts are from 2.3.81 - they have changed between 1.0 and 1.5.
[Gen8 Android Development] sibere:
I was suspecting something like this.

Well, I personally prefer the previous version ;)

Maybe it's a good idea to wipe-out batt stats to reflect the changes.

Thanks for the quick reply.
[Gen8 Android Development] $aur0n:
Thank you for your initiative, I really appreciate it.

But I've already (before release of 1.0 ;) ) had some beer money from you and It's all I could ever expect.
[Gen8 Android Development] alex2308:
I'd donate for a bottle of Grasovka (Żubrówka) :)
[Gen8 Android Development] LeoNg628:
I've upgraded to 1.5 from 1.5b2 and applied the OC patch.

but everytime I open market and download somethings (more than 3), the market will FC and reboot...

also when I open wifi, my device seems very laggy...then reboot..

I think wifi still is the bootkiller...
[Gen8 Android Development] LeoNg628:
Hi $aur0n,

2.4.19 has been released....

http://forum.archosfans.com/viewtopic.php?f=63&t=55783

Cheers!

Leo
[Gen8 Android Development] $aur0n:
Yep I know... but until there will be new kernel source (I think this GLX performance stuff is in kernel) there is no much to do ;)

ps. I'm gathering bugs in 1.5 - here is fast update with fixes (Changelog)

http://sauron.pourix.com/UrukDroid/UrukDroid-1.5/UrukDroid-1.5.1-update.tbz2
[Gen8 Android Development] $aur0n:
sibere - where is the thread about creating "smaller" buttons in framework-res? Obviously just resizing image does not work (I started to like the idea with button savior - but drop down menu buttons (if small enough) would be ok also..)
[Gen8 Android Development] JasonOT:
So this is still happening with UD 1.5 (15.08.2011).

If it sits unplugged for a long period of time, I will lose the connection to my router. Wifi is shown as still being turned on, but I get a connection error with every attempt to connect. If I turn wifi off and try to turn it back on, it cannot turn on.

Any ideas?
[Gen8 Android Development] JasonOT:
How hard would it be to move the buttons & shade to the bottom?

I know someone started doing it for the Nook release of CM7, but AFAIK it's been abandoned.
[Gen8 Android Development] $aur0n:
It NEVER happend to me (and I hibernate Archos all the time). The only WiFi issue I know (in 1.5) is that it sometimes fails to start, reboot fix it (I can't debug it without usb :/ ).
[Gen8 Android Development] sibere:
What's the f*** I can't find the thread any more. All I have is this thread

I'll have a look again at the other threads and edit this post if I find it.
[Gen8 Android Development] $aur0n:
That's ok - I already found it (I guess) - and working on file..

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

edit: Ok its working - so I'll prepare Uruk package with small buttons :)
[Gen8 Android Development] sibere:
Yes just found it too.

All credits to Fisha21 for his thread where I got the framework. He has posted a few different ones, maybe you could PM him.
[Gen8 Android Development] jakkrith:
Finish upgrade to 1.5.1 (19.08.2011)

- CpuGovernor Enable running

- Swap Enabled running

- Cifs Enabled running

Hope to see 1.5.1 + OC Kernel coming soon. :D
[Gen8 Android Development] parkland:
1 have copid the 1.51 version into /data/urukupdate folder, but it shown Urukdroid

modification faild
[Gen8 Android Development] $aur0n:
Check /var/lib/urukdroid/fail.log
[Gen8 Android Development] $aur0n:
Kernel is binary compatible, just initrd is modified. Package for 1.5.1 is on pourix now.
[Gen8 Android Development] $aur0n:
And here is package: "small top buttons - 30px"

UrukDroid-1.5-30pxButtons.tbz2
[Gen8 Android Development] lordofazeroth:
The installation of UD OC kernel:

Do I have to do it via Urukupdate or with Volume Down and start button?
[Gen8 Android Development] FrEcP:
as u propably have the UD-Packed kernel of saurons post:

tbz2 -> /data/UrukUpdate

just if u got the initramfs + rootfs as single files go for reboot -> voldown -> rescuemenu
[Gen8 Android Development] jakkrith:
$aur0n : Thank you very much for 1.5.1-OC Kernel. I had donated €20.00 EUR for your hard work already. :D
[Gen8 Android Development] Poussun:
I have a stupid question... but how could I upgrade the Urukconfig 1.1.2 pkg ?

Update : I found the answer by myself... uninstall old version, install new version :)
[Gen8 Android Development] $aur0n:
Thanks pal! It goes for mead :D
[Gen8 Android Development] LeoNg628:
[CHANGE] Swap now can use both file and partition at the same time, added simple stats, added default Archos swap partition

[CHANGE] Disabled Archos swap manager (forgot in 1.5)

[NEW] Fix for remounting to RW mode rootfs (sometimes it happens it starts in RO)

[CHANGE] When there exists mmcblk0p3 swap partition - it's used by default

NICE!:rolleyes::rolleyes:
[Gen8 Android Development] LeoNg628:
anyone will enable Compcache and SWAP after upgrade to 1.5?
[Gen8 Android Development] blawoef:
Hi $auron.... I don't want to be boring but... I still have the cpu max freq issue.

After reboot max is 1000000 in 1.5.1 oc kernel. File /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq contains 1000000 even though cpugovernor in uruk.conf contains override for 1100000... only ok after manual restart of cpugovernor in terminal and sometimes seems to revert afterwards...
[Gen8 Android Development] jakkrith:
On my device UrukDRoid-1.5.1-OC Kernel

CompCache Enabled running

CpuGovernor Enabled running

Swap Enable running
[Gen8 Android Development] Poussun:
> Originally Posted by LeoNg628 View Post

> anyone will enable Compcache and SWAP after upgrade to 1.5?

Installed yesterday, and it works fine

CompCache Enabled

CpuGovernor Enabled

Swap Enabled
[Gen8 Android Development] LeoNg628:
me2, but I am still not understand the CPUGovernor "interactive" means...?

I've set the CPU from 600MHz to 1200MHz via SetCPU.
[Gen8 Android Development] blawoef:
looking for something reproducable: found

- look in terminal cpugovernor stats: max at 1000000

- stop and start again

- max at 1100000

- run youtube

- look in terminal cpugovernor stats: max at 1000000!

this is reproducable: i make sure to kill youtube properly and run from scratch not background
[Gen8 Android Development] waterpolo:
install OC kernel

I installed the 1.5.1 OC kernel successful.

After reboot the device stays in the bootwindow with 'Switching to rootfs'.

I tried a few times with hardreset, but it doesn't go further.

What did I wrong?
[Gen8 Android Development] $aur0n:
This is Archos youtube or market one?

Probably nothing - read WiKi
[Gen8 Android Development] blawoef:
Would have to be market: it's linked to marlet and I updated it for sure. It's v. 2.2.16.

But I think this is just one clue, i noticed the behaviour also at times when i did not at all use youtube. Like you said before, there's something in the system interfering with proper functioning of ud cpugovernor.
[Gen8 Android Development] sibere:
Got the same result with quickpic.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] blawoef:
oooouuuf, glad it's not just me! ;) (or my setup/apps)
[Gen8 Android Development] sibere:
I still don't understand the "running" status when it's supposed to be run only once at boot...

anyway, finally removed the exec permission to the script and the bugger is gone for the moment.

Sent from my A70S using the XDA mobile application powered by Tapatalk