yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Exhibit 4G] spiked_mistborn:
I also have no WiFi on a fresh install of CM 12 2-1-15 with Gapps and K^Kernel.

Here's the error message that I'm getting:

02-07 20:26:15.980 D/WifiService( 484): setWifiEnabled: true pid=4090, uid=1000
02-07 20:26:15.980 E/WifiService( 484): Invoking mWifiStateMachine.setWifiEnabled
02-07 20:26:16.030 E/WifiStateMachine( 484): Failed to load driver

I'm also seeing a lot of permission denied messages like this one trying to access /storage/sdcard1

02-07 20:23:12.450 W/MediaScanner( 622): Error opening directory '/storage/sdcard1/.android_secure/', skipping: Permission denied.

I might try a different file system on my sd card and see if that helps. I'll post an update if it makes any difference.

Some messages say that .jar files do not exist or contain no resources:

02-05 20:07:22.386 W/ResourcesManager( 764): Asset path '/system/framework/org.cyanogenmod.hardware.jar' does not exist or contains no resources.

There are also a lot of PackageManager unknown permission messages like these:

02-05 20:07:19.092 W/PackageManager( 484): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
02-05 20:07:19.092 W/PackageManager( 484): Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings

[MENTION=1816400]cars1189[/MENTION] I can PM a Google Drive link to the full log if you want, just let me know. Thanks again for all the work you put in to this!
[Samsung Galaxy Exhibit 4G] Kotetsukun:
No. A clean install of the k kernel won't work.
[Samsung Galaxy Exhibit 4G] cars1189:
02-07 20:26:15.980 D/WifiService( 484): setWifiEnabled: true pid=4090, uid=1000
02-07 20:26:15.980 E/WifiService( 484): Invoking mWifiStateMachine.setWifiEnabled
02-07 20:26:16.030 E/WifiStateMachine( 484): Failed to load driver

This is interesting not sure why it would be unable to load driver.

02-07 20:23:12.450 W/MediaScanner( 622): Error opening directory '/storage/sdcard1/.android_secure/', skipping: Permission denied.

.android_secure doesnt exist on sdcard1 why its even trying im not sure. But thats a general android issue nothing im gonna change.

02-05 20:07:22.386 W/ResourcesManager( 764): Asset path '/system/framework/org.cyanogenmod.hardware.jar' does not exist or contains no resources.

02-05 20:07:19.092 W/PackageManager( 484): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
02-05 20:07:19.092 W/PackageManager( 484): Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings

Again with these two general android issue nothing im gonna change. In these 3 cases it doesnt seem to hurt anything so i dont think it really matters anyways. Those are both specific to an app anyways so cyanogenmod team should take care of those.
[Samsung Galaxy Exhibit 4G] spiked_mistborn:
After looking at the sample that I used I realized that might have been a bad example of the issue that I was having. I did not see the normal directory structure that Android normally puts on the sd card. I changed from EXT4 to f2fs and it seems ok now, except that CWM does not seem to support that file system, so I might just go back to fat32 and reinstall the rom.

This is more like the problem that I was having. I did format the sd card using Linux, so maybe it was some kind of EXT4 permission issue.

02-07 20:24:58.075 E/cutils ( 157): Failed to mkdirat(/storage/sdcard1/Android): Permission denied
02-07 20:24:58.077 W/Vold ( 157): Returning OperationFailed - no handler for errno 13
02-07 20:24:58.092 W/ContextImpl( 3069): Failed to ensure directory: /storage/sdcard1/Android/data/com.google.android.music/cache
[Samsung Galaxy Exhibit 4G] Kotetsukun:
For those of you who think the 2-1 build of this rom is slower is because of the gapps. I had installed the 2-1 build without it and it was speedy. And you guys are right, it the 1-14-15 build is the same with minimal gapps package. the only flaws now are the slow/delayed data searching and the '"Android is Upgrading" stuff that took 6 minutes, without any changes to /system and stuff.

