SlimRoms Nougat on the Samsung Galaxy S4!

c774d6876b42e5a01b482e16834b62e5
To God be the glory, my Slim7 Nougat project finally works!

This is a very slimmed down version of Android Nougat, almost a “vanilla” experience with a few tasteful perks! By design, this ROM comes without root for those who wish to have a “pure” version without the entanglements that come with root, but it can also be easily rooted by using chainfire’s SuperSU (see below). In it’s default form, it is perfect for those banking apps, workplaces, and games that require you to have a phone without root. No need for tricks or hacks, all while having the latest and greatest Android on your Samsung Galaxy S4.

If you do decide to use root, then you will be pleasently surprised to know that Substratum and layering works with this ROM. While not every part gets updated, for the most part it functions quite well in my initial testing.

**** This is an UNOFFICIAL ROM. Install at your own risk! ****

Main Features:

-Merged with android-7.1.1_r13
-SlimDim, now with 100% more dimming
-SlimAction, Splits screen action
-SlimRecents, an alternative recents
-Notification log (longpress statusbar header)
-Kill app from notification (long pres app notification)
-Substratum support (if rooted)
-OmniSwitcher built in so the kill function works with or without root.

Be sure to grab it from my Homemade roms page, or jump on XDA here:
https://forum.xda-developers.com/galaxy-s4-tmobile/development/rom-slimroms-n-t3540474

You will also need SuperSU if you want it rooted.
SuperSU:
https://download.chainfire.eu/1001/S%E2%80%A6perSU-v2.78-20
OR
http://www.mediafire.com/file/xzqu7dgmk7ob5e7/UPDATE-SuperSU-v2.78-20160905010000.zip

And you can download my kernel from the Homemade Kernel page, or grab it off of XDA:
https://forum.xda-developers.com/galaxy-s4-tmobile/development/kernel-nougat-kernels-t3492592

!!!FIRST BOOT TAKES LONGER THAN 5 EARTH MINUTES TO COMPLETE!!!
!!!IF YOU FLASH SUPERSU, IT WILL REBOOT SEVERAL TIMES DURING INSTALL, THAT IS OKAY!!!

Installation instructions:

-Download ROM, and if desired, SuperSU, AKLU kernel, and gapps, and put them on your phone’s external storage.
-Reboot into recovery mode – TWRP (I personally installed this using 3.0.2-0).
-Backup what you had. (Just to be safe.)
-Wipe. (I personally wipe everything prior to flashing new roms, but at least do the basic wipe.)
-Install Rom.
-Install Gapps. – Optional
–> OPTIONAL – If you want to install SuperSU, let the ROM boot up once first, then go back to TWRP and flash SuperSU zip. If it is stuck in a boot loop continually (it boot loops 1 to 4 times normally) then go back to TWRP and wipe cache and try again.
-Reboot to system and enjoy!

-OPTIONAL – After first boot, then go back to recovery and install the AKLU kernel.

Here are some pictures:

Linux – keep it simple.

Updated the S4Camera app!

As we spoke about last time, there were two problems with my custom S4 camera app:

  1. No way to stop the recording, you had to wait for the 1 or 3 minute timer to elapse.
  2. No audio was recorded.

Well, I haven’t fixed everything yet, but I was able to fix issue #1, stopping the recording. Essentially, I added a button which was invisible all of the time, unless you were recording. Once you start recording (still for 1 or 3 minutes), the stop recording button will become visible in the corner of the screen.

Pressing that stop recording button causes a super user command to be sent using pkill -2 to kill the screenrecord function. A -2 pkill command is the same as a ^c (control-c) command. That is a very nice command which tells it to wrap up and then stop, but do so now! I tried other pkill commands, which literally kill the process in a less than nice fashion, but when I do that, the video is not “ended” properly and becomes unreadable. This method allows the screenrecord function to properly close writing to the video so it is readable!

You can check out the changes and download the latest version on my Github:

https://github.com/alaskalinuxuser/S4camera_app

https://github.com/alaskalinuxuser/S4camera_app/commit/51f0934ee7eed612f1fd168e20b27afc148e6a17

Linux – keep it simple.

