yashsingh1/xdaforums huggingface dataset:
[XDA Assist] Negan:
Can you be more clear on what you're asking. I don't understand what you're asking
[ONE Q&A, Help & Troubleshooting] Quiche:
Hello everyone!

I recently installed Kali Linux via chroot onto my OnePlus One.

I did this via Linux Deploy.

Now i am trying to use a USB WiFi card via an OTG adapter.

The WiFi card is a RTL8187B.

I am familiar with Debian but i am not with compling.

Any help would be greatly appreciated.

Thanks in advance.

EDIT: I fogot to mention that lsusb shows the card.
[ONE Q&A, Help & Troubleshooting] turatt:
Sounds like your in the same boat as me try this guide I found let me know how it goes. I know you will need an app called pcap to mount the dongle https://forums.hak5.org/index.php?/topic/29748-external-wi-fi-adapter-in-android/
[Gen9 Android Development] Quallenauge:
Hi, if anyone would like to run a 5.0.1 Google OS on a Archos G9 80S device (and currently basically verified only with this), download and extract the file

18_03_2015-20_58_50.7z

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

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!

What's new ?

------------ since 18_03_2015-20_58_50 -------------

tiler size modifications within kernel, suggested by stevemp (thanks!)

CM updates.

------------ since 15_03_2015-22_26_59 -------------

Netflix and widevine fixes from stargo (thanks!)

CM updates.

------------ since 09_02_2015-22_26_59 -------------

Only CM updates.

------------ since 12_12_2014-21_41_41 -------------

Initial release.

Kernel got some zram optimizations.

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

Additions:

Archos Control Panel App from [MENTION=1928021]mordesku[/MENTION]: http://xdaforums.com/showpost.php?p=47789812&postcount=88

Thanks: [MENTION=3457922]stargo[/MENTION] [MENTION=4243514]Hashcode[/MENTION] [MENTION=4179234]trevd[/MENTION]

@CM community [MENTION=535343]all[/MENTION] 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.0.

Archive:

15_03_2015-22_26_59.7z

12_12_2014-21_41_41 / 12_12_2014-21_41_41 (devHost)

09_02_2015-22_26_59.7z

XDA:DevDB Information

Archos G9 CyanogenMod 12.0, ROM for the Archos Gen9

Contributors

Quallenauge

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.0.x

Based On: Cyanogenmod

Version Information

Status: Alpha

Current Beta Version: 12_12_2014-21_41_41

Created 2014-12-12

Last Updated 2015-03-18
[Gen9 Android Development] trevd:
Dankeschön :)

I now understand why TI exited the mobile SOC market - How can they expect to sell new stuff when the OMAP4xxx just won't die!

I shall give this one a whirl, It'll be good to get my archos off of the stock ICS.

I'm assuming you've dropped the recovery nonsense for that moment then?

is selinux off?

Is adb on a first boot? as I would recommend that folks leave it hooked up the computer after flashing that

way you can run adb logcat so you know what is going on. It sure beats watching a boot animation for ~20 minutes.

IIRC the 2012 nexus 7 took about 10 Minutes to boot so it's not far off.

I see you forked hotplugd! Let me apologize for the code quality, :o I was young and foolish and didn't know what I was doing ..

I think I might revisit it at some point or at least delete it lol

Anyway If I've got a bit of time / motivation I might have to have a cheeky hack on this , now that you've done all the hard work! :p .

I hope you don't mind but I've also given the file some re-hosting love just uploading it to devhost and androidfilehost too. I figured the space might aswell get used for something useful.. I'lll post the links when it's complete.:good:

Hack On! :good:

trevd

[MENTION=4636351]Quallenauge[/MENTION] dev-host link. If you want to add it to the first post. http://d-h.st/96J
[Gen9 Android Development] schwatter:
Installed and i must say it's working really good :good:
[Gen9 Android Development] hackwerk:
Hahahah! BI ZAR! I check the forum for my Archos 101 Gen9 Turbo once every X months, and checked it today and see LOLLIPOP / CM12?! GREAT!

And whats the status? I use the tablet a lot still, so what is NOT working?

Edit: Flashed it to a Archos 101 Gen9 Turbo, and all is working, and fast as hell. GREAT!
[Gen9 Android Development] hackwerk:
I came from Freezenook's ROM BUILD7 (VERY happy user) but now tried this:

A MA ZING!

How fast and cool this Lollipop is on our (old) Archos (101) Gen9 (Turbo) tablet!!!