I figured out that it was the "Google Play Services" app and the "Google App" app in system priv-app. But I already restored my backup so it's too late and also figured out that it is better without google apps
[Samsung Galaxy Exhibit 4G] blacksuan19:
I flashed a zip which should slim up the ROM and I didn't make a backup it delete camera and email and exchange services and music app and a lot more but I need the mentioned apps so can any one please upload them and I tried to reflash the ROM but no thing happens maybe due to that the ROM is in .DAT and I tried opening the file but it didn't work please upload the apks!!!!!
[Samsung Galaxy Exhibit 4G] cars1189:
New Build

Ok guys theres a new build up. I havnt tried it myself yet because i havnt gotten around to it i had to boot to recovery to flash 30+ zips (with libsensor + bootimage) trying to get the new libsensor/sensor kernel drivers working. Let me know how it works, rom and sensors. In my testing the accelerometer reported a lot more often and therefore in things that use accelerometer like games and gps,not sure how its used in gps exactly to test, but in games it should be a lot more responsive to tilting, as last i had checked it was at least 2x faster. Thats the libsensor reports/sec as far as the rom itself again not sure so let me know.
[Samsung Galaxy Exhibit 4G] Kotetsukun:
Just upgraded to the latest build. And not using he gapps because here are 2 reasons:

- Delays boot time, and causes delays to search mobile data.

- Cause more slowdowns

So I restored my backup of my 2-1 ROM (without Gapps) and upgraded the latest build (2-11) and still works and performs fast. And once it is booted it still searches the Sim network right away. I also added KK and Viper4Android to system apps and Viper works great since NuPlayer is disabled and SELinux is permissive. Thank you [MENTION=1816400]cars1189[/MENTION] I really love to us work so far.

Still enjoying Gappsless CM12 FROM MY EXHIBIT 679!

Edit: I flashed the new K^Kernel and it was very fluid, meaning it was really smooth and really quick. Still not using gapps, but I have another device that has all Google apps. Also, the WiFi and Accelerometer was fixed and the camcorder didn't crash at most times! Thanks again!
[Samsung Galaxy Exhibit 4G] spiked_mistborn:
I did a fresh install of the 2-11-15 cm12 and it seems to be working OK so far. I haven't had a chance to see if Netflix is working on this build -- it was not on the previous build. The sensors seem to be working well though. I installed Gyrospace 3d wallpaper and it works well. Here's a short video clip of it in action. http://youtu.be/PsmRMtlJrpc
[Samsung Galaxy Exhibit 4G] cars1189:
CM12 Kernels

Hey guys new kernel builds up. I tested one of the K^Kernel builds and its working fine as far as i can tell so try them out let me know.

Edit: Also please note the new kernels will NOT work on older rom builds as they use the new sensor kernel code. So only rom builds 2-11-15 and newer will work from now on. Also at least with the custom kernels all kernel memory allocations are done dynamically. They still have a max but the max has been increased a good bit considering its only going to sue how much it needs anyways. Therefore you will notice not only are there not any kernels of different memory levels but also you should see more memory and not see any issues of the camera/display running out of memory. This is thanks to sirmordred and Christopher83 for working on that.
[Samsung Galaxy Exhibit 4G] Kotetsukun:
You know what? Forget the question which is quoted in the next post, because I read the next post, [MENTION=1816400]cars1189[/MENTION] and you are right. I mean the old libs and stuff are not capable of running... certain things... So I guess I am starting to look for alternatives to Google Apps, in which can be now a new thread!

And by the way the new build and k kernel made everything so fluid.
[Samsung Galaxy Exhibit 4G] cars1189:
General statment to all:

I have never used any Cyanogenmod rom without gapps installed. That being said i do think CM12 is currently the slowest of all the cyanogenmod roms i have released which i believe to be a great amount due to CM12 still being in early stages. And not only cyanogenmod code wise but our device code for it too. With the new K^Kernel i did experience one random reboot but honestly it might have just been coincidence i have not been using it long enough to tell. Most of the time i release builds having only done limited testing i try and get the latest to you guys as soon as i get it, it if doesnt brick or have major issues it gets uploaded.

