[ROM] [4.3.1] CyanogenMod 10.2

Search This thread

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
Hi, if anyone would like to run a 4.3.1 Google OS on a Archos G9 80S device (and currently only this), download and extract this file:
19_01_2014-13_32_32

Installation (tested only with linux) :

- reboot into SDE menu and under "Format System" perform a "Reset Android & Storage" to clear all data of previous installations (this is really important!).
- reboot into SDE menu and under Developer Edition Menu -> "Export Data Partition"
- mount this usb drive
Code:
sudo mkdir <Mount_Path>/local
sudo cp archos.ext4.update <Mount_Path>/local/archos.ext4
sudo sync
sudo umount <Mount_Path>
- wait until the unmount process is done
- reboot into SDE menu and under Developer Edition Mernu , Flash Kernel and Initramfs : copy zImage and initramfs.cpio.lzo on the new driver that appears on desktop/laptop
- Wait for reboot your devices : after reboot you can see Android prepares the system for a while .....be patient !

What's new ?
  • ------------ since 19_01_2014-13_32_32 -------------
  • Last attempt to satisfy "H" model users. Wrong fstab definition file was used.
  • ArchosControlCenter: Alternate command for enabling disabling 3G service activation/deactivation.
  • ------------ since 17_01_2014-20_17_32 -------------
  • KSM (Kernel samepage merging) support. (Enable it in CM performance options).
  • HDMI enable for 101 models too.
  • WLAN MAC address taken from device. Until now in my releases, the MAC address where the same for all devices. (gave some conflicts, when two devices are used in parallel).
  • ------------ since 22_12_2013-13_29_20 -------------
  • Deactivated PCB temperature sensor. It is not part of the devices, and (my) default setting gives the cpufreq
    module a wrong view of the situation. Now it should reduce the reboot which is caused by critical temp, by reducing core speed.
  • ------------ since 19_12_2013-23_43_36 -------------
  • Using CPUFreq from 3.0.31 omapzoom reference kernel
  • Included app from @mordesku (modified by me) -> 3G should work!
    Note that if you only pushed the image as update, please make sure to delete the /data/data/com.android.providers.telephony/databases/telephony.db
    (adb shell rm /data/data/com.android.providers.telephony/databases/telephony.db) and reboot the device to rebuild.
    I forgot to include the apns-conf.xml :eek: so there are no APN's available (as result no data connection can be established).
  • Removed my Widget to not affect the archos control center app
  • Some kernel changes.
  • Enabled zram and init.d
  • Initial support for H models (testing and patches are welcome).
  • Newest CM Updates: Changes since last release
  • ------------ since 02_12_2013-22_56_07 -------------
  • Removed clicks when audio driver is closed
  • Reduced the volume a little bit to avoid scratches
  • Removed default dpi setting on build
  • Newest CM Updates: Changes since last release
  • ------------ since 21_11_2013-21_45_53 -------------
  • Using new pvr library SGX-BIN: DDK binaries and KM source 1.9@2291151
  • HWComposer 1.1 interface
  • No ICS audio blob anymore. Adapted omap upstream audio HAL.
  • Some internal audio extensions by TI (omap_enhancement)
  • Kernel audio sources updated to 3.0.31 omap upstream release.[/INDENT]
  • ------------ since 08_11_2013-22_14_52 -------------
  • CM10.2
  • Upstream init.rc
  • TI Openlink WLAN driver R5.SP6.01
  • Temporary disabled ClockworkMod Recovery
  • A widget "Archos Control Center" where the user can activate the deep sleep behavior. Warning: If you use the archos as alarm clock you will oversleep! (It only will wake up, when pressing the power button).
    Also the 3G port can be activated with this widget. I discovered some hangs, which can only solved by removing and re-adding the widget on the screen. If someone can help me with this widget, please have a look at: github It's my first app ever... so it is very ugly =)
  • Initial A101s support.
  • Something I've not tried...
  • 3G USB Stick is working.

Issues:
- GPS not reliable (as usual for every release....) -> After complete new system ("Reset Android & Storage") the GPS is working very good. Subsequent boots later it gets worse at my device(s):
My Workaround: Go into Settings->Apps->All->Google Service Framework and delete data and cache. Then reboot and GPS should e working. Also I get sufficient results with the GPS Toolbox App.
21_11_2013-21_45_53:
Microphone as degraded sound quality compared to the stock rom.
Some sound clicks here and there when system sounds are turned on.
Audio sound is a little bit quiet compared to the stock rom. (Needs to be adjusted by myself).

