yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] jt1134:
test kernel

Here is a test kernel with GPS fixes, KSM enabled (provides considerable performance boost, enable in settings>performance>memory management), and additional options for the newer PVR drivers that were previously missing (and could fix the VSYNC/project butter issues).

DO NOT flash this kernel unless the output from the ROM you are running matches the following:

adb shell cat /proc/pvr/version

Version CustomerGoogle_Android_ogles1_ogles2_GPL sgxddk 18 1.8@2112805 (release) smdkc110_android
System Version String: SGX540 S5PC110

If the output from your device is different, then you ARE NOT running a VSYNC enabled build and this kernel won't boot for you.

If you have lockups with this kernel, please send me or paste a copy of /proc/last_kmsg to pastebin.com after the device reboots.

linky: http://dl.dropbox.com/u/14764513/boot.img

Flash with Heimdall, ie: heimdall flash --kernel boot.img
[Samsung Infuse 4G] zacharysblubaugh:
Here's a link to my thread with the stock JellyBean bootanimation

http://xdaforums.com/showthread.php?t=1819324

Sent from my Samsung Infuse running Jelly Bean using the xda-developers app
[Samsung Infuse 4G] Dani897:
ok here ya go.
[Samsung Infuse 4G] Skwerl23:
Is it possible to turn this into a zimage.zip for sgs kernel flasher?
[Samsung Infuse 4G] paulieb81:
Ok, cool. Thanks for the instructions. That is easy enough, I thought it was more complicated than that.
[Samsung Infuse 4G] Dani897:
i'd assume you can just rename it "zImage" and then compress it. windows can be funny about naming things without file extensions though.

EDIT: i recommend installing heimdall on your computer as well just in case.
[Samsung Infuse 4G] Skwerl23:
I'm pretty sure it needs some "signature" files to prove to sgs its a good file
[Samsung Infuse 4G] zacharysblubaugh:
Could this be made CWM flashable?

(I can't think of any reasons why it couldn't and I would try it but I'm away from my computer right now)

Sent from my Samsung Infuse running Jelly Bean using the xda-developers app
[Samsung Infuse 4G] Skwerl23:
Its deeper than cwm as far as I'm aware. But not sgs kernel flasher.
[Samsung Infuse 4G] Dani897:
could be, all i know about sgs kerenel flasher is that it looks for a file inside of a zip package called zImage and does an image write to bml7. the name of the file is arbitrary and has nothing to do with whats written to the partition but that's just how it looks for it, that way you can flash kernels from rom.zips and such no matter how the developer puts the package together, it only causes a problem with flashing aosp kernels that will be called boot.img. there may be some aspect of a samsung zImage it also looks for but i'm not so sure.

if it tells you invalid zImage or something similar it could be Windows' habit of tacking on file extensions which it doesn't show in explorer.

---------- Post added at 12:42 AM ---------- Previous post was at 12:37 AM ----------

could be done in cwm just like it is done when you flash the rom. someone just needs to write the script..
[Samsung Infuse 4G] goobieracing:
You can just use sgs kernel flasher without zipping it and just selecting the boot.IMG file. Please don't use this knowledge unless your gonna help thanks everyone.
[Samsung Infuse 4G] Skwerl23:
Picked up my phone and it was self rebooting. No idea why.

last kmsg
[Samsung Infuse 4G] dustinhayes93:
I'll test it out!

Well good news is that everything that used to make butter freeze hasnt so far... I was getting a bit of lag though. Just wiped caches so maybe it will fix it =] So far so good!
[Samsung Infuse 4G] Rayk1080:
No problem, but I only noticed after I had posted this for you here that this exact thing was addressed in the Q&A thread. You should try to use that first, especially for something so basic. No disrespect, but we want to provide Scott and the devs with an encouraging environment and not annoy them. I'm a newb, too lol http://xdaforums.com/showthread.php?t=1797978&highlight=jelly+bean
[Samsung Infuse 4G] Dani897:
phone rebooted with new kernel. here is last_kmsg
[Samsung Infuse 4G] andros11:
Phone locked up on 1st boot, here is the last_kmsg: https://www.dropbox.com/s/9lqzy8u04zstn5e/last_kmsg

Rebooted and is running great for now.
[Samsung Infuse 4G] andros11:
Jt's kernel was not meant to address the phone.apk settings FC. He is trying to deal with both GPS and butter.
[Samsung Infuse 4G] qkster:
Here's a CWM Flashable script with jt's kernel on his previous post.

