yashsingh1/xdaforums huggingface dataset:
[Acer Iconia A500] linuxsociety:
About comparing my kernel to another kernel released by another developer - I can't do that, and it would be disrespectful for me to set and make Pros/Cons of using mine against another developers work. Like said earlier, I will leave that to the users to decide on, and as with all things there will be pros and cons in different areas I'm sure. Personally I don't even own the A500, I own the A100, but with works of other users in the A500 community I was able to port my work to you guys so far the best that I can without owning the device. Hopefully if there are any major issues users will respect that I don't own the device, and properly provide details so that I can get it fixed. I appreciate all of the great help from the A500 community and I want it to be very clear that my kernel is not made for competition, or to out-do any other developers kernels, it was started as a personal project for my A100 and I figured I'd be kind enough to port some of it to the A200 and A500 communities as well. Thanks again guys for all the testing, donations, and great recommendations :D I look forward to doing more in the future for you guys!
[Acer Iconia A500] dmfr:
linuxsociety,

Thanks a lot for the hard work, your kernel + WDS' Cm10 make the perfect combination that rocks my tablet so far for daily use ! ;)
[Acer Iconia A500] signfinder:
this kernel will run on stock 4.0.3 wirmware (acer a501)?
[Acer Iconia A500] linuxsociety:
Confirmed by Moscow Desire, yes it will - however if ntfs is an issue to you, you will need to use Paragon NTFS or write yourself and automount script for ntfs3g on ntfs. Other than that I think things are running pretty good with the 501 and this kernel on Stock OTA 4.0.3
[Acer Iconia A500] subnoize soulja:
Will this kernel work with aokp m6?
[Acer Iconia A500] linuxsociety:
I don't see why it wouldn't work with any rom you throw at it. If it doesn't work let me know, but it should!
[Acer Iconia A500] subnoize soulja:
Alright flashing now
[Acer Iconia A500] lessio.a1:
hello to when the next version of the kernel? thanks

Send to .. PBG100W CM10 JB OC. and Galaxy S2 Nfc 4.0.4 official Tim
[Acer Iconia A500] lexiperplexi91:
USB Ethernet

i was curious, would you be able to port this to your kernel so we can have USB Ethernet support?

http://xdaforums.com/showthread.php?t=1274656
[Acer Iconia A500] 4x4snowboard:
so does the zram zip work for cm10 preview?
[Acer Iconia A500] linuxsociety:
yes it does.
[Acer Iconia A500] boxy44:
Query !!!

http://xdaforums.com/showthread.php?p=32482202#post32482202

Guyz, can somebody tell me what can be done here..

is there anything i am doing wrong... can i get back to all stock using after Ota tool??

Thanx
[Acer Iconia A500] ic92:
Graphic flickering

Hi there,

is there anyone of you encounter a graphic flickering while playing "hard" game??

I always face it while playing ironman, nfs, real racing, etc

I am using CM10-FLEX_V6Supercharged_rev2.3
[Acer Iconia A500] bobiscool07:
I've had a weird bug on all the ROM i've tried so far, where my screen gets stuck and flickers whatever is on the screen rapidly. Now you have some screen/graphics fix written in the OP. NOw I'm wondering is this kernel would fix that problem.
[Acer Iconia A500] bobiscool07:
Same issue, but on any ROM

Sent from Mars using my SGH-T989D
[Acer Iconia A500] thediksta:
Me to, nfs, real racing 3 and some others are unplayable, any rom , is there anything that can fix this?
[Acer Iconia A500] Karmaflute:
When used with CM10.1 (Jellybean 4.2.2) and my A500, the kernel flashes but the system just reboots every time it tries to start up. There is a black screen then the reboot; it never reaches the boot splash at all.
[Acer Iconia A500] linuxsociety:
I'm not exactly sure what the deal is with ntfs, i pulled exact same ufsd.ko as from the stock A500, got ntfs.ko as module in the system/lib/modules

