yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] raziiqdev:
Well, its not working again. It was working for a while, then i had to root my SGS so i removed SD card, rooted my SGS and then reinserted Sd card, now its saying Damaged SD card you have to format it, when i format it, no error message appears and nothing happens and notification area is still saying Damaged SD card.

Any suggestions??
[Galaxy S I9000 General] kms108:
What brand is it, dont tell me its a unbranded one, or a cheap ebay one, it could be a fake one, use you pc to format it fat or use the sd formatter, when you put it into the phone, unmount it then format again using the phone before use.

I have a 32gb adata class 2, 32gb lexar class 10, and many 8gb and 16gb from kingston, toshiba and sandisk in class 2 to class 6, all works.
[Galaxy S I9000 General] JJEgan:
Connect phone with USB cable in mass storage mode .

Format the SD card then run scandisk/error checking on the card .

jje
[Galaxy S I9000 General] raziiqdev:
No its not working even after formatting.
[Galaxy S I9000 General] raziiqdev:
Got myself a new Sd card and its working great for now.
[Galaxy S I9000 Q&A, Help & Troubleshooting] hakkers420:
I have the camera set to save pictures onto the external SD instead of internal, but when I go into gallery they wont show up only the pics I have previously saved on the internal SD. How can I get the photos on external SD to load in gallery?
[Galaxy S I9000 Q&A, Help & Troubleshooting] jasonchen:
it will auto scan the media files in ur external SD, once you reboot ur phone or plug then unplug the USB.
[Gen8 Android Development] sublimejosh2000:
I wish I could understand more clearly how to do this with a fresh install...

This is what I am looking to do, using it on internal... but this might be a little too complicated for me.
[Gen8 Android Development] yura-a:
What about 101?

Does this method applicable to Archos 101 model too?

If someone already have been tried it on 101, please reply with details here, if any troubles you have after installation or any changes need to be done.

Also I am curious about does anyone have tried to connect USB thumb drive to the tablet with modified rom and root access? Do we still have any issues with USB drive recognition?

:confused:
[Gen8 Android Development] svennimann:
Is this applicable for UrukDroid 4.1 and The Archos IT 35?

well great work but i dont know if i get it to work and Im a little bit confused -

is it writable in windows per media player (mtp) or per explorer or both (with ext-x driver)?
[Gen8 Android Development] shklifo:
Why not. The 101 model have the second internal flash (8 or 16GB) as the 70 S model have. To be sure just type mount and df -m on a terminal in Archos device and you will see the flash drive (/dev/block/mmcblk1p1) formated in fat32 and mounted on /mnt/storage.

I only changed the mounting point on the file init, init.rc and /system/etc/vold.fstab from $aur0n files to be able to boot SDE from the second internal flash disk and doesn't change anything else, configuration file of specific model included.

I'm still excpecting my host cable from Hong-Kong and can't try that, but i think will not be a problem.
[Gen8 Android Development] monkeydrufy:
good work

thanks:)
[Gen8 Android Development] shklifo:
I do not own your device (it is a Archos 32 IT?), but if is that model, it got a 8GB internal flash like archos 70 IT. The firmware is the same for all archos generation 8 devices (with same configuration files change), but i haven't change them (and $aur0n too i think, but he can answer himself).

So just try it, if you have no problem of understanding all the steps on the first post. You can't break anything. And if it will not work (worse case) or have other problems you just have SDE installed (you can remove it if you want) and 2 more partition on the internal flash disk with some files on them.

You can just delete the partitions and risize (increment) the first partition as from stock. In all situation we are able to boot to stock firmware.

I only change the mountpoints as i wrote in the previous posts on the files init, init.rc and vold.fstab from uruk 0.3.

So mine and $auron solution changed only on the boot partition (mine is booting form the second partition of the internal flash disk, him from the second partition of sdcard) and the application data partition (mine on the third partition of the internal the flash, him on the third partition of the sdcard). All the other files are from him (thanks $aur0n).

I've not installed yet the 0.4.1, i got little free time actually and of the market problem (if i install the 0.4.1, i must uninstall the market on stock firmware and will be not able to access it from original/stock firmware).

But if i decide to install it, i will report here.

Thanks, as i say above you don't loose anything trying to install it, only time;)

So, if i understand well your question, on my archos i'm able to access the first partition of the flash disk (it's a fat32 as from stock, only risezed in 5,5 GB) on my windows XP PC by usb connection to archos.

