yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] $aur0n:
Ok need 0.4 to be tested - list of changes is here but in short:

Some more tools like: bc, proc utils, vim, tcpdump, bzip2, tar etc.

Android apps (Market, Maps, Talk, Calendar, Contact, Feedback, Locator, Updater) by default

Samba (3.2.5) support for sharing /mnt/storage (internal and sdcard storage) from Archos

Removed two apps. TelephonyProvider.apk, Phone.apk

Backported modprobe, depmod etc. tools for modules management

Initial DVB-T support (Afatech AF9005, Afatech AF9015, DiBcom DiB0700, Terratec CinergyT2/qanu)

It requires to erase old data in rootfs (it will probably work without that - but part of this release is cleanup). It may conflict with already installed googleapps (market,gtalk) - stuff that are in gAppInstaller (or similar).

So it's perfectly ok to ignore above information’s and give it a try with overwrite - but write conclusions here ;)

Update as I see:

On PC/Linux - download rootfs.tar.gz somewhere on PC, check "dmesg | tail" where your SD card is, I assume it's /dev/sdb:

su
cd /tmp
mkdir sdcard
mount /dev/sdb1 sdcard
cd sdcard
tar -cf ../backup.tar *
rm -rf *
tar -zxf /pathtoimage/rootfs.tar.gz
umount scdard

copy somewhere /tmp/backup.tar - just in case...

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.4/rootfs.tar.gz

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.4/zImage

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.4/initramfs.cpio.gz

Be default samba in running - so you should see Archos in localnetwork. User name is "storage" password is "UrukDroid". To change password use on terminal "smbpasswd -a storage".

chulri: please check DVB support, I've added modules like above and firmware from your git. There are also basic tools in /usr/local/bin/ (also from your git).

To enable dvb edit /etc/uruk.conf/dvb (it should be clear what to edit)

If anything else should be enabled during boot - please tell me or modify /etc/uruk.d/dvb

cheefy: you have a normal tar, and bzip2 for better compress ratio ;) - waiting for scripts

Who wanted VIM? :)
[Gen8 Android Development] Kashban:
Will look into it, especially for DVB-Support for Cinergy. Unfortunately I cannot do this in Office, since I don't have Access to Linux Box (required to update/overwrite rootfs).

What is VIM?
[Gen8 Android Development] N23:
vi Improved - the best Text editor on *nix :D

I'll also test later today and report then !
[Gen8 Android Development] NotoriousBDG:
I performed a fresh install on my 101. The only issue I've encountered so far is that the new splash screen does not display correctly. It looks like static.

From a cosmetic perspective, /system/etc/init.d/K01samba should be renamed to /system/etc/init.d/K01swap.
[Gen8 Android Development] $aur0n:
It is static image - but I guess on 101 (witch has higher resolution) it will look bad - I need to do some hardware recognition - am I correct?

Yep - fixed.

Everything else works ok? (market, samba, dvb ?)
[Gen8 Android Development] NotoriousBDG:
Yes, hardware detection is probably needed. It looks like the get_info utility might help with identifying the platform.

$ get_info p
A101IT

Market and samba work for me. I haven't tested dvb.
[Gen8 Android Development] $aur0n:
xenicle (or anyone with A70H) - please try current 0.4 initramfs+zImage from dropbox.

rootfs.tar.gz HAVE to be extracted to first partition (ext4) on your HD. Flash zImage and initramfs.cpio.gz - it should boot as a clean (no installed apps) Android.

Waiting for feedback!
[Gen8 Android Development] N23:
0.4 works like a charm on the 101 , fast and so on - only problem ist the market for me, it's not working :( completely wiped the rootfs-partition...

adb over usb - works!

i think the error is that i had the market installed before and removed the files from /data/test/... now i have a error in the logs:

Failed to find provider info for com.google.android.gsf.services
TosActivity$TosLoadAction.displayResults(): Could not check for TOS

how can i fix this? completely wipe the /data partition?

Maybe the Google Mail Application should be included? Because in some markets (germany for example) we only get a very old version in the market...
[Gen8 Android Development] $aur0n:
I'm not sure if this is a problem - you should probably just uninstall it, not erase. There has to be some kind of apk - to make android actually read stuff from /data/test ...

Well this will help for sure ;) - but it's rather drastic solution...

edit: N23, could you reflash initramfs and zimage - I've added bootlogo, and I wander how bad it looks on 101 ;)
[Gen8 Android Development] localh0rst:
it's broken, totally distorted ... with some imagination it could be a white background with a green android :-)
[Gen8 Android Development] $aur0n:
Hmm I'm not sure how Archos do it - I'm not sure if there is different rawfs filesystem with different banner :/. I'll deal with it later - rest is ok?

