yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] SWFlyerUK:
Already reported but HDMI out is not working on my A70, nothing happens and just reverts to the home screen.
[Gen8 Android Development] jakkrith:
$aur0n, Thank you very much for UD 1.6 RC2. I need to test it on my A101 but could not found link to download please suggest me.:p
[Gen8 Android Development] simarilon:
You can download it from here:

http://sauron.pourix.com/UrukDroid/UrukDroid-1.6/

Have fun :-)
[Gen8 Android Development] jakkrith:
Thank you very much. :D
[Gen8 Android Development] scholbert:
Question about your cross environment...

Hi $auron,

i started a thread about simple environment to build custom kernels:

http://xdaforums.com/showpost.php?p=19134490&postcount=8

The reason is quite simple:

I'd like to add some special drivers for e.g. USB peripherals and generate some kernel modules without using the bloated buildroot environment.

I extracted the config for 1.5.1 kernel using the configs.ko module and rebuilt the kernel based on your source package.

Everything is fine, but my kernel and modules are a little smaller in size.

Anyway the modules load fine and there'd been no problems so far.

How do you exactely compiled these kernels?

I guess you used the buildroot stuff.

I also realized, that the stock modules are even smaller in size.

Do you know anything about the optimization they used?

In the meantime i contacted the author of the GPL'ed part of HDMI.

He told me to contact Archos and tell them to release these sources as well.

I have not found the time yet... but i got a direct contact and will write some lines soon.

Maybe this will led to an even more GPL'ed kernel source...

EDIT:

Just another little question...

Do you have an idea how to add eth0 interface (if exists) to make use of dhcp?

The background is, to use a USB2LAN dongle on A101.

Thanks again for your great work!

Regards,

scholbert
[Gen8 Android Development] fzelle:
You realised that usb2lan is allready in the last Archos FW?

Is there any compilespeed advancement?
[Gen8 Android Development] $aur0n:
Hi,

I don't use buildroot for kernel - just crosscompiler for ARM architecture and standard make - that's it.

There is a line in init.rc with dhcpdc -D (as I recall) where you specify on witch interface it should look for data, there is wlan0 only so far - you could probably add some more devices.

I haven't check milestone overclock module yet.
[Gen8 Android Development] Kashban:
Link?

Somehow the link to RC2 vanished from this thread. Where can I download it?

EDIT: Nevermind, as usual found it right after posting...
[Gen8 Android Development] scholbert:
Ah i see :)

Would you mind telling me which one?

... or did you compile your own?

After looking into the buildroot setup, i saw that the one i built up for external use is tuned up by to optimize code for ARM-V7 and stuff.

This might explain the slightly smaller footprints of the binaries.

O.k. found it... thanks for the hint!!!

AFAIK at this position in the init process, dhcpcd could be called only once supporting one interface... the evironment will need some tweaks i guess.

EDIT: Wrong... after looking into the latest init.rc the interface option (tiwlan0) has been left out.

I guess dhcpcd will send/listen on any interface this way (multiple devices).

I wonder if the dhcp service could be used more like in standard linux systems. Will have a look at it :D

Thanks!!

scholbert
[Gen8 Android Development] jakkrith:
@ scholbert Good idea for USB2LAN dongle on A101. :)

@ $auron I've been testing RC2 two days. This kernel works fine and stable. Not found any problem at this time.
[Gen8 Android Development] fzelle:
Again, USB2LAN is allready in the last FW for 101.
[Gen8 Android Development] jakkrith:
Do you mean USB2LAN is already in FW 2.4.80 right. ?
[Gen8 Android Development] rapunzel11:
Can I directly update from 1.5.1 to 1.6 RC2
[Gen8 Android Development] fzelle:
@jakkrith:

No in 2.4.65, and that is what RC2 is based on.

@$auron:

Sorry to disturb, but there is an new FW 2.4.80
[Gen8 Android Development] sibere:
2.4.80 mainly updates the A35 apparently.
[Gen8 Android Development] scholbert:
Hey fzelle!

Thanks for pointing out again.

So in fact there's everything ready to go on 2.4.65...

Is there an extra menu in stettings if you plug in an USB2LAN adaptor?

Guess i'll have a look at the filesystem :rolleyes:

Does USB2LAN already work in RC2?

Anyway, i would be interested in a general mechanism to load some drivers and start some scripts after a device has been adapted to USB.

Something like udev does in real linux.

I know there's this DVB-T subsystem which is based on scripts and could be a starting point for a more general purpose device handler (or whatever you may call it).

Keep on hacking!

scholbert
[Gen8 Android Development] fzelle:
@scholbert:

