yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] $aur0n:
Ok - sorry, I've read your previous post on tablet and I did not see entire line (this line)

Tablet showed me it like this

And this would mean that this is not done by my script. Anyway - FAT systems are formatted in different ways, so please download once again mount_sdcard.sh (i've updated it a bit) - like in cited post. And send me once again output of

su
mount_sdcard.sh debug

Thx!
[Gen8 Android Development] fisha21:
Sorry, yes I meant that I was using the same sdcard I had installed Uruk 0.6 on, and thought that might be why it wasn't mounting.

$ $su#ls -l /etc/vold*
-rw-r--r-- 1 root root 1809 Dec 15 03:42 /etc/vold.A70H.fstab
lrwxrwxrwx 1 root root 27 Feb 19 18:47 /etc/vold.fstab -> /system/etc/vold.fstab-ext4
-rw-r--r-- 1 root root 1814 Jan 17 11:35 /etc/vold.fstab-ext4
-rw-r--r-- 1 root root 1813 Jan 19 10:52 /etc/vold.fstab-stock
#

Have done the above, and sdcard is now mounting successfully!

--- Running in debug mode ---
Device already mounted
[Gen8 Android Development] raymondht:
incase I want it back to the orginal archos firmware how will I do that?
[Gen8 Android Development] $aur0n:
This is development thread - please go to user one.

Question:

Has anyone already tested Easy Install on A70H (with HD) or A101 16GB internal method (does this give good partition sizes?).
[Gen8 Android Development] stephen44:
sure i am testing on A101 16GB

i use the anvanced format option and then take the 512,1gb,rest option
[Gen8 Android Development] $aur0n:
Internal or external - i'm curious about internal mostly.

What about this sdcard issue?
[Gen8 Android Development] stephen44:
internal

the sdcard issue - my sdcard has died - maybe that - new one arriving this morning - so will let you know

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

new card arrived and mounts ok - following above procedure
[Gen8 Android Development] TjaXanK:
Ok, I'll test this and report back in 10 minutes
[Gen8 Android Development] TjaXanK:
Did everything above and both times I got the same output from the terminal;

This is what I get:

$ $su

#ls -l /etc/vold*

-rw-r--r-- 1 root root 1809 Dec 15 03:42 /etc/vold.A70H.fstab

lrwxrwxrwx 1 root root 27 Feb 20 19:38 /etc/vold.fstab -> /system/etc/vold.fstab-ext4

-rw-r--r-- 1 root root 1814 Jan 17 11:35 /etc/vold.fstab-ext4

-rw-r--r-- 1 root root 1813 Jan 19 10:52 /etc/vold.fstab-stock

#
[Gen8 Android Development] $aur0n:
And what is output of

su

mount_sdcard.sh debug
[Gen8 Android Development] TjaXanK:
sorry, forgot to post that:

--- Running in debug mode ---

Debug: now will wait for device...

Debug: It's not ext4 device

Debug: It's not vfat device
[Gen8 Android Development] $aur0n:
It's an output of OLD mount_sdcard.sh - please download new one as I asked.

su
cd /system/bin/
wget http://tinyurl.com/662olwt
chown root:root mount_sdcard.sh
chmod a+x mount_sdcard.sh
./mount_sdcard.sh debug
sync

Send me output then reboot...
[Gen8 Android Development] TjaXanK:
it's telling me :

wget: can't open '662olwt' : File exists
[Gen8 Android Development] $aur0n:
Weird ;)