Can't test HDMI (both audio/video). (It's also not an use case for me). If someone would like to help.... ;)
HDMI scaling issues
"H" models doesn't seem to work.

Rebuild: All used revisions for this release are stored in a separate folder in the archive.

Additions:
Archos Control Panel App from @mordesku: http://xdaforums.com/showpost.php?p=47789812&postcount=88

Archive:
17_01_2014-20_17_32
22_12_2013-13_29_20
19_12_2013-23_43_36
02_12_2013-22_56_07
21_11_2013-21_45_53
08_11_2013-22_14_52
07_11_2013-22_53_33
Archos CM10.2 - 26_10_2013-23_26_11
 
Last edited:

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
Thanx for your work :) now i'm bakcig up my data and will test as soon as possible. Is this build run from disk images or it replace original archos system?
 

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
Thanx for your work :) now i'm bakcig up my data and will test as soon as possible. Is this build run from disk images or it replace original archos system?

As usual for the custom Android releases for this archos device , they don't replace the original partitions. But it is not possible to run both in parallel. So practically yes, it replace the original system.
 

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
- Wait for reboot your devices : after reboot you can see Android prepares the system for a while .....be patient !

Hi again. My tab is displaying archos logo for long time (about 10-15 minutes) now is this normal. I have question where exacty i should put the update file. In debian i put it to /media/data/data/local where /media/data is my mount point.
tupy6a8u.jpg
 
Last edited:
  • Like
Reactions: freezenook

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
Hi again. My tab is displaying archos logo for long time (about 10-15 minutes) now is this normal. I have question where exacty i should put the update file. In debian i put it to /media/data/data/local where /media/data is my mount point.

Sorry, my fault.....

Can you please rename the file while you copy? (I have corrected my first post).
Code:
sudo mkdir <Mount_Path>/local
sudo cp archos.ext4.update <Mount_Path>/data/local/[B]archos.ext4[/B]
 
Last edited:
  • Like
Reactions: freezenook

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
Sorry, my fault.....

Can you please rename the file while you copy? (I have corrected my first post).
Code:
sudo mkdir <Mount_Path>/data/local
sudo cp archos.ext4.update <Mount_Path>/data/local/[B]archos.ext4[/B]

(Just for reference, when using the update mechanism the file has to placed here:
Code:
sudo cp archos.ext4.update <Mount_Path>/data/[B]media[/B]/archos.ext4.update
)
 
  • Like
Reactions: freezenook

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
Sorry, my fault.....

Can you please rename the file while you copy? (I have corrected my first post).
Code:
sudo mkdir <Mount_Path>/data/local
sudo cp archos.ext4.update <Mount_Path>/data/local/[B]archos.ext4[/B]

Renamed file as you said but still tab is stuck on archos logo.


--- edit

My bad :). Got to many data directories. Rom boots form /media/data/local/archo.ext4 before was /media/data/data/local/archos.ext4
 
Last edited:
  • Like
Reactions: Quallenauge

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
Using it since yesterday. It's very smooth and fast. No freezes at all.

Sent from my ARCHOS 80G9 using Tapatalk 4
 
Installation on Mac OS X

For those of you who want to brave installation from a Mac, you can use FUSE to mount the data partition. You'll need to follow the directions here to be able to mount the partition with write access. Once the partition is mounted, follow @Quallenauge's fabulous instructions! I'm watching a spinning CyanogenMod logo right now!

Note: If you copy the file from the command line, you'll probably get a message saying "could not copy extended attributes to data/local/archos.ext4: Operation not permitted". Don't worry, the file copied just fine. If you're really paranoid, run md5sums on the file to verify.

- Dave
 
  • Like
Reactions: mordesku

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
For those of you who want to brave installation from a Mac, you can use FUSE to mount the data partition. You'll need to follow the directions here to be able to mount the partition with write access. Once the partition is mounted, follow @Quallenauge's fabulous instructions! I'm watching a spinning CyanogenMod logo right now!

