yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] skyworxx:
Great, I will give JB a try then in the next couple of days :).

Thanks.

but how come the blog still states "• Video decoding issues - YouTube doesn't work etc."?
[Gen9 Android Development] Quinny899:
DicePlayer must have inbuilt codecs. The YouTube app doesn't load videos and nor does the stock video player
[Gen9 Android Development] trevd:
Hi Folks,

External Storage works through the OTG Cable with the following adjustments to /system/etc/vold.fstab

EDIT: Don't need the volume internal line as internal ( primary storage ) is not managed by vold.

[strike]dev_mount volume_internal /mnt/storage auto /devices/platform/usb_mass_storage/lun0 /class/block/mmcblk0[/strike]
dev_mount volume_sdcard /mnt/sdcard auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
dev_mount volume_external /mnt/ext_storage auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb2/2-1/2-1:1.0/ /devices/platform/omap/usbhs_omap/ehci-omap.0/usb1/1-1/1-1.2/

for HDD Users, To get Storage working try the following in your /system/etc/vold.fstab

dev_mount volume_sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun1 /class/block/mmcblk2
dev_mount volume_internal /mnt/storage auto /devices/platform/omap/usbhs_omap/ehci-omap.0/usb1/1-1/1-1.1/1-1.1:1.0/
dev_mount volume_external /mnt/ext_storage auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb2/2-1/2-1:1.0/ /devices/platform/omap/usbhs_omap/ehci-omap.0/usb1/1-1/1-1.2/

I make no guarantees that it will work as I don't have an HDD Version and I'm just basing it off what I did to get the storage working on the SD version.
[Gen9 Android Development] nashi20002003:
trevd,

Thank for tring to help. Unfortunately the above did not fix the HDD issue. I did a df command before(ICS) and after (JB). it seems like we're missing the two lines below

/dev/block/vold/8:1 242271392 8833236 230996196 4% /mnt/storage

/dev/block/vold/8:1 242271392 8833236 230996196 4% /mnt/secure/asec

Trevd...do you know why the original vold.fstab work on CM9 as is? I checked the one on CM9 and it's not different with the one on CM10. But on 10 we've had to modify (thanks to you) it in order to have at least a partial resolution on sd mounting. what's make the difference?
[Gen9 Android Development] trevd:
Hi there, It's not really anything to do with the vold.fstab , well it is and it isn't, I'll give you an explaination of what's going on and we might be able to get to the bottom of it.

/system/bin/vold handles the mounting of "volumes" ( devices / drives , whatever you want to called them ) in android through the vold.fstab normally when porting roms you can use the standard /system/bin/vold without any problems this is usually because the OEM doesn't normally modify it, this is not the case however with Archos. The main reason I can see for archos making modifications is because they handle at least 2 different storage configurations in one firmware.

So in answer to you query,the reason CM9 works as is, is because we are able to reuse the modified archos vold binary in as CM9 and ICS binaries are compitable with one another, were as the CM10( JellyBean ) binaries are not and attempting the reuse the archos vold just results in a segmentation fault.

That being said, I've just been doing some experiments to see exactly what is going on with the modified vold.......

Using AOKP ( ICS ) and a standard /system/bin/vold I only had to rename my device specific vold.fstab to get it to function correctly, It seems the Archos modified /system/bin/vold completely Ignores the vold.fstab which they distribute.

So try renaming /system/etc/vold.A101H.fstab to /system/etc/vold.fstab, reboot and see if that improves things.......

Hopefully I've not confused you too much..... but you did ask LOL :laugh:
[Gen9 Android Development] skyworxx:
Im stuck at the Bootscreen (the CM9 style one). I followed Quinnies guide and seemed to mess up my "developer edition". The normal image boots just fine.

Any ideas on how to resolve this?
[Gen9 Android Development] trevd:
Does your normal image still boot? If it does, then you need to wipe your /data partition.
[Gen9 Android Development] skyworxx:
It does. I wiped the data partition (while being in the developer edition).

I am using the official SDE and wiped and pushes while being in the developer edition. then i rebooted, flashed zimage and initram. now developer edition does not boot anymore. AND when I start the stock rom, it will guide me through the initial setup process again (so rom has been wiped?)

