yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] HerrieMan:
done some primitive testings.

connected my A70H to my linux box, drive showed up as follows:

scsi 8:0:0:0: Direct-Access ARCHOS A70H 0000 PQ: 0 ANSI: 2

sd 8:0:0:0: Attached scsi generic sg3 type 0

sd 8:0:0:0: [sdd] 488397168 512-byte logical blocks: (250 GB/232 GiB)

sd 8:0:0:0: [sdd] Write Protect is off

sd 8:0:0:0: [sdd] Mode Sense: 03 00 00 00

sd 8:0:0:0: [sdd] Assuming drive cache: write through

sd 8:0:0:0: [sdd] Assuming drive cache: write through

sdd: sdd1

sd 8:0:0:0: [sdd] Assuming drive cache: write through

sd 8:0:0:0: [sdd] Attached SCSI removable disk

I was able to fdisk it, and created 3 partitions on it (1G swap, 2G data, and the rest also as data):

Device Boot Start End Blocks Id System

/dev/sdd1 1 132 1060258+ 82 Linux swap / Solaris

/dev/sdd2 133 394 2104515 83 Linux

/dev/sdd3 395 30401 241031227+ 83 Linux

I was able to create filesystems on these partitions (mkswap and mkfs.ext4).

Then unmounted from my linux box and looked if my archos would auto-mount them:

$ $mount

rootfs on / type rootfs (rw)

/dev/mmcblk0p2 on /mnt/system type ext3 (rw,noexec,noatime,errors=continue,data=ordered)

/dev/loop0 on / type squashfs (ro,noatime)

tmpfs on /dev type tmpfs (rw,mode=755)

devpts on /dev/pts type devpts (rw,mode=600)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

usbfs on /proc/bus/usb type usbfs (rw,devuid=1000,busuid=1000,listuid=1000)

debugfs on /sys/kernel/debug type debugfs (rw)

tmpfs on /mnt/asec type tmpfs (rw,mode=755,gid=1000)

tmpfs on /tmp type tmpfs (rw)

/dev/block/mmcblk0p1 on /mnt/rawfs type rawfs (rw)

/dev/block/mmcblk0p2 on /mnt/system type ext3 (rw,nosuid,noexec,noatime,errors=continue,data=ordered)

/dev/block/mmcblk0p3 on /cache type ext3 (rw,nosuid,noexec,noatime,errors=continue,data=ordered)

/dev/block/mmcblk0p4 on /data type ext3 (rw,nosuid,noatime,errors=continue,data=ordered)

none on /dev/cpuctl type cgroup (rw,cpu)

tmpfs on /dev/shm type tmpfs (rw)

Nothing there (was to be expexted i guess), on the screen I had a message saying my harddisk was damaged and needed a reformat.

Don't know if this helps, but maybe this tells something.
[Gen8 Android Development] $aur0n:
I'm working on kernel today, but I will spend some time on initramfs and will try to do universal one for A70S and A70H.

In A70H those disk are old school HD (spinning etc) - not ssd one?

Please reformat the disk to SD card style (unless for testing) - people are without that to confused, to use spare swap partition etc.

How do you guys think (general question): should we change third partition of sdcard/hd from ext4 do vfat?

We lose some features (rights for example, probably endurance) - but when people put this card to PC they will probably see (not tested by me) normal disk. And there is slight chance it can be mounted on stock OS (also not tested) - anyone cat check those things btw?
[Gen8 Android Development] $aur0n:
Dev looks ok but modules ;) not even close.. THX! anyway
[Gen8 Android Development] HerrieMan:
Some answers:

hd is old-style, can hear it spinning up all the time.

ext4 or vfat, i would prefer to have ext4, I have all my data on my linux-fileserver so mounting and transfering to ext4 won't be a problem. But I can imagine that vfat would also be good for all the users wanting to connect the drive to windows.

Just as a test I did again create some partitions:

Device Boot Start End Blocks Id System