Can you (or someone with 101) do some dumps with logo?

Download this gfx (logo1 logo2), open them in Uruk in FramePhoto, so there is nothing else on screen, except image) and from ssh do "cat /dev/graphics/fb0 >/sdcard/logo1", and the same for second image "cat /dev/graphics/fb0 >/sdcard/logo2" - compress and send them to me... (sauron ( at ) rpg (dot) pl).

It's lame - but fast - will take more care about this later...
[Gen8 Android Development] localh0rst:
yeah, who cares about the picture :-)

ok? to early to say, so far i had one fc with the market (which looks awesome on the 101 :-))...
[Gen8 Android Development] Tsusai:
I've patched wpa_supplicant source files to supposedly allow Ad-Hock wifi detection and connecting. Since I can't compile, I'll post them when they get home and I hope one of you guys can integrate it :)
[Gen8 Android Development] localh0rst:
you got mail :-)
[Gen8 Android Development] $aur0n:
What patch? I'm almost sure wpa_supplicant can use adhoc - it's just configuration problem you can't choose it on Archos...
[Gen8 Android Development] $aur0n:
Thx! (hope this are not some boobs :D ).
[Gen8 Android Development] chrulri:
Hey $aur0n

One question (maybe a feature request):

why don't we use a squasfs ROM (as its name says: read-only, like the stock archos android) and put it where the stock android squashfs resides and put a unionfs on top with a writable storage somewhere else like dogmaphobias solution, but instead of tmpfs we use some file on internal storage or even a custom partition on sdcard?

updating and installing (initramfs checks for a specific file, namely the squashfs file, on sd or internal storage and moves it to where the squashfs has to reside.

that would be much easier to install AND upgrade and changes by users won't get overwritten by a new rom version :)

even updating OTA would be possible: download the file to sdcard or internal storage and reboot :)

