yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] DaRKSLaiN:
First of all, THANKS Quallenauge and BlackGunZ for the SUPERB work.

....But Im getting really mad with this rom. I am able to boot it in "Developer Edition" under the recovery menu, but i can't save my settings and wifi is not working.

I want to make the custom rom as default boot and be able to use wifi and gps, i do not need much more!...

I use a Windows based pc with EXT2FS to read / write the ext partition of the tablet.

0 - Installed SDE (under Recovery\firmware update and putting the official AOS file) -> Done

1 - Perform a "Reset Android and storage" -> Done

2 - Select Export data partition and Copy archos.ext4 (archos.ext4.update) to X:\Local\archos.ext4 -> Done

3 - Select flash kernel and initfram, copied to the unit and after pressing ok, the tablet reboots. -> Done

4 - ....My official stock firmware boots up / official boot up screen looping... not the Cyanogen. If i go to the recovery and use "Developer Edition" im able to boot the 5.1 without wifi and save settings and 5-6 mins of boot time.

What am doing wrong?! i used to have the CM10 working perfectly as primary boot with GPS and Wifi! :(
[Gen9 Android Development] momojuro:
[MENTION=4636351]Quallenauge[/MENTION] You don't have to thank me, I only tried to help and it's me who have to thank you for your great work ! :good:

I will try the new version and tell you if the problem occurs only for you [MENTION=6483254]DaRKSLaiN[/MENTION]. :)

Before I will give you my answer about your case, try those installation's steps :
[Gen9 Android Development] DaRKSLaiN:
Wow! amazing speed in replying! hahaha :) Thanks BlackGunZ! :)

I figured out how to make it working, i missed the "Remove android partition" and now i have the CM10 running with 4.3.1 as always, i cannot lose wifi functionality :( and that last thing, the personal data / settings gets wiped out in the moment you reboot the tablet O_O (...)

....I will really pay to have a 4.1+ rom with the 3G USB on the back fully working :( at least with gamepads! :(

No rush at all right now with this issues as far as i get the tablet working with +4.0 (i wanted to go up just because google now does not work under stock rom) and THANKS for your fast reply :)
[Gen9 Android Development] momojuro:
No problem at all ! You mean "Remove android kernel", right ? Trying the installation with the steps I gave you fixed your wi-fi problem ?

Unfortunately I don't have enough knowledge about Android development but if I find a fix about the 3G USB issue, I will share it with pleasure !

Have a good night :)
[Gen9 Android Development] DaRKSLaiN:
Hey! Yes, i mean the Android kernel :) i will try again with the 5.1 tomorrow to see if wifi issues have gone. I think the settings issues were because the Developer Edition was not used as primary boot os.

I would love to do a fix for the 3G Dongle, a lot of people is asking for it! but im sure i have pretty less idea than you about Android... haha :D
[Gen9 Android Development] momojuro:
I hope that it will work !

Oh no no, we're all the same. I'm still learning from people, and if I know something useful for someone then I share it without hesitation. That's the spirit :)
[Gen9 Android Development] silver_surfer30:
Hi,

I have update to new version which is smoother than the previous one, but I encounter wireless issue.

Can connect to any encrypted wireless network.

Where should I start digging t find a solution ?

Please help me because my device seemed to have found a second youth !!!
[Gen9 Android Development] momojuro:
From my side, it works normally :confused: Just a question, did you have this issue in the previous version ?

You can try to enable your Wi-Fi via the statusbar icon and then, choose "Parameters". After that, you will be redirected to Wi-Fi's parameters section and you can try to connect to your network. :)
[Gen9 Android Development] silver_surfer30:
Hi,

the issue only apperas on this version.

The way I always proceed is simple.

Back to 4.028 then upgrade to latest version.

Been working so far for wireless connectivty.

the error message is "Failed to connect to the network"
[Gen9 Android Development] momojuro:
I suggest you something :

Try to upgrade from 4.028 to the 31_05_2015-19_39_10 version (with the delete of the data partition) and then, upgrade again to the 05_08_2015-05_48_32 version but without delete the data partition. You will have simply to copy archos.ext4 file and after that to copy the kernel/initramfs ! :)
[Gen9 Android Development] taninos:
How to be rooted!!!!

Could anyone help me to root the last update? Thanks in advance.

EDIT: Well, it was easy, just disable and enable it after rebooting on "Settings>Developer options>Root access".

Best.
[Gen9 Android Development] nico21311:
Hello

