yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] scholbert:
Just to report my observations, concerning the battery level on my A101:

Few weeks ago, i also realized the different values in stock and uruk and reported it here.

Guess what... after several cycles of charging my battery with the wall charger it has gone, without any re-calibration.

Now my levels are now almost identical in stock and uruk. So it seems the battery statistic's are getting better over the time...

The only thing still remarkable is, that the level seems to drop more quickly using uruk, but to be honest this is not a real problem for me.

Anyway, would be interesting to do some more research on this.

Regards,

scholbert
[Gen8 Android Development] FrEcP:
^^ just what i thought about - if its just dropping faster in begin - but over all usage time is the same - its just cosmetic - but if the usage time is affected we should look into it.

Anyway its hard to tell it usage time is affected as u got MANY differences between UD and Stock FW -> OC (if used), Services,... which will lead to different usage time for sure as each runnign service is affecting the CPU useage -> battery life...

So either we can try to configure both the same and just measure the time:

best would be having a clean install of both - make the display permanent on and measure the time for 100 to 0 without doing anything.

or

we could try to measure voltage values and % for both systems and build our own tables to compare -> this would be more easy as it's not affected by usage and we could use the device normal meanwhile...

(im not sure - but there may be battery tools out in the maked which can do this...)
[Gen8 Android Development] blawoef:
WOW dude, $auron, just WOW. So I went and installed 1.6 rc2. Best ever. Smoother and faster than ever and stable.

Congrats and thanks. Can it get any better?? ...maybe 1.6 final...
[Gen8 Android Development] realityr:
I so agree with you!! So clean and fast. Great work.
[Gen8 Android Development] FrEcP:
@sauron

hi, i recently fu**ed up my system so i had to reinstall UD - therefor i used the reinstall option you provide while UD setup.

At begin allseemed to be fine...

But now i had to notice that some apps are misssing (e.g. UrukConfig, Superuser)

Even a second reinstallation didn'z fix it - seems there is a bug in the reinstall option somehow...

any way to fix this?
[Gen8 Android Development] realityr:
UrukDroid-1.6RC2-update:

UrukDroid-1.6RC2-update:

The following are things i have notice after a clean install.

-Blank screen after standby.

-Battery is dropping faster than 1.5

- Only content from IMDB ( trailers) loading slower than before. It seems to hang for about 20-30 seconds on reliable internet connection.

I will post more but other than that it is very solid and fast. Great Work.!
[Gen8 Android Development] $aur0n:
Well it's kind of impossible to miss Superuser - it's on /system partition. Reinstall shouldn't also touch /data partition (where UrukConfig is) - so all what you write should not happen - are you sure you had those apps (UrukConfig) before reinstall?
[Gen8 Android Development] blawoef:
One glitch to report one 1.6rc2: I do experience quite often the sort of short reboot, where grafical shell disappears and you get ud boot screen but only the part with quick animation and then the launcher loads up again.
[Gen8 Android Development] FrEcP:
Yes i had a fully wokring system with su up and running (cifs, fileexplorer with root, titanium backup,...) and urukconfig was installed also - should be installed anyway with 1.5, 1.6RC2?

Thats why I was wondering what went wrong and reinstalled a second time...

Data partition seems untouched as is should be - all former apps are there with its configs... so data partition seems to be fine.

Just those are gone somehow. Titanium, Terminal, and Filemanager fail cause of missing root. Cifs can't start up also (using: cifs manager) - not sure if it's affected by missing root or missing service startup after resinstall...

really strange - well I can fix this with fresh install ofc (i hope it would work ;) ) - just wondering what affects this "bug"...
[Gen8 Android Development] SWFlyerUK:
I've got market problems, some things aren't dowloading and getting errors like "package invalid" ir "error -0"

It works fine on stock Android.
[Gen8 Android Development] blawoef:
Well, I've got my own Market problems... but I am reluctant to blame it on UD (have not tried to boot into stock, update Market to latest v and see if that gives the same problem).

