yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] trevd:
Hi Folks

Thanks for the testing everyones been doing.... I'm just working on a new build now.... ( No ETA tho :D ) ... Seems the battery issue is solved by using batteryd so I've added that to the init.*.rc ( maybe I was a little eager in trimming back the archos binaries :o ) .

I'm pretty sure the gps won't work, I think there's a typo in the service declaration. You can try running the /system/bin/start_navd script manually for testing. I can provide you all with some tools/instruction for unpacking / repacking the boot ramdisk if you want so you can make your own changes permanent.

Thanks
[Gen9 Android Development] revere521:
No problem at all, thanks for building this!

I tested tested the GPS again with a GPS test app, here is a screen cap, and a screen cap of my about screen showing the kernel and build.

I made sure the wireless is off, and i did not have to run any scripts from the command line in this case.
[Gen9 Android Development] Djirin:
Glad to have helped with the battery issue!

I did see that start_navd file while poking around. But everytime I try to run it I just keep getting:

sh: start_navd: not found

Or trying it with this doesnt work either:

./start_navd

sh: ./start_navd: No such file or directory

Not certain if its because of how I have terminal configured on startup. Under preferences / command line:

/system/xbin/sh -u

And Initial Command:

export PATH=/system/xbin:$PATH

su

alias ls="ls -al --color"

The above startup commands allow for standard bash like color listings! Whoo! Makes things easier to see and figure out what they are.

I have attached 2 screenshots. One of what I see when I start navd. And the other of the colors. :laugh:

update:

Starting navd manually does not appear to help the GPS situation. GPS Test still says GPS is off and Maps still says to 'tap here to improve accuracy' even though all the GPS settings are still active in settings.
[Gen9 Android Development] Filatov.p:
trevd, thanks for your work. But GPS works for revere521 somehow :) how can it be?

Concerning battery did you solved it on 58 kernel or 21?

And is your build finished? Can we test it?

Update:

revere521 thank you a lot for your tests and your links. I used sources you provided and now I have fully and correctly working battery and GPS! Even without losing any data :)

And here one more thing. revere521 could you please test back USB for working with usb flash drives. My back usb nit working now and i'm going to give it to the service centre to get fixed. So I need to make sure if they would be able to test it and will I need it anyway :)

Thank you in advance
[Gen9 Android Development] moomoon03:
hello i have archos 80 g9 with 512mb ram!

i am with blue rom with kernel 4.0.25

how can i install this rom on my g9 please?
[Gen9 Android Development] revere521:
Glad to be helpful, this thread and the developers did all the real work :)

I can't find the option to enable the 3g / usb port - i will try if i can figure it out.

I borked my tablet messing around with things, and am currently setting i back up, as soon as its back up and running i will try again.

moonmoon03 - all the stuff i have been doing pertained to the a101s, i think other 80 users have had luck with the instructions in post #2? you may want to go back and read the entire thread - its alot of stuff - but i really didn't have success until i really understood what did and did not work for others.
[Gen9 Android Development] mrbr0wn:
i'm trying to follow the topic but at the moment i'm a little bit lost! :)

So the only way to have gps/bluetooth/battery stats working is using a kernel compiled with some modifications to the sources and not uploaded at the moment? Or when we talk of some other kernel with the whole stuff working we refere to something already downloadable/flashable?

Thanks :)
[Gen9 Android Development] revere521:
I can only confirm for the a101s that installing this package https://www.4shared.com/archive/YsYm6IL5/010.html again

adb push the archos.ext4 to /data/local, then flash the included zimage and initramfs

this will install a build of CM10.1 from 4/17, and Kernel 3.0.21+

At least 2 of us can confirm that nearly everything works.

trevd is working on a new build, that includes some fixes for the battery, but he doesn't have an eta yet.
[Gen9 Android Development] Filatov.p:
Why not just plugging flash drive into tablet? I believe this ROM isn't specified for exactly gen9 but ported or something like this so maybe back USB works as is. Just like it was on my Acer A501, fully sized USB worked without turning on any switchers and has power supply everytime. I'm not a dev I can only guess :)

And I have tested HDMI - it doesn't work. As I see from my other devices, Mediapad for example, it is quite difficult to make HDMI work on non official jb rom
[Gen9 Android Development] revere521:
Just plugging it in does not work, but

