yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] sweetypie:
Thanks for the even more hard work.

Two things:

1 - Is the inability to "mount" an external hard drive, which mounts ok in normal boot mode, an acknowledged fault? I don't see it mentioned in the first 3 posts.

2 - When I do the "commenting / uncommenting" thing in step 4, my whole device becomes very slow, to the extent that Quadrant freezes halfway through IO writes (2/4). Without step 4 my Qudrant speed is around 1400.

Is this purely down to my Class 4 (allegedly) sdcard?

EDIT: Ah, I see there is no more Step 4. Should I start all over again?
[Gen8 Android Development] anurbanlegend:
Just upgraded from .2 to .3 and everything seems to be working. Thanks $aur0n!

EDIT: FYI it still will not turn back on from sleep most of the time. I see only 1 other person responded they had the same problem. So everyone else can turn on and off their archos with no problem?? Thanks for any feedback!
[Gen8 Android Development] sweetypie:
Is there an error in post #1, code box #1, line #7?

Reads: umount /tmp/usb

Maybe should be: umount /tmp/sdcard

As in post #1, code box #2, line #18?
[Gen8 Android Development] stanglx:
Question - ext4 - How it improved performance

Did just the addition of ext4 improve performance? Or ext4 plus the SDCard?

Was a virtual loop back technique used (block device) or ext4 raw device without a loop back device?
[Gen8 Android Development] cnewsgrp:
Painless 5 minute transition from 0.2 to 0.3. I have a Class 6 and this thing flies!!!

Beer money your way

Can someone please tell what locations using file manager are

Third partition of my sdcard.

8 GB of my internal memory
[Gen8 Android Development] Tzbob:
mount /dev/sdc1 /tmp/sdcard

cd sdcard

cp -v initramfs.cpio.gz zImage rootfs.tar.gz /tmp/

cd ..

>>umount /tmp/usb

This should indeed be /tmp/sdcard
[Gen8 Android Development] shklifo:
Or just simply:

$umount sdcard

becouse we are on /tmp folder allready;)
[Gen8 Android Development] thefunkygibbon:
i read that removing/renaming Phone.apk, TelephoneyProvider.apk and ArchosWidget.apk from rooted /system/app makes a difference. can anyone confirm/deny this and is there anything else which is safe to remove which can cause some performance increases?
[Gen8 Android Development] $aur0n:
Yep, your right - sorry for that - fixed! Thx!
[Gen8 Android Development] $aur0n:
Not yet consumed, but will get good Paulaner for it :) - Thx!

It should be /mnt/storage/sdcard (it's how Archos designed it). There is a shortcut to this location /sdcard/sdcard/.

ps. /mnt/storage is your 6GB internal vfat partition
[Gen8 Android Development] $aur0n:
I had no problem with waking up device even once... What kernel are you using?
[Gen8 Android Development] $aur0n:
In first post, on the very end of it, you have links to all requires files stored on megaupload.com (this one is working for sure) and dropbox.com (this one may not work because of traffic limit) - will not use it in future release...
[Gen8 Android Development] indigomontoya:
I had previously "removed" Phone.apk and TelephonyProvider.apk by changing the name to Phone.apk.removed and TelephonyProvider.apk.removed and leaving them in the folder (I read somewhere that would be effective). I certainly saw no problems when doing this. If you do this from the archos you will get repeated "force close" messages and be forced to reboot.

I noticed that the ArchosWidget.apk had been moved to the apps.old, so

On a side note, does anyone know what the various apks in this folder (/system/app/) that start with a "0" do?
[Gen8 Android Development] Kashban:
Ok, for some Reason I couldn't manage to revive $aurons 0.2 Version... after the second Splash Screen it goes blank and that's it. I tried to install V 0.3, but that lead to a top-down green android text with a blinking cursor, much like when booting into the developer edition.

So I pulled the Plug, formatted the Device and installed 2.0.71 again.

Now I'm going to try 0.3 before installing any Apps.
[Gen8 Android Development] anurbanlegend:
Using your kernel from the first post. Thanks.
[Gen8 Android Development] nimrodity:
i am totally happy right now with 0.3 and ext4.

But just out of curiousity,what else can we expect in future releases ?

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] thefunkygibbon:
hmm just "upgraded" to 0.3 and for some reason my SDE partition has reset to factory defaults (no apps or anything)

normai archos partition still has all settings/apps

any ideas?
[Gen8 Android Development] z06mike:
So this has to be done with a USB card reader? There is no way to do it through a microSD adapter?
[Gen8 Android Development] cnewsgrp:
Ok, just to summarize