Mmmhhh, you are trying so hard to get Linux things to Android that where left out by decission not accident.

Why don't you try to use a real Linux like Bodhi, where all the things are allready there?

And i think Jeff could need a hand in that stuff.

That way we would have that Arm Linux alot faster.
[Gen8 Android Development] scholbert:
I don't want to reinvent the wheel ;)

I know about the decisions for the Android platfrom, but some parts of the linux subsystem are simply pretty cool.

It was not my decision to kick the good stuff out.

It is also a fact, that in the best custom ROM's the developers put things in again (e.g. init.d).

On the other hand Android offers a great infrastructure concerning apps,

by using a true ARM linux i'm back with package managers and dependencies.

I must admit that Bodhi is a real nice project :rolleyes:

Anyway, basically you hit the point... but apart from hacking and tweaking, i also like to simply use the device... and that's where Android scores.

Back on track:

Is there some settings menu for eth0?

Regards,

scholbert
[Gen8 Android Development] $aur0n:
Milestone overclock module

Hi,

I've compiled and modified a bit, milestone overclock module, please test it and let me know how functional it is (I've only tested that it's working for frequency changes) - If it's all right, I'll add it to 1.6 release.

http://sauron.pourix.com/UrukDroid/UrukDroid-1.6/overclock_archos_gen8.ko
[Gen8 Android Development] cajl:
ok

i use the 0.42 and i wait your BIG OK
[Gen8 Android Development] sublimejosh2000:
Oh OK we are confused at one another.

I have a 101 - 16G model

I have the mmcblk1p1 re-partitioned to

mmcblk1p1 - Vfat 14.5G in vfold mounted as the /sdcard

mmcblk1p2 - EXT4 500M mounted as /

mmcblk1p3 - EXT4 1G Mounted as /data

This is the internal method. I simply copied everything verbatim from the external method you describe to these re-formatted internal partitions and use the other initramFS that mounts these partitions instead of BLK2 ones you use. This is the best way for the end user because I can run my 101 with NO sd card in it and its fine... so I can take the SDcard out and put it in to a card reader without reboot.

So what do i need to do? I have your file copied to the 500M partition inside / in the root.. I will not reboot until you are comfortable that we can make it work...
[Gen8 Android Development] $aur0n:
Heh I was not aware 101 has 16GB ;/ - cool :)

Ok - what initramfs do you have - do you see "corrupted" boot logo during init and later proper logo? (of old UrukDroid and 0.4 sign)?
[Gen8 Android Development] $aur0n:
And why you don't want to upgrade this one? :)
[Gen8 Android Development] sublimejosh2000:
Yes..

Currently I use the initramFS posted from the internal post... its modified to mount my partitions instead of yours.. I see the garbled screen, then the urukdroid logo them it boots into 0.4.1 fine as it is now...

EDIT: here is the link ( I use this initramFS and your kernel...)

http://xdaforums.com/attachment.php?attachmentid=497637&d=1295798292

Edit: I think a lot of people are going with this internal method, so we might want to include a way to upgrade for external vs. Internal... It runs smooth and getting nice transitions on the internal... most people are like it better. Although I understand why using external Sd is better for development...
[Gen8 Android Development] $aur0n:
Put my 0.5 update from this post.

I don't know what initramfs do you have - and how properly it's modified. If it was done correctly after reboot you should

be upgraded to 0.5. (you can check it by doing "cat /etc/urukdroid-version") - you will also have UrukConfig installed. Then you need to apply this update - you MUST do it before next reboot. It won't work if you reboot before this update.

To apply second update download it and drop in /data/UrukUpdate/ - you should be able to do it directly from browser on Archos. Wait until this file disappear from this folder - reboot.

I can't guarantee it will work - but should. I don't know how to recognize partition design on kernel-boot level - but for now I can maintain 2 separate releases for SD and internal boot.

If there will be some problem - best is to contact me on jabber (google talk will o) --erased-- (I’ll erase this part of message soon - to prevent spam).
[Gen8 Android Development] sublimejosh2000:
I will give it a go...

... be back soon with update...
[Gen8 Android Development] sublimejosh2000:
YUM! Loving the new LOGO! everything worked... Booting 0.5 off the internal did everything like you said... worked AWESOME.

Question.. could I use this initramFS and try to use other Kernels? like the OC kernel? and flash inside dev menu as usual or will that break it? I like the 1200 OC cause its like lightning... What differences are their in your Kernel that I should use yours instead, is it got modifications I should stick with it?
[Gen8 Android Development] $aur0n:
I'm afraid that since 0.5 it may not work - it may boot - but here may be some lacks (because of dvb, cpu governor from cynagen mod, ram cache).