For now only compliments and almost everything seems to work, and this is a major and recommended step! Great OS this Lollipop!

Tested

Speed: Good (17.106 AnTuTu 5.3)

Sound/Video: Yes

Touch: Very good

Camera: Yes

Battery: Good

Size: Lot of free space (3 - 4 GB free!)

Memcard: NOT TESTED YET

USB: Yes (with Archos Panel app (USB & deep sleep))(USB storage works)

MicroUSB: Only charging (no devices?)

HDMI: NOT TESTED YET

Headphone: Yes (low volume though)

Apps: Some apps I normally use on my tablet and phones (KitKat or older) are not (yet?) compatible, and cannot install. I really miss some, like Archos Video (Free)(MediaCenter.apk). Is it possible to port this APK to our new Lollipop, I would love that. And the other apps are just not there yet I guess (busy making them Lollipop compat)?
[Gen9 Android Development] momojuro:
Thanks a lot !!
[Gen9 Android Development] nilse:
Supergeil!!!

Still amazing to see that you're still at it [MENTION=4636351]Quallenauge[/MENTION] :D

I will definitely flash it as soon as I have time.

The only concern I have is the USB Port. Does it stil work in 5.0 ? For me it didnt in 4.4, so I flashed back as I needed my Archos to read my Media USB-HDD. I have a 101S btw.

Well as soon as I have flashed it, I am going to test it and try a few things, hope I'll get it working :fingers-crossed:
[Gen9 Android Development] Quallenauge:
Hi trevd!

This is not a "nonsense". But it doesn't reflect my current needs. It would be cool to have a standard recovery image to format the data partition with f2fs (The kernel should support it right now!).

Yes. Currently I doesn't know how to enable selinux rules, because "rootfs" isn't the mounted loop device but the "real" root. So the file nods are forced to "u:object_r:unlabeled:s0" which doesn't fits.

Yes, ADB is turned on by default. I don't like it, when my device doesn't be verbose ;)

Yes, the old binary is bound to an older libsigchain.so. So I had to recompile it. The code quality is far better than my output ;) So thanks for your work!

I have an issue with the ril implementation. Mobile signal is turned on, but the datakey pppd stuff is not called. Do you have an idea whats going wrong - where can I look.

Should I use your implementation from android_hardware_ril_libarchos_ril ?

[/QUOTE]

Done. Thanks!
[Gen9 Android Development] Quallenauge:
External USB drive isn't supported right now. I will have a look, when I have some free time ( and after fixing the RIL mobile data connection stuff ).
[Gen9 Android Development] Bor-ka:
Wow, excellent! Thank you!

Could you please, write what you know that definitely doesn't and does work, as you did for older CMs?

Does ART work? Could CM 10.2 be updated to 12, or should we erase everything like with clean CM installation? HDMI?
[Gen9 Android Development] hackwerk:
[MENTION=4216736]nilse[/MENTION]: Yes USB (inc drives/storage) works (via Archos Panel app)!

[MENTION=5941033]Bor-ka[/MENTION]: Always do a full format/erase/factory settings etc, for SURE with a major leap like CM11 > CM12 or MORE!!

See my older post for a test of all hardware etc!

And again: Some apps I normally use on my tablet and phones (KitKat or older) are not (yet?) compatible, and cannot install. These apps are just not there yet I guess (busy making them Lollipop compat)?

I really miss some, like Archos Video (Free)(MediaCenter.apk). Is it possible to port this APK to our new Lollipop, I would love that!
[Gen9 Android Development] theantilag:
thank you again for your great work.

Works on 80g9H 512 mb ram.

will test more functions and edit this post later.
[Gen9 Android Development] Bor-ka:
[MENTION=2268917]hackwerk[/MENTION], thanks!

For some reason unknown to me, there is no "export partition" in my SDE, so reformatting and copying to the /local/ is a little bit painful to me - should do it with adb shell.

But anyway, Archos Video Player is a show stopper for me. Since it is the only player that can natively play 720p/1080p movies on this tablet via DLNA/Samba. Tried MX player with latest codecs - no luck.

All

Did anybody compare deep sleep in CM with the stock ROM?

