yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] Lenn:
Hey sibere, i see this post from you http://xdaforums.com/showpost.php?p=14379346&postcount=21

With a 400mA limited Kernel.. but "version7" of the Kernel instead of version6 like here...

What are the differences?:)

I think, i'll test it at 12:00:)
[Gen8 Android Development] captin:
Would using this kernel make my USB keyboard work or is there drivers involved?

It used to work when I first got it, but that was a couple of urukdroid version ago. :)

Have the USB keyboard drivers been taken out for some reason.
[Gen8 Android Development] Lenn:
Normal Keyboard usually dont need drivers...

Do your Keyboard have special functions or buttons?:D

From my knowledge, urukdroid hasnt have keyboard drivers at any time...;)

Try the 200mA limited Kernel, that should work;)

(Usually Keyboards dont need more than 100mA)
[Gen8 Android Development] sibere:
Yep, and I've edited my post about this here with V7 :)

I'm running a V8 now with watchdog disabled
[Gen8 Android Development] Lenn:
Okey, thanks i test it now:)

What is watchdog?:D
[Gen8 Android Development] captin:
I've tried the keyboard on a PC and it workd. There are no special functions.

I've tried the 200ma & 400ma kernel and standard kernel with no joy. I dont think the kernel is the problem now.

Maybe my USB port has died, is there any way to test it?

I have another keyboard that has a backlight and the light works but nothing happens when I press the keys.

I've tried a USB flash drive, the light flashes but the drive does not get mounted.
[Gen8 Android Development] Lenn:
Hey,

i have to say: it really looks, that your usb port is dead...:(

I dont know a way to test it... ,aybe you just could test all usb devices you have;)
[Gen8 Android Development] Lenn:
@sibere:

