yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] nenadr:
OK, clean (_without_ copying of /data) Easy-install 0.6 on 4Gbyte Class2 SDCard, went smoothly, but:

1. Settings->Storage->SDCard Total Space/Availible Space - Unavailible also cannot Mount SD card / Format SD Card (grayed out)

EDIT: After aditional reboot, SDCard storage "re-appeared" and working, so this is not a real problem.

2. PPtP VPN doesn't work (works on stock 2.1.0[2,3,4])

3. OpenVPN doesn't work (works on stock 2.1.0[2,3,4])

4. A right piece of a bootlogo is shown on a left side ;) (width of strip is about same as width of soft-buttons)

5. Creating USB tethering profile in Settings->Cellphone tethering, for some reason doesn't create '/data/tether_start' file (don't know is it created on stock 2.1.0[234], but it was created up to 2.0.71)

NOTE: Tnx to $aur0n this one is solved with:

su
chown 1000:1000 /data
chmod ug+rwx /data

I saw in change log/problems note, saying that OpenVPN doesn't work from GUI "when /data is copied during setup", so I avoided that and made a clean install, but unfortunatly still no luck with ether type of VPNs from GUI :-(.

I'll edit this post if I find something else that has problems.
[Gen8 Android Development] kevinddavis:
Windows 7 doesn't understand ext3 filesystem. You can use something like Ext2Fsd from sourceforge. Then you can access your Archos.

Anyone figured out how to install the market? I can't find a /data directory to drop the file into.
[Gen8 Android Development] fly_us:
I got the Terminal Emulator from Applibs, then use command to make UrukUpdate directory and copy it there.
[Gen8 Android Development] $aur0n:
Its FAT partition - so it's fully readable under windows - please read more carefully.

To install market please follow instruction - if there is no, by any chance, /data/UrukUpdate/ directory - create it. But it should be there.
[Gen8 Android Development] jdolmen:
Hi, I couldn't find the UrukUpdate dir either. Maybe if you try to create the dir manually and move the UrukDroid-GoogleMarket_1.0.tbz2 file there it may work....

In my case I did the installation manually, extracting the contents of the UrukDroid-GoogleMarket_1.0.tbz2 and copying the files ....

Market worked for me, however geolocalization didn't work.