IIRC deep sleeped tablet with a stock ROM (4.*, 3.*) could lose only about 10 battery _a_week_ if not used. May be my memory deceives me, of course. But with CM 10.2 and no background tasks it drops by ~ 10% a night. (Didn't try Wakelock and Greenify though)
[Gen9 Android Development] hackwerk:
SDE: This ia an easy alternative way of installing the ROM (which I used)!

Video: Have you tried Skifta (good for network!) or other majors, like GoodPlayer, MediaPlayer Classic or the brand new official VLC Player (and thus MX Player))?

Maybe in combination with the "All Codecs for Archos Video" app?? Must be possible!

And maybe / I hope we can 'port' the MediaCenter.apk to Lollipop!

Battery: Is already good, but everyone talks about an app called Lux! And Greenify.

But yes Deep Sleep can be enabled in this ROM in the Archos Panel app too.

And maybe these famous mods can help too ( [MENTION=4636351]Quallenauge[/MENTION]: Checked them already I think?)?
[Gen9 Android Development] Bor-ka:
Unfortunately I do not have "Enter the SDE menu on your device and select

export data partition

," in SDE.

See here, with screenshot http://xdaforums.com/showpost.php?p=57243821&postcount=2

For video thanks, I'll try. Completely forgot about VLC. Tried MX already, it plays Ok from the internal memory/SD but gloriously fails over the network.

What Lux does is automagically lowers screen brightness, Yes, it is very useful app, but it will lower battery drain in the active mode, not in sleep when the screen is off. And it has a bad habit on my current cm10 installation - sometimes it restarts when I'm reading a pdf book at night (low memory?) and I get some two seconds of full brightness in my eyes. Ouch.. I think I'd revert back to manual "dimmer" or "blue light filter" and manual brightness adjustment.

What is strange, users at our local forum report that 5.0 is slower than the

stock

(?!) ROM on 80S 1.5 Turbo (4460) / 1GB RAM. I wonder what it will be like on my 1.2 (4430) / 512 RAM..
[Gen9 Android Development] wulsic:
Thanks Quallange and all of you who helped him :) I saw your progress with 5.0 on github and I wanted to compile it myself but yeah I didn't had space for that sadly, I wanted to ask you flr it but then I see now that you got a cm12 thread :) when I am tomorrow home from school I will flash this :good:

Edit:

This song describes my 5.0 feeling:

http://youtu.be/p8sZcmQr6KY

It works till now pretty good. I am having the 512mb turbo version but after disabling things that I don't use it runs all smooth :good: o
[Gen9 Android Development] biggoof75:
I installed this Rom on my 101 g9 with 512 MB RAM.

It s like a new device. A lot less lagging and better ui response.

Only thing i found is that the keybord hides every now and then when i want to type some text.

Thanks a lot for this masterpiece of work *like*
[Gen9 Android Development] jawiler:
I agree, much more snappy than CM11. I've also had the keyboard hiding issue (stock and Swype). Thanks for keeping the G9 alive Quallenauge :good::good:
[Gen9 Android Development] FreiR:
G9 80H

i installed the rom but it places data on internal storage. hard drive is placed at /storage/sdcard1 and is read-only

how can i place data on the hard drive?

Note: besides the internal storage issue, the rom runs nicely.
[Gen9 Android Development] irinuca:
Hi Quallenauge.

Realy magic this ROM, many thanks.

If with JB sometime I have only 80 MB RAM free and with KK 145, now I have over 200 !!!

But I have a problem, app ( iGO ) can't write on external card.

Tried with 3 different SDFix and manually in system/etc/permissions/platform.xml

With Root Explorer I can copy, but can't modify permision.

There is a solution to this problem ?

Thanks in advance.
[Gen9 Android Development] jawiler:
I had this same problem, solved it by mounting /system as read/write in root explorer. Select folder with long press, go to Change SE context. a window will pop up asking if you'd like to remount as read/write, say yes. Now you can change permissions
[Gen9 Android Development] Bor-ka:
Well, the build is good for alpha. Very promising.

But for me (archos 101 non-turbo 1.2GHz/512MB RAM)

- screen responsiveness, scrolling (including browser) is excellent

- memory is very bad, definitely more lag than in CM 10.2 / 22_12_2013-13_29_20 . Switching from google play to the launcher and to the application list, it seems that I hear processes moving memory inside the tablet

- network is well... sort of not working. It connects Ok (tried with two completeley different setups, home WPA2 and corporate PEAP). Downloads web pages Ok. But if I try to update an application from the google play, it downloads 66Bytes - ~2MB and sits forever trying to finish download. No apparent errors in logcat. CM10.2 worked just fine.

