yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] d31b0y:
OK, unfortunately when you do this on the internal memory you can't mount it once it's been unmounted (as far as I can tell at least...). Android doesn't know what to do with the partitions, just says internal memory damaged. Then when you try to mount it, it just sits there spinning away. NVM, I just partitioned the whole thing to EXT 4 instead of resizing the existing partition. duh.

I will start again and try on my SD card.

OK, just finished trying again on my SD card and it worked. Now it's time to get myself a better SD card.

Keep up the good work $aur0n, I will be following this thread closely ;)
[Gen8 Android Development] Kashban:
Hi!

That'll helped me mounting the internal memory (mount point was missing).

Something I'm still struggeling with is the compatibility with the archos apps (like file explorer and video/music). They expect Video and music folders at certain mount points and I seem to have it wrong (see my last post).

Where should they be mounted to be detected by these apps?
[Gen8 Android Development] $aur0n:
It should be in /mnt/storage/sdcard. I'll change it in next release. Do as someone here said - remove vfat internal from vold and mount it manually or wait ;)
[Gen8 Android Development] Kashban:
Thanks, mate! Keep up the good work :D.
[Gen8 Android Development] masterbox:
I proposed a french translation of your tutorial here :

http://utopievirtuelle.wordpress.co...blette-archos-gen8-root-complet-grace-au-sde/

Hope this is ok for you.

MasterBOX
[Gen8 Android Development] stephen44:
great work - ty - I am going to try this once i have a micro-sd card.

For the USA - here is about the best 16GB class 10

http://www.frys.com/product/6427462?site=sr:SEARCH:MAIN_RSLT_PG

this is only $27.99 and 1.99 postage (economy)

seems like a deal

O another note - Am i right in saying i can't format to EXT4 with a windows app ?

I am going to load ubuntu 10-10 server into a vmware session =- this will work ok - right ?

- Stephen
[Gen8 Android Development] Jdbye:
Very happy with my SD boot so far :)

Feels snappier too.
[Gen8 Android Development] mchipser:
How do you take a screen shot??
[Gen8 Android Development] Tzbob:
I have to agree ;)

They really did an awesome job!=D Perhaps soon we'll get a kernel with custom drivers for Webcams or Gamepads using the Archos USB Host^^! that'd be awesome but for now I'm more than pleased with this new speed.

**You can take a screenshot by going to Settings->Applications->Developement->Screenshot on powerkey
[Gen8 Android Development] jbradshw:
I was just looking at this card on NewEgg and thought about getting it - now that I see it's at Frys I'll probably run out and buy one.

Just a heads up for those that get it - if you read the feedback on NewEgg, some people are reporting Class 10 speeds, others are reporting much slower. I would recommend benchmarking it to see what you get. Of course, even if it's not Class 10, it's still not a bad deal for the price.

Here's a link to it on NewEgg:

http://www.newegg.com/Product/Produ...yMark=False&IsFeedbackTab=true#scrollFullInfo
[Gen8 Android Development] Longsh0t:
I'm expecting my Archos 70 today and had a question about doing this method for rooting. I'm not familiar with Linux at all but I have a box ready to go with Ubuntu 10.10. This should be good, right?

For formatting of the sdcard, are you using a card reader or will mounting the card while it's in the Archos suffice? And would the guide found on this link do the correct formating I need for the sdcard (assuming I make one partition for ext4)?

http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
[Gen8 Android Development] stephen44:
do you have an android disk benchmark tool you recommend - or just windows/linux ?
[Gen8 Android Development] kams912:
This has happened twice now. Everything will be working fine and then after a random reboot all my apps crash and it makes me do the setup wizard again. It's almost like the data folder is lost or corrupted, then I have to reinstall all apps. Any ideas?
[Gen8 Android Development] dervari:
I tried this and no go. How is the internal memory mounted? The internal memory gets mounted at /storage -> /mnt/storage but you're mounting to /mnt/storage/nternal which would be /storage/internal. I lost all my internal memory and moved apps when I did that.
[Gen8 Android Development] jbradshw:
I'm also seeing this behavior, but I haven't pinpointed it to any specific thing yet. Mine I can just hit the power button to screen save, come back after a couple hours, launch an app, and later start getting the FCs. It's just random when it starts, and yeah eventually I'll reach a reboot that start the wizard.
[Gen8 Android Development] Kashban:
Had this too with 0.2.
[Gen8 Android Development] $aur0n:
You don't need to do anything in init.rc to mount devices (from Uruk 0.3) - what is your problem?
[Gen8 Android Development] $aur0n:
It happened to me once, when I used OC kernel - I'm not saying it's because of that OC, but certainly there is some issue there.