Note: If you copy the file from the command line, you'll probably get a message saying "could not copy extended attributes to data/local/archos.ext4: Operation not permitted". Don't worry, the file copied just fine. If you're really paranoid, run md5sums on the file to verify.

- Dave

Damn to install it yesterday i installed debian on virtualbox on my macbook :)

Sent from my ARCHOS 80G9 using Tapatalk 4
 
My tablet is still showing the snazzy CyanogenMod bootloader image after an hour and refuses to load the Android GUI. I tried starting the process over again with the same results. I am able to get to an adb shell and play around there, but Android never finishes loading. I'm running a G9 80S with 1GHz OMAP 4430 and 512MB of RAM. Logcat attached.
 

Attachments

  • archos_10.2_noboot_logcat.txt.bz2
    20 KB · Views: 58

esque

Member
Jun 10, 2009
38
12
Hi,

thank you for building this and all your other ROMs.


Code:
sudo mkdir <Mount_Path>/local
sudo cp archos.ext4.update <Mount_Path>/data/local/archos.ext4
This is inconsistent.
Is it local/ or data/local/?

I tried to install the ROM following your instructions.
I renamed "archos.ext4.update" to "archos.ext4".
I reset Android and Storage, exported the USB storage, on my machine it was mounted on /media/username/data.
I then used the following commands:
Code:
sudo mkdir /media/username/data/local
sudo cp archos.ext4 /media/username/data/local/
Then I selected "OK" in the tablet and "Flash Kernel and Initramfs" followed by:
Code:
sudo cp zImage /media/username/A80S_REC/
sudo cp initramfs.cpio.lzo /media/username/A80S_REC/
Then I rebooted the tablet.

Now the tablet was flashing the Archos logo for a second and then rebooting, in a loop.

So I guessed the local/ directory was wrong and I might have to use data/local/.
I repeated the steps above, replacing "local/" with "data/local".

This time the tablet didn't reboot in a loop, but I only got the static Archos logo, not the animated Archos logo or the CyanogenMod logo.

I probably missed a step or misread some instruction.
Any idea where I made the mistake?
 
Last edited:
  • Like
Reactions: stealthdave

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
@esque: Sorry for the confusion... Your first attempt was right:
Code:
sudo mkdir /media/moronoxyd/data/local
sudo cp archos.ext4 /media/moronoxyd/data/local/

@all: Please perform an unmount before pressing "OK" on the device. If not, the image is broken!
Just to be sure, reboot the tab and mount the drive and perform a
Code:
md5sum <Mount_Path>/local/archos.ext4
and verify that value with the image on your host.
If there are the same values, we have to find another solution for the problem.
@stealthdave: Your logcat file looks very close to the problem above (file image broken).
 

stevemp

Senior Member
Jan 25, 2011
762
316
69
Palatka
Thanks.

Great job, like buying a new tablet. :)
The only thing I would add is to sudo sync before unmounting.
 

SirOch

Senior Member
Jul 8, 2012
100
57
ARRAS
Hi,

Great job.
Is there a possibility to have the same ROM for the 101 version ?

Regards

Sent from my Galaxy Nexus using xda premium
 

mordesku

Inactive Recognized Developer
Jul 29, 2009
573
1,019
Toruń
Hi,