I check my developer edition menu and I don't have it this option? My device is g9 101
[Gen9 Android Development] momojuro:
It's not in the developer edition menu, but he meant in the Settings app. :)

Go to Settings > About phone > Build number and tap on this section 7 times. After two taps, a small pop up notification should appear saying "you are now X steps away from being a developer" with a number that counts down with every additional tap.

After the 7th tap, the Developer options will be unlocked and available. Then, you will have simply to disable the Root access and switch it to "Applications and ADB" !
[Gen9 Android Development] nico21311:
thank you for you quick answer
[Gen9 Android Development] wasteyard:
Any news about proprietary 3g dongle in CM 12.1? We can hope to have working 3G network in this release?
[Gen9 Android Development] momojuro:
Unfortunately, there's still a issue with the 3G dongle but everything else works perfectly ! :)
[Gen9 Android Development] taninos:
Screen casting and/or screen mirroring don't work also.

BR
[Gen9 Android Development] kuskro:
I'm so grateful with [MENTION=4636351]Quallenauge[/MENTION] for this rom, thank you man for this awesome work.

To enhance the rom performance I use "noop" i/o scheduler and ondemand governor (sampling_down_factor 2 /sampling_rate 50000 / up_threshold 70).

Everything truly works great.

Best.
[Gen9 Android Development] UweUweUwe:
Is the display brightness now slider working now?
[Gen9 Android Development] kuskro:
Brightness dimmer works good but brightness modes (day, night, etc..) are unworkable despite they were set as an option within settings. Also screen cast and/or mirroring is unworkable. The rest work good as far I could test.
[Gen9 Android Development] taninos:
Hi dudes, I need your help. Could anyone help me to set screen mirroring properly on this rom? I really need screen mirroring right now. I've tried different apps but the device never conveys the screen.

Thanks in advance.
[Gen9 Android Development] zaloyyy:
I doing trought Ext2Fsd but when I finished the procedure, after installing kernel and restart the tablet the original android (4.0) installs automatically, where am I wrong?
[Gen9 Android Development] carefreeway:
I see a lot of "E/PowerManagerService Invalid boost duration: 0" errors in logcat on 4.4.4 firmware.

Does this firmware also has this bug? Do you know how to properly fix it?
[Gen9 Android Development] momojuro:
[MENTION=2268917]hackwerk[/MENTION] I will see if I have this problem too, and if I can find a fix for it ! :)

From my side I occasionally saw this message on some boots "optimizing 1 of 1...", it was because of GMSCore.apk from the GAPPS package. Fortunately, the solution for this issue was to add this line to /system/build.prop :

Regards.
[Gen9 Android Development] hackwerk:
I added 2 logcats to other post.

Problem is not the booting, as some time after (re)booting it DOES react/work, and when working, I never have the problem anymore, until long time of no use (and being off/asleep).

Problem occurs almost always now when turning on, when being off/asleep for a long time. Cant fix it in any other way but rebooting X times and try my luck million times. :/

Edit: I am now at a point of no return. No reboot or shutdown or battery empty etc helps anymore. My screen is NOT responding so i cannot get out of lock screen. The (volume) buttons DO work so the tablet reacts, but the screen isnt. I remember doing a Touchscreen Calib in the Recovery menu when flashing this ROM. DId that again a moment ago to no avail.

Also just did a complete dalvik-cache remove.

Not did a factory reset though (yet).
[Gen9 Android Development] momojuro:
[MENTION=2268917]hackwerk[/MENTION] That's weird because I don't have this issue at all. Did you have it with the 1st build of CM 12.1 (May one) by curiosity ? I think that you will need to do a clean install. (Try to save your APKs, and files using ADB) :/
[Gen9 Android Development] hackwerk:
Well it all got worse and worse.

Started with some lag, then random unresponsiveness (in lock screen only), then almost always and yesterday it was NOT possible anymore to unlock even with 100 reboots, flashes, and up and downgrades of the ROM 5.0 <> 5.1 etc.

Then the tablet came into a bootloop, and then this morning looked dead. No lights, no charge, nothing. Almost gave up.

But!

After a whole day in the charger without light, and pressing a lot of buttons etc. it started blinking short 2x every time.

Then long time dead again.

After a while I could get into recovery as by miracle!

Now I immediately formatted all, reset all, and used this next known method for installing the custom ROM (your newest 5.1, again) from scratch to the tablet, in Windows, with no ADB connection but within Recovery, and it WORKS AGAIN (so I should have done a full wipe/factory reset somewhere down the road within previous updates I guess):

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 Menu -> "Export Data Partition";