I am missing all My Apps in the Market. It's empty. Nothing helps. Titanium Backup Market Doctor, complete removal and reinstall of Market, delete cache & data, also of Google Services Framework......

It started about two weeks ago still on UD 1.5. Now still the same on upgraded UD 1.6 rc2. Very anoying. Have to use AppBrain now to easily update my apps; no automatic updates occur anymore. Sucky!!!

The strange thing is that the Market DOES still have the apps linked to them, because if I manually search for one I have, it says Installed, I can update it, and the Automatic Update box is ticked.

Any ideas??
[Gen8 Android Development] fzelle:
Yes, it seems to be a common problem not connected to archos.

There are alot of discussions about that on Milestone/Droid forums.

One guy said that it was connected to a "blackmarket" app.

But it seems that google has done something with their market.

If you go into software and remove the marketupdates, you will see your programs again, until you update the market again.
[Gen8 Android Development] blawoef:
Darn, that was my own guess too: if you look in the web market, there's no device linked to your account, because of course the Archos's are not officially supported.

Bad move of Google, really sucks. Uninstalling Market updates is an option, but it auto updates... so you would presumably have to delete/disable MarketUpdater Service? What would you loose? Afaik the Market Updates have not added significant functionality, just a lot of nice looks to the Market...
[Gen8 Android Development] $aur0n:
Hi,

1.6RC3 to download and test

- updated kernel source with latest Archos git repo

- updated binaries to Archos 2.4.80

- added by default overclock module

- updated re-sized top bar

Please do backup first (UrukRescue) and install update (it will reboot device, if some service brakes during update - just wait until restart). It will start SetupWizzard on first run, and you need to setup google account again.

http://sauron.pourix.com/UrukDroid/UrukDroid-1.6/UrukDroid-1.6RC3-update.tbz2

This update is applicable to any 1.5+ release.
[Gen8 Android Development] ben.cordy:
Just installed. No Frills Cpu Control is still only showing the max as 1.0ghz. With the oc kernel which you've now included shouldn't that be different?
[Gen8 Android Development] fzelle:
@ben.cordy:

No, as YOU have to set the max Frequenz and vsel.

@$auron:

which address to use for the overclock commandline?

is it still 0xc005c358?
[Gen8 Android Development] ben.cordy:
Sorry little new to the Archos modding. (most of my experience is with HTC devices.) Whats the best way to set the max freq. and vsel? I noticed the app Milestone Overclock. Does this app set those values or is it best to do manually via terminal? Any guides to help me understand better.
[Gen8 Android Development] fzelle:
MS Overclock only uses its own module, so that is out of the way.

But you can use the commandline, they are using on the wiki.

But if you are that unexperienced, you should wait until this is really used and

maybee has found its way into UrukConfig.

You should see that it's the first time that this module has found its way into urukdroid.
[Gen8 Android Development] $aur0n:
Last time I used this address. You know you can check this out?

[root@urukdroid root]# grep omap2_clk_init_cpufreq_table /proc/kallsyms | grep -v overclock
c005c358 T omap2_clk_init_cpufreq_table

I'll add this stuff to cpugovernor service.

Btw. Could you post your working settings? (vsel, freq and model)
[Gen8 Android Development] blawoef:
Great stuff $auron! Will test this tonight.

Given that this is newest GIT and binaries from Archos... is this still 1.6 or in fact more like 1.6.5 moving towards 1.7?? :D
[Gen8 Android Development] $aur0n:
Small tut. how to use overclock

Ok,

Due to man requests - fast tut how to test overclock module. It will be easier in future - just I'm testing it now either.

