yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] pcfreaxx:
Hi there :)

I have an archos 70b Copper, running 4.4.2. I'm trying since last week to install sde. But it fails. My recovery dont find anything. And the ways for other devices won't work. I'm heavy interested in your rom, can you tell me how i have to install the sde menu?
[Gen9 Android Development] carefreeway:
[MENTION=5635063]pcfreaxx[/MENTION], this firmware is for Gen9 devices only. You have a different device model. Copper is newer than Gen10. You can contact Archos for its firmware or try to figure out your SoC and then try to find firmwares for it. Don't try to make a brick from your device too soon.
[Gen9 Android Development] pcfreaxx:
Oh, thank you. I hope there will be a way in Future. Archos Support is not really helpful with my buggy Firmware.
[Gen9 Android Development] janschrik:
Can you give me a hint how to expand system partition to harddisk?
[Gen9 Android Development] Billy141:
sorry can some one tell me or link me to manual or correct post number for windows installation cant find even through search lol soz again

edit/ update : got it running well bar wifi wouldnt connect (solved via wifi push button (as android calls it but wps in other words)

do i just flast this kernal and multiboots intramfs.cpio.lzo for this and ubuntu or other linux or os dual boot?

?
[Gen9 Android Development] carefreeway:
[MENTION=5359969]Billy141[/MENTION], install under Windows was explained a few pages earlier (remove SD Card from Tablet before re-flashing tablet's firmware):

https://xdaforums.com/showpost.php?p=65671105&postcount=202

There are topics about multi boot around:

https://xdaforums.com/archos-gen/gen9-development/page2

[MENTION=854345]janschrik[/MENTION], take a look inside "/fstab.archosa*board" files. You can modify strings (use "nano -w <file>" command inside "adb shell") with "/mnt/system" and "/data" there. Also you should know that system partition is just a file. You can mount it and edit inside SDE menu in the following way:

# Mount internal memory of the tablet somewhere (I use Plasma 5 interface for that)
# Check ext4 image.
fsck.ext4 -p <somepath>/local/archos.ext4
# Mount local/archos.ext4 file (it's a system partition)
mount -o loop /run/media/someuser/data/local/archos.ext4 /mnt/usb/
#Edit files on it (be careful! backup!)
nano -w /mnt/usb/init.archos_init.rc
sync
umount /mnt/usb/
#The same way you can work with archos.ext4.update
sudo mount <somepath>/archos.ext4.update <someotherpath>/mount/"
#If you want to transfer it to archos device use:
adb push $DESTINATION_PATH/archos.ext4.update /data/media/ && adb reboot
[Gen9 Android Development] vollachr:
how to install using Win10 computer

How do I go about installing this on my Archos 101 G9 Turbo?

I had CM 10.2 installed till recently but I went back to Stock rom because my device started behaving erratically, SDE is installed obviously, I'm running Windows 10 on every computer at home.

So basically, how to install CM 12.1 from stock rom using a computer running Windows 10? (Without installing a Linux VM)

Here's what I tried so far (2 methods, At least 4-5 attempts, including an attempt on my dad's Windows XP multi boot PC):

1. On a virtual Windows XP machine (Using Vmware)/On Native/real Windows 10 Pro: Installed Ex2Fsd

2. Booted tablet into recovery, got Boot Menu

3. Chose Recovery

4. Selected Developer Menu

5. Selected "Format System'

6. Selected "Reset Android & Storage"

7. Under Developer Menu selected "Export Data Partition", connected device to PC with Ex2Fsd running

8. Created folder named "local" on the mounted drive

9. Copied "archos.ext4" to that folder

10. Tried to unmount the drive, didn't work, had to restart my windows VM

(up to this point the same for both methods)

11a. (Method #1) After restarting selected "Flash Kernel and Initramfs" on tablet

11b. (Method #2) After restarting, selected "Remove android kernel" and then "Flash Kernel and Initramfs" on tablet

(From here up to step 16 same for both methods)

12. Copied "zImage" & "initramfs.cpio" to the newly mounted drive

13. Pressed "OK" on tablet

14. Got confirmation that update was done

15. Pressed button, Tablet rebooted

16a. (Method #1) Nothing happened, Got the stock rom ICS 4.0.4 system again.

16b. (Method #2) Got the Archos logo for a while, than it went black for a couple of seconds and showed the logo Archos again, it repeats like that over & over, no CM logo showing up, system do not seem to boot. (Bootloop?!).

I get the same problem with CM 11, CM 12 & CM 12.1.

I can still boot to Recovery/SDE and I can restore stock system.
[Gen9 Android Development] carefreeway:
In OP there's also a reboot between 6 and 7 points. 10th point is wrong: you have to WAIT there a lot (up to 10-30 minutes, data is still transfering during sync/unmount)! 12th point: "initramfs.cpio.lzo" not just "initramfs.cpio"! Also, it is recommended to remove SD card before this procedure. And there is also one thing: SDE should be installed on the latest 4th version of the original ROM. If it was installed on 3rd version of the ROM SDE won't have some options from above points.

Also you can use any Linux liveDVD/liveUSB and make procedure there.

What amount of RAM does your device have? 1 GB or 512MB ("adb shell dumpsys meminfo")?
[Gen9 Android Development] vollachr:
Ok....

I'll break it down....

1. I might have missed it, but I can't remember a reboot between 6 & 7, I'll try that.

2. Really? 10-30 minutes to unmount a drive under Windows with the safely remove USB? sounds way too long.

3. About that:

Yeah, that was a typo in my post, it was copied with the correct & full file name.

4. Don't even have an SD card in the device

5. SDE was installed long ago, all the options are there, it was installed long after there were no more official updates from archos, so it was firmware 4.0.28 at the time of SDE installation

6. I prefer to avoid Linux if possible, not very familiar with it, will try if nothing else works.

7. It's the Archos G9 101 Turbo with 16GB storage , 1.5Ghz CPU and 1 GB of RAM.

Now, I noticed that in instruction for rooted stock roms it usually says to copy the archos.ext4.update file without removing the .update extension, so why is it removed in these CM custom roms?
[Gen9 Android Development] carefreeway:
1. Yup.

2. Internal eMMC of the tablet is rather slow.

3. OK.

4. Good.

5. Nice.

6. Instruction in OP is written originally for Linux. I tried both Linux (mostly) and Windows (Win7 long time ago). Both variants worked.

7. Then you should install CM 12.1 (5.1.1) ROM.

8. I haven't seen initramfs.cpio.lzo but you can investigate. I think it's because update is for update and ext4 is for complete replacement of the system partition.
[Gen9 Android Development] vollachr:
I think I just got it working with CM 12.1, it's at least seems to start, I had the CM logo and now the Android Starting process.

All I did different from the last attempt was to reboot back to SDE after resting android & storage & wait a long time at the stage of safely unplugging the USB, after about an hour I tried to safely remove and it worked in a second, then I followed the rest and now I'm at the language selection screen.

Thank you very much.

EDIT: OK, CM 12.1 seems to work OK, but it looks like the root access isn't working, is there anything I need to know about Root access in this version of CM? (Nevermind, just disabled & re-enabled root access under developer options and it started working.)
[Gen9 Android Development] harnis:
hi Quallenauge, thank you very much for your work on this "special" Archos device. I use the kitkat version and this is awesome.

I have a question. Do you try to make an android 6.0 or 7.1 rom for this tablet ?

I think it will be very difficult and maybe impossible.

Thank you again.
[Gen9 Android Development] carefreeway:
Hey [MENTION=5323423]harnis[/MENTION], Android 6.0 is possible only with 1 GB devices and it will lag with Gapps definitelly more than 5.1.1. I compiled and built the latest CyanogenMod 11.0 (Android 4.4.4) with GCC 4.9 (from AOSP for Android 7.1.2_r6) and also with the latest oracle-jdk-bin-1.7.0.80 for Gen9 512 MB devices. Gapps are not included, but I have a tested manual for that too. I will fix configs and will release it a bit later. For 1 GB Gen9 devices I think that 5.1.1 is the latest one. 6.0 is possible to do but it will definitelly lag if you look on similar devices.
[Gen9 Android Development] harnis:
Thank you for your answer. [emoji4]

Envoyé de mon SM-G930F en utilisant Tapatalk
[Gen9 Android Development] highKo:
I have a Archos 101c Platinum , am I right here?
[Gen9 Android Development] carefreeway:
[MENTION=1887996]highKo[/MENTION], nope, this is a topic about Gen9 devices. Yours is a newer Platinum generation of Archos tablets. See manufacturer's page:

http://www.archos.com/ru/support/support_tech/downloads.html?type=t#a
[Gen9 Android Development] Maxime Ouloulou:
Quelqu'un peut m'aider pour rooter mon Archos 55 Helium s'il vous plaît.

Merci.
[Gen9 Android Development] eva.luation:
cannot boot into new image

Hi,

sorry if I bother you with my stupid beginner questions.

I tried to install the images in different ways but did not succeed.

My device has SDE and stock rom 4.0.28 installed.

I did reset&format android (thus as soon as I start stock rom I see the installation wizard).

Using VOL- together with POWER I get into boot menu "Archos A80S", select "Recovery System", then "Developer Edition", then "Export Data Partition"

Now I connect the device with my Ubuntu system, mount it and copy the file archos.ext4 to it (removed .update from the filename).

Then select "Flash kernel and Initramfs", copy the 2 files to the newly mounted partition and power down.

Reboot into boot menu, select "Developer Edition" and the Boot Picture shows Archos without animation and after about 3-4 minutes it reboots into stock android.

I did not managed to boot into the new images so far.

I also tried many different variants of installing the images and kernel:

- using windows (then I see a non formatted RAW partition and had to format it to FAT32)

- using linux

- reboots into boot menu after every single change

- after initramfs and zImage reboot into stock rom and after this reboot into developer

- formatted all, removed kernel, installed fresh stock 4.0.26 and did it again

All of this did not help.

Could you please give me a hint?

Thank you very much for your help!

Eva

---------- Post added at 11:53 PM ---------- Previous post was at 11:16 PM ----------

ups, now it seems to work. I think I only let the device connected via USB when booting first time into Developer System. Could it be that this is needed?
[Gen9 Android Development] fatmi moha:
Iwant frerom archos 55 cobalt plus and recovery mod ans Thann you
[Gen9 Android Development] stormPremier:
[MENTION=8712669]eva.luation[/MENTION]

Do NOT skip any step unless it's not for your system or if it's clearly said you can skip.

/***
00 | Windows only | Install Ext2Fsd
01 | On tablet | 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 | On tablet | Reboot into SDE menu and under Developer Edition Mernu -> "Export Data Partition"
03 | All | Connect your Tablet with your PC
04 | Windows only | Start Ext2Fsd (ext2 volume manager interface). You should see your local drives and a extra one which is the Linux partition
05 | Windows only | Mark that partition and press F7
06 | Windows only | 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 | Windows only | Again mark your linux partition and press F3 and uncheck "Mount volume in read only mode"
08 | All | 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 | All | Make a new folder called "local" /!\ Linux : Must create directory with "sudo mkdir [HERE GOES YOUR TABLET PATH]/local" command through terminal.
10 | All | Rename the archos.ext4.update to archos.ext4 and copy it into "local" folder /!\ Linux : Must copy file with "sudo cp [source-file] [destination-file]" command through terminal.
11 | All | Unmount the linux partition as you would do with any usb drive and then press ok on your tablet
12 | On tablet | Go to "Developer Edition Menu" and choose "Remove android kernel" /!\ If not present, skip this step
13 | On tablet | Go to "Developer Edition Menu" and choose "Flash Kernel and Initramfs"
14 | All | A new drive will appear under "my computer". Copy zImage and initramfs.cpio.lzo to it and press ok
15 | On tablet | Reboot your tablet and after a couple of seconds you should see the Archos logo and then Cyanogen logo
***/

----

Work quite well on my 101 g9 turbo ... but I've got a problem : after installing a lot of application through google play, trebuchet launcher is loop crashing...

I tried to install multiple launcher, the only one I was able to use was nova launcher. Then after some time using tablet for everything (web, youtube, ...) the tablet crash, I was'nt able to start it again, stuck on archos logo. I wasn't able to extract log sry :(

I had to reflash the ROM.

Now I'm trying to install updated & app one by one ... (The "install an app when you need it" solution) and it seems to be consistant now ... no problem
[Gen9 Android Development] pesh1983:
Hi, could you please upload the archive with the latest firmware to some other file hosting and post the link in the header, because currently download from this forum is not available. Thanks in advance.
[Gen9 Android Development] theghost69:
Hello all,

could anybody aim me to software package that is capable to edit (delete some and repack) the ext4 image of the current version? There is one /system/priv-app folder, that contains a lot of stuff probably not used. Could it be deleted and repacked aiming more free space available. Right now I can install this rom, but when the system is up, ut is not possible to do any operation upgrading or installing any app - "not enough space". Or it is a bare rom with android 5.1 available somewhere for Archos 80 G9 turbo?
[Gen9 Android Development] paco125689:
I join the request to replace the links
[Gen9 Android Development] St4mi:
Runs "quite" smooth. Are there any optimizations left that we can do?

Oc course it would have been great if the maximum CPU frequency would have been 1600Mhz.

Stami
[Gen9 Android Development] vantar:
Wow lollipop on this little tablet! But need help with battery life...

First thanks to [MENTION=4636351]Quallenauge[/MENTION] and everyone else who helped with this project... It's really a treat to see lollipop running on this 4 year old tablet!!

I came across this one the weekend and installed it, was a bit tricky as I'm running Windows and not Linux but in the end thanks to the post about the ext4 drivers for Windows, managed to get it done.

It runs really quite well but for 2 things:

Battery life is simply terrible and it runs hot (50°c!) because the tablet seems to be looking for a mobile network all the time. I've turned off the 3g dongle setting and I'm not aware that there is even a mobile radio on these devices!?

Looking at the battery stats the mobile standby eats roughly 60-80% of the battery - meaning the tablet runs out of juice in half a day or so. Any help or ideas to solve this would be much welcome. Otherwise I fear I'm forced to go back to stock :rolleyes:

Second is the memory management on the 512mb device, I've seen a few posts here to apply some of the tricks from trevd I guess, but they haven't really helped... Will try a couple more things and until then stick to single tasking!

Thanks for reading and mod on! :good:
[Gen9 Android Development] willi67:
Battery Life

Hi,

I renamed the TeleService.apk in the folder: /system/priv-app/TeleService/ to something different like TeleService_._apk.

In this case the apk cannot be started and this reduces the battery drain. I think this hint was provided in an other thread concerning a former version of CM on archos. Of course I think a 3G stick will not work then.

Willi
[Gen9 Android Development] momojuro:
Hello [MENTION=4636351]Quallenauge[/MENTION],

First thanks a lot for your great efforts, and also a big thanks to the others who helped you to build this ROM. I found two bugs since I'm with Cyanogenmod 12.1 and I wanted to share them.

When I try to take a photo with the Camera app, I have an error which appears (you can see below, the screenshot)

And also, when I try to rotate my screen to "Portrait" mode, it doesn't work and it's switched to "Landscape" mode. Do you want a logcat file, if it will help you ?
[Gen9 Android Development] St4mi:
Unfortunately he seems not to be active anymore here... ?

Stami
[Gen9 Android Development] wulsic:
Blackgunz logcatsalways help as it may not be a known problem.

St4mi he is indeed not anymore so active but he also has other things to worry about then only archos development and archos is already a pain in the ass like it's not an nexus. Trevd, quallenauge, stevenmp, surdu_petru, quinny, modesku,freezenook and all the other devs did alot of work can't name them all as I wasnt a long time anymore here in the community.. So if Quallenauge reads this then thankyou for all your support for keeping this device alive :).
[Gen9 Android Development] unasoto:
youtube app and netflix app dont show video youtube on chrome works fine. pulling down the notification bar is difficult, I think the touch point is too small. and camera doesn't work Chrome cast cast screen will not connect. :( the HDMI plug does work the full size USB plug doesn't work but that might be my hardware (yes I used the archos control settings to turn it on) USB OTG thumb drive I cant access but it is seen in file manager. this is an incredible start very smooth breathes new life into my poor old tab :) big thanks to all you guys :):):):)
[Gen9 Android Development] ageevp:
Some issues