3. Connect your tablet with your Computer;

4. Start EXT2 Volume Manager (EXT2FSD). 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 "My Computer". Open it and if you used "Reset Android & Storage" you 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 the new "local" folder;

11.. Unmount the Linux partition as you would do with any usb drive and then press ok on your tablet;

12. Calibrate Touchscreen NOW (in Repair), else your tablet may be almost unusable after first boot!

13. Go to "Developer Edition Menu" and choose "Flash Kernel and Initramfs";

14. A new drive will appear under "My Computer". Copy zImage and initramfs.cpio.lzo to it and press OK;

15. Reboot your tablet and after a couple of seconds you should see the Archos logo and then Cyanogen logo;

16. Charge battery LONG TIME (goes sloooow);

17. Be happy!

PS. I added step 12 and 16. Seems the touchscreen is baaadly off at first boot, and it also is confirmed AGAIN, that the Archos has very weird (and slooow) charging habits!
[Gen9 Android Development] momojuro:
[MENTION=2268917]hackwerk[/MENTION] I'm glad that your problem is finally fixed ! :)

_____________________

Updated my performance script again. I took the ROW scheduler's values from Nexus 7 (2012) as the previous one were too aggresive. Also, I changed the read_ahead_kb amount to 1024 in order to improve read performance as Archos G9's HDD/SD can support it. Here's a little test to prove it :

I tunned also some Interactive governor (it's our ROM default one) parameters : Those parameters will help our tablet to increase frequency faster when it's needed. Finally, I attached as you can see an another script to reduce Google Play Services battery drain. The installation procedure is always the same.
[Gen9 Android Development] zephyr83:
This rom works on Archos 80 xs (model with keyboard)?
[Gen9 Android Development] carefreeway:
[MENTION=280509]zephyr83[/MENTION] Nope, this firmware is for Gen9. Yours is Gen10. But kernel sources are pretty similar except some configuration. IDK about [MENTION=4636351]Quallenauge[/MENTION] kernel, but Archos kernels for Gen9 and Gen10 are the same. Difference is in kernel config. See there:

https://github.com/archos-sa/archos-gpl-gen9-kernel-ics/blob/linux-ics-3.0.21/linux.config.g10

https://github.com/archos-sa/archos-gpl-gen9-kernel-ics/blob/linux-ics-3.0.21/linux.config.g9
[Gen9 Android Development] momojuro:
I found few changes for our build.prop file from Nexus 7 (2013) subforum, which helped me to fix some

infrequent freezes and there are too some tweaks that improve performance and battery life. If it helped you, don't hesitate to tell me about it (Thanks [MENTION=4258165]SebyD[/MENTION]). Also, changing dalvik.vm.heapgrowthlimit to 96m is better as it makes perfect sense if we follow this : 0.75 / 2 = 0.375 * 256 = 96. :)

Don't forget to wipe cache and dalvik-cache before rebooting (For so, you can delete dalvik-cache and cache folders content via CM File Browser) ! I know that a majority of those lines already exists, but you will have to change their values.
[Gen9 Android Development] hackwerk:
[MENTION=5670369]BlackGunZ[/MENTION];

I do not fully understand what your files are? Should I add/use em in my clean 5.1 installation? How do I install? Why does Q doesnt add this stuff to the builds then?? Thanks.
[Gen9 Android Development] momojuro:
My joined files are Linux shell tested scripts which they are loaded at boot if you put them in /system/etc/init.d directory and change their permissions to : rwxrwxrwx (Tap for a moment on the file, choose Settings and then choose Permissions). [MENTION=4636351]Quallenauge[/MENTION] already included the first "version" of my script in his August build, but I did more tests and researches to update it. The main goal of my scripts are : To give a better performance (as it uses Nexus 7 (2012) ROW scheduler parameters which have the same amount of RAM), to give a better read speed and to help reduce network latency. Also, I added a new shell script (FixGS) file which help reduce Google Play Services battery drain. The latest ones can be found here ! :)

About the build.prop file, as you maybe know, it's a system file which contains the system's properties and which is located in the /system folder. For this case, I found as I said few changes taken from Nexus 7 (2013) subforum, which gived principally a better applications time opening. You will need to add and/or to change the lines that I gave previously.