If you have 1.6RC3 do like this... (i'll fix it in RC4).

Rename module name (just to get rid of future misunderstandings)

su -
cd /lib/modules/2.6.29-omap1/misc/
mv overclock_archos_gen8.ko overclock.ko

Create modprobe config

cd /etc/modprobe.d/
echo "options overclock omap2_clk_init_cpufreq_table_addr=0xc005c358 cpufreq_stats_update_addr=0xc02ace48">overclock.conf
depmod -a

It's a good time (just to be sure) to reboot device now...

Now in terminal test module.

su -
modprobe overclock
dmesg | tail -4

This will load module and check dmesg for output, and it should like this (values may differ).

If this is ok, now is the procedure (that you will probably repeat many times ;-) - if you give wrong values, device will freeze/reboot) to check your CPU voltage/freq.

Idea is to find lowest cpu voltage when it's stable with highest freq.

So reboot once again...

and try

modprobe overclock
echo 72 >/proc/overclock/max_vsel
echo 1100000 >/proc/overclock/max_rate

You have to set power and max frequency (later you can change entire freq. table) Now you can set in /proc/overclock vsell and rate - like in this manual, http://code.google.com/p/milestone-overclock/wiki/KernelModule

To check results - you can use Uruk service stats
[Gen8 Android Development] fzelle:
echo 0xc04b8064 > /proc/overclock/mpu_opps_addr

echo 64 > /proc/overclock/max_vsel

echo 1100000 > /proc/overclock/max_rate

Are working here.

@sibere:

Do you remember the vsels and clockspeeds you have used for that ocuv kernel you made before it was joined into the UD kernel, as that was running good on my maschine.

I would like to try the settings with this module
[Gen8 Android Development] $aur0n:
It would be good to start another topic for overclocking (with values that works, perhaps scores) - anyone willing to gather this data?

With this it will be easier for people to setup their values...
[Gen8 Android Development] jackson0829:
I got trouble after update from UrukDroid-1.6RC2 to 1.6RC3: all the video could not play (including Youtube/video 2.2.1....) ?? anything wrong during my update???
[Gen8 Android Development] todobarato:
Hello $aur0n,

I have upgraded to RC3, the tether is half broken, the issue is that some programs don’t recognize that is one networks connection other works ok, I cannot register my Google account, but I can surf on internet using Dolphin. This issue is present on the last 2 firmware’s.

The question is, can be removed the broken tether without loose the good thinks ( like Skype and camera working) from the last firmware’s?

I have installed the RC1 to revert the upgrade, the tether now works again, but I get one UsbKeyManager has stopped ? I need this?

Best regards.

Ferenc.
[Gen8 Android Development] $aur0n:
I've posted RC4 - the only change is new CPUGovernor that can handle overclock module. So if it's not something that interest you - there is no need to update, wait for final 1.6.

Configuration is here: /etc/uruk.conf/cpugovernor

You can enable it, above overclock settings are quite safe - but it may still not work.

[root@urukdroid root]# cd /etc/uruk.d/
[root@urukdroid uruk.d]# ./cpugovernor start
Uruk-CPUGovernor: Enabling interactive CPU governor...Done
Uruk-CPUGovernor: Enabling overclock module...Done
Overclock: Setting max_vsel to 65...Done
Overclock: Setting max_rate to 1100000 hz...Done
[root@urukdroid uruk.d]# ./cpugovernor stats
Uruk-CPUGovernor statistics:
Current governor: interactive
Overclock module: Enabled
Current max vsel: 65
Current max rate: 1100000
CPU Max: 1100000
CPU Min: 300000
Available frequencies: 1100000 800000 600000 300000
CPU statistics (tick spend in every frequency range):
1.1 GHz had 15249 ticks (8.54%)
800 MHz had 653 ticks (0.37%)
600 MHz had 45889 ticks (25.70%)
300 MHz had 116800 ticks (65.40%)

