yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] nimrodity:
ok,looks like i had an old 0.2 version.

I downloaded all 3 files again.

But again,its only fine till i edit the init.rc .

But this time no missing launcher only a total black screen.

I have only one 4gb ext4 partition so i changed

my init,rc like in first post

"

# 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

"

and data folder is there,so why does nothing happen.

Another question,since i have 0.2 and i read something about automount,do i even have to change the init.rc .

Could it be it starts from the sd itself only by copying the data,but to be realistic i doubt it.

Right now my init,rc part looks like this

# 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
[Gen8 Android Development] soldieroftheone:
When I run this command # chown root:root /system/bin/mount_sdcard.sh

it says file is invalid or no such directory but I see the file in root explorer what I am I doing wrong?
[Gen8 Android Development] soldieroftheone:
YES YES YES! IT WORKED! Thanks so much @auron for your efforts I can now see my 3rd partion of the sd card. You guys are the best. Thanks for all that have helped! Keep of the good work.
[Gen8 Android Development] Kashban:
Problem mounting USB devices

Since changing to boot from sd card, I'm not able to mount any USB storage device. I tried both fat and ntfs, neither works. In the log something like this is written:

/dev/block/vold/8:1 failed to mount via NTFS (No such device)

Volume volume_external found no suitable devices for mounting :(

Probably some problem with the vold script. Any hints?
[Gen8 Android Development] cnewsgrp:
Can you or someone who had success take 10 minutes to post the exact steps to get this working?
[Gen8 Android Development] ki8mju7lo9:
it's already done=)

I follow these and my device is working great now
[Gen8 Android Development] sweetypie:
@cnewsgrp

Having read 35 pages (with much duplication of quoted posts) I don't think you should be attempting Step 3. If you are really following the steps you say you are following in your earlier post (with one exception) to boot into Developer Edition, you should be getting su ok. If you're not, then you've not rooted your Archos properly. I recommend you go back to the beginning and start again - forget Step 3 for now. Only when you can get su after Step 2 should you attempt step 3.

By the way, to get to the Boot Menu, it's Vol Down and Power On, not Vol Up (or Vol+, as you said).

I just rooted my A101 earlier today, following the instructions in post 1.

I spent 2 days installing Ubuntu from the desktop installer, onto my Windows 7 laptop, and playing with the commands before I attempted the Root process. My biggest difficulty was in finding how to create a root password - all the chat in Ubuntu forums is very preachy, telling you not to do this, for all the reasons we all know. Yeah yeah, I just want to get it done. Once I'd found out how to get proper root, things moved more quickly.

Anyhoo, I decided only to go to step 2 for now. If / when that's successful, then I'll think about Step 3.

Just a couple of questions, and one problem.

Problem (which I've not seen in 35 pages) - no more Bluetooth (in Developer Edition with root). My bluetooth just won't turn on. It still works fine in Normal Boot.

I use Root Explorer (been using it for 12 months in my rooted A5IT), and it takes superuser priviledges perfectly. Better Terminal Manager lets me su ok.

Wifi works ok. It's just Bluetooth that won't turn on.

I used the 0.2 version (of yesterday morning), so I guess it's the up to date version. Is the bluetooth bit missing from the kernel?

Performance:

I expected poor performance because:

1 - I've only used a 16GB Class 4 (allegedly) card. I'm not bothered about performance right now, I just wanted to make sure I'd got the method right.

2 - No Step 3 yet.

My "stock" Quadrant performance was about 1400. Now it's gone down to just under 1300. I guess, with a decent card, and Step 3, that would improve?

Before I attempt Step 3, I wanted to ask if I'm the only one with a Bluetooth problem. Or is this one of Donald Rumsfeld's "Known unknowns"?

Apart from that, everything else seems to work.

Thanks to the Dark Lord for all the hard work.
[Gen8 Android Development] cnewsgrp:
Its working for me now. The issue for me was that I was not on 2.0.71 firmware version. I retried same steps after upgrading firmware to 2.0.71 and it works! with one issue

I am unable mount the internal or external sdcards on USB anymore. Here is the error message I see

"there is a problem using your device memory for usb storage"
[Gen8 Android Development] bthoven:
ok..somehow..I now can't boot from my stock Android. I believe the last thing I did was probably pulling out the usb cable before it actually unmounted..

Now it is still on Archos flash screen for very long.........:(

update:

OK, now I can boot my Archos from stock droid & and I start redoing the rooting process again. I don't know why I can't format my partitions to EXT4 by command line, it always revert to EXT2. So I use Parted utility to format them as EXT4 instead and it works. Any harm by not be able to put ^huge_file parameter when I format with Parted?

The other problem now is when I plug usb to my Archos, it won't mount Archos70_rec volume, so I can't copy zimage and initramfs.gz into it --> can't flash both files!

Using parted to check the Archos70_rec partition, it shows a red flag with exclamation mark! in front of the partition. So now I don't know what to do next. Please someone help help..
[Gen8 Android Development] bthoven:
Here is how I get the root password in ubutu

- type "sudo passwd"

- enter any new password twice

- type "Su"

- enter your new password

You will then in root mode and can continue your step 3.

It took me a lot of google search before I found this. Good luck.
[Gen8 Android Development] cnewsgrp:
I am unable mount the internal or external sdcards on USB anymore. Here is the error message I see

"there is a problem using your device memory for usb storage"
[Gen8 Android Development] cnewsgrp:
Install Instructions

STEP1)PREPARE SDCARD

########## CREATING PARTITIONS ON SDCARD #########

$su

root@cm-xpsm1330-linux:/home/xpsm1330/archos# fdisk /dev/mmcblk0

Command (m for help): p

Disk /dev/mmcblk0: 8166 MB, 8166309888 bytes

Command (m for help): n

Command action

e extended

p primary partition (1-4)

p

Partition number (1-4): 1

First sector (16-15949823, default 16):

Using default value 16

Last sector, +sectors or +size{K,M,G} (16-15949823, default 15949823): +500M

Command (m for help): n

Command action

e extended

p primary partition (1-4)

p

Partition number (1-4): 2

First sector (1024017-15949823, default 1024017):

Using default value 1024017

Last sector, +sectors or +size{K,M,G} (1024017-15949823, default 15949823): +1G

Command (m for help): n

Command action

e extended

p primary partition (1-4)

p

Partition number (1-4): 3

First sector (3121170-15949823, default 3121170):

Using default value 3121170

Last sector, +sectors or +size{K,M,G} (3121170-15949823, default 15949823):

Using default value 15949823

Command (m for help): p

Disk /dev/mmcblk0: 8166 MB, 8166309888 bytes

/dev/mmcblk0p1 16 1024016 512000+ 83 Linux

/dev/mmcblk0p2 1024017 3121169 1048576+ 83 Linux

/dev/mmcblk0p3 3121170 15949823 6414327 83 Linux

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

############# FORMATING SDCARD ##################

root@cm-xpsm1330-linux:/home/xpsm1330/archos# mkfs.ext4 -O ^huge_file /dev/mmcblk0p1

root@cm-xpsm1330-linux:/home/xpsm1330/archos# mkfs.ext4 -O ^huge_file /dev/mmcblk0p2

root@cm-xpsm1330-linux:/home/xpsm1330/archos# mkfs.ext4 -O ^huge_file /dev/mmcblk0p3

############# PREPARING SDCARD ##################

root@cm-xpsm1330-linux:/home/xpsm1330/archos# mkdir /tmp/sdcard

root@cm-xpsm1330-linux:/home/xpsm1330/archos# mount /dev/mmcblk0p1 /tmp/sdcard

root@cm-xpsm1330-linux:/home/xpsm1330/archos# pwd

/home/xpsm1330/archos

root@cm-xpsm1330-linux:/home/xpsm1330/archos# cd /tmp/sdcard

root@cm-xpsm1330-linux:/tmp/sdcard# ls -l

total 12

drwx------ 2 root root 12288 2011-01-08 23:04 lost+found

root@cm-xpsm1330-linux:/tmp/sdcard# tar -zxf /home/xpsm1330/archos/rootfs.tar.gz

root@cm-xpsm1330-linux:/tmp/sdcard#cd

root@cm-xpsm1330-linux:/home/xpsm1330#umount /tmp/sdcard

STEP2)FLASH INITRAM

Poweroff. Insert SDCARD

reboot Archos70, hold up or down volume key until you see Recovery menu,

choose "Recovery System"->"Developer Edition Menu"->"Flash Kernel and Initramfs",

connect Archos to PC and copy initramfs.gz and zImage to device

Reboot and hold up or down volume, choose "Developer Edition".

You should see all yours apps etc. - it should look like your Archos , but with su/superuser.apk etc. (check it on terminal emulator by typing "su" and enter).

STEP 3 & 4) See Step 3 and 4 in post # 1
[Gen8 Android Development] liutszho:
It seems that cellphone bluetooth tethering is broken while using this, crashes.