My 8GB sdcard

Ext4 => 500 MB = rootfs =========> This is /

Ext4 => 1 GB = data partition ======> [ Where (or what path) is this ] Is this /sdcard

Ext4 => 6.5 GB ================> /mnt/sdcard/sdcard OR /sdcard/sdcard

8GB

vfat => 6 GB ==================> /mnt/storage

Questions:

1) Where is remaining 2GB of Internal SDCard

2) What is path to 1 GB data partition

3) What is /mnt/sdcard2

Sorry for too many questions, now that I have this working this information will be a good input for me to organize data.

Thanks
[Gen8 Android Development] Tzbob:
I'll answer you here because I'm probably the writer of that;

It's been done on the Nook devices, these services do run in the background on non-telephone systems.

The Nook people report an increased battery life on standby, the Uruk method of disabling these apks is moving them from /system/app to /system/app.old so I suggest you follow that method. When you do this you'll have to reboot because you'll get force closes from the Phone service.

When you're done rebooting the Phone service won't be able to load and therefore will not cause a problem.
[Gen8 Android Development] nimrodity:
i moved phone.apk and telephonyprovider.apk but i dont even have an ArchosWidget.apk but i think thats nothing to worry about.

Dont know if its do anything better,but cant hurt either i think
[Gen8 Android Development] sdajzdc:
1. The remaining 2 GB is being used or reserved by the original Android system

2. /data

3. ?????
[Gen8 Android Development] medmike:
@anurbanlegend -at Archos fan forum, looks like deep sleep has worked only if turned screen time-out to "Never", so would waku up OK. That has worked for me.

$aur0n->Great thread, I haven't started yet but can this version (0.3) be overclocked? I asume with root can use market o/c app and Setcpu?
[Gen8 Android Development] archosblah:
no superuser in 0.3

I tried to upgrade my 0.2 installation with 0.3 but seemed to have lost my superuser rights. Has anyone seen this problem? The kernel version looks ok and the root installation is the newest.
[Gen8 Android Development] cnewsgrp:
I actually see /mnt/sdcard2.Don't know what that is.
[Gen8 Android Development] ki8mju7lo9:
[solved]

just tried 0.3

I found that all apps downloaded &installed from applanet are missing

only the ones from market exist

any solutions?:D

[/solved]

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

I copy data again and it's done

is this step essential in upgrading from 0.2 to 0.3?
[Gen8 Android Development] PWR_USR:
Halp!

i have the same problem

sorry if this question has already been answered but i cant find it after going through the last 48 pages in this thread :L

if anyone knows the fix to this or could link me to someone else who does i would really appreciate it.

Thanks in advance and great work on the guide btw
[Gen8 Android Development] sdajzdc:
I have it too, but i have no idea what it is.
[Gen8 Android Development] sdajzdc:
1. Reformat your machine completely.

2. Reinstall regular OS

3. Reinstall SDE

Been there. Did that. Never got the t-shirt.
[Gen8 Android Development] PWR_USR:
thanks for the reply

by 'machine' i assume you mean the A70?

and when you say reinstall SDE, is there something i should be doing outside what it told in the first post? i have been starting this guide with a fresh OS on my A70
[Gen8 Android Development] bthoven:
I reformat my third partition to fat32 by using Diskutility in Ubuntu 10.10 last night.

Though I still see it in /mnt/storage/sdcard (without content inside), it is not detected by Winxp. Is it normal or usual?

My Wiinxp detects A70S volume which is an internal volume; and another 5xxMB-sized volume. The latter one can't be accessed, though it shows as another drive; the former one is working fine).

Thanks

ps. my 8gb class 6 gives me quadrant score between 17xx - 18xx vs 13xx (before root). Not sure it is a real class 6. Waiting for a new card to prove it.

Can anyone confirm the usb-charging function in 0.3 whether it is working fine? If it is ok, I like the idea of small charging when plugging the usb cord with my PC.

ps. I'm still uruk_droid 0.2
[Gen8 Android Development] sdajzdc:
if you previously had SDE on your Archos and removed it, the only way that I know to get it back is to start completely over with a fresh AOS. After you have installed the fresh OS, then follow the guide in the first post.