Like you can see, cpugovernor stats are now also much nicer and with new informations.
[Gen8 Android Development] deliverywong:
Test the ud1.6rc4, the overclock works fine at my 101, thanks aur0n as previous oc did not work at my 101
[Gen8 Android Development] fzelle:
After an evening of testing i have to say that the overclocking, even on 1100000/65 is not stable.
[Gen8 Android Development] $aur0n:
So give it more juice :)
[Gen8 Android Development] fzelle:
I know, i just meant that you should put a higher default in there.

My tablet froose after some time, so i was lucky to be able to switch this off.

But what if someone is more unlucky and can't get there before the tablet freezes?

Maybe a submenu in the recovery for tweeks?
[Gen8 Android Development] $aur0n:
Nobody tells you to make it bootable - you may just start it manually for testing. I'll add some volts to default settings anyway.

edit:

I've changed also a bit settings so now you can just turn overclock module on startup without overclocking...
[Gen8 Android Development] deliverywong:
Yes, 1100000/65 is not stable, app drawer fc. So, set it at 1050000/65, it's fine on my device.
[Gen8 Android Development] $aur0n:
On my device 1,1GHz with 65 it's stable. But best way is to set max voltage and go down until it's not stable. I just haven't check what is max voltage for our's board/cpu - anyone knows (read tx manuals?).
[Gen8 Android Development] deliverywong:
Tried 1100000/65,70,75...all setting not stable at my device, app drawer fc, game like "My country" cannot play. I can only admit my device can't go to 1100000.....I am still happy at 1050000/60 which is stable.:D
[Gen8 Android Development] vantoman:
my device is very stable at 1100000/60 been using it all day long with no problems at all
[Gen8 Android Development] blawoef:
Uuuh is 60 a higher voltage than 70?

Is higher number lower voltage or the other way around?
[Gen8 Android Development] $aur0n:
Higher vsel = higher voltage.

To calculate voltage:

max_vsel*12,5 + 600 = real mV

Default value for 1Ghz is 60 (1,35V).

ps. I would still appreciate someone took care of gathering those values from people to create good start for the others :)
[Gen8 Android Development] ajcurtis84:
howto modify USB configuration

Hello,

I need to modify the default USB operation so it comes up as a network device (usb0) with a static configuration. (not tether_usb)

Android wants to make this either a storage or USB debug device via g_android.ko.

I have been able to hack something together which accomplishes this by modifying 'adb' service startup and shutdown, any init based service would have worked, and some custom scripts.

Any help on a clean implementation would be appreciated.

Allen
[Gen8 Android Development] ajcurtis84:
install process flow?

Hello,

Can someone provide an overview of the install process? When I look through the 1.5 and 1.5.1 installation files, initramfs.cpio.gz appears in many archives and it also appears in the /root directory at times.

The basic goal is to understand the flow to better understand how to create custom install, upgrade and update packages.

TIA

---------- Post added at 03:10 PM ---------- Previous post was at 02:22 PM ----------

Hello,

how do you create this file? I can not find it anywhere on this thread.

TIA
[Gen8 Android Development] jakkrith:
Hello $aur0n

Thank you very much for 1.6RC3 I will try it in some day.

At this time I'm very happy with 1.6RC2 because it can install apps from Android Market. (I had found this problem in 1.6RC1 - Android Market said You have no device, I don't know why?)

Best Regard.
[Gen8 Android Development] fzelle:
This was not connected to ud.

Alot of people even with stock milestones and other devices had that problem.
[Gen8 Android Development] blawoef:
...since it's so quiet here, I went ahead and updated my RC2 to RC4. Went quite smootly!

Now experimenting with overclocking. A70 v6 board, 1100mhz was not entirely stable at vsel 65; now trying at 67 which seems ok, but it might need 70 in the end.

Some other questions: I am having trouble in understanding if and how best to use Compcache and/or Swap.

I see that the default config of UD not is CompCache AND Swap on. But I see no benefit. The memory never seems to be used (also it feels slower).