When I boot normally instead of rooted, bluetooth tethering works.
[Gen8 Android Development] hurrpancakes:
Somewhat unrelated: I think you should put the name of this project in the title of the tread.
[Gen8 Android Development] $aur0n:
Your completely right - I'll make that statement more visible in first post since people tent to miss this aproach.

It can one or another (Up OR Down) - check it ;) and pressing both boots straights to Developer edition.

Yep - same here, haven't noticed it before - will write it as an error, and take a look.

Thx!
[Gen8 Android Development] $aur0n:
Check if this Linux you use have Ext4 capability at all...

You can't use "huge_file" feature, but because it' can't be excluded during format it not necessary means it will be used. Do format and check from root

dumpe2fs /dev/sdb2 | grep huge_file

If you change /dev/sdb2 to correct. formatted partition - this will show you if it was formatted with huge_file options (if output of above line will be empty - your good to go).
[Gen8 Android Development] $aur0n:
Well - your probably right - done ;)
[Gen8 Android Development] $aur0n:
It can be both, or only because you still have /data partition on ext3. Definitely moving data to ext4 will help. As a matter of fact, moving /data to ext4 is essential to gain some speed - since only this device was planned to be writable.

And - concerning thread cleanups - I don't think forum (as a communication medium) gives good enough tools to maintain it's cleanup. Probably after Uruk (and if) became more mature, it will requires some other threads/wiki/page - like for now, I'm working on distribution and still willing to help - to everyone who ask, not scream ;)