- it can be malfunction in some Archos apps, that thinks it's fresh install and overwrites data (like starting wizard for example)

- i'm not sure if init process wait's for devices to being mount, perhaps mounting /data takes longer then usual, and assuming that init works parallel - it may happens that init start services whiles /data is not yet mounted

- it may be a problem of kernel corrupting some apps/dalvik

It requires some checkouts...
[Gen8 Android Development] $aur0n:
I had not time today to look closer at this issue (I've been working on samba and some inside modules utils) - but it seems that iowaits appears with lots of context switching, to watch it open ssh session and use

vmstat 2

This will give you aggregated in 2 seconds period system statistics io,cx,swap, cpu - all you need (if you feeling ok with this - you can move this discussion to dev thread)
[Gen8 Android Development] $aur0n:
You should NOT use app2sd on Uruk - it will not help at all, and may be harmful.
[Gen8 Android Development] fzelle:
I have now done the same things that has crashed the ext4 version with ext3 and it is still working.

Quadrant has gone down, but it doesn't feel any diff.

So i'm staying with ext3.

If you search for ext4 problems on the net you will see that it might be a designflaw of that system.

Ext3 puts transactional information ontop of ext2 and is able to rollback operations.

Ext4 doesn't write for some time and is therefore faster, especially on slower devices.

But if you hardreset it is then going wrong under some circumstances.

As said, i stay with the slower ext3.

It is not as slow as the numbers suggest.
[Gen8 Android Development] $aur0n:
It's only partially true and you are messing in peoples head. There were some problems with ext4 during dev period (with crash reboot). And "delayed allocation" you are referring to can be disabled. It's not true about "rolling back" operations - ext4 has much more to say in journaling meta data and data itself. And probably extends are the thing that's make it much faster on NAND storage.

Your device - your choice.
[Gen8 Android Development] sweetypie:
I've gone back to ext3 too for now. And you can use the card in normal boot mode too. It "sees" the card.
[Gen8 Android Development] fzelle:
@$aur0n:

Might be, but this is what i have experienced with the system.

And as i said, the same things that crash the ext4 system done with ext3 is working all the time.

Quadrant has gone down on my very slow card from ~2050 to about ~1850 and it doesn't feel any different.

As there are news that ext4 will be std for gingerbread we might see a more stable version of that module, but until then i will stay with ext3.

But despite this, you are doing a good job with uruk.

If i wasn't that busy with work ( I'm still working now at CET 23:00 ) i would definately get involved as i'm doing sw dev for 25 years now and still love it.
[Gen8 Android Development] Blackdragon_860:
Hello

txh for uruk, its really greate.

I have installed it (0.3) and everything work greate. I have only the problem, that when i copy music to sdcard, the music player cant find it. What i make wrong? Must i put the files on sdcard2?

Thx for reply
[Gen8 Android Development] bthoven:
Swapper2 will change the swap file immediately but it will change back to 50mb after reboot. I intend to change uruk conf to start with zero swap file; and only use swapper2 to create one only when I need it.

Having swap file seems to create lag and freeze from tome to time, even with 25mb size. So I prefer non, until I get my new class 10 card to verify its usefulness.

Fyi, my card write speed is only 2.2MB/s; though its label says class 6.!
[Gen8 Android Development] oic0:
Happened to me too. When it happened to me phone.apk forced close non stop. Took me ten mins to get through the wizard (booted standard and deleted phone). When I finally made it through there was no launcher, just soft buttons, notification, and blackness. I'm sure I could fix it but ill wait. It wasn't runnin well for me.

I had fun learning and playing along with the developments though.
[Gen8 Android Development] Ghostifish:
Hi

I have managed to install Uruk to the internal storage instead of the sdcard.

It boots from mmcblk1p2, its rooted, and mmcblk0p4 has been copied to my new /data partition, mmcblk1p3.

All is well, except the sdcard, which is does not get auto mounted.

