yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] trevd:
[MENTION=4355759]TTLucian[/MENTION] Yes HDMI Works :good:
[Gen9 Android Development] Quinny899:
Fixed OP in light of this
[Gen9 Android Development] down4life:
Maybe will help, in any way :)

After a flashing, rom was working flawlessly, installed some programs, have fun with face unlock ets. :) But, when I came home, battery was drained, so I plugged in tablet and that s**t start to happen :) As soon as the system is up, after a minute or two, it restart itself, and continue to restart.

Just to mention, I have added "batteryd;" stuff to init.

Hope will help someone :)

Thanks for great rom, hope you will figure it out!

Edit:

Did wipe from twrp, again, seems ok..will see when battery is drained out.
[Gen9 Android Development] warezjunk:
Same for me...

I installed this ROM and very happy with this one..
[Gen9 Android Development] dekaru01:
And now for a new report from Strangeland.

Things have been fine recently, without any reboots, random or not, triggered by me or not (this is important, apparently). But then I tried to play a video in the Youtube app and it didn't. Actually, not one video from Youtube played, even though the app was otherwise working fine. So I decided to reboot the tablet. Bad idea.

After that reboot, the battery percentage started showing actual percentages, no longer being stuck at 100%. But a few minutes in, the auto-reboots started. And they're still going on. Now about every 30 seconds. I stuck the charger in and let it be for now (since last time that seemed to help).

So it seems that if it boots (or reboots) while actually being fully charged, the battery indicator gets stuck at 100% but everything works. If it reboots (manually or not) when it's not fully charged, the battery indicator starts working, but the auto-reboots start. This is my current theory. Testing it now... :)

The thing is, I'm already at below 1 GB free space with just ~30 apps installed (my usual is around 80, plus they keep taking more and more space due to caching, etc.). So please, please look into this :)

Well yes, I'm slowly adjusting to this. I was hoping this was an easily selectable thing whilst building a ROM. I haven't yet tried CM 10.1 on any other tablet, so I didn't know what their 'default' was, although I really expected this to be a user-changeable setting somewhere. "Merging" the phone and tablet UIs this way was the stupidest thing Google's done to Android in a long while. I'll stop here, but it's really idiotic. I mean, sure, maybe tolerable on an 8" 4:3 tablet, but on a 16:9 10-incher, while in landscape, hitting any of those soft keys is a complete pain.

Well, I've covered this in the first paras. As for logs, no problem, just guide me through the procedure a bit. I have this (https://play.google.com/store/apps/details?id=com.tortel.syslog) installed and if need be I can try and install ADB too, although I'd really rather do things locally (via an app or terminal).

It was every time I connected the USB cable. Tried 3-4 times. After that, the auto-reboots become near-instant after it finishes booting.

As for why you're doing this - whatever. The good thing is that you are :)

And I wasn't expecting everything to work 100%. I've been flashing custom ROMs on my phones since the Samsung Galaxy Spica, which was my first Android phone (and bought it around the time it came out, so that's... many years now). And I know the downsides, and the 'perpetual alpha/beta' state and all that.

I just so much want for this ROM to actually be usable... or reach beta, by your standards :)

BTW, have you guys given up on the Paranoid Android port?
[Gen9 Android Development] xbutchx:
Sorry, I was away from my PC on vacation, so I didn't have the ability to capture everything....here we go.

Archos 80G9

512 MB RAM

1 GHz/4430

When receiving new mail notification from the Gmail app (version 4.5.2-714156), the notification bar crashes and the power light starts flashing and will reboot.

Having even more issues with logcat output, so I copy/pasted the command prompt window into the attached txt file.
[Gen9 Android Development] grcd:
I have to second this, as I had the exact same crush issue on the same hardware.

I also want to ask if PA has been completely abandoned. I know this is down to personal taste, but I think PA is doing a wonderful job and it would be sad to see the project abandoned. If that is the case, would you consider sharing sources so someone else can pick up?

Keep up the incredible work. You have kept Gen9 Archos alive :)

Edit: I can put down the bug to putting Google account information during the set_up without having installed gapps

Edit 2: I can also confirm a fix:

To avoid any problems, do not complete the setup by putting Google account information.

0. Following a 'clean' installation, (if gapps was not installed)

1. Copy gapps file to external SD card (it is easier with the included recovery)

2. Reboot to recovery

3. Install gapps from sdcard

4. Clean cache and dalvik

5. Reboot into system -- you may experience non-persistent crashes (the notification bar will not crash)