The second (boot partition 500MB) and the third (data application area of 1GB) partitions of internal flash disk are ext4 formated (stock ext3) and can't be mount on a windows PC, and for me have any sense mounting them on a PC.

The sdcard is accesible via usb connection (archos to PC) or via card reader. If you format it fat32 is in r/w mode (as i've done), ext3 or ext4 in readonly mode i think (not yet tried), because actually isn't out a driver to be able to write a linux partition on Windows.

From Ubuntu (connecting archos via usb) i can mount all in r/w mode (all the 3 partitions of the internal flash disk and sdcard too).

Later i will post some picture/command output (mount,ls) from Ubuntu.

In attachment a picture of the flash disk (A70S E: ) and sdcard (Disco rimovibile F: ) on my Windows XP macchine.
[Gen8 Android Development] GrandStar:
Just a suggestion.. Please be consistent with your instructions, 1 step your instructions are for linux and the next step would be for archos.

It's really hard to follow what needs to be done or how it should be done properly, considering you're messing around with the internal storage there's bigger chance of bricking your device.

I appreciate all your hard work and contributions here, it's just that it's not that user friendly.
[Gen8 Android Development] shklifo:
Just to be clear, from archos terminal you have to do only 1 thing, copy or tar the "/data" mountpoint/directory, because this is the 4-th partition of the first internal flash disk (/dev/block/mmcblk0p4) and it can't be mounted on linux via usb connection.

All the other steps are from linux (the first step, you can do it from Windows too).

There are 2 internal flash disk in Archos, /dev/block/mmcblk0 of 500MB (used by archos architecture and nobody is touching this flash disk, it's dangerous and you may brick your device) and /dev/block/mmcblk1 of 8GB which is used by the this guide to boot SDE from. So, if you are able to understand what you are doing and don't touch the first flash disk, than nothing can happens.

With that i'm in line with your thoughs, thanks. I will try to do it more simple and understandable.
[Gen8 Android Development] msticninja:
I've followed all the instructions exactly. I'm good with linux, so it wasn't very hard, but when I booted into the Developer Edition at the end, I was at the Initial Setup Screen, like it didn't mount the /data partition. Also, I can't get ES to show the file system, so it doesn't seem to be rooted. Any ideas what's going on?

EDIT: You have a typo in the init.rc the change should be to mmcblk1p3, not mmcblk1p2.

EDIT: Another typo: "dev_mount_lun volume_sdcard /mnt/storage/sdcard auto /devices/platform/usb_mass_storage/lun1 /class/block/mmcblk1" should be mmcblk2, not 1.

Now my data is there, and I can mount SD cards, but I still can't connect to a computer with a USB cable.

EDIT: All Fixed. I flashed a new kernel from http://xdaforums.com/showthread.php?t=897877 and now have USB Storage working. I used the zImage from ardatdat's kernel with your initramfs.cpio.gz and the changes I listed above. Everything seems to work perfectly, and it's way faster than it was before. I was using Ardatdat's full kernel and booting from internal memory before. When I rotated the screen it used to take almost 10 seconds to update all the icons on the home screen. Now it takes less than 2-3 seconds to update. Great work on the EXT4 conversion! If you'll permit me, I'm going to write up a guide that incorporates my experience, and of course give you full credit.

Update: Just updated to UrukDroid 0.4.1. Needed a little more customization, but usb storage worked with the default 0.4.1 kernel instead of needing ardatdat's kernel. Currently testing to see which is better. Uruk says it's kernel has usb charging enabled, a very exciting possibility, but I kind of doubt it works on the A101IT.
[Gen8 Android Development] shklifo:
Thanks for the corrections (you pay the needed attention;)), but i just modified the first post radically (easier).

Sure, you can do your own thread with your experience on the installation.

I will install Uruk 0.4.1 too, and update the first post.
[Gen8 Android Development] sublimejosh2000:
WORKING

I had to add a new line into the init.rc file, but afterwards I was able to get Uruk 0.4.1 to boot internal

***mount ext4 /dev/block/mmcblk1p2 / noatime*** - I don't htink you have this in your steps...

After I did this, it works. I also am able to see both the internal and external storage in windows.

I didn't know if you need that line or it was left out of your steps process. All I did to get this to work on an existing 0.4.1 was:

1. Move the data off the internal inside windows to a saved directory on my PC.

2. Partition the 3 partitions like you describe on the internal and formated as you describe...

3. Mount the partitions inside my VMplayer Ubuntu sdb2, sdb3, sdc2, and sdc3 (sdb was the internal formated like you describe and sdc was my 16 0.4.1 SD card fromatted using uruk already)

Su terminal CODE:

$su

***password

#

#cd

#cd /tmp

#mkdir sdb2

#mkdir sdb3

#mkdir sdc2

#mkdir sdc3

#mount /dev/sdb2 /tmp/sdb2

#mount /dev/sdb2 /tmp/sdb3

#mount /dev/sdb2 /tmp/sdc2

#mount /dev/sdb2 /tmp/sdc3

4. Copy through terminal everything from sdc2 --> sdb2 using below code and Copy through terminal everything from sdc3 --> sdb3 using below code

**CODE I used:

#cp -rp /tmp/sdc2/* /tmp/sdb2

#sync

#cp -rp /tmp/sdc3/* /tmp/sdb3

#sync

6. Add in the lines inti init.rc to mount the sdb2, and the sdb3 instead of sdc2 and sdc3

mount ext4 /dev/block/mmcblk1p2 / noatime

mount ext4 /dev/block/mmcblk1p3 /data noatime

7. Add the line into tmp/sdb2/system/etc/vold.fsatb (Which is where I mounted that..)

dev_mount_lun volume_sdcard /mnt/storage/sdcard auto /devices/platform/usb_mass_storage/lun1 /class/block/mmcblk2

**I believe in 0.4.1 it is already like this, so i really made no changes to vold.fsatb....***

Unmounted all 4 I had mounted into /tmp using terminal ubuntu

CODE (I was already inside cd /tmp/sdb2 and i had edited the init.rc and saved it):

#sync

#cd..

#umount /tmp/sdb2

#umount /tmp/sdb3

#umount /tmp/sdc2

#umount /tmp/sdc3

EDIT: after this step, you will need to mount the Archos back into Windows, and copy the files you saved into a folder on your windows PC back into the Internal Fat32 storage. This was why you backed it up in the first place.... You might have to reboot and boot into your stock OS to get the internal to mount back into Windows, i did...

Reboot and go into the developer menu

Reflashed your initramfs and Uruk 0.4.1 Zimage and booted to developers edition...

***Remember this will only work if you have a preexisting 0.4.1 on an SD card where it is formatted with #1 fat32 for dtorage #2 500Mb and #3 1G and it already has been working using $auron's method.

BIG thanks to $aron and shklifo and msticninja... I am very happy using my internal memory to boot with instead of the SD card. i will prob keep the SD card I have and use it whenever I need to boot to SD and just get a different one for Videos and Music.

JW
[Gen8 Android Development] shklifo:
I really appreciate your feedback.

But you don't need to add the line:

mount ext4 /dev/block/mmcblk1p2 / noatime

on the file init.rc, because it is present on the init file included on initramfs.cpio.gz.

If you extract the initramfs.cpio.gz attached on my first post with this command on a shell:

gunzip initramfs.cpio.gz && cpio -i -d -H newc -F initramfs.cpio --no-absolute-filename

You will find the following line:

$MOUNT -t ext4 -o noatime,errors=continue /dev/mmcblk1p2 /new-root

To upgrade to $aur0n 0.4.2 now it's really simple.

I'm preparing the new initramfs.cpio.gz. And putting the new rootfs of 0.4.2 on the rootfs of our archos (just to remember it is on the second partition of the second internal disk on device /dev/block/mmcblk1p2 mountet on /) and flashing the new initramfs.cpio.gz and zimage, when booting up on "Developer Edition" it will upgrade automatically.
[Gen8 Android Development] sublimejosh2000:
Is there a reason why we want to be on 0.4.2?

I am not having problems with Market, is there other benifits of this update?

JW

BTW: Thanks for this halp on getting to internal.. I am not sure why we wanted to not do this in the first place.. I guess because some SD cards are faster, mine is working pretty fast and I think the internal is at least class 6
[Gen8 Android Development] shklifo:
Just see on the $aur0n post about the new version log change. We will have upgraded module, new wifi, more services like samba sshd etc.

I to havn't any speed problem with internal flash. It is fast enough (with dd copying speed test got till 16 mbit/s write speed) on the internal flash and it is way faster than my sdcard class 4.
[Gen8 Android Development] sublimejosh2000:
0.4.2

Well.. I already reverted back to the origional wifi config file using terminal, and my Market is good to go.

I'm not sure that there are any major differences between 0.4.1 --> 0.4.2

If I am wrong, i think it requires to uninstall all google apps to make that upgrade, which I don't think I need to do.

Am I wrong?
[Gen8 Android Development] shklifo:
From $auron post on Uruk doesn't seem to be difference between 0.4.1 and 0.4.2, except google applications. With the 0.4.2 you can install the google staff separatly with UrukDroid-0.4.2-GoogleMarket.rar. If you have those apps allready on your 0.4.1 than nothing change, you don't need to upgrade.
[Gen8 Android Development] super_sonic:
Thanks and no problem with your methods.

My 16GB microSD card isn't very good and boot / use of archos 101 is very slow with Uruk0.4.2 installed on external SD.

Now it's fast installed on internal SD...

Maybe this help:

if can't mount ext4 partition on your linux box, you can do:

tune2fs -E test_fs /dev/sdbx (sdb2 for instance)

and then:

mount -t ext4dev /dev/sdbx /mnt/sdcard
[Gen8 Android Development] sdho:
trouble with fresh install for 0.4.2 $auron....

I was able to create 3 partition internally (sdb1(vfat), sdb2(ext4), sdb3(ext4))

I was able to move rootfs and cmd script to sdb2

I was able to flash initramfs and zImage

But I'm stuck when rebooting into SDE (the screen is all messed up)

Any suggestion?

I didn't modify init.rc and vold.stab since this is a fresh install
[Gen8 Android Development] swilleyman:
Yes this procedure works the same way on the A101. I have the 16GB version so I made the 1st partition a bit bigger but that was the only deviation.
[Gen8 Android Development] shklifo:
What model do you own?

What initrams (included on UrukDroid-0.4.2-kernel.rar) have you used? $Aur0n's or the one dowloaded from the first post?

The original file init.rc and vold.stab are ok, you don't need to change them, the mount of rootfs and application area (/data) are done from initramfs (for that i change it and upload the new UrukDroid-0.4.2-kernel.rar)
[Gen8 Android Development] menshen:
Thanks! It works like a charm! I tested Uruk firmware on my sdcard (8GB class 4) but it worked slowly than original firmware by Archos. I installed Uruk 0.3 on my flash storage and it work fast, including wifi!

I like so much than on boot the logo screen show Archos logo instead of Uruk logo.

My Quadrant score with Archos original firm from Archos was about 1300 points.

With Uruk firmware installed on flash storage I have about 1600 points.

Thanks a lot! I have to test a bit more but my first impression is very good!

Ah, I was a bit confusing about initrams and zImage version. I used initrams downloaded from the first post, and zImage from Uruk version 0.4.2.
[Gen8 Android Development] carlochiefsg:
does this work on Archos 70 250GB? If SD card is required, I don't have one on this model.
[Gen8 Android Development] cnewsgrp:
I agree. Great job and love what you have done!!! Please expand a bit on which zimage to use and this will make an excellent quide even better!!
[Gen8 Android Development] shklifo:
Archos 50 250gb dosn't have a second internal flash (like all the other generation 8 archos devices), it only have the first internal flash of 500MB used by archos original firmware. So, you can used it only if you create the 2 new partitions (boot and /data) on the 250GB hard disk.

And you can used this method or directly $aur0n method that you can find here.

By $aur0n method just don't use the copy to sdcard (you don't have one ;)), but copy directly to HDD.
[Gen8 Android Development] shklifo:
Thanks for your thoughs and feedback.

