yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
I pumped up the screen shots in the OP a little bit to showcase the ROM's features :)

I have to do what I can to compete with the big boys in the ROM arena! ha ha!
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
Lost only like 3 or 4 percent overnight with low gear... and have 1 hour on screen w/ 10.5 hours on battery(72%)... I think its working :)
[Sprint Samsung Galaxy S 4 Android Development] Jim M:
Swappiness

Yesterday I dirty installed the second v04 over a dirty install of the first v04, which was installed over a clean installed v03.

I too have the problem of Swappiness not holding the settings after a reboot, always goes back to 40

I am going to do a clean install of v04 and will report back.

This is the only thing I've seen that's not working for me.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
One thing to note: The difference in the two v04 versions is the older one had a sleep timer of 120 secs before it moved the slider. The newer one, in an effort to combat this problem, has a sleep timer of 240 secs. So you won't see that slider move right away after booting. Give it a few minutes.
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
My dirty flash of new v04 over v03 the swappiness is always 40. I don't mind manually changing it if it means I don't have to clean install right now lol just got it all setup recently don't want to do it again yet
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Wipe /system /cache /dalvik. Your apps, data, and home screen will be fine when you get back.

Sent from the rabbit hole.
[Sprint Samsung Galaxy S 4 Android Development] Jim M:
All is well

After a clean install of the most recent v04.zip all is well. Everything working, no problems. 4G LTE connects, WiFi holding settings. Swappiness returns to value of 100 after reboot (yes I know about the delay after a boot).

Thanks for the constant attention to your ROM, you are ONE OF THE BIG GUYS! :laugh:
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I had issues with reboots on the turbo profile. So I decided to try the low gear. Should swappiness be @ 100 for both profiles?
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Yes. there is no reason to change anything in z-ram as I've said before. also low gear is designed for battery over performance. I would suggest running the default profile.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I am having an issue with my ereader app. I use aldiko premium. In v03 it worked fine pressing the right side of the screen worked to change pages. However after updating to version 04. No book will work properly. It will change pages one time then upon trying to turn the page again it jumps back to a page you just read. I have tried removing the app clearing cache and data. Nothing seems to fix this problem.

Also when pressing and holding the home screen button I get the 4 in 1 reboot instead of the running apps like before
[Sprint Samsung Galaxy S 4 Android Development] ryan2202:
I was using an older Philz version. The new version flashed ok.

But I seem to have an issue with WIFI. I flashed the MK2 modem and have 3G/4G data and able to turn on/off WIFI. But after I select an AP, and enter the password, it just keeps cycling through saying "connecting, obtaining IP address, saved and secured" It keeps cycling through that process and never actually connects. I know the AP is working because I was connected before trying to flash. Any suggestions?
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
click "show password" and make sure your password is correct. There's never been an issue with this in the past. Try reflashing KT's latest kernel. WiFi problems are kernel related. Not ROM related.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
If you dirty flashed then you're one of the many that seem to have issues with doing this kind of update. Please wipe /system /cache /dalvik in recovery. then reflash this ROM.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I have a clean install. At first directly after initial setup pressing and holding the home screen button worked properly. Now after it has set for awhile it is again bringing up the power menu. And also still having an issue with Aldiko.

edit:

After trying a clean install (twice) I restored a backup of via and Aldiko is working fine now. I'm curious about what in v04 could be causing an issue. V01 - v03 worked great for me.
[Sprint Samsung Galaxy S 4 Android Development] iTbagdUrMac:
Day 3 report.

I did a clean install on my s4. Everything working flawlessly. Running low gear. Loving it. I haven't tried turbo profile yet.

I believe something was left over from v02 when I was trying to dirty flash. I came from a clean v02 to dirty v03 to dirty v04. The reason I believe this is because I dirty flashed my brother's s4 who did a clean install of v03 to dirty flashed v04 and everything is working properly on his s4.

I am by no means condoning dirty flashing. If the user does dirty flash, and has an issue, I hope said user would have enough respect for rawintellect 's time to try a CLEAN install before asking questions about issues. I know I caused some wasted time and apologize. I should have just wiped everything after I saw the swappiness issue.

I really appreciate everything you've done rawintellect. This is the only rom I've seen that is 100% functional with a clean install. I can not find any issues so far after the clean install.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Well...I found one small issue that isn't noticable by anyone except me lol! And it can be fixed with this zip (it's already fixed in v05): I fixed a conflict in init.d scripts that caused the device to run slower than anticipated. I'm updating the "flashable zips" section in the OP with it too!