The Kernel V7 works good with all devices, except my HDD:(

Thats what i feared about:

The HDD dont start, but when i connect the extra power plug to my pc (i`ve a y cable;)), just for a second or less, the HDD works:)

I think this is because, the most HDD`s need much more energy when they start as in the normal use...;)

I think we`ve to go up to 500mA:);)

I dont want to connect my HDD also to my pc, everytime i want to use it:D:D

And thats why i suggested anybody should create a script inside the kernel that give 500 mA to the USB port in the first 1-3 seconds and after that just 200-400 mA (this we would have to test):):D

EDIT

The effect that the HDD works really good after you connect the other cable just for a second to your pc, was not at the Kernel with the 200mA limitation,

so if we create a script (i created a thread about this here:http://xdaforums.com/showthread.php?p=14390739#post14390739), i would

suggest we set the limit at start to full 500mA, but after that we go down to 300 mA (i think this is the limit for the HDD, but we have to test it:):D)
[Gen8 Android Development] sibere:
from kernel sources

Last Reviewed: 10/05/2007

WDT Watchdog Timer Interfaces For The Linux Operating System
Alan Cox <alan@lxorguk.ukuu.org.uk>

ICS WDT501-P
ICS WDT501-P (no fan tachometer)
ICS WDT500-P

All the interfaces provide /dev/watchdog, which when open must be written
to within a timeout or the machine will reboot. Each write delays the reboot
time another timeout. In the case of the software watchdog the ability to
reboot will depend on the state of the machines and interrupts. The hardware
boards physically pull the machine down off their own onboard timers and
will reboot from almost anything.

Basically, when I copied big files from my USB key to internal storage, the device was sometimes "frozen" for more than 1 min, causing a useless reboot of the device.
[Gen8 Android Development] Lenn:
Ah okey thanks, sibere:) Learning:D

Did you read my posts about testing?
[Gen8 Android Development] sibere:
Once again I don't think that it's possible to change the max current with a script because it is hardcoded in the kernel. keep in mind that 500mA is a max and if the device requires only 200mA, it will drain only this and not 500mA.

The problem is that I'm not sure about this but I think the USB port is used also for other internal devices like the touchscreen.

Anyway, here is a 500mA max kernel (#10). If an other device like touchscreen is draining power on the same usb host, you may not get the 500mA needed by your HDD.

Original archive with 200mA kernel and initramfs can be found here

The file below is latest kernel + initramfs. Flash it using the SDE.

EDIT:

An overclocked / undervolted (#13) version is available in this post

and a V15 (slightly less undervolted for better stability) is here
[Gen8 Android Development] Lenn:
Thank for all your work!:):)

But the HDD still dont work:( I guess i search in a warehouse a HDD that dont need so much energy at the start:(

Thats CRAP!:D When i connect it to the pc just for a half second or less it works:(

... i just need more energy for a split of a second, but we are on the limit:(

Anyway Thanks again for your great work!:)

We should add this to Urukdroid!;)

@$aur0n:

what do you think about this?:)
[Gen8 Android Development] fisha21:
@lennb: from what sibere says, there is a chance the touchscreen is drawing power from the USB, so even with latest kernel you may not get 500mA. Have you tried turning screen off, then plugging in HDD?
[Gen8 Android Development] Lenn:
Yes, i do:(

But i test many HDD in a warehouse, and nearly all worked (these one with only on usb cable;))

I'll buy the Samsung S2 Portable:) This worked at the warehouse:)
[Gen8 Android Development] coen22:
Chainfire3D

Chainfire3D 1.8 does work on archos now

Maybe you could add this to UrukDroid

And could you add a multitasking app and launcher pro?
[Gen8 Android Development] Lenn:
Oh really?:D

Does it work with the app or just over the manual way?

Does you feel a better performance with hd games like gameloft?:D

If this work good, $aur0n really should add this to Uruk;):)
[Gen8 Android Development] coen22:
Well, I can use tegra 2 games now, but theres no much more performance

But the nightmode is really cool!!:)

everything looks red
[Gen8 Android Development] Lenn:
Cool:D:) Then i would say, lets add this to Urukdroid:D:)

sauron, what do you think?
[Gen8 Android Development] $aur0n:
If sibere kernels have just changed mA value in USB driver section - it's for nothing. I've already set it to 500mA in Uruk 0.4 (or even earlier) and it won't change anything. A70 is limited by hardware, not software. There is a slightly different thing in A101 - it has different HW power chip and they are able to give more current - but still it's not the value in kernel.
[Gen8 Android Development] $aur0n:
I'll take a look at it - but I don't have much time to test if games will work.

I don't see a point in it - since users can do it on it's own (and many people encourage me to stay as close as possible to Archos stock OS)
[Gen8 Android Development] Lenn:
They are able to give more than 500mA ?:D

But Usb 2.0 only can give 500mA, right?...

If you need a tester, i can do it:)
[Gen8 Android Development] $aur0n:
A101 can give more then A70 - a A70 (and probably all smaller devices) are limited to 200mA by hardware, A101 can give more then 200mA - but I don't know if it's 500mA - I don't have A101 and I wasn't interested to check.

Have you tried (Chainfire3d) to install it from market? It's plain apk that requires root access and write rights to /system - both should work on Uruk.
[Gen8 Android Development] Lenn:
Okey, i looked at wikipedia:D:) Usb 2.0 can give 500mA, Usb 3.0 900mA:) So we are on the limit:D

Yep, i have it works good:) I can play NVIDIA TEGRA Games on my Archos now:)

(Not all but these that dont check your processor if its an Tegra, works good:))

Could the Problem that some games say "not a tegra device!" solved by adding a NVIDIA TEGRA Devices's fingerprint st build.prop? :)
[Gen8 Android Development] $aur0n:
It says it "should" or "it can give up to 500mA" - but A70 does not let device to draw more then 200mA. So it's not exactly against USB2.0 standard - but does not make live easier either.

Can't say - but it's easy way to test it ;) - just change fingerprint.
[Gen8 Android Development] Lenn:
Yeah, I had that idea too:D

But you have the fingerprint of the Xoom?:D

I googled but i found nothing..^^

___

EDIT

I found the build.prop from Xoom :) I looked at the file and find only one row with the fingerprint :D Is this right?

I think the copying the hole build.prop wouldnt be good, would it?

I found the the build.prop here:

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

Here is the fingerprint row i found:

ro.build.fingerprint=verizon/trygon/stingray:3.0/HRI39/101999:user/release-keys
[Gen8 Android Development] LeoNg628:
Wow, the fingerprint of Xoom is awesome!

==========

and I would like to report that I've installed Urukdroid 1.1b2 w/ 1.1b3 kernel into my A70H.

But something happened to me,

I've faced that the system will reboot automatically very often

and my GO launcher cannot remember my widget after I reboot the device by myself (also it auto reboot), all my widget will disappear after a reboot.

==========

Dear $aur0n,

Can you provide a solution to all HDD user like me to install Urukdroid into the internal memory rather than HDD?

Because I faced two problem if install into HDD,

1.the HDD will sleep automatically and if system need run, it must turn on the HDD and let it read file from HDD, this action will take 20~30 sec, this happened when I sleep my A70H by press power, than leave a minute then press power again.

2.since the system was installed into HDD, the HDD will keep running if there are some apps running in the background even I sleep my A70H, so my A70H will become a heater in my pocket and the battery will drain faster than before.

I really hope you can find a solution for us in next release...:)

Thanks!

Leo
[Gen8 Android Development] Lenn:
Is this refers to the fingerprint?:D

If yes, how do you add this?;)

I think this would be hard...

The best way, i know, would to compile a script that automatically kill all apps when you bring your archos in deep sleep, but it also have to hold this app not running... i dont know if this will gone work:D
[Gen8 Android Development] LeoNg628:
No, first quote is not related to the fingerprint..sorry.:)

My A70H is not yet ready for my daily use as before....I am still config the UrukDroid....but I've already format my whole 250GB and device just a moment.

about the internal memory issue, why not?

A70H also have internal memory but just smaller than A70S and A101...

but I think it is enough to install UrukDroid into it, because as I remember there are almost 1.6GB ROM in A70H..:cool:
[Gen8 Android Development] Lenn:
No problem;):D

Oh sorry i dont know that... okey that would be possible;):D
[Gen8 Android Development] sibere:
really? O_O

Did you edit sources or just the kernel parameter?

In this case explain why/how without changing kernel build settings I got my greedy usb key working after editing sources.

Did you try the kernel before saying that I did this for nothing?

But nevermind, if you don't want it for urukdroid, I'll keep it for myself. I already said that I don't want to interfere with your work. It's working for me and I'm happy with it. apparently it worked for lennb too, but after all it could be just an illusion or a placebo effect, isn't it?

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] eagleofdeath13:
For the HDD version question i think that you're talking about the system storage, the place where Android is located normaly. On both version we can't access and modify it (the only way is the .aos update files). The flash version have 2 types of storage, one for system, and one for media etc, and UrukDroid is installed on the second one. Sorry :s
[Gen8 Android Development] msticninja:
The system storage is referred to as mmcblk0. You can install Uruk on it with a custom script, or just manual partitioning, but it is only a 500MB partition, so you cannot get both root and data partitions to fit(not without having 0 free space for apps).

You could actually just change a few lines in $auron's easy-install script to make it install to mmcblk0, but like I said, it's pointless with only 500MB, especially when 75 megs of it is used for the recovery partition, and another 50 or so for superblocks and journaling.
[Gen8 Android Development] rplc790222:
... It looks great, but I tried to install it on my archos 70 and the app says that I don't have root and can't be installed, does anyone knows why?
[Gen8 Android Development] LeoNg628:
I have a little confused...so is it mean that A70S and A101 is installed into the 7.5GB internal memory rather replace the original Android system?

how about I press "Remove Android" from SDE?

(I'm remember there are an option here...:))
[Gen8 Android Development] Lenn:
First:

Do you have root?:D

Second:

Just the newest version (1.8) will work;)
[Gen8 Android Development] Lenn:
Yep, normal android is still there, you can even boot it;)

I think this just remove android, but you then you have also just 500 MB space...:(
[Gen8 Android Development] shokuhawan:
Hi Sauron.

I found that some apps with rewrite permissions not working on UrukDroid 1.0.

Ex: Chainfire3D needs write permission on /system/.

-Root Explorer: It's show that the system already had -r/w funtions but I can't remove app on /system/app.

I deleted Gallery3d.apk but It keeps showed up after I reopen App folder.

Anyone knows the solutions to Chainfire 3D or to rewrite /system/?
[Gen8 Android Development] coen22:
Chainfire 1.8 has a fix for some devices and this will work:)

If you want to change apps in your system directory use adb

make sure you have the newest android sdk

if you have win7 click on start --> type cmd --> hit enter

adb shell
$su
#stop
#cd /system/app/
#ls -l
#rm [your file/app]
#start
[Gen8 Android Development] shokuhawan:
Oh thanks you :D. I just downloaded new Chainfire3D app on Market, now it works :D.

Can't wait for Uruk 1.1 :D

omfg, does anyone know how to prevent media files deleted randomly by Media Scanner?
[Gen8 Android Development] LeoNg628:
OMG, recently I formated my A7H and install Urukdroid have a try...

But my Urukdroid 1.1b2 w/ b3 kernel always freeze and cannot wake up....

Should I downgrade to 1.0RC3? will it more stable than 1.1b3?
[Gen8 Android Development] $aur0n:
I said "if you changed only kernel parameter" - I don't know what did you do exactly. I can't check your kernel, since my USB port is toasted for a long time. But when I wanted to do something with USB energy problem I've searched internet for patches etc. All I found was already merged to 2.6.29 - and I simply changed kernel parameter

CONFIG_USB_GADGET_VBUS_DRAW=500

This value is set in all UrukDroid kernels since 0.4 or something.

So don't get angry - I just wanted to point that I've already check some possible solutions and perhaps this would save some time to you and others.
[Gen8 Android Development] $aur0n:
How did you install it for the first time?

Please also give me "df -h" from stock android OS on your device...
[Gen8 Android Development] sibere:
Yep I've noticed that you changed the settings to 500mA in kernel settings and I agree that changing this is useless. But what I did is completely different. I've spend many hours at reading the usb host kernel sources, patching, building kernels, debugging and flashing the A70 to get it working so you can imagine that it's a bit irritating to read that I did this for nothing.

All I can say is that the 100mA limitation is software and lies in usb host sources. By patching very slightly the sources, I've got more that 100 or 200mA on my USB host. Lennb reported that he managed to get some usb HDD working with my latest kernel.
[Gen8 Android Development] LeoNg628:
I did not install stock Android...

I have format my A70H and install SDE, then put UrukDroid easyInstall file into it,

then reboot and put the Install file into it and waiting it auto install...

that's all~:D

and here is df -h result from UrukDroid since I haven't stock Android...

df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 479M 282M 173M 63% /
/dev/sda2 479M 282M 173M 63% /
/dev/sda3 1.4G 449M 893M 34% /data
tmpfs 120M 0 120M 0% /dev
tmpfs 120M 0 120M 0% /mnt/asec
tmpfs 120M 28K 120M 1% /tmp
/dev/block/mmcblk0p1 32M 15M 18M 45% /mnt/rawfs
tmpfs 120M 4.0K 120M 1% /dev/shm
[Gen8 Android Development] LeoNg628:
here is the A70H (250GB ver.) stock Android result..

*I've re-format my device for testing..

BusyBox v1.7.2 (2011-04-19 00:50:45 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ $ df -h
df -h
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 82.4M 29.7M 73% /mnt/system
/dev/loop0 76.6M 76.6M 0 100% /
tmpfs 119.1M 0 119.1M 0% /dev
tmpfs 119.1M 0 119.1M 0% /mnt/asec
tmpfs 119.1M 0 119.1M 0% /tmp
/dev/block/mmcblk0p1 31.8M 14.1M 17.7M 44% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 82.4M 29.7M 73% /mnt/system
/dev/block/mmcblk0p4 1.6G 58.2M 1.4G 4% /data
tmpfs 119.1M 4.0k 119.1M 0% /dev/shm
/dev/block/vold/8:1 232.8G 60.7M 232.8G 0% /mnt/storage
df: /mnt/secure/asec: Permission denied
[Gen8 Android Development] $aur0n:
Ok thx - that's what I needed - I wanted to know if there is a way to put Uruk on internal nand memory. Anyway - quite interesting is that /data has 1.6GB size. I don't know how it was before (with previous firmwares) - but this is much more then on A70S currently.

Could you do on Uruk

su
fdisk -l /dev/block/mmcblk0
[Gen8 Android Development] $aur0n:
So - any chance for patch?
[Gen8 Android Development] sibere:
Sure.

I'll post the patched file when I'm home and have hands on my computer.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] LeoNg628:
result here:

fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 1958 MB, 1958739968 bytes
4 heads, 16 sectors/track, 59776 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 5 1605 51200+ 83 Linux
/dev/block/mmcblk0p2 1605 5511 125023 83 Linux
/dev/block/mmcblk0p3 5512 7465 62528 83 Linux
/dev/block/mmcblk0p4 7466 59776 1673952 83 Linux
[Gen8 Android Development] ZakMcRofl:
I'm also very interesting in getting UrukDroid running properly on A70H.

$aur0n is there an IRC channel for development?

I can also help with testing a new install method as long as the risk is limited.
[Gen8 Android Development] msticninja:
Wow. 2 gigs on mmcblk0? Not fair. ;) I could do alot with that on my 101.
[Gen8 Android Development] sibere:
NOR block size

An info from archos kernel sources: Internal NOR has 256Kb block size.

Could be useful for future release (stripe to 64 instead of 32)

board-archos.h:#define FLASH_BASE_NOR_ARCHOS 0x10000000 /* NOR flash (256 Meg aligned) */
[Gen8 Android Development] LeoNg628:
haha, I want to say "Not fair" too...since we (250GB's user) do not have Mirco-SD Card slot and "NO" any internal memory (8GB) for personal files...
[Gen8 Android Development] sibere:
USB hub power Patch

Here is the patched file.

It goes to $KERNEL_SOURCES/drivers/usb/core/
[Gen8 Android Development] Lenn:
Thanks!:)

I was a few days away...:D

@$aur0n:

The Kernel is good;) I tested 5 HDD's and 3 worked!:)

I'll buy the Samsung Portable S2:)
[Gen8 Android Development] sibere:
Power of USB host

I've read in an other forum that the 100mA allowance could be overridden by typing a command.

echo -n 1 >/sys/bus/usb/devices/<unknown device>/bConfigurationValue

Could anybody not using my kernel try this?
[Gen8 Android Development] Lenn:
I'll ask my friend, he has an A70 to do this, but why you want this?^^

You have created the kernel and its good:):D
[Gen8 Android Development] sibere:
For the people who do not want to flash it :)
[Gen8 Android Development] Lenn:
Ahh okey you want to create a script and add it to UC?:)thatt would be cool:)
[Gen8 Android Development] sibere:
Not really. $auron is much better than I am with scripts.

Sent from my HTC Desire with DATA2SD :)
[Gen8 Android Development] omendacat:
Hi Sibere,

I've been using your kernel with max 500. but I have no idea why it is not work. I root my archos 70 with sde curli method, but not using uruk droid.

would you mind telling me why?

thanks,

Omen
[Gen8 Android Development] sibere:
Maybe because it's ony designed for uruk....

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] Unmensch:
Are there plans to make Uruk compatible to the openaos boot menu?
[Gen8 Android Development] sibere:
If $auron's got enought time, why not.

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] Lenn:
I think this would be a kernel work, very hard..:D:mad:

but sibere, you are into kernel dev. :):D
[Gen8 Android Development] sibere:
Really? To me it's more an initramfs work than a kernel work.

Sent from my HTC Desire with DATA2SD :)
[Gen8 Android Development] omendacat:
I thank you for your fast response..
[Gen8 Android Development] Unmensch:
I agree with sibere,

the /init script in the initramfs.cpio has a case statement where it looks if you've chosen the stock android or any image file.

I think the easiest way would be to add a dummy Uruk entry in the menu.lst and to add a third option to the case which does the approriate mounting for Uruk.

I'm pretty pretty busy at the moment, but I'll look if I can hack something together in the next few days. (however, any volunteer that likes to do that work instead is always welcome ;) )
[Gen8 Android Development] lny:
I'd like to use the zImage_8 but but the upgrade process also needs the initramfs which I used from UrukDroid 1.0. So it reinstalled UrukDroid.

How can I upgrade just an zImage in the future?

Thx

Lenny
[Gen8 Android Development] omendacat:
Hi Sibere,

I do need your help. I install urukdroid 1.0 and install your kernel. But my usb flash drive still cannot detect. Would you mind share your knowledge how to make it happen? I mean, I need my usb can be read by archos..

Many thanks,

Omen
[Gen8 Android Development] Lenn:
We are on the limit with the usb energy;) the most hdds needs at the start 600-700mA but in normal use around 300-400 mA. We can give 500mA, so you have to find a hdd that requires less than 500mA (450mA, because of the screen) at the start;) i've tested a bunch of hdds and the samsung portable s2 works great!:) i'll buy it soon:)

The price is okay around

40€ for 320gb

50€ for 500gb

60€ for 640gb

70€ for 750gb

95€ for 1000gb or 1tb
[Gen8 Android Development] msticninja:
Yeah, it's just a matter of scripting in the init. I was making my own for a while to boot from SD, but once $auron started working on Uruk, I figured I'd leave it to him. ;)
[Gen8 Android Development] sibere:
sorry... wrong reply. disregard.
[Gen8 Android Development] sibere:
You may not have noticed but in the very same post I posted a link to an other post were you can find a kernel + initramfs which doesn't reinstall uruk. That's the one you need.
[Gen8 Android Development] sibere:
It's working for me, working for others too. With so few debuging information, there is nothing I can do.

May try to reboot into the stock android, and then reboot to uruk.

don't use the "unmount" option in the notification bar to disconnect to key otherwise you may loose the USB host temporarily. Just unplug it when you're done with it. If you loose usb host, reboot to stock , plug a low power usb key, unplug and reboot to uruk.
[Gen8 Android Development] LeoNg628:
It is very strange, I am freah install 1.1b3, but it is not usable on my A70H, but when I reformat it (yes I did...= =) and inatall with 1.0easyinstall then put the 1.0rc3 into it, my A70H can use now. And it give me a great Uruldroid experience.

Just for info, hope this can help with stable 1.1 dev.

Cheers!

Leo