Should i boot into the stock rom and do the wiping/pushing from there?
[Gen9 Android Development] trevd:
I would do it from a root rom as per Quinny's guide. What model do you have SD or HDD?
[Gen9 Android Development] skyworxx:
The Stock Rom is not rooted, but the rom where i did the wiping was a rooted custom rom. Im on the SD model.
[Gen9 Android Development] trevd:
OK, Now I've read your original problem properly.....

Here's what I would do, from stock,

adb push archos.ext4.update /data/local/archos.ext4

Your initramfs and zImage for sde is probably ok so you don't need to flash them again,

Boot into SDE mode.

While it's "bootlooping", run the following commands

adb shell stop
adb shell mv /data/local /data/.local
adb shell rm -r -f /data/*
adb shell mv /data/.local /data/local
adb shell reboot_into sde
adb logcat -b main -b system -b events -b radio

What this does is it the following.

1 Stop the device to prevent any further execution

2 Hides /data/local ( the place where the cm10 archos.ext4 lives ),

3 Wipe all visible directories and files in the /data directory

4 Restore the /data/local directory

5 Reboot into sde mode

6 Monitor the device while it's booting

There's no reason to ever be stuck in a bootloop without knowing fully what's causing it, Adb is generally enabled on custom roms and you can enable it before pushing/flashing if it isn't, what this means is, as soon as, if not before you can see the bootanimation you can get onto the device.
[Gen9 Android Development] skyworxx:
Thanks for your reply, but while it is bootlooping, adb can't find the device.
[Gen9 Android Development] ergoen:
Hi!

I've followed Quinny's guide and managed to boot cm10 (with a cm9 bootanimation :P). However I'm having issues:

-some media process keeps crashing.

-adb does not work at all (I can enable it in developer options, but my computer only says "no device found" when trying adb shell.) Do I need to uninstall the regular archos usb drivers?
[Gen9 Android Development] Quinny899:
Make sure you applied the SD fix, otherwise media will crash

Try using CD to go to your path where adb is and then using ./adb
[Gen9 Android Development] nashi20002003:
Since you can boot into stock rom...just restart over. I've had many bootloops and evey single time I've been able to break out of it.

The main thing is to remember that stock roms are not compatible with the CMs. So we need rooted rom, compatible kernel, and we need a proper wipe from the rooted ROM.

Also to simplify things it's better to "Remove android" (stock rom) to avoid booting into it by default. It will boot loop if you've booted into the CM10 or CM9.

I would suggest you go ahead and restart over again. SDE Menu always survives all types of wipe/format. So go ahead and install the latest rooted 4.0.7 on your internal storage, remove Android in SDE menu, flash the compatible kernel for the rooted 4.0.7. Reboot. You should boot in default into a Rooted Stock Rom wih Super user installed. From there go ahead follow Quinny's guide: download the 3 files, install on internal storage, run the wipe commands as directed before flashing the Kernel. Then reboot. You should be into CM10.

.

---------- Post added at 02:24 PM ---------- Previous post was at 02:16 PM ----------

Oh well done.. Very good..I got it. Thanks for taking the time. I did not know there binary involved. So now I see why this is not working out of the box as it did for us in CM9.

I tried each vold.fstab for all the models. Still no luck. I do not get not even the fix you implemented for the SD model.

At least with your fix we get some storage to show up in settings. without it or with the other fstab settings keeps crashing.

I'm confident we will get to it...something is not mounting properly and difference between HDD and SD version is the root cause.
[Gen9 Android Development] ergoen:
Okay, thanks for the tip about the media crashing, but adb couldn't find the tablet. (I'm using windows, should I boot linux instead?) I've gone back to rooted stock for now, will try again tomorrow.
[Gen9 Android Development] Quinny899:
Did you do what I said? Cd to the place adb.exe is and use ./adb devices?
[Gen9 Android Development] ergoen:
Okay, now I did, I just get

"List of devices attached"

and then nothing more. Also I don't get any kind of usb functionality at all, neither MTP nor PTP is working. Did you change something related to that in the kernel? I will try to do these things from linux instead of windows later as I suppose drivers and such work differently there.

edit: okay, this is weird and sorry about being such a noob, but adb started working after a while :S (I signed in with my google account and waited a little... :S)

To everyone who has put work into this: Thanks alot!
[Gen9 Android Development] nashi20002003:
OK....I got a temporary solution for the HDD. I've been up trying different things. Here's what I got now: I"m able to get away from from the 500 MB internal storage which was showing only 170 mb free. And I'm also able to mount mnt/storage against my external host flash drive.

So at least now I can have more apps space for install. Exactly the way it was on CM10: 1.5 gig total with about 900 MB free. For App Data, I've use my regular USB host port and put in there 128gb flash drive and I'm mounting it as mnt/storage which I still have to test. It's showing up as SDCard in Android System Info. But I can not list the storage setting in Setting Menu. It crashes when I try to. Android System Info and df command gives me the details. I was able to drop in there media files and can access them.

but I may have an issue with MTP mounting. Which worked before when I mounted things differently.. Well...now at least I can live with this. since I have enough storage for apps install and enough for media and app data. Time to go to bed...I will do more playing and testing later today.

I will also explain what I did once I confirm the changes I did by repeating the process. Played with Vold.fstab and init.rc files.
[Gen9 Android Development] cajl:
I have formating a 10" Gen 9 and installing

the last firmware 4.0.7 from Archos

the SDE

the last firmware 4.0.7 + root from XDA

and the "todo" of Quinny898

After this i have the CM9 animation since 15 minute
[Gen9 Android Development] gen_scheisskopf:
You must wipe /data before booting CM9- "official" system data is not compatible with CM

Can't help more- I RMA'd my Gen9 today
[Gen9 Android Development] cajl:
How wipe ?

is it the steep 5 of http://quinny898.webuda.com/blog/CM10_Archos_G9_Guide.html
[Gen9 Android Development] gen_scheisskopf:
Yes, this is step 5. Warning- whis will wipe also media storage on flash models
[Gen9 Android Development] cajl:
How ?
[Gen9 Android Development] Quinny899:
It's in the guide, using ADB
[Gen9 Android Development] cajl:
I do that Step 5 ?

"When the device is on the boot animation"

what Boot ? Archos ?

My tablet in not in the list of device on the boot Animation
[Gen9 Android Development] Quinny899:
If you have a rooted archos build, when it gets to the "spinning glow" archos boot animation. If you're on CM9/AOKP, when the Archos logo disappears and the animated boot animation appears
[Gen9 Android Development] nashi20002003:
Cajl, I do use these instructions....from Surdu AOKP thread. I use this for both CM9, AOKP or CM10.

First I make sure I have 4.0.7 rooted installed. Then I follow these....

Note that Jelly bean in booting with CM9 animation ....don't worry it will bootinto CM 10 not CM9.

Also if you bootloop ...on that animation or other usually it's because the wipe did work properly...Since apps are not compatible..a wipe is required...Unfortunatly the only I"m breaking out of the loop if I forgot to wipe is to "Reset Android" in SDE menu and then "Update Firmware" by dropping the smaller 170 mb AOS file stock ICS file. Then I have to reinstall 4.0.7 rooted. ( no need to wipe since it's just stock rooted) then follow these instructions below again...Plus the extra stuff steps from Quinny's guide...

So for Step 5...here's the details...(really they are the same as Quinny's. But just a little more detailed. And use mnt/storage which good for both HDD and SD version

...connect USB cable to PC and ( you need to use a Rom with root access ) :

> adb shell

# stop

# rm -rf data/*

# mkdir data/local

# mkdir data/media

# exit

> adb push archos.ext4 /mnt/storage ( need to wait about ~150 seconds ) !

> at the same time do : adb reboot & press and keep volume down ; in SDE -> DEM-> Remove Android Kernel ( if exist ) -> Flash Kernel & Initramfs -> copy here zImage & initramfs.cpio.gz -> OK -> wait to reboot !

( this instructions should be work well for both devices : flash & hdd !!! )

If you are in boot loop - just reset the device - will be ok after reset !
[Gen9 Android Development] cajl:
ok nashi20002003

i formating my 10"gen9 flash

Installing

Archos fmw OK

Archos SDE OK

The 4.0.7 rooted OK

Reboot on 4.0.7 root OK => adb shell whoami say Root

in command windows

> adb shell

# stop

# rm -rf data/*

# mkdir data/local

# mkdir data/media

# exit

> adb push archos.ext4.update /mnt/storage ( need to wait about ~150 seconds )

All are OK

Reboot on Recovery mode ok

Remove Android Kernel ok

Flash Kernel & Initramfs ok

Reboot : Archos Animation / CM9 Animation ok and i WAITING ~120 sec BUT NOW it is GOOD !!!!!!!!!!!!!!!!!!!!!!

THANKS for ALL
[Gen9 Android Development] gen_scheisskopf:
Do not put # at the beginning, this is just command prompt symbol.

Just use "rm -rf /data/*" etc
[Gen9 Android Development] cajl:
@Quinny899 the 3g key do not work and imposbile to use the debug

@gen_scheisskopf : yes the # is on the screen, i do not type the #
[Gen9 Android Development] nashi20002003:
adb is working fine for me. 3G is another issue...Check TrevD posts on that.

For all with HDD...the issue of Internal Storage: my temp fix is to mount the usb flash drive inserted thru the regular usb port. I have a 128gb flash in there which is now mounted as Internal Storage thru vold.fstab as mnt/storage.

The hdd is there but I can only access the data to it trhu rootexplorer after I mount it using the App called "AL mass Storage". but many apps can not see it. I think root priviledge is needed to see it.

At least with the massive flash drive I can install app data on the internal storage.
[Gen9 Android Development] gen_scheisskopf:
Try

adb shell
stop
su
rm...
[Gen9 Android Development] cajl:
It is ok thanks
[Gen9 Android Development] skicavs:
often resets

I am experiencing quite a few resets and occasional force closes and I followed every one of the instructions of Quiny899 (Thanks for the nice blog post) I had also quite a few resets in normal and other ROMs could it be a problem with my unit, or is there some step I have missed?

Thanks
[Gen9 Android Development] trevd:
That's nice, thanks for sharing that piece of trivia with us! :laugh: Maybe a little more info would be helpful to everyone. What's Model Are You Running? Hard Drive or SD? 80 or 101? O.C Kernel or Stock? Official or Unofficial SDE?

There's possibly tens if not hundreds of things that could be causing this, If it's happening quite alot, then I'd start paying attention to the following which will help to try and diagnose what's wrong

What Are the Other ROMS? Are any of them Stock?

What Processes are FCing? Is it always the same ones?

What APPS are you running? Do any have background services?

Do the Resets Appear to happen at random? or is there a chain of events that happen before hand?

Does the device seem hot to the touch?

What's do the logs contain after a reset?

You could also hook up to adb logcat which will tell you what the device was doing when it resets/FCs. If you really want to solve or at least understand the cause of the problem you need to be able to reliably recreate it.

If you can't be bothered to do all that and It's still in warranty send it back and get another, in the UK at least you're well within yours rights to do that!
[Gen9 Android Development] skicavs:
80 G9, Stock (or at least I think that's what was in Quinny989 blog entry), and standard SDE.

I have very few apps installed, mainly Amazon Kindle, Google Apps (GMail, Drive, Contacts, Chrome), and Nook.

The device is never hot but sometimes fairly warm, I get lots of messages like this in logcat

(D/WatchdogDaemon( 631): CPU temperature: 52750

D/WatchdogDaemon( 631): Watchdog is happy)

The problems are with Standard 4.0.7 (no root, no kernel, nothing) as well but occur much less often when wifi is off.

I also noticed with 4.0.7 (rooted, no oc) that the problems occured much less frequently I switch from hotplug to ondemand or performance

I have connected the tablet to my computer and done logcat and read through the logs but there are usually no unusual messages before the resets and usually rather standard ones before force closes (W/System.err( 4704): java.util.zip.ZipException: CRC mismatch) for example.

I suspect strongly it is related to WiFi or the wifi driver, but can't really guess much more than that.

Do all of the latest roms (AOKP, CM10, 4.0.7, BLUE) use the same Wifi driver from archos? Is this not fixed yet? Is it maybe still something in the CPU is there any better way to log what is going on without getting millions of status messages?

Thanks
[Gen9 Android Development] Quinny899:
FYI, my blog will be down for a bit, migrating to WordPress and then you'll have a brand new, more detailed guide
[Gen9 Android Development] cajl:
Good job !
[Gen9 Android Development] cajl:
With Seven 64 bits, impossible to recognized the tablet in two usb modes !
[Gen9 Android Development] trevd:
Hi

The CPU temperature seems a little high to me and going on what my device is running at. Currently mine is running around 30000 idle.

Obviously if the CPU does start overheating then that can lead to seemingly unrelated errors like crc failures or random FC's

That's just my opinion and I could be full of S**t :laugh: but If anyone else has "normal operating" CPU temperatures they want to chuck in, It'd be interesting to see. Maybe this problem belongs in its own thread, to save it getting lost in the mist of CM10 development specific issues. ;)

As far as wifi drivers goes, it depends what kernel you're using but I think they are all built from the same source.
[Gen9 Android Development] mrbr0wn:
is there some new stuff? :D

Maybe that's the 10000th time that i look at the Archos g9 101 with CM10 video on youtube !! it's damn smooth!!! i want it!! :silly:

Jokes apart...dear cooks/developers, how is it going? is there some news? :):good:

Thanks to all for all of work!
[Gen9 Android Development] blogmaw:
Hi, I just wanted to ask if there was any significant improvements on sowftware decoding?

I used the vplayer plugins but I still couldn't get any video on VPlayer nor Youtube... For the moment I'm using VLC to read my videos...
[Gen9 Android Development] mn555:
I installed the ROM on my arches 80 g9 classic

I'm using super vedio (free from Google play : search for popup player) it has a software decoder

Once you installed the app install the armv7 codecs also from the store then open the app , go to settings/video decoder settings and chose saw decoder and done :D
[Gen9 Android Development] mrbr0wn:
mn555: what does not works in this rom? could this rom be used daily?
[Gen9 Android Development] trevd:
Ahh, I started writing this post 2 daysd ago, got sidetracked....

Not Working:

Camera

Graphics 3D Hardwate acceleration

Not Tested/Unsure:

Storage Capacity Reporting on the HDD Models, This is a configuration issue, someone with an HDD Model needs to want to sort it out.

HDMI, Simply not tested it but I think we are using the same drivers as the AOKP rom and It doesn't work on there.

Current Status:

You need to cobble everything together from this thread to get 3G / SDCard and Google Now etc working on the original image in the first post.I suppose if someone wants to take the time to build CM10 with the latest sources and "cook" up an image that includes the latest binaries and all the fixes that would help some folks out.

With regards using it as a daily, It depends if your "casual" with it, i.e a bit a browsing here and there. It seems stable enough and seems a little smoother than ICS in general. Watch Quinny's video review for info of video playback etc.

Current Developments / Sometime in the Distant Future :

I don't know if anyones is actively working on the "ROM" it's self. I don't know if there's anymore that can be done on it at the moment other than a maintenance build like I mentioned.

What is being worked on is a new kernel build which should hopefully get the remaining Hardware functioning, The HW Acceleration is the primary goal but a fully functioning custom kernel which is not reliant on any updates from archos is the desired result. Quallenauge, who I think is taking a well deserved holiday at the moment is leading the charge on this and he has made some amazing progress, but obviously there is no ETA on this, It'll be ready when It works. :laugh: I'm doing a bit of development with it but I'm still at the stage where I learn that I've got a lot learn every single day.
[Gen9 Android Development] Quinny899:
Does Video come under camera or 3d?

Anyway, using VPlayer for videos and YouTube, and IM+ as a replacement for Google Talk (which force closes due to no camera), it all works bar the camera :D
[Gen9 Android Development] TiMiN8R:
I'm no dev but couldn't you use some stuff from the Galaxy Nexus for the HW acceleration? That's what they did in CM10 for the Galaxy S. It uses the same PowerVR gpu.
[Gen9 Android Development] trevd:
The short answer is no and I believe we investigated and exhausted all avenues before we even contemplated attempting something as audacious as patching and building our own android kernel. Although don't let that stop you trying, I could be wrong.

Right I'm off too bed because I've been at this far too long and I'm no dev at the minute either :)
[Gen9 Android Development] cajl:
How return on official firmware Archos ?
[Gen9 Android Development] gegabit:
Download official FirmWare from Archos.

Reformat device. On last stage of reformat device you can copy FW to tablet.

Install and use =)
[Gen9 Android Development] cajl:
not working,

how format ? the recovery (on/off and vol-) don't wotk
[Gen9 Android Development] cajl:
It is ok ! thanks fir the tips

the vol+/- is broken but is woking

just push on the middle
[Gen9 Android Development] Quinny899:
Brand new install guide on my brand new blog (wrote it a while ago before the site went up though):

http://quinny898.co.uk/blog/?p=4
[Gen9 Android Development] joe bertolucci:
Did the 3g stick work in the cm10?
[Gen9 Android Development] trevd:
I should do, If not tho try downloading pppwidget from Play. Store.
[Gen9 Android Development] joe bertolucci:
Tks i ll try :P