Only thing that is missing that ezTerry has in his kernel is the modules.order and I don't really see that being the issue unless some how the init scripts are depending on that to load the ntfs drivers. This shouldn't require the Acer Secure Mount drivers, but I'm wondering what the issue is. can you please get me a log of dmesg as well as logcat when trying to load an NTFS drive. Thanks
[Acer Iconia A500] linuxsociety:
Civato: Absolutely no reason that this should not work with ntfs as it uses the exact same method of copying the zImage/modules as ezTerry's .zips and it also has the exact same contents in the system/lib/modules as ezTerry's with the exception of the unneeded scsi_wait_scan.ko also contains exact same ufsd.ko as ezTerry's zip. So if this doesn't work i really need a log of dmesg and logcat so I can see what the deal is when trying to mount ntfs partitions. This is #4 and the only thing I can think of if this doesn't work is there has to be some hack to get ufsd.ko to load with version magic on custom kernel. Me not having an A500 nor a NTFS file system to mount on my A100, I can't debug this issue myself, but I don't see why ezTerry kernel would work and not this one as it is the exact same layout and methods of installation. Please try again, I'm sorry to keep on, but appreciate your patience and help with debugging!

https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-4-signed.zip
[Acer Iconia A500] civato:
Here are dmsg and logcat , while insurting ntfs usb

Oh and no problem m8 , don't mind running some tests.

edit:

and i tested your alpha4 , still no go
[Acer Iconia A500] linuxsociety:
I'm not fully seeing what the issue is with the kernel, and I don't see how it could be anything in your init either since my .zip flash doesn't touch any of that aside from your system/lib/modules. The only thing missing is the scsi_wait_scan.ko driver and i'll upload that to github and you can stick it in system/lib/modules and see if it makes this "scsi: killing requests for dead queue" go away and allow the disk to mount, but what it appears to be in the logcat output is device names being different than expected with the mount scripts for attached devices. I just can't really see the diff in ezT20 as his sources appear to also be based off a501 and a500 code drops. This is definitely odd..

scsi_wait_scan.ko download - remount /system rw and place in /system/lib/modules reboot with the alpha-4 kernel, and see what happens.. (probably nothing, i have never knew of any system depending on this module..but it is worth a shot)

This should make ezT20 and my zip content layouts the exact same other than his nfo.prop sourced file.

Do you think that NTFS RW support could be conflicting with the acer ufsd module somehow? I can't find a single instance of ntfs or ufsd either one in your dmesg log. But in logcat the vold is saying no such device for the usb_storage at /dev/block/vold8:1 makes me wonder if the device is for some reason being recognized as a diff device

can you try to manually mount the ntfs partiton and see what happens? did you say that insmod /system/lib/modules/ntfs.ko is giving an error? is it loaded when you lsmod|grep ntfs ? makes no sense since the init scripts aren't touched when you flash this kernel, and the modules are the exact same name and location as what you was using before, if you was using ezT20.
[Acer Iconia A500] civato:
only ones that load are

bcm4329

hfsplus

hfs

md4

cif

lsmod|grep ntfs doesn't load anything.
[Acer Iconia A500] linuxsociety:
That has to be the problem then. if you manually try to insmod the ntfs.ko module does it return an error? I'm leaning toward believing the ntfs rw configuration might be causing an issue. right now i have a complete recompile in the oven and fixing to put it up. it has exact same FS config as ezT20 and exact same modules. No reason this shouldn't work if ezT20 does, uses exact same sources for ntfs and all the a500/a501 code drop merges are exact same. If this doesn't work it's kind of hard to blame it on the kernel as this should be exact same as ezT20 as far as the ntfs / fs goes

Download:

https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-5-signed.zip
[Acer Iconia A500] civato:
insmod ntfs doesn't do anything