su
cd /system/bin
cat 662olwt > mount_sdcard.sh
./mount_sdcard.sh debug
[Gen8 Android Development] TjaXanK:
same thing as earlier :(

and after this it tells me:

./mount_sdcard.sh : permission denied
[Gen8 Android Development] $aur0n:
su
cd /system/bin
chown root:root mount_sdcard.sh
chmod 0755 mount_sdcard.sh
./mount_sdcard.sh debug
[Gen8 Android Development] TjaXanK:
ok, here we go, it's the debug is different this time:

--- Running in debug mode ---

Debug: now will wait for device...

Debug: /devstdin: X86 boot sector

Debug: It's not ext4 device

Fixing vold fstab link

Debug: It's not vfat device
[Gen8 Android Development] TjaXanK:
ok, perfect, rebooted and now it's mounting the sd card! :D
[Gen8 Android Development] stephen44:
I noticed that lots of people (Chulri as well) are complaining that their usb stopped working (A101) since upgrading to 2.1.8 .... stopped working as in blew up - reverting back to old fw did not repair

could this be due to a kernel file change ? - just a thought ?
[Gen8 Android Development] $aur0n:
I've read both threads at xda and achosfan regarding this usb problem - I don't believe it's caused by kernel changes (if archos is doing any with new firmwares). I think that those ports are not broken (and there is some software issue) - it would be good to install Uruk (on broken device) and check this out. Or it's just time coincidence and HW is simply broken.
[Gen8 Android Development] solune:
Hello,

No problem to add news services, can you give me scripts and files (the ones in uruk.conf and uruk.d) ?

Change down/running to buttons : I'll look at it.

Move hide buttons and force update : no problem to move them to options tab.
[Gen8 Android Development] $aur0n:
I'm preparing RC1 currently - with this you will have all services to check and implement in UrukConfig. If you can - I guess it's still on 'todo' list - to add some more settings and/or description for services.
[Gen8 Android Development] $aur0n:
This is post that woti wrote about partition alignment (so they will "fit" into hardware block/sector design of storage).

I cut/paste it here to discuss. I've take a closer look at "how it is done in uruk" and frankly - those partitions are aligned...

In every howto I wrote, and in EasyInstall partition are created with alignment to full 1M. I just need to check how exactly fdisk undestand "M" (if its 10^6 or 2^20)
[Gen8 Android Development] woti23:
command check-align in parted shows

if you use fdisk instead of parted/gparted to create partitions, you'll have to

- switch off DOS-compatible mode

- and change display units to sectors (command 'u')

before creating partitions

fdisk -c -u /dev/.....

the difference is that you get

wrong (not aligned, or aligned to cylinders)

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sdb1 63 20980889 10490413+ 83 Linux

right (aligned)

Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System

/dev/sdb1 2048 20973567 10485760 83 Linux
[Gen8 Android Development] $aur0n:
Yep - already checked - all my installs were aligned.

Since all my tested installs are ok - it probably depends on SD card hw build.

Ok - so using -u options should ensure alignment for future installations (-c is default for some time in fdisk).
[Gen8 Android Development] solune:
Ok I'll wait for RC1 to add news services then :)

I'm working on UI interface to add more settings and description for services, but it's not easy to find how to do it :(

I try to add more and more things in option tab but it's a mess.

So I've change my mind and I've add a new button for each service, to open a new windows (intent in java language ;) ) where I can write service description, button to start and stop service, enable or disable, and others options for the service who need it.

In that way, people who don't know that touching Enable or Running will change it, will find with button the way to change that. And in an other way, I don't have to change my listview of service that I like as it is (I've try to put buttons, that's not nice to look at).

But then, there is nothing to put in Option tab but the 2 buttons who are in informations for now !

Is future 3G integration in uruk will work as a service ? Can I add it in service list ?
[Gen8 Android Development] nenadr:
3G/RNDIS won't need service - just what I've sent you in PM (configuration for 3G is in /data/local.prop, connect script is in /data/tether_start generated by archos tethering wizard)

If there is no 3G configuration data in /data/local.prop (or it is disabled with one of the parameters in same file), tethering script won't even try the 3G modem tethering.

RNDIS tethering doesn't need any configuration data and it is auto-detected.
[Gen8 Android Development] solune:
Ok, thanks nenadr, then I put 3g config in option tab.
[Gen8 Android Development] $aur0n:
UrukDroid 0.7RC1 upgrade

Hi,

Since it's significant change (almost not binaries left the same since 0.6) - the only proper way to move to 0.7 is to do the upgrade (not update) - so all services configuration will get overwritten.

Download file:

c7dbf5a5e304cf6b3b3d88bc54cd3e77 UrukDroid-0.7RC1-upgrade.tbz2 137M

Make sure you have at least 280MB free on /data/ and 140MB free on /.

Put it to /data/UrukUpdate and wait until device reboot itself (couple of minutes).

(if the update process won't start do "su; touch /data/UrukUpdate/a" - I've probably managed to solve this issue in 0.7 anyway)

@solune - you have now new services to work one

@nenad - please try if everything of your work is acting properly
[Gen8 Android Development] nimrodity:
file seems down.

whats the differrence between update and upgrade?
[Gen8 Android Development] $aur0n:
Yep - it seems to be down :/

update overwrites files and does not necessary requires restart, upgrades removes most of files and is done during boot time.
[Gen8 Android Development] solune:
MU is up.

I try it tonight !
[Gen8 Android Development] sublimejosh2000:
Internal..

Does this work for internal??
[Gen8 Android Development] $aur0n:
I see no reason why it shouldn't. Kernel/initram since 0.6 supports internal - so it should upgrade properly.
[Gen8 Android Development] sublimejosh2000:
0.7RC1

OK.. Giving it a try...

EDIT: worked.. only thing .. when it tried to boot into the homescreen on first attempt after upgrade.. I had just a black partially lit screen for a few minutes... I rebooted manually, and the second attempt worked fine. Any new speed improvments in this release?
[Gen8 Android Development] solune:
$auron, do I have to add incrond service in the service list ?

I've added Nfs4 and Vpnc for now.

Upgraded Uruk to v0.7rc1 without problem. Seem's to work well :)
[Gen8 Android Development] $aur0n:
Glad to hear. No incrond is system service (it's since 0.5) - users don't (and shouldn't) change it's state.

In 0.7RC1 I've found two errors (fixed now) - one with creating new swap file, and one with compcache statistics.

NFS4 is something that took me some time to compile and test - not just nfs4 but cachefs and cachedaemon together - but I like how it works now. That's why it can (if configured this way) to disable djmount and smb while running. Sadly I was unable to do any kind of "read ahead" for files - so 720p can still be jerky :(
[Gen8 Android Development] TjaXanK:
copied it to the folder but nothing seems to happen :(
[Gen8 Android Development] sublimejosh2000:
Bug Report

I also having issues with Swap. It says it is there when I run the "free" command in Terminal.. but Uruk Config says it is "Down"

Also,

What is the best way to do Media Scan now, I am showing no media files at all in my players, but I know they are there... et, when I do a scan it doesn't scan.. I already enabled it in Uruk Config.. Any Ideas..
[Gen8 Android Development] $aur0n:
I wrote what to do in that case...

Are you sure it's swap? Please read carefully manual - is it compcache?

It should work exactly like in 0.6 - but theoretical Archos fixed deleting files issue with media updater.
[Gen8 Android Development] woti23:
assuming running system and data from sdcard:

if one would like to do an fsck - at least on /data partition - before it gets mounted

where had it to be done?

i guess running from /etc/init.d/rcS script is not an option, as mount_sdcard.sh is run before

and after that at least /data/dalvik-cache will be used imidiately?

inside mount_sdcard ?

or is something on data used at that point?

btw: when does adb get started on tablet, it seems it gets involved after the black blank screen, so no chance to see anything useful while the screen is black (and maybe occationaly reboot without cleanly unmount the partitions than by mistake)

is it possible to have adb while connected for flashing kernel/initrams or while in recovery?
[Gen8 Android Development] sublimejosh2000:
response

yea, In Uruk Config app it says I have 64Mb Swap with 60 Swappiness.. Startup is enabled, but service is "Down" .. No matter how many times I try to start service or re-do the swap from the tools menu..

But, when I go to terminal and type "Free" it says i have 6528 of swap space... and some of it is being used.. so I assume it is working correctly, just doesn't show that the service is running inside UrukConfig..
[Gen8 Android Development] $aur0n:
In 0.7 it's done in initrd level - it's not beautiful but should work (fsck -p every time, when mount fails fsck -y)

edit: It will be in 0.7RC2 - I forgot to put it in this release ;)

Here is done fsck of /mnt/storage/sdcard - if it's ext4

Nope - on this level you have only usb-tty. I haven't use adb even once to develop Uruk.
[Gen8 Android Development] TjaXanK:
Right :) I'll do it that way and post back
[Gen8 Android Development] $aur0n:
UrukConfig shows you configuration of swap, not current it state. Like I said 0.7RC1 has swap problem - if you have removed /swap01.file (or it's simply not there) it won't start.

You can check it with

su
/etc/uruk.d/swap status
[Gen8 Android Development] woti23:
in case someone needs

mac partition on external harddisk can be mounted with hfsplus.ko compiled from the ardatdat git

mount -t hfsplus /dev/block/sda1 /mnt/external/mac_partition

for example

cd /mnt/external/mac_partition ; ls -l

drwxr-xr-x 1 nobody nobody 17 Jul 6 2009 iPhoto Library

drwxr-xr-x 1 nobody nobody 36 Jul 6 2009 iTunes Music
[Gen8 Android Development] $aur0n:
Eee you could ask ;) I'll add hfsplus and nls_utf8 modules in RC2.
[Gen8 Android Development] solune:
A strange thing : urukconfig fail to find ip address. I've Socket exception, permission denied when running getNetworkInterface !

That was working in uruk v0.6.
[Gen8 Android Development] $aur0n:
Ok - the reason is because of Android kernel modification that "restrains" some network actions. This stuff was disabled in 0.6 kernel, but it made OpenVPN not working from user interface (was unable to bind to device). So I guess you need to specify during install that you want to use network - then Android will allow you to check IP.
[Gen8 Android Development] solune:
Thanks, that's it :)

In fact to gain ip address I need internet rights, and not access network state ! Strange ! But it work again :)
[Gen8 Android Development] Mod57:
Cpu Governor Uruk-0.7

I have been testing UrukDroid-0.7RC1 for several hours. My observation is it's considerably slower then 6. Scrolling isn't as smooth and I had a force close playing a game something I never had running 0.6. Max frequency seems to be 800Mhz it pretty much stays locked at 800. It also uses a constant 85-99% cpu. I killed all apps. and it still stayed at 85% cpu. When running Uruk-0.6 idle normally was 300Mhz and 35% cpu. I realize this is early beta just wanted to share what I see.
[Gen8 Android Development] $aur0n:
Check what process is occupying your CPU.

su
export TERM=vt100
top
[Gen8 Android Development] Mod57:
Results

1162 - User root - 96.1% cpu - incrond
[Gen8 Android Development] $aur0n:
Try if after reboot this process will still hang on CPU. Of course it should not use CPU at this level. Probably that's because you fell "0.7" slower...
[Gen8 Android Development] woti23:
@ $aur0n

can i safely deactivate the "no software xy is available" from archos - autoupdate.

i assume its AosUpdate.apk?

should be also safe to remove/move to a not_used directory the following apps in /system/app?

UserManual.apk

Talk.apk

StartupWizard.apk

Protips.apk

OnlineRegistration.apk

MagicSmokeWallpapers.apk

LiveWallpapers.apk

LiveWallpapersPicker.apk

GoogleFeedback.apk

FroyoTransitionWizard.apk

DemoMode.apk

Calculator.apk

ArchosWidget.apk

FieldTest.apk

and in /data/app

com.appslib.vending-1.apk
[Gen8 Android Development] $aur0n:
I have deactivated following apps: (moved from /system/app to /system/app.old)

AosUpdate.apk

ArchosWidget.apk

Browser.apk

DemoMode.apk

DeskClock.apk

Email.apk

FileManager.apk

FroyoTransitionWizard.apk

Launcher2.apk

MagicSmokeWallpapers.apk

OnlineRegistration.apk

Phone.apk

QuickSearchBox.apk

StartupWizard.apk

TelephonyProvider.apk

UserManual.apk

If you don't use "appslib" as apk provider - you can remove it of course.
[Gen8 Android Development] woti23:
ah, good, thanks

Daos.apk can be removed also. its the "new software available" in the notification bar.
[Gen8 Android Development] $aur0n:
I may be wrong - but on very early stage of Uruk I've tried to removed it and it seemed like it's required for something more that just autoupdate... but it was long time (and much less knowledge) ago ;)
[Gen8 Android Development] $aur0n:
UrukDroid 0.7RC2 upgrade