If you have never installed the SDE then just follow the steps in the first post.
[Gen8 Android Development] anurbanlegend:
Thanks for the tip but it didnt help. I think I did find the culprit. I removed this app SoftLocker and now my device is turning off and on like it should.
[Gen8 Android Development] garychan999:
wrong sent, deleted
[Gen8 Android Development] medmike:
Latest is 0.3 (vs 0.2). The 2.0.71 is the latest firmware (Froyo) that Archos pushed out as first major software upgrade.
[Gen8 Android Development] thefunkygibbon:
ok lets say this is what you need to do.. wouldnt the /data mount point at this stage for me be empty since it is looking like a factory reset?

also looking through the "new" instructions on how to install this .. how comes it says near the end to flash the init and zimage then tells you to copy it over to a folder in the next step? does the system require you to have those files in the local OS as well as being flashed in recovery? I didnt do this step originally and i havent done it whilst upgrading as i thought it was just a case of overwriting the system files with the rootfs upg package and flashing init and zimage in recovery.
[Gen8 Android Development] $aur0n:
Hi,

No, you probably have used rootfs.tar.gz not rootfs-upd.tar.gz - they only differ in /init.rc script - so you probably mounted/used original /data (/dev/block/mmcblk0p4 partition), not the one from sdcard
[Gen8 Android Development] $aur0n:
/ -> SDCard first partition (512M) - for root filesystem

/data -> SDCard second partition (1GB) - for installed apps

/mnt/storage -> internal 6GB partition - for data used by installed apps

/mnt/storage/sdcard -> SDCard third partition - anything you want, nothing by default

/mnt/sdcard2 - proposed mount point for other volumes, not used by default

And there is something called symbolic links (symlinks) - witch is kind of Win shortcut used on UN*X extensively.

/sdcard -> /mnt/storage

/storage -> /mnt/storage

/mnt/sdcard -> /mnt/storage

So you can enter /sdcard - and you are be using files from /mnt/storage. You can also create symblinks by yourself

ln -s /source destinations
[Gen8 Android Development] $aur0n:
It requires more check, since last time I've checked it seems to work - now I wanted to test it with wall charger (1A) and it does charge. Perhaps I was to hasty with this "feature" to announce.
[Gen8 Android Development] ki8mju7lo9:
yes, I used rootfs.tar.gz infrom #1,

and I "fixed" it by repeating sth like step 3

should I uninstall SDE and do the steps in #1 again or just forget about it:p
[Gen8 Android Development] $aur0n:
No - you can live it that way. And for future - read instructions more carefully :D
[Gen8 Android Development] cheefy:
Hey guys,

great work you didi here. i will go for that during the day.

i don't know how far you are with that "Backup" solution. i think i should be able to write some kind of bash script for backing up appdata/whole system and restoring the same.

big thanx for all your work. if you think i might be able to help you anyways, tell me. i'm some kind of linux pro digging into android for some weeks now.
[Gen8 Android Development] fzelle:
@$aur0n:

Any chance you could get in contact with 89luca89 and get the sources of his FroyoMOD for the Milestone?

He has done an excelent job and as he lost his Milestone this work shouldn't be lost.

http://xdaforums.com/showthread.php?t=815595
[Gen8 Android Development] $aur0n:
And how you connect this microSD adapter to PC? :rolleyes:
[Gen8 Android Development] $aur0n:
Hooh - this thread is getting huge. It took me few minutes to find this post - I had it in my mind, to respond to it... later ;)

This is quite big problem (unless for me) and I will try to take closer look at it. But to be honest, I don't expect miracles. 256MB is far to low for good use and (like I say everytime) this is extremely bad decision, Archos made - it's so bad, I assume it's because some idiot in marketing department wanted to make it 2$ cheaper (or so) - yes I'm frustrated with it, and don't want to swear here ;)

This "pauses" are visible on system side as IOwaits, I've checked and it has nothing to do with swap memory (and this is quite essential if you want to use browser and email at a time - perhaps with some music player running in background) - but since Dalvik is integrated with kernel a bit, it may take some time to determine what exactly is going on there.

If anyone has will to test it, there are some memory settings (during init) to tune dalvik caches - It's probably best way to start tuning, but I believe Archos eng. already done everything what was possible :(
[Gen8 Android Development] thps:
at first -- your making a good job :)

Urudroid 0.3 works fine, even with a slow SD card.

i have prepaired my SD card like it is described in the tutorial:

1. 500 MB mountet at root

2. 1 GB mountet at /data

3. rest(14 GB) i have format it as Fat.

the 3. partition is mountet at /mnt/storage/sdcard .

I like to use the 3. partition as my data partition for music and videos. What mount point i have to choose that the 3. partition appears in the file-browser in point SDCard?