insmod ufsd.ko gives error = invalid module format
[Acer Iconia A500] linuxsociety:
When you are running the ezT20 kernel do you get the invalid module format? only way that I can solve the issue with ufsd.ko invalid module format should already be in place with the module versioning support I have built in. If ufsd.ko sources are available (which I assume they aren't since this is proprietary pulled from stock) I'm wondering exactly what ezT20 done to get his kernel to magically load the ufsd.ko - or is it not even getting loaded? Try that ^download and see if it makes any diff
[Acer Iconia A500] civato:
no still no go.

I reflashed ezterry's 1.0.1and lsmod gives this

loaded modules are with inserted usb and my ntfs usb works.

bcm4329

hfs

md4

cifs

ufsd

if I insmod ufsd.ko now I get

can't insert 'system/lib/modules/ufsd.ko' :file exists
[Acer Iconia A500] linuxsociety:
yep there is some reason that ezT20 can load ufsd.ko and my kernel can't i'm wondering if his provided ufsd.ko hasn't been recompiled against his kernel source instead of just pulling the .ko from the original stock rom.
[Acer Iconia A500] civato:
Maybe best to ask him , he's a supurb dev I'm sure he will help you.
[Acer Iconia A500] Moscow Desire:
Sorry to tell you, but she ain't mounting my 1tb ntfs drive either. Can't format my sticks, but....

It sort of sees it, but nada.

Also from root explorer., when I select it, you're gonna love this one, it launches ......acer ring?????

MD

OK, lets toss in an SOD after disconnecting/accessing USB. (ntfs drive).\

I will try to replicate tomorrow. and get some logcat and dmesg.

MD
[Acer Iconia A500] linuxsociety:
Yes I am working on resolving the issue with ufsd. It will not mount NTFS drives until I get ufsd.ko to be loadable into my kernel. I'm wondering where the big difference is that ezT20 kernel has that allows the stock ufsd to load and mine doesn't because it does not make any sense!
[Acer Iconia A500] Moscow Desire:
Well, as a suggestion, you may want to swap ideas with EZTerry. You guys seem to have some good kernels,

You seem to have a sleep issue/power drainage issue fixed. EZ has the ntfs and no SOD

EZ has some ntfs. and some other.

Why not work together.

MD
[Acer Iconia A500] linuxsociety:
Yea that is probably a good idea, I just haven't ever personally spoke to him yet, and haven't been in the Iconia scene for that long yet either, so I am still getting aquainted with everyone. I am looking too see what I need for the version string to match ufsd.ko ezT20 has it somewhere, I just don't know exactly where, I may end up having to compare every single file in my sources to his to find out where his allows ufsd.ko to load and mine doesn't.

**Edit i think i found out the problem and am testing it, I can test if it loads on my a100 so I'll know when I do have it fixed :D
[Acer Iconia A500] adrock74:
Flashed and been playing with this for awhile today. Smartassv2 is very smooth. Scrollable widgets usually tell the tale for me and they are very lag free. App drawer transition also very good. Not all sure about the new schedulers, as im not too versed in that area.
[Acer Iconia A500] Moscow Desire:
Well, I know how kernel Dev's are. But I'm thinking, if the 2 of you put your heads together, then you can have an awesome kernel.

And both dev's would get "equal" publicity and recognizition.

Seems both you and EZ, are stand up people.

MD
[Acer Iconia A500] yaworski:
Wouldn't it be better to use fuse and ntfs-3g to achieve writeable NTFS support? Why do we need to use proprietary UFSD module? I know that fuse is not ideal as it works in userspace but it should be easier to make it work as fuse is already in the kernel source tree. Of course this would require to do some more changes in the system itself as ntfs-3g binary is required and some changes to configuration would also be required.

BTW UFSD is not Acer's property. It is made by Paragon and it is probably the only licensed non-Microsoft NTFS implementation out there. But it's not free.
[Acer Iconia A500] linuxsociety:
The way it is, with some manual cmdline-fu you could most likely get the ntfs partitions to mount with ntfs-rw native support out of the kernel as long as the ntfs driver loads - It just isn't playing well with Vold and Android auto mounting proceedures - so in short the answer to your question is Yes, but would require altering portions of the ROM.
[Acer Iconia A500] Moscow Desire:
" Oh husband, what are you doing again?"

" I am fixing something important"

"Civato, what is more important than us?"

"Dearest, the fate of all android users lies in my hands. It's important kernel work."

Husband, the fate of your sexual life lies in "my" hands"

Civato turns tablet off and goes.........

Revenge Mate...... MD :laugh::laugh::laugh:

Sorry , but he had it coming. ;)
[Acer Iconia A500] civato:
"SexAndroid.ko" is the new module that will be build in the new android version HotCandy....5.0 , we are fully experimenting and testing it tonight. Satisfaction guarenteed.:cool:

note:

sorry linuxsociety don't want to go to much off-topic , just MD getting back.
[Acer Iconia A500] linuxsociety:
you are not bothering me at all, what's life without a bit of jokin around?

Anyway, something that isn't so OT, I have contacted ezT and he got back to me about some info, unfortunately I had done applied the exact same patch to my sources that he mentioned he did - So I decided to blame the toolchain - good thing I did, after downloading a diff 4.6.3 arm-androidaebi toolchain I can at least get the module to attempt to load but now getting: <4>[ 558.716610] ufsd: Unknown symbol __might_sleep (err 0)

So right now I am recompiling for my a100 in attempt to just see the module load if it does i'll recompile the a500 sources too - but in the meantime can you tell me if there is any parameters being passed to insmod/modprobe when the ufsd.ko is being inserted automagically from your init scripts?