Does work
[Gen9 Android Development] Filatov.p:
Thanks for this info. I played a little with that code, rebooted tablet and now it is in bootloop for some reason. CWM shows up, I press reboot and it stucks on Archos logo. Strange...
[Gen9 Android Development] revere521:
I think this build is still a little unstable. Yesterday the same happened to me, I just formatted and started over.

I can't really say why, but I messed with enough stuff to break it :)
[Gen9 Android Development] trevd:
LOL... Nice one chaps. May I suggest If you're playing around I find it's always best to leave it connected to the computer. Then run adb logcat during the boot sequence... Well If truth be told I rarely boot any device without a logcat running but that's just how I roll :D LOL

I find that helps, especially if it's boot looping. You can find out exactly what the problem is
[Gen9 Android Development] revere521:
I will try to remember that thanks :good:

Sometimes i forget to keep track of what i'm doing, and i introduce too many variables :o

Breaking things and starting over is part of the fun anyhow
[Gen9 Android Development] ondra1234:
My archos 80 turbo boot loop.

Pls help
[Gen9 Android Development] revere521:
I'm going to head off the devs here - describe which instructions you followed and which rom / build you were using

Then trevd is going to ask you for a logcat output

if you plugin you usb to pc cable, in an adb session at the command prompt, run this command:

adb shell dmesg ; adb logcat -b system -b radio -b events -b main

that will display a log output of what is happening during the boot loop, if that does not work, try just the simple logcat command without the modifiers.

paste or upload the output here, and one of the devs may be able to help you.
[Gen9 Android Development] ondra1234:
ok thx.

This will test tomorrow
[Gen9 Android Development] trevd:
[MENTION=1655050]revere521[/MENTION] LOL .... Damn Straight!

I'm many things but a mystic isn't one of them :D My balls aren't made of crystal I'm afraid.

Anyway. I just couldn't resist it, so here's a cheeky teaser

[MENTION=3563640]Quinny899[/MENTION] I believe you were looking for this :D
[Gen9 Android Development] Quinny899:
GIMME GIMME

Seriously though, TWRP is so much easier to use, no mashing the volume buttons at all
[Gen9 Android Development] trevd:
Not only that. But when I break adb I can get at the log info.. that's why I decided to build it. It took about half hour to get the screen working. But I was pushing the wrong file for 20 minutes and wondering why nothing was changing. :)
[Gen9 Android Development] Filatov.p:
trevd, great work! how does it work? backup/restore corretly?
[Gen9 Android Development] Megadave123:
Is there something missing from the instructions?

I followed the instructions up to this point (I put the archos.ext4 file in /data/local) powered off, plugged in power, and it just booted back up to normal stock Android...
[Gen9 Android Development] a83:
This ROM Looks AMAZING !

thank you all for your wonderful work,

any chance for the HDD models in the near future ?

i defiantly would love my G9 to run this one someday ,

again ,great work ya' all !

:good::good:
[Gen9 Android Development] Filatov.p:
one more thing. Even running 21st kernel doesn't save from battery issues. The tablet doesn't sleep. Looking on the diod you may notice it blinks once couple of minutes. And in the Settings we discover that Awake state is almost always off inspite of that screen is on. And battery went off during the night for 14%. Pitty
[Gen9 Android Development] trevd:
There's every chance of it working on the HDD Models but like I've mentioned previously it needs some ( well 1 ) HDD owners to be pro-active and provide us with information about the hardware such as the mount points for the hard drivers, which sata controller driver being used and all the other fun stuff :D , Then It needs a willing victim who knows their way around the linux command line and is comfortable with adb to test it out.

........

On an unrelated note..... first let me apologise because it's slightly cruel to keep teasing people like this but......

This HDMI Fix was brought to you by the following line of code

.supply = "hdmi_vref",

Seems someone had neglected to the tell the 1.8v regulator what they need to regulate. - if anyone fancies building there own version of this kernel, the code can be found here https://github.com/Quallenauge/kernel-archos.git and use the trevd_expirimental branch.
[Gen9 Android Development] a83:
Well,I'm sure do have the will to do so, but lack the knowledge ,

probably, i can provide the info with a little guiding, but Linux is not my area..

anyway thanks for answering!

i guess that I'll wait for the one who knows his ways better then I do, have a great week
[Gen9 Android Development] ladalgigi:
Hi

