yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Original Android Develop] kilthro:
Thanks for the followup I appreciate it. I can understand not messing with things until we are for certain as 64gb users are few and you wouldn't want to mess with it and break something for the masses. The cards are usable just not sure why its having mounting issues with them. This action is controlled by the kernel right? So not sure why it would mount it on boot but not if already running.. So I wasnt sure if it is a module or something that needs to be enabled as well or that it would strictly be rom dependent.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
64GB card won't mount when kernel is already running because it requires to run a script to mount the card.

We don't have the source for exfat binaries so fuse is like work around.

If you put an exfat formatted card into phone you would have to run few lines in terminal or simply reboot the phone.

On boot kernel checks sd card and if it's exfat it will run the script to mount it...

That's where we at for now.

May be we can make a script to run it every time you wanna put an exfat formatted SD card so we wouldn't have to reboot the phone.

But I think one simple reboot for now is not that big of a price to pay to have 64GB card working..
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
My sandisk class 10 64 card works just fine but its not formatted exfat
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Have you tried to format it exfat?
[Sprint Samsung Galaxy S 4 Original Android Develop] scubbi:
ussc r970. works great! rooted through odin, flashed this AGAT 0.3.0 through cwm, and sim unlocked. stock settings. whats best kernel set up for battery life, this thing is plenty fast?
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
No I haven't.I could
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
If you don't have too much on it you could.

More info we have on 64GB exfat cards more chances we will have to fix any possible problems with it.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
It'll take a few but yeah I get it done
[Sprint Samsung Galaxy S 4 Original Android Develop] kilthro:
Ahh this explains the behavior then with those cards. I really appreciate the clarification on exfat.Now would this still apply if they are fat32 formatted? The sandisk was fat32 and still had the same issue.

Rebooting isnt that big of a deal. Just more of an inconvenience and wasted battery drain. Would you have the code that I could run via terminal. I can set up tasker to run it for me when needed.

---------- Post added at 04:20 AM ---------- Previous post was at 04:18 AM ----------

Can you unmount and remount it? I have a fat32 formatted card that does the same thing. class10 64gb
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
OK after a pain in my ass adventure.I backed up my card formatted it to ex fat,rebooted to system.It could not find my card.So I went into recovery same deal.I tried mounting my card nothing happened. Then for the next hour I couldn't get my phone to reboot to system,no matter if I clean flashed or anything.I finally had to GI back stock reformat my card to fat 32 and all is good.Answer to other guys question is yes works fine
[Sprint Samsung Galaxy S 4 Original Android Develop] kilthro:
Thanks for trying.

So since yours is fat 32 atm you can go into settings>more>storage scroll down and do unmount then mount card and it will mount while phone is booted? I just making sure what you're answering yes to.

If so, what rom are you using? I am running the blue kuban and havent been successful with this kernel or kt's kernel when doing those steps. I have to reboot the phone to get it to mount properly even if its fat 32.
[Sprint Samsung Galaxy S 4 Original Android Develop] iIuvweed:
Awesome post bro
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Blue Kuban and yes it works great
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Agat your kernel is the best for the GS4. Even batter than stock when it comes to eliminating lag :)
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Glad to hear it.

I have a new one ready.

I'm running it for last couple of days just to make sure everything is OK.

If no hick ups next day or two I'll post it.

I think this one is better and smoother but I can't be objective... :rolleyes:
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
I'll be the judge of that once I run it for a few days :) lol
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
We will see,(roll eyes).
[Sprint Samsung Galaxy S 4 Original Android Develop] nemesis93:
Patiently awaiting new release of this kernel to try it with a new ROM :)
[Sprint Samsung Galaxy S 4 Original Android Develop] Goose0121:
Just changed governor to "intellidemand" and UV -50 across the board for this amazing return thank you!
[Sprint Samsung Galaxy S 4 Original Android Develop] nemesis93:
Wow thats great how much screen time?
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Ok so this was unintended, but when the question about smartassh3 came up I set it and forgot to change it back. Because of this I have good long term data on cpu states. I think I'll stick with ondemand for now.
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
I have been using version 3.0 of this kernel since June 3rd. The best battery stats I have gathered have been the following:

Most used time this month:

Battery at 16% after being on for 16 1/2 hours, screen time 4 hrs 20 min, 28 min of phone calls, deep sleep only at 59%

Less used time this month:

Battery at 25% after being on for 33 1/2 hours, screen time 1 hrs 9 min, 2 min of phone calls, deep sleep at 80%