Hej,

UrukDroid 0.7RC2 upgrade

files:

UrukDroid 0.7RC2 upgrade

Default kernel for 0.7RC2

OC kernel for 0.7RC2

changes:

fixed swap, compcache

add "cpugovernor stats" and change it behaviour to configure OC kernel properly

other small fixes

new gameloft games savegame backup

Can be applied on 0.6 or 0.7. I'm not going to prepare updates 0.7RCn->0.7RCN - since I'm modifying just this RC to be final upgrade package.

I've prepared yesterday an OC version of Uruk kernel - OC part is completely based on work of ardatdat (and it can be screwed by me, since I could miss some changes - I had only source to work on). It's not recommended anyhow to use it ;) and you are doing it on your own risk. I'm not going to support any error reports regarding OC (unless not at this stage).

To update kernel, drop package as usual to /data/UrukUpdate, wait and reboot. Way of getting back is the same (that's why I've published default kernel).

To check how it's working - please use cpugovernor service

UrukDroid - welcome!
Dropbear SSH server
root@archos70's password:
root@localhost:/root# cd /etc/uruk.d/
root@localhost:/etc/uruk.d# ./cpugovernor stats
Uruk-CPUGovernor statistics:
Current governor: interactive
CPU Max: 1200000
CPU Min: 300000
Available frequencies: 1200000 1100000 1000000 600000 300000
CPU statistics (tick spend in every frequency range):
1200000 3767
1100000 171
1000000 630
600000 4633
300000 244