1. Google play services do not work. Annoying notifications!:crying:

2. Mouse cursor is invisible.:highfive:

By the way, how to install Gapps onto my device?:confused:

Thanks.
[Gen9 Android Development] momojuro:
[MENTION=5325651]St4mi[/MENTION] I found some optimisations to do, actually results are very good. I will share with you the script if you want to !

Btw, [MENTION=5403922]wulsic[/MENTION] you're totally right. Thanks to all of them :)

Try to change the player to "Awesome Player" in Developers Options and to play again your videos (reboot is maybe necessary). For your other issues, I don't know. ^^'

Google Play Services works fine for me, Gapps are already installed. :)
[Gen9 Android Development] St4mi:
Yes, thank you. Would be cool to squeeze out the last ounce of speed.

Stami
[Gen9 Android Development] momojuro:
Voilà ! Finished it today, everything works fine. It's a script (that I found on the net and modified) which you need to put in init.d folder (which is present in /system/etc) and to change its permissions to : rwxrwxrwx (Tap for a moment on the file, choose Settings and then choose Permissions). Don't hesitate to tell me your impressions. :)

Here's its content, if you're curious :p

#!/system/bin/sh

####################
# Perfect mount #
##################

# Sysfs mount options
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /proc;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /sys;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /sys/kernel/debug;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /mnt/shell/emulated;