This is with the stock OS, with no tweaks to the governor, OC, UC, or kernel tweaks. I have around 48 apps from the amazon app store installed and 162 apps from Google Play. This has been the best phone I have had so far in my android life (since version 1.5) and it is going to be tough to try to compete with the S4, though I do know each year they will still be improving.

Thanks for all those who contribute to these forums to help us tweak our phones to be better for our individual styles.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Right now I'm on my new kernel (not posted yet).

Not much use and here are the stats:

Freq. 384-1890

Stock voltage.

Governor mostly Ondemand.

37 hrs. 5 min off charge.

1 hr. 7 min screen on.

7 min 52 sec voice calls.

Battery left 42%.

It looks like I'll post it tomorrow..

Had enough testings. About 4 days with almost all governors and schedulers..

Best antutu benchmark reached 25733.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Finally flashed 0.3 and so far it's been living up to all the reviews. I can't wait to see what the next one will be like.
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
I have always found intelldemand to work the best on Agats kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
Can't wait to try out the new one :) Thanks again for all the extra time you have spent working on this
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Agat when am I going to get that new kernel.I'm having the no flashing blues.On a real note I really am glad that u test everything thoroughly
[Sprint Samsung Galaxy S 4 Original Android Develop] P.Mobile:
cant wait to try it!!
[Sprint Samsung Galaxy S 4 Original Android Develop] youngpro83:
What have you guys done for random reboots? I'm on ForceROM with no tweaks. Just the ROM and kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] kilthro:
I haven't experienced any random reboots on Blue Kuban and 3.0.

You run any log cats, or other programs to identify errors or hung apps/processes?
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
I also don't get many random reboots, maybe 3 times since June 3rd
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
Don't MAKE me install 030! If you don't update today then I will. Don't make me do it! Don't make me! Alright, be right back... Installing 030 until update later today. See what you made me do!? Lol
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
New one is out for testing.

I don't wanna rely on my tests only.

I hope to get some feed back later today and if no complaints from testers I'll post link in OP.
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
No issues, what are you focusing more on in the newer kernel?
[Sprint Samsung Galaxy S 4 Original Android Develop] nemesis93:
Out to public or only a selected few to test?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Source clean up.

OC'd to 2.3 GHz.

Edits to voltage table for more stability and better battery life. Right now I'm on 2 days 4 hrs and 18 min with 1.5 hrs of screen on time and 35 min voice calles. Battery left 10%. Running stock frequencies and voltage.

Enabled Dynamic File System sync.

Disabled couple of juice eating binaries.

Updated to Linux 3.4.49.

Some other stuff.....
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Out to few testers.

Once they confirm everything works and stable I'll make it public.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
No testing love for me? :confused::p
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Hey check your pm.We have technical difficulties
[Sprint Samsung Galaxy S 4 Original Android Develop] jsmcmahon89:
Looks good on my side too...

Scratch that I must've removed seandroid
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I did some edit's to defconfig and tried to take Sealinux out.

But couldn't do it completely. When I clean it up completely it breaks data and cell.

So I did few tests and took out as much as I could without breaking anything.

If it works for you guys, it's too soon to say with only 12-15 downloads than it's my phone after numerous bad flashes.

I guess I would have to do a full wipe and go back complete stock and start from scratch including root.

May be that would clean my phone.
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
You're workin that s4 over there
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
What? didn't understand what you mean..
[Sprint Samsung Galaxy S 4 Original Android Develop] TheZander:
Does your kernel have loop devices enabled?
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
I was just joking. Like you're kinda runnin stress tests on it
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
this is mostly stock kernel with few mainstream updates.

Most of the time I was working on that nasty pop up message.
[Sprint Samsung Galaxy S 4 Original Android Develop] lilmikeyv:
Agat...loved your work on the E4GT...and so glad to see you over here! You help our phones out immensely! Just flashed your kernel and now I can't use dialer codes(type in ##3282 and it just goes blank)...is this possible or did I do something else that I missed?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm on my 0.1.1 and just tried ##3282#.

Did work for me without any problems.

Went straight to new screen with 2 options

View

Edit.

Can't say anything about other codes but ##3282# works.
[Sprint Samsung Galaxy S 4 Original Android Develop] lilmikeyv:
Yeah...figured out think it might be some sort of conflict with the prl write enabler script and force rom...thanks again for the kernel! Oh and am I correct to assume that mms-dcvs is not available to use yet? I tried to enable it in rom toolbox and phone just reset immediately.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
As I said for now it's mostly stock.

More like prove of concept and and a base for future development.

Don't forget it's a Quad core processor and most of thing will need to be done from scratch.