I changed the guide (first post) with direct download links (the attachment still remain for them that got problems with megaupload) and renamed the initramfs.cpio.gz.zip with initramfs.cpio.gz_Uruk_0.3.zip.
[Gen8 Android Development] sdho:
Thx shklifo...all is working now...user error. I was using $auron kernel instead of your attachment.
[Gen8 Android Development] carlochiefsg:
Thanks much!

By the way, I have installed dogmaphobia's Custom kernel here -->

http://xdaforums.com/showpost.php?p=9948644&postcount=1.

What's the difference of using UrukDroid? Is the performance much better.

I read the earlier thread on top and it says we could do a blend of both. But how to? Could you advise? Thanks again.:)
[Gen8 Android Development] shklifo:
To get a better/correct answer you have to ask them...

But reading their posts i can say that dogmaphobia have just extract the stock linux kernel from init which is founded on the first partition of the first flash disk (/dev/block/mmcblk0p1) and changed only the init file included on initramfs to be able to boot to SDE and adding su and superuser using unionfs to get root access.

$aur0n changed the stock kernel adding support for ext4, nfs4, frame buffer console and of course recompiling it. He added new and upgraded kernel module too, compliling with Archos Development Kit.

So, for me, if what I understood from their posts is true and if you need ext4 support, than the kernel from $aur0n is the only possibility, but as I say, i may be wrong ;)
[Gen8 Android Development] liutszho:
One question, and possibly a stupid one, if a new firmware is released and I want to update, how do I do that? Since my harddrive will be all formatted and partitioned.