6a. Disable Google Play Services and clear all app information from Settings > Apps

6b. [OPTION] You may also be required to uninstall certain packages that can be found on the Market or which are included in GApps.

7. Put your Google information

8. Reboot

I will change this order around if I did anything else I cannot remember, but right now I don't have the problem and I am fully logged into my Google account.
[Gen9 Android Development] Mr. Joop:
Hello, I've just everything from the how to, when I've tried to charge the tablet, its just restarting to twrp, so I let restart to the system...

It's charging, but restarting etc. pp.

So now when I connect to the charger the led just blinks, what means it doesn't has energy to reboot...

But after a while even this light I'd going off, and nothing happens...

Any idea??
[Gen9 Android Development] OberQuaker:
Hi,

i followed the instuction and erverything was ok.

Now i'm at this step: 13.) Reboot back into recovery - This will be TWRP now

"back into recovery" means Volume down + Power Button

But what will be TWRP now? Does i need other zImage and initramfs to flash GAPPS? (not the files from cwm-g9.zip)

I tried to flash GAPPS also with CWM, but i can't see internal SD filesystem. I can mount external SD, but i also can't see the filesystem.

There's only "/sdcard/0/" and "/sdcard/clockworkmod/".

After reboot, CWM is started automatically. How should i continue?
[Gen9 Android Development] Quinny899:
If you're seeing CWM, you didn't flash the ROM in step 10
[Gen9 Android Development] OberQuaker:
I installed CWM again to flash APPS, because i have no other idea how to flash.

I flashed the ROM at step 10 and does a reboot (step 11).

CM10.1 started and i skipped setting up WLAN and Google Account. Then i copied GAPPS with "adb push gapps-jb-20130301-signed.zip /data/media/"

Next step is: 13.) Reboot back into recovery - This will be TWRP now

=> Volume down + Power Button and then?

I think my English isn't well enough.
[Gen9 Android Development] Quinny899:
Just boot, it will boot TWRP if the latest CM10.1 flashed
[Gen9 Android Development] OberQuaker:
I used this download:

cm10.1-20130527-UNOFFICIAL-archos_g9.zip

Size: 285.41 MB

MD5: d804ad355b58d83e122011bf4f69a784

2013-06-28 8:56:33 PDT

It will boot TWRP automatically at next reset after i copied the GAPPS to internal memory?
[Gen9 Android Development] Quinny899:
It will boot it automatically after flashing the ROM + rebooting normally
[Gen9 Android Development] OberQuaker:
No after flashing cm10.1-20130527-UNOFFICIAL-archos_g9.zip, it started (a new logo with coloured, moving circles), asked for language, WLAN (skipped) and Googlle account (skipped). Then CM10.1 was running. I activated USB debugging and copied the APPS zip file to internal memory.

Sorry that i'm "slow on the uptake", but thank's for support so far.
[Gen9 Android Development] y2grae:
if you need any testing, my archos is an obliging beast :)
[Gen9 Android Development] muti642:
Hi, I own one archos gen 9 1Ghz 512MB classic 10 inch, I possess also a HDMI cable from my tv cons is down, I turn on CM10 version, and I'm ready to play testers for this new rom this it can help. little off topic to say before in official firmware I had the ghost bug screen on the back button of the touch screen, which even with the two methods of calibration remained present from 10 cm this bug has gone against it by m often the screen keeps spreading of fonctioner s only solution reboot, of course my tablet is under guarantee but I install the shower so I pensse any official is no longer valid it you have a solution for me until I am happy loose my nerves and eventually crush the tablet on the wall. sorry for my english I'm french fan of xda;)
[Gen9 Android Development] Quallenauge:
Really cool! Thanks Quinny for your work!

My goal was to provide mostly working image, that you can use to finish (with working WLAN and internal storage), but I trapped

into so many pitfalls :(

Details: Through the new "mount_all" commando within the new (and for archos A80S adapted) init.rc scripts, I forgot to mount the rawfs partition which contains the calibrated nvs-binary which is needed for the WLAN driver. Currently I wonder why the wl12xx module isn't "insmod"-'ed by the Android framework. Maybe I can get it working at beginning next week.

It's currently silent from me, but I'm working on it =)

Edit: Found out, that the wlan is not crashing - when using the kernel from surdu but it is crashing (or better blocking the start process with the linaro 4.7 gcc and also with the gcc from CM10.1). Maybe surdo has applied some configuration options?! I PM'd him.

