yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
TO SEE SCREENSHOTS, CLICK HERE!

---------------------------------------------------------------------------------------------------------------------------------------------------​

​

XDA:DevDB Information

[RoM]&[KERNEL]&[RECOVERY]SHOstock-i, ROM for the AT&T Samsung Galaxy S 4

Contributors

shoman94, jeboo

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Custom Recovery

Based On: TouchWiz

Version Information

Status: Beta

Current Stable Version: 8.1

Stable Release Date: 2014-07-28

Created 2013-10-04

Last Updated 2014-10-30
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
CHANGE-LOG​
[AT&T Samsung Galaxy S 4 Android Development] jeboo:
Officially supported Kernel

DISCLAIMER: IF YOUR PHONE HAS MF3+ BOOTLOADERS, YOU MUST RUN THE MF3+ STOCK KERNEL. DO NOT TRY INSTALLING ANYTHING BELOW UNLESS YOU HAVE MDB/MDL BOOTLOADERS THAT SUPPORT LOKI!!

This is the official kernel repository for this ROM. All binaries will be posted here; this includes versions released bundled with the ROM and updates that may occur between ROM releases.

All binaries posted here will be loki'd (as signified by the .lok extension).

Thanks to ktoonsez for the handy build script, djrbliss for his excellent exploit, and all the other kernel devs on github!

This kernel can be freely used in other ROMs! Just give proper credit please :)

DOWNLOAD: http://d-h.st/OzS

Install instructions:

Flash the zip using any non-stock recovery.

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

Version History:

v3.1 (3/27/14):

- Phone can now be charged when powered off (Fenny)

v3.0a

- Fixed ext sdcard permission in initramfs (Team CM)

v3.0

- Rebased to NB1 source

- NB1 initramfs with wanam fix

- gcc 4.7

v2.2

- Fixed slow-mo recording finally! (ktoonsez)

v2.1

- Rebased with i337 MK2 source

- re-enabled mpdecision in initramfs so CPUs 1-3 will go offline

v2.0

- Rebased with i337 MJ9 source

- initramfs from ktoonsez

v1.5

- Replaced exfat.fuse support with native Samsung exfat driver (1.2.4)

- Fixed 'Upgrading firmware' message in camera (noobnl)

v1.4

- Rebased with MF3 source

- Reverted UC/OC/UV support (temporarily)

v1.3a

- Fixed version string..

v1.3

- Added UV, UC/OC support (ktoonsez)

v1.2

- Fixed exfat support and updated busybox (ktoonsez/Talustus)

v1.1

- Added init.d support

v1.0

- Built from initial Samsung stock source

- Replaced adb with unsecure version (ktoonsez)

- Enabled exfat drivers (AndreiLux)

- Using wonderfully crafted build/package script (ktoonsez)

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

Old versions: http://d-h.st/users/jeboo/?fld_id=17321#files

Old z-patched versions:

Latest (XXUFNB8): http://d-h.st/EsD

Old (XXUFNAD): http://d-h.st/mxm

Old (UCUFMLD) http://d-h.st/oUC

Kernel github: https://github.com/jeboo/kernel_KK_i9505_NB8

initramfs github: https://github.com/jeboo/initramfs_KK_i337_ATT_NB1

Building tutorial: Coming soon!
[AT&T Samsung Galaxy S 4 Android Development] jeboo:
Officially supported Recovery

DISCLAIMER: IF YOUR PHONE HAS MF3+ BOOTLOADERS, DO NOT TRY INSTALLING ANYTHING BELOW. ONLY INSTALL WHAT'S BELOW IF YOU HAVE MDB/MDL BOOTLOADERS THAT SUPPORT LOKI!!

This post will serve as the recovery repository for this ROM. All binaries will be posted here; this includes versions released bundled with the ROM and updates that may occur between ROM releases. A big thanks goes out to the CWM team, Jank4AU for the gfx, and the many devs that make recovery exciting!

All binaries posted here will be loki'd (as signified by the .lok extension).

Install instructions: If you are already running a non-stock recovery, simply flash the zip below.

DOWNLOAD: http://d-h.st/luE

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

Version History:

v2.7

- Fixed exfat support

- CWM 6.0.5.1

- Patches up to 9/14/14

v2.6:

- CWM 6.0.5.0

- Patches up to 7/20/14

v2.5

- CWM 6.0.4.9

- Patches up to 6/14/14

v2.4

- Incremental update, patches up to 5/16/14

v2.3

- Fixed time/date when doing backups! (Tasssadar)

- Patches up to 4/15/14

v2.2

- Patches up to 3/20/14

v2.1

- Patches up to 2/19/14