A lot of rambling only read if you really want to know details:

For example selinux is still permissive because we havnt worked out all the denied permisions yet. And if you look at logs at all you will see that theres also messages about some libs being in efficient. Thats because they are old libs from our stock rom. And while we have made many improvements including recently opensourceing libsensor related code,whcih in its case its now at least 2x faster, there are still many more. And while i am working on 1 more, things like the camera just arent going to happen. The sensor lib took a long time and its ~23kb that needed to be reversed. Just ONE(theres several) of the camera libs is over 600kb...its just way too complex and the only people that made significan progress on it dont want to share(which is understandable they worked really hard) but they too have stoped because "it works well enough". And while each android version gets more and more complex we have managed to make tweaks to counter it but eventually theres not gonna be any more that we can do. CM12 was already a stretch. And while i think the code will get more optimized still and even now i still use it as my daily even if we did manage to opensource everything it still would be very minor improvement mostly to stabability not performance. And thats just where we are. Does that mean we wont get newer android versions still no just performance is pretty much just going to go down from here our device is just old. You can get phones with like 2x our devices specs for about as much as a dinner out with the fam.
[Samsung Galaxy Exhibit 4G] shelium:
I flashed the new build with the K^Kernel and it was working wonderfully. Thanks man for the hard work. I flashed This GAPPS zip and all seems well so far. The sensors seem to be working well. I'll report in on any issues.
[Samsung Galaxy Exhibit 4G] ZeroTheSavior:
Your rom is really great and much faster than when I was running CM11.

However, I have a strange problem... I can't flash PA gapps because it says that it is not a 5.0.X rom. Is it because my recovery is old? Running TWRP 2.7.1.0, rom release 2015-02-11
[Samsung Galaxy Exhibit 4G] aaopt:
Weird. I had used PA with an earlier lollipop build of this ROM and it worked fine. When you say recovery is old... Is it one that was from this thread, built for OS2SD?
[Samsung Galaxy Exhibit 4G] Kotetsukun:
No, [MENTION=3729448]aaopt[/MENTION]. Your recovery is outdated, [MENTION=5027898]ZeroTheSavior[/MENTION]

Download the TWRP for OS2SD version 2.8.10 that [MENTION=1816400]cars1189[/MENTION] provided.

I mean aaopt's recovery is using one of these.

I use it too, except it's CWM 6.0.5.1 with OS2SD support.
[Samsung Galaxy Exhibit 4G] Kotetsukun:
Did you get the Android is Updating Optimizing app 1 of 1 after EVERY reboot? [MENTION=5203643]shelium[/MENTION]
[Samsung Galaxy Exhibit 4G] canodroid15:
I've had the Android is upgrading 1 of 1 apps on every build so far
[Samsung Galaxy Exhibit 4G] Kotetsukun:
Just so you know, Google Play Services is the cause of the upgrading thing and the slowdowns that go with it. It is best to uh.... Idk.
[Samsung Galaxy Exhibit 4G] shelium:
Yeah, as a matter of fact I do. Everything becomes iffy when Google Play Services is involved. I can't even answer the phone when calls come in. It rings but the diaper app is unresponsive for the most part and crashes altogether at times. I'd love to assist in a workaround but at the root of the issue, as was mentioned earlier, our device is old. Getting 5.0.2 was a stretch and it can only go downhill from here. Thanks again to the devs working hard to have these roms running on this phone
[Samsung Galaxy Exhibit 4G] canodroid15:
Got mine running like a champ! NO GAPPS! I'm using alternatives such as bing for search, Firefox, & opera for browser (don't care for aosp browser) & aptoide & Fdroid for markets, so far so good! Also using a firewall, mobile security, & adblocker! No lags, FC's, just perfection! 2/11 build, k^k kernel, & seeder apk! Oh yeah battery life is outstanding!!!
[Samsung Galaxy Exhibit 4G] Kotetsukun:
That's what I was thinking earlier!!! I use UC Browser for Browser, Aptoide, Mobogenie, and for YouTube videos, I use either FreeDi or I download using TubeMate, and also UC BROWSER!!! I am still using no GAPPS, or at least no Google Play Services XD
[Samsung Galaxy Exhibit 4G] aaopt:
Encryption?