Tzbob promised to give some OC patches - so I can put it in main tree of Uruk. But since week or so he is soooo quiet ;)

btw. Please remove my email/Jabber JIT from quote in previous post...
[Gen8 Android Development] sublimejosh2000:
Sounds Good.

That is fine, i will work with your Kernel until you get something better. I enable the Swap file, just to test it out. Also, I will remove SetCPU for now so your governer doesn't get messed with.

1 problem with initial boot though, My External SD card now shows "Unavailable" in the settings menu. maybe a little issue there... How can I fix this?

ALSO, the media scanner MOD you made how do I use it, I want to stop this stupid media scanner thing so bad....
[Gen8 Android Development] solune:
Hello,

RC 0.5 installed, everything works fine, update ok, running ok :)

I return to urukconfig dev ;)
[Gen8 Android Development] sublimejosh2000:
Awesome.. so hows about that 0.5.. Loving it so far...

Good to see you back
[Gen8 Android Development] $aur0n:
Be default in 0.5 compcache is enabled. 32MB (witch gives about 100MB of extra ram). You can of course ADD swap (it will work together) - but check if this is not enough for you. Or witch is better...

Is this card formatted? What layout? What is the output of "ls -l /etc/vold*"

It's enabled by default. It can't be turn off, since it won't scan changes - probably later in new UrukConfig there will be option to run mediascanner on demand only. Like for now I've decreased it's impact on system performance - it it's working is noticeable - but don't halt the system like before.
[Gen8 Android Development] sublimejosh2000:
Card is formatted like in your first post here.

3 partitions, 1st as vfat, I think I might need to edit the Vold file to mount my Sdcard right...

13.5G Mmcblk2p1

500M Mmcblk2p2

1G Mmcblk2p3

Output shows:

/etc/vold.A70H.fstab

/etc/vold.fstab --> /system/etc/vold.fstab-ext4

/etc/vold.fstab-ext4

/etc/vold.fstab-stok
[Gen8 Android Development] sublimejosh2000:
vold.fstab

I did a "vi /etc/vold.fstab"

and the "dev_mount_lun volume_sdcard....." line is commented out... could be the problem
[Gen8 Android Development] $aur0n:
Yes that's the problem - but it should be change automatically - that's why I asked about "ls -l /etc/vold*".

Give me a sec...

This is kind of strange - proper vold links should be done by mount_sdcard.sh - can you run it for me?

su
df -h
mount_sdcard.sh
df -h
[Gen8 Android Development] sublimejosh2000:
I already changed it in Vold file..

I already changed it and it now mounts correctly....

Will running this code still help you in Development?

I did run the code.. and it said "Device already mounted"

not sure what it would have said before I changed Vfold.stab

I can comment it back out and then run these commands..
[Gen8 Android Development] $aur0n:
You don't have to use busybox tools - by default (check $PATH) you use /usr/local/bin - where you have solid, gnu tools - with all proper switches.

Ok looks nice, I'll start to use it.

Few suggestions:

try to not add swapfile (haven't found it in code).

Dumb way would be exclude /swap01.file (default for Uruk).

Smarter would be read value swap_mem_file=/swap01.file in "/etc/uruk.conf/swap"

The best (that will also skip some possible other swaps) - use second method + check every file bigger than 20MB (it will be some log or swap on those partitions) if it's not a swap:

[root@localhost /]# file swap01.file
swap01.file: Linux/i386 swap file (new style), version 1 (4K pages), size 12799 pages, no label, UUID=3d6eb03b-280a-4e3a-91e7-8bfe0f40787a

It would probably be good to skip /data/dalvik-cache in backup.

If I understand right - script without any parameters should start doing backup?

[root@localhost tst]# ls -l uruksafe.sh
-rwxr--r-- 1 root root 4581 Jan 25 19:46 uruksafe.sh*
[root@localhost tst]# time ./uruksafe.sh

real	0m0.065s
user	0m0.016s
sys	0m0.016s
[root@localhost tst]#

If not - it should write something ;)

I would consider giving an option for gzip (witch is much faster, but with worst compresion) - but that is just bonus - I would probably use bzip2 anyway.

I would also be careful with -exclude in tar. You may miss some important files:

This is an example - with tmp - it missed data/tmp. Anyway - tmp would probably be something useless - but you give something like "data*" - and this is potentially bad thing.

Do you have any particular idea how to use this backup - on demand, some cron like action? Backup is a good idea - but we need some way to extract it - any suggestions here?
[Gen8 Android Development] $aur0n:
UrukDroid logo contest is here!
[Gen8 Android Development] sublimejosh2000:
APK install