Any thoughts anyone? I've tried modifying /system/bin/mount_sdcard.sh, editing dev_mount to point to the correct partition for me (p1 instead of p3) but it still doesn't work. Is there somewhere else i should look?

Thanks

more info:

debug mode of mount_sdcard.sh completes claiming the sdcard is neither ext4 or vfat.

looking into it, but your if else statements are making me dizzy.

another edit...

fixed it, restored vold.fstab to its original state (or near enough)
[Gen8 Android Development] bthoven:
@$aur0n: Could you let me know how to

not

creating the swap file when reboot the 0.3 root...Thanks.
[Gen8 Android Development] Ghostifish:
edit /system/etc/uruk.conf/swap

change the line that reads

service_enabled=1

to

service_enabled=0

reboot, then delete the swap file.
[Gen8 Android Development] bthoven:
@Ghostfish: thanks a lot.
[Gen8 Android Development] bthoven:
@$aur0n:Could you let me know where is the /system/app/ folder in the internal card?

I intend to use stock Andriod on my Archos 70, for the time being, so that I can use my internal volume and my external sd card for storage. But before that, I want to replace its email.apk with Galaxy Tab email.apk.

I've been using Galaxy Tab email app on my 0.3 root Archos for two days and I like it. I want to make sure I'll have it too on my stock Andriod.

I'll definitely come back to your root hack when it allows my PC to see those storage volumes.

Thanks
[Gen8 Android Development] thefunkygibbon:
is there any downside to using fat32 as the main (largest, 3rd) partition on the SD card? i mean its not being used for the purposes of this rom really is it? would i need to change anything in the fstab or anything or should it be ok?

I'm kinda fed up with having that much redundant space as there doesnt seem to be any working ext* read/writing apps available for 64bit win7 :(
[Gen8 Android Development] fzelle:
@bthoven:

/system/app is in a compressed and signed squashfs so there is no chance in changing that.

Either use the sd version or stay with email.apk.
[Gen8 Android Development] $aur0n:
Except you have 4gb per file size limit on fat32 - not really much limitation for normal user. But (please check - it would be valuable information) I'm afraid it won't make this storage visible to PC - unless on Uruk (and any other distribution installed on sdcard). As far as I've seen it on my Archos/Xperia, android first unmounts all partitions of SDCard and then shows whole device (sdcard) to PC. Since it can't unmount primary and secondary partition - it will not make it visible on PC site.
[Gen8 Android Development] bthoven:
$aur0n: My pc can't see the internal volume (6.xGB) under 0.3 too; is it normal?

Just wonder why my PC can see the 6.xGB volume when run on stock OS? The 8GB inside Archos should be a flash drive with 3 partitions too?
[Gen8 Android Development] bthoven:
Oh..I saw that compressed file too; it's pity I have to choose.

Thanks
[Gen8 Android Development] $aur0n:
Well probably because on top of internal storage is mounted SDCard storage - so Android service can't probably deal with it. But after changes in proper Archos service (code changes) - to make him unmount /mnt/storage/sdcard and then, umount internal storage - it may work. The whole mess is probably because of design and stupid vold (don't understand some partitions designs and ext4).

It's kind of 'not too good' design of this process (made by Archos) - I can't mount sdcard in other point, because Archos utils wont find files. I can't make it symbolic link - since it's vfat (does not support this).
[Gen8 Android Development] Caste23:
Hi guys,

I just bought my Archos 101 and I'm very happy with it.

I'm noob and I have some questions. ( if some people already answer i'm very sory. I tried to read all the thread and i don't find it)

1. In order to turn back to my original settings, I have just to remove SD card ?

2. Can I have access to the internal memory with it ?

3. It is much faster than the original kernel ?

I'm very sorry for my poor english.

Thanks a lot for your help.

Regards.

CaSte23

PS : I already post this on an other thread, but I think it was a mistake.
[Gen8 Android Development] sweetypie:
I thought that too, so I dug out an old 2GB card and did it again, just using the first 2 partitions. My 16GB card is now formatted as ext3 for use with either my A5IT, or in "normal" boot mode with my A101.
[Gen8 Android Development] sitelister:
Gingerbread Flavour

[Unknowledgeable] Is it possible at all to mix in some gingerbread into this ROM?
[Gen8 Android Development] cnewsgrp:
Request:

$aur0n: You are doing an excellent job and I know that there are extreme challenges in doing this, but if you can make the /storage and /sdcard remainder spaces available via USB then the product will become much more usable. Not many are used to winscp for transferring files.
[Gen8 Android Development] $aur0n:
What exactly from GGB? (and it's not ROM)

Like I said sdcard can't be done - internal storage, perhaps. And if not winscp - what about Samba? (You will get another disk in your network environment on windows) I think it's even easier then usb - but it requires wifi oh well.

Well is when 0.4 comes out ;)
[Gen8 Android Development] Ghostifish:
Is there any reason for mounting mmcblk0p2 /mnt/system on Uruk? (or 0p1 /rawfs)

I assume the /cache mount is required, but would it not be better to have an ext4 cache instead of the default ext3?
[Gen8 Android Development] thefunkygibbon:
i think i could live with the 4gb limit to be honest and transfer any movies split or transcoded as most of them have ac3 anyway :(

but you are saying there is no way of mounting the device on a PC at all because it cant unmount those partitions? is there no way it could be changed so that it only passes a specific partition instead of passing through the whole card?

again , i think i could live with having to take the card out etc. I will attempt to format the partition and check the situation out tonight.
[Gen8 Android Development] $aur0n:
Nope - /mnt/system is not needed - just left there since I do some debug on it ;)

I will take a look at cache...
[Gen8 Android Development] Kashban:
Also the cache could be bigger... I sometimes see error messages in alogcat pointing to SQL statements failing because of lacking cache space.
[Gen8 Android Development] nenadr:
I don't mind using winscp, or to have Archos mounted as network disk - both things are great but their good for apps or smaller files.

When one starts to copy videos or pictures or music, copying over WiFi using any method, is much,much slower then over USB.

So if anything can be done to expose internal storage to PC when connected via USB, it would be really great.
[Gen8 Android Development] Ghostifish:
so, mmcblk0 is about 500MB and mmcblk1 is 7.5GB (or 15.5)... two parts of one 8GB block(or 16GB)? I wonder if there is a way to reorganise this, bump up the size of mmcblk0 and install uruk there. Then internal storage and sdcard should unmount fine for usbstorage. (would of course completely wipeout stock archos android, something for the future maybe?)
[Gen8 Android Development] sublimejosh2000:
Partitions of Internal storage..

Could we somehow re-partition the internal storage partition (14G or so) and create 2 partitions (500Mb, 13.5G) out of that like we do with the SD card, but mount it so that we can use it to boot off of.

use the same /Data we always use, same Cache partition, and just change the 500Mb space and boot from there. This would leave the original Android intact, and give us the ability to go back to it if need be. I just think that we could split that last one into 2 and use a portion for booting UrukDroid off of.

This is just future hopeful wishing, but I think this would be better than wiping the stock out and overwriting it with a new file structure.

JW

(Please don't fire at me, I am not a develeper, just an idea...)

EDIT: I know this is the VOLD area.. is that why we cannot do this? If not, I guess we could do the MMCBLK0 and play musical chairs with the partitions. Possibly use this for everything and deal with the 300Mb limit with the option for using the SD card for a secondary data source.
[Gen8 Android Development] p0rk burn:
Success!

I don't have anything to add other than thanks. My experience was limited to mucking around on my rooted droid 1 (altering framework files, rom-ing, mixing themes, etc) and I had practically no actual linux experience, but I was confident I could pull it off with these instructions.

It took a few versions of linux live boots (DSL VM didn't have the USB module, slax didn't support ext4) but after troubleshooting I am happy to say I pulled it off. This was only a test run though as the SDcard I'm using is the class 2 that came with the OG droid. A class 10 16 gb is on the way and the process should be a lot faster the second time through.

Thanks again, its the dev scene and projects like this that get me excited.
[Gen8 Android Development] carlochiefsg:
Hi can this method work on archos 70 250GB? It doesn't have any SD card slot though...=(
[Gen8 Android Development] $aur0n:
Yes it will - soon ;)
[Gen8 Android Development] sweetypie:
There are several permutations of options using this method, from the absolute minimum to the full (performance) package, achieved by following the full instructions. It depends what you need.

Somebody in the Archosfans forum performed the basic "root" part, in order to investigate tether boot options, by gaining access to (the copy of) those files.