I'm curious about this gapps slowness. So I took a phone which had been running a non-OS2SD CM11, updated TWRP, and installed the 11-Feb build, along with pa-gapps stock version-- the biggest one. When I booted, I got an unexpected message about encryption failing. Turns out I had not converted the new /data partiotion to ext4. So I did, and reflashed ROM and gapps (because I had wiped again before I realized what the problem was) and now it is slowly going through the initial boot, as expected.

But I have to wonder: why was encryption enabled by default? Is it the ROM that controls this, or the gapps? I could believe that this device is not strong enough to deal with full time encryption on top of everything else.

Well, maybe when the initial boot finishes I'll be able to tell if it's encrypted.
[Samsung Galaxy Exhibit 4G] cars1189:
/data is mounted with options:

"ext4" and "encryptable=footer,length=-16384"

or

"f2fs" and "encryptable=footer,length=-16384"

Which is the same it has been for a while with the addition of f2fs is possible since it now has support in the last couple of kernels.

As far as i know encryption other wise isnt enabled by default or anything.
[Samsung Galaxy Exhibit 4G] shelium:
Okay so surprisingly the Updating/Optimizing message stopped showing up after a few reboots. The ROM is also much smoother although there are the occasional hangs and lags. I've also kept the GAPPS to a minimum. So only Google Play Services and Play Store.

It's about as fast as it was without the GAPPS sans the dialer app hangs and lags
[Samsung Galaxy Exhibit 4G] Kotetsukun:
Really? I tried it that way and it was very slow… just slow… I got sick of it.

Btw, How many boots exactly? 500?

And by only Google Play Services and Play Store, you just got rid of…. sync apps?
[Samsung Galaxy Exhibit 4G] shelium:
It only worked that way with the GAPPS I linked. It took around 10 boots over 2 days to start seeing some results. I was about to give up too when it started showing improvements
[Samsung Galaxy Exhibit 4G] Kotetsukun:
Oh... Must be the kernel I've been using... I have been using UV. So I reflashed my ROM and flashed the OC one (without any voltage mods whatsoever) and skipped the gapps.

It was blazing fast with fewer lags than UV. It was better than OC+GAPPS which is ADC x (ADC+GAPPS) XD (I LIKE MATH TERMS)
[Samsung Galaxy Exhibit 4G] aaopt:
I installed the 450MB pa-gapps stock package... in other words, every gapp there is. Of course the first boot took a long time. After that it's been slow but not horrible, with only about 3 apps being "optimized" during boot. The thing is that it's supposed to finish all of them the first time. Presumably something went wrong and some could not be finished but after enough reboots somehow they finished optimizing OK.

I actually had let the phone sit for a few days, and just now rebooted. It optimized one app and then it was done. Next reboot I didn't happen to see that dialog. Maybe I just missed it, but I wasn't looking away for /that/ long, and in earlier boots even those three apps had at least been /somewhat/ slow.

I went back to TWRP and wiped cache and dalvik cache, and now I'm optimizing app 18 of 112. I'm keeping a logcat from this boot and from the next one, maybe we can find some clues.
[Samsung Galaxy Exhibit 4G] aaopt:
For me the two apps which are repeatedly failing at this stage appear to be "PrebuiltGmsCore" (Play Services) and EditorsSheets.apk . Most of the time it seems to fail with little to no traceback, or fails to capture traceback, but I did get one here for one of the EditorSheets attempts.