Thanks should have something figured out here soon, pretty much the only major show stopper i have ran into. glad you guys are bearing with me. its not so easy when you don't have the actual device at your hands to test but I'm doing the best I can without it ;)

**Edit - solved The problem wasn't anything done wrong on my behalf especially not even really being aware of the ufsd.ko crap up front - However the problem with ufsd and the kernel configuration was 2 things, both being exported symbols missing in the kernel binary needed to load the module. There are a couple resolutions - Either enable SLAB as memory allocator ( to get the malloc_sizes symbol) instead of SLUB which in my opinion has much better performance and enable a bunch of debugging options for the kernel <that most people do not need> in order to get the _might_sleep symbol exported. Or I can play around a bit and add some empty functions for them in the SLUB sources so that they are exported and pass the version checks needed to load the module - or I can modify module.c even further to just omit the checking of symbols symbols and try to force load it into the kernel.. All in all. this is a lot of work for one tiny feature - and I will continue to get it fixed tomorrow but for now I'm heading to bed g'nite folks :D
[Acer Iconia A500] Moscow Desire:
You can only do so much when you don't have the device. Personally I think you did a bang-up job on it. Just a few things. Although personally I feel there are "way" too many controllers to choose from. ;)

Probably be best to figure out which are more geared for performance vs battery savings.

Just to update, no SOD overnight, 3g still hanging in there. Not too sure about battery life tho. Have to recalibrate it again.

MD
[Acer Iconia A500] linuxsociety:
Civato and others with NTFS needs:

Try this please and report back if ufsd.ko loads ok, thanks!

https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/gm-a500-v1.5-signed.zip

**Just recompiled for my A100 and tested that the module does load :D Hope this fixes the ntfs issues

* despite the naming of the file in the download - please dont consider it 1.5 because I'm trying to disable these spinlock_sleep debugging symbols we don't need as well as use SLUB instead of SLAB for memory allocator - I'm testing if ufsd will still load when I EXPORT_UNUSED_SYMBOL(_might_sleep); EXPORT_UNUSED_SYMBOL(malloc_sizes); hopefully this will allow my original configuration to work with NTFS and the ufsd driver. Good luck guys and I appreciate all the testing!
[Acer Iconia A500] Moscow Desire:
Tab reboots about 5-10 seconds after plugging in 1tb drive. If I leave the drive plugged in, it goes to bootloop.
[Acer Iconia A500] ezterry:
I just found what ufsd.ko uses these symbols for.

Its part of the kmalloc inline function, in slab_def.h (an equivalent is of course in slub_def.h with a different implementation)

The module loaded but obviously didn't allocate any memory in the heap until a file system was loaded.

I think there are only two ways around this (unless you can provide a version of malloc_sizes that causes the same logic as slub needs)

A) keep slab for ufsd users

B) hack (decompile or make a module wrapper for the ufsd.ko module) to correct the kmalloc call.

(Well and C: swap put vold to a version that knows about the ntfs-3g fuse driver.. plus arm version of the user space driver of course)
[Acer Iconia A500] linuxsociety:
Ok thats ufsd.ko and ntfs(static) not playing together most likely. Now makes sense why you guys are always throwing the drivers in as modules instead of static support. proprietary mess.

EzTerry: thanks for the tips on kmalloc, looks like I can do a few different things here, but I think the most logical is to just keep SLAB since that's what you all have always used all along anyway. SLUB works fine on the A100 since we don't have to worry about NTFS auto mount external anyway. So looks like i'll just have two slightly different configs for each device aside from the normal board configs/screens etc

Civato; almost certain the boot loop/ freeze issue is the NTFS driver being built in statically so I can just remove the native NTFS support since it isn't needed with ufsd anyway - or I can always provide it as a module for those who want to get manual mounting to work via native ntfs and want to stray away from the proprietary crap. In short the best resolution would be to implement a change in Android OS / Vold to work with the native NTFS driver instead of the hacks being used to depend on the ufsd proprietary one.
[Acer Iconia A500] linuxsociety:
The same download link, updated. Civato - see if this resolves the boot loop issue while NTFS external plugged in

https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/gm-a500-v1.5-signed.zip
[Acer Iconia A500] Moscow Desire:
Nope. Bootloop still there. After you plug in, and goto file manager or such, display still freezes then reboots. Leave plugged in and goes to bootloop still.

And ... I'm MD, not "Civato".:p