How do I revert everything back to normal?
[Gen8 Android Development] shklifo:
Normally no flash drive will be formated by installing a new firmware.

Only the stock archos firmware will be upgraded by the new aos file and the changes will be only to the first flash disk (the one of 500MB used by archos original firmware).

The second flash disk (the one of 8GB used by this guide and from user files) can't be touch by archos, because as i say on the first partition on that disk are the user/applications files.

To go back to initial stage (only archos firmware) you have to remove SDE (from initial menu) and optionally delete the second and third partition of the second flash disk created by this guide, and resize (increase) the first partition till it cover totally the disk.
[Gen8 Android Development] $aur0n:
Since there was noticeable demands for this future, since 0.5 (official files - not RC) UrukDroid will boot from internal partitions - no changes required in initramfs/kernel. But it's not default/recommended way. I'll write more after publishing proper files.
[Gen8 Android Development] shklifo:
Thanks $auron.

This is objectively a very nice anouncement, let the users choise from where they like to boot from.

Cheers
[Gen8 Android Development] $aur0n:
I've updated main tread with UrukDroid 0.5. This release will work with internal installation. Partition design has to be the same like on SD (3 partitions).

Uruk will try to boot from SDcard - if there is no installed system, it will look for internal - and try to boot from there.

I'll put final update 0.4->0.5 soon too.
[Gen8 Android Development] sublimejosh2000:
Awesome