I used the cm10's shell modified to flash just the kernel. This may take some pressure off jt's dropbox.

edit: tested by several users and found working.

All credit to jt1134. His kernel is just packed into a cwm-flashable updater-script.
[Samsung Infuse 4G] tehtrk:
I'm aware of that; I should have specified my intentions. I'm running his kernel to help with that, but I had not seen a logcat of the phone apk issue yet so I thought it might be helpful.
[Samsung Infuse 4G] zacharysblubaugh:
I'll give it a try now

Sent from my Samsung Infuse running Jelly Bean using the xda-developers app
[Samsung Infuse 4G] andros11:
Oh I see.. in that case, thanks :)

Reverted back to original kernel.. got freezed again :\ Thanks for the effort anyways Jt, I know you'll nail it very soon!
[Samsung Infuse 4G] zacharysblubaugh:
I was able to flash it using CWM now I'm going to put it through the test of its life

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] qkster:
The cwm script worked? kernel flash went ok?
[Samsung Infuse 4G] zacharysblubaugh:
Yes

I booted into recovery

Wiped everything but the sdcard and emmc

Flashed 08/05

Flashed my own modified version of the inverted apps

Flashed my custom bootanimation

Then Flashed the kernel

Rebooted and it started like normal only with GPS and I checked kernel version its now jt's and tested GPS it works

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] blrumph:
Has anyone had problems with installing a different font on any of these ports??
[Samsung Infuse 4G] zacharysblubaugh:
The first time you turn on GPS just let it set where it can get signal it will take about 30seconds per a satellite but after the first lock you can turn it off then turn it back on and it locks immediately

Great work jt

There is a slight lag that wasn't there before but it seems to be clearing up with use

Sent from my Samsung Infuse running JellyBean using the xda-developers app

---------- Post added at 02:12 AM ---------- Previous post was at 02:01 AM ----------

Yes the lag is clearing up a little with use and some settings tweaks and it gets better

Jt I have a question

When I looked in the memory management tab under performance there was a setting there for the kernel what does that do

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] ismethajametovic:
Awww man, what happened to the 8/5 build with butter? I flashed it and it's running great!
[Samsung Infuse 4G] zacharysblubaugh:
There was one little problem with the phone.apk if you went into dial pad and hit menu then settings it would crash but there was a fix within minutes after just use the phone.apk from the 08/04 build

But a bunch of people started saying bug,bug,bug in the dev thread kinda pointless because of the fact there was an easy fix

(The bug yelling not Scotts decision he did what was right for the time)

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] brc6985:
GPS

Just flashed the kernel, confirmed GPS working!

First fix time was 46 seconds, 4 seconds after first lock.

THANK YOU!!!

[EDIT]

It should be noted that I did not wipe anything when flashing the kernel. Just rebooted to recovery and flashed. All is well in here in Jellybean land. JT, amazing work, good sir. Much appreciated.
[Samsung Infuse 4G] mbliss:
Flashed qksters cwm script of JT's kernel on top of 8/5 rom with 7/26 regular gapps. Did

not

wipe anything, just flashed kernel. Phone booted fine.

Old kernel: 2.6.35.7-I997UCLB3-CL977492-g22131c3

Scott@ubuntu #2

Sun Aug 5 18:05:13 PDT 2012

New kernel: 2.6.35.7-I997UCLB3-CL977492-g76367b6-dirty

jt1134@ubuntu #1

Mon Aug 6 22:22:55 CDT 2012

First impressions:

Widgets on home screen were wiped, re-added no problem.

Keyboard reverted back to Android keyboard from Swiftkey 3, re-defaulted swiftkey no problem.

Turned GPS on and loaded up GPS test. 1 sat locked immediately, 4 total seconds later. After roughly 3 minutes 8 in view with 5 in use, accuracy of 110 ft. Maps is still laggy but does not freeze up system, just very slow to respond. After closing maps system is very slow to respond took, i thought it froze for a bit but came back roughly 30 seconds after closing maps to become normal. Immediately opened up browser screen went black for awhile, was unresponsive then went back to launcher. That's when the phone became totally unresponsive but i could still see activity over wifi (down arrow turning on and off), screen went to sleep and was unable to wake it back up. I'll edit this post (typing as I experience) with last kernel msg in a min.