- *New script format is not supported yet. The new updater binary causes problems, so I reverted it to a known working version.

v2.0

- Incremental update to 6.0.4.7 (patches up to 2/8)

v1.4a

- Incremental update to 6.0.4.7 (patches up to 1/31)

v1.4

- Updated CWM patches to 12/30

v1.3a

- No code changes, just built using CM 11 codebase

1.3

- Rebased to CWM 6.0.4.5

- Removed annoying/useless prompt when rebooting

1.2

- Rebased to CWM 6.0.4.3

- Now supports Auto-Loki (enable it in advanced menu) (CM)

1.1

- Rebased to CWM 6.0.3.6

- Replaced exfat.fuse support with Samsung exfat driver (1.2.4)

1.0

- Initial release, based upon CWM 6.0.3.2

- Added touch code with gesture support (gweedo767)

- Added exfat support (ktoonsez/Talustus)

- Sweet graphics by Jank4AU

- adb (unsecure) support

- Added 'Power Off' and 'Reboot to Download' menu options

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

CWM Github: https://github.com/jeboo/android_bootable_recovery/tree/cm-11.0
[AT&T Samsung Galaxy S 4 Android Development] rav4kar:
Long awaited! Finally here#
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
lol... there really isn't anything wrong with MF3... some people just have to be on the latest from Samsung.
[AT&T Samsung Galaxy S 4 Android Development] hherbzilla:
What do I gain/lose over MF3?

OK, I feel like an idiot asking, but what do I gain or lose running this instead of SHOstock 2.3 that I already have on my S4?
[AT&T Samsung Galaxy S 4 Android Development] jeboo:
This thread will use ROMs based off the i9505, which receives updates far more often than the i337 (from ATT). As for features, you'll have to follow the OP (sho knows this better than I do).
[AT&T Samsung Galaxy S 4 Android Development] Airtioteclint:
The ability to switch from lte/gsm/wcdma to just gsm/wcdma and the screen timeout has the 2 minute option where on att firmware its only 1 minute or 3. Those are important to me, if not for you don't switch.
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
ROM download available
[AT&T Samsung Galaxy S 4 Android Development] rav4kar:
You can try 3minit...:sly: You can try i9505 kernels...I have one glitch with MF3 ( flipboard turns on air view automatically) but not on i9505 ROMs. Personally I liked i9505 ROMs than MF3 as far as I have tried.
[AT&T Samsung Galaxy S 4 Android Development] ronnie498:
Sho great job on the new release....

Sent from my SAMSUNG-SGH-I337 using Forum Runner
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Thanks.... running great for me....:cool:
[AT&T Samsung Galaxy S 4 Android Development] RockRatt:
I am downloading this now to try it out as well. Thanks Sho for another great option.

But another thing I LIKE about international Roms is some sites (I won't mention what kind of sites lol) switch to the MOBILE VERSION of the web no matter if you have the browser set to DESKTOP on ATT Roms. BUT on international Roms if you set your browser (I use Dolphin HD or whatever it is called now) to DESKTOP you don't get the MOBILE version of the site. So p++n works better :) OOPS I let it slip

Sent From My Spiderman Themed I337
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
lol... I'm glad that is a feature of using intl base. .. thanks for the heads up! :o
[AT&T Samsung Galaxy S 4 Android Development] ALLDAT:
Thanks Sho

Having a sync error with Gmail. Everything else seems to be working fine and even RockRatt theme is working fine on this building. I did try unistalling the acct and it didn't work but i do have Gmail emails and google play is working fine as well. Also my contacts wont display the names just the numbers
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
I'm not using that app (I'm using squeaky mail )but I did during testing and it was fine. I'll have to load it up again just to see but I don't see why it wouldn't if everything else google is syncing.
[AT&T Samsung Galaxy S 4 Android Development] sykoj82:
I Like the intl base better. Great work sho!
[AT&T Samsung Galaxy S 4 Android Development] rav4kar:
Android OS tops for some reasons. ..I got to figure out later. BBS shows "alarm" and "suspend backoff" under kernel and nothing much under partial wake. Drain seems tad faster than mf3 for me.
[AT&T Samsung Galaxy S 4 Android Development] c0ldburn3r:
Promised myself I wouldn't change rom's since mf3 was so stable..... and here I am. :p
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
It's there.... :what:
[AT&T Samsung Galaxy S 4 Android Development] RockRatt:
I have it as well. I was just hoping to clarify what he was asking.

Sent From My Spiderman Themed I337
[AT&T Samsung Galaxy S 4 Android Development] RockRatt:
Selfless plug here, I have made a NEW theme "IronMan" here http://xdaforums.com/showthread.php?p=45050086 for anyone to check it out.