I wish that you understood everything now, don't hesitate to ask help or something else ! Regards.
[Gen9 Android Development] momojuro:
I think that this will be the very last update of the script. I removed completely the ROW schedulers tweaks because the stock ones (which are incorporated in the kernel) are better, and I decreased the read_ahead_kb value as the tablet doesn't need a very big value even if it supports that. I also ensured that the changes are correctly applied. :)

Regards.
[Gen9 Android Development] carefreeway:
[MENTION=5670369]BlackGunZ[/MENTION], do you also have this bug in logcat while tapping on this firmware? BTW, can you give a version of the kernel on this latest firmware (cat /proc/version)?
[Gen9 Android Development] hackwerk:
Oh yeah, thanks! I just saw it was a 99file and thus Init.d but now I do understand it's an update of your script which is already in the ROM.

The build.prop made me confused, but it's another 'project' of yours.

We/I could make a shell script to conveniently change the prop file I guess?

I placed the new 99 and changed/added my build.prop (I had to do a "mount -o remount /" first btw!)

Afterwards did a "rm -r /data/dalvik-cache" and "rm -r /cache/dalvik-cache"

Thanks, and I hope I will notice difference, although my clean new ROM was already fast and good!
[Gen9 Android Development] momojuro:
No problem :) Sorry for the late, I was very busy !

I'm hoping so too ! Your report will be very useful, as it's hard to see what to update alone. I did all my possible to help Q and the users by this script.

Here it is !

Linux version 3.0.72+ (mueller@OfficePC) (gcc version 4.8 (GCC) ) #2 SMP PREEMPT Tue Aug 4 22:42:30 CEST 2015

I will try to investigate about your problem, but I will not be able to make logcats as I will have soon some exams. Maybe our colleague [MENTION=2268917]hackwerk[/MENTION] can provide you one ! :good:
[Gen9 Android Development] momojuro:
I tested new build.prop lines modifications from [MENTION=4258165]SebyD[/MENTION] (thanks again), and they gave a great improvement as the device will have less background apps and more free RAM (I joined screenshots for the proof). You will need to mount the system RW via ADB/Terminal, and to change those with CM File Manager :

ro.config.max_starting_bg=8 to ro.config.max_starting_bg=3

ro.sys.fw.bg_apps_limit=16 to ro.sys.fw.bg_apps_limit=6

By the way [MENTION=4258165]SebyD[/MENTION] :) :

16 bit transparency should be enabled with persist.sys.prefer_16bpp=1 instead of persist.sys.use_16bpp_alpha=1 since Android 4.4.

Regards !
[Gen9 Android Development] SebyD:
You're welcome ;)
[Gen9 Android Development] momojuro:
Can someone upload me the stock Browser.apk ? I'm in need of it, thanks in advance ! :)
[Gen9 Android Development] phonefromchina:
Dear Quallenauge,

your work for Archos G9 is great! Sometimes it doesnt work smooth as written above and there are some security issues ==> so could you think of compiling a

LAST 2015 BUILD

please!

I'll test as soon as available :)

@BlackGunZ

Here comes the STOCK BROWSER:

View attachment Stockbroweser.zip

Thank you for your work!!!
[Gen9 Android Development] gonzo1963:
For my work is indispensable the connection with the 3G stick.

Does it works OK with this ROM?

Enviado desde mi Aquaris E5 usando Tapatalk 2
[Gen9 Android Development] momojuro:
Unfortunately, the 3G dongle, the screen casting and the automatic brightness don't work. :/
[Gen9 Android Development] gonzo1963:
Thanks for your information.

Enviado desde mi Aquaris E5 usando Tapatalk 2
[Gen9 Android Development] jawiler:
CM 13?

Hi Quallennauge,

Love the ROM, any chance of making a Marshmallow version? :good::good:
[Gen9 Android Development] momojuro:
I don't think so, as he stated below when he has uploaded the August build :

But let's be optimistic ! :)
[Gen9 Android Development] jawiler:
Thanks for letting me know, I must have missed that post
[Gen9 Android Development] hackwerk:
Just like last builds, I get more and more random shutdowns while being in (deep?) sleep. Seems to happen a little more when the battery is not full (not empty, minimum 20 or 30%!).

Another phenomena is dat updates get harder and harder to do. The Google Play Store will crash/minimize when doing too many (big) updates. It only downloads a few MB and then crashes (and sometimes then eliminates the update from the list). Looks like some folders or memories are filling up (are stuck/full) by time?!