That gameloft stuff is funny thing - but two weeks ago it happened to me that I've lost savegame because Archos hang completely. DungeonHunter (game) tries to do one savegame backup - but it's done in foolish way and it's easy to lost them both. So I've made small script that do savegame backups (DungeonHunter and HeroOfSparta for now) - I don't know if it's useful - but it's nice proof of concept. I uses filesystem inotify subsystem and act's only when proper (savegame) file is modified - so it's not wasting any cpu ticks - than stores its copy (script is in /system/xbin/gameloft_backup.sh - you can change there number of copies to remember)
[Gen8 Android Development] Caste23:
Hi $aur0n,

I'm not a developer but I would like to test UrukDroid 0.7RC2 upgrade

Can I do that ?

thanks.
[Gen8 Android Development] $aur0n:
It's completely up to you - but since it's RC (Release Candidate) it may cause troubles and it may by harder to update to 0.7 for example - it simply may require more knowledge.
[Gen8 Android Development] Caste23:
Thank a lot.

I think I'm going to completely reinstall your UrukDroid soon as version 0.7 will be official because I want to install in the internal SD card

:)

thank you for your hard work

Regards
[Gen8 Android Development] Caste23:
I upgrade RC1 to RC2 but I still have "UrukDroid 0.7RC1 (24/02/2011)" in UrukConfig;