This now makes a total of themes for any i337 (Dark Blue, Red, Spiderman, Green, GreyedOut,, and IronMan BadAss Themes). Hope others can enjoy them. And THANKS Sho and Jeboo for making a great rom to continue to work with :)

Sent from My Spiderman/IronMan/Dark Blue/Red/Green/GreyedOut BadAss Themed I337
[AT&T Samsung Galaxy S 4 Android Development] jerrychasta:
This rom, autism kernel and 4x turbo zram. Is very snappy and smooth. Thanks for this great rom. Flawless.
[AT&T Samsung Galaxy S 4 Android Development] VICIOUSVIC1:
Will Shostock be updated to 4.4? We missed all the 4.3 action just hoping
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Samsung hasn't even released 4.3 yet..... :what:
[AT&T Samsung Galaxy S 4 Android Development] nyydynasty:
yessir! :)

Since 1.1, the LWP Picker crashes when I select it. I'm redownloading and going to try another clean flash.

UPDATE: downloading the FULL v1.2 file (instead of the 1.1 & 1.2 update files) seems to have fixed it.
[AT&T Samsung Galaxy S 4 Android Development] nhugh406:
Unfortunately, I received the below fc when access contacts. This is a fresh/clean install.
[AT&T Samsung Galaxy S 4 Android Development] AxAtAx:
Remove google email account, and re-setup, jump back and forth on the phone app and the contact app, it will work....been there done that....

Good luck.
[AT&T Samsung Galaxy S 4 Android Development] mgfjd:
http://www.xda-developers.com/android/official-android-4-3-i9505xxuemj5-firmware-for-the-galaxy-s-4/

They just did. Lol
[AT&T Samsung Galaxy S 4 Android Development] VICIOUSVIC1:
Thought they did not to long ago but I guess I was reading the wrong article. My bad Sho hope to get a taste of Kitkat I also read it would be on S4 but I could be wrong again
[AT&T Samsung Galaxy S 4 Android Development] ldkud50:
Looks like its out for the German market http://www.sammobile.com/2013/10/17/samsung-galaxy-s4-lte-gt-i9505-receives-official-android-4-3-update/
[AT&T Samsung Galaxy S 4 Android Development] pinoymutt:
MJ5 (Official for intl) just dropped today. GAT ROM in the forum is running on the earlier MJ3 leak, so I figure it'll be before long other ROMs start popping up.

I think the big thing is the kernel on 4.3 - some of the leaks were using KT's kernel, but I think I'll hold out for SHO and Jeboo to work some magic on the latest one before I bite....
[AT&T Samsung Galaxy S 4 Android Development] princecharlsy:
Jeboo kernel

hey guys, im new to android. i recently installed SHOSTOCK w/ the mf3 kernel via safestrap. i was wondering how can i install the JEBOO kernel or i cant do that when im on mf3? appreciate the help. thank you
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
You can't with MF3 based phone.
[AT&T Samsung Galaxy S 4 Android Development] princecharlsy:
thanks sir. im confused, why do they put this on their signature then?

Phone: Samsung Galaxy S4 (i337) on AT&T

ROM: SHOstock-i v1.2 (ZHUDMI1-4.2.2)

Kernel: jeboo 1.5

Modem: UCUAMF3
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
I'm not sure if this has been asked before (probably), but I wasn't sure what to search for and what I did search for returned nothing.

I have

a thread

open dealing with an issue that I'm pretty sure is not directly related to this ROM, since this ROM has been great and no one else here has complained of the issue (that I can see).

Is there any way I can use

CPU Adjuster

? It is telling me the kernel is not supported. Does this ROM not have the ability to change the CPU clock speeds?
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
I have seen this on occasion as well
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
I really hope it's not the ROM. I'm not sure how to resolve it though, I have been dealing with this issue for nearly a year now with the SHOstock ROMs (but I have never tried another ROM <3). I was going to try to play around with the CPU clock speeds when it's idle to see if that made a difference.
[AT&T Samsung Galaxy S 4 Android Development] Red_81:
I had the same issue on the att version of the rom but it was too random to get logs. I haven't experienced it on the international version yet.
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
Same here. I agree about the randomness. I don't want to say it's kernel related because I'm not sure but for it having to do with the screen waking I don't know much else that could affect that. As stated above, is the exact same way it happens to me. I'll receive a text. I can wake the phone to see who it was in the lock screen then let it time out and occasionally when I pick it back up to reply it won't turn on until several attempts later if it does at all, but it's not every time
[AT&T Samsung Galaxy S 4 Android Development] Red_81:
Curious... Do you have the 32gb or the 16gb?
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
That is the exact issue. I guess I'm not alone here. I tried log the processes to see if something was hanging to causing a CPU spike right when I wake the screen but I didn't see anything jump at me. The ONLY thing that I have not tried or been able to really test is to see if maybe it was a specific app that I installed which is conflicting with something. That would of course mean you have it installed too. Really reaching at this point though. This has just been so frustrating and I've run out of ideas so that's why I'm here.

