yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] Kashban:
Dang, forgot about that... update is running before boot.

Thanks, I'll recover my rootfs and retry.

Good Idea about the auto boot, though. Even better if the current update process would be shown by a modal app, then reboot.

Edit: Worked flawlessly. Device seems even more responsive now.

Tried my dvb stick again, but got strange messages:

[ 1280.829711] init: untracked pid 1670 exited
[ 1280.834777] init: untracked pid 1667 exited
[ 1280.836425] init: untracked pid 1665 exited
[ 1571.664031] dvb_usb_dib0700: Unknown symbol dib0090_get_tune_state
[ 1571.666442] dvb_usb_dib0700: Unknown symbol dib0090_set_tune_state
[ 1571.668518] dvb_usb_dib0700: Unknown symbol dib8000_set_tune_state
[ 1571.670166] dvb_usb_dib0700: Unknown symbol dib0090_pwm_gain_reset
[ 1571.675445] dvb_usb_dib0700: Unknown symbol dib8000_get_adc_power
[ 1571.677032] dvb_usb_dib0700: Unknown symbol dib0090_get_wbd_offset
[ 1571.678344] dvb_usb_dib0700: Unknown symbol dib8000_set_gpio
[ 1571.681030] dvb_usb_dib0700: Unknown symbol dib0090_get_current_gain
[ 1571.682403] dvb_usb_dib0700: Unknown symbol dib8000_set_wbd_ref
[ 1571.684753] dvb_usb_dib0700: Unknown symbol dib0090_dcc_freq
[ 1571.688262] dvb_usb_dib0700: Unknown symbol dib8000_pid_filter_ctrl
[ 1571.689819] dvb_usb_dib0700: Unknown symbol dib0090_gain_control
[ 1571.690917] dvb_usb_dib0700: Unknown symbol dib8000_i2c_enumeration
[ 1571.692474] dvb_usb_dib0700: Unknown symbol dib8000_pwm_agc_reset
[ 1571.693817] dvb_usb_dib0700: Unknown symbol dib8000_get_i2c_master
[ 1571.695953] dvb_usb_dib0700: Unknown symbol dib8000_pid_filter
[ 1623.692199] usb 2-1: USB disconnect, address 2
[ 1689.519104] usb 2-1: new high speed USB device using musb_hdrc and address 3
[ 1689.669860] usb 2-1: New USB device found, idVendor=0ccd, idProduct=00ab
[ 1689.670867] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1689.671905] usb 2-1: Product: Cinergy T XXS
[ 1689.672515] usb 2-1: Manufacturer: TerraTec GmbH
[ 1689.673187] usb 2-1: SerialNumber: 0000000001
[ 1689.677429] usb 2-1: configuration #1 chosen from 1 choice

What's up with that?
[Gen8 Android Development] solune:
Maybe we can add upgrade in UrukConfig ? Then you don't have to check /data/UrukUpdate/ for change. When someone want update, he put the update in /data/UrukUpdate/ and use UrukConfig with "Update" button. When he do that, he have "Processing" waiting windows, update run, and at the end the program warn and reboot.

To do this I just need a script to start upgrade, who return message when it's finish (like "ok reboot" if reboot needed, or just "ok" if no reboot require).