Other than the above paragraph the phone was amazingly fast, absolutely unbelievable. You all thing 8/4 or 8/5 is fast? You have no idea how quick JT's kernel makes this phone feel! Whatever you did is absolutely stunning, I have never seen this phone as fast as it is now, including the day i picked it up!

EDIT: Damn sorry no /proc/last_kmsg . Going to fresh wipe/install and try again in a minute

EDIT 2: Ok fully wiped everything i could except /sdcard. Flashed 8/5 -> regular gapps 7/26 -> JT's kernel -> fix permissions. Phone booted fine, re-downloaded all apps. Same as before, GPS locked just as it did before full wipe. Opened up maps everything seemed good at first then system became extremely slow, never quite freezing but totally unusable. Was able to turn off GPS this time and phone went back to normal. Still trying to produce a /proc/last_kmsg for. The phone is never 100% crashing/freezing though so I dont know what else to do.
[Samsung Infuse 4G] zacharysblubaugh:
The browser opened fine for me but I was using a fresh install everything wiped

Did you at least wipe dalvik and cache

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] cmeyal:
GPS work great!

thank you all graet developers.

:good::good:
[Samsung Infuse 4G] brc6985:
Upon further investigation, after flashing qkster's cwm script of jt's kernel,

-browser did not crash, but immediately after closing browser, and attempting to access system settings, phone crashed

-rebooted, checked apps to be backed up via titanium, phone crashed

-apps were backed up so

-wiped system/cache/dalvik,

-in this order:

1. Flashed cm10 8/5

2. Flashed new kernel

3. Flashed Gapps 7/26

4. Fixed permissions

Will now replace phone.apk, restore all aps via titanium, reboot to recovery, fix permissions, then all SHOULD be well. Let's hope so :D

---------------

Update

---------------

After installing Titanium, upon restoring the first app, phone crashed. Rebooted, got about 10 more installed, then crashed again. Verified that SD card was mounted, affirmative. Then, about 5 times in a row, upon opening Titanium, consistent complete phone crashes. Fixed permissions again, then was able to restore the remaining apps.

I'm assuming (and it's probably already been confirmed?) that immediately after installing Titanium, another Fix Permissions needs to be performed. Anyways, after finishing restoring all apps, ran a third Fix Permissions for good measure.

System settings FC'd twice, once while checking battery stats, and once while checking runnings apps. However, after letting it settle down for a few mins, everything seems to be just fine. Wicked fast too ;)
[Samsung Infuse 4G] zacharysblubaugh:
And one other thing I found in jts kernel its minor but did trip up a few apps is that after phone boots you have to mount the SD yourself

Again this is minor

Sent from my Samsung Infuse running JellyBean using the xda-developers app

---------- Post added at 04:47 AM ---------- Previous post was at 04:12 AM ----------

Jts kernel started crashing I would reboot and the first app I opened crashed the device 3times in a row last 2times I was attempting to get the last_kmsg (I wish I had a computer handy)

After you use CWM would the last_kmsg still be usable or does CWM use the kernel to where its pointless to grab I do have it saved so if you want it jt just tell me and I'll post a link

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] mbliss:
Ok finally got a last_kmsg on a butter build for you JT.

Flashed 8/5 with 7/26 apps after a full wipe, DID NOT flash JT's kernel this time. Was re-downloading apps when i noticed system rebooted, immediately copied /proc/last_kmsg and this is the result:
[Samsung Infuse 4G] zacharysblubaugh:
Jt

Here's a link to my last_kmsg after it rebooted

Drop box

last_kmsg

Sent from my Samsung Infuse running JellyBean using the xda-developers app

---------- Post added at 05:13 AM ---------- Previous post was at 05:06 AM ----------

I think one of the problems with the kernel is it has the set CPU 1000mhz enabled and its trying to use the deep sleep at the same time that might be some of the lag and reboots

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] PoXFreak:
Okay, this is fun... having to use the phones browser to add a post to the thread.

Anyway... JT, is this the proximity/gyro bug Entropy was talking about? I know he said something about the prox and gyro derping and bombing, but I never saw it in a kmesg.

For anyone wondering, the last update to xda fugged a few .jar files in the package, so now it crashes hard when parsing some threads. Well... mostly all of them.
[Samsung Infuse 4G] RoryB:
Are none of you going to do what jt asked?

He wants this done on the July butter version, not this latest one.

If none of you will. Please pm a link to that version and the gapps it needs. I do not mind going back to the old for this test, but do not have the files.
[Samsung Infuse 4G] qkster:
Scott and anyone else:

I made a few comments earlier about Android OS and battery drain.

I just want to make something clear. This drain has nothing to do with JB or any of Scott's build.

This drain is seen on multiple devices and GB, ICS and JB. I don't think it has much to do with the installation methods either.

Here is another user on Uniporn:

http://xdaforums.com/showthread.php?t=1643886&page=295

Post #6 by GoneEuro.

Here's one on CM9: noted about the Android OS and huge drain:

http://xdaforums.com/showpost.php?p=29502596&postcount=1848

Here's on on RemICS:

http://xdaforums.com/showpost.php?p=29454801&postcount=802

Here is a thread by pharmnerd that I continued:

http://xdaforums.com/showthread.php?t=1408433

Here is a thread about Android OS drain on the i9000:

http://xdaforums.com/showthread.php?t=1039696

Even though it says Solved, it may not.

The Samsung Vibrant T959 and has it on their ICS and JB

Here is another one:

http://xdaforums.com/showthread.php?t=1224052&highlight=battery

mind you, these goes back to 2011

There are many more instances on many other ROM's - GB, ICS, JB

I'm still at a loss as to where the problem lies...but for sure, it's not unique to JB
[Samsung Infuse 4G] zacharysblubaugh:
I believe its in the drivers somewhere which would be why its on all ROMs but would also make it hard to fix being some of them are closed source

The weird thing it hits and misses on devices so it must be a minor bug that is randomly triggered

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] qkster:
Yup..I don't want to derail this CM10 development into battery drain issue.

I just want to make it clear that it is not due to JB or Scott's build.

Here is another thread I found on Android Section.

http://xdaforums.com/showthread.php?t=1179809

Any users with drain issue can read more or feel free to discuss it on our local thread:

http://xdaforums.com/showthread.php?t=1408433

back to CM10 discussion...
[Samsung Infuse 4G] scott.hart.bti:
Guys... Thanks for all the comments i appreciate it. I removed it because i saw people were having issues and did not want to introduce any new bugs before we had the other things mainly taken care of.. Guess i jumped the gun again in releasing it.. Also, from what JT told me, the patch that i changed was what makes butter what it is.. Even though it did make performance and smoothness alot better, it was not 'butter' according to JT.

So... With all that being said... Where are we at here? Anyone having luck with JTs kernel with butter? Is it working? I see GPS is working, so dont respond with anything about GPS... I just want to know where we are here with the butter deal so we can move forward.
[Samsung Infuse 4G] RoryB:
Maybe I misunderstood. Do you, jt want us to test on the July version of butter or is the 8/5 version okay?
[Samsung Infuse 4G] indymx:
I noticed an insane battery drain last night when I got to work.. I'm talking 10% drop in a little over 15 minutes off charge.

I saw that Android System was keeping the phone awake.. I then noticed that GPS was on.. Don't know why, I know it wasn't working yet. I shut that off and the battery drain immediately slowed to a more normal rate.

Since installing JT's test kernel, GPS doesn't seem to be draining the battery like it was. GPS works now, but it seems that music freezes more and longer. I consider that a fairly minor issue though.

Just as a note, I'm running the 8/5 ROM w/butter and the 7/26 Gapps with JT's kernel and Phone.apk from 7/29 ROM.
[Samsung Infuse 4G] Ryanscool:
Was wondering the same thing... if we need the July/earlier build i have the zip still. If people would like to try but I'm not going to post it without Scott's permission.... i would try jt's kernel myself but i cant risk a brick, im on vacation with no backup phone or computer. Or else i would have posted it back a while ago sorry.

Sent from my Infuse 4g
[Samsung Infuse 4G] dustinhayes93:
As for me personally I have had no random reboots or lags and freezes... I am still running a beta butter build you had sent me so I'm not sure if that's why or what...
[Samsung Infuse 4G] jimmietilt:
hey i know im probably posting in the wrong thread with this question but it did happen while operating on the 8/5 build with butter. This happened yesterday morning in my truck (cable guy). The phone started bootlooping on the samsung screen, i didnt panic, i just hooked it up to my laptop and used heimdall to get it to stock so i can reflash, i figured maybe just a bad flash. Well i was doing all the heimdalls out there, all the odins that i thought might work, i did everything imaginable. The problem im having is now when i try to get up the stock recovery it says the following.

E: failed to mount /data invalid arguements, and during this whole frantic period i got alot of errors with the E: drive on my phone.