$auron.. I have issu with 0.5

When I try loading APK program from Market...makes the System Soft-reboot, not an entire reboot, but prog doesn't get installed either..

Happens during the "Installing..." phase NOT the downloading phase if that helps..

JW

EDIT: For sh*ts and Giggles.. I tried the "Market Fix" and did a full reboot... I will update when i find out if that helped... (Doubt it cause I cannot install an APK with any medium... has same issue)

SIDE loading - SAME issue... soft-reboot

APPSLIB - SAME issue, cannot install.... a soft-reboot..
[Gen8 Android Development] vantoman:
Thanks $aur0n i guess it's working as my tablet is running now on 1200 MHz and 70 vsel , and it didn't work before at all using any of the overclocked kernels ..
[Gen8 Android Development] monstercheese:
Hello,

Happy user of Urukdroid 1.6 i remark a little difference between RC1 and RC2, flash video and games seems to be a little bit slower, did someone remark that ?
[Gen8 Android Development] fzelle:
@$auron:

Is it a replacement of the overclock.ko in darksuns dir?

Then it dosn't work for me.

Otherwise where to put it?
[Gen8 Android Development] $aur0n:
This is kernel module (I don't know what is "darksuns" dir) - drop it wherever you want (I'll put it in /lib/modules/2.6.29-omap1/kernel/misc). "insmod" it or "modprobe" (do before "depmod -a") and do as it says in milestone wiki.
[Gen8 Android Development] Piti8576:
I have load the module with “insmod“.

The Motorola App shows 1200mhz, but SetCpu only 1000mhz.

How can i check the real speed?
[Gen8 Android Development] fzelle:
darksun is the developer of that Milestone Overclock and he extracted the kernel module from the apk into /data/data/..darksun./lib and the apk for settings was then insmoding it and supplying with the "right" parameter.

OK so i will try using it by hand.
[Gen8 Android Development] deliverywong:
i tried to replace the overclock.ko at that directory, it doesn't work. the apk will generate a new overclock.ko when i load the modules at milestone overclock software.....:confused:
[Gen8 Android Development] scholbert:
USB2LAN anyone ?

Hi boys,

sorry for bothering you again.... again the USB2LAN issue...:rolleyes:

O.k. i had a look at the changelog of 2.4.65 again:

Sure it's mentioned, but that's the theory!

I extracted the firmware of 2.4.65 and had quick jump over the essential files.

Nothing about any hardware support like that.

No kernel modules for the mentioned chips.

EDIT:

Found it :o

The drivers are build into kernel, no modules here...

Archos stock kernel config:

...
CONFIG_USB_RTL8150=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_DM9601=y
CONFIG_USB_NET_SMSC95XX=y
...

As stated... 1.6RC2 is based on 2.4.65.

I installed 1.6RC2... worked flawlessly... very nice update.

Nothing about any network settings, no modules for these devices.

EDIT:

AFAIK the kernel configuration on 1.6RC2 remained the same.

We find the USB2LAN drivers configured as modules here:

...
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_DM9601=m
CONFIG_USB_NET_SMSC95XX=m
CONFIG_USB_NET_GL620A=m
CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_MCS7830=m
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
...

These modules are not included in the update file, but the kernel is configured with it.

To make USB2LAN work on 1.6RC2 i'll need to build my own kernel with the drivers included i guess.

@$aur0n:

On which main version is your kernel based on?

Would you release your patchset someday?

Regards,

scholbert
[Gen8 Android Development] $aur0n:
I must take a look at new Archos kernel commit - there are surprisingly a lot of changes... :)
[Gen8 Android Development] scholbert:
Yepp... hopefully there's even more to come :D

I've contacted Archos this week to release GPL'ed parts of the HDMI subset.

They assured to release it very soon :rolleyes:.

Let's see!

scholbert
[Gen8 Android Development] SWFlyerUK:
The overclock module is not updating with SetCPU which shows the Max freq still at 1ghz, ofcourse this is limiting it to a 1ghz, any ideas please?
[Gen8 Android Development] scholbert:
Uuups... have to quote myself ;)

Th HDMI part has already been pushed yesterday:

http://gitorious.org/archos/archos-gpl-gen8/trees/master/ext_modules

Thanks a lot Archos :D

Regards,

scholbert
[Gen8 Android Development] sibere:
battery %

I wanted to backup my /data partition today. To do so, I reboot with the stock firmware, plug the usb cable and mount the data partition onto my linux box and backup all datas with a safe tarball.

