• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] 5.1.* CyanogenMod 12.1

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
0
Hi, if anyone would like to run a 5.1.x Google OS on a Archos G9 80S device (and currently basically verified only with this), download and extract the file
16_12_2015-16_26_24

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 for the first installation. Updating a existing installation (same major version) doesn't require this step !).
- 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 at least ~20 minutes for the first run!

!!Update!!: If you have already installed CM12.0 then it may possible that you don't have to delete the data partition. You only have to copy the kernel/initramfs and ext4 file. I use the command for the last step:
Code:
adb push archos.ext4.update /data/media/ && adb reboot
What's new ?
  • ------------ since 16_12_2015-16_26_24 -------------
  • Added usual CM updates. -> Also this release include the latest security fixes.
  • ------------ since 05_08_2015-05_48_32 -------------
  • Added usual CM updates. (See included changelog for details) -> Also this release include the latest security fixes.
  • Added the 99Performance file from BlackGunZ Big thanks! :)
  • ------------ since 31_05_2015-19_39_10 -------------
  • Added usual CM updates. (See included changelog for details)
  • Add *some* memory improvements, suggested by trevd (big thanks!)
  • *Maybe last release*
  • ------------ since 23_04_2015-22_05_13 -------------
  • Initial release.
  • Re-Enabled Non-PIE Support to support the gps module.

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

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

Thanks: @stargo @Hashcode @trevd
@CM community @all the cool omap4 hackers where I taken some code and inspirations !!!
Without these peoples, It would not so easy to make some (working) builds of the CM-12.1.

Archive:
31_05_2015-19_39_10
23_04_2015-22_05_13

XDA:DevDB Information
Archos G9 CyanogenMod 12.1, ROM for the Archos Gen9

Contributors
Quallenauge
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: Cyanogenmod

Version Information
Status: Alpha

Created 2015-04-24
Last Updated 2015-04-24
 
Last edited:

jawiler

Senior Member
May 7, 2010
335
77
28
Thanks for keeping this old tablet going! I'll give it a try this weekend. :good:
Hi Quallenauge,
I've tried installing this version, but it just goes to a black screen for over 1/2-3/4 hour. I've tried downloading from both sites and checked the MD5SUMs and everything checks out. I went with a clean install.. I've installed your previous versions without any problems. Any ideas?
thanks
Nevermind, I tried a different computer and it worked this time
 
Last edited:

Quallenauge

Inactive Recognized Developer
May 10, 2012
269
598
0
Hi Quallenauge,
I've tried installing this version, but it just goes to a black screen for over 1/2-3/4 hour. I've tried downloading from both sites and checked the MD5SUMs and everything checks out. I went with a clean install.. I've installed your previous versions without any problems. Any ideas?
thanks
Nevermind, I tried a different computer and it worked this time
Mostly this error comes into play if the kernel&initramfs step or the update package is transferred and the mass storage drive is not cleanly unmounted.
 

trevd

Inactive Recognized Developer
Jul 19, 2011
893
1,269
93
Hull
@Quallenauge I knew I should have waited as I've just built cm-12.0 .... I even used your build environment script. Slightly unorthodox but it gets the Job done :good:

Anyway couple of notes from my side .. a bit of dex_preopting does wonders for the boot time

In the full_archos_g9.mk or similar
Code:
WITH_DEXPREOPT := true
WITH_DEXPREOPT_PIC := true


PRODUCT_DEX_PREOPT_BOOT_FLAGS := --compiler-filter=everything
PRODUCT_DEX_PREOPT_DEFAULT_FLAGS := --compiler-filter=everything
$(call add-product-dex-preopt-module-config,services,--compiler-filter=everything)
Not 100% sure that WITH_DEXPREOPT_PIC is required I threw it in anyway... :)

I also read up on low memory optimizations ( tricks/hacks ) , dropped all the wallpapers and a ton other other apps that I'm not using
It's pretty smooth ... That can be done at runtime by anyone who is feeling brave .

Hackon folks!
trevd
 

kuskro

Senior Member
Sep 6, 2009
353
317
0
@Quallenauge I also read up on low memory optimizations ( tricks/hacks ) , dropped all the wallpapers and a ton other other apps that I'm not using. It's pretty smooth ... That can be done at runtime by anyone who is feeling brave .
Hi @trevd, I always follow your advice therefore I wonder what changes have you applied to optimize this rom? Could you give us any clue?

Thanks in advance
 
  • Like
Reactions: Quallenauge

BlackGunZ

Senior Member
Jan 15, 2014
473
756
0
@Quallenauge First, thank you for your great port and efforts ! God bless you. :)

I found how to fix the root problem by doing some researches. For so, I edited the following line persist.sys.root_access which is present in build.prop file like this :
Code:
persist.sys.root_access=1
After a reboot, my tablet is correctly rooted and Archos Control Panel enables normally the deep sleep mode at boot.

Have a good day !
 
  • Like
Reactions: Quallenauge

esque

Member
Jun 10, 2009
38
12
0
I found how to fix the root problem by doing some researches. For so, I edited the following line persist.sys.root_access which is present in build.prop file like this
Hey, could you explain how you do that?

I have CM 12.1 installed on my Archos 80 G9, ADB is working and when I use 'adb shell' I'm supposedly root but can not write to /system.
I can pull the build.prop and change it, but I don't know how to put it back onto /system.
 

BlackGunZ

Senior Member
Jan 15, 2014
473
756
0
Hey, could you explain how you do that?

I have CM 12.1 installed on my Archos 80 G9, ADB is working and when I use 'adb shell' I'm supposedly root but can not write to /system.
I can pull the build.prop and change it, but I don't know how to put it back onto /system.
Of course ! The most secure method is to edit the build.prop with CM File Manager. :)