In case it matters I was using the stock kernel.

Edit: Found this lonely bug report which makes me think maybe we are running out of memory.

# busybox ps | grep dex2oat
559 all_a101 682m R {main} /system/bin/dex2oat --zip-fd=6 --zip-location
[Samsung Galaxy Exhibit 4G] canodroid15:
Wow prebuiltgmscore?Really hmm, wonder why I've dl'd the smallest pa gapps but havnt tried it yet, been busy, I'll try it 2nite or 2moro, right now I'm not really missing gapps that much, just g+ & hangouts but I have other devices. Exhibit went 3 days with no charge on gappless set up?
[Samsung Galaxy Exhibit 4G] aaopt:
Here is another bug report that links to two AOSP commits (scroll to bottom) from December that may not have found their way to CM yet. [MENTION=1816400]cars1189[/MENTION] do you have them? If not, could be worth a try.

---------- Post added 18th February 2015 at 12:06 AM ---------- Previous post was 17th February 2015 at 11:48 PM ----------

Even with gapps, as long as WiFi is off it seems like I could leave it sitting on a table for quite a long time before I would have to charge it. It was like that with CM11 as well. Or did you mean you were actually using it?
[Samsung Galaxy Exhibit 4G] canodroid15:
[MENTION=3729448]aaopt[/MENTION],Or did you mean you were actually using it?

Normal usage, @ work during the day but still play around with it a little on breaks etc, I let it go till 5% b4 I charged it.
[Samsung Galaxy Exhibit 4G] cars1189:
I do not have those commits in. I could try em. However could you guys also provide kernel logs when this is happening. I have yet to experience this.
[Samsung Galaxy Exhibit 4G] aaopt:
dmesg output here. Nothing jumps out at me. Any other log you would find useful? I also have this dex2oat tombstone.

Just before moving from 2/3 to 3/3, top said:

User 69%, System 30%, IOW 0%, IRQ 0%
User 214 + Nice 0 + Sys 95 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 = 309

PID PR CPU% S #THR VSS RSS PCY UID Name
1305 0 41% R 2 705580K 135612K bg all_a18 /system/bin/dex2oat
471 0 29% S 35 718704K 64396K fg system system_server
169 0 0% S 6 659464K 51112K root zygote
151 0 22% S 15 40472K 11000K fg system /system/bin/surfaceflinger
165 0 0% S 6 25684K 7132K fg media /system/bin/mediaserver
164 0 0% S 2 10692K 3692K fg drm /system/bin/drmserver
159 0 0% S 5 10672K 2684K radio /system/bin/rild
167 0 0% S 1 4208K 1596K fg keystore /system/bin/keystore
[Samsung Galaxy Exhibit 4G] cars1189:
quick update

Hey guys...i might do a whole rom update soon however, i just wanted to give you guys a quick update i have pulled more ADC team changes for proximity sensor to our phone. It seems to fix the issue with screen being blank when an call comes in when the screen is off. Hopefully no more having to hit buttons to get the screen to come on to see whos calling. https://www.androidfilehost.com/?fid=95916177934535600 When i do a whole rom update (soon) ill update k^kernel too.

Edit: Also note the screen should still react when a call comes in, to the sensor being covered so the screen should remain off when say in your pocket but should be on when out in the open.

Also again this is thanks to the ADC team 99%. They made the changes i just pulled em over(1%).
[Samsung Galaxy Exhibit 4G] swicago:
[MENTION=1816400]cars1189[/MENTION]

I can reproduce the SMS failures all the time now.

It happens when the message is to be split into 2 or more messages. If I keep them to 1 message lengths each, they work fine. I have not tested the latest ROM. BUt I assume the bug may still be there if you haven't found it yet in past ROMs.

Let me know, I can upgrade to latest and try again if needed.