Any news about the battery problem ? Will we have a new kernel or a new version of the ROM ?

Anyway thank you for your excellent ROM ! My 101g9 is fantastic with it.

Envoyé depuis mon Archos G9 avec Tapatalk
[Gen9 Android Development] sleepingman:
you are a evil,evil bastard.... :)

excelent work in all aspects!!

still Waiting for the next version but it's worth the wait!
[Gen9 Android Development] Morice69:
Hi

Great job for cyanogenMod thanks

However I have some questions:

1) during each start up, it first boot on cyanogenmod's recovery menu (even archos entairtainment is not displayed) and I have to press opwer again to reboot in standard mode: How to disable automatic recovery, or enabble automatic boot?

2) is it possible to ad 3G management like on stock archos to be abble to use usb plug, within managing powersave (during suspend)

3) is there a deep sleep mode?
[Gen9 Android Development] therbom:
1) That is currently not possible.

2) That is also currently not possible. The only way is to do it manually.

3) Deep sleep is not a part of AOSP (AFAIK). It's not supported and I don't know if it would ever be in CyanogenMod.
[Gen9 Android Development] freezenook:
Is support cores works on CM10.1? Omap44xx has two low performance, save power cores, does it work?
[Gen9 Android Development] Filatov.p:
freezenook

judging by stock CM CPU control app the frequency limits work fine. The lowes freq is 350 Mhz. So I believe it runs in 350 while screen turned off, but it doesn't sleep and drains battery at night and during all day you don't use your tablet
[Gen9 Android Development] Quinny899:
Planning and testing (nothing works yet)
[Gen9 Android Development] Quinny899:
Archos Settings

As promised, here's Archos Settings

It's a simple app that allows the use of the 3G port easily (no terminal needed), as well as allowing you to select the state of the power LED and activate the CRT animation and the screen on when plugged in/unplugged (last two are part of the Xposed Tweakbox app)

Note that some of the commands are temperamental and don't work all the time if at all on some devices

I also added a link to it in the settings, as well as doing a few other things:

- Archos Settings link

- Xposed framework link

- Renamed "Interface" header to "CyanogenMod" (fits it better) - Default strings only, no localisation

- "Developers" bit under "About tablet" (Tapping it will open this thread)

- Developer options always on - no need for the build number tapping

- Hidden easter egg - Find it, it's very badly made ;)

Screenshots:

Download:

Download from attachments

Installation:

Download to internal SD, reboot into CWM recovery and flash it
[Gen9 Android Development] therbom:
I have some comments on your additions:

You renamed 'Interface' to 'CyanogenMod', but the fact is that not all CyanogenMod settings reside in this area. The options listed are added by CyanogenMod, but they are not all CyanogenMod additions. It was also decided to integrate CyanogenMod settings into the normal Settings app and this change reverts that partially.

There is an option available to use 'Advanced settings'. Have you looked on that approach? This way you don't need to modify Settings, making it easier to be officially supported. Take a look at http://review.cyanogenmod.org/#/c/32495/ for the HTC One X' approach.

3G Port >> '3G port' (use as less upper case as possible)

Use 3G Port on rear of device (Does not react on state) >> 'Enable the 3G port at/on (I'm not native English so I don't know which preposition is correct) the rear of your tablet (does not react on state)

What do you mean by 'does not react on state'?

Select the state for the power LED >> 'Select the state of the power LED'?