/dev/sdd1 1 1 8001 82 Linux swap / Solaris

/dev/sdd2 2 133 1060290 83 Linux

/dev/sdd3 134 30401 243127710 c W95 FAT32 (LBA)

And created the corresponding file systems on them (mkswap, mkfs.ext4 and mkfs.vfat).

Tried to mount any of these via the terminal emulator on my archos (swapon /dev/sda1, mount /dev/sda1 etc.), but that wouldn't go. First thing is that I only have the following devices present:

/dev/block/sda and sda1

/dev/block/vold/8:0 and 8:1

so this doesn't seem to be a real representation of the partitions on the disk. And secondly each time I got a 'permission denied', most likely because my device is not rooted (i'm still on stock kernel, not the SDE).
[Gen8 Android Development] $aur0n:
Loop of what?
[Gen8 Android Development] sublimejosh2000:
Loop

The loop is as follows..

I boot up in Dev mode, it says its upgrading, gets to 8% then mounts /data and boots to Rootfs, when it gets into the Home screen, everything loads, but my Touchscreen is not working, and a force close is on the screen "Process System is not responding" I cannot do anything but I can see it...

Then all I can do is manually power it off, and when I boot it back in to Dev mode, it goes through this process all over again...

Any ideas?
[Gen8 Android Development] $aur0n:
You've probably reset the device before it finished to unpack upgrade - "the" black screen you wrote was just probably display fade out. From what you wrote it looks like you rebooted device manually but it should doit by itself. So be patience next time and read, please - read what is written.
[Gen8 Android Development] sublimejosh2000:
Patience is a virtue...

I wondered because i had actually waited for 20 minutes on that black screen waiting for the reboot, so I fugured something got stuck.. I will try again after I restore my backup. Thanks.
[Gen8 Android Development] $aur0n:
20 minutes is certainly too long - unless you have extremely slow configuration. I've made this upgrade on quite slow sdcard (my test one) and it took exactly 5minutes after file finished copying to /data/UrukUpdate to device auto-reboot.

But since update (after reboot) stuck ad 8% - it looks like only 8% of file has copied. Are you sure you have at least 140MB free on root partition and 280MB on /data/ (on data it has to be twice as much free space as update weights)
[Gen8 Android Development] sublimejosh2000:
Yes I have enough space

I copied the file to my SDcard first, then used "cp -rp ...." command to move it to my /data/UrukUpdate/ folder....

EDIT: Arg.. Maybe i didn't.. Stupid Swap file....

YEEEAAAPP... stupid swap file had my "/" with only 100 mB free... i turned off swap, and tried it again.. looks like better results... Maybe these free space requirements should be noted first :)
[Gen8 Android Development] cjdalessio:
Weird. Went from 0.6RC1 to the full 0.6RC2 (not upgrade) and it no longer mounts any media storage (no /sdcard, etc). the 14.5GB on the sdcard mounts fine, just not the internal it seems.

I upgraded by downloading direct to /data/UrukUpdate and then going to win 4 consecutive games of foosball... (tough day at work, I know...) and finding it back up and reporting 2.1.4 (so evidently reboot and install happened). I just cleared dalvik on the outside chance that helps, but we'll see. Sitting at a black screen after that reboot now.

I was hoping to run sdcard tests with and without MediaScanner but not there yet I guess.
[Gen8 Android Development] sublimejosh2000:
Internel Mount

I am not able to my Internel SD memory after upgrade now. I do not see anything mentioning "VOLD" in the df -h listing.. in fact inside /system/etc/ directory, I don't even see a "VOLD.Fstab" file at all.. only a "VOLD.A70H.fstab"...

Did this file get removed, are we doing this a different way now?

EDIT: I did manual Mount in terminal (mount /dev/block/mmcblk... /mnt/storage) and worked fine, so I think maybe we just need to add the Vold.fstab file back into /system/etc/ directory.. Please let me know if you are going about it a different way now with this release.. But that is why we are here right, to give feedback.