After two days of using this rom I must say it is very fast and smooth. But on idle after 6 hours I got -40% battery drain. Also I can feel heat from it. Got installed only 2 apps and one game. Is there any chance to implement deep sleep in this rom, to minimize batery drain?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Hi, if anyone would like to run a 4.3.1 Google OS on a Archos G9 80S device (and currently only this), download and extract this file:
    19_01_2014-13_32_32

    Installation (tested only with linux) :

    - reboot into SDE menu and under "Format System" perform a "Reset Android & Storage" to clear all data of previous installations (this is really important!).
    - reboot into SDE menu and under Developer Edition Menu -> "Export Data Partition"
    - mount this usb drive
    Code:
    sudo mkdir <Mount_Path>/local
    sudo cp archos.ext4.update <Mount_Path>/local/archos.ext4
    sudo sync
    sudo umount <Mount_Path>
    - wait until the unmount process is done
    - reboot into SDE menu and under Developer Edition Mernu , Flash Kernel and Initramfs : copy zImage and initramfs.cpio.lzo on the new driver that appears on desktop/laptop
    - Wait for reboot your devices : after reboot you can see Android prepares the system for a while .....be patient !

    What's new ?
    • ------------ since 19_01_2014-13_32_32 -------------
    • Last attempt to satisfy "H" model users. Wrong fstab definition file was used.
    • ArchosControlCenter: Alternate command for enabling disabling 3G service activation/deactivation.
    • ------------ since 17_01_2014-20_17_32 -------------
    • KSM (Kernel samepage merging) support. (Enable it in CM performance options).
    • HDMI enable for 101 models too.
    • WLAN MAC address taken from device. Until now in my releases, the MAC address where the same for all devices. (gave some conflicts, when two devices are used in parallel).
    • ------------ since 22_12_2013-13_29_20 -------------
    • Deactivated PCB temperature sensor. It is not part of the devices, and (my) default setting gives the cpufreq
      module a wrong view of the situation. Now it should reduce the reboot which is caused by critical temp, by reducing core speed.
    • ------------ since 19_12_2013-23_43_36 -------------
    • Using CPUFreq from 3.0.31 omapzoom reference kernel
    • Included app from @mordesku (modified by me) -> 3G should work!
      Note that if you only pushed the image as update, please make sure to delete the /data/data/com.android.providers.telephony/databases/telephony.db
      (adb shell rm /data/data/com.android.providers.telephony/databases/telephony.db) and reboot the device to rebuild.
      I forgot to include the apns-conf.xml :eek: so there are no APN's available (as result no data connection can be established).
    • Removed my Widget to not affect the archos control center app
    • Some kernel changes.
    • Enabled zram and init.d
    • Initial support for H models (testing and patches are welcome).
    • Newest CM Updates: Changes since last release
    • ------------ since 02_12_2013-22_56_07 -------------
    • Removed clicks when audio driver is closed
    • Reduced the volume a little bit to avoid scratches
    • Removed default dpi setting on build
    • Newest CM Updates: Changes since last release
    • ------------ since 21_11_2013-21_45_53 -------------
    • Using new pvr library SGX-BIN: DDK binaries and KM source 1.9@2291151
    • HWComposer 1.1 interface
    • No ICS audio blob anymore. Adapted omap upstream audio HAL.
    • Some internal audio extensions by TI (omap_enhancement)
    • Kernel audio sources updated to 3.0.31 omap upstream release.[/INDENT]
    • ------------ since 08_11_2013-22_14_52 -------------
    • CM10.2
    • Upstream init.rc
    • TI Openlink WLAN driver R5.SP6.01
    • Temporary disabled ClockworkMod Recovery
    • A widget "Archos Control Center" where the user can activate the deep sleep behavior. Warning: If you use the archos as alarm clock you will oversleep! (It only will wake up, when pressing the power button).
      Also the 3G port can be activated with this widget. I discovered some hangs, which can only solved by removing and re-adding the widget on the screen. If someone can help me with this widget, please have a look at: github It's my first app ever... so it is very ugly =)
    • Initial A101s support.
    • Something I've not tried...
    • 3G USB Stick is working.

    Issues:
    - GPS not reliable (as usual for every release....) -> After complete new system ("Reset Android & Storage") the GPS is working very good. Subsequent boots later it gets worse at my device(s):
    My Workaround: Go into Settings->Apps->All->Google Service Framework and delete data and cache. Then reboot and GPS should e working. Also I get sufficient results with the GPS Toolbox App.
    21_11_2013-21_45_53:
    Microphone as degraded sound quality compared to the stock rom.
    Some sound clicks here and there when system sounds are turned on.
    Audio sound is a little bit quiet compared to the stock rom. (Needs to be adjusted by myself).

    Can't test HDMI (both audio/video). (It's also not an use case for me). If someone would like to help.... ;)
    HDMI scaling issues
    "H" models doesn't seem to work.

    Rebuild: All used revisions for this release are stored in a separate folder in the archive.

    Additions:
    Archos Control Panel App from @mordesku: http://xdaforums.com/showpost.php?p=47789812&postcount=88

    Archive:
    17_01_2014-20_17_32
    22_12_2013-13_29_20
    19_12_2013-23_43_36
    02_12_2013-22_56_07
    21_11_2013-21_45_53
    08_11_2013-22_14_52
    07_11_2013-22_53_33
    Archos CM10.2 - 26_10_2013-23_26_11
    11
    New version available

    Hi.

    I would like to mention that a new version is available! Changes are:
    • Using new pvr library SGX-BIN: DDK binaries and KM source 1.9@2291151
    • HWComposer 1.1 interface
    • No ICS audio blob anymore. Adapted omap upstream audio HAL.
    • Some internal audio extensions by TI (omap_enhancement)
    • Kernel audio sources updated to 3.0.31 omap upstream release.

    Warning: Can't test HDMI (audio/video) !! I give them a low chance that it works!
    Due changes to the HW Composer and the audio driver, the interfaces have changed
    and we can't use the archos audio blob for future android versions.
    Last two weeks I wanted to compile the audio HAL by myself. So I had to study how it works. Thanks to the very good documentation and my second Archos G9 device for comparing alsa values I get it running in a way that fits my needs.
    (Code) suggestions are welcome... :)

    I'm glad that the new SGX binary and the hwcomposer 1.1 interface is in place. Maybe this is a good sign to get KitKat running, but that's another story. I'm compiling since weeks in parallel...hopefully I get this also running. Stay tuned....
    9
    Hmm I downloaded that program but mine is a EXT3 partition is that wrong then? Hm I'm kinda confused what to do when I mount the partition though.. can you help me?

    I used ext2fsd.If u want to use it just install it and reboot your win7.
    After restart you go as followed

    1 reboot into SDE menu and under "Format System" perform a "Reset Android & Storage" to clear all data of previous installations (this is really important!).
    2 reboot into SDE menu and under Developer Edition Mernu -> "Export Data Partition"
    3 connect your Tablet with your Computer
    4 start ext2 Volume manager.You should see your local drives and a extra one which is the Linux partition.
    5 mark that partition and press F7.
    6 Start the service and be sure to check the "Enable writingsupport for ext3 volumes" and uncheck "Mount all volumes in read-only mode.Press apply.
    7 again mark your linux partition and press F3 and uncheck "Mount volume in readonly mode"
    8 Now you should see the partition under "myComputer".Open it and if u reseted "Reset Android & Storage" u should see 2 Folders(Media and Lost+found)
    9 make a new folder called "local".
    10 rename the archos.ext4.update to archos.ext4 and copy it into "local" folder
    11. Unmount the linux partition as you would do with any usb drive and then press ok on your tablet
    12 go to "Developer Edition Menu" and choose "Flash Kernel and Initramfs"
    13 A new drive will appear under "myComputer".Copy zImage and initramfs.cpio.lzo to it and press ok.
    14 Reboot your tablet and after a couple of seconds you should see the Archos logo and then Cyanogen logo

    TADA....
    9
    New version available

    Hi!

    I would like to mention that I uploaded a new version. Highlights are:
    KSM (Kernel samepage merging) support. (Enable it in CM performance options).
    HDMI enable for 101 models too.
    WLAN MAC address taken from device. Until now in my releases, the MAC address where the same for all devices. (gave some conflicts, when two devices are used in parallel).

    Sadly. no support for "H" models.
    7
    Yeah! I really hoped that someone jumped on the train ;)
    DeepSleep: I wrote an binary that calls an ioctl with an specific value.
    Usage:
    Code:
    #Enable DeepSleep
    /system/bin/deepsleeper 1
    #Disable DeepSleep
    /system/bin/deepsleeper 0

    Usb Port:
    This is done via RFKILL interface.
    Code:
    #Enable USB Key
    echo "1" >/sys/class/rfkill/rfkill0/state
    #Disable USB Key
    echo "0" >/sys/class/rfkill/rfkill0/state
    (This is only an example, my widget calls an specific service set3GPortState with value 1 or 0 because directly writing to the value via the java/dalvik interface was not allowed (permission denied)).

    You have to close the RIL in order to enable the 3G Stick. Don't worry it is restarted by @trevd great hotplug component.
    But if you don't do it, the 3G will not be initialized correctly!

    Hi there,

    Here is my app "Archos Control Panel" for now it is standalone app, tomorow i will ad widget and push sources to some public repo. App requires root for changing 3g stick mode. It remeber your settings and set it after device reboot. Here is preview bin apk.


    Sent from my ARCHOS 80G9 using Tapatalk 4