thank you !
[Gen8 Android Development] $aur0n:
Change file browser to any available on market - there is plenty of them (Astro for example).
[Gen8 Android Development] thps:
thats all?

i spend more than 2 hourse fixxing this problem and its only the filebrowser :(

thanks a lot it works!
[Gen8 Android Development] cnewsgrp:
Thanks for the information. This is probably good info to post on 1st or 2nd post
[Gen8 Android Development] Kashban:
I used the OC Kernel from Ardatdat @1200 MHz, 256 MiByte swap.

By "waking up" I didn't mean like wake up from sleep, but more like revive it. The problem occured while typing a pm in DolphinHD browser on XDA. Just froze, with the cursor still blinking, but no reaction to any touches or key presses. Hard restarted then, only to find it would not boot up anymore. Guess SD card got corruped somehow.

I'm now at the point where I formatted the device and reinstall... looks like the rootfs wasn't correctly copied, since it won't start either in SDE/$auron 0.3, even though I used a root-file manager to copy the files to the partition. Guess this time I use sudo tar -xvf again to be on the safe side.
[Gen8 Android Development] thefunkygibbon:
ok i think i may have worked it out. I didnt do step 3 originally (as it was originally an optional step, and i didnt get round to it)

I am guessing that the init scripts within the rootfs_upg package are geared to you having already done step 3.

therefore.. if current SDE is factory reset and Normal Archos is fine. How can i transfer the files from the system/app etc folders to the SD card version which is being used in SDE? what would be the correct steps/commands to run to get the files into the correct locations?

thanks
[Gen8 Android Development] stephen44:
i placed a video file in the "third partition" using ubduntu - and set the permissions to 'everyone - everything'

i could not find the file once booted using normal file explorer - but i could using ASTRO.

if i did a media synch within the archos menu system - the file then showed in the archos video player widget under "show all video" option, and played great.

- but i do agree - whilst not at all criticizing the amazing work - i get confused where i need to place things for performance and free space control. :o

I commented out the ext3 line and uncommented the extra lines as per 'step 3' - and i agree it seems to hang on the step you mention - in quadrant - but does complete and i get a very high quadrant score - 1800 first run and 2200 second run.

I am using the supposedly class 10 wingate sd card i posted in an earlier link - but it performs like a class 6 based on the manual benchmark test documented in these threads.

- just my observations - keep up the incredible effort - I would be no where without these instructions - great great thread !

Stephen

(P.S.- one thing - I would love the dvb-t to be included in this build at some point

http://xdaforums.com/showthread.php?t=871391&highlight=dvb-t)
[Gen8 Android Development] sweetypie:
@stephen44

"i did a media synch within the archos menu system - the file then showed in the archos video player widget under "show all video" option, and played great."

So you reckon that although the storage area isn't shown in Menu> Settings> Storage, if I put 10GB of music in a "music" folder in the third partition, that the "Update multimedia library" option will catalogue them for use in the Media player?
[Gen8 Android Development] $aur0n:
It's probably problem of your card. When you transfer only rootfs to sdcard it's used mainly during bootup proces. Later on, during "use" process everything is mostly done on /data and /mnt/storage filesystems. If you say, that it's slow when switch to sdcard /data - change your sdcard.

Small info: every SDHC card has it's Class 2/4/6/8/10/12. It's defined roughly as a MINIMAL guaranteed write speed (so stuffs like camera will be able write large data in continuous manner). Because it's MINIMAL, it happens quite often that card can be much faster then declared. Probably the best way, is to choose some Digital Camera Magazine with SDHC card comparison on choose best suited for you (price vs speed). I've made this digression because people tend to not know that class 4 card is not always slower then class 6 (but of course can be) ;)

My quadrant score (just checked) with top/sshd running in background is about 1800-1900. It's fair enough for me (no OC - just 300-1000 ondemand governor)

Hmm I don't agree with that - I play movies from my sdhc card all the time, from /mnt/storage/sdcard (ext4) on stock Archos player...

That's something that we can probably address, when my USB OTG cable finally will came - I'll give it a try (I ordered mine in hoghkong with HDMI cable - but those christmas... ehh).

But as far as I remember, Vold had something defined to autmount USB drives. Check /etc/vold.fstab

It's kind of joke, but... OS is Linux, and it's working - GUI/user level is Android - and.... it could be better :D

That depends on Apps. It's really not anyone of Us fault that Movie player, File, Settings (made by Archos) try to be so "smart" that looks for files only in particular places.

When you change "Files" for "Astro", gallery with "QuickPic" and so on - you will have no such a problem (if there is currently)

I'm not writing this system from scratch, so I can't change it's design. Perhaps it would be better to use MeeGo instead of Android - in a not long future. That's just one of the options.

And, as I understand SDE idea, it's not intended for everyone - it's for those who seeks certain options not available in stock OS - I guess UrukDroid fits perfectly for this purpose.

Cheers!
[Gen8 Android Development] fzelle:
I also only have a class 4 just for the testing.

While the DB write test in Quadrant is slow it runs to the end with a score of around 2000.

And the problem with your sdcard and usb drive not visible is probably connected to automount.

For the sdcard, the automount script only recocnises vfat or ext4.

What filesystem is on the HD?
[Gen8 Android Development] stephen44:
i think so - try one file - don't forget to set permissions

- Stephen
[Gen8 Android Development] ki8mju7lo9:
I tried to change the size of swap memory from 50 to 128

I did it in android terminal emulator(confirmed that the change is saved)

I found that even if I reboot, the size is still 50

any idea?
[Gen8 Android Development] $aur0n:
You have edited /etc/uruk.conf/swap?

Have you erased swap file like it's written in this file?

Procedure:

edit:nano /etc/uruk.conf/swap

offline swap:/etc/uruk.d/swap stop

delete file:rm /swap01.file (or any other defines /etc/uruk.conf/swap)
[Gen8 Android Development] ki8mju7lo9:
it works now

thanks:D
[Gen8 Android Development] sweetypie:
The sdcard is ext4, as per the instructions in post 1.

The HD is Fat32, and is recognised by Menu> System> etc, and all apps at "normal" boot. Which is why I bought it. It's a 250GB Freecom 1.8 inch External USB drive, bought for use with my A5IT 32GB SSD models, and Battery Dock. It's low powered.

@$aurOn

Thanks for the reply. You've pretty much confirmed what I thought - that the "Root boot" is not really intended for "normal use", unlike my rooted A5IT, which works normally, but with the addition of root priviledges.

I guess I'll put the A101 back to "stock". I get around 1400 to 1500 on Quadrant from "stock" setup anyway. I think the disadvantages outweigh the (possible) advantages.

It's been interesting though, from a Linux point of view, so thanks for the help.

Now where's that "Uninstall" instruction?

:)
[Gen8 Android Development] bthoven:
Hi,