---------- Post added at 05:41 PM ---------- Previous post was at 05:40 PM ----------

I have 32gb.
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Guys the kernel is a stock kernel that is not intended for ANY modifications to the scheduler, governor or any other altering method. Its made to be used as is. If you want to mess around with parameters then you need to use a custom kernel intended to be messed with.

CPU adjuster doesn't have support because this kernel is not intended to be messed with.
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
That is the not the cause of the issue, using that tool was a potential solution. I wanted to see what would happen if I prevented the CPU from under-clocking when the screen was off to see if that would prevent the problem. I have not been able to, so your answer makes sense.

This is the thread they are referring to: http://xdaforums.com/showthread.php?t=2778208
[AT&T Samsung Galaxy S 4 Android Development] Red_81:
Sho, has me there. I did adjust my cpu on the att version because waze would cause my phone to overheat.
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
My question was answered by Sho, which is what I cam here for. I am not confident that the issue is with the ROM. There is obviously something to it if I'm not the only one though. I don't want to bother Sho if the issue is not with the ROM/Kernel. Since I have not made any modifications to the clock speeds and we both had the same issue then it's safe to assume that has nothing to do with it.
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
32

I was with red on the fact that it happened more on the other version, hadn't happened on this update for me but I wasn't modifying anything in it personally when it did. I don't use CPU adjusters unless I am running a custom kernel and I meant no disrespect to either dev here.
[AT&T Samsung Galaxy S 4 Android Development] markbc01:
- Puzzling, since I was using 6.1, and not making ANY kernel adjustments at all. Yet I also had wake up problems sporadically (ok, a couple of times. . ) on/after calls and also had a "won't wake up" screen once or twice when trying to unlock the screen while using skiplock (SL) app.

I initially attributed the problems to SL, but the "can't wake after screen off in call" occurred again once while inside my SL recognized wifi network where SL should have been idle.. . . Still not sure if it was Skiplock or not.

I did uninstall SL for a while and had no incidents (but also no calls!) so not sure really if it is the app-rom conflict or something else. . . Sorry if this muddies the waters. . .:confused:
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Are any of you using any xposed? Have any of you tried another TW ROM?

Anyone able to get any logcats?
[AT&T Samsung Galaxy S 4 Android Development] Red_81:
No xposed her. Your two roms are the only ones I have used. I was always unable to grab a logcat. I would open alogcat right after it finished booting but I would miss any relevant data. Is there a better way to do it?
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
I may be wrong here but yours occurring during/after calls sounds more like a dirty proximity sensor. Either on the glass or underneath which requires some compressed air blown in through the speaker. You can find a few posts/threads about that.

---------- Post added at 07:33 AM ---------- Previous post was at 07:31 AM ----------

Is the "last kmessage" thing only with custom kernels? I know I've seen somewhere that requested pulled after a reboot
[AT&T Samsung Galaxy S 4 Android Development] Teknodad1974:
My magnetic sensor is not working also I am noticing low volume when I use Poweramp for music playback.. Anyone else or ideas?
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
Well interesting, lol, when I use the *#0*# and go into sensors I have a varying magnetic reading, but when I enter the test I too get fail and no data. Not sure but that seems a little buggy to have readings and then self test and it has none. What is that sensor used for?
[AT&T Samsung Galaxy S 4 Android Development] markbc01:
Thank you. . .I've seen the posts on cleaning the proximity sensor, but I just did not connect the dots! :o

. . . That's a good thing for me to try and I will! . . . Thank you again :fingers-crossed:
[AT&T Samsung Galaxy S 4 Android Development] XGhozt:
I have the same issue, my proximity sensor is functional. Sometimes I cannot end the call because the screen won't come back on. This is related to the same wake issue.
[AT&T Samsung Galaxy S 4 Android Development] twcobra:
I was using xposed with you ROM with no problems. But can't get a logcat since I am playing in the CM11 sandbox right now with 4.4.3. So far the new Google fixes are very promissing. My camera performance for the first time on a AOSP base Rom is blowing away all the Touchwiz Roms I have tried. When the 4.4.3 international Touchwiz Roms start rolling out they should be unbeatable. Very promissing indeed.
[AT&T Samsung Galaxy S 4 Android Development] markbc01:
I don't have the volume issue, but I always found Poweramp finicky. (I know others love that player!)