Miscellaneous settings >> 'Miscellaneous' (settings seems redundant since you are already in the Settings app and it's incosistent with the items above

Wasn't there an option already that enables/disables the screen-off animation?

I'd suggest to just say 'requires reboot' instead of 'change requires reboot', to stay consistent with similar strings in Settings (res/values/cm_strings.xml lines 367, 373, 383 etc.)

That last option is controlled by a framework setting that's available through an overlay system. I don't know if the CM team would accept such a setting, and otherwise that should be done device-wide instead of device-specific.

Activate screen on unplug/plug-in >> 'Turn screen on by power supply'?

[*[summary: 'When your tablet is plugged in or unplugged, turn on the screen (requires reboot)'

I'm the Translation lead of CyanogenMod so forgive me for taking this so seriously ;)
[Gen9 Android Development] Quinny899:
I'm not integrating it into the settings as it's an addon and I'm going to release it as a standalone app, hence why it has a launcher icon too.

- Interface doesn't exactly cover it either, and to a casual user they think 'CyanogenMod', must be ROM settings

I'll work on the wording, some of the stuff is a little badly done

Doesn't react to state is because the checkbox reverts to off if you restart the app, I might make it check at a later state

LED, nope, it's how I put it

I'll change that

Nope, never has been since cm9

I'll change that

See point 1

The wording you put there doesn't give the point as well IMO
[Gen9 Android Development] pix_fax:
Hello to all. I have a problem.

After making all my scripts tablet went into loop.

After reeboot it is strange that I do not cianogen part of the logo, but the old one. I have a 80 g9 and I launched these files: update-a101s-test.zip; gapps-jb-20130301-signed.zip; wipe-data.zip

What's wrong? thanks to all
[Gen9 Android Development] Filatov.p:
Quinny899, this is damned great!!! Why didn't you post screens of working 3g port in action (internet or storage)?

BTW, I can't clearly see what battery indicator in these screens says, but does it correct? And should we wait for battery fixes in new kernel?
[Gen9 Android Development] pix_fax:
Add: omap 4430 es2.3
[Gen9 Android Development] acro49:
Deleted

Deleted
[Gen9 Android Development] Jmrwbilly:
Has anyone compiled this? If so, can post? I'd do it but just wiped my Linux box to use for HTPC..
[Gen9 Android Development] Quinny899:
We have a test build, but it's very, very unusable. Wait a bit until it gets fixed
[Gen9 Android Development] trevd:
I was going to say its rock solid on the omap4430 but I thought I'd take my tablet on a little adventures. It doesn't like playing music with the screen off at the moment. :eek: some work required still then. :)

I'd be good if anyone/everyone could post their device types and specs complete the poll on the attached to the thread ... It would let me know what where dealing with here. :thumbup:
[Gen9 Android Development] Quinny899:
I made a poll in response to this, with (I think) all the variants. I'll request it get deleted when we don't need it anymore
[Gen9 Android Development] muti642:
Hello I just tell you how to install this rom for those who have problems. Firstly download the official SDE and ext manager for windows.reboot in mod recovery, uninstalling the S D E reboot recovery in any formats tablet, install S D E, go to developer edition mount data partition and plug on tablet pc, a new hard drive appears in Windows this is your tablet. create a local folder to the root of the drive and copy the file archos.ext version 0.1.0, flash the initramfs and zimage the same folder and reboot tablet.la tablet Started On CWM made just reboot and voila you have cyanogen 10.1 without the battery bug, for 3g create two scripts one run and one off. here is hoping to have all fonctione help :).

For game on se use GL to sd last version , for me all work .

Sorry for my english im french
[Gen9 Android Development] Djirin:
It's rock solid for me as well. Just wish I had a 101 with 1gb of ram instead of 512.. But oh well! :good:
[Gen9 Android Development] Quinny899:
This is the new version that's in testing we're talking about, not the current release
[Gen9 Android Development] y2grae:
I have the g9 101s Turbo if that helps anyone with testing?

love to help if i can :)
[Gen9 Android Development] Jmrwbilly:
G9 A80 - OMAP 4460 ES1.1 - 1.2GHZ 512Mb here

The Release Runs Beautiful BTW!! (minus the battery)... Afraid I'll need to switch (temporarily) to stock though soon for HDMI.. I use the tablet for tailgating and hook up to a monitor for streaming... either that or can start my project of installing a raspberry pi into a monitor....
[Gen9 Android Development] revere521:
I have the G9 101 turbo 1.2 ghz OMAP 4430 es2.3 with 512mb ram.

I'm running trevd's update-a101s-test.zip from dev host: http://d-h.st/2nG

I haven't been having any real bug issues - occasionally if it sits for a long time i find it powers itself off, but charging, GPS, wifi, bluetooth etc all seem to work for me.

I'd like to see what the new build has to offer, especially with kernel updates and the addon zip.
[Gen9 Android Development] pix_fax:
Ok, thank you.

So I have the original firmware from archos?

I started out with a rom surdu_petru.
[Gen9 Android Development] muti642:
No firmware instaled just flash the official sde . 1 uninstall sde - 2 format tablet. 3 reboot in recovery and reinstall sde official - 4 in developer menu go to mount data - 5 plug your tablet on pc ( with ext2 manager for windows) and a new hard drive appears in menu computer of windows , open this hard drive ( its your tablet drive) create a new folder named '' local'' . push archos.ext4 ( build 0.1.0) -6 flash zimage and initramfs. Your tablet reboot in CWM recovery just press power for reboot and your tablet start cm 10.1 :)