In short, just flash this zip and you will notice you're phone is even more snappy!There is no need to wipe anything lol!: Conflicting init.d fix.zip
[Sprint Samsung Galaxy S 4 Android Development] iTbagdUrMac:
So now it is 100% :D
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
So conflitinginit.d fix.zip will take us back to your hyper performance(s)?

I don't give much of a rip about battery; I can adjust other things.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Ummhmm. The problem is barely noticeable. I only caught it because I happened to have been looking at the sd read-ahead.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Indeed.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
I was able to reproduce the problem with the pages looping but NOT the 4 in 1 reboot menu. Do you have the default action changed in wanam xposed? or some xposed module?

I DID however install Google Play Books. The pages turned just fine.

Then I went and read the reviews of aldiko. There are MANY issues with that app. I then took out the only two changes I made to video performance. It is still looping in pages.

I'm sorry but I have a hard time believing that a release in which I changed only z-ram and edited /system/lib/egl and removed libGLES_android.so for better 2d performance could have caused this issue. Especially when I changed them back and the problem persists.

Everything else regarding graphical performance is exactly the same. I'm sorry you're having so many issues with my ROM but really you seem to be the only one with so many problems. Maybe try another ROM and see if that works for you? Perhaps it's an MK2 issue and aldiko?

It took me well over 2 hrs to research this problem. I'm not just being flippant and dismissing you. I've done all I could sir.

If you choose to stay with my ROM maybe download the books with aldiko and READ them with Google Play Books? it seems like a viable solution to me.

and now...I'm going to bed. 21 hrs no sleep and I work nights.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I thank you for looking into the issue. I do not think it's an MK2 issue. I am on V02 currently (downgraded after the issues) and Aldiko is working just fine. I will continue to stick with this ROM as I think it's the only viable rom out there.
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
Should Turbo ZRAM be asking which type of ZRAM to use? I've tried selecting either option, the baked in and the module variant but it's not moving on to another screen.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
No. Please wipe /system /cache and /dalvik and then install again. it should NOT ask you what type of ZRAM to use. This indicates the install did not go properly. If you manually installed it yes. It would have asked you. The proper answer to it for a manual install is baked in. But as I said you should have never have seen that at all.
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
Alrighty. And that's the steps I tried before posting, as I've been following the thread. In fact I've been sure to wipe all three of those twice. Eh, I'll try again with a reboot to recovery thrown in between wipes for good measure.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Ok my OCD kicked in and I refused to give up. It seems that app has been around a long time so I figured that it didn't like one of my GPU tweaks. I put in several GPU tweaks in build.prop to compliment the changes with ZRAM and the egl edits. I was shocked to find out that one of them didn't play well with Aldiko...soooo there's always more than one way to skin a cat and I just used an older tweak that accomplishes the same thing.

If I were you I'd seriously consider switching e-readers in the near future. I'm betting the next version of this phone won't run it at all.

In either case you're good to go. Just flash this after wiping /system /cache /dalvik and reinstalling v04 and all should be well. I tested this on my own phone and it totally fixed the problem the first try.

I'll also update the flashable zips section for anyone else running that e-reader and of course I already fixed it in v05.

And now I really AM going to bed. I have to get up in 5 hrs.

Aldiko hw fix for v04.zip
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
I can assure you that you should never see that message. I just wiped my phone again testing the aforementioned e-reader problem and read your problem as I was resolving this. So I figured I'd take a peek at ZRAM to see if it was a problem on a clean install and it wasn't. I saw no message asking what type of ZRAM. All is as it was when I was testing v04.
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
I think I'm going to have to go for a full wipe to resolve it. At some point this weekend I'll give that a shot, as wiping /system /cache /delvik isn't doing it for me. C'est la vie.
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
I also got that message when starting up the ZRam app, at this point is it worth just clean flashing the update?
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
It appears to be grumpiness over the version of busybox. I think it may have been Titanium Backup that installed whatever version is in place? It eventually popped up a message about installing a custom version of busybox for its own use, and now appears to be functional.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
yes it requires it's own busybox which is installed with my ROM. It's installed in it's own directory. It has nothing to do with the busybox that's in sbin or xbin. if it was a busybox issue it would have said that during the initial screen and rebooted. it's asking which version of ZRAM you have. That's a separate issue entirely.