Even if I use CompCache 64Mb with swapiness at 80, if I check stats there is never more uses than about 32mb. But Android does go ahead and close programs in the mean time. Stuff does not keep running if I go to another program, it has to be restarted if I switch back.

So why does the system not use all 'RAM' available to it? Should swapiness be increased even more?
[Gen8 Android Development] toxicstone:
Didnt work for me, it installed but nothigs changed
[Gen8 Android Development] sibere:
Wooow you're digging out very old posts!

What do you mean by "nothing change" ?
[Gen8 Android Development] jakkrith:
Thank you very much for RC4 and Overclock module. It's work fine on my A101 :D
[Gen8 Android Development] lohtse:
am using 1.6rc4 on my archos 32(8gig) but wondered if its possible to over clock it so can help here and what other mods may be worth while trying out too...

Can and will post results here for others to see and try
[Gen8 Android Development] razou:
Thank you $aur0n for the Urukdroid release,i just upgraded to 1.6rc4 from 1.5 seems quiet speedy and less buggy!, i only still hade force close when each time i try 3g modem tethering under wireless setting....and google market wont install!

any fix?
[Gen8 Android Development] blawoef:
I actually can't get it stable. Even 1.05 ghz at vsel 70... under previous v of ud with sibere's oc kernel it went better...
[Gen8 Android Development] lohtse:
wheres the overclock mod for 1.6rc4???? where do i put it on the archos??? and how do I use it?
[Gen8 Android Development] deliverywong:
go to check p.223 at this thread and test it.
[Gen8 Android Development] razou:
i instaled urukdroid 1.5 on internal strage, working fine, but my external SDcard not recognized ever! i updated to 1.6rc3 the problem persist!!

any help?
[Gen8 Android Development] scholbert:
Hi,

i don't like double post... so i refer to my own post over here:

http://xdaforums.com/showpost.php?p=20119058&postcount=727

The question here in developer's section is:

Why had the busybox been downgraded in the latest 1.6 RC's?

Makes no sense to me...

I put the version from 1.5 back in, and got no trouble so far.

Regards,

scholbert
[Gen8 Android Development] $aur0n:
I've just missed that - it's not intentional - thx.
[Gen8 Android Development] scholbert:
No problem... we're here to report ;)

I appreciate your work!

scholbert
[Gen8 Android Development] $aur0n:
UrukDroid 1.6RC5

Hi,

Next RC - RC5, hopefully final ;)

Like always, please do backup first.

Changes:

- overclock fixes

- Archos 2.4.81 firmware updates

- update scripts now moves /system/app/ to /system/app.old if there are any

- restored proper busybox binary

http://sauron.pourix.com/UrukDroid/UrukDroid-1.6/UrukDroid-1.6RC5-update.tbz2

I've also wrote small overclock manual here: http://code.google.com/p/urukdroid/wiki/UrukService_cpugovernor
[Gen8 Android Development] rplc790222:
That´s great $auron I was waiting for a new release that fixes the overclock failures, thanks
[Gen8 Android Development] arie_i:
Arcos 70it

Thanks for the new update.

however, overclocking as per your instructions does not seem to work.

It did work with RC4.
[Gen8 Android Development] $aur0n:
What does not work? What is the output of cpugovernor stats?
[Gen8 Android Development] arie_i:
If I understand you correctly:

current governor - empty

overclock module - same
[Gen8 Android Development] mike_85_ripper:
I'm getting

#/etc/uruk.d/cpugovernor stats

Uruk-CPUGovernor statistics:

Current governor: interactive

Overclock module: Enabled

Current max vsel: 66

Current max rate: 1000000

CPU Max: 1000000

CPU Min: 300000

Available frequencies: 1000000 800000 600000 300000

CPU statistics (tick spend in every frequency range):

1000 MHz had 13191 ticks (35.30%)

800 MHz had 2892 ticks (7.74%)

600 MHz had 10222 ticks (27.35%)