Before, using ADB put this command after "adb shell" to mount your /system partition RW. After, do the steps I said below :
Code:
mount -o remount,rw /
First, open the file manager. Then, access to the app's options by taping on its icon at the left and choosing after that its settings icon, which is present at the left down side. Go to Advanced section and tap on Access mode next, choose Root access by this way the app will ask root permissions and a pop-up will appear to accept it. You will be redirected to the root (/ directory) of your Archos, scroll down again and go to /system directory. Screenshots :





Secondly, tap on your build.prop file and open it with the file manager's text editor. Choose the line persist.sys.root_access, delete the "3" value and put "1" instead. Screenshots :



Finally, save the file and reboot your phone. Voilà !
 
Last edited:

Bor-ka

Member
Jul 10, 2014
49
16
0
I can pull the build.prop and change it, but I don't know how to put it back onto /system.
Do not forget to change file ownership and permission after pushing it back - or else you'll get a bootloop.
Since you do not know how to remount filesystem, I'd second @BlackGunZ and recommend using any root file editor on android to avoid bootloops and reflashing android (as opposed to adb pull/push).
 
  • Like
Reactions: BlackGunZ

BlackGunZ

Senior Member
Jan 15, 2014
473
756
0
Do not forget to change file ownership and permission after pushing it back - or else you'll get a bootloop.
Since you do not know how to remount filesystem, I'd second @BlackGunZ and recommend using any root file editor on android to avoid bootloops and reflashing android (as opposed to adb pull/push).
That's why I suggested him to use CM File Manager, you're right sir. :D
 
I would really like to try this rom, can anyone help me with a step by step guild for installation, kinda new to installing in this fashion.
i ran the wubi installer to dual boot windows/linux
using ubuntu desktop.
need to know what i need to install prior and how to install it.
Pm me please, i don't want to mock-up the development page
thanks in advance

am i using terminal and going to the usb directory then using these commands?
- 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>
 
Last edited:

BlackGunZ

Senior Member
Jan 15, 2014
473
756
0
@toolhas4degrees

For Windows, check the quote below and I can confirm that it works (I always use it), but for Linux I can't provide you a help as I don't have it. :)
Install this rom or other roms using Windows is pretty easy with Ext2Fsd Open Source Project ( it works over Win2k, Winxp, Vista, Win7, Win8, Server 2003, Server 2008/R2). Install Ext2Fsd on your PC and follow the next steps below to achieve this purpose. Neither this tablet drivers nor ADB nor a linux virtualized on Windows are needed.

Steps:
00 install Ext2Fsd
01 reboot into SDE menu and under "Format System" perform a "Reset Android & Storage" to clear all data of previous installations (this is really important!)
02 reboot into SDE menu and under Developer Edition Mernu -> "Export Data Partition"
03 connect your Tablet with your PC
04 start Ext2Fsd (ext2 volume manager interface). You should see your local drives and a extra one which is the Linux partition
05 mark that partition and press F7
06 start the service and be sure to check the "Enable writing support for ext3 volumes" and uncheck "Mount all volumes in read-only mode. Press apply
07 again mark your linux partition and press F3 and uncheck "Mount volume in read only mode"
08 now you should see the partition under "myComputer". Open it and if you reseted "Reset Android & Storage" you should see 2 Folders ("media" and "lost+found")
09 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 "my computer". 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
 

ladalgigi

Senior Member
Aug 30, 2011
137
25
28
Of course ! The most secure method is to edit the build.prop with CM File Manager. :)

Before, using ADB put this command after "adb shell" to mount your /system partition RW. After, do the steps I said below :
Code:
mount -o remount,rw /
First, open the file manager. Then, access to the app's options by taping on its icon at the left and choosing after that its settings icon, which is present at the left down side. Go to Advanced section and tap on Access mode next, choose Root access by this way the app will ask root permissions and a pop-up will appear to accept it. You will be redirected to the root (/ directory) of your Archos, scroll down again and go to /system directory. Screenshots :





Secondly, tap on your build.prop file and open it with the file manager's text editor. Choose the line persist.sys.root_access, delete the "3" value and put "1" instead. Screenshots :



Finally, save the file and reboot your phone. Voilà !
Hi

I've tried your method but I can't select root access in cm file manager. It does not work. How can I do ? Any idea ?

Thanks in advance

Ladalgigi

Envoyé de mon ARCHOS 101G9 en utilisant Tapatalk
 

BlackGunZ

Senior Member
Jan 15, 2014
473
756
0
Last release? How about working USB stick?
The last release is the one which is present in the OP, for an update we have to wait ! I didn't test the USB stick, sorry. ^^'

Hi

I've tried your method but I can't select root access in cm file manager. It does not work. How can I do ? Any idea ?

Thanks in advance

Ladalgigi

Envoyé de mon ARCHOS 101G9 en utilisant Tapatalk
Exit CM File Manager, go to Settings, Developer Options and turn off the root permissions. Then, switch on again the root access to "ADB and applications" and try again :)
 
  • Like
Reactions: ladalgigi

ladalgigi

Senior Member
Aug 30, 2011
137
25
28
The last release is the one which is present in the OP, for an update we have to wait ! I didn't test the USB stick, sorry. ^^'


Exit CM File Manager, go to Settings, Developer Options and turn off the root permissions. Then, switch on again the root access to "ADB and applications" and try again :)
Thank you very much ! It works !

Very great ROM

Ladalgigi

Envoyé de mon ARCHOS 101G9 en utilisant Tapatalk
 
  • Like
Reactions: BlackGunZ