EDIT:

$auron - I did a "cat /etc/urukdroid-version" command and got "UrukDroid 0.6RC2 (01.02.2011)" is this what it should say after the update and re-format of the rootFS. I am on the latest correct.
[Gen8 Android Development] cjdalessio:
Same version I have with the same missing internal storage on an a101.
[Gen8 Android Development] sublimejosh2000:
Vold.fstab

For some reason the file "/system/etc/vold.fstab" file is missing after the update. I simply copied it into the folder and it works now. I think this was mistake to be left out, but again, I am not sure if $auron was trying to use different method for this mounting...

if you have a backup of you uruk, you can find the file from that and copy it in through terminal.. into that folder making sure you keep the permissions the same. I have a working Uruk on my external and also my internal SD so I can try things out before each upgrade before I commit to one. So I mounted my Sd partition with the file and used the "cp -rp /****/*** /***/***" command through terminal. Now I see everything mounted as normal.
[Gen8 Android Development] cjdalessio:
You got the same place and replied faster than me. :) I'm on the train, what can I say.
[Gen8 Android Development] $aur0n:
It's enough to do symlink - but this should be done with mount_sdcard.sh script.

To do symlink:

su
cd /etc
ln -s vold.fstab-stock vold.fstab

If anyone of you is after fresh RC2 upgrade (and have no mounted /mnt/storage) please give me an output of

su
mount_sdcard.sh debug
[Gen8 Android Development] sublimejosh2000:
I didn't see the Vold.fstab-stock file in the /etc directory. Actually, I saw the Vold.fstab file sitting in the /system root... I just moved it from /system to /etc and everything started working fine....
[Gen8 Android Development] $aur0n:
UrukDroid - Easy Install

This information does not help - what I have written could help.

Anyway

Need a TESTERS for Easy Install of UrukDroid - it's made for 0.5 now (since I had not time to prepare full 0.6 install yet) - but it will go out with 0.6 release

UrukDroid Easy Install

This install will erase (format) entire SD card

- download this file, unpack and flash kernel/initramfs

- boot to SDE on Archos

- when asked, connect Archos to PC and transfer UrukDroid-install.tgz, properly disconnect Archos

This are all steps you need to do. Read what's written on Archos during process. Installation can be done from Windows/Linux/Solaris/another Archos - whatever.

Installation process is not fully secured yet (against malicious testers ;) ) - feedback is most welcome.

650c8aeb9e07a2ba2a388ed6da863301 UrukDroid-0.5-easyinstall.rar 121M
[Gen8 Android Development] stephen44:
i'll test tonight - but which file to download ?
[Gen8 Android Development] $aur0n:
You are faster then my internet connection - I'll update it when uploading is over ;)
[Gen8 Android Development] cjdalessio:
export PATH=/data/local/bin:$PATH
$ $su
m# ount_sdcard.sh debug
--- Running in debug mode ---
Debug: now will wait for device...
Debug: waiting 10 seconds for mount point (10 to go)
Debug: waiting 10 seconds for mount point (9 to go)
Debug: waiting 10 seconds for mount point (8 to go)
Debug: waiting 10 seconds for mount point (7 to go)
Debug: waiting 10 seconds for mount point (6 to go)
Debug: waiting 10 seconds for mount point (5 to go)
Debug: waiting 10 seconds for mount point (4 to go)
Debug: waiting 10 seconds for mount point (3 to go)
Debug: waiting 10 seconds for mount point (2 to go)
Debug: waiting 10 seconds for mount point (1 to go)
#

No stock fstab exists. Not even in /system do I see one.

# find . -name vold.fstab

find: ./proc/9760: No such file or directory

find: ./proc/10496: No such file or directory

#

C
[Gen8 Android Development] sublimejosh2000:
Giving the easy install a try.