For example, if you only need root, and can live without the bigger apps partition and performance increase (if any), then format in ext3, and use the original option of only making one partition. That way the card can be seen, and therefore used by the Archos in "normal" boot mode. You don't squander 14.5 GB of useful space. Also, the Archos can be connected to the PC in "normal" boot mode to transfer files to / from the card. These are "compatibility" options.

Or, if you only need root and nothing else, use any old 512MB sdcard lying around in the back of a drawer and make one small partition for rootfs.

Or, if you don't want to squander the space on an expensive Class 6 16GB sdcard, buy a cheaper 2GB sdcard, forget the extra 3rd partition, and save some money.

You pays your money and takes your choice. For the moment, I've chosen the 2GB ext3 option. A simple reliable, if not sparkling solution.

I've finally stumbled on an ext4 driver for Windows, but, as $aurOn says, the PC needs to recognise the device, and the device needs to make itself available to the PC. If the device isn't making itself available to the PC, the ext4 driver will never see it anyway.

I'm sure the various problems will be solved, in the meantime think about what you really need / want.
[Gen8 Android Development] $aur0n:
If you have found ext4 for Win (I haven't seek for it) - give other people a clue - it may help. You don't need to connect Archos over USB - you can use card reader - it can be much faster this way.
[Gen8 Android Development] sweetypie:
Sorry. I'm usually the last one to find anything, so I assumed you and others more up to date than I am, would know about it. I've not tried it yet, because, as I said, I'm using ext3 right now.

Here's the link:

http://www.soluvas.com/read-browse-explore-open-ext2-ext3-ext4-partition-filesystem-from-windows-7/

By the way, with the USB connection to Ubuntu on my PC, I can also edit / transfer files to the Archos internal storage, OR the sdcard, as I can see the whole device, when using normal boot mode and ext3.
[Gen8 Android Development] snickle:
Bluetooth Wifi issue with Ver .3

Sometimes when connected to a bluetooth keyboard, wifi starts cycling on and off. The only way to fix is turn off bluetooth. Then wifi comes back, and yuo can turn bluetooth back on.

I will test later today with stock firmware.
[Gen8 Android Development] $aur0n:
USB Charging

USB charging

Ok - I said that I could be wrong it was working... now I've tested it again and it IS working - but i have no idea what conditions are required (I'm changing kernel functionality to fast and to often...), since I'm testing it on new 0.4 kernel :/

btw. Anyone using ADB in stock Android can send me "lsmod" and "ls -l /dev/" ? (after it will be connected to PC over ADB)
[Gen8 Android Development] cnewsgrp:
Can you explain this a bit more? I am very interested to findout if there is a way I can use this process and still transfer files from the computer. What should I do?
[Gen8 Android Development] sublimejosh2000:
$aur0n....

Are you working towards getting this to work off the internal partitions? Or are you going to stick with using the SD card for boot always? I was wondering.

JW
[Gen8 Android Development] $aur0n:
It's not a big deal to make it work from internal partition - but creating howto and answering for people question - it would be nightmare. Also this makes it potentially harmful for stock OS.

So answer is no - I don't work on it.
[Gen8 Android Development] sweetypie:
Sorry, I made a new post by mistake, instead of editing this one ...

Please ignore (I can't delete my post on this forum).
[Gen8 Android Development] sweetypie:
@cnewsgrp

"Can you explain this a bit more? I am very interested to findout if there is a way I can use this process and still transfer files from the computer. What should I do?"

Sorry. What I was trying to say was, that by using ext3 instead of ext4, when making the filesystem on the partition(s) on your sdcard, your Archos will be able to read your sdcard in "normal" boot mode. If formatted in ext4 it won't.

As $aurOn said, the easiest way to transfer files from PC to sdcard, is to put the card directly in the PC, via a card reader. Then, with an ext3 formatted card, if you want to copy the files between the card and the internal storage of the Archos, you can do that in normal boot mode, because the Archos sees both in File Manager.

All the rest of my waffle was just to indicate that there are many intermediate options concerning the size of the card(s), the number of the cards, number of partitions, and the type of filesystem. Each has its own benefits.
[Gen8 Android Development] cnewsgrp:
ok, thanks. I thought that if I format ext3 sdcard will be visible when I make a usb connection. Thanks for the clarification.