In second time we can also imagine a way to download from internet (but where, that's the problem) informations about upgrade available, dl the upgrade and so on :)

Just an idea !

I'm working on a new tab to give informations about the archos (uruk version, card and mount points, free space, etc...) I can add a upgrade button here.
[Gen8 Android Development] Kashban:
Hm, ok, two problems after updating to 0.6RC2:

1. Media service force closes twice after reboot -> No Downloads whatsoever possible, including market, which is quite annoying

2. Dolphin browser force closes on download attempts.
[Gen8 Android Development] snickle:
Those are the same issues I had with RC1. I did some testing and had the same issues with 2.1.03 base. I upgraded may base install to 2.1.04 last night and it seems stable for those issues.

Any one have a guess which modules need to be pulled from stock 2.1.04 to fix?
[Gen8 Android Development] $aur0n:
What version shows your "phone info" from setting (version of original firmware). If it's less then 2.1.4 (or .04) - please delete dalvik cache - as I asked few post before.
[Gen8 Android Development] Kashban:
Just did that... still showing 2.1.2 as version. I'll try the RC2 update again...

Done: Splash screen still shows RC1 in his messages, even after reapplying RC2. Still FC on android.process.media. Still version number 2.1.2.

I do not have the slightest idea what to do now. Any hints?
[Gen8 Android Development] $aur0n:
Yes- I wrote "please erase dalvik cache" - and I asked to look few posts up, where I wrote the path.

If this don't help - I'll do another package. On my installation it's already 2.1.4 and both Dolhpin and Miren browsers works.
[Gen8 Android Development] Kashban:
Sorry, forgot to mention I DID erase the dalvik cache... to no avail.
[Gen8 Android Development] $aur0n:
Yep - already been there ;). Mediascanner service has a switch called 'update'. If you call it, it will touch every file in /data/UrukUpdate - so will theoretically start update of files that hasn't been found yet.

We can change it behaviour if you like - but I would stick with present method, and just add another possibility (like UrukConfig).

This update/upgrade system is certainly not final, I would like to go toward packages like Debian (or some open package for example) but this are all plans for future (quite distant).
[Gen8 Android Development] $aur0n:
Ok I'll prepare another update...

Edit:

Ok. I've updated 0.6RC2 package (link the same). This time after update Archos should wait few second and reboot itself. First start is going to be long and may involve Archos setup wizard (but everything will be setup already).

md5sum: 4411866724f1ce0024426b83fbc62007 UrukDroid-0.6RC2-update.tbz2

65M 02-02 14:59 UrukDroid-0.6RC2-update.tbz2
[Gen8 Android Development] solune:
Great, I'll add it to UrukConfig :) Any way to have return from upgrade when it's done ? For example does the files are deleted only after upgrade in the /data/UrukUpdate/ so that when folder is empty I can figure upgrade is done ?
[Gen8 Android Development] nenadr:
$aur0n, is there a way to update to 0.6RC2 from 0.4.1 directly ?

if not, please confirm that right way to upgrade is: to upgrade to latest 0.5.x, then to 0.6RC1 and then to 0.6.RC2 ?
[Gen8 Android Development] $aur0n:
For now yes, you have to do all upgrades - when 0.6 will be ready then I'll prepare proper update from 0.5->0.6 and for fresh install.
[Gen8 Android Development] Kashban:
Depends if there was only one update file in the update folder. If so, yes, if the folder is empty, update is finished.
[Gen8 Android Development] $aur0n:
Yep it's kind of true. Update system is designed in more complex way. So if there are few files in updatedir, system will try to use them all to update at once.

So like for now I think it's ok to just add option in UrukConfig - "Process updates" or something similar. Later we will try to do some autoupdate scripts, system update checks etc.
[Gen8 Android Development] cheefy:
I'm out here for the moment. I hope it was not the backup script breaking my tab but it won't start any more. Just blinking the green led and doing nothing....
[Gen8 Android Development] lolo33:
Strange my wifi is broken, impossible to enable in the settings parameter. Work on the stock firmware.
[Gen8 Android Development] Kashban:
That sounds weird... hard power off by pressing the power button > 10s doesn't work?
[Gen8 Android Development] Kashban:
Thanks, $auron, I'm going to try this one...
[Gen8 Android Development] $aur0n:
Could you be more specific? What version - and are you sure you want to use dev releases?
[Gen8 Android Development] Kashban:
By the "link the same" I still get the 21MiByte update archive and the md5sum does not match.
[Gen8 Android Development] $aur0n:
This link is certainly 60+MB

http://dl.dropbox.com/u/1017593/ArchosGEN8/UrukDroid-0.6/UrukDroid-0.6RC2-update.tbz2

Perhaps some caches of your browser/squid etc?
[Gen8 Android Development] lolo33:
0.6RC2-update. "phone info" is 2.1.4.