Linux version 3.0.21+ (surdu@surdu) (gcc version 4.4.7 (GCC) )

Any ideas here? Serial output doesn't help.
[Gen9 Android Development] Quinny899:
Re: [DEV][4.2] CyanogenMod 10.1

New build on goo:

Version Alpha 2:

Fixes:

Camera (No storage to save to though)

Installing apps to /data

CRT off animation

Video (HQ & LQ)

Should show as an OTA for all current dev channel users
[Gen9 Android Development] trevd:
Now Then Folks!!!

I'll Start with the Good News. I've got storage working and the system is booting using a standard android init which is good for moving forward....

The Bad News : For some reason this has broken Wifi ... I suspect the archos init is probably doing some special work (see below )!

The logcat trace looks like this :

E/WifiHW ( 805): Supplicant not running, cannot connect
I/wifi_state_changed( 805): DriverLoadedState
E/WifiStateMachine( 805): Failed to setup control channel, restart supplicant
D/CommandListener( 497): Setting iface cfg
D/CommandListener( 497): Trying to bring down wlan0
I/wifi_state_changed( 805): SupplicantStartingState
I/wpa_supplicant( 1828): Successfully initialized wpa_supplicant
I/wpa_supplicant( 1828): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 1828): Could not set interface wlan0 flags (UP): Invalid argument
E/wpa_supplicant( 1828): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 1828): wlan0: Failed to initialize driver interface

Archos Init Special Work:

It does seem like they are doing some wifi setup in their init binary, here's part of the strings extract

Read ethernet MAC from store Failed.
Wrong Magic : No MAC Store.
Ethernet MAC OK : %02X:%02X:%02X:%02X:%02X:%02X
%02X%02X%02X%02X%02X%02X
Wrong Magic : No Ethernet MAC address.
Read Wifi MAC from store Failed.
Wifi MAC OK : %02X:%02X:%02X:%02X:%02X:%02X
Wrong Magic : No wifi MAC address.

This is definitely non standard stuff ... The wifi chip wl1271 however is standard and I think we just need to follow the Documentation to set it up properly

Here's a link to the new init files archosg9-cm10-init.tar - 240.00 KB , I thought I'd share them in case anyone fancied having a play. I'm going to have a root around the kernel as it needs recompiling anyway.

couple of notes:

I used Quallenauge Build from this post as the base.... The Current Alpha2 build seems a lot less stable getting lots of FC's!

moved create_sysid createnvs exec commands into services , also moved "mknod omaplfb" into a service. I've commented other exec commands which run archos specific services.

All .rc file must had a uid/gid of root and must be rw-r--r ( 644 )

I had to comment out the chmod 0777 /dev/dce . this is something I've had to do before to get other roms booting with standard android files ...... it's a bit weird that it borks attempting to set the permission on this device node!!!!
[Gen9 Android Development] stevemp:
Test

Made a fresh start with the new files in github yesterday to help test. Tablet wouldn't boot with the new kernel, init, and modules. Archos splash screen didn't even show up so used the ones from cm10 and wifi, hd video work. Seems very smooth to me but test is limited by lack of access to sdcard. Same problem with permissions, can see the internal and external sdcard but not access them.

MediaScanner( 1131): Error opening directory '/storage/emulated/0/', skipping: Permission denied.

MediaScanner( 1131): Error opening directory '/storage/sdcard1/', skipping: Permission denied.

MediaScanner( 1131): Error opening directory '/storage/usbdisk0/', skipping: Permission denied.

@trevd, need your kernel to test new init, doesn't boot with the one I have.

Tired so off to sleep, will try again later.:)
[Gen9 Android Development] Quallenauge:
The kernel must have namespaces support compiled in and sdcard daemon has to be running.

( Gives ps | grep sdcard an result? )
[Gen9 Android Development] stevemp:
kernel

I am using the kernel from 4.0.26, no namespaces support and sdcard daemon is not running. None of the kernels I've built will boot, no idea why. :(
[Gen9 Android Development] trevd:
Hi Steve

I had this booting with a standard 4.0.26 ( 3.0.21+ rd@debian ) kernel, you probably want to delete your storage directory if your using standard init stuff.

My Kernel is here - https://github.com/trevd/android_kernel_ti_archos - The config is an heavy work in progress at the minute!!
[Gen9 Android Development] freezenook:
Hi guys!