300 MHz had 11071 ticks (29.62%)

even when max_rate is set to 1100000
[Gen8 Android Development] jandre:
Now, with 1.6RC5 and frec 11000 and vsel 68 is stable.

I've tried before with 1.6RC4, frec 11000 and vsel 65,66,67 and not full stable.

Thanks.
[Gen8 Android Development] $aur0n:
And what is your /etc/uruk.conf/cpugovernor ?
[Gen8 Android Development] mike_85_ripper:
# Part of Uruk-Droid Android configuration system

#

# ver. 1.3 (30.11.2011) Adrian (Sauron) Siemieniak

#

# 1 to enable this service

# 0 to disable this service

service_enabled=1

# Governor you want to use

# Available governors in kernel are: interactive, ondemand

cpu_governor="interactive"

#cpu_governor="ondemand"

#cpu_governor="performance"

# Overclock

# 0 = disabled, 1 = enabled

enable_overclock=1

# Overclock settings

#max_vsel=68

#max_rate=1100000

# You can also use some additional governors if you uncomment this

cpu_governor_modules="cpufreq_powersave cpufreq_conservative cpufreq_userspace"

# Governor used by default (when you stop service)

cpu_governor_default="ondemand"

# Service will read min/max values from system, if you want to overwrite it - put frequencies here

cpu_freq_max=""

cpu_freq_min=""

cpu_governor_file="/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"

cpu_frequencies="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies"

cpu_set_freq_max="/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"

cpu_set_freq_min="/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"

cpu_freq_stats="/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state"
[Gen8 Android Development] $aur0n:
You have to uncomment this

# Overclock settings
#max_vsel=68
#max_rate=1100000

To actually use overclocking on boot (not by hand). This is all in manual...
[Gen8 Android Development] fzelle:
After updating to RC5, now settings is missing completely.

Can't switch on bluetooth or anything.

Also you erased the orginal filemanager.
[Gen8 Android Development] $aur0n:
It's not erased - it's in /system/app.old - if you had it already there...

"oryginal" filemanager is a crap anyway ;)

And bt is ok on my device - check for some information in /data/test/logcat.log
[Gen8 Android Development] deliverywong:
I have the same issue....I don't know how to get the overclock work on boot..

I tried to follow your instruction to use echo > 68 /proc/overclock/max_vsel and 1100000....then nothing change...try to reboot my 101...no change too....:(
[Gen8 Android Development] blawoef:
Some strange stuff here in rc5...

$ # # # Uruk-CPUGovernor statistics:
Current governor: interactive
Overclock module: Enabled
Current max vsel: 65
Current max rate: 10500000
CPU Max: 10500000
CPU Min: 300000
Available frequencies: 10500000 800000 600000 300000
CPU statistics (tick spend in every frequency range):
10.5 GHz had 1997 ticks (7.49%)
800 MHz had 67 ticks (0.25%)
600 MHz had 24595 ticks (92.27%)
300 MHz had 0 ticks (0.00%)

While playing angry birds... other stuff too...

Why does the govern not use full speed??

I do have very low battery, is that taken into account??
[Gen8 Android Development] jackson0829:
Hello,$aur0n:

I have updated the 1.6RC5 in A101 and everything seems no problem except could not

force backup by UrukConfig 1.1.2 option "Reboot to rescue menu" and even I backup from "UrukDroid RescueMenu" of initial boot process still got abnormal data in UrukDroid backup forders ??? I do not know whether it is my personal issue or anybody else got same issue as me??

P.S: My previous 1.6RC4 have no problem as above UrukDroid backup process!
[Gen8 Android Development] arie_i:
Is it safe to use 1.6rc5 with 1.6b1 kernelocuv?

It works fine for me
[Gen8 Android Development] $aur0n:
Safe = no ;) , but it should work
[Gen8 Android Development] $aur0n:
What are "abnormal data" in backup folder?