I follow the upgrading instruction (from 0.2 to 0.3).

So far so good, the SD card damaged has gone (is it supposed to?).

But the bluetooth is still not working; when pressing on, it grey out and not connect.

When plugging to PC with usb, it won't mount and keep on saying something like device memory....

Any idea what went wrong?

Thanks
[Gen8 Android Development] $aur0n:
Yes, since there is changed /etc/vold.fstab

This should work - last error in bluetooth was cussed by kernel (zImage) - when did you downloaded it?

This is how it is - I can't change it. Like for now - market in fist page as unfixable.
[Gen8 Android Development] thefunkygibbon:
answering my own post again.

ok i have managed to get all files back by mounting the internal data folder and copying that over to /data in the SDE.

one thing i have noticed though now (not sure if it was like this before as i didnt really check...it was def ok in 0.2) i cannot see my SD card in any file browser it doesnt seem to have mounted (using the same partition structure as recommended 0.5gb as boot 1gb app the rest as ext4 normal.

any ideas?
[Gen8 Android Development] $aur0n:
Have you checked /mnt/storage/sdcard ?

Ps.

Anyone willing to create and maintain FAQ? :D
[Gen8 Android Development] indigomontoya:
As I am having a similar problem, I'd love to try and help with this if possible. I am no system developer, but have been using some variant of linux as my main home computer for 10+ years. If you (or someone) can give me a few tips on how to approach this Id be glad to take it on.
[Gen8 Android Development] bthoven:
OK. Bluetooth works now. It was my fault copying wrong version of zImage.

Now another problem, connecting thumbdrive with OTG cable won't work anymore (0.2 still works fine).
[Gen8 Android Development] $aur0n:
It does not work, or it's not automounted? (check dmesg)
[Gen8 Android Development] thefunkygibbon:
yeah its mounted in there apparently (although its empty)

the default file manager and ES File manager both fail to see it though.
[Gen8 Android Development] bthoven:
I restart LauncherPro+ and now it can detect and mount the external thumdrive...thanks.
[Gen8 Android Development] Mgsfan:
hmm did eeverything so far to the letter but can't install any apps from the marketplace since it says I have no more space..