I posted on this thread because i look at it religiously and trust the people that i see on her and think you guys are genius'. From what i read its something with the partitionms on the internal hard drive. any insight would be awesome cuz i love the jelly bean rom right now..If i put my battery in it automatically goes to samsung boot screen without me even pressing anything, then will bootloop a few times then go to att boot animation and just bootloop on that.. Please Help i cannot deal with the blackberry torch i had to fall back on, NEED MY JELLY!
[Samsung Infuse 4G] goobieracing:
With jt's kernel my phone was very lagy no matter what I was doing and froze up when I tried to use maps. I did notice in his kernel that there was the 1000mhz frequency entropy took out due to issues to. I'll get a last message on here when I get time.
[Samsung Infuse 4G] zacharysblubaugh:
Jts kernel will run fine for an hour or two the whole time smoothing out then suddenly you open an app and it reboots then from there it consistently reboots when you open apps from web browser to the built in app manager and esfile explorer

Minor bug the SD doesn't auto mount

I spent all night testing this I haven't slept a wink

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] RoryB:
Was on my wife's iPad. Now that I have gotten to my phone and checked it has the proc/version jt requested in the 8/5 file.

So I am installing to see what happens for me.
[Samsung Infuse 4G] Zaven777:
I flashed JT's kernel with the instructions nad my phone was very slow and I had freezes all the time now I flashed back to default 8/6 build.
[Samsung Infuse 4G] MattSoRaven:
lol. I read your earlier post and flashed the 7/23(butter) zip with the new JT kernel. GPS gets a pretty fast lock in maps on this build. This build probably still has the freeze issues. So far so good though.
[Samsung Infuse 4G] blrumph:
Anyone has any luck with installing a new system font?
[Samsung Infuse 4G] jt1134:
Thanks for the feedback so far folks. I'll look thru the logs later when I have time.

Here is a test build with all the latest code: http://db.tt/brr3XMzN

Please let me know if there are any problems with it, and please post /proc/last_kmsg if there are freezes or reboots. I won't leave the file up long tho, since I don't want my dropbox getting suspended :p
[Samsung Infuse 4G] qkster:
edit: nvm..it's the whole firmware you had posted
[Samsung Infuse 4G] Entropy512:
Nothing that is pushed to /system can affect signal at all. It can affect how it is reported to the user - but the only thing that affects your actual reception is the modem firmware itself.

No, that has nothing to do with old CWM versions. The CWM version you have and what bootloader you have installed have NO connection. You were on old Froyo bootloaders, simple as that.

Yes. CM used to include gapps - and received a cease and desist letter from Google because of it.

It sorta works, but there are some power management issues in the wifi driver I need to look at.

No, that turned out to just be a symptom of the cpufreq code being borked - it just happened that Z-Device test was an app that performed EXTREMELY poorly if running at 200 MHz.

I haven't had much time to work on Infuse lately, Galaxy Note/S2 have been consuming the majority of my time. However my two primary focus areas right now are common to multiple devices:

1) Wifi tethering with WPA or WPA2 encryption does not work with any "legacy" bcmdhd driver. Pulling in drivers from tuna to other devices usually fails, so we need to figure out exactly which change is needed. This is a common issue with pretty much every device that has a BCM4330 and isn't a Nexus. It's possible to fix this with a horrible ugly hack (make a patch to ICS hostapd so that it'll run with JB, and throw that hacked hostapd into a JB package), but I need to find a proper fix.

2) Google's new mediascanner code performs horrifically badly on FAT filesystems. If you have a directory with lots of files, mediascanner will take a long time to complete. As I understand it, it will restart if the screen turns off before it finishes.

jt - you probably will want to forward-port my ICS kernel patches:

https://github.com/teamhacksung/and...mmit/a57ff5b7657da464a3ab42a332e00358cc867186

https://github.com/teamhacksung/and...mmit/e3e7028d83c839b8145cb8a1f652efe859310f79

https://github.com/teamhacksung/and...mmit/e8ae0412b8c4d0ed9df21666541469138d033b09

I may be able to forward-port these later this week. I was hoping to do the MTD transition before I started working on JB, but I think I'll put that off until a little later just to get JB caught up with ICS.
[Samsung Infuse 4G] zacharysblubaugh:
Downloaded and will be flashing in a bit and sending you those last_kmsg

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] blrumph:
Have any of u installed a new font?