I solved it reinstalling the kenyu73 package... a bit messy I would say.... This google apps are little devils...
[Gen8 Android Development] $aur0n:
This is the same program - I had no time to find why/where it does not meet Android security credential - it so pointless :/ (I mean to look for "why the hell it does not work with s***y android - but on system level it's fully ok). Anyway there is Uruk service called OpenVPN. It's much easier since it works all the time and whenever you connect internet - it tries to create vpn. Only problem can be when you have multiple vpn's. I'll try to fix it somehow - but like for now I wanted spend time on other things.

You have A101?

You mean bluetooth? Does this makes tethering not working?
[Gen8 Android Development] nenadr:
I'm relizing that VPN is not on top of your priority list, and I understand why (regarding Easy-install and stuff - great work BTW), but my situation is that I work as IT consultant to a lot of companies and on a daily basis I connect to at least 5 different PPtP servers, and at least 5 more OpenVPN servers, in order to get my paycheck at the end of the month ;).

And I bought Archos thinking, I finally won't have to carry laptop constantly, because around 90% of what I do, can be done from archos :)). Hope you understand now why the VPN issue is big for me, and why uruk's OpenVPN service doesn't quite cut for me.

Yes A101/16Gb

I ment USB tethering. Wizard is same as for bluetooth tethering via DUN profile, since Archos considered only USB tethering via pppd (SerialOverUSB - cdc-acm.ko).

Wizard try to detect your APN, username and password (and if it can't detect, it give you the option to enter data manualy), and it should create /data/tether_start file on finish.

That file is referenced in /system/etc/ppp/tether file, used by pppd called from /system/bin/tether_start_dun.sh and /system/bin/tether_start_usb.sh, called by framework when you start USB or Bluetooth DUN tethering.

File is ppp chatscript, with expect-send pairs of AT commands for modem initialization, APN selection and dialing, btw.

Regarding tethering not working - since I have HTC Desire which doesn't have Bluetooth tethering (neither DUN nor PAN), and whose USB tethering is done via EtherntOverUSB (not SerialOverUSB), I don't have a way to check that.

3G USB dongles tethering does work when I manualy create /data/tether_start with adeqate AT commands in it.
[Gen8 Android Development] fnetf:
Hy $aur0n, why is this package so much bigger than V.0.5 ?
[Gen8 Android Development] $aur0n:
Why "so much"?

UrukDroid_0.5-install.zip had 116M

UrukDroid_0.6-EasyInstall.rar has 127M

its only 11M bigger and there is plenty of new kernel modules for dvb, net etc. Quite a lot of new system level tools and software :)
[Gen8 Android Development] dirttrasher:
Hi,

great work !

I use 0.5, how can i make a complete new installation with 0.6, is it possible, what will i have to do, everything can be deleted.
[Gen8 Android Development] Mod57:
Windows 7 64 bit

I reloaded again this AM and everything worked flawlessly. Not sure why it was fighting me last night. Very nice work.
[Gen8 Android Development] Caste23:
Hi $aur0n,

Many thanks for this update.....

I'm waiting for 0.7 with internal installation.

I'm on holidays ... I Will donate next saturday for sure, it's just what i can do to help you.

Thanks a lot for your hard work
[Gen8 Android Development] $aur0n:
Just follow the steps from the first post - it will erase entire content of sdcard (so all previous, possible Uruk installations also)
[Gen8 Android Development] cajl:
great

http://www.jbmm.fr/2011/02/11/urukdroid-6-0-en-installation-rapide/

i wait the 0.7 for internal install (on the 10.1 16go)

i have the 0.5 ont he 10.1, your new install is ok for the update ?
[Gen8 Android Development] $aur0n:
Nope - update will go with separate package - I'll have to prepare it yet...
[Gen8 Android Development] nenadr:
Tnx to $aur0n this one is solved with:

su
chown 1000:1000 /data
chmod ug+rwx /data

Just do it once, and before you create tethering profile.
[Gen8 Android Development] kevinddavis:
Oh, I started out with ext3, so I had to have the ext2 reader on my PC to load the SDE. Made the wrong assumption that it was required during later phases. Sorry.

I'm guessing the issue is the instructions are mostly updated with the new easy install, but not completely.

So copying the market file to /data/UrukUpdate requires using a terminal emulator to copy the market file to that directory.

Unfortunately you'll start to see more rooting / linux novices using your tool since you've made it so much easier. I've been following your work since you started, but I just decided to use the tool once you started working on the easy install.

Thanks!
[Gen8 Android Development] liutszho:
I am having trouble getting a location fix on google maps,

It can get a fix fine via wifi on stock tho. Just booted normally and it could get a fix within seconds.
[Gen8 Android Development] cajl:
when the package is ok or if you want test

send me a mail

Good beer this week end !
[Gen8 Android Development] $aur0n:
The easiest way is probably to download it on Archos with WEB browser and use file manager like Astro or EZ File Manager to move it to /data/UrukUpdate/

I'll try to make it easier - with UrukConfig perhaps...
[Gen8 Android Development] fnetf:
Hy $aur0n, can you tell me when is the Update-Package ready !

I have a good running V.0.5 and won`t start brandnew from the beginning !
[Gen8 Android Development] solune:
No problem to add something to UrukConfig, just ask :)
[Gen8 Android Development] nenadr:
I can confirm, google parts installed via .tbz2 file from 1st post, Maps are 5.1.0, uruk install is clean (no /data copied during install). Didn't had that problem on 0.3 to 0.5 but google stuff was installed with, .zip from kenyu73 thread

EDIT: it seems that gmail push and auto-sync doesn't work either :-(
[Gen8 Android Development] GrandStar:
Can I install UrukDroid 0.6 using easy install without an SD card? Use the internal storage of my Archos device.. How to do this?
[Gen8 Android Development] argie:
I apologize if my question is already answered, but I could not find it.

I installed 0.6 without any problems (after deciphering the cryptic instructions and redoing steps).

In OP #3, section "UrukDroid configuration system", the presence of UrukDroid config files is detailed as being in

/system/etc/uruk.d/ - directory with services

/system/etc/uruk.conf/ - directory with configuration files

/system/etc/init.d/ - symli

I also went to /etc/uruk.conf/... etc., but no such files. The installation went through all of the steps in OP #1, so I'm assuming I'm on 0.6.

What could have gone wrong?
[Gen8 Android Development] kevinddavis:
It's already pretty easy. And I thank you for that. My 70 seems much more responsive now.

Was up way late and decided to make the switch about 3 AM. By 4 AM had everything downloaded and updated. There was at least one place where the process was rebooting and it booted to "Android" instead of the "Developer Edition" with no comment that made me aware of needing to hold the Vol Up button. I have a bigger, faster Micro SD card coming next week, so I'll take better notes during the install process.

Only thing that I couldn't get going was the Market which I fixed after grabbing a couple of hours sleep. I probably would have figured it out earlier without reaching out here for help if it was a normal hour. :o
[Gen8 Android Development] CazH:
Is it just me or does the busybox coming with this ROM not support NFS? I know the kernel module comes, but I can't mount a NFS share? And from what I found out it's because of busybox not supporting it?
[Gen8 Android Development] jetv1r:
im using 101t...im doing the steps on uruk 06 but after i flash the kernel and infrms it didn't went tru ..it reboot on normal android, was waiting for that uruk process to begin but it didn't...what is wrong with what im doing...never had any uruk on my device this will be the first one..can someone help me?
[Gen8 Android Development] $aur0n:
It's not a problem of busybox, since mount is native GNU/Linux command in Uruk. It's a problem of lack proper nfs daemons (depending on version - lockd, portmaper etc.) - with some time I can make it in 0.7 - but this is not too much requested stuff (but I use it anyway since 0.4 because NFS is much more flexible and fast comparing to smb).
[Gen8 Android Development] $aur0n:
You need to boot once again to SDE - I've updated howto since it was not clearly stated there.
[Gen8 Android Development] liutszho:
Thats weird, push email and auto sync works for me tho, calendar synced up just fine
[Gen8 Android Development] ki8mju7lo9:
just one question before trying:

is the SDcard being erased the internal storage(/sdcard)

or the external one

or both?:confused:
[Gen8 Android Development] fisha21:
it's the external microsd, so make sure you back up the contents. my internal SD remained intact, but probably worth backing that up too, just in case....
[Gen8 Android Development] nenadr:
You're right... push email and auto-sync work OK from this morning, it must have been some google slowdown last night.... so only thing from google stuff with a problem is network based location service
[Gen8 Android Development] msticninja:
Nice work as always. Was there supposed to be an option to install somewhere other than SDcard? I refuse to use the SDcard for the rootfs, I need to be able to remove it at will, and the only option the easy install gave me was installing to SDCard. I do have extra partitions on my Internal storage though, so that may have tripped up the install script.

I've moved the rootfs to mmcblk0p2, but I had to delete swap(0p3), reduce the size of the data partition(0p4), and remove journaling on 0p2(shouldn't need it with no data being written to it 99% of the time) to fit it all in. Going from 140MB for the stock 2.1.4 to 240MB for Urukdroid 0.6 is a huge size difference. It seems like there's some stuff in /usr that could be symlinked to save space, but it's a bit late here to start going through it, and I figure you have kept install size in mind already.

If you've been following the forum, you'll notice I couldn't wait for 0.6 and made a few of my own modifications to the stock 2.1.4, but reading through your init files, etc., you've completely disheartened me. There's no way I can keep up. :) I just finished my automatic install script, and you already have one built that's infinitely better, PLUS you've already added all your countless fixes. Simply amazing.

My one question: Have you experimented with Ardatdat's kernel at all? I don't have alot of time or patience to test, but Urukdroid 0.5 seemed a bit smoother with his kernel(without OCing, OCed performance was obviously even better). What is the base of your kernel? Stock Archos, cross compile, or some combination of both?
[Gen8 Android Development] $aur0n:
It's external Micro SDHC card only. It does not touch at all internal storage (yet ;) ).
[Gen8 Android Development] $aur0n:
If you have 0.5 on internal, update package (not yet release - I’m on vacation now ;) ) will upgrade internal instalation too. Base uruk install on internal should come with 0.7

I'll take a look at size thing - but it's because there is plenty of normal GNU tools (with full capabilities) - not striped ones from busybox etc. Certainly it's not a linking issue

It's base on archos source, with patches and code back ported from various places. I haven't tried Ardatdat kernel since tzbob promised to prepare OC kernel for Uruk. But since he is silent for month now - perhaps I'll (after doing everything else) toward Ardatdat modifications.
[Gen8 Android Development] CazH:
Great sounds good :) I use it for the same reasons smb just has way to much overhead and garbage data. NFS was my only reason for looking in to UrukDroid but it seems there might be a couple of other things making UrukDroid worth the trouble :D

Can you give a ETA on 0.7? Just a ballpark figure, days, weeks, months etc ? :)
[Gen8 Android Development] msticninja:
Thanks for the quick reply. Personally, I hate using the Internal Storage as well. It annoys me to lose space on Internal/SD when there's ~485 megs of the Archos block going unused. For that reason, I'll probably never use the easy install(unless you make one that uses block 0, but don't do it just for me). :)

Regarding the size issue, I know what you mean. My initramfs.cpio.gz tripled in size just by adding one GNU tool. I don't expect you to match the stock size by any means, and the only people who are really that worried about size are the few people like me who use block 0. It was more of a remark on how much work you've done than a request for more work.

EDIT:I can't seem to reboot. It just hangs on the Shutting Down... screen after a couple of repeats of the circular animation, and I have to do a hard shutdown. Haven't had time to track down what throws the panic. I'm wondering if it's because I disabled journalling, doesn't seem to make sense though.

Users: DO NOT think this is an Uruk bug. I have modified his code, and, I'm sure, caused this problem myself.

EDIT: Don't use Ardatdat's kernel if you want to reboot without freezing. I have to say it runs very smooth with his kernel though, minus the reboot. One remaining issue is that the Updating Multimedia Library thing does a full scan on every boot. I can't tell if it's not building the library, or what.
[Gen8 Android Development] Kashban:
Well, it's even easier... with the app swapper2 you are able to set size and location of the swap space as well as the "swappiness"... it was set to 10 by default (0 is no swapping), I did put it to 100 (maximum) and now it swapped almost 100 MiByte - pardon me, 200 MiByte while I write this message.

-> Amiga still running, web pages still cached, Google Maps and Earth still open, Angry Birds comes up again and so forth.

That's what I call multitasking. Performance is quite good, my sd card is class 2 but runs like a class 4. Probably a "swappiness" of 90 would be best, I'm going to experiment a bit with it.

How about including this app or something similar into your distribution?
[Gen8 Android Development] $aur0n:
Every Linux (99% for sure ;) ) have "tar" command. It's kind of "rar" but without compression (like rar -m 0). That's why it's "rootfs.tar". To make it smaller it's also compressed with tool called "gzip" (have nothing to do with zip). That's why it's finally called "rootfs.tar.gz".

So "step by step" it should be

gzip -d rootfs.tar.gz (uncompress file)

tar -xf rootfs.tar (extract files from archive to current directory)

but because it's long, most recent system will accept it in one line

tar -zxf rootfs.tar (extract files from archive to current directory)

"z" switch will inform tar it should decompress it first
[Gen8 Android Development] Kashban:
Happened to me too, mixing up Zero and O. There were times long ago in another century, hence time / space continuum, when fonts were made for clarity and readability, especially in the IT.

Zeros had a dot in the center or a slash added to tell them from the "O", but nowadays you probably lose your mars rocket or something else of importance due to a slight "coding error".
[Gen8 Android Development] $aur0n:
It's another tool in memory - I don't like it that way. You can change "swappiness" in 0.2 by editing this parameter in

root@localhost:/usr/bin# ls -l /usr/local/bin/swap_on.sh
-rwxrwxrw- 1 root root 135 Jan 1 17:02 /usr/local/bin/swap_on.sh

Also if /swap01.file is to small for you...

swapoff /swap01.file
dd if=/dev/zero of=/swap01.file bs=1M count=100 (100 for 100MiB)
/usr/local/bin/mkswap /swap01.file
/usr/local/bin/swap_on.sh

Now without any tool, after startup you will have 100MiB swap on (all this requires 0.2)
[Gen8 Android Development] mchipser:
a new MicroSDHC...

h t t p : / / l e x a r. c o m/products/lexar-high-speed-microsdhc-card-performance-kit?category=90

32GB class 10
[Gen8 Android Development] nimrodity:
i give up.I am just too stupid,on Ubuntu i dont even get that far,formating the sd,not thinking even about extracting or something like that,but thx everyone for trying to help.

But it looks like i have to learn the very basics of linux before trying again.
[Gen8 Android Development] stanglx:
Set your swap until it stops growing... anything less will ultimately cause CPU waits... Unfortunately this becomes counter productive also as it needs to swap out from swap space to resident memory which will increase I/O and CPU cycles.. There are trades offs but only watching some key indicators will tell you if you have the optimal swap space.

Are you seeing any CPU or I/O waits when your running all those apps?
[Gen8 Android Development] Kashban:
I didn't go into that kind of detail yet. I noticed that after approximately 200 MiByte of swap were used, apps got kicked out again. I didn't encounter any significant lags when a swapped out app was being revived, took up to a few secs, though, depending on it's size and data allocation. All in all the archos is very responsive and fun to use with swap and 1100 MHz.

There are apps available to monitor CPU, Memory and I/O, probably that'll help a bit finding about the optimal swap space size and "swappiness".

@$aur0n: I'm going to try your way by changing the init scripts.

Question: I have the OC kernel installed (see other post here in the forum) which is at least compatible to your V01 release. Do I have to use the V02 kernel to benefit from your changes or is rootfs / cpio enough?

I'd like to keep the OC.
[Gen8 Android Development] henrylim:
Care to share your initramfs.cpio.gz? It will make is simpler for newbies like me, who doesn't know how to compile kernels. thanks! ;)

I must say I have tried to partition ext3 in Windows and Mac, and then use Gparted/Ubuntu Live CD for ext4 partitioning. The ^huge_file flag makes a big difference in making sure that Android recognise the partitions. Unfortunately, I have no idea how to set that flag in gparted, extfs driver for MAC (using Disk utility) or using Partition Master/Partition Manager software in Windows. Ultimately, only the linux commands work reliably...
[Gen8 Android Development] Tzbob:
Hey aur0n could you share a benchmarking script for the memory?

I'd like to see how the internal memory really holds up against your, or someone else's SD card, seeing as I get 4600+ in Quadrant on I/O it seems very good, perhaps we can compare with class 10 cards that people have been talking about in this topic.
[Gen8 Android Development] Kashban:
With Ubuntu you don't have to use the console to partition and format your SD card.

Under System->Administration you find the Disk Tool, which is more like the GUIs we're comfortable with on Windows and MacOS. There is no "no huge file" option, but that didn't seem to be a problem. You can also mount the partitions later on to do some work on them, like extracting rootfs.tar.gz to the first partition.

Label the partitions with reasonable names, or you will get some generated labels nobody is able to remember (e.g. "rootfs", "data", "sdcard").

The file manager "Nautilus" will help you to extract your files to the sd card.

Open a Terminal session and enter "sudo nautilus". After entering your password nautilus starts as root and is then able to access the file system with root permissions.

To extract the rootfs.tar.gz file to your rootfs partition, right click on the archive and select "Archive Manager". Here you just navigate to your rootfs partition and click on "extract" with options all files and recreate directories.

Just doing it that way and it should work for you too.
[Gen8 Android Development] $aur0n:
It's hard to tell since I've already compiled some parts IN kernel. Just try it.

I've already tested some OC changes - but they all just a hack, I think a bit too crude. I've already tried to do it in expected (by kernel) manor - as a kernel boot parameter or CPU identification string - but not yet usable. From MAX cpu (and some other cpu settings) depends DSP frequency, some power management - in my opinion it's not that easy - but I may be missing something.

About swap - remember that to much swap makes you system slower. Cpu can operate ONLY on real memory so it has to pull data from swap to "run" it. So in my opinion (with that kind of swap - it's still slow comparing to box PCs/servers) there is no much sense use it above 100MB (since after starting OS you have aprox. 100MB real memory free).

In my mod v0.2 there are tools to check all this stuff, for example full (not cripled busybox) top (all in /usr/local/bin), vmstat, slaptop etc. - you can check how many cycles of CPU goes for i/o, kswapd etc.
[Gen8 Android Development] henrylim:
I have probably make the cardinal sin of not reading the instructions in the first posting carefully, and thinking that I can do most of the stuff in Windows or Mac. It took me literally days to fully understand the written instructions (the whys, not the hows) and knowing why I failed.

I finally realize that running an Ubuntu Live CD is not difficult, and it does help

1) to ensure that the file permissions of rootfs.tar.gz files get correctly transferred to the root partition of the sd card (doing sudo su to get root admin permissions and run the correct tar command)

2) to run the linux command to format sd card partitions without ^huge_file set. I have tried gparted or extfs (Mac) or Partition Manager/Master in Windows. The last 2 can create up to ext3 partition and not ext4, and may set ^huge_file or not. Therefore, you might find that you cannot boot beyond second flash screen.

I am looking forward to an option to have root partition as the second partition, /data as the second/third partition, linux swap as last partition, and keep vfat (fat32) as the first partition so that Android will automount the SD card without sounding the alarm.