what do you think`?
[Gen8 Android Development] $aur0n:
I don't really feel any pros here

- slower (compression)

- slower (unionfs)

- potentially risky (unionfs)

- quite a lot of "changes" when porting anything from Linux (since apps like to write ;) )

Replacing original squasfs - what we gain? Stock os is unbootable - just few GB more storage?
[Gen8 Android Development] HerrieMan:
$auron,

should I give your 0.4 release a go on my A70H ? or is this still only suitable to be installed on an sd-card ?
[Gen8 Android Development] chrulri:
how much slower? risky? .. facts?

why shouldn't linux apps can write? that's what unionfs and the writable storage (ext4 @ image or partition) is for.

who wan't stock os side by side with a custom rom? just wipe it, if you want it back: reformat. if you want the custom rom back: put the custom update-file where it has to be and reboot with sde -> custom rom installed

pros:

- no more hassling around with with linux tools and untaring rootfs archives.

- so much easier installation and update process

- updates don't wipe customizations by the user as it's stored in another image / partition

contras:

-

maybe

slower

edit: if you don't want to, I'll give it a try, based on your latest urukdroid release, ok?
[Gen8 Android Development] woti23:
$aur0n did you once use the command locate in 0.6?

when i call the command it shows every file on disk, no matter what pattern i use

without line breaks, just dilimited with "?"
[Gen8 Android Development] Caste23:
Well,

I think it's happen only if I launch UrukConfig.

I use my A101IT without launching UrukConfig and I don't have problem with incrond
[Gen8 Android Development] $aur0n:
This /usr/bin/locate command is from stock os - and it has not much sense to use in in Android - since it requires to build proper file database on every update. For what purpose you wanted to use it?
[Gen8 Android Development] $aur0n:
Busted! Yep it seems like UrukConfig triggers something that makes some services to starve the entire system (first try and my cpu is divided between incrond, portmap and openvpn).

edit: I can't repeat it again now :(
[Gen8 Android Development] yepayepa:
whereis and find are better, IMHO, no database, no rebuild.
[Gen8 Android Development] Mod57:
I rebooted last night as you asked me to every thing seemed good. Got up this AM and incrond 97% maxed out again. I have no apps running other then launcher and a few widgets these never were an issue before.
[Gen8 Android Development] $aur0n:
Have you used UrukConfig after reboot? Restart again and check if problem exist.
[Gen8 Android Development] Mod57:
After reboot I never used UrukConfig all I did is clicked a few apps and everything seemed to be normal. This morning maxed out again strange.
[Gen8 Android Development] nimrodity:
using 0.7 rc2

my led doesnt turn off anymore when in standby
[Gen8 Android Development] $aur0n:
I thing this is the problem of archos firmware 2.1.8 - do you have it installed also on non SDE boot? (to check this out)
[Gen8 Android Development] $aur0n:
Hanging processes on CPU

Ok I guess I know when some processes start to hang on cpu - I don't know yet why (and It may by extremely hard to find out).

You have mentioned about incrond. In my case it's also openvpn and portmap.

The problem occurs after soft sleep of device...

Now anyone knows where can be a problem?
[Gen8 Android Development] sublimejosh2000:
File Unavailable

he OC kernel is not there anymore.. can I get it?
[Gen8 Android Development] $aur0n:
It's temporarily unavailable - just wait ;)
[Gen8 Android Development] woti23:
ah, sorry no problem, just thought i did something wrong because it didn't work.

btw: i compiled netfilter (iptables) into the ardatdat git kernel (not as module), droidwall firewall works then.

forwhatever reason it didn'twork with modules, even if i was sure i choosed the needed ones (especially the suggested netfilter_owner the author of the app suggest), in fact i choosed almost all of them.

i suppose, when go for 0.7, my homebrewn kernel will not work anymore? is it possible to have two installs on two micro sd's and change between 0.6 and 0.7 (rebooting between of course ;-)
[Gen8 Android Development] nimrodity:
i have 2 big problems with 0.7 rc2.

first one is with wifi on in standby the battery drain is enormous,nearly same as its when being used.about 20% per hour.

2nd is,the system uses much more ram like before.only using the browser for a couple of minutes it uses up so many ram.the launcher resets and the browser force closes.

Similar to the first really bad froyo firmware,even though i use cpmpcache,what could be the reason?

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] yepayepa:
Okay, I.removed UrukConfig yesterday evening, followed by a reboot, then I left my A70S on the table for the night.

And this morning, I turned on and surprise, around 93% of CPU used by incrond.
[Gen8 Android Development] nimrodity:
How can i check what amount of cpu usage an app takes up?
[Gen8 Android Development] woti23:
in a terminal (command line)

enter

# top
[Gen8 Android Development] $aur0n:
I wrote already - it has nothing to do with UrukConfig. This services does not wake up properly (properly for Android) from sleep/suspend. So as long as system is awake - everything is ok. I don't know yet why.

edit: I don't know what it is exactly - but probably some part of uClibc is responsible for sleeping tasks - with glibc thos does not work and process start to hang. With recompiled incrond and portmaper it look ok, but it's really problematic and it would be grate to find solution for this with glibc.
[Gen8 Android Development] $aur0n:
Try to compare it to stock 2.1.8 OS - they've changed wifi kernel module once again (and it's in 0.7) so perhaps that's it. Memory usage should not change - unless something is leaking. Just check what is using memory - connect over ssh, use "top" and hit 3 times "<" - this will sort over "res" field.
[Gen8 Android Development] $aur0n:
Iptables IS in Uruk since 0.4 (or something) - it's missing only NAT since it's brakes compatibility with tiwlan driver - but it's still on my to do list.

edit: What else modules you need in Uruk iptables?
[Gen8 Android Development] N23:
Here incrond is also using around 95% cpu...

strace -f -p `pidof incrond` is empty (let it run for about 20mins)...

i also stopped (and killed) the incrond service and restarted it fresh with an instant strace - also no output and 99% cpu usage.

then i removed all files inside the incron.d dir, but the cpu usage was also that high - so something with the incrond service seems to be wrong...

besides that 0.7RC2 is running very nice!
[Gen8 Android Development] $aur0n:
Thx - I've solved the problem (edited previous post) - but I still don't know the real source of it, so I'm open to suggestions.

Anyway RC3 on it's way ;)

http://www.megaupload.com/?d=FY90RZHS

Changes

- recompiled incrond, portmap with uClibc

- reverted to stock openvpn binary (because of uClibc)

- some link changes and removing useless files

- add 0.7 boot screen for A101 (thx Martin)

ps. cachefilesd still makes troubles (optional part of NFS4) - but it's incompatible with uClibc :(
[Gen8 Android Development] cajl:
for use this release

is it ok for the 0.6 ?

just copy on the Update file ?

install on SDHC only ?

It is possbile to install on the SDHC and After on the internal memory ?
[Gen8 Android Development] snickle:
apps think data connectioh active even with wifi off

Apps continue to try to access the network with wifi off. Most timeout in a reasonable period.

Com.android.email continues to try for at least 20 minutes, unless i kill it.

I reload 0.6 still using the 0.7 kernel and all programs behave properly.

Flipping back to 0.7 and problem reappears.

Any ideas on how to troubleshoot? I'll do some googling on app data detection.
[Gen8 Android Development] nimrodity:
wanted to upgrade rc3 but i am stuck at

urukdroid 0.7RC3 Boot:switching to rootfs...

it seems like upgrade process went wrong

at 2% it went straight to switching to rootfs...

what can i do now?cant start 0.7RC anymore because after reboot upgrade process starts again but gets stuck again
[Gen8 Android Development] $aur0n:
Ok (to be sure) you say that UrukDroid 0.6 rootfs and UD 0.7 kernel/initram does not have this problem - right? UD 0.7 has changes applied in stock OS 2.1.8 so this would be my first guess. Check output of /data/test/ log files.

It look's like storage problem... do you have enough of it in rootfs (/) partition?
[Gen8 Android Development] nimrodity:
i had the same free space like when upgrading to rc2 and rc1.

I dont use storage anyway,i only use the archos for browsing.

But assuming i havent enough,how can i change that.

How do i know what to delete in rootfs to get more space
[Gen8 Android Development] $aur0n:
Hi, easiest way to verify would be connect sdcard to PC, mount second partition of sdcard and check content of ".update" folder... This will require probably Linux

It's hard to erase anything on rootfs - the only file I can thing of is swap file (if you have ever used swap memory) /swap01.file.
[Gen8 Android Development] woti23:
the developer of droidwall only mentions CONFIG_NETFILTER_XT_MATCH_OWNER on his webseite http://code.google.com/p/droidwall/wiki/FAQ

but i thinks it must be also

CONFIG_NETFILTER=yes

for nat and/or filtering

NF_CONNTRACK

IP_NF_IPTABLES

IP_NF_FILTER

IP_NF_TARGET_REJECT

IP_NF_TARGET_LOG

IP_NF_TARGET_MASQUERADE

NF_NAT

NETFILTER_ADVANCED

for nat special protocols like ftp, sip ....

for firewall

NETFILTER_XTABLES

NETFILTER_XT_MATCH_OWNER

hope i didn't forget something
[Gen8 Android Development] $aur0n:
So you haven't checked it with UD modules?
[Gen8 Android Development] woti23:
i can't install only the kernel from 0.7 on 0.6?
[Gen8 Android Development] $aur0n:
My first guess is not (I haven't checked it) - I don't know how much of v4l2 is used for UI rendering but this part is changed in 0.7 and is in modules (so 0.6 kernel miss it's functionality). For sure all video/graphics/camera stuff won't work.

But iptables part is the same in 0.6 and 0.7. Anyway - you haven't stated it clearly, but from descriptions I assume you are using NAT modules in iptables. Does this not make tiwlan.ko dis-functional?
[Gen8 Android Development] $aur0n:
Any more reports on installing 0.7RC3? Does it work OK now - I need some feedback :)
[Gen8 Android Development] haccg:
megaupload is down, so no possibility to give feedback ;)
[Gen8 Android Development] snickle:
0.7RC3 works fine other than some apps not detecting network is not available. I edited my other post with some details.
[Gen8 Android Development] snickle:
All /data/test logs have to say is a constant stream of:

02-26 15:58:30.438 D/dalvikvm( 1147): GC_EXPLICIT freed 4495 objects / 182552 bytes in 97ms

02-26 15:58:30.540 D/dalvikvm( 1614): GC_FOR_MALLOC freed 10978 objects / 524688 bytes in 53ms

02-26 15:58:31.032 D/dalvikvm( 1614): GC_FOR_MALLOC freed 10977 objects / 529984 bytes in 33ms

02-26 15:58:31.102 D/dalvikvm( 1147): GC_EXPLICIT freed 3609 objects / 147184 bytes in 66ms

while the app is trying to connect. I am assuming 2.1.8 changes something with what gets returned from android.net.ConnectivityManager class.

Later tonight I am going to roll back to 0.6 with the 0.6 kernel, then 0.6 with the 0.7 kernel, then 2.1.8 stock.

I will test in all states. The /data/test logs do show the state of the various flags when wifi is turned off, so maybe I can see a difference.

The current 0.7RC3 shows this when wifi is turned off:

02-26 15:57:26.602 D/GpsLocationProvider( 1147): updateNetworkState unavailable info: NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false

02-26 15:57:26.610 D/NetworkLocationProvider( 1147): updateNetworkState(): Updating network state to 1

02-26 15:57:26.620 D/WND-DBG ( 4293): Exception :Getting Active Network state::null
[Gen8 Android Development] woti23:
no, i have no modules, its everything compiled in the kernel (inkluding nat - i don't use), and it doesnt break wlan.

as droidwall not clearly states whats needed except for netfilter_owner, i just compiled in what i thought it would be useful.

maybe one can try droidwall who has your kernel?

can i possible make two sdcards (1x with 0.6, 1x with 0.7) and switch the cards

with flashing initramfs and kernel when switching?
[Gen8 Android Development] woti23:
these are no errors, just normal dalvik operation
[Gen8 Android Development] nimrodity:
i deleted the swap,now i hav 229mb on rootfs,but it stops anyway,can i prevent the upgrade of starting,anyhow.
[Gen8 Android Development] $aur0n:
That's the main reason I stick to SD during development - I have few SD cards to swap them - so yes it will work.

You have said that update already started and stoped at 3%? What is the size of your root partition? 229MB looks suspiciously small, since IF update has started it should erase most of the files on root and default rootfs size iz 512MB.

So there is something strange going on...

First of all - this will be helpfull for me - please show here list of files in /.update folder - "ls -al" will be enough for now. You can erase upgrade file from /.update and boot but like I said, if update already started your rootfs should be missing most of required files.
[Gen8 Android Development] nimrodity:
rootfs is 512mb,i meant i have 229 free space left

process got to 2% then to switching rootfs...

on which partition should the /.update folder be,cnt find it on rootfs or data

it doesnt really look like anything was deleted on rootfs
[Gen8 Android Development] $aur0n:
Ok sorry - it's .upgrade ;)

root@urukdroid:/root# cd /.upgrade/
root@urukdroid:/.upgrade# ls -al
total 8
d--------- 2 root root 4096 Feb 3 15:08 .
drwxrwxrwx 24 root root 4096 Feb 26 12:14 ..

Anyway - I know you have said it's 229MB free space on root - but if upgrade started and not finished - it should have much more free space (since, like I said, almost entire system is deleted before upgrade).
[Gen8 Android Development] nimrodity:
looked everywhere,could find the .upgrade folder maybe thats why something went wrong.

Maybe its because first time trying to upgrade i did force upgrade with urukconfig and it didnt happen anything for quite a while, so i deleted the upgrade file and copied it again,this time the system froze like every zime i upgraded and after reset upgrade process started...

i am upgrading an old 0.6 i have on a sd card right now,is it possible to transfer all the files from the sd to the internal rootfs partition i have,and use that again?
[Gen8 Android Development] $aur0n:
Yes it's quite easy

if you want to copy entire Uruk from sd to internal (internal has to be already formatted)...

I've made this from memory - but I've made it couple times already so probably it's without error ;)
[Gen8 Android Development] nimrodity:
should i delete the content of the internal rootfs part before that?
[Gen8 Android Development] $aur0n:
You are deleting it with this command "rm -rf usb2/*"
[Gen8 Android Development] nimrodity:
ok, i think i found the problem with the upgrading,i deleted a files from internal rootfs and saw it was only 234mb free space even after all.

So i formated the rootfs part again,to see if its working again,will copy everything again and see if it works

EDIT:

copied everything,but starting from internal my adwlauncher keeps FCs permanently so i cant use uruk either,

BIG THX anyway for trying to help i think i will start again with a clean install of 0.6 EE and go on from there,i think this way i have more chances getting uruk running again.
[Gen8 Android Development] nimrodity:
startet new,running 0.7 rc3 now,so far everything seems ok

thx again

Sent from my A70S using the XDA mobile application powered by Tapatalk
[Gen8 Android Development] snickle:
Update: Definitely a stock 2.1.8 issue I reloaded to that an have teh same problem. Opening a case with Arcos.
[Gen8 Android Development] naga_z:
how to choose install on internal storage?

how to choose install on internal storage?
[Gen8 Android Development] naga_z:
0.7r3 can`t updata.

i copy UrukDroid-0.7RC3-upgrade.tbz2 in /data/UrukUpdate/

UrukConfig after Force update,no reboot. updata unsuccessful!
[Gen8 Android Development] $aur0n:
ForceUpdate in UrukConfig was not working in 0.6 (it's service fault - not UC) but in this release it should. Anyway do

su
touch /data/UrukUpdate/a

And please ppl - have in mind this is developers thread.
[Gen8 Android Development] Mod57:
UrukDroid-0.7RC3

Testing UrukDroid-0.7RC3 fresh internal install, so far this is what I have noticed. Have had several pop up notifications for example keyboard or email has stopped, they were running in the background. A couple times the screen went black then reopened at the home screen; the icons would have to reload like they do after a reboot. Speed and Cpu usage seems good. Over all it runs fine other than these occasional glitches.