E.G none of the known governors compiles with this kernel source.

I did edit the pegasusq and finanly was able to compile it but than I've got error in final kernel build stage.

So this will take a lot of time and I'm not sure what will work and what won't for some time.

New phone, new stuff more learning more reading more trying........:eek:
[Sprint Samsung Galaxy S 4 Original Android Develop] WMWolverine:
Anyway to get rid of the notifications? My checked boxes for checking of apps are unchecked but grayed out.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm using "Bloatware Freezer" to freeze SEAndroid app. It's a free app from play store.

That takes care of notification.

You can use any freezer app you like.

Hopefully I or someone else can fide what and where triggers that notification on source so can disable it.

Till than we should use freezer apps.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
I haven't had one notification band its been almost 2 days now
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
You must be the lucky one.

To make sure it's not my phone I did full reset yesterday and flashed full stock (rooted) tar including stock recovery and kernel.

Flashed recovery and than flashed kernel zip.

Got first notification within 10 min.

May be even root method makes difference.

Would you please let us know how did you root? How did you flash recovery (if any) and kernel and in what order?
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
I rooted my phone using motochopper.flashed oudhs recovery with odin.flashed unknown forces first rom version .1 or something like that.theni let it sit for 10 mins boot into recovery, wiped cache and dalviche reboot to system and its been fine
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
v0.1.2 is up and running.

Build with new MDL source.

Updated to Linux 3.4.4.

Was able to modify and add Ktoonservative governor along with SIO scheduler.

OP is updated.

Links posted.

We making slow progress.
[Sprint Samsung Galaxy S 4 Original Android Develop] Cloaker:
Thanks man!

Is it difficult to make it able to turn off vsync and implement a higher clock speed?
[Sprint Samsung Galaxy S 4 Original Android Develop] JasonJoel:
Installed 0.1.2. Everything working fine so far. Thanks.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
New kernel is great [MENTION=1528277]agat[/MENTION] I know why I wasnt getting those popups.Reason is Unknownforce took the app out of his rom.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Idont fret.I think my phone just doesn't like the new kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] P.Mobile:
maybe it likes mine!! can i give it a flash!!?:D
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Agat, check your PMs

last_kmsg attached.

Was fine for a bit. I noticed that the CPU scaling above 2.1Ghz was not working right. It shows up, but ended up counting DOWN the scale table instead of up.

Like 2.1Ghz was 2.1Ghz, but the next step up seemed to drop it below 2.1Ghz a step.

Then, the bootloop started. It was in a situation where you couldn't get into recovery (almost like a hot reboot). It didn't do it right away, but after about 10-15 sec from the initial lock screen. I was able to get in long enough to reboot to recovery and pull the log
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm at work and can't take a look at file attached.

How did you check frequencies?

I did a lot of test via adb and all frequencies were working all the way to 2268.

I would try to replicate all your steps and/or tests.

Can you give me bit more info please.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
I use System Tuner/CPUSpy/CPUSpy+/Stability Test to set, view, test.

SystemTuner is NOT set to re-apply CPU Freq changes on boot finish, so it wasn't an OC/UV issue (I don't UV). I regressed to 0.3.0 for now, you can look at the file when you can. I'd Pastebin it but its over the 500k limit.

I always clear cache/dalvik between flashes. It was running fine for maybe 30 mins and then started the hot bootloop.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
System Tuner and other CPU control apps are setting frequency for CPU 0 only.

I have tested System Tuner, Voltage Control, Tegrak, SetCPU. None of them affected CPU's 1-3. Only CPU 0.

I did check frequencies for different CPU's via adb.

So far I found only Kernel Tuner gives option to set frequencies for all 4 cores separately and those frequencies stick.

I'll go over you kmsg tonight when I get home and will try to figure out what is going on.

And I'll check the uploaded file and compare with zip I have on my HDD just to make sure it's not a bad upload.

I'm running same version for over 3 days now and didn't have a single reboot or any other other problem.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
We appreciate all the hard work Agat!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I need couple of more testers for my kernel before I make it public

Some of my testers have problems with it and I wanna make sure if it's a kernel or some other settings or roms.

I'm running plain stock rooted rom and don't have any problems.

So before I post it wanna give it more test.

PM me If you wanna give it a spin.

Edit: This is my last test run screen shots. I hope you guys will get similar results.

I know phone wasn't used much but there are no reboots and/or any other problems.
[Sprint Samsung Galaxy S 4 Original Android Develop] zackandethan:
Pm sent sir if ya still need it .
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Agat I noticed your CPU spy maxed at 1.8