I am going to give this a try on a brand new SD card. This will not effect my internal flash correct?
[Gen8 Android Development] $aur0n:
Thank's - it's my fault then. I've missed that requirement :/ I'll fix the upgrade package.
[Gen8 Android Development] $aur0n:
It's purely SD card install - probably in 0.7 I'll move to internal if no new SD card results will appear (or some other features/problems).
[Gen8 Android Development] sublimejosh2000:
Trying it right now :)

Easy Enough, its simple to move everything over to internal once the external is working good.

I have been saved during DEV process by having both... using the SD as test subject, and moving it to internal once I am happy :)
[Gen8 Android Development] sublimejosh2000:
Impressed!!!!

Everything went well, I have a perfectly brand new 0.5 on my SD card now:) can't wait till the GA release easy install of 0.6 or 0.7. AWESOME work $auron. OMG!! I am IMPRESSED!!!!
[Gen8 Android Development] sublimejosh2000:
Upgrade question

Can I take this fresh easy install of 0.5 and upgrade it to 0.6RC2 using your latest file that reformats the filesystem by dropping it into the /data/UrukUpdate folder?
[Gen8 Android Development] $aur0n:
Yes, but wait a second - I'm just fixing vold.fstab issue and put new upgrade.

edit: I've updated the link for RC2 upgrade (http://www.megaupload.com/?d=BZEXA2LA)
[Gen8 Android Development] sublimejosh2000:
ok :)

Again.. Great work with this Easy Install. Many people will be happy. I think having option for internal will be great, the only problem would be to have a temporary place to store the personal data on the internal (possibly on a RAM disk ??) while you do the formatting on the internal disk. I have seen RAMDisk work well in my past experience for such tasks. to preserve files during autoupgrades.
[Gen8 Android Development] digger94:
Did do this in about 14 minutes with 4GB Class 4 Card on my A43IT.

All steps worked out without any error.

Did not do copy existing applications from stock firmware.

Install screen said: UrukDroid 0.6RC2 Boot installation in progresse 100%

Did do the startup wizard configuration

Wifi Wpa2 works

Android Version 2.0.71

Archos is informing new Firmware Update Available. (did not do the update)

Installation Root explorer and Terminal Emulator.

did do the iobench test.

------------------- Please report this data ---------------------

Your throughput score is: 4157.8

Your metadata score is: 2197.2

localhost,128M,1537,67,5514,7,4311,5,2382,98,16395,10,45.2,0,16,54,1,+++++,+++,32,0,54,1,+++++,+++,32,0

SDCard by SA04G (0x0:) manufacture date 07/2009, oemid 0x544d

-----------------------------------------------------------------

Did do all on Ubuntu 10.10 64-bit.

ADB: Ok

Mounting all partitions when USB connected.

It seems that the system is a bit slower after the "easy install" then when installed UrukDroid 0.5 from procedure.
[Gen8 Android Development] sublimejosh2000:
Easy Install with 0.6 GA

Can't wait for the 0.6 easy install :) I can't believe how easy you made this... You have gone above and beyond this time.
[Gen8 Android Development] $aur0n:
Please post those IObench results to proper thread...

@digger94: This is Uruk 0.5 (even so while install it claim's 0.6RC2 - I wrote it clearly) so IT WILL inform about possible OF updates.

And there is no way EI (easy install) can be slower/faster then normal install.
[Gen8 Android Development] digger94:
Did do so Today, 06:25 PM

Missed that one, SORRY.

Just giving some information about my impressions after install. Better useless information then no information at all.
[Gen8 Android Development] $aur0n:
Ok sorry - I've used perhaps to much capital letters ;) Cheers!
[Gen8 Android Development] cjdalessio:
No worries here in the goofs. That's why we test.
[Gen8 Android Development] nenadr:
vpn (both pptp and openvpn) issues in 0.6RC2

@$aur0n:

I've just upgraded to 0.5 today from 0.4.1, and after a couple of hours from 0.5 to 0.6RC2 (settings->?->Version say: 2.1.4) , and everything is working fine, except VPN:

now both pptp service and openvpn service can't connect (and they both connect when I'm in stock 2.1.04 archos firmware).

