yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] nuthel:
Happy 2011 together,

something like "#tar xvzf rootfs.tar.gz -C /media/sd_rootfs" would be right I think?!

But what is "+s" flag?

@$aur0n:

For me it is still not running in normal boot-mode :(

Ar101 can't read the sd at startup, and always boots in not rooted partitions. The sd is still reported as damaged in normal boot-mode

It could be the 4GB class2 micro-sd, its a little bit too slow, I guess?!

/init.rc in normal boot-mode:

...
# mount partitions
mount rawfs /dev/block/mmcblk0p1 /mnt/rawfs
mount ext3 /dev/block/mmcblk0p2 /mnt/system noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p3 /cache noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid
...

df -h Output in normal boot-mode:

Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/loop0 75.5M 75.5M 0 100% /
tmpfs 119.1M 0 119.1M 0% /dev
tmpfs 119.1M 0 119.1M 0% /mnt/asec
tmpfs 119.1M 64.0k 119.0M 0% /tmp
/dev/block/mmcblk0p1 31.8M 11.9M 19.8M 38% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/block/mmcblk0p3 29.6M 1.4M 26.7M 5% /cache
/dev/block/mmcblk0p4 299.4M 34.7M 249.3M 12% /data
tmpfs 119.1M 4.0k 119.1M 0% /dev/shm
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/storage
df: /mnt/secure/asec: Permission denied
fusesmb 75.5M 75.5M 0 100% /mnt/storage/network/smb

/init.rc in developer mode:

...
# mount partitions
mount rawfs /dev/block/mmcblk0p1 /mnt/rawfs
mount ext3 /dev/block/mmcblk0p2 /mnt/system noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p3 /cache noatime nosuid noexec
# Comment this
# mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid
# Uncomment this
mount ext4 /dev/block/mmcblk2p2 /data noatime
mount ext3 /dev/block/mmcblk0p4 /data.old noatime nosuid
mount ext4 /dev/block/mmcblk2p3 /mnt/sdcard2 noatime nosuid
...

df -h Output in developer mode:

Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/mmcblk2p1 493.8M 159.9M 308.4M 34% /
tmpfs 118.9M 12.0k 118.9M 0% /dev
tmpfs 118.9M 0 118.9M 0% /mnt/asec
tmpfs 118.9M 68.0k 118.8M 0% /tmp
/dev/block/mmcblk0p1 31.8M 11.9M 19.8M 38% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/block/mmcblk0p3 29.6M 1.4M 26.7M 5% /cache
/dev/block/mmcblk2p2 1011.4M 127.3M 832.7M 13% /data
/dev/block/mmcblk0p4 299.4M 34.7M 249.3M 12% /data.old
tmpfs 118.9M 4.0k 118.9M 0% /dev/shm
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/storage
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/secure/asec
fusesmb 493.8M 159.9M 308.4M 34% /mnt/storage/network/smb
[Gen8 Android Development] $aur0n:
That's the discussion for completely different topic - but Uruk=Orc. Only Uruk-hai were created by Saruman :D
[Gen8 Android Development] keule360:
Woooooooww, but internal memory?

First: nice work (and sorry for my bad english)

One question: I want to use the internal memory, because i don't have an class 6 sdcard. I created the partitions on the Internal memory, but what do I have to change in zImage.. or initframes to boot Android from the Internal partition and how?

Idea from: forum.archosfans.com/ viewtopic.php?f=76&t=45422&sid=6138c46db71504509c216c8cfa12f100&start=20

but there is no description or something...
[Gen8 Android Development] Tzbob:
As poster of that topic I STRONGLY advise you to wait for an official Uruk version to support this, as the Archos 70 250GB version requires this method it should be released soon.

If you really want to start it, you need to edit the init.rc(and perhaps something in the initramfs, unpack it and repack it, I forgot) file to mount your newly made partitions. Basically everything that was changed in the official android to mount on EXT4 has to be changed to suit your own partitions. If you can not to this by yourself I strongly recommend to wait for a simpler version.

If you don't know what you're doing ~ you don't have the knowledge to do anything without a risk of harming your system.
[Gen8 Android Development] keule360:
...

mhhh... i thought it would be only one or two lines i have to modify...

but thank you for the fast answer
[Gen8 Android Development] $aur0n:
Ok - I've made new release - but please, can anyone (with 2+ ext4 partitions) give it a try before I put it in first post? (there are some heavy changes in rootfs and kernel config).

Flash initramfs and zImage. Unpack rootfs.tar.gz on first ext4 partition of sdcard (on PC) - do backup first (tar will do).

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.3/initramfs.cpio.gz

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.3/zImage

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.3/rootfs-upd.tar.gz
[Gen8 Android Development] thefunkaygibbon:
Has work started on the 250GB?

I'm not trying to push anyone to doing it, just interested to know as I now have the 250GB 70.

Thanks
[Gen8 Android Development] anurbanlegend:
Is anyone else having trouble with the device waking up from sleep? More times then not when I try to turn on the screen nothing happens and I have to hold the power button till it shuts down and then reboot.
[Gen8 Android Development] cnewsgrp:
Is there a migration path from 0.2 to 0.3? I finally have everything working after 3 days of hard work :)