ps. Blue-tooth problem is connected to kernel issues - probably know how to fix it - wait for 0.3 (see changelog in first post)
[Gen8 Android Development] Kashban:
Read is enough for me... just want to connect ntfs volumes via usb host port to access large movie files. Since I'm 99% using Windows all my drives are formatted with NTFS.
[Gen8 Android Development] TonnyVanmunster:
The amount of Archos 70 ITs with 250 GB HDD is rapidly increasing now. Does anybody know how to root the 250 GB version ? I have read all of the above instructions for the 8 GB version, but I can't figure out what to do / change for the 250 GB version.

Any help please ?
[Gen8 Android Development] bthoven:
ok. Sorry, it was my post.(#100). I have removed those content that may have confused someone (and myself)....
[Gen8 Android Development] bthoven:
Could someone help me. It seems my Archos partition named Archos70_rec has some problem. So now Ubutu can see the partition but can't mount it. So I can't copy zimage and .. for flashing.

When viewing this partition in Parted, it shows a read circle with ! mark. I can't repair it.

What is this partition? How can I make it mount again?

Thanks..
[Gen8 Android Development] $aur0n:
Do you know something about Linux? - to do some basic instructions? I need somebody with that knowledge to check few things and reformat internal HD.
[Gen8 Android Development] liutszho:
Were these steps necessary to get the Archos Video app and File app to recognize and mount the third partition of the microsd?

I have the third partition mounted on sdcard2 but it is only browseable in the app File Explorer or Root Explorer.
[Gen8 Android Development] $aur0n:
Replace /system/bin/mount_sdcard.sh with this and reboot - I’ve updated today this script, so it should work even without /mnt/storage/sdcard directory.
[Gen8 Android Development] cnewsgrp:
there is a problem using your device memory for usb storage

$aur0n: Can you please help with above issue? Can it be cause because I am using 8gb card? I have three partitions? You can see the steps I did in my earlier posts.

This only happens when I boot using developer edition. If I boot normally I can see everything fine.
[Gen8 Android Development] sokar24:
Wow i just installed this and my quadrant score went from 1370 to 1805 with a class 4 16gb card! Absolutely awesome... all thanks to ext4 i quess...

Took me a while to install though, i dont have a cardreader......... and i have ubuntu running in vmware...

And thanks for your work sauron!
[Gen8 Android Development] sokar24:
Btw $aur0n if you bring us 0.3 how will we upgrade? Do we have to do the whole process over again?
[Gen8 Android Development] sweetypie:
it's appreciated

Thanks $aur0n. I didn't mean to preach, I just wanted to emphasise the value of what you're doing here.

I was thinking more about this, this morning. It's easy to forget that this forum is "XDA Developers". I think it's reasonable for people who try stuff out here to have at least a basic knowledge of the OS in question.

The difficulty is that people in the Archosfans forum are posting links to this thread, but I'm not sure it's ready for "the masses" yet, not because it doesn't work, but because, due to the Linux involvement, it takes a lot of explaining.

I'm beginning to think that the Archosfans forum is probably the place for "An idiot's guide to Linux, and Rooting". They already have the whole complementary Forum / Wiki / Moderator thing working well (including housekeeping tools).

This Forum is clearly the "Engine Room" of development.

There are people waiting for a "Rooting Gen 8 for Dummies" solution in that Forum. I think I'll canvass some feelings over there, about what they can do to help prepare for rooting their devices, while waiting for that solution. Like learning some Linux.

Thanks again for the feedback, if I had an HDD model, I'd gladly do your testing for you.

Looking forward to 0.3.

By the way, what's the origin of "Uruk"?
[Gen8 Android Development] $aur0n:
I'm aware of this problem, but that's not really a problem for me (since I drop on Archos everything thru wifi and ftp/ssh) - but I'm currently writing some service system for Uruk 0.3 to enable/disable some kernel/system features easily.

I think that this is because Archos (this is the way my android cellphone works) tries to "unmount" all SDCARD partitions to show it over USB. Since you booted from this card - it's impossible to umount it - it's not really a bug then, it's just they way it works. But someone have to test it - it's theory (boot stock OS, put other sd card, mount it - open file any on it and try to connect it to PC).

Are putting files ON Archos over the wifi/web is so bad? (I'm just asking - not criticizing)
[Gen8 Android Development] $aur0n:
Uruk-Hai? You know Sauron - Orcs, orcs - uruk ;) (that Sauron stuff is another story from Amiga Scene times...)
[Gen8 Android Development] sweetypie:
:D Ugh ...

Looks like I'll have to read the book again. I forgot all those details. You don't get them from the movies. Maybe I should have called myself preciousssssss ...
[Gen8 Android Development] cnewsgrp:
Not at all. I did not know if thats the way its supposed to work. I feel a little better now :D

How do you ftp file over wifi/ftp? Is there a link I can look at. Maybe I will start using that now.

Thanks again for the response.

BTW: I did everything and its all working now but I am not still clear what I did.

Start/Beginning: I had a 2.0.71 + SDE installation.

End: I have this installation

Questions: What happened to all the apps that I had originally installed in 2.0.71? Are they still there and did they get copied over? I see the same apps that were there before.

If I boot "normally" without sdcard and delete an app, will it get deleted for developer edition as well?
[Gen8 Android Development] $aur0n:
There is already stock (Archos) ftp server - you can start it by, /usr/sbin/proftpd_helper.sh but it probably requires some /etc/shadow, /etc/passwd changes.

I'm using QuickSSHd from market (it's 2 bucks or so) but you can install sshd server manually - look for "dropbear ssh". Than you can use WinSCP or something like this to manage all your files on archos from PC. On Linux you can even mount it as a disk over ssh.