When you install the ROM it copies the custom busybox binary to /system/bbsiyahmods. It sets the proper permissions via chown and chmod. If it wasn't there, the flash of the ROM failed. Other people are installing this just fine. You had something else going on. And if you did manually install ZRAM the script will not set swappiness to 100% nor set the amount to 2048.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
also...if wiping /system /cache and /dalvik didn't work for you then you had something in /data that's causing this issue. namely some app. Wiping /system wipes EVERYTHING recursively. There's NOTHING left. cache and dalvik are just to be safe. There's no logical reason wiping /system wouldn't fix the issue unless something in /data (an app) was conflicting with the ROMs install. It's the ONLY thing that's left.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
I honestly wish more people would come forward to confirm whether this works for them or not. I understand that no news is good news but not in this case when you're trying to prove a concept to people who would flash this ROM. To the people that have come forward saying that it works for them I thank you your input is very valuable to me! Its just at this stage I wish more people would come forward with results.

207 downloads on the first version of v04. 317 downloads on the second version of v04 and only 3 people came forward to say that this worked. I don't ask for a lot but a little input would help. When you listen to music that you liked on Pandora you give it a thumbs up so Pandora knows to play more of that type of music for you. Well, if I don't get feedback how do I know that it works for you?

Sent from the rabbit hole.
[Sprint Samsung Galaxy S 4 Android Development] Danster840:
I've only ever had 2 issues with the ROM, any version and the second issue was totally in my hands so most of the fixes like the 2 min to 4 min timer is like a placebo to me and which I don't respond. Not justifying myself just, well responding with a stability report :P. And of course you know I've been in your rabbit hole from the beginning lol.

P.s. The first issue was the deodex wallet fix incase you wonder what the first issue that was out of my hands was.
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
Indeed, that is what's left, something within data. A manual install of ZRAM includes what exactly? At this point I choose the built in option from the prompts (after having opened the app for the first time) and it eventually downloaded a version of busybox. Looking at the settings it's showing a size of 2048 and swappiness of 100 in the slider. Based on what's been mentioned are the correct settings it seems like it's it should be. To be fair, I'm not overly stressed over it. v.03 had a fairly good battery life (better than the true stock for me). The ROM itself and my phone function the way I'd like so I'm happy. I'm contemplating running the low gear settings, but as it stands now the battery life is working for me. At some point this weekend I'll have enough time to rebuild the phone from scratch and we'll see what happens.
[Sprint Samsung Galaxy S 4 Android Development] frostedunit:
This ROM rocks! Even though it's built by someone from ****tsburgh.

I also had the problem with Zram asking for baked in or module but only in the first incarnation of v04.
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
At 24% battery, 1 day 1 and a half hours on battery and 2 and a half hours on screen time. loving these settings :) on v04 dirty flashed over v03 so have those few issues people are reporting from the dirty flash. will do the /system and stuff wipe later on to get the zRAM app to work right without me having to change it.
[Sprint Samsung Galaxy S 4 Android Development] Jim M:
I only had problems when I dirty flashed. One strange thing today is I didn't get 4G LTE service when I went through an area where I usually connect, could have been Sprint. I'll check again when I'm out again.

This ROM rocks and I've tried several others. Your devotion to it and us is very much appreciated. Thank you.
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
Okay flashed v4 (v2) last night.

Followed rawintellect's install instructions to the letter (latest Philz, multiple wipes etc.) but added a reboot of recovery before flashing.

Install went okay. First boot took a while as expected. After first boot, during phone setup (WiFi connection) got a reboot. No biggie, after that restarted setup and walked through all the accounts stuff (I use two-step authentication so I have to do some more hoop jumping but all good).

Then the joy of Playstore installing ALL my apps whethere I want them or not - this too is really no big deal; I'll de-bloat via Titanium later, so just wait for all that to install.

Open busybox and make sure it's updated. Same for SuperSU.

Checked zram stuff looks okay to me.

Configure/install Dolphin browser and flash.

Update add blocking via Adaway as per instructions.

Then on to deleting stuff I don't want (many apps playstore restored I don't use and some others).

Then use Titanium to restore 'data only' to various applications (mms and call logs, kindle, etc.) Titanium requires reboot of course to use the right ID.

Restore my launcher (Nova) and it's backup (Nova can now backup natively to externalSD).

Then to do my stuff - add ability to silence camera via adding info to features.xml in csc, copy my custom sounds to media/ui, notifications, ringtones directories.

Delete loads of 'noise' - boot/startup/shutdown/charge connections etc. sounds. Configured Viper - I have a huge ViperKernel folder I copy over for different profiles/settings; those can be found on that thread)

