yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] indigomontoya:
I am having this problem as well. It is new to 0.5. I upgraded from 0.4.1 to 0.5 and had the problem. So I reformated the card using Ubuntu disk utility (no partition table). Then I followed the instructions in the first post to make a fresh install.

It booted without any problems the first time. Then on a reboot, the error reappeared. Somehow I/it fixed it by some combination of rebooting the internal (stock) android and checking the filesystem using fsck.ext4 (no errors) and disk utility (no errors). After doing these things, I booted into Uruk and it mounted without any problems.

Last night during a video playback it frooze. I had to reboot by holding the power button (which likely corrupted the file system). Now it is giving me the error again. I reboot internal android (thought process is mounting and cleaning unmounting the filesystem may fix things?) as well as tried fsck.etx4 and disk utility on a laptop (including a "safe removal" from disk utility) and as of now still am getting the error when I boot Uruk.

Any ideas how to fix the error? When I look at the contents of the the second partition of the SD card things look "normal" (files and directories are there, but some of the links are dead - which is expected without a chroot).

thanks!

UPDATE: I put the SD card back into my laptop and ran fsck.ext4 again on partition2 then unmounted each volume using disk utility (not the eject button in nautilus), then choose "safe removal" from disk utility before sticking the card back into my archos (70S). It now works. I actually doubt that process was magic, but if it the placebo effect can help others or it indicates something to help developers I thought it was worth mentioning.
[Gen8 Android Development] Papierkorb:
Wow, this is incredible!

I think that I'll give UrukDroid a shot next week or something,

when I've installed SDE and stuff. I'm a bit experienced with linux,

using it on my two Computers since May or so. Is it possible to

compile sshfs (which uses FUSE, but I've seen fusermount on my

tablet under /usr/bin, so I guess that FUSE is not a problem) to

mount my computer drives directly on the tablet? I guess that

this won't be a huge deal, as Android is linux after all, and FUSE

is already there.

Just looked for the class of my sdhc card, Class 4 (Well, there is

a 4 in a circle, so I think its the class ;) ). Is this good enough?

Or is it possible (and without a possible brick) to write UrukDroid

directly to the internal space? That would be much better as i take

out the sd card sometimes to directly copy data to it.

Thanks.
[Gen8 Android Development] $aur0n:
This is something to be solved - but since in most cases ext4 is autorepaired it should mount, unless mount it self is somehow dumb. I'm kind of aware of lack fsck on mount level - but this is how "small" devices work this days.

This is problem of third partition (/data one) and this is kind of - not really know how to fix it. This is because some tools open files for write and does not make sure file is written. I guess this problem is a lack (or corrupted) of small tiny files that makes Archos/Android thinks like it's fresh start and tries to overwrite everything with fresh data. I've tried (once when this happened to me) compare backup with currently broken partition - but nothing obvious came out. I had not will to push it further and simply reverted data from backup - it works.

Bad thing is that I've enabled in 0.4 (no delayed allocation) in ext4 filesystem, I guess it helped - but not solved an issue (which is a problem of application - not filesystem itself).
[Gen8 Android Development] indigomontoya:
I was updating about 12 apps (4 downloading simultaneously) and a process crashed (android...media...core) which caused market to crash. So I rebooted (no problems) to try again. The downloads started automatically and about 5 minutes in the same problem happened. So I tried to reboot again and the mount error came back. I am at work now. When I get home tonight Ill try the disk utility method I described above to see if that fixes the problem.
[Gen8 Android Development] $aur0n:
Try to reboot archos - I'm now quite sure it's not because of your filesystem is not working, but device (sdcard/int memory/hd) is not yet ready when checking it's state - I'll try to add some more waiting loops in future initramfs.
[Gen8 Android Development] indigomontoya:
I had rebooted Uruk atleast 2 or 3 times unsuccessfully before I left this morning. I never tried to reboot the stock build. I can try that first when I get home tonight.
[Gen8 Android Development] strongergravity:
mmcblk1p2 error