Did you test at the higher speeds at all? I know the 0.3.0 2.1ghz was Ok. 0.3.1 at 2.3ghz was stable for a bit for me.

But the bootloop happened when not saving the oc (I don't report issues while oc'ed).

I'll try again here in a few with kernel tuner after I remove the system Tuner and other tools
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
yes I tried on 2.3. Running it now for over a day.

No reboots or anything else.

That test run has been done on Stock frequencies and voltage.

But I have tried all OC frequencies with almost every governor.

Did run them for 3-5 hrs and than change it.

After your report I OC'd it it max and running it ever sense..
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Gotcha. Did the kmsg give any insight as to what I experienced? I did get the 0.3.1 to boot and run for a bit before the looping started. And I'm running it now (just loaded it again) so I'll let ya know
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Didn't get anything from it yet.

Went thru most of it by now.

Will do it again tho.

I hope to get something from it.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Had another one. It seems to be tied to wifi and/or bluetooth. I went to view an embedded YouTube video and it rebooted. Came back up with "headphones disconnected" then attempted to wifi connect and looped. Clearing cache and dalvik fixed the issue. I pulled another Last_kmsg and will up it when I can.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I don't know what else can be done to kernel and I have no idea why it causes reboots for some and not others.

I made it public in my dev-host and you can find it in my signature in GS4 folder.

Any one who wanna give it a spin can download it from there.

When you give me a feed back please let me know what rom are you running, what other mods or tweaks you have, what frequencies, voltage, governors etc.

As much info as possible so we can try to figure out what is wrong.
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
I've been running the 3.1 test for about 15 hours now and I haven't had one reboot. Battery life is great as always. 13% left with 18 hours up time and 3 hours screen time.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
That's good.

But some of my testers have problems with it and I'm still unable to narrow it down and figure out what is causing it.

I have a very good performance and battery life as well.

So the problems should be rom or some other conditions related.

Hopefully with more use we will be able to do it..
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Here is the kmsg file I promised. Just as an FYI, I'm running stock MDL.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm running stock MDL as well.

Not even deodexed... Full stock.

Rooted thru my kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Same

[28310.516506] [3: kworker/3:0:27320] rpm_regulator_set_voltage: rpm_vreg_set_voltage failed, rc=-22
[28310.516597] [3: kworker/3:0:27320] acpuclk-8064 acpuclk-8064: vdd_mem (cpu3) increase failed (-22)
[28310.555660] [1:irq/319-mdm pbl: 70] mdm_pblrdy_change: pbl ready:0
[28310.616420] [3: kworker/3:0:27320] rpm_vreg_set_voltage: 8921_l24: request v=[1250000, 1150000] is outside allowed v=[750000, 1150000]
[28310.616512] [3: kworker/3:0:27320] rpm_regulator_set_voltage: rpm_vreg_set_voltage failed, rc=-22
[28310.616604] [3: kworker/3:0:27320] acpuclk-8064 acpuclk-8064: vdd_mem (cpu3) increase failed (-22)

That's repeated over and over in the New kmsg if that helps.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I saw that too.

It was in previous one as well.

It looks like the voltage can't be set as needed.

I did modify voltage table to work with OC that's the different range.

I don't know why it happens because it works here just fine and never had a problem with it.

Had a problem with lower voltages and phone couldn't handle the high frequencies. Not enough juice.

But since I changed it it runs great.

Now the kernel is available to everyone thru my dev-host and hopefully with more feed back we will be able to narrow the problem down.

I'm out of ideas as of right now and can't do anything else to kernel until we clear this first....
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
I'm running 0.3.1 right now. It's weird. Once it stated looping a clearing of cache and dalvik fixed it. Let me know if you need me to test something particular. Have nandroid, will flash is my motto!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Just run it as long as you can.

Pay attention to your frequencies, governor, schedulers and such.

If at least we can figure out when it's rebooting under what conditions may be we will be able to fix it.

Right now I just don't have enough info to work with.

And the worse part it that I can't replicate the reboot.

I did run on max frequencies for over a day.

Did set low frequencies to the bottom as well.

Watched movies. Make photos and videos. Synced my music etc.

It works on my phone no matter what I do.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Its bluetooth. The moment I turned it on (didn't even connect to my speakers, just turned it on) it rebooted.

Clearing cache (didn't clear dalvik this time) stopped the loop. I'll see if I can't live log it later today via adb and force it to happen.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Well that was a fail. bt seems fine now. Fuuuuuh. Back to square one.