Edit: I did not read your post correctly. We just need to do this? Also is there an order

1) Flash initramfs and zImage

2) Unpack rootfs.tar.gz on first ext4 partition of sdcard (on PC)

Does this mean the apps and settings will stay as is?
[Gen8 Android Development] sweetypie:
I'm guessing the migration path is:

"Flash initramfs and zImage. Unpack rootfs.tar.gz on first ext4 partition of sdcard (on PC) - do backup first (tar will do)."

?
[Gen8 Android Development] chisco:
working fine here... mmcblk2p3 mounts at boot now

powering on bluetooth hangs device.

DMESG:

...

Enabling CTS wakeup for UART1

(btdrv): st_register failed -1

...

thank you
[Gen8 Android Development] TonnyVanmunster:
I have some Linux knowledge, but probably too limited to experiment with my Archos. Sorry

Best regards and keep up the good work

Tonny
[Gen8 Android Development] $aur0n:
Hmm strange - it was working already :/ need to recheck...

Edit: Ok fixed once again - just re-flash zImage
[Gen8 Android Development] $aur0n:
All this is correct - but WAIT - I ask just to check it (to see if there is no problems - like with bluetooth now), I will put links and info in 1 and 3 post of this thread when it will be ready. Cheers!

edit: Since I have quite a lot of positive feedback UrukDroid 0.3 is now latest "stable" ;) version - main page edited.
[Gen8 Android Development] Big-A-Rob:
I have the same problem. I contacted Archos customer support because I am wondering if that is a "feature" since it only happens when it is not plugged into the charger (at least mine only does it when it is not on the charger). Haven't heard back from them yet.
[Gen8 Android Development] Big-A-Rob:
I have a quick question for you guys. Has anyone tried flashing a custom recovery like clockwork or Amon Ra? I have the 250gb with the rooted SDE but have not done the partitioning yet. I was curious if you could flash clockwork with ROM manager and then partition the HDD from the partitions menu in clockwork recovery? Any thoughts? Thanks.
[Gen8 Android Development] chisco:
ok, it works now.

thank you.
[Gen8 Android Development] DougEdey:
Firstly, thanks for this work!

But I'm having problems with wireless being extremely slow....

Sorry hit post too quickly, I'm getting 10Kb/s throughput, but never had this problem before, iwconfig doesn't show the connected speed.

I'm trying out 0.3 now to see if it helps

EDIT2: SCP is fine over wifi (well, 835kb/s), but internet access is slow, only affects the archos, does it have a custom DNS or something set?
[Gen8 Android Development] soldieroftheone:
@auron, Can't download the zimage on 0.3, it says server error.
[Gen8 Android Development] sdajzdc:
me thinks the server is down. I am not a patient man. wait...wait...wait...throw computer through window. ahhhh I feel better.
[Gen8 Android Development] $aur0n:
It appears that dropbox.com have some download limits - piece of crap. I'll put files somewhere else and update links.
[Gen8 Android Development] sweetypie:
Try here for zimage

http://depositfiles.com/files/ng4i7crfd

Thanks $aurOn for 0.3, it works perfectly so far for me. Nicely rooted, and I even got Bluetooth tethering to work.

I've still not done Step 3 and 4 for performance yet.

Question - can I use Root Explorer directly in the ARCHOS, to edit init.rc and then rename and delete /data.new? Or must I do it with the card in the PC? Permissions? I have the 3 partitions, by the way.
[Gen8 Android Development] sdajzdc:
Sweetypie

any chance you can put the other two files up also?
[Gen8 Android Development] $aur0n:
I'm putting them right now on megaupload - they have no limits (I'll try later to make one file to download - so free account won't suffer) - check first post.
[Gen8 Android Development] $aur0n:
Of course you can. And there is not need to delete anything with 3 partitions - read once again first post...
[Gen8 Android Development] stephen44:
could we have

rootfs.tar.gz

as well please