this is good news, I have tested it. Basically, if your like me and have external AND internal both partitioned.

ou leave the card inside, it boots to the card. ou take it out and boot, it boots internal. hen you just plug it back in after it boots.

this is, IMHO the best solution, and it makes both types easily workable.

JW
[Gen8 Android Development] sweetypie:
Hey JW.

I've done the sdcard install successfully (finally solved my wifi problem myself - see main thread).

Do you find the Archos runs very slowly after booting from the sdcard? Is it much quicker booting from internal storage? Did you follow the method here to partition the internal storage? Anything to watch out for?
[Gen8 Android Development] sublimejosh2000:
I am having a bit of sluggish on internal vs. External.. It will be about the same speeds either/or ...

I am also running a million widgets too :)

Just partition the internal the same as the external, and reboot with the Sd card out and you'll be ready to go...
[Gen8 Android Development] sweetypie:
So there's no performance benefit to installing it in the internal storage. I'm not sure I see any benefit in doing it, therefore.

Thanks for that opinion.
[Gen8 Android Development] Caste23:
Hi,

Can someone explain a step by step procedure to move UrukDroid from SD to internal memory ?

(If it's possible !)

I really want to use it.....

thanks a million !

Regards
[Gen8 Android Development] nimrodity:
Like $auron said, partition the internal like the sd in his how to and everything should work itself out now with the new 0.5.

I have just one question, can i delete anything important by mistake partitioning the internal storage. The internal is the, i think 6.5gb big one right? Everything else important isnt visible as a partition anyway, or is it?
[Gen8 Android Development] sublimejosh2000:
PArtitions..

ou cannot damage the system Stock by this at all.. remember

MMCBLK0P1...2....3.. etc = Stock Disk

MMCBLK1 = 8 or 16G Internal Disk

MMCBLK2 = SD Card

So all you are doing is partitioning BLK1 just like BLK2 .. it really makes sense when you see it that way..
[Gen8 Android Development] nimrodity:
yes now it does,

thx for explaining what the MMCBLK stand for,always had problems figuring it out :)
[Gen8 Android Development] sweetypie:
Since I started doing this method, back in version 0.3, my sdcard has been mmcblk0.

So my partitioning commands have been, all the way through:

fdisk /dev/mmcblk0

then

mmcblk0p1

mmcblk0p2

mmcblk0p3

Apart from yesterday, when, for some reason, the sdcard became mmcblk1 for a while.

However, that's only because I've done all the partitioning, formatting etc, directly on my laptop, using the Ubuntu installation which runs alongside Windows. The sdcard gets its /dev/mmcblk0 directly from the laptop, mounted in its internal card reader, not mounted in the Archos, where it becomes a "secondary" storage area.

I've never used the quoted /dev/sdb or /dev/sdc terminology.