Can I boot it with use MultiBoot menu v0.3?"
[Gen9 Android Development] trevd:
Yes You can... although I don't know if the data is compatible between cm 10 and 10.1 , I wouldn't expect it to play nice with any other rom data so you'd have to data wipe every time you switch. Kinda defeats the object.

You could always loop mount your data partition to an image file I suppose
[Gen9 Android Development] Quinny899:
Funny, when I tried with the multiboot and the newer zImage it wouldn't boot. I'll try again and see
[Gen9 Android Development] freezenook:
I tryed! Result - negative, loop in multiboot menu! As primary installed CM10.
[Gen9 Android Development] trevd:
Working Fine for me here.... that's what i'm using to test the kernel builds.

I've got the CM10.1 image and a fall back 12MB image which boots in CWM but it's more for the adb and being able to reflash a kernel without having to boot back into stock or recovery.
[Gen9 Android Development] freezenook:
Can you upload your test kernel with CWM rom?
[Gen9 Android Development] trevd:
Here a link.... cwm-multiboot.tar - 16.62 MB

the safe.ext4 contains CWM

the initramfs.cpio.lzo is a multiboot ramdisk

the zImage is my current kernel

You'll probably want to use a different kernel because that one is a test one which has the touchscreen drivers built in and some other delights...

It does include /proc/config.gz if you want to grab the config and build the kernel yourself.

Plenty of guides around xda using that methods

Obviously you're on your own with playing around, Kinda Busy at the moment! :D
[Gen9 Android Development] freezenook:
tverd thanks, I will test safe.ext4) What does working in this CWM build?
[Gen9 Android Development] Quinny899:
I flashed this with the ROM's zImage, and it works just fine. The zImage in the tar kills WiFi for me, I assume that's part of your storage fixing antics ;)
[Gen9 Android Development] trevd:
Ay.... it comes down to this create_nvs stuff which is part of archos' abcbox binary which I assume is a wrapper for this http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator and as the strings extract from earlier shows , they are at least reading the mac address in the init...

We just have to redo the calibration stuff overselves.. shouldn't be too difficult. I might have a look at the kindle fire stuff because they're on the same hardware and the implementation maybe a little more standard....
[Gen9 Android Development] trevd:
Nothing Really!!

The fact that it boots into CWM is just an aside..... It's purpose is to give me early adb....
[Gen9 Android Development] Quinny899:
Reboot into recovery after the setup wizard
[Gen9 Android Development] trevd:
No It doesn't mean Volume down + Power Button, It means select advanced/reboot recovery in CWM.

This sets the sde boot mode to recovery which is different from the "archos recovery" which exists as a failsafe through vol down + power

There's an explanation somewhere of exactly how it works if your interested
[Gen9 Android Development] Jmrwbilly:
Question, why are there 2 build.prop files in/system? One is build.prop~
[Gen9 Android Development] Quinny899:
That'll be me, gedit makes that as a backup file, the ~ one is hidden on the OS and so I won't have seen it (being lazy and all), so that's why it's there. You can delete it if you want
[Gen9 Android Development] Jmrwbilly:
just curious, noticed they were different and didn't want to mess with either without knowing why it was there..
[Gen9 Android Development] swaaye:
Is there a way to put this into pure tablet mode? Instead of phablet.
[Gen9 Android Development] trevd:
As far as I'm aware this is THE MODE! whatever it's called it's been on every device i've put CM10.1 from a 10" Motorola Xoom on down.

So No is the short answer but there's plenty on 3rd Party Launchers which means you can style your device however you please.
[Gen9 Android Development] swaaye:
I have a Nook Tablet as well and with some other ROMs (like Carbon ROM) you can manually put the OS into phone, phablet, or tablet mode. The differences are the placement and layout of the navigation bar and status/notification bar. Some of these other ROMs have far more UI configuration options than CM10.

I just think that Phablet on this size screen puts the nav buttons too far from fingers.
[Gen9 Android Development] RageAgain:
I have a 101 G9 Turbo 16GB SD version 4430, and although this runs smoothly and very fast instead of the normal 13+ GB I end up with 3+ GB free space. Definitely not something that I can live with. Everything else seems to perform more than well. Any ideas why this happens?
[Gen9 Android Development] dekaru01:
Strangeland calling yet again...

I think I've narrowed it down. What causes the erratic behavior (once again, if you're just turning on the TV: random auto-reboots, notification area crashing, tablet heating up, and then more seemingly random auto-reboots, which occur faster and faster after the previous boot - this sort of thing) are notifications.