I tried this since i got my sd card in today

all went well - got into angstron ok - but after flashing hung on 2nd archos screen.

I'm going to try again using fdisk instead of disk utility in ubuntu VM

- Stephen
[Gen8 Android Development] stephen44:
ty !

downloading now
[Gen8 Android Development] stephen44:
how to setup partitions

ok - got it working

what i found is that using the disk utility in UBUNTU VMWARE player does not work

here are all the commands I used from the various posts to get it working. $aur0n - I added some steps to your posts to clear it up for everyone - hope you don''t mind ?

***************

dmesg - shows what the card is

***************************

su

fdisk /dev/sdb

p (shows partition)

d number (delete partition by number - delete all of them)

n (new partition)

p (as primary)

1 (as first partition)

1 (as first block)

+512M (as 0,5 GB size)

n

p

2

just enter

+1G (second partition done)

n

p

3

just enter

just enter (3rd partition done)

w (as write)

************************

then (note the "-O" is a capital OH not a zero)

also note the synch - not sure what is does - but it is missing from some copied steps i found - and i used it and it worked

***************************

su

mkfs.ext4 –O^huge_file /dev/sdb1

mkfs.ext4 -O ^huge_file /dev/sdb2

mkfs.ext4 -O ^huge_file /dev/sdb3

mkdir /mnt/usb

mount /dev/sdb1 /mnt/usb (or some other mountpoint if /mnt/usb does not exist)

cd /mnt/usb

tar -zxf /pathtofile/rootfs.tar.gz

sync

cd

umount /mnt/usb

***********************************

I now have it booted as my original - will now try steps 3 and 4..

at moment max quadrant is 1303 - 1st run and 1693 for 2nd

thanks everyone !
[Gen8 Android Development] stephen44:
!WOOT!

done - quadrant first run = 1550

and second run = 2175
[Gen8 Android Development] Tzbob:
Nano seems to need additional configuration before it works.

The changes in the topic below worked fine for me, perhaps you could add the terminfo in Uruk 0.4. ^^

http://xdaforums.com/archive/index.php/t-552287.html

If anyone else has problems running nano please read the topic above and make the changes accordingly, nano should work fine.
[Gen8 Android Development] soldieroftheone:
I just wanted to make mention that external drives are not being recognized. I put in my external drive and the 101 can not see it. Anyone else have this problem? Is there a fix for this?
[Gen8 Android Development] crc111:
Hello. I don't have a Linux PC! Can this be done on a Win7 or WinXP PC?

Is there a Win PC utility to format an SD card to Ext4?
[Gen8 Android Development] stephen44:
i used vmplayer from vmware (free)

http://www.vmware.com/products/player/

and a ubuntu 10.10 appliance (virtual machine)

http://www.quotrader.org/vm/ubuntu1010/

i did all the partitioning from the terminal - see my post above

- Stephen
[Gen8 Android Development] soldieroftheone:
@$auron please check out post #410 and tell me what you come up with you.
[Gen8 Android Development] stephen44:
one question i have - probably tired and confused my self

i created the three partitions - EXT4

512 mb - root

1gb data

15gb - storage

from ubuntu i can copy a file into storage - but i can't see it from the archos

i can see all my video and music files from the original install.

What am i doing wrong please ?

- Stephen
[Gen8 Android Development] Tzbob:
He's very busy, you should be patient ^^

Is the drive recognized by the official Archos Android? As I've heard only a limited amount of drives are recognized, seems to be a power issue.

A detailed description of your problem would make helping easier as well, you could add the filesystem, whether or not it is self-powered, if it works on official Archos or not,...

Don't take this offensive though! It's just easier if you provide detailed information :)
[Gen8 Android Development] sdajzdc:
according to other posts, he is aware of this problem. He never noticed because he uses a different method to transfer files. Uruk 0.3 should fix this.

PS. please read other post before asking to see if your question has been asked and answered. also remember he, $Auron, does this on his own time, unless you have donated to him he also does it for free.
[Gen8 Android Development] cnewsgrp:
0.3 did not work for me.I get a black screen after I boot using developer edition (regular boots fine ... no issues) Here is what I did.
[Gen8 Android Development] sdajzdc:
Stephen

This question also has been addressed by $Auron in earlier post. Have you tried those fixes yet. Also you may be expecting to see it in your stock file manager, it won't be. Use Astro or Root file manager. It should be in /mnt/storage/sdcard. If it is not there then try uruk 0.3 the fix has been added to it.
[Gen8 Android Development] sdajzdc:
Did you already have 0.2 installed? You needed to use a different tar file it is in his third post. Though you still should have booted to something.
[Gen8 Android Development] stephen44:
yes - I am using astro - yes - I have read the posts - yes I am using 0.3 - actually i created the folders within my "storage" partition in UBUNTU - and forgot to set permissions - hence my problems.