-AL
[Samsung Galaxy Exhibit 4G] cars1189:
This should be fixed in the 2-1-15 builds and newer. I believe what you are talking about is "multi-part SMS" yes? IF so then yes it was fixed in 2-1-15.
[Samsung Galaxy Exhibit 4G] swicago:
Yes, multi part SMS...sweet thank you so much for your work. I'll have to update soon. Is there any specific steps needed for updating. Or can I just install right over this one, w/o full delete?
[Samsung Galaxy Exhibit 4G] cars1189:
You can just install over it just fine.
[Samsung Galaxy Exhibit 4G] swicago:
Going to install to latest version...it is downloading now. I did notice that the mirror link provided is for the md5sumand not the actual ROM zip. I assumed you uploaded the rom first, so I changed the URL by one digit and there it was

Zip URL

https://www.androidfilehost.com/?fid=95916177934527305

MD5sum URL (as provided in your update post)

https://www.androidfilehost.com/?fid=95916177934527306

May want to correct that
[Samsung Galaxy Exhibit 4G] cars1189:
Thanks, link corrected.

Also a many changes are being made so ill be mergeing them soon and probably get a new build out soon.
[Samsung Galaxy Exhibit 4G] canodroid15:
Sweet! Google just dropped 5.1 on a few nexus devices! It'll be nice to see what improvements it brings if any
[Samsung Galaxy Exhibit 4G] cars1189:
update

Hey guys, i know i said id update like a while ago but here it is. Theres still more to come but i havnt gotten around to makeing the changes and testing yet. Like ive been doing lately you can see all the changes that did make it in in the cm12 post. If you follow my github the rest + some more will be in next build.

Edit: Also still 5.0.2 CM hasnt merged 5.1 yet. Im not even sure if sources are out for it havnt been keeping up been so busy.

Edit2: so apparently 5.1 has a memory leak and a "major bug" at least on the nexus 5. So hopefully when it gets to CM it might be better. At least for now i guess its kind of good CM hasnt merged it yet. It does look like 5.1 hit aosp ~8 hours ago from when im editing this so maybe soon.
[Samsung Galaxy Exhibit 4G] exhibit679:
Insufficient space on the device

I'm running the 2-1-15 version of CM12. Everything has been great with it. Recently I tried to install a very small (200k) app. Right as it starts downloading from the play store, I get "Error downing "App": There is insufficient space on the device." I have 1 GB free on the sdcard and 137MB free on internal sd card (as reported by DiskUsage app). Anyone else seeing this? Any work-arounds?

Thanks,
[Samsung Galaxy Exhibit 4G] theking1st:
Thanks for your great work man! You already gave us Lollipop. I'm most thankful for that! I'm sure that you will find a solution to it! Thanks man!
[Samsung Galaxy Exhibit 4G] aaopt:
Everything is relative. At least on my wife's N7, 5.0.2 was torture, and 5.1 is much better. Maybe it does have a memory leak, but nothing like the ones in 5.0.2 . If I understand correctly we'll know it's merged when we see CM 12.1 branches start to appear in github.
[Samsung Galaxy Exhibit 4G] cars1189:
Yea idk all the details about the leak and bug but just something i heard. And yea i think they plan on makeing it 12.1. Which since aosp merged it already it should come probablly pretty soon. (However you never know)

Edit: apparently they have a "staging cm12.1" so maybe there working on it just havnt worked it all out yet.
[Samsung Galaxy Exhibit 4G] exhibit679:
^K Kernel

I just flashed 3.4.106+linaro+k^kernel+ion_pmem+cm12+oc+2-13-15 and have been getting pretty frequent crashes / reboots with it. Is this the best ^K kernel to use or is there a more stable one? Also, I'm using an old Jan-15 2015 build of CM12. Would reflashing to the March 15th version help or is that unrelated?

Thanks,
[Samsung Galaxy Exhibit 4G] canodroid15:
Usually the kernel & ROM date should match or be pretty close unless otherwise noted by cars1198 because of driver updates, etc....