I have the same problem with my 70 installed on my sdcard. I did the upgrade from .4.2 to .5. It seemed to be fine until the second reboot of the upgrade process. Now I just get the error.
[Gen8 Android Development] $aur0n:
You can try this kernel/initramfs - it tries to wait for some devices that register in system slower... (don't know why this happens - but Archos do the same in their build)
[Gen8 Android Development] strongergravity:
Thanks. I'll give it a whack when I get home!
[Gen8 Android Development] masterbox:
Thanks but no time for IRC, I'm at work :-/
[Gen8 Android Development] henrylim:
Sadly, does not work for me. It gives me this message

"UrukDroid 0.6 Boot ERROR: Failed to mount rootfs /dev/mmcblk1p2 (0)

I was upgrading from 0.4.1 and flashed both Initramfs.cpio.gz and zImage, and had replaced rooftfs files in partition 2 with unzipped UrukDroid-install.tgz files from 0.5. I am using Sandisk 32GB Class2.
[Gen8 Android Development] p0rk burn:
For the purposes of our SDcard data, I ran the write speed test from post #3 and got these results:

22 secs, (100/22) = 4.545

And I'm using the Wintek class 10 16 gb card Newegg was selling for $30.

:/
[Gen8 Android Development] Blackdragon_860:
Hello

Sorry, but how i can updte to the new archos update on uruk 3???

When i start the auto update, it download the file but it dont install it...

Thx
[Gen8 Android Development] nimrodity:
i installed 0.5 on the internal storage.Everything seem much smoother now than on my class 6,so i will let it there,since i have spend enough money buying cards where the system runs awful.
[Gen8 Android Development] p0rk burn:
I was trying to do that earlier today, actually, but I can't get my Ubuntu VM to recognize the archos storage.
[Gen8 Android Development] worstenbrood:
Installed the rom on my collegues 101 (on sdb (internal) instead of sdc) and it's great ! Feels alot snappier then the original rom and finally we can use gapps like market. Only issue is that the camera app crashes. Great job, looking forward to future releases.

Sent from my HTC Desire
[Gen8 Android Development] cnewsgrp:
That should not happen. Did you boot Archos "normally" or via developer edition? You really should ask this question is other thread since this functionality is unsupported and we should not hijack this one.
[Gen8 Android Development] cnewsgrp:
Request to $aur0n:

I know you consider internal SD out of scope - but you can see that there are several people who now report that it works great and is also easy.

I am not requesting that you change direction, but can you please support internal sd for install for future releases - similar to 0.5. 0.5 upgrade from 0.4.2 internal was a piece of cake.

To me it seems that internal SD is probably class 6
[Gen8 Android Development] cdelta01:
$aur0n -

0.5 is really great. It is a new direction and I really like it. Props.

One question though - my 101 has slowed down considerably when I do anything with installing apps or surfing the net. It downloads at very slow speeds, hangs for 20-30 mins while installing simple apps. Even with media, performance is fine when the file is in SDCard, but really bad when I stream from sites. I reinstalled 4.2 to check if it was my card and no issues there. Quadrant in 4.2 is about 2250. Here in 0.5 Quadrant is 1500. Any tips on whats causing this?

Context for install: I installed 0.5, put in Market and put other apps after that. I have not enabled/disabled any scripts or anything else or changed any configurations in any way.
[Gen8 Android Development] nimrodity:
i dont understand why all of you are tryig to ge somethg thats already there.

Since 0.5 internal install is already supported.

Just partition the archos storage like an sd and put the uruk install file on the 2nd part.

Thats it nothing more to do,cant think of anything easie than that,and overall speed is pretty good,all i would wish for now,is a working OC Kernel that would boost up the speed even more.

THX to $auron 0.5 on internal is sure a great thing to have,i nearly lost all hope trying to get a usable system with my SD cards.

What i dont understand is i get about 2000 Quandrants with 1000mhz and 2700 I/O and with the SD i get 1850 and 2500 I/O but the real world speed seems like words apart form another.
[Gen8 Android Development] stephen44:
ok - so i've ben running 0.4 fine for a while and decided to start whole archos over again now new firmware is over

so i rebuilt stock archos totally reformatting to latest firmware.

totally deleted my sdcard and rebuild 0.5 from scratch - no data copy

i can boot into Uruk ok

i can load market ok (Kenyu files)

market updates to latest version ok

but i cannot download APK

in the notification bar i see damaged sdcard message (all my partitions are ext4 without huge_file)

i ran the chown and chmod on the app directory - makes no difference

if i connect my archos to UBUNTU and copy the APK to the old internal storage and then install in URUK from files menu - it all works well and i get a score of 1500

(which incidentally is the worst i've ever gotten and is worse than my stock archos - I was getting 2200 on o.4)

any ideas please ? (i tried whole procedure including formatting sdcard twice)
[Gen8 Android Development] Tabs78:
Hi

Sorry for my english

Two answers:

1 Can i used a sandisk class 2?

2 can i hope in a more simple installation method?maybe using windows?

Thanks
[Gen8 Android Development] $aur0n:
Do you have mounted first sdcard partition (mmcblk2p1) - witch is (as I understand) in your case ext4? It should be mounted under /mnt/storage/sdcard (check by "df -h").

What does "mount_sdcard.sh" script says? (terminal -> su -> mount_sdcard.sh)
[Gen8 Android Development] indigomontoya:
When I load after flashing that kernel and initramfs I still get the error. The weird thing is it happens MUCH faster. It happens after a quarter second rather than closer to 5 seconds with the original (from 0.5).

Before I tried the new kernel/initramfs I did get Uruk to boot properly, though I'm not sure how. I rebooted the stock android with the SD card in and also checked the filesystem a few times on my laptop before it magically worked one time. Then I needed to reboot to get the market fix to work and it wouldnt mount again. Very strange indeed. Bad card perhaps?
[Gen8 Android Development] strongergravity:
It worked. Thanks alot!
[Gen8 Android Development] nimrodity:
i tested a bit and found a very good combination.

uruk 0.5 and OC kernel fix04 seems very fast and smooth @1200

fix05 is slower,more laggy and not so stable.

i will stay with this combo for a while now.Got about 2300 points @1200 from internal

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] jbradshw:
I'm also getting the same thing, except I did fresh install of 0.5 and I'm getting it on mmcblk2p2.

I got it up and running, did the market install, and on reboot this started. Replacing that kernal and intramfs didn't fix either. :(
[Gen8 Android Development] stephen44:
booted into Uruk and using terminal.apk on archos ...

df -h shows ... amongst lots of other stuff

/dev/mmcblk2p2 474mb ...../

/dev/mmcblk2p3 940mb ...../data

tmpfs 120m ...../dev

/dev/block/mmcblk0p1 32mb ...../mnt/rawfs

/dev/block/vold/179:9 15gb ....../mnt/storage

ls /mnt/storage/sdcard = no suchfile

mount_sdcard.sh sits for 2 minutes and then comes back to #

any help please
[Gen8 Android Development] $aur0n:
Ok this is kind of strange - it seems like mount_sdcard.sh is waiting for Vold - but you said your /mnt/storage is already mounted. Please run mount_sdcard.sh in debug mode (edit it and remove # before DEBUG=1)
[Gen8 Android Development] p0rk burn:
$auron - sent you a paypal thank you.

I'm pretty sure all my problems came from the horrible write speed of my sdcard, including google.services crashing, stalls, browsing issues, even bad bootups. After moving .5 to the internal space it is like a whole new system.

If someone hasn't started it yet, I will make a post/link in the Uruk FAQ regarding the SD cards. I bet a lot of the problems people are still trying to fix are caused by cards marked as high speed but can't handle the constant read/write.
[Gen8 Android Development] $aur0n:
Thx (for both) and please do this part of faq if you can. Like I said - if you want I can prepare some service/script that performs some i/o tests and tries to give some score results...
[Gen8 Android Development] stephen44:
sounds like a great idea - so we have an idea what to buy
[Gen8 Android Development] stephen44:
it just counts down for the 10 secs waiting for mount point and the returns to #

(this is running in terminal on booted Uruk)

if i issue

# mkdir /mnt/storage/sdcard = file exists

then

# mount /dev/block/mmcblk2p1 /mnt/storage/sdcard = ok

#

then

# mount_sdcard.sh (in debug mode)

device already mounted

#

how if i go to settings and storage and mount SD card - it mounts ok

now i can download APK

so does that mean it is the script ?

(BTW - I have never used linux before so learning all of this takes me a while to understand your instructions (vi editor, file systems, ubuntu etc) but it is great fun !)

***********update **************

after rebooting and trying the above i found that what ever i did (including running mount_sdcard.sh)

i had to mkdir /mnt/storage/sdcard - as it did not exists

- hope that helps
[Gen8 Android Development] cnewsgrp:
Its there but not officially supported. 0.6 might not support it. Thats why the request. If you see all the SD card related issues people are facing, its all more reason to use internal SD. Everyone will have same install then.
[Gen8 Android Development] stephen44:
so the good news is my stock archos runs first quadrant = 1350'ish

and my URUK runs 1650'ish

this is slower than older versions (same sd card) - any reason ?

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

also i found a windows (sorry) based bench mark for sd cards

http://crystaldiskmark.softpedia.com/

i formatted whole card as fat32 - 1 partition and ran as in picture - if we all did same - this would give us some standards

here is my run WINTEC filemate 16GB class 6 (i don't think so :mad:)

View attachment 503151 --------------------------------------------------

CrystalDiskMark 2.2 (C) 2007-2008 hiyohiyo

Crystal Dew World : http://crystalmark.info/

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

Sequential Read : 19.507 MB/s

Sequential Write : 16.394 MB/s

Random Read 512KB : 19.275 MB/s

Random Write 512KB : 1.091 MB/s

Random Read 4KB : 4.151 MB/s

Random Write 4KB : 0.010 MB/s

Test Size : 100 MB

Date : 2011/01/29 8:52:02

so my issue appears to be 4K random writes - which appear to be a lot less than some example posts i saw.

**********************update ********************

I've kind changed my mind as to if my card is a class 6

i just ran against a new KINGSTON 8GB Class 4 - and this is what i got :eek:

View attachment 503163

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

CrystalDiskMark 2.2 (C) 2007-2008 hiyohiyo

Crystal Dew World : http://crystalmark.info/

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

Sequential Read : 18.441 MB/s

Sequential Write : 4.630 MB/s

Random Read 512KB : 17.269 MB/s

Random Write 512KB : 0.672 MB/s

Random Read 4KB : 1.999 MB/s

Random Write 4KB : 0.006 MB/s

Test Size : 100 MB

Date : 2011/01/29 9:16:43

so on same card reader - PC - etc - this program seems good for determining class benchmarks

do we think we want a new thread to post results only into for comparison ?

People report subjective feelings for performance that seem to differ from say Quadrant scores - so may be a subjective rating (seems fast, seems slow, seems average) might help as well as just raw numbers
[Gen8 Android Development] cdelta01:
2300 Quadrant and laggy as heck. Videos have visuals lagging behind audio. Also browser experience is horrible. This is with swap and without swap. This is pretty bad since all I use the 101 for is Nook/Kindle, Video and Internet.

A101 on 0.5 on Class 10 SDCard with 1200 OC kernel. 0.4.2 was working fine checked and doublechecked even after install of 0.5 (I reverted and came back to 0.5 because I liked the implementation better). Seriously now thinking of going back to 0.4.2

Any ideas what I could do to speed up real world experience?

EDIT: No offense meant. I really appreciate the progress made. It just is a letdown and has been troubling for the last couple of days.

EDIT 2: Updated (downgraded) back to 0.4.2. Works fine. Its not an SDCard issue.
[Gen8 Android Development] p0rk burn:
Lets use the line from $auron because its not

OS dependent.
[Gen8 Android Development] stephen44:
true - i get that - but this does different types of reads & writes - which is worth considering isn't it ?
[Gen8 Android Development] strongergravity:
Well, it worked yesterday, but not today. Im still getting the mmcblk1p2 mounting error. I guess I will wipe the whole thing & try from scratch.
[Gen8 Android Development] Ripper2K8:
Faster Class worse performance

First; on class 2 cards Uruk works like a charm and even a bit faster (verified by various benchmarks) than the stock Android :) BUT:

I have noticed, by checking and double checking, that MicroSD cards with a speed rating over class 2 are actually worse on performance. :confused:

I've got 1 class 4 and 2 class 6 cards but all seem to create excessive lag, sometimes even locking up for 5 seconds or more.

Does anyone have any insights for this phenomenon?

Thanks in advance!
[Gen8 Android Development] p0rk burn:
I've created a post for the SD card reviews. I agree that pure numbers don't capture it, because a lot of the problems I encountered went way beyond read and write speeds.

If you can, stop by the thread (http://xdaforums.com/showthread.php?t=934087) and post a brief description of what card you are using and how it is working. I'll try to get it linked in the FAQ thread as well.

Thanks.
[Gen8 Android Development] $aur0n:
Please try once again (flash kernel/initramfs) I've updated them today.

I use class 6 - works great. It's probably not class issue - but memory controller used by real card manufacturer (not a brand name). Will try to investigate it with some benchmarks - work in progress.
[Gen8 Android Development] $aur0n:
Could you please cut/paste entire text (from df and mount_scard.sd) - if you want - send me PM. If you can't cut/paste now - run sshd and use putty.exe (on windows) to connect to it - then you can easily cut/paste.

It's almost impossible that once create /mnt/storage/sdcard - does not exist after reboot - you are doing in on internal storage.
[Gen8 Android Development] $aur0n:
With 0.5 we have few performance changes. Please try to switch cpugovernor - disable this service in UrukConfig.apk - do tests.

Try to disable CompCache service (UrukConfig) - and to tests.

Please report results...
[Gen8 Android Development] stephen44:
haha - had to learn sshd & putty - got it now - much easier than terminal on archos - so thanks for that

PM sent in two halves due to 5000 character limit
[Gen8 Android Development] cdelta01:
Will do. I currently went back to the 0.4.2 version. But I will do the 0.5 again and let you know. One thing though, the CPU governor did not make a difference when I put it off. But I did not run Quadrant. Will do it this time.
[Gen8 Android Development] stephen44:
cpugovenor disabled seems to lower my quadrant score by 150-200

others not much difference
[Gen8 Android Development] $aur0n:
You both can try this - for a short period of time somewhere in 0.4 this IO scheduler was default one...

su
echo "cfq" >/sys/block/mmcblk2/queue/scheduler

please report results...

ps. if you have internal installation - change mmcblk2 na mmcblk1
[Gen8 Android Development] stephen44:
when you say "You both can try this - for a short period of time somewhere in 0.4 this IO scheduler was default one..."

what do you mean - is there a command to revert back to 0.5 one ? - or are you saying a reboot clears it ?
[Gen8 Android Development] $aur0n:
Reboot revert this change (to cfq scheduler) - just like you can change cpu governor, you can change IO scheduler.
[Gen8 Android Development] stephen44:
got it - testing now - also sent you grep output for mount problem in PM ;)
[Gen8 Android Development] stephen44:
********************************************************

so i have via urukconfig on 16GB A101

ssdh,swap,compcache & cpugovenor all enabled and running

the test procedure is (for me)

reboot and fix sdcard mount issue

login via putty but do nothing

kill all tasks

run quadrant 1

kill all tasks

run quadrant 2

kill all tasks

run quadrant 3

so before change to IO scheduer results were

Q1 = 1693

Q2 = 1737

Q3 = 1767

issued

su

echo "cfq" >/sys/block/mmcblk2/queue/scheduler

via putty

repeated tests as above

Q1 = 1356

Q2 = 1684

Q3 = 1714

which were strange so i rebooted and tried again from ...

su

echo "cfq" >/sys/block/mmcblk2/queue/scheduler

via putty

repeated tests as above

Q1 = 1739

Q2 = 1609

Q3 = 1648

subjectively - the graphics in the benchmark do not seem to run as smooth - thy are pretty jerkey

- especially the rotating planet

any other tests you want me to do ?
[Gen8 Android Development] Tabs78:
Hi.

I'm trying ukroid on my 101 but my sd (sandisk 4gb class 2) is too slow for this s.o....how can i turn to original s.o.?
[Gen8 Android Development] stephen44:
do you mean

hold down volume button whilst powering up until get option menu and select Android boot ?
[Gen8 Android Development] Tabs78:
I mean to remove ukroid
[Gen8 Android Development] puxxi2003:
if you dont want the passphrase of your wifi to be stored in plaintext, read this:

first search the wpa_supplicant.conf

on data-partion -> /misc/wifi/

when archos runs -> /data/misc/wifi/

it should look like this:

wpa_supplicant.conf

now you need linux :D

the wpa_supplicant.conf shows your config is:

ssid -> jupiter

passphrase-> abc123abc

type in a terminal:

wpa_passphrase jupiter abc123abc

you see in terminal:

psk=9adec639bf4c6bc336009298480e5c1bfe3de781a9c0313469d7ec962bac801a is your "new" passphrase

so change your wpa_supplicant.conf to:

wpa_supplicant.conf

save back to archos and boot
[Gen8 Android Development] cdelta01:
________________________________________

On 0.5 again with 1200 OC kernel on A101 8GB:

Quad score drops by about 200 with compucache change. (original about 2300).

That said, video is still very choppy. Internet slow.

I did not understand the step you wanted with the IO scheduler. I am not sure what you wanted exactly, so just for kicks I ran in Android Terminal. No diff in video or Internet. Quad didnt change (gave me +/- the same by about 30-50 points). Did this in 0.5, not sure if you wanted me to do this in 4.2. To re-affirm, video still choppy.

Then I reverted AGAIN (!! seriously, this is like the 5th time) to 4.2 and it is smooth.

__________________
[Gen8 Android Development] jbradshw:
I tried the latest kernel and initramfs from today and I'm still getting:

Failed to mount rootfs /dev/mmcblk2p2
[Gen8 Android Development] $aur0n:
If it writes mmcblk2p2 - this means it found right device (so waiting works or is unnecessary in this case), but it can't mount this device for other reasons (mount fails) - so i guess there is something wrong with this partition.
[Gen8 Android Development] monkeydrufy:
sorry guys,

I'm using UrukDroid 0.5 and I need to connect through a vpn connection but it doesn't work

the same connection on my nexus S work fine

does vpn connection need to be activated?

thanks