- Stephen
[Gen8 Android Development] DougEdey:
So I'm now on 0.3 and the wifi is still unusable, Gingerbread keyboard works though. I also cannot get gapps4archos v5 to work, the market just fails.I have reset android t stock aswell
[Gen8 Android Development] crc111:
Stephen, thanks for this info.
[Gen8 Android Development] sdajzdc:
Then I apoligize. If you could help with as much information as possible it will help. Is the directory sdcard in /mnt/storage/? Is it just empty?
[Gen8 Android Development] cnewsgrp:
Yes, I already had 0.2 running. I booted to a blank screen. I can see home, back and other buttons. Power menu also works. I reverted to 0.2

Thanks for your reply. I will check out and try 0.3 tomorrow.:)
[Gen8 Android Development] sdajzdc:
to be honest, I just got the same thing. I am still playing at the moment and will let you know if I discover anything.
[Gen8 Android Development] bthoven:
Hi,

Finally, I successfully root my Archos 70 with 3 EXT4 partitions (0.2 version).

There are two questions:

1. why after boot up, the notification bar show an icon telling me SD Card damaged?

2. when I plug it to my Winxp, it shows two drives: the stock SDCard drive (FAT32) and another drive which I can't open (the size seems to be 54x MB)?

These are normal?
[Gen8 Android Development] soldieroftheone:
Yes its recognized by official archos. It's a sandisk 16gb usb flash drive. The unrooted version recognize it as an external drive but the rooted version does not.
[Gen8 Android Development] DougEdey:
0.3 has the same launcher issue, system/apps/Launcher.apk needs to be deleted and replaced with system/app.old/Launcher2.apk

(EDIT due to auto correct on tablet)
[Gen8 Android Development] stephen44:
used chmod for permissions - all is good now - ty
[Gen8 Android Development] DougEdey:
1. You're booting normal android, you need to boot the Developer edition (power on + vol down, select developer)

2) the other drive is the SDCard, it's ext4 which XP hates
[Gen8 Android Development] sdajzdc:
now i see this. after spending two hours to come to the same conclusion.:p
[Gen8 Android Development] conan547:
thanks again for the 0.3 release, will test it tonight , usb charging is awesome
[Gen8 Android Development] Tsusai:
Any plans to use archos source code and the adhoc patch here http://szym.net/android/ ?
[Gen8 Android Development] Kashban:
Gonna try 0.3 tomorrow.

Somehow past weekend something happened to my sd card, all out of a sudden the archos stopped working with it. After a hard reset it won't boot anymore using the sd data partition. By reverting to standard rootfs from $auron I managed to revive it, but as soon as I switch over to the - now completely new - data partition on sd card, it won't boot anymore. After the second Splash screen it goes blank and that's it. Same now with the internal data, so probably rootfs has gone corrupt again.

SD card shows no errors when used in a card reader under Linux, though.

Guesses:

- running on 1200 MHz isn't stable for my Archos and corrupts sd card storage

- Copying old data to sd partition should be done without OC

- using swap space could be a problem

I'm going to redo the process of switching to sd data partition once I get hold of some spare time, hopefully this will get it back to work.

Buggers, since it worked for a few days without a hassle.
[Gen8 Android Development] N23:
0.3 is running fine and super-smooth, even got 1730 in quadrant (first run) and just lost 6% battery over night (Desire HD lost in the same time about 10%, with wifi off)!

just one problem, adb stopped working?!? i repushed the id to the adb_usb.ini and so on - the archos doesn't get recognized - it worked with the standard android...

i'm on mac - so it's no driver issue...

is someone experiencing the same problems?
[Gen8 Android Development] bthoven:
Ok. Now I got my new 8GB class 10 from eBay. I wish to clone my existing/slow 8GB to this new one (3 EXT4 partitions).

Could you recommend how to do it?