A special camera app for the Samsung Galaxy S4!

Recently I was fortunate enough to compile a working version of AOKP Nougat for the Samsung Galaxy S4 JFLTETMO/JFLTEXX phones (Praise God!). For the most part, it seems to work great. The only big issue is a problem with the camera.

It’s not that the camera doesn’t work. In fact it still takes wonderful pictures. What doesn’t work, however, is creating a video recording. Actually, it causes the camera app to crash just attempting to select video mode from the app. I tried several different apps, and they all produce the same results. So, I decided to do something about it.

I tried looking over the crash logs, and it just didn’t make enough sense for me to make changes to the device trees for the camera. But, I didn’t want to give up. Instead, I decided to make a custom camera app that would overcome these difficulties. By God’s grace, I was successful!

It is still a work in progress, but it works well enough for now. The actual command to open the camera and take a video just isn’t working, so I made a workaround. Instead, the camera app simply displays the camera on a surface view, and I leveraged root (su) permission to record that surface view to a file: /sdcard/Pictures/video.mp4. After the recording is complete, there is a command to rename the file the current time in milliseconds, so the user doesn’t have to worry about overwriting their just recorded video by making another recording.

There is a camera picture button, which allows you to take a picture. The picture is taken via the normal camera method, since that portion works correctly. To take a video, you can click on the 1m/3m icon to choose 1 minute or 3 minutes of video recording, then hit the record button. Once you press record, the icons disappear and only the camera view is displayed, as the surface view is being recorded.

There are currently two main problems:

  1. There is no way currently to stop the recording. You simply have to “wait it out”. After the 1 or 3 minutes that you chose are up, the icons re-appear and a pop-up informs you that it is done. If you exit the app at this time, your home screen will be recorded instead until the time expires.
  2. There is currently no audio. I am fairly new at Android app making, and this is a huge learning curve for me, so I have not gotten the audio figured out yet.

You can check it out on my Github if you would like to view the source, you are welcome to use or abuse the source code in any way that helps you with your own projects as well. The app is build-able in Android Studio.

https://github.com/alaskalinuxuser/S4camera_app

And, if you want to download the app, it is also located on that Github page.

Linux – keep it simple.

AOKP N 7.1.1 for the JFLTETMO and JFLTEXX

To God be the glory, my AOKP Nougat project finally works!

If you are interested in a *mostly* working AOKP 7.1.1 rom for the JFLTETMO or JFLTEXX, head over to XDA or look under my Homemade Roms page for a download link!

http://forum.xda-developers.com/galaxy-s4-tmobile/development/rom-aokp-n-t3519280

**** This is an UNOFFICIAL ROM. Install at your own risk! ****

 

!!!FIRST BOOT TAKES ABOUT 5 EARTH MINUTES TO COMPLETE!!!

Installation instructions:
-Download ROM and gapps, and put them on your phone or external storage.
-Reboot into recovery mode – TWRP (I personally installed this using 3.0.2-0).
-Backup what you had. (Just to be safe.)
-Wipe. (I personally wipe everything prior to flashing new roms, but at least do the basic wipe.)
-Install Rom.
-Install Gapps. – Optional
-Reboot to system and enjoy!

-OPTIONAL – After first boot, then go back to recovery and install the AKLU kernel.

What works:
So far everything that I have tried works, such as
- Camera for pictures only!
- Phone calls/receiving
- Data 2g/3g/LTE
- Bluetooth* - Music and File transfer.
- WiFi
- PTP
- GPS
- Multi-Window, just long press the "recents" button.
etc....

What doesn't:
- Video recording with the camera doesn't work, pictures work, but not video.
- MTP sometimes works, but is finicky, but PTP is also an option and works every time.
- Bluetooth works, but sometimes the Bluetooth share app crashes.
- Browser works, but sometimes doesn't display typing letters until you press enter/search. (I recommend you download a different browser.)
- Choosing to reboot the phone sometimes takes a loooong time. It may be better to Power off and then start the phone, which is faster for some reason.
-Let me know in the forums if you find other issues so I can work on fixing them.

 

 

Here are some screenshots:

Linux – keep it simple.