Added Volume_Boosting_Sound_VERSION_2_VERY_LOUD.zip mod (it's around here somewhere).

Reboot and adjust apps/settings accordingly. Greenify some set privacy etc.

I don't use Pandora, but I have loads of music I sync to my players via iSyncr app or just copying over to ExternalSD.

This afternoon flashed the Confilctinginid fix.zip but didn't notice anything (raw said as much too).

Looks to be my daily for a while. I'll check on battery in the next couple, but I'm not, as I often mentioned, really concerned about battery.

Can't upload photos right now but all is GREAT.

@rawintellect this is a FANTASTIC build THANK YOU!
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
Thank you very much for helping me with this issue. It really means alot. Now I have another issue but at the same time Im not positive its a ROM issue. I have no roaming features (see screenshots). Unfortunately I live in an area that I rely on roaming for phone calls and texting. Was working fine in V03. I have attempted reflashing the Radio from unknownforce thread to no avail. I think maybe I will need to drive into town to get the menu option to ungrey itself so I can access the roaming settings? I also wiped cache and dalvik and attempted to flash again. Still didn't ungrey.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
your radio/network is off. I'm looking right at it. if you go back a few pages you'll see that roaming works on my phone just fine. try to reinstall KT's kernel.

Edit: One more thing, WiFi problems are kernel issues. Not the ROM. I'm not sure if you come here because you genuinely think it's my ROM causing all of your issues or you come here because I give answers. In either case I am not all of XDA. Please learn to branch out and explore answers on XDA before immediately assuming it's a ROM issue. Yes this ROM uses Ktoonsez's kernel. However I didn't write the kernel and the developer of the kernel has a whole thread devoted (just like this one) to supporting what he's developed.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I apologize rawintellect but I dont see where my network is turned off. Also its not a wifi issue that im having in the screenshots I sent I am connected to wifi just fine. If you were referring to the signal bars in the notification panel they are "no signal" not "network off" thats why I am trying to make my phone roam. However the menu option is greyed out.
[Sprint Samsung Galaxy S 4 Android Development] Ophbalance:
Alrighty, wiped everything (/system, /data) and started from scratch. It worked as expected (ZRAM that is) and I almost have everything back in place as far as apps go
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
WIFI and your 'signal bars' come from the same place. The kernel. Not my ROM. Note I said your radio is off. Not just your wifi. It is all of your kernel. The menu option is greyed out because your radio is off. Hence the big red x over your radio. And your lack of 'signal bars'.Also there is never any need to reflash the modem once its installed. Your kernel however can become corrupt for many reasons.

Again this is not caused by my ROM.

For your reference please find screenshots of a fresh install of v04. Note that my radio works. Note that my roaming works.

Sent from the rabbit hole.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
and to confirm this I took screenshots of the very first time I opened ZRAM with a fresh install I did last night. Note it never asked me whether I wanted baked in or module ZRAM. It never asked me to install busy box. It simply works. As designed.
[Sprint Samsung Galaxy S 4 Android Development] LouRock:
My bad if this has already been covered but is the stock kernel an option for this rom?
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
No but you are welcome to flash unknownforce's modified stock kernel. But I don't believe it includes ZRAM and hence the ZRAM function will be useless in this ROM.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
well I reflashed the kernel two times and no luck. so im going to head into town now and attempt to pick up a sprint tower. maybe those options arnt there because its never been on its home network since installing v04. idk
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
Okay so now I am in town with a 4G signal. Could it still be the kernel at this point for why no roaming options are ?
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Hmmm It's odd that your roaming menu isn't there at all. I honestly am stumped. A clean flash of this ROM (which I do every time I research an issue) has never incurred this issue.

Is anyone else having this problem?

You don't have a Tethering menu either. Do you have a sim card in your phone or is your sim card faulty? I saw this happen when there's no sim card in the phone or the phone was flashed to a different network. Search this thread there was a person that had these very same symptoms.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
I do have a sim card inserted. I dont believe it is faulty either. As I had no issues at all with V03 I am going to clean and flash again.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Ok but this doesn't make any logical sense. there's now over 600 downloads of v04. No one is reporting a missing menu or roaming issues. I certainly have never had this problem myself and I flash this clean at least once a day to test various mods and/or problems. so I really don't know what else to say.

When you clean wipe do you follow my OP's instructions on how to wipe and install? That is, do you wipe everything? /data included?
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
I don't use roaming but can confirm on a dirty flash of v04 the menu is there for me.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Thank you! :cyclops:
[Sprint Samsung Galaxy S 4 Android Development] xchampx13:
I am going to be clean flashing v04 soon, just need to backup all my things.
[Sprint Samsung Galaxy S 4 Android Development] rrbailey89:
Okay so I backed up /data then did a clean install and roaming was there. After restoring data it went away. I have no idea what I have in my /data that could be causing this! Definitely not a ROM issue though.
[Sprint Samsung Galaxy S 4 Android Development] rawintellect:
Eureka! I'm guessing you should restore your backup...then uninstall each app you've added on top of this ROM until you find the offending app.