Thanks
[Gen8 Android Development] $aur0n:
Give it a try with raw copy - it may work (I don't know how different block structure it may/or not have).

But giving a try won't hurt :)

- put card in reader, and plug to Linux

- if your card is /dev/sdb (check "dmesg"), find a place where you can put 16GB of data ("df -h"):

su (or "sudo su")
cd /path_with_16gb_free_space
cat /dev/sdb >sdcard.file
- change card for new one -
cat sdcard.file >/dev/sdb

It's crude way - but it actually may work (depends on difference between two cards). Do me a favour and do on both cards "fdisk -l".

If above method won't work let me know - i'll write more secure way.
[Gen8 Android Development] $aur0n:
Yep, you are right - sorry for that, I'll fix it in a minute :/
[Gen8 Android Development] Techngro:
Plz make a Windows tutorial

Hey all. I don't have Linux, but i'd like to do this UrukDroid hack. Is there any way someone can post a short tutorial on how to get this done via a Windows PC plz?
[Gen8 Android Development] $aur0n:
Some kind of statement ;)

Since it's getting really messy here, I have to work on some cleanups. I'll rewrite instruction and try to split some work - since tzbob was kind enough to help with this job, we will probably make OC kernel out of the box in UrukDroid with other new features of course :D

Bottom line - I'll be probably less chatty for few more days :)
[Gen8 Android Development] Kashban:
Unless you find some Way to deal with the ext Filesystem using Windows, no.

Best Chance is to use a Linux Live cd (eg Ubuntu) or install some Linux into a Virtual Machine (like VM Ware Player). All this is free Stuff.
[Gen8 Android Development] liutszho:
I'm guessing I shouldn't install 0.3 now until the next release then hehe :)
[Gen8 Android Development] sweetypie:
@$aur0n

Well done on the cleanup - much easier to read. A couple of suggestions:

In your first post, at the very beginning write:

"For Changelog see second post"

"To update from earlier version see third post"

In your first post, ditch the part "Known problems:" altogether. It's historic and now well out of date. To replace it:

In your second post, make the first item the number of your next release to come, e.g. UrukDroid 0.4 (and so on), like you did before with 0.3, and include there the current list of known problems, along with "Will fix", "Might fix", "Can't fix" or whatever.

That way I can check quickly to see if my problem is already known. Then I won't have to add another post to the thread about the fact that I can't mount my external hard disk drive (reported by "soldieroftheone"). Like:

Launcher.apk issue - will fix in next release

Can't mount external drive - can't fix ever

ADB Issue - would be nice

or whatever (these are only silly examples).

Just a thought.

:)
[Gen8 Android Development] $aur0n:
Ok I've reorganized, rewritten and retested first three posts - I'm afraid I can't make it more clear :).

I've also fixed Launcher issue, iptables links, and some files to make installation easier (no need to edit etc). I did not bumped up version number for this - just replaced shared files - since it affect fresh installations only (or mainly).

I've also made brief description of UrukDroid configuration system (big name, for small things ;) ) in third post.
[Gen8 Android Development] stephen44:
Excellent job - ty !

I saw your future development plans in teh first posts...any other plans ?

again - thank you ! - Stephen
[Gen8 Android Development] DougEdey:
So whilst overall the Archos is now a lot faster, I still get fairly regular lag when opening apps. Is this due to the low RAM being cleared or excessive GCs or something? Once an app is open it's fine, but I get error messages saying an application is not longer responding, if I hit wait it'll come through fine.

I've done some Memory tests on my SD Card (16GB EXT4 formatted), I'm getting >8MB/s out of it (following your methodology in the first few posts).
[Gen8 Android Development] liutszho:
Awesome! I have bluetooth now yay!
[Gen8 Android Development] N23:
$aur0n, working adb would also be nice for debugging and so on ;)
[Gen8 Android Development] digibucc:
nvm, read only.
[Gen8 Android Development] nimrodity:
wow asolutly brilliant

with 0.3 and the new how to i managed running Urukdroid.

I got 2973 Quandrants at 1,2ghz with my standard HTC Desire SD Card dont know what class,it only says HC.

Only one thing i wanna ask.

If i start es file explorer its says no sd card avaiable or something like that,and i cant use him because of that.With 0.2 all worked.And the archos doesnt show up any external sd card either.But the app part size is 1ghz,so everything should be fine but how can i acces the third partition,or whats the Problem with es file explorer
[Gen8 Android Development] cajl:
impossible to download these 3 files !

have you anothers links
[Gen8 Android Development] soldieroftheone:
look for this file /mnt/storage/sdcard thats your 3rd partition
[Gen8 Android Development] nimrodity:
ok its there,but how can i set it up that ES File explorer sees that a sd is in and i can use the explorer
[Gen8 Android Development] 147147147:
check with "dmesg | tail" command if it's visible

I have already connect my micro SD card through the notebook original card reader.....

(I also try to connect it with another card reader)

But it can not shown under the "dmesg | tail" command

Can anyone help me ????

Thx thx thx