Ext2 volume manager for windows here : http://sourceforge.net/projects/ext2fsd/files/latest/download
[Gen9 Android Development] biggoof75:
Mine is a 101 omap4460 With 1ghz

And 512mb RAM.

Using another kernel i can have a stable 1.5ghz with my archos..
[Gen9 Android Development] coolkid602008:
No offense but this is extremely hard for me to make any sense out of.

Sorry if I am over-thinking things it just seems like these instructions seem to lack clarity.
[Gen9 Android Development] Quinny899:
They are hard instructions, and the method isn't simple, generally you won't instantly make sense of it
[Gen9 Android Development] TjaXanK:
I had some issues with the installation, so here is how I got it to work:

1-Download This: http://www.4shared.com/archive/iGRbUBQg/030.html

2-Download Official SDE from the Archos website

3-Boot into Archos Recovery menu

4-Format Device > Reformat Device

6-Once done, it will ask you to copy the new firmware to the tablet, don't copy anything, just press power button once, and when error comes up click it again

7-Go into developer menu and remove SDE, also remove android kernel

8-Reboot device and go back into the archos recovery menu

9-Select update firmware and copy the .aos that you downloaded on step 2 to the device

10-Press power button on the device and let it do it's thing

11-You will now have to reboot to the archos recovery menu once again and in the developer menu select export data partition

12-With a linux pc, or a windows pc (enabled to copy files to ext3 partitions, you'll need 3rd party software to do this) create a folder called local in the root of the tablet

13-Extract the archive you downloaded on step 1 and copy it to the folder called local that you created on step 12

14-Disconnect the tablet and then flash the zImage and initramfs.cpio.lzo that where in the archive with the archos.ext4 file

15-Reboot device and you will be presented with CWM Recovery, press power button to select the 1st option

16-Give it a little bit, and congrats, you've got CM10.1 on your tablet!
[Gen9 Android Development] skyworxx:
update-a101s-test.zip from http://d-h.st/2nG seems to be down. Does anyone have a mirror?
[Gen9 Android Development] trevd:
As is the whole of http://d-h.st/ give it a couple of hours I'm sure normal service will be resumed :D
[Gen9 Android Development] muti642:
Hello, news about the next version of trevd with batery fix? the 3.0.21 kernel contains a bug in the memory management, aplications does not show the memory usage has instead there are 0.00. other bug ( 3g) 3.0.21 once turn it does not have enough power to run my keyboard and my mouse as is the case in 4.0.28.
[Gen9 Android Development] coolkid602008:
Okay pretty detailed, thank you. The only problem I'm running into is this step here. According to OP once I'm in CWM I need to flash the ROM zip, Gapps, and Wipe-data files. My question is what is the name of the current ROM?

I think it's between cm_archos_g9-userdebug-4.2.2_JDQ39E-CWM_6.0.3.1-K3.0.58.zip, cm_archos_g9-userdebug-4.2.2_JDQ39-CWM_6.0.3.1_0101.zip, and update-a101s-test.zip.

Thanks for your help again.:)
[Gen9 Android Development] skyworxx:
I tried installing it as well, but could not figure out which files are the most current one.

Now I'm stuck with a black screen at booting.

Could someone please point out which files are relevant for the 101s? I tried almost every combination of the files in this thread. The furthest I've come was by extracting the update-a101s-test.zip into /local/ - that got me cwm but I wasnt able to boot further.

Problem is that /sdcard/ is not mountable. Therefore, I cant flash any zips in cwm

//edit

seems I have overcome that scdard issue. I reformatted it again and now it works. But now, after flashing the three zips I'm stuck as well at a black screen. Interestingly, I cant see the sdcard anymore in cwm. /cdcard seems to link to the internal sd card. So I flashed the zImage and initramfs egain and I can see the sdcard again.

Also: cant mount /cache anymore
[Gen9 Android Development] TjaXanK:
No need to flash anything else, just follow the steps I wrote and you are good! ;) It got me confused the 1st time I tried installing it... By the way, no battery bug for me, don't know if it's how I installed it or if I'm just lucky