If you performed all 4 steps, you have a COPY of applications from stock firmware. So your changes on Archos Android will not appear on SDE version on vice-versa.
[Gen8 Android Development] sokar24:
Is it possible to get apt-get working on this build? Or is that totally insane?

Would like to try installing vlc :P
[Gen8 Android Development] $aur0n:
Like from 0.1 to 0.2 - if you have 3 partitions probably just unpack rootfs and flash kernel/initramfs.

It is possible - but there is no guarantee it will work with vlc (or any other graphic tool) - since it's not normal X server (I don't know it's limitation...)). There is a project trying to run Vlc on Android. It would be probably much easier to run mplayer with fb output - since mplayer is command line tool.

Anyway - not much sense of porting dpkg/apt utilities here.
[Gen8 Android Development] cjdalessio:
Too bad the Uruk were Saruman's creation, not Sauron's (or Melkor's...) :)
[Gen8 Android Development] Jdbye:
No, that guide and this one both install a Developer Mode kernel/initramfs and as I understand it you can only have one Developer Mode kernel/initramfs installed at a time. However it might be possible for someone to make a boot menu that lets you choose what kernel/initramfs to run (which would be cool - I'd like to dual boot Android from SD and Angstrom)
[Gen8 Android Development] $aur0n:
It's not impossible, since there can be the same kernel for both cases - but there is needed some user interaction on initrd level (some buttons checks etc.) - like for me it's useless options for this kind of second boot, but for booting argnstrom/mameo - it would be worth to work on it.
[Gen8 Android Development] haccg:
installation went fine, booting up works, but SU doesn't

su in terminal says "permission denied", programs requiring root don't prompt for su access

any hints? ;)
[Gen8 Android Development] $aur0n:
Are you sure you have booted "Development mode"? To be certain check "df -h" on terminal (this does not required root) and see if /dev/mmcblk2p1 is mounted as / (second mount from top).

And/or check if in /system/bin/ is "su" command and if in /system/app/ is superuser.apk.

/ # ls -l /system/bin/su
-rwsr-sr-x 1 root root 26264 Dec 22 13:08 /system/bin/su
/ # ls -l /system/app/superuser.apk
-rwsr-sr-x 1 root root 196521 Dec 22 13:08 /system/app/superuser.apk
[Gen8 Android Development] haccg:
I am in developer Mode. Sdcard is mounted properly.

$df -h

Filesystem Size Used Available Use% Mounted on

/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system

/dev/mmcblk2p1 484.2M 159.9M 299.4M 35% /

tmpfs 118.9M 12.0k 118.9M 0% /dev

tmpfs 118.9M 0 118.9M 0% /mnt/asec

tmpfs 118.9M 188.0k 118.7M 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 3.8M 24.2M 14% /cache

/dev/block/mmcblk0p4 299.4M 216.0M 68.0M 76% /data

tmpfs 118.9M 4.0k 118.9M 0% /dev/shm

/dev/block/vold/179:9

6.9G 1.3G 5.6G 19% /mnt/storage

df: /mnt/secure/asec: Permission denied

Output for su search:

$ls -l /system/bin/su

-rwxr-xr-x 1 999 999 26264 Dec 22 13:08 /system/bin/su

$ls -l /system/app/superuser.apk

-rwxr-xr-x 1 999 999 196521 Dec 22 13:08 /system/app/superuser.apk

$
[Gen8 Android Development] masterbox:
I am in the same situation, except for su and superuser.apk which are owned by root, and su also give me permission denied without launching superuser request.
[Gen8 Android Development] $aur0n:
You both have probably "untar'ed" it not as root - and the "+s" flag has not been set up. Or on Linux box change right to those two files, or once again untar it from root account.

chmod 6755 /system/bin/su
chmod 755 /system/app/superuser.apk

ps. Since I haven't wrote it explicite, it should be from root account - I've corrected this in howto.
[Gen8 Android Development] haccg:
used a live cd and untared without root. that must be the problem!

thanks for your help
[Gen8 Android Development] masterbox:
Yep untared without root, will correct it, thanks!
[Gen8 Android Development] masterbox:
Confirm working, thanks!
[Gen8 Android Development] hurrpancakes:
Just a heads up, frys has a 16gb micro sdhc card for $28. Would be great for this type of application.
[Gen8 Android Development] Bandage:
Great find...GREAT DEAL! I've spent that much on class 2 cards...bought one of these tonight
[Gen8 Android Development] Tzbob:
I resized my FAT32 partition on the internal memory, created 2 EXT4 partitions (root/data), modified your initramfs and got it all working!

It just wasn't an option for me to buy a Class 6+ card.

Thanks a lot for your hard work^^!

I'm still interested in arafdats(sp?)'s way of overclocking it to 1200Mhz,

I bench 2050 on Quadrant now with root/data on EXT4 on internal memory

**Setting the cpu on performance ~

2256 on Quadrant, I really love the faster UI and app loads
[Gen8 Android Development] $aur0n:
I'm still not sure if it's working... - so will wait until (if) ardatdat writes something more.

ps. Don't forget to change default launcher for something faster (Zeam or Pro) ;)
[Gen8 Android Development] Tzbob:
ardatdat has explained what he did in his topic, although my linux knowledge isn't up to kernel-level so I can't really test it lol.

Yeah I'm using zeam, removed the phone.apk and the tele...apk and benching 2350 now, everything is so fast^^
[Gen8 Android Development] $aur0n:
Haven't seen that before - I'm reading it now...
[Gen8 Android Development] Kashban:
Confirmed working too.

I have a few issues, though, regarding internal storage mounting and pc access via USB.

This is my current configuration:

Filesystem Size Used Available Use% Mounted on

/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system

/dev/mmcblk2p1 461.9M 159.9M 278.2M 37% /

tmpfs 118.9M 12.0k 118.9M 0% /dev

tmpfs 118.9M 0 118.9M 0% /mnt/asec

tmpfs 118.9M 24.0k 118.9M 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 26.1M 1.9M 93% /cache

/dev/block/mmcblk2p2 1.8G 320.1M 1.4G 18% /data

/dev/block/mmcblk0p4 299.4M 240.1M 43.9M 85% /data.old

/dev/block/mmcblk2p3 12.5G 1.8G 10.7G 14% /mnt/storage

tmpfs 118.9M 4.0k 118.9M 0% /dev/shm

fusesmb 461.9M 159.9M 278.2M 37% /mnt/storage/network/smb

Internal storage has not been mounted, despite the command in init.rc:

mount vfat /dev/block/mmcblk1p1 /mnt/storage/internal

Probably an error related to this: I cannot share the sdcard and internal storage with a windows pc anymore. The archos states an error while sharing the drives.

I will catch the logcat message of this error later on.

Any idea what I possibly have done wrong with the partitions?

Regards,

Kashban
[Gen8 Android Development] haccg:
how did you remove the phone.apk without getting continuous error messages?
[Gen8 Android Development] $aur0n:
Probably you don't have created mountpoint /mnt/storage/internal.

Secondly vfat requires a bit more arguments to work correctly (user and group for example).