# Partition & sdcard mount options
busybox mount -o remount,nosuid,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc -t auto /data;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc -t auto /cache;
busybox mount -o remount,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc -t auto /system;
for i in /storage/emulated/*; do
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto $i;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto $i/Android/obb;
done;

########################
# Disable debugging #
######################

echo "0" > /sys/module/wakelock/parameters/debug_mask;
echo "0" > /sys/module/userwakelock/parameters/debug_mask;
echo "0" > /sys/module/earlysuspend/parameters/debug_mask;
echo "0" > /sys/module/alarm/parameters/debug_mask;
echo "0" > /sys/module/alarm_dev/parameters/debug_mask;
echo "0" > /sys/module/binder/parameters/debug_mask;

##############
# Entropy #
###########

busybox sysctl -e -w kernel.random.read_wakeup_threshold=128;
busybox sysctl -e -w kernel.random.write_wakeup_threshold=256;

###################
# I/O Scheduler #
#################

# General queue tweaks
for i in /sys/block/*/queue; do
echo "512" > $i/nr_requests;
echo "256" > $i/read_ahead_kb;
echo "0" > $i/add_random;
echo "0" > $i/rotational;
echo "0" > $i/iostats;
echo "2" > $i/rq_affinity;
# ROW scheduler settings
echo "100" > $i/iosched/hp_read_quantum;
echo "100" > $i/iosched/rp_read_quantum;
echo "2" > $i/iosched/hp_swrite_quantum;
echo "1" > $i/iosched/rp_swrite_quantum;
echo "1" > $i/iosched/rp_write_quantum;
echo "1" > $i/iosched/lp_read_quantum;
echo "1" > $i/iosched/lp_swrite_quantum;
echo "10" > $i/iosched/read_idle;
echo "20" > $i/iosched/read_idle_freq;
done;
[Gen9 Android Development] rosch1968:
My impressions