It is normal ?
[Gen8 Android Development] $aur0n:
Yes - I guess I forgot to change it ;)
[Gen8 Android Development] snickle:
I updated to 0.7RC1 yesterday. incrond is using 97+ percent of the CPU. If I kill that process the tablet works fine.

I then tried to update to RC2 and it did not detect the file. I assuming you use incrond to detect file placed in /data/UrukUpdate. I restarted my a101 and left incrond running this time. Recopied to the upgrade file to /data/UrukUpdate and am hoping it will eventually pick it up. CPU is still pegged by incrond.

Any suggestions?

Update did finally complete. incrond still pegs cpu.

An strace attached but never should anything.

Results of mount: Note: Uruk on internal

rootfs on / type rootfs (rw)

/dev/mmcblk1p2 on / type ext4 (rw,noatime,barrier=1,nodelalloc,data=ordered)

/dev/mmcblk1p3 on /data type ext4 (rw,noatime,barrier=1,nodelalloc,data=ordered)

tmpfs on /dev type tmpfs (rw,mode=755)

devpts on /dev/pts type devpts (rw,mode=600)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

usbfs on /proc/bus/usb type usbfs (rw,devuid=1000,busuid=1000,listuid=1000)

debugfs on /sys/kernel/debug type debugfs (rw)

tmpfs on /mnt/asec type tmpfs (rw,mode=755,gid=1000)

tmpfs on /tmp type tmpfs (rw)

/dev/block/mmcblk0p1 on /mnt/rawfs type rawfs (rw)

tmpfs on /dev/shm type tmpfs (rw)

/dev/block/vold/179:9 on /mnt/storage type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)

/dev/block/vold/179:9 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)

tmpfs on /mnt/storage/.android_secure type tmpfs (ro,size=0k,mode=000)

/dev/block/dm-0 on /mnt/asec/com.lonedwarfgames.tanks.androidpaid-1 type vfat (ro,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)

/dev/block/dm-1 on /mnt/asec/com.badlogic.newtonfull-1 type vfat (ro,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)

/dev/block/dm-2 on /mnt/asec/com.rovio.angrybirds-1 type vfat (ro,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)

Update: a reboot and now incrond is behaving, but now between com.android.email and system server they are using 97% of the CPU. Strange. Once, email sync'd this process settled out and it appears to be okay. I will do some more detailed testing later today.

Update: com.android.email tries to contact my exchange server repeatedly keeping the CPU pegged if wireless is not on. This is new behavior in 0.7. I am not sure I tested it at stock 2.1.08. It appears that it cannot tell that there is no data connection. Anyone no how the apps check for a data connection?
[Gen8 Android Development] $aur0n:
Perhaps update does not start because incrond is not working properly. You can use "Force update" from UrukConfig. In 0.7 this will work differently - so please let me know if this worked (this force update does not require incrond).

What is your disk configuration? ("mount" would be good) - are you familiar with "strace" tool? You could try

su
strace -f -p `pidof incrond`

And see what is incrond doing/waiting - and of course report back :)
[Gen8 Android Development] Caste23:
same here.

incrond use most of the time 97.3 % CPU

after a reboot : all it's ok.

PS : After few minutes, incrond come back with 97.7% CPU :(