yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] $aur0n:
It can be some access rights issue or as it says storage - paste here "df -h" from terminal.

- check if you have space on /data

- if its mounted in r/w
[Gen8 Android Development] stephen44:
what's involved ?
[Gen8 Android Development] N23:
If you want to use adb you have to activate debugging in settings, then plug the device to your pc over usb and in the terminal of the pc use this command to connect over tcp/ip (wifi has to be on and you need to be in the same network):

adb connect DEVICE_IP:5555

after that you can use all adb commands as normal (adb push, adb pull, adb install, adb shell and so on).

The plugging is needed to activate adbd on the device (you can change this in the init.rc around line 470 when you change adb to enabled from disabled).

adb directly over usb is currently not working - currently i have no idea why...
[Gen8 Android Development] jbradshw:
I think I'm gonna have to wait til this matures a bit. I've tried 0.2, the OC'd kernel, as well as 0.3 and it works for awhile and everything seems to be fine. Then later, maybe a day or two after use, I'll just start getting random FCs from the market. Rebooting seems to clear it for a little while, but then it always gets worse where it crashes more often. I'll reboot again and upon boot FCs are happening a lot from various processes and then the tablet wants to do the initial install wizard. This has happened with 0.2, OC'd kernel, and the latest 0.3 - all fresh installs from the Archos kernel.

It doesn't appear to be related to any kind of app. Like I said the tablet will be running fine, then I"ll boot it up and I start seeing random market FCs. I don't know if anyone has started seeing this, but I'm just getting tired of having to reload my SD card every time it does this, and have it only last for a few days before the FCs start again.
[Gen8 Android Development] $aur0n:
Can you check if it will work with UrukDroid 0.2 kernel (just flash zImage and initramfs.cpio.gz). I'm not sure if this is problem of kernel or some library changes on system side (i dont use adb at all ;) ).
[Gen8 Android Development] stephen44:
So I've been playing with this a lot today - am now a master at building an SDCard :D

if you have a working system - with all your apps and then uninstall an app - im my case it was a memory manager...

it uninstalls ok - but the next time you startup (developer mode) - it goes to the "Startup Wizard

if you follow this through to the end - you end up with a virgin archos build

is this what we expect - because of the uninstall paths used by the apps ?

- what is the quickest way to recover your setup ?
[Gen8 Android Development] HerrieMan:
archos 70-250Gb

Hi,

i've been scanning this forum for a while now to see if anything for the archos 70 - 250G harddisk version has been posted.

Up until now I have only seen questions like 'can it be done ?', but no answers yet. I have such a device and some basic linux knowledge (running a fileserver with OpenSUSE and a media-player with XMBC-live). I'm no software developer so my knowledge is a little limited, but i'm willing to help any custom developments.

So if anyone can point me in de right direction about what's needed to create some custom rom for my device, please tell me.
[Gen8 Android Development] anurbanlegend:
I have installed/uninstalled several apps and rebooted sde and have never had my install reset to a virgin archos build...
[Gen8 Android Development] archosblah:
iptables

$aur0n,

Thanks for all the great work thus far!

I tested out iptables in 0.3 and it works fine but I can't use it to setup for proxied wi-fi connections since it's missing the nat module.

Is there any way you can add nat (iptable_nat.ko) for the next build?

Thanks in advance
[Gen8 Android Development] $aur0n:
Let's start with "df" and "mount" output from Archos stock OS (use terminal to do that). If you don't have sshd installed put output to file...

df -h >/mnt/storage/out
mount >>/mnt/storage/out
[Gen8 Android Development] $aur0n:
sure - anything else - nat is a big son... ;)
[Gen8 Android Development] stephen44:
i tried it several times - different sd cards abd different builds

could it depend on the app ?
[Gen8 Android Development] anurbanlegend:
Which app specifically is causing yours to reset and i'll give it a shot.
[Gen8 Android Development] thefunkygibbon:
when i was using it earlier it must have froze up my unit about 2-3 times. once using need for speed for a couple mins and other times just generally using it. not overclocking althogh using the OC kernel
[Gen8 Android Development] N23:
same thing with 0.2 - its a pity :(

i also have no idea what it could be - i also tried to swap libs and exchange the adbd because on the nook there seems to be the same problem...

but as longe the tcp/ip version works ;)

i need adb for developing apps on the device (adobe air) and for easy installing and pushing / pulling files from it :)

in the next days i'll try to get a "real" device id so that not so many apps are complaining and we can use and buy apps that need a properly device id.
[Gen8 Android Development] stephen44:
thanks

It's called "auto memory manager"
[Gen8 Android Development] anurbanlegend:
I had auto memory manager already installed. I uninstalled it and rebooted SDE and all my apps and setup is still there.
[Gen8 Android Development] estevey:
Will this speed up the 101
[Gen8 Android Development] stephen44:
thanks for trying that - the only other thing i can think of is I was using a "move apps to sd card " app - i have now put all back to system storage and am trying it all again

again - ty.
[Gen8 Android Development] stephen44:
Maybe that was it ? - all working normally now & that was all ii changed!
[Gen8 Android Development] oic0:
Dumb question but mines runin a bit choppy even with a class 10 and very few apps. Getting some force closes too especially if I uninstall something. If I hard reset will it fubar this? am runnin the .3 with 3 partitions.

*Nm it croaked. I didn't reset it but it got bad about a lot of force closes and after I restarted it the setup manager came up. Phone kept force closing. Loaded vanilla and removed phone apk. Restarted and phone apk didn't crash anymore but after loading the launcher doesn't start and the side buttons do nil.

This is a new flash card though, maybe it has issues? It ran fine if not really fast for a few days. Need to go home and get my card reader! Ill try revrting the init.rc to non sd mode I guess?
[Gen8 Android Development] garychan999:
Hi $aur0n, thanks for your great work!! I'm going to root my 70it with all your files

I've format and extract all file to sdcard, because i've no knowledge of linux,could you please check the permission is correct or not? And i can see a lost+found directory in each partition, is that useful or i can delete it?

root@ubuntu:/tmp# mount /dev/sdb1 /tmp/sdcard

root@ubuntu:/tmp# cd sdcard

root@ubuntu:/tmp/sdcard# ls -l

total 300

drwxr-xr-x 2 root root 4096 2010-12-15 05:54 bin

drwxrwx--- 2 root root 4096 2010-12-15 05:54 cache

dr-x------ 2 root root 4096 2010-12-15 05:54 config

drwxrwxr-x 2 gmubuntu gmubuntu 4096 2010-12-31 04:24 data

drwxrwxr-x 2 gmubuntu gmubuntu 4096 2011-01-08 01:57 data.new

drwxrwxrwx 2 root root 4096 2010-12-29 05:18 data.old

-rw-r--r-- 1 root root 118 2010-12-14 19:35 default.prop

drwxr-xr-x 2 root root 4096 2010-12-14 19:35 dev

lrwxrwxrwx 1 root root 11 2011-01-11 08:32 etc -> /system/etc

drwxr-xr-x 2 root root 4096 2010-12-15 05:54 gps

drwxr-xr-x 3 root root 4096 2010-12-15 05:54 home

-rwxr-xr-x 1 root root 111852 2010-12-14 19:45 init

-rw-r--r-- 1 root root 2399 2010-12-14 18:42 init.A101IT.rc

-rw-r--r-- 1 root root 1766 2010-12-14 18:42 init.A28.rc

-rw-r--r-- 1 root root 2284 2010-12-14 18:42 init.A32.rc

-rw-r--r-- 1 root root 2287 2010-12-14 18:42 init.A32SD.rc

-rw-r--r-- 1 root root 2334 2010-12-14 18:42 init.A35.rc

-rw-r--r-- 1 root root 2423 2010-12-14 18:42 init.A43.rc

-rw-r--r-- 1 root root 2603 2010-12-14 18:42 init.A70H.rc

-rw-r--r-- 1 root root 2418 2011-01-09 02:11 init.A70S.rc

-rw-r--r-- 1 root root 153 2010-12-14 18:42 init.archos.rc

-rw-r--r-- 1 root root 1677 2010-12-14 18:26 init.goldfish.rc

-rw-r--r-- 1 root root 23507 2011-01-09 11:42 init.rc

-rw-r--r-- 1 root root 23507 2011-01-10 05:25 init.rc.new

drwxr-xr-x 4 root root 4096 2011-01-09 07:27 lib

lrwxrwxrwx 1 root root 11 2011-01-11 08:31 linuxrc -> bin/busybox

drwx------ 2 root root 16384 2011-01-11 08:28 lost+found

drwxr-xr-x 10 root root 4096 2011-01-01 06:49 mnt

drwxr-xr-x 3 root root 4096 2010-12-15 05:54 opt

drwxr-xr-x 2 root root 4096 2010-12-14 19:35 proc

drwxr-xr-x 4 root root 4096 2011-01-09 06:02 root

drwxr-xr-x 2 root root 4096 2010-12-15 05:54 sbin

lrwxrwxrwx 1 root root 12 2011-01-11 08:32 sdcard -> /mnt/storage

lrwxrwxrwx 1 root root 12 2011-01-11 08:32 storage -> /mnt/storage

drwxr-xr-x 2 root root 4096 2010-12-14 19:35 sys

drwxr-xr-x 15 root root 4096 2010-12-30 03:52 system

drwxrwxrwx 2 root root 4096 2010-12-15 05:54 tmp

drwxr-xr-x 8 root root 4096 2011-01-01 08:35 usr

drwxr-xr-x 2 root root 4096 2010-12-15 05:54 var

root@ubuntu:/tmp# mount /dev/sdb2 /tmp/sdcard

root@ubuntu:/tmp# cd sdcard

root@ubuntu:/tmp/sdcard# ls -l

total 16

drwx------ 2 root root 16384 2011-01-11 08:28 lost+found

root@ubuntu:/tmp# mount /dev/sdb3 /tmp/sdcard

root@ubuntu:/tmp# cd sdcard

root@ubuntu:/tmp/sdcard# ls -l

total 16

drwx------ 2 root root 16384 2011-01-11 08:29 lost+found

thank you very much! :)
[Gen8 Android Development] bthoven:
Just notice the Known Issues from the first post about PC can't see the drive when connecting to usb, and this can't be fixed. Is that true?

Now my 0.3 rooted Archos, when connected to my Winxp, I can see two disks appearing, but can't access it and my Archos can't mount as usb drive.

If that's true, then I can't easily copy any files from/to my Archos?
[Gen8 Android Development] Kashban:
Please specify "this".
[Gen8 Android Development] Kashban:
Not sure if this is true. Yes, it is not possible to unmount the whole sd card, but why not unmount only the FAT partition and make it available for USB connection?

Works on the Desire, why not here?
[Gen8 Android Development] bthoven:
Even the internal drive does not show up. Is it normal?
[Gen8 Android Development] Kashban:
Internal should be there (it is on my 101). Desired Mount Point for it is /mnt/storage, if I stand correct.
[Gen8 Android Development] N23:
looks promising, keep the lost+found - i think the archos will create it too ;)
[Gen8 Android Development] $aur0n:
Well this IS interesting - since stock kernel configuration does not have ntfs support...

I'm not sure if Vold is able to load modules. So first try:

su
lsmod | grep ntfs
insmod /lib/modules/ntfs.ko
[Gen8 Android Development] bthoven:
I mean it won't show up on my pc winxp.
[Gen8 Android Development] cheefy:
Short report for $auron from me:

the initram from your dropbox did not work for me, i was stuck in the boot loader. taking the 0.3 initramfs from the megaupload works fine.

usb-charging does not work for me. neither on my pc nor on any of my AC-Adapters ( all 1000mAh). But charging over a 400mAh AC on the normal plug (not the micro usb) works slowly but fine...
[Gen8 Android Development] Kashban:
Not correct:

http://update.archos.com/8/gen8/changes_firmware_archos_android_gen8.htm

"Storage: SDCard now supports NTFS (read only) and EXT3"

So support IS built in and it works with USB attached devices too. Stock, that is. Somehow the changes for UrukDroid removed that ability.

That did the trick!

Commands didn't generate any output, but after applying the ntfs usb device is mounted properly.

How about putting this into your next release? Maybe configurable via uruk.conf, enabled by default?

Cheers,

Kashban
[Gen8 Android Development] Kashban:
Ah. For me none of the Storage Partitions of the Archos partitions (internal or sd card) show up anymore on Windows (Win7).
[Gen8 Android Development] $aur0n:
Ok - I was not aware of that but - like I said before - NTFS support was NOT enabled in kernel configuration they released as SDE.

Will do - since I was not aware it's in default fw. Btw - have you tried to write something? I've compiled it with write support.
[Gen8 Android Development] Kashban:
There's our misunderstanding. I was referring to the standard stock kernel and you, fully understandable, think in SDE terms :).

Tried writing to the ntfs device... not working, neither archos file explorer, nor root explorer. No error message in root explorer, though, just nothing showing up even on refreshing.

There is one in the logs for the file explorer, though:

java.io.FileNotFoundException: /data/data/com.archos.video/files/paste.ser (no such file or directory)

Looks like archos file explorer and archos video player share some stuff.
[Gen8 Android Development] bthoven:
Usb charges not work for me too, both from pc usb port and 1-amp adapter. Charger port still works as normal.(0.3 upgrade)
[Gen8 Android Development] cnewsgrp:
Will it be possible to install this in Internal SD card and boot from it normally instead of SD at some future release? Maybe create the 1GB and 500 MB partitions on internal SD Card
[Gen8 Android Development] $aur0n:
Perhaps Vold is mounting it in ro (read only) mode. Check

mount | grep -i ntfs

Like I said and wrote - it's enabled, I though it works (witch would be great form me) - but it's quite "rapid" development - so.. :rolleyes:

It is possible - but it won't be supported - if you read previous post you will see this method is enough complex for most of the people. Doing this on internal storage is more complicated and potentially harmful.
[Gen8 Android Development] Kashban:
Flags show (rw,nosuid,nodev...). According to this it's in R/W Mode, root explorer stating the same. Message from Root explorer is always "folder created successfully", "successfully copied" and the like, but actually nothing has been written to it. Looks like any write stream is going to >dev/null.

Tried to delete as well... to no avail.
[Gen8 Android Development] $aur0n:
If you could do it in shell - it would be more reliable ;) to me. (some "touch file", "mkdir dir" - and "dmesg" check)

btw. I've just finished doing samba on Uruk - so I hope some of you, stop whining ;) about not being able to put files on Archos over usb :D
[Gen8 Android Development] Kashban:
Result: Operation not permitted on rm, mkdir.

Touch worked.

nothing special in dmesg as far as I can see. Actually have no time to post the result.
[Gen8 Android Development] estevey:
lol sorry

will rooting the device and doing ext4 on sd card make the 101 any quicker ?
[Gen8 Android Development] nenadr:
uruk 0.3 expirience

Just installed 0.3 on my A101 using files from megaupload and instructions from first post, and here are observations:

Everything works well, except:

1. URUK is not detected over USB on my PC at all ("unknown device" when I connect it over USB), so nothing regarding USB is working.

If I boot it as stock archos it is detected as as Gen8 device and I can use ADB over USB and mount its internal 16Gbyte storage to PC.

The way device remains unidentified over USB under URUK, may be a reason why other people reported that ADB is not working !!!

2. Large Video Widget, as well as Medium and Large Music widgets (and meybe more - I've just noticed those three) are not shown anymore on widget list, so I cannot add them to a launcher "pages" anymore. When I boot stock archos they disapear from pages, but they can be added again.

3. I can mount External USB flash stick (4Gbyte FAT32) without problem under URUK, and it is seen in both "Files" and "ES Explorer" applications.

4. Can't tell anything about URUK speed until I switch to a class 6 or more SD card, since I'm now on class 2 4Gb card. In any case it doesn't seem slower from class 2 card then stock archos (with 192 Mbyte of swap enabled).
[Gen8 Android Development] Kashban:
It will and it will alot.

You can speed up things without all that stuff by using third party launcher like Zeam or launcher pro, BUT...

using UrukDroid with swap space and the data partition on an ext4 sd card (class 2 may be sufficient, mine writes with 8-9 MiByte/s) speeds it up even more. If you use some OC kernel you may achieve 1200 MHz instead of 1000, which is also a boost. Quadrant scores going up by almost 1500 points DO actually tell a story.

The most speed comes from using ext4 vs. ext3 on a decent sd card, though. Made a difference of 500 Points in Quadrant Benchmark on my device.

Another benefit is the vast space you have then for your apps and data. Gigabyte instead of tiny 300 MiBytes. And swap space to boost up the main memory.
[Gen8 Android Development] $aur0n:
About ADB - I'm just working on it - finish for today, but try later on tomorow (just needed to backport depmod to use kernel modules in good old fashion ;)) - will see what of this is to be fixed...

Copy this widget from /system/app.old/ to /system/app/
[Gen8 Android Development] jbradshw:
I wasn't using auto memory manager or app2sd and I still get the FCs.

Anyways I'm just gonna stick to stock for now until more revisions come out. I'm just hoping other people run into this issue so a solution can be found.
[Gen8 Android Development] bthoven:
Since rooting my Archos, it freezes from time to time. So I decide to remove swap file by Swapper2 and my Archos is now working smoothly again.

My microsd card is class 6.

Sometimes some Apps just disappear from the drawer and I have to reboot to get them back. Those apps are moved from system to sdcard before I root my Archos.

Since now I have more room in system partition, I then use app2sd to move all those apps back, and since then I never experienced MIA apps again. Just fyi.
[Gen8 Android Development] cdelta01:
Sauron,

Looks like one of the users on the Archos Fans forum has been able to tether to BB seamlessly. Is this change something you can enable in your next release?

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

Remove spaces before and after "forum"
[Gen8 Android Development] lolo33:
Hi, can i use Swapper2 to change the size of the swap file.
[Gen8 Android Development] Kashban:
Basically yes. You need to change the /etc/uruk/uruk.conf though to reflect that change.
[Gen8 Android Development] indigomontoya:
Last night I played with the line dalvik.vm.heapsize=24Mm in init.A70S.rc (I am using the 70 internet tab). I tried 12, 20, 32, 38, and 64m. For all I still had pausing, but I think 20m was my favorite. My issue is the metric I am using is not rigorous - its completely subjective (does it "feel" more responsive?): I change the value and reboot. After I give the device some time to settle (I check the responsiveness of the screen rotating on launcher Pro). I open and close some smaller apps (Archos video, calculator, etc) to see how they handle. then I try opening and browsing with Dolphin HD (where I see alot of pausing and wait/force close messages) and sometimes try skyfire. I then use advance task killer to kill all the active tasks and immediately run quadrant. The database write still is the longest step by far. The scores do not always coordinate with my subjective feel of the device (I had a semi snappy device and a 1300 or a sluggish device with a 2400). I found a value of 20m to be the most responsive (though not perfect) and still gave a ~2100 quadrant score.

Id like to look into this more thoroughly. Is there a command line way to measure how these changes are affecting IOWaits? I have sshd up and running. Can I examine the IOWaits via ssh while running a standard set of programs on the archos?
[Gen8 Android Development] fzelle:
I think while ext4 is a fast solution, it definately is no save solution atm.

I have seen my archos dead for to often during the last 2 days.

Do the following and you will most of the time experience the same:

Start rootexplorer, go to /system/app

longklick on for ex. phone.apk, select move

goto /system/app.old and paste there.

You will have a constant forceclose because of the phone.apk.

You have to reset.

After reset the ext4 seems to be alittle out of it and you will have the InstallWizard.

But it will be constantly disturbed bei FC of missing apps.

Only solution is to start again.

I will now start doing the same with ext3, hopefully it will not happen there.
[Gen8 Android Development] lolo33:
Ok, thanks.
[Gen8 Android Development] $aur0n:
Yes, that will do (tar). +s is a special file mode (set user or group ID on execution (s) - man chmod) that's is required to run "su" command as a root user. This flag will be omitted by tar, when unpacking, if not started from root user.

I don't understand this - normal boot mode will not be rooted - just developer mode.

Normal mode Android will claim SD is damaged - since you cannot edit /etc/vold.fstab

To do this - create /mnt/sdcard2 directory - it's not by default.

Init.rc and df looks ok - write what exactly does not work or what you expect to work - since it's not clear to me what are your problems.

Cheers!
[Gen8 Android Development] Tzbob:
The error messages are related to the already-running-service at the time of deletion. Rebooting after you've removed it should get rid of it.
[Gen8 Android Development] d31b0y:
I've tried this now a couple of times, but it won't boot passed the Archos splash screen when I get to the end of step two.

Any idea what might be going on? As far as I can tell, I have followed the steps correctly...

Here is the output from fdisk -l /dev/sdc

Disk /dev/sdc: 15.5 GB, 15518924800 bytes
255 heads, 63 sectors/track, 1886 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ecd36

Device Boot Start End Blocks Id System
/dev/sdc1 1 65 522081 83 Linux
/dev/sdc2 66 196 1052257+ 83 Linux
/dev/sdc3 197 1887 13580288 83 Linux

I tried doing it on an external microSD card and the internal memory, but the same thing happened each time. It boots into the Angstrom distro fine when the zImage and initramfs.cpio.gz aren't uploaded so it looks like the dev firmware went on ok...

Archos 101 16GB by the way...

EDIT: just tried the zImage from ardatdat but the same thing is still happening :(
[Gen8 Android Development] $aur0n:
What splash screen you can see?

After choosing "Development mode" from boot menu:

- first Archos logo is from boot manager

- then is for a second black screen and another (exactly the same) Archos logo - this one is from initramfs (in new release not any more ;) )

- third one is kind of "animated" - and this is service app. logo from mounted /data partition

I don't see why it won't boot for you - double check if those ext4 partitions are without "huge_file" ("dumpe2fs /dev/sdc1 | grep huge_file" for example) - will think more after you tell me when it hangs.
[Gen8 Android Development] d31b0y:
Thanks $aur0n...

It freezes at the second splash screen... Maybe the initramfs has become corrupted. I will try redownload and test again...
[Gen8 Android Development] $aur0n:
Nope - it's not a problem of initramfs. Probably init can't mount root filesystem. Now we need to know why - check those huge_files and IF you unpacked rootfs correctly.
[Gen8 Android Development] haccg:
Option sounds very interesting. how did you do that? I mean the resizing.
[Gen8 Android Development] Tzbob:
Resized it with parted, then created 2 partitions mmcblk1p2/3 will be their names on your archos device. I then unpacked the initramfs provided by Auron, changed the init file to work with my setup (mmcblk1p2), then i changed the rootfs files to work with my setup (mmcblk1p3 for data).

When you mount the device via android you can then resize the partition with parted:

fdisk -l <<< find your archos device here e.g. /dev/sdb

parted /dev/sdb (not /sdb1 as this is the partition not the actual device)

in parted:

print (note the begin of the partition)

resize #partition number #begin #end

e.g. 1 #9000B(it's something around 8900B, make sure you get it exact or you might have problems) #current end - X amount of space you want to free up

resize 1 9000B 13.4GB