(It looks very similar to wifi problems with official 4.0.* ROMS - may be different wifi hardware in different tablet batches?)

- net::ERR_CONNECTION_RESET error in internal browser when trying to load default most-visited page

- keyboard usually refuses to pop out (terminal, wifi passwords, browser address field)

- regular applications restarts (I believe it is caused by memory - looks like android kills it and restarts)

and, I belive, 5.0 limitations

- no silent mode

- cannot modify quick shortcuts in notification bar

Unfortunately keyboard and wifi problems are show stoppers for me (I can not install my applications from google store...)

Going back to 10.2, but will monitor this one very closely.

And [MENTION=4636351]Quallenauge[/MENTION] if you need testing on 101 1.2/512 let me know.
[Gen9 Android Development] trevd:
It's been a long while since I had my head round this..... I will have a think about this and get back to you ...

I think the android_hardware_ril_libarchos_ril is a WIP and was part of my grand scheme for AOSP master branch builds. The huawei_generic ril was pretty generic and even supported voice but I'd need to familiarize myself again with it.

I'll build myself a version tomorrow and see what I can do to help out. I can't leave you all alone here to have all the fun ;)

What parts of your stuff do I need to do a build? I assume it's the revisions/manifest.xml and copy the android_injection revision over the top?

trevd
[Gen9 Android Development] hackwerk:
Really strange?! I don't have any of the problems you describe (only the silent mode)?!

Did you do a full factory reset / format / wipe before flashing?? Maybe try it again?
[Gen9 Android Development] trevd:
[MENTION=5941033]Bor-ka[/MENTION] I've got an A80S 1.2 non turbo OMAP4430 512MB so the h/w is similar and your experience doesn't sound too far off what i saw ..

Ah yes I had this, Obviously and I presume you are just doing Individual application updates and not just tryin to smash to whole lot down all at once ... Even doing that It was proving slightly temperamental ... I think my incantation was to restart the tablet . then playstore , my apps , pick the app you wanted to update . Once the d/l stalled I stopped it and just started it again which seemed to do the trick IIRC

After things settle down when you've done updates the lag seems to settle down a little ( well quite a lot ). Incidentally I was running the Stock ICS ( 4.0.28 firmware ) That lagged, It was bad too .. I think hangouts is the main culprit ( amongst others ).

The keyboard does seem schizophrenic at time. Sometimes popping up , sometimes not , sometimes randomly swiping itself away. On the plus side I'm very impressed with the Voice Recognition in Android now-a-days even when there's background noise etc. lol

Anyway if you want to play around and experiment abit to get it to work then I'd probably try deleting many of the Google Apps out of the system/priv-app and system/app perhaps just leaving the play-store and see if that improves stability or just pop back later when [MENTION=4636351]Quallenauge[/MENTION] has fixed ALL THE THINGS :silly:
[Gen9 Android Development] kuskro:
[MENTION=4179234]trevd[/MENTION]

Despite the fact our "Archos 80 non-turbo 1.2gb (4430) 512mb" seems to be similar to its big brother 101, the 101 has worse memory speed quality and slower motherboard bus, too. So, the ram memory presets and hotplug governor presets have to be modified because the default ones do not work properly on it.

I couldn't try CM12 because of a lack of time, but I suggest to [MENTION=4636351]Quallenauge[/MENTION] to compile a especial rom version for aforementioned devices with this endorsed presets I used on prior roms.

Ram Presets: foreground apps 40mb / Visible apps 40mb / Secondary server 40mb / Hidden apps 40 / Content provider 80mb / Empty apps 80mb / Swappiness 60mb / VFS cache pressure 25mb / Dirty expire centisecs 30mb / Dirty writeback centisecs 5mb / Dirty ratio 90mb / Dirty background ratio 55mb / Overcommit memory 1 / Overcommit ratio 50mb / Min free Kbytes 2048 / OOM kill allocating task unchecked