Same thing that snickle p32. Impossible to enable wifi via settings or via widget.

Edit:

Ok the reinstall of the new 0.6RC2 has fixed this bug.
[Gen8 Android Development] Kashban:
Cannot be a cache problem, since I downloaded the first RC2 from another computer.

Now I'm getting the 60M-Version.

EDIT: After updating, my Archos is stuck at "...switching to rootfs". Probably the automatic reboot was too quick...
[Gen8 Android Development] sublimejosh2000:
Permissions

On my /data folder, I only have read permission, when i try to navigate to it, it crashes my ES File Explorer, when I change the permissions with "chmod" i can get to it. Is this normal, or is there a way to have this permmision changed to RW always? Am i crazy?
[Gen8 Android Development] sublimejosh2000:
Stuck too

Yea, I am stuck on the upsidedown "UrukDroid 0.6RC2 Rootfs: Init.."

Rebooted like it should, but I dunno now..

EDIT: How long should I wait here, you said it would be longer time? right?
[Gen8 Android Development] solune:
Hello,

UrukConfig v0.5.3

Just little things because I've not much time for now for more. I hope this week-end :)

changelog :

- toast when stop/start service

- add informations on samba and sshd

- convert KB in Mo for CompCache (/!\ If you have put before this version a value not divisible by 1024 UrukConfig can't change it ! You have to change it once (with 32768 for example) yourself in /system/etc/uruk.conf/compcache

- change value in compcache or swap make the service stop and start (with toast)

Sometime when refresh services I have a unknow state on one of them, because the UIstatus force script answer : error. I don't know why. If I restart refresh it is ok. I had it twice with cpugovernor, and once with ntfs. :confused:

Thanks for feedback, don't hesitate to try and check if UrukConfig do what it say it do ;)

For now if you change things in Option tab, no refresh in Services tab. I will look at that soon.
[Gen8 Android Development] snickle:
On 0.6RC2

Working well now, I redid the 0.5 release and then updated. Being sure to clean out the davlik cache between all steps.

No force close yet and things appear to be cruising.
[Gen8 Android Development] sublimejosh2000:
davlik cache

There is a davlik cache folder inside the 500Mb partition and also the 1G partition, Which one was I suppose to clean out?
[Gen8 Android Development] snickle:
The command I used is rm -f /data/dalvik-cache/*

So I believe that is the in teh 1gig partition.
[Gen8 Android Development] snickle:
0.6RC2 Comment

I just noticed my first 0.6RC2 oddity. The update file did not delete itself from /data/UrukUpdate. It rebooted on its ow, so I now it ran.

Is this expected?
[Gen8 Android Development] cheefy:
Strange thing now its working again... just needed some more time to charge than normal.

In the attachment there is the backup script including the quick switch, and i did some improving to the excludes, exclude the swap and be more precise to the others. unfortunately tar does not speak regex... have to think about a better way to exclude those....

I'm very glad for every feedback.
[Gen8 Android Development] sublimejosh2000:
0.6RC2

O.K. I am stuck at the boot screen, nothing has changed. Do you know how to get past this.. It rebooted on it's own, and now I cannot boot. Are you saying that if I delete this davlik cache that all the sudden my 0.6 will magically boot up?

Am I the only one who got stuck after update from old 0.6RC2 20 Mb File to new 0.6RC2 60Mb File?

I don't know what to do. I have not tried the davlik cache delete, but I doubt that is going to make it work, it gets all the way to the Init... upside down screen

.. any feedback would be helpful...

EDIT: open up the partition in Linux, deleted the davlik cache from the /data mounted partition ...sdb3 for me in Linux.... Still will not boot. I have a backup and can go back to the origional RC2 20Mb update I had already done... but I was wanting to be on the latest self reboot release, what can I do?
[Gen8 Android Development] $aur0n:
Nope it couldn't be too quick - that's why I've add that reboot. If it stuck - there is something else wrong...

You have put this upgrade ON RC1? - Just asking to be sure?

Deleting dalvik cache was a tray to update OF version in "phone info" and other apps. It won't help if it does not boot. If you stuck on "switching rootfs" you should connect second partition from SDcard (your root partition) and check if this one is ok.

I you connect it - could you give me md5sum's of /init and /init.rc (this are files on this partition).

Probably this is some trivial error bacuse something is missing - but this are just dev updates so I don't do proper tests like i try with every normal update.
[Gen8 Android Development] Kashban:
No, upon the old RC2 (20MiByte-Version). Wasn't clear to me that the new RC2 wasn't able to update the old one.

I'll go back to 0.5 and apply 0.6RC1, then the new RC2.
[Gen8 Android Development] $aur0n:
Well it's quite clearly stated in update post - well it's not bolded but ;)
[Gen8 Android Development] $aur0n:
Not really - I'll have to fix it.
[Gen8 Android Development] Kashban:
Did the Update Process from the 0.5 I had a backup of... RC1 installed ok, but after upgrading to the latest RC2 it won't boot but is stuck at "switching to rootfs" and "UrukDroid0.6RC Rootfs: Init.

I'm going to check on the SD card from my Ubuntu, but as it seems now, the update is not working. Any chance to get a clean rootfs copy for RC2?

EDIT: Had a look at the sd card. My findings:

data directory on rootfs partition contained files and dirctories (odd, since it should use the data partition, but maybe left from my old 0.5 installation)

etc/urukconfig.txt still shows RC from 31.11.2011

already mentioned: Update file has not been deleted from UrukUpdate directory

filesystems are clean

Right now 0.6RC2 isn't usable for me, will revert back to 0.5.
[Gen8 Android Development] sublimejosh2000:
20Mb vs. 60Mb 0.6RC2

I have already gone back to the RC2-20Mb file from yesterday morning. Is there a way to get to the RC2-60Mb version? or should I wait for RC3/General release. I just want to make sure i am able to get from where I am now to your next release.

What are the differences between the two 20 vs. 60 and was there a reason to have it over the 20Mb version other than the forced reboot after?
[Gen8 Android Development] $aur0n:
UrukDroid Logo contest - poll!

Please make a vote!!​

ps. I'll create today a full update from 0.5 so hopefully all problems with update will be gone.
[Gen8 Android Development] sublimejosh2000:
0.6RC2 Upgrade

Just making sure. Will I be able to upgrade from my 20Mb version of 0.6RC2 to you general release?
[Gen8 Android Development] $aur0n:
Like always - yes.
[Gen8 Android Development] sublimejosh2000:
What was the issue going from 20mB RC2 to 60Mb RC2?

Do you know why this wasn't working, or was that expected not to be able to work?
[Gen8 Android Development] $aur0n:
Of course it was expected to work - why the hell i would put on net something that don't work. I wrote few post before - i don't test dev releases because i don't have a time for this - so there is bigger change it won't work simply.
[Gen8 Android Development] sublimejosh2000:
Upgrade RC2

I meant, was the 60Mb File you put up suppose to be able to work upgrading from the 20Mb file you had put up earlier in the day. that was when i got stuck and couldn't boot

Going from RC2 20Mb --> RC2 60Mb

I Don't mean to offend. I also realize this in in DEV, that is why I have everything backed up, it was a simply step to go back to Original RC2 20Mb version.
[Gen8 Android Development] $aur0n:
Perhaps you can use rsync or rdiff.

I'll check script later.. thx!
[Gen8 Android Development] $aur0n:
Ok full upgrade (not update) to 0.6RC2

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

38ff664983eb6807cfc9d7c130cc6dea UrukDroid-0.6RC2-upgrade.tbz2 121M.

Drop file to /data/UrukUpdate/ - wait for automatic reboot, it may take up to 5min.

This package upgrades entire system and kernel - you should see progress information during rootfs upgrade (after reboot).

ps. This one is tested - so it's working 4 sure :)
[Gen8 Android Development] sublimejosh2000:
Update

Ok, so I put it in the folder.. waited, then my screen went black.. no response..?

Manually powered it off, rebooted into develeper mode, then it started upgrading my RootFS. ... On 2% now....

EDIT: Gets to 8%..mounts /data.. says it's switching to Rootfs.. then it goes into black screen and sits.. then after a few minutes, it went into the main screen, but got a force close on Process system... Will update in a few minutes.. just giving feedback.

EDIT: System force closed.. I reboot again, and it now is going through the update again... I'm going to keep trying with it..

EDIT: reboot again, and went through the upgrade again, everytime it comes up it gets a Process system is not responding, I can see everything load as normal, but the touchscreen is un-responsive, and I cannot touch anything. Reboots just start the loop over and over again. Remember, I was on the 20Mb version of RC2 when I tried to upgrade.
[Gen8 Android Development] $aur0n:
Hmm there are 3 boot screens, one is in bootloader (witch now locked), second one is in initramfs - there is only one version of it, with that you wrote above - every Gen8 archos should have it's own (width different resolution). Third one is "animated" - this one is a service.

I've tried to use default android bootlogo (Android init can show it during boot) - but it failed since I was unable to find proper resolution/bits/order settings - stuff used on phone did not work.

I've already made framebuffer capture - but putting it as initlogo.rle does not work, I will try then in initramfs and as a service then.

Thx!
[Gen8 Android Development] $aur0n:
Hi and Thx!

Please do:

ls -l /dev/block

fdisk -l /class/block/sdb

I want to know how your HD is visible, according to /etc/vold.A70H.fstab it should be sdb.
[Gen8 Android Development] chrulri:
hey $aur0n

recently a urukdroid user contacted me with regard to my dvb-t project. it seems that my kernel modules aren't compatible anymore with urukdroid. can you please build all dvb-t modules (see my last posting for a reference linux.config), include them and tell me where they're located in your rom? :cool:
[Gen8 Android Development] $aur0n:
No problem, I've already did it - but tweaked to much witch SLAP and disk manager and my recent kernel failed to work. I've backported also modprobe and depmod - so now it should be enough to modprobe exact dvb-t module, and it should load all other necessary.

If you tell me what should be loaded/set during boot, I will write proper /etc/uruk.d/ and /etc/uruk.conf file (or write it by yourself).

Could you narrow list of dvb-t modules for first release - to test? (I've seen there is quite a lot of them in kernel and your release).
[Gen8 Android Development] chrulri:
wow that's great news! missing modprobe was a major issue, thanks a lot!

have backported the mc44s803 driver too?

so far I think we need at least following drivers and their dependencies:

- dvb-usb-dib0700.ko

- dvb-usb-af9005.ko

- dvb-usb-af9015.ko

- mc44s803.ko (see patches here)

and of course the firmware binaries: http://code.google.com/p/archos-gen8-dvb/source/browse/#svn/tags/v0.5/package/fw
[Gen8 Android Development] xenicle:
As you ask :

$ find /bin /sbin -name fdisk
$ ls -l /dev/block
brw------- 1 root root 7, 0 Jan 13 08:51 loop0
brw------- 1 root root 7, 1 Jan 13 08:51 loop1
brw-rw---- 1 root root 7, 10 Jan 13 08:51 loop10
brw-rw---- 1 root root 7, 11 Jan 13 08:51 loop11
brw-rw---- 1 root root 7, 12 Jan 13 08:51 loop12
brw-rw---- 1 root root 7, 13 Jan 13 08:51 loop13
brw-rw---- 1 root root 7, 14 Jan 13 08:51 loop14
brw-rw---- 1 root root 7, 15 Jan 13 08:52 loop15
brw-rw---- 1 root root 7, 16 Jan 13 08:52 loop16
brw------- 1 root root 7, 2 Jan 13 08:51 loop2
brw------- 1 root root 7, 3 Jan 13 08:51 loop3
brw------- 1 root root 7, 4 Jan 13 08:51 loop4
brw------- 1 root root 7, 5 Jan 13 08:51 loop5
brw------- 1 root root 7, 6 Jan 13 08:51 loop6
brw------- 1 root root 7, 7 Jan 13 08:51 loop7
brw-rw---- 1 root root 7, 8 Jan 13 08:51 loop8
brw-rw---- 1 root root 7, 9 Jan 13 08:51 loop9
brw-r----- 1 root 1000 179, 0 Jan 13 08:51 mmcblk0
brw------- 1 root root 179, 1 Jan 13 08:51 mmcblk0p1
brw------- 1 root root 179, 2 Jan 13 08:51 mmcblk0p2
brw------- 1 root root 179, 3 Jan 13 08:51 mmcblk0p3
brw------- 1 root root 179, 4 Jan 13 08:51 mmcblk0p4
brw------- 1 root root 1, 0 Jan 13 08:51 ram0
brw------- 1 root root 1, 1 Jan 13 08:51 ram1
brw------- 1 root root 1, 10 Jan 13 08:51 ram10
brw------- 1 root root 1, 11 Jan 13 08:51 ram11
brw------- 1 root root 1, 12 Jan 13 08:51 ram12
brw------- 1 root root 1, 13 Jan 13 08:51 ram13
brw------- 1 root root 1, 14 Jan 13 08:51 ram14
brw------- 1 root root 1, 15 Jan 13 08:51 ram15
brw------- 1 root root 1, 2 Jan 13 08:51 ram2
brw------- 1 root root 1, 3 Jan 13 08:51 ram3
brw------- 1 root root 1, 4 Jan 13 08:51 ram4
brw------- 1 root root 1, 5 Jan 13 08:51 ram5
brw------- 1 root root 1, 6 Jan 13 08:51 ram6
brw------- 1 root root 1, 7 Jan 13 08:51 ram7
brw------- 1 root root 1, 8 Jan 13 08:51 ram8
brw------- 1 root root 1, 9 Jan 13 08:51 ram9
brw------- 1 root root 8, 0 Jan 13 08:51 sda
brw------- 1 root root 8, 1 Jan 13 08:51 sda1
drwxr-xr-x 2 root root 80 Jan 13 08:51 vold
$ fdisk -l /class/block/sdb
fdisk: not found
$
[Gen8 Android Development] $aur0n:
Hmm forgot you don't have fdisk :( without Uruk...

Strange thing is you dont have /dev/block/sdb ...

Ok could you download busybox from Market, it should have busybox in it's guts - or get busybox from my rootfs.tar.gz (/usr/local/bin)

Put busybox to /tmp on your Archos and do

/tmp/busybox fdisk -l /dev/sdb

I assume it's in /dev/sdb then but this won't work - please send me fresh dmesg just after bootup and ls -l /dev/
[Gen8 Android Development] $aur0n:
Anyone have idea how to force Archos media updater to do the indexing (after some samba changes for example)? - from OS level of course (not config menu)
[Gen8 Android Development] Kashban:
Here's the UrukDroid-User chulri talked about :D: Please include the driver for Terratecs Cinergy XS too, that's the stick I own and want to test.

Should be dbv-usb-cinergyT2.k.

Thanks and Cheers,

Kashban
[Gen8 Android Development] cheefy:
the tar in our bash does not support update, and i think its quite old, i will try to get a newer version...
[Gen8 Android Development] $aur0n:
Ok - i'll put full one. This is just busybox stub.
[Gen8 Android Development] $aur0n:
It only required root to replace system one. Busybox itself does not requires root - you can use it... (after install go to /data/data/busybox_name/)
[Gen8 Android Development] xenicle:
With busybox from your rootfs.tar.gz

$ $cp /mnt/storage/tmp/busybox /tmp/
$ cd /tmp
$ ./busybox fdisk -l /dev/sdb
fdisk: can't open '/dev/sdb': No such file or directory
$./busybox fdisk -l /dev/sda

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 30401 244196001 c Win95 FAT32 (LBA)
$

(thank you for lighting on busybox ! :) )
[Gen8 Android Development] xenicle:
I must apologize for my stupidity, I realized too late that you were expecting an external USB storage for sdb...:eek:

Shame on me...

I definitely need to rest these days! (I apologize as I can ...)