both logcat logs for pptp and for openvpn complain about "unsupported address family" when PPPoX socket shoud be created, and connection fail.

it looks to me that tun.ko doesn't register certain sockets families needed for framework's mtpd to be able to create tunnel.

do you think it is worth to try to extract tun.ko from stock archos, and put it insted of uruk's tun.ko ?

any chance that can be solved in some near future (so I can finaly boot only to urukdroid when I'm out of office) ?

keep up the good work !

P.S. Tutorial/scripts on 3G support for uruk is posted in separate thread, take a look if you have interest/time.
[Gen8 Android Development] nenadr:
usbnet.ko missing further modules

@$aur0n:

I've experimented a bit with a usbnet.ko and USB cable tethering to Android phones that do USB tethering using RNDIS, and it seems that usbnet.ko is just a core module, and that we need additional modules cdc_ether.ko and rndis_host.ko in order to get usb0 network interface needed for tethering

relevant kernel config for 2.6.31 kernel for this modules is:

CONFIG_USB_USBNET=m -----> usbnet.ko (it's here already)

CONFIG_USB_NET_CDCETHER=m

CONFIG_USB_NET_RNDIS_HOST=m

and I believe that they exist in 2.6.29 also.

Could you please enable them (include them) in next 0.6RC release if possible ?

Thanks
[Gen8 Android Development] cajl:
great idea nenadr !

i have a huwai dongle 3g !
[Gen8 Android Development] solune:
Hello,

Here come UrukConfig v0.6 !

What's new ?

- news icons to fit with new UrukDroid design :)

- new tab : Informations who give fews infos (more to come) and 2 tools : force update and possibility to hide/show softs buttons (thanks to jerry101 in this thread)

- change in tab "options" now refresh tab "Services" when come back to it

- new tab "Backup" but nothing inside for now, still in todo list.
[Gen8 Android Development] stephen44:
cool - i'm doing some testing - should be able to test in 10 minutes or so
[Gen8 Android Development] stephen44:
is this the right file - downloads in windows as a 106 kb file and does not look different from last version ? - no tabs or anything ?
[Gen8 Android Development] solune:
No file is 149 Kb and it's the right one in my post. Don't know why you don't have the same ?
[Gen8 Android Development] stephen44:
weird - this time downloaded 150kb - oh well - sorry
[Gen8 Android Development] $aur0n:
Ok - I've added this modules - but now we need to check if it won't brake compatibility - that sometimes happens with few kernel changes :/
[Gen8 Android Development] $aur0n:
I was just looking at soft button settings yesterday ;) - nice one. Sadly it's RO value and can be set only during boot time - but i'm not sure if it isn’t enough to restart just UI... checking.... nope it does not work...

Since it's Uruk - you don't have to do /data/local.prop file - you can use one from /system/build.prop or /default.prop - but I guess it's no different. Why changing this setting takes so much time? - just curious..

How do you reboot archos? (/system/bin/reboot ?)

While buttons are on top - your information screens is to big and does not show entirely - so it should be scrollable.
[Gen8 Android Development] solune:
Ok it's noted that build and default.prop have same role :) Too bad restart UI don't work that would be faster to switch.

It take time because I've problem to write in /data/, can't do it directly from java. So I do a touch in su -that create it if not here already, I apply right on file, after I'm reading file (because it can exist and contain others parameters than button), searching line and recreate file with or without file button.

As we already see with services su command in java program are much longer than make them in terminal. Dunno why :confused:

Yes I reboot with /system/bin/reboot, can't do it in java because it's system command and it's forbiden to use it without many restrictions :rolleyes:

Right I'll correct that :)
[Gen8 Android Development] stephen44:
so I've been testing this since this morning and have probably tried different permutations 20 times

1) very small - on the UrukDroid Install Page - "found installation file. Checking consitency" should be (sp) consistency.

2) not so small