Tricksker mod: cfq y hotplug (SD read buffer 2048 / down_differential 5 / down_threshold 20 / sampling_rate 100000 / up_threshold 50)
[Gen9 Android Development] hackwerk:
Yeah, I already mentioned your great work / mods in my post on page 2 (#14) as a possible option for some of us, or maybe even partially as a standard mod in this new ROM?
[Gen9 Android Development] stevemp:
testing

I have the Staple special tablet without GPS A80S 1.2 OMAP4460 512MB and works fine for being alpha. When first updating gapps hangs a lot, reboot. After that go to Developer options -> disable all animations. Then install Nova Launcher and Hackers Keyboard (you have to enable it). There seems to be a bug where background apps are not being closed, go to recent apps and close them or g9 starts using swap file, really slows down. The Google apps i tried are working, not tested much else. Some older apps that access the sdcard may not work due to new security, also apps that use drm have been reported not working.
[Gen9 Android Development] jawiler:
Thanks for the disable all animations tip, that helped with the keyboard
[Gen9 Android Development] Bor-ka:
Yes, of course. I've tried downloading it separately. It was about 10-20 stop/starts just do download Titanium Backup... And CM 10.2 happily downloads a whole batch when restoring all aplications fro google play.

And BTW, Titanium was not happy restoring all backups. Hypershell-based restore was not working, only "standard Android installation" worked.

I moved from [MENTION=2008455]kuskro[/MENTION] - tuned CM 10.2, so for me difference in speed was dramatic. May be moving to Zeam launcher would help - but again applications did close by themselves. And "darker" just plain refused to work in background in parallel with PDF Reader. :(

Wow, thanks! It really explains a lot, never thought that there would be such a difference between 80 and 101.

Is there a way to force these memory presets without compiling a kernel (with some tool like Tricksters MOD)?
[Gen9 Android Development] kuskro:
Ram Manager Pro, but I don't know if it is workable over CM12, I couldn't try it yet.

Best.
[Gen9 Android Development] DForce:
Is there a way of flashing this to a device without SDE/root access, I have a Archos 101b Neon, and for the life of me I can't root, it, Ive managed to flash CWM recovery on it(can this be used) and I've managed to flash CWM recovery using the RTKflashing tools, but this isn't permamanent(need to delete the install recovery.p files burt don't have root access)

Also is this a rooted rom? (sorry I'm a newbie)
[Gen9 Android Development] Djirin:
This rom is NOT for your tablet. Do NOT attempt to install it. Your tablet is different from the G9 series of tablet.
[Gen9 Android Development] hackwerk:
Hahahah, nice and short explanation: ROFL.

Long time no laugh like this :laugh:
[Gen9 Android Development] irinuca:
Thanks jawiler for the advice.

On RootExplorer, Long tap on sdcard1 - Change SE content - DO you want to remount an RW ... ? - Yes - Please select the action you would like to perfom - Select content from list - Select one and the result is "SE context change failed" :eek:
[Gen9 Android Development] jawiler:
I'm getting that now too. I did see that on the top of the root page next to the amount of disk space free and used you can change the mount to RO or RW. Try changing that to RW and then try changing the permissions.
[Gen9 Android Development] DForce:
Ok thanks for the heads up, I managed to root the original ROM so I'm ok, out of curiosity is the 101b a Gen10 device then?
[Gen9 Android Development] stevemp:
Archos 101b Neon has a RockChip RK3188T cpu, Gen 10 forum is the one for you.
[Gen9 Android Development] hackwerk:
1) I only have 1 slight issue (besides the lack of a real silent mode) and that is that it can be very hard to slide down the notification bar from the top (or am I doing somehting wrong)?!

2) I have a new 16GB SDHC to put movies on. How should I format it for our tablet, so it can read/use it, preferably with big files (4GB+), and also writable via USB on my Windows?

3) Again the question if Archos Video (MediaCenter.apk) can be made compatible with our new device? I miss it!
[Gen9 Android Development] theadenter:
Tested this ROM:

HDMI works, but I had many reboots and slowdowns while starting youtube videos (in youtube app) with HDMI enabled, videos never started with HDMI enabled.

Had no issues with the stock keyboard (AOSP) mentioned above, I'm using Russian and English layouts.

Tried OTG - tablet rocognizes A4 tech mouse as A4 tech keyboard, LOL... no visible pointer, but mouse works (checked with pointer test in the developers menu). BTC Keyboard not recognized. Kingston USB flash 4 Gb not recognized, but gets power from tablet.

Touchscreen work much better than in CM11(Android 4.4).

UI response is nearly as in CM11.

Sound volume is very low, just as in CM11. This is top problem for me.

For those, who don't want to install Linux just to mount data partition, I would recommend you to try to install ext2fsd - this will allow you to mount ext2, ext3, ext4 filesystems to a drive letter in Windows 2000 and later.
[Gen9 Android Development] bvr.pl:
I can confirm issues with WiFi (download stalling after a few seconds) and keyboard hiding at random.