Is this fixable?
[Gen9 Android Development] carefreeway:
You may try to copy contents of eMMC with dd to sdcard and load from sdcard.
[Gen9 Android Development] hackwerk:
Can u explain this process please (how and why)?
[Gen9 Android Development] bavmouse:
Hello, for me it is not possible to copy this file into the folder. what goes wrong?

thanks, markus
[Gen9 Android Development] carefreeway:
Your symptoms are looked like eMMC memory card degradation. Have you tried to put some memory card into SD slot? You can try to backup your eMMC card with all the partitions ( http://www.dflund.se/~jokke/androidfilerecovery/ ) to some SD card and try to boot from the latter one. If it won't boot automatically by inserting SD card, you may try to change boot sequence either by hardware manipulation or by software (warm reboot).

Try to remount read only partition into read-write mode:

mount -o remount,rw /
[Gen9 Android Development] bavmouse:
thank you, now it was possible to do.
[Gen9 Android Development] Quallenauge:
Sorry, I don't have time and a development device to manage a new major version :(

So here comes only a synced CM 12.1 build with the latest (non-kernel related) security fixes...

http://xdaforums.com/devdb/project/dl/?id=15700
[Gen9 Android Development] bavmouse:
oh no, i have a bootloop. how can i fix ist. sorry guys.
[Gen9 Android Development] momojuro:
How did you install the update ? Is your bootloop problem fixed now ? :)

By the way, thanks again [MENTION=4636351]Quallenauge[/MENTION] it works great !
[Gen9 Android Development] phonefromchina:
20151216 version runs smooth. THANK YOU!
[Gen9 Android Development] bavmouse:
..

---------- Post added at 11:52 AM ---------- Previous post was at 11:51 AM ----------

It was my fault. I probably deleted a system app and therefore the bootloop. I then tries CM to reinstall, according to instructions, but now it hangs when booting at the ARCHOS logo.
[Gen9 Android Development] bavmouse:
It was my fault. I probably deleted a system app and therefore the bootloop. I then tries CM to reinstall, according to instructions, but now it hangs when booting at the ARCHOS logo.
[Gen9 Android Development] momojuro:
[MENTION=3393638]bavmouse[/MENTION] Sorry for the late :)

Try to reinstall everything with a Windows installed computer following those steps :
[Gen9 Android Development] bavmouse:
thanks so much. now it works again. i am so happy.
[Gen9 Android Development] Fat D:
Working fine on my non-Turbo, non-harddrive 101. Three little issues though, two of which have already been mentioned:

- invisible cursor when using Bluetooth mouse

- debug touch points do not display (which are kind of important for troubleshooting the dodgy G9 touchscreen)

- I find it impossible to open the notification bar using the touch screen. I liked how notifications and quick settings were integrated into the button bar on stock ICS.
[Gen9 Android Development] momojuro:
I will share soon my modifications, and how to apply them ! :)
[Gen9 Android Development] carefreeway:
Looks like a nice result for 512MB boards.
[Gen9 Android Development] molhamstar:
hey guys .. i need to ask this ... is there any way to make( acrhos 101 g9 turbo ) charge faster ? cuz he take 11 hours just for 80 percent .

and thank you all
[Gen9 Android Development] hackwerk:
EDIT: I am SO STUPID testing this a few hours before going on holiday with my tablet!!! I am now STUCK in a BOOTLOOP! :(

Very very nice! Thanks.

I am now testing.

But don't forget a lot of people here are beginners. So;

1) Tell us what to add, change or delete, and if it has changed since original only or also since your last post (my Dalvik values were alread ok for the biggest part, as was my page-cluster);

2) Please add the chmod line;

3) How can we find the tablet version (1 GB is Turbo, and 101 is 10 inch, 80 is 8 inch, and S is normal and H is with a HD inside, right?);

4) Where is the right fstab (I was editing the vold fstab first, and then found the /fstab. which DID contain the line to change).

5) Typo(s) in your link(s).

Thanks a lot!
[Gen9 Android Development] momojuro:
Can you tell me what you did exactly ? It should work normally !

1) I will tomorrow. :)

2) Too ! - Done.

3) You're right !

4) The file is in the root directory (you know, the home directory which is used by default by CM File Manager using the root mode).

5) Haha, no problem ! - Done.
[Gen9 Android Development] schwatter:
An easy way to get instandly more performance.

Download kernel adiutor from playstore. Then low memory killer --> agressive or very agressive.