Just before rebooting, I checked the battery level (18%) and the voltage (3496mV).

After rebooting the stock FW, I now have a report of 38% (yes 38!!) for the same voltage.

how come?! Why are battery levels so different? An almost dead battery in Uruk , and twice the capacity in stock...

I have tried battery calibration etc... but it's always the same. I dunno what archos did with this bit of kernel/firware, but they f*cked-up big time.
[Gen8 Android Development] FrEcP:
@sibere

Well as someone already mentioned here the % is dervied from the Voltage therefor normaly the highest Voltage value is taken and while decharging the values are mesured -> for estimating % a line/curve is built so the % can be derived from... (this is what calibration normaly does- building the curve)

The problem is: a value for the 0% has to be SET as this is not a "defined" value like the maximum volatge of a battery.

The lowes value is actualy the point in wich the device can't work propper anymore... -> the 1st chip which can't handle a lower voltage.

This would be the point at wich the device just suddenly turns off without saving any data. As u want to avoid that in each device u have to set the 0% voltage value to some point above... so the device can turn off safely.

For estimating a percentage u now have to split the curve into intervals wich represent 1% steps from highest to lowest vlotage.

Then the % can be derived from this curve.

If u really want to figure it out u have to let your device run out of battery 2 times.

Once in UD and check out the lowest voltage

And once in Stock FW and do the same

But u also can try: 1. run out of battery in UD and 2. try it in Stock FW after.

Perhaps Stock FW still lets u run at this voltage-value as u had higher % there ;)

Then we can decide if it's another curve or a different minimum value...

(Btw I just checked it for my device; actualy i had nearly the same values 92

-> 91%Stock (after reboot); but perhaps the difference is higher for lower %-values wich would lead to a different set minimum value)

But the actual question is - what has been changed in UD so it's differnet? Isn't it based on the Stock FW and should use same parameters....?

But i don't know where the table with the %/voltage definition is saved in android...
[Gen8 Android Development] todobarato:
Hello,

I have tested and works OK, I cannot use 1200Mhz only 1100Mhz but with lover voltage, is stable with 60vsel, the stock uruk kernel has 66vsel.

I load it with init.rc and: insmod overclock.ko omap2_clk_init_cpufreq_table_addr=0xc005c358 max_rate=1100000 max_vsel=60

Best regards,

Ferenc.
[Gen8 Android Development] SWFlyerUK:
What did you change in the unit.RC?

My tablet reboots when I input the milestone code you've put in, with terminal emulator.
[Gen8 Android Development] sibere:
I understand how battery calibration is working.

I will do the entire process again but I always noted this difference between the 2 firmwares.

With UD, even after a wipe of battery stats, the charging process stops at 88%, goes up to 100% as soon as I unplug the DC cable, and goes quickly down again for 10% and then starts to decrease at a normal rate.

I tried also to look into kernel src but never found a table. It must be in the firmware ...
[Gen8 Android Development] FrEcP:
@sibere

I don't knwo how trustfull this artice is - but he mentions:

5. Others basic rules

- Always flash with 100% battery. Else battery calibration is required

(might be a reason for the difference even nothing has been changed in UD - as Android eventualy creates the file mentioned below at initial startup?!?!? sadly he doesn't tell why...)

EDIT: I just remember I NEVER flashed with full battery... but i don't seem to have any problems

and

Sometimes the battery isn't being used to its full extent, or it shows wrong values. This is due to some wrong data stored in a file called batterystats.bin stored in /data/system.

Did u check the Voltage values at low and high percantages?

good luck on your research

FrEcP

EDIT:

>I have tried battery calibration etc...

Btw - where did u find it? - I'm blind ;)

EDIT2:

I just checked values for my 101: had 18% in Stock and in UD - so perhaps a 70 only problem?
[Gen8 Android Development] todobarato:
[ QUOTE=SWFlyerUK;19305353]What did you change in the unit.RC?

My tablet reboots when I input the milestone code you've put in, with terminal emulator.[/QUOTE]

Hello SwFlyerUK,

It is not unit.RC, it is init.rc and this is for load the module automatically by boot, if not you have to do it manually every boot.

If your Archos reboots, is why your parameter for overclock are to high for your CPU, go lower, every CPU is different.

Best regard,

Ferenc.
[Gen8 Android Development] $aur0n:
You could try to use modprobe and prepare /etc/modprobe.d file for it.

Perhaps it will be a good way to distribute different settings...
[Gen8 Android Development] blawoef:
Hi $auron,

I wondered what your plans are as to release of 1.6... (should I go for RC2 or wait?? :))

Are you going to include the latest Archos sources? In that case final may take some time more?