However, I did have the magnetic sensor not working.

On the other hand, I just restored a old nandroid of GE28 Rom -from my card so I could see if its a rom thing. After old restore, I STILL have the magnetic sensor test fail. So I don't think it is Sho's rom. (And what the heck would we use the magnetic sensor for -digital compass?)

As to sensors, since I was at that panel, I looked at all of them (still using the old rom) and the Gyroscope and Magnetic sensor self tests fail; all others (Proximity, Barometer, Light and (maybe if I am reading it right) Accelerometer are all a go. . (And I still have to dig out my can of air to clean that p-sensor just in case! :)

I am certain "ver 6.2" will be the answer to any and all strange issues. . . ;)
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Update posted

(v6.2)

Fixed am/pm from dropping off the statusbar at times....

Added a 4 way toggle to Locationquicksetting. Tap the quick setting to cycle thru Location (Off, GPS Only, PowerSaving, High Accuracy).

Updated the bootanimation with a new font.
[AT&T Samsung Galaxy S 4 Android Development] jeboo:
And the status bar will scroll up when going from GPS only to Power saving to allow for agreeing to the mode change. That nag can be disabled using an Xposed module (it's a Play Store apk, so patching is not advised).
[AT&T Samsung Galaxy S 4 Android Development] zhieson:
Is this version SafeStrap compatible?

Thanks!
[AT&T Samsung Galaxy S 4 Android Development] duckredbeard:
Thanks for the location cycle toggle. I had just finished a Tasker work around for the previous (dis)function.
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Uploading right now. PM me to test peeps before i post the link.
[AT&T Samsung Galaxy S 4 Android Development] Octanee:
I have the canadian galaxy s4 I337m, i get code 7 in cwm and cant get rid of it, seems like all these good roms i want to install gives me that error! i have cwm 6.0.4.7 i believe installed. maybe twrp would work better?. or how to fix, i checked those status 7 things and asserts but that dont seem to be the cause? anybody know if this rom works with the canadian s4? thanks
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
install the recovery by jeboo in post 4.
[AT&T Samsung Galaxy S 4 Android Development] Octanee:
thanks, i downloaded it, put it on my phone, booted cwm and flashed the zip, reboot try to go into the recovery and now it says failed and in ODIN mode, hmm what went wrong there, how to fix? lol
[AT&T Samsung Galaxy S 4 Android Development] jeboo:
You need to flash the i9505 CWM for the i337m.
[AT&T Samsung Galaxy S 4 Android Development] Octanee:
ok is there a specific one? or just go install the i9505 one as if my phone was a i9505 anyways?

update: installed the i9505 cwm and installed thhe rom.. it installed but download mode on the phone auto booted up instead of the os and says in red :COULD NO DO NORMAL BOOT. odin mode.

How to fix lol
[AT&T Samsung Galaxy S 4 Android Development] ALLDAT:
Thanks Sho and Jeboo for the update running good so far.

Power by ShoStock / Tune By Jeboo / Graphics Designs by RockRatt
[AT&T Samsung Galaxy S 4 Android Development] Teknodad1974:
Is there a reason why Magnetic Sensor not Working?
[AT&T Samsung Galaxy S 4 Android Development] c0ldburn3r:
^ works for me.
[AT&T Samsung Galaxy S 4 Android Development] h3lluvaninjuhneer:
I haven't tried to use the diagnostic menu in a while, but *#0*# doesn't seem to work any more. Anyone know if there's a new code?
[AT&T Samsung Galaxy S 4 Android Development] duckredbeard:
I had a short lived issue with the mag sensor. I had installed an an app called "ISS Detector" and it wouldn't move the app's compass. After rotating it around all directions/axes it started working. I still get the fail in sensor test but it is working fine.
[AT&T Samsung Galaxy S 4 Android Development] Droidmissionary:
That code is working for me
[AT&T Samsung Galaxy S 4 Android Development] sstarre:
Make sure you're using the stock phone app. I have exDialer and it won't recognize the code..but using the stock dialer icon(app) works fine...
[AT&T Samsung Galaxy S 4 Android Development] h3lluvaninjuhneer:
I'm using the stock dialer. I dirty flashed 6.2 over 6.0, and have been having lots of random reboots ever since. Time for a clean install and see if either problem goes away.
[AT&T Samsung Galaxy S 4 Android Development] shoman94:
you installed the i9505 version of this ROM I hope. I didn't realize you were using an i337m. I misread that....