MD
[Acer Iconia A500] linuxsociety:
Sorry for mis-identifying you man, I get caught up in things sometimes and overlook names in the posts lol. I'm kinda stumped on that boot loop though, you don't have ntfs module loaded in an init script by any chance do you? I'm wondering if V(R) I/O scheduler is causing the problem on the insert. is there anyway you can get a log of dmesg/logcat while the freeze occurs? My code base hasn't changed anything that should be causing this, so I'm really having to blame either the IO scheduler or Autogroup. If you could change IO for the device before it ever registers we could test it without needing to recompile - unfortunately I don't know how to change the default IO without passing argument via boot cmdline or until after device is connected and registers with sysfs. If you want to test if autogroup is the culprit, you can run from a terminal:

toggle-ag off

and get the scheduler to switch back to regular CFS, it could be the issue, however this isn't very likely. Thanks for working with me on the sad NTFS issue.. And again, I apologize for calling you civato :D

** just made about the 20th recompile here on this ntfs issue, sadly this is about to be the last one -so redownload same link..

i built all the extra fs support as modules and changed IO to deadline. I seen another thing that could be an issue, if the ufsd proprietary driver has its own md4/sha512 algorithm and I had those built in static, there could be an issue with that - other than this compile here I'm not exactly sure where the issue is and without having the device myself to test with I may just consider dropping the support for A500 with my kernel if this ntfs issue is that big of a deal to users, because it is ending up requiring that I revert most all customizations and really defeats the purpose of this kernel.
[Acer Iconia A500] civato:
Still no go m8 , ufsd.ko loads but still nothing happens when I insert ntfs USB.

Flash back ezterry kernel and all is well. Hope you figure it out. The rest is real nice , I like the VR scheduler.
[Acer Iconia A500] linuxsociety:
Wait a minute, so ufsd loads? and doesn't boot loop with that last one? github is still showing that it has 0 downloads, maybe you didn't download the new one because i just kept the file name the same.

But if ufsd kernel module is loading and not causing a boot loop, there is nothing in my kernel that should be preventing the disk from mounting as that part is done in userland.

$ md5sum gm-a500-v1.5-signed.zip

a4868291dcf5f55922d524cb885d5613 gm-a500-v1.5-signed.zip
[Acer Iconia A500] Moscow Desire:
So it's possible I just re-downloaded the same one from your last post?????

Send a new link mate!

MD
[Acer Iconia A500] linuxsociety:
here while testing change the naming convention.

file 08192012-114-signed.zip
[Acer Iconia A500] sanjayayogi:
loopback support?

Does this kernel support loop back?
[Acer Iconia A500] linuxsociety:
yes it does - however it is currently undergoing some extensive testing due to lack of working NTFS via usb attached storage. So I don't recommend you use it unless it is simply to test and report back bugs right now. Once I get NTFS working, I will get things settled down and all should be fine once i post the release as ready. Thanks
[Acer Iconia A500] sanjayayogi:
Does this kernel support loop back?

Does this kernel support loop back? does[/QUOTE]

Thank you, down loading now....
[Acer Iconia A500] Moscow Desire:
ERROR 404 Page not found.
[Acer Iconia A500] linuxsociety:
Civato & MD please check updated link: https://github.com/downloads/godmac...n-Custom-Kernel/a500-08192012-1141-signed.zip
[Acer Iconia A500] Moscow Desire:
Will be a little while. Have to eat! Link works now. Will post asap.

MD
[Acer Iconia A500] linuxsociety:
Thats what I had to do too. Big ol piece of baked ham.
[Acer Iconia A500] Moscow Desire:
Eh.. I cooked BBQ burgers. Russian beef sucks to be honest, and requires my own secret recipe to make it edible. Pork is great.

But what I'd give for;

1. Some real smoked honey ham from Georgia

2. Some real smoked bacon

3. And some real sausage that I don't have to spice myself.

MD
[Acer Iconia A500] linuxsociety:
That sounds about like the foods we have here on a daily basis, not trying to rub it in or anything, just the truth..
[Acer Iconia A500] linuxsociety:
I'm not sure what exactly is so different with the A500 and the A200, but I have exact same sources, with same config as kernel I originally put up here for testing that failed to mount ntfs for a500, however multiple A200 users are reporting that system is auto mounting ntfs drives perfectly fine for them, that's without using this ufsd.ko stuff. So I'm beginning to wonder about the roms you guys are using, and how they are handling these mount points / devices / types. Really wish I had an a500 to test with here, maybe someone will feel generous and donate a spare. lol Hope we can soon have this figured out, as the a200 guys are really well satisfied with the kernel so far. Not even one bug report on the 200.