Well done BlackGunZ.

Including the modification you have already posted here the Archos 80 G9 with Lollipop runs quiet well.

I think the performance came close to the old version of CM10.2 / Android 4.3.1 ( http://xdaforums.com/showthread.php?t=2499796 ).
[Gen9 Android Development] momojuro:
Glad to know ! Thanks for your feedback. :D
[Gen9 Android Development] ladalgigi:
[MENTION=5670369]BlackGunZ[/MENTION]

Performance with your script seems to be excellent

Archos 101g9 cm12.1

Ladalgigi
[Gen9 Android Development] momojuro:
Something for you guys ! :) ([MENTION=4238451]ladalgigi[/MENTION] - [MENTION=5934180]rosch1968[/MENTION] - [MENTION=5325651]St4mi[/MENTION])

Some Android users suffer from poor performance after some days/weeks of heavy usage. This is due to a well-known TRIM bug affecting these devices. As this great ROM has fstrim applet built in, we can use it to fix that problem (if you are in that case). Essentially, the fstrim command analyzes the file system and informs the drive which blocks are no longer needed, so the drive can discard them.

For so, via Terminal or ADB you have to put this line (of course, after that you gained root permissions) :

fstrim -v /data

The process can be a little long, but don't worry it's normal ! I suggest you to use this one time in a week.
[Gen9 Android Development] Quallenauge:
New version 05_08_2015-05_48_32 available

Hi there!

Sorry for the long silence. My development tablet broke some month ago - so no new experiments are possible :(

No connection via serial cable converts my other "production" device to a black box....

Because of the latest security flaws I decided to sync my development folder with the latest CM12.1 sources and to compile a new version.

Also I added the 99Performance fix from [MENTION=5670369]BlackGunZ[/MENTION], big thanks for your effort.

No other change where made from me beside this one.

Best regards.!