Specifically, getting any kind of 'active' notification (which means - NOT 'ongoing') will cause this. I've tested with Gmail and Google+. There is one exception though, strange as it may seem: notifications from the Play Store don't make the tablet do this. But everything else does (once again, except ongoings; for example I have two of those, one from a weather app, and the other shows me the date and day of the week - both work fine and don't cause any distress).

So my current workaround has been to disable Gmail and Google+ sync. I don't have many other things on there that could trigger notifications (Facebook should, but it doesn't - that app is just crap).

Since turning off sync for Gmail and Google+ (better said: since not receiving any notifications), everything is fine. No new occurrences of this behavior.

I wonder if this would be easy to fix...

Also - please don't forget about the storage issue. I'm down to around 600 MB free now, and at this rate in 1-2 weeks I'll be down to 200, which is around where the "low storage" notifications start popping up.

LOL, so I see I'm not the only one... Yay!

Truth be told I am (slowly) adapting. You can, in CM settings, customize the buttons a bit, so I moved the Back button to the far left where it's always been and things seem better now. Also, I added the rather useless 'Menu' button in the middle, and Search too - so now there are 4 buttons in the middle, which makes the outer ones closer to the screen's edges. Not a perfect solution, but workable for now. There are more important things that need to be addressed, this isn't one of them (although I do still hate this 'phablet' mode).
[Gen9 Android Development] cajl:
I use your process "Coming from non-CM10.1 builds" on an Archos 8 " G9 (first generation)

and the result is not ok

I stay on 4.0.28 release

and if i reboot on developper mode i have the TWRP....

But i reboot on sytem and it is ok

how install after the google apps ?
[Gen9 Android Development] jackk:
After trying this ROM, I tried to go back to the Clean_Slim&Fast V02 (Firmware 4.0.25) but now I'm stuck in a boot loop on the Archos splash screen and will not boot. As suggested in the FAQ, I tried to flash the official Archos firmware (AOS) but I get an update failed: (221) error.

Anyone run into this issue and resolved without being able to boot?
[Gen9 Android Development] swaaye:
I wiped and went back to 4.0.28. I had to do two full formats to get it working.
[Gen9 Android Development] jackk:
How do I get back to 4.0.28 because I get stuck on the Archos splash screen and cannot boot? I can get into the recovery only to flash the Archos official firmware (firmware_archos_it4.aos) but I am getting an error (221).
[Gen9 Android Development] swaaye:
I assume by recovery you mean SDE? 221 is the error you get if you try to downgrade to an older Archos release. Make sure you have the latest official firmware. Go to Format System in SDE and choose Reformat Device.
[Gen9 Android Development] jackk:
Thanks so much for your help. That did it, I can now boot.
[Gen9 Android Development] OberQuaker:
Sorry, i was a little bit busy during last day's.

I tried to flash the rom again and it was successful.

My observations:

- charching is very slow

- discharching is very fast

- sometimes bad performance if a SD card is inserted

- when i remove the card, everything is smooth again

- how can i unmount the SD card before i put it out?
[Gen9 Android Development] Quinny899:
Unmount is in Settings > Storage > Unmount SD
[Gen9 Android Development] stealthdave:
I have to concur with [MENTION=2257284]OberQuaker[/MENTION]'s observations; I've been running this latest ROM for almost 2 weeks now, and battery life on this iteration is abysmal. I usually try to provide more debugging data, but I'm having a number of other issues with this version of the CM ROM that's preventing me from doing so:

The tablet frequently can't wake up from sleep. My impression is that there is some process going on that is taking up all the CPU time, as the tablet becomes completely unresponsive, even to the hard-reset command of Volume Up + Power.

Tablet can't be found by adb tools, which made it very difficult to get a logcat. I eventually downloaded an app to get the attached logcat.

Battery usage is extremely high. From a 37% charge, it took about 30 minutes to drain the device completely while idle.

I didn't have any issues with charging speed using the original Archos charger and cable, and I didn't see any difference with or without the SD card, but battery life is definitely bad. On the plus side, I'm a big fan of TWRP, so it's awesome to see that included and working! :good:

I hope that the attached logcat will be somewhat useful. Just getting one at all turned out to be more of a challenge than usual, so I wasn't able to pinpoint any specific problem events. I was planning on getting some logs from Better Battery Stats, but the system lockups made that too difficult. For now I'm going to revert back to a 4.0.x ROM, but I'm looking forward to the next round of CM testing!