if you install without copying the data partition - you seem to have no problems

if you install however and copy the data over (it has market etc installed) at some point on a reboot get the " failed to mount ......" error

I have seen ".data /dev/mmcblk2p3" or mmcblk2p2

I have seen it after installing something from market on the archos boot - or even just rebooting Uruk 5 times in a row - going into archos in between and doing nothing.

I have tried to tie it down to an action - but i cannot. Other people who copy the data partition over seem to report this I believe to.

I will continue to try and tie down to a cause - but for now that is what i have found.
[Gen8 Android Development] Mod57:
Easy install

$aur0n, I thank you for all the work you guys have done to enhance our Gen 8 devices. I know very little about Linux and haven't been real successful loading UrukDroid the conventional method. I did get to try UrukDroid for the first time using the Easy Install method. All I can say is wow it is very fast, this is what I'll be running once it is ready. As for now I don't have it installed, it would run perfect until I rebooted. On reboot it would lock up I had to force restart - tried several times no luck. I reinstalled a couple more times same results. I'm just a rookie lurking in the development thread with little to contribute. The easy method is directed toward people like myself so I shared my results. Again thanks.
[Gen8 Android Development] $aur0n:
Hi and thanks for all support.

Ad1 - fixed - that's easy ;)

Ad2 - I'll try to do some more tests - but I really need some way to reproduce this error for debug purpose - otherwise I may just guess. I've seen few other people claiming that using market somehow trashed their systems...

I can prepare special kernel/initrd and perhaps this will tell us (when you will have this mounting problem) what's going on, on system level.

Does this "Failed to mount ...." are gone after few reboots or it's permanent. Have you tried to mount this broken partition under Linux (LiveCD or virtual system for example)?

btw. I'm currently on some kind of vacation (for this week only) - so I don't have access to all my tools (that's also refer to dvb PM question ;) ).
[Gen8 Android Development] stephen44:
so when i mount the "broken" sdcard under ubuntu and use disk utility - is fails to recognize the partition format - like it is totally corrupt..

at the moment i have a totally stable version with a copied data partition - all i have done different is after i get into full Uruk the first time - i dismounted the sdcard via settings before first reboot or power off.

i have installed apps in both Archos and Uruk. I have "hard rest" - i have rebooted trying to time it whilst it is updating multimedia etc etc.

I cannot break it :confused: - perhaps this is a clue ?
[Gen8 Android Development] $aur0n:
1) You unmounted only /mnt/storage of sdard? right?

2) You had always error in mounting /data or it was sometimes error with mounting /rootfs during boot. So concluding - witch partition happened to get corrupted?
[Gen8 Android Development] stephen44:
i just used the unmount sdcard in the settings widget

i have seen mmcblk2p2, mmcblk1p2 and mmcblk2p3 (not sure of last one there was a 3 in it) - but yes i think data - for example

got "waiting for external devices" "failed to mount rootfs /dev/mmcblk1p2 (0)"

still can't break - i am throwing everything at it

next is to enable swap - which i just realize have always had on b4
[Gen8 Android Development] $aur0n:
Ok I've added those modules - kernel looks stable so I'll put this in 0.6.

If you think 3gservice is mature enough - I can add it to next release (you just need to solve teether script changing is some nice manner)

One more thing - tun.ko (stock or not) is not responsible for openvpn failure. So changing it is pointless.
[Gen8 Android Development] nenadr:
$aur0n, tnx for the RNDIS modules - waiting for your announcement of RC3 so I can continue testing with them !

Regarding tun.ko: i saw almost same error regarding "unsupported address family", trying to connect pptp and openvpn on uruk, and that "pointed me" to tun.ko, used for both tunneling methods by mtpd.... obviously I was wrong ;(
[Gen8 Android Development] stephen44:
it's nice - i like the fact i can now change swap file size and swappiness - so i can easily do some performance testing.

small thing - icon is very small on A101 - both in app manager and on desktop

but good job !