• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][MAGURO][5.1.1][SaberMod] SlimLP 5.1 (Build 12/25)

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Hi guys,
I'm trying to learn something about Android, GIT and Linux, and best way to do so is getting my hands dirty.
As a Slim user I'm playing a bit with with SlimROMs, and since they dropped support for our device, I'm sharing with you my builds.

FAQs:
SlimLP 5.1:
Q: Is SlimLP stable enough for daily use?
A: If you don't mind the issues reported bellow, yeah, it is.

Q: Can I use another kernel?
A: Yes, of course. Just be sure it includes new PVR drivers.

Q: Are RRO Overlays supported?
A: Yes.

Q: Is F2FS supported?
A: Yes, you can use F2FS as FS for data/ and cache/

Q: Is Xposed working on this ROM?
A: Yes.


SlimKAT:
Q: Is this SlimKAT build different from OFFICIAL?
A: It's just SlimKAT "stock", you will notice no difference between this and official. It's built with Linaro and has some optimizations under the hood.

Q: Is it really faster/smoother?
A: I would say YES, but I can't guarantee over placebo effect, so I will just say that I've got a slightly better average score [~7-8%] in Antutu Benchmarks, for what it's worth. Let me know guys.

Q: Is F2FS supported? A: Nope. You have to use this tool and a kernel that supports F2FS.

Q: Will you...
  • ... update this ROM? A: r2 is already up to date with official.
  • ... publish a changelog? A: Yes. See next post.
  • ... push more tweaks and switch to new PVR? A: I hope so. I would like to say "I will update ALL THE THINGS" but as an engineering student I can't really promise I will.

Q: What kind of optimizations? A:
  • SlimKAT is built with Linaro 4.8.3 [2014.04]. -O3, LTO, C++11 and strict aliasing are enabled.
  • Built-in Kernel is compiled with with Linaro 4.9.3 [2014.11] optimized for ARM Cortex-A9. Anyway, it is built from official source and has no enhancement, so I highly recommend you use a custom kernel for better performances and battery life.



Thanks:
Really HUGE thanks to @MWisBest, @Ziyan and to everyone who is working on SlimROMs.​

Disclaimer:
Code:
#include 
/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear war,
 * or the current economic crisis caused by you following these directions.
 * YOU are choosing to make these modificiations, and if you point your
 * finger at me for messing up your device, I will laugh at you.
 */
Please, make a Nandroid backup of ALL your partitions (system, data, boot, EFS).
These zips work for me, but you know Murphy's law is always ready to strike.

Known issues: If you find more, please, let me know.

SlimLP: [what is NOT working yet - the most are common to all Lollipop (5.0 and 5.1) based ROMs]
  • There's still a small band on the bottom of recorded videos;

Do you have an issue with your device? Here's How to Report an Issue or a Bug:

Please, before reporting any issues take these few steps. Many of the bugs are NOT caused by the ROM itself.
  1. Are you sure you installed the right Gapps package? If not, flash SlimLP one.
  2. Have you recently installed (or updated) any app or Xposed module? If so, uninstall or disable it.
  3. Disable Xposed.
  4. Are you using stock kernel?
  5. Have you dirty flashed over your previous installation?
    5.1 requires a factory reset if coming from 5.0 or older.
  6. Still got the issue? Take a logcat and a dmesg and attach them to your report.
    Screenshots are welcome if you think they might help.
Keep in mind that "MY GNEX IS LAGGY!!!" is NOT a useful bug report.

Downloads: Be sure you have read the previous part of the post!

SlimLP Builds [5.1.1]
Older builds:


XDA:DevDB Information
SlimLP (maguro), ROM for the Samsung Galaxy Nexus

Contributors
theBlackEnd
Source Code: https://github.com/eMarco/

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: SlimLP

Version Information
Status: Beta
Current Beta Version: 0.12

Created 2014-12-22
Last Updated 2015-12-25
 
Last edited:

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Reserved

Changelog:
SlimLP 5.1:

  • TestBuild 1 >> TestBuild 2
    - Some fixes here and there;
    - 5.1.1 r3 has been merged
    - SlimPIE is back;
  • TestBuild 2 >> 06/26:
    - SlimRecents, Blacklist and Expanded Desktop are back;
    - Cursor buttons in navigation bar while typing are back too (Settings -> Navigation);
    - Fix to camera crashing while taking videos with WhatsApp\Snapchat\... built in camera app;
    - Fix mic mute during call (thanks to @MWisBest);
    - Bootanimation is now smooth;
    - Synced with SlimROMs repos (alpha 0.4);
  • 06/26 >> 08/07:
    - Fixed sound when waking the device through Volume keys;
    - Dialer vibration is back (vibrate when call is answered, etc)
    - Bump to Beta 0.3 (based on Android 5.1.1 r9);
    - Various fixes and translations updates;
  • 08/07 >> 08/11:
    - Fix for some apps FC;
  • 08/11 >> 09/13:
    - LiveDisplay and ColorCalibration have been fixed;
    - Kernel: switch back to Boype's RAM Timings;
    - Synced with SlimLP Beta 0.7 (Android 5.1.1 r16);
    - Flip to Mute/Reject Call;
    - CellularTile: Long-click triggers detail view instead;
    - Show icon of the app associated to Toast notification;
    - ResolverActivity: reduce elevation to make it flat
    - More;
  • 09/13 >> 10/31:
    - BFQ IO Scheduler has been added (CFQ is still default though);
    - Vibration intensity can be set;
    - Synced with SlimLP Beta 0.10 (based on Android 5.1.1 r20);
    - New Messaging App;
    - Lock Pattern has been improved;
    - A few fixes and improvements;
  • 10/31 >> 12/25:
    - Synced with SlimLP Beta 0.12 (Android 5.1.1 r30);
    - A few fixes and improvements;

SlimKAT:
  • OFFICIAL >> r1
    - built using Linaro 4.7.4 [2014.06-1~dev] (ROM), Linaro 4.9.3 [2014.11] (Kernel);
    - Compilation flags: O3, C++11, strict aliasing;
    - Minor changes;
  • r1 >> r2
    - ROM is now built with Linaro 4.8.3 [2014.04];
    - LTO is now enabled.
    - Video playback has been fixed;
    - Video recording now should work properly, too;
    - Some enhancements to bionic (check my github);
    - Minor changes;
SlimLP 5.0:
  • Initial revision:
    - SlimLP on maguro;
    - New PVR;
  • Test Build 1 >> TB 2:
    - Toolchains: same as SlimKAT, check first post;
    - Built-in kernel (based on @Ziyan's OMAP kernel) is now working;
    - Stock camera is now saving pictures (YEEEEEEEEEEEEE!), unless you switch flashlight toggle on in notification drawer. If so, you probably need to reboot and\or clear camera cache in Settings > Apps > Camera;
    - Synced up with SlimLP repos;
  • TB 2 >> TB 3:
    - Improvements to the kernel, but you won't notice them unless you like your phone to be dead quiet; :silly:
    - Photos should not look yellowish anymore. [NON-PIE support has been enabled (temporarily) to let fRom download camera calibration files];
    - Long SMS sending should be fixed; (thanks to @Ziyan)
    - Synced up with official repos;
    - Minor changes;
  • TB 3 >> TB 4:
    - Audio is now working properly and so is video recording, you won't need an external kernel;
    - Kernel is now built with GCC 4.9.3 [12.14] Optimized for Cortex A9;
    - Merged lastest MWisBest's changes to camera, I guess it should be a bit more stable now;
  • TB 4 >> TB 5:
    - Torch tile is now working;
    - ScreenRecord should be fixed;
    - Video playback works fine on stock gallery apps;
  • TB 5 >> TB 6:
    - F2FS support has been added (data and cache);
    - New open-source bin to get camera calibration file (thanks to Ziyan), non-PIE support has been disabled;
    - Built with SaberMod 4.8.5 [01.15]. C++11, -O3 and strict aliasing have been enabled (thanks to MWisBest);
    - Synced up with official repos;
  • TB 6 >> Build 7:
    - Enabled F2FS kernel support;
    - Switched from SELinux Permissive to Enforcing (thanks to @freshgiammi);
    - Darkened UI a bit (Dark Material) [boot to reduce screen burn-in, notifications, powermenu] (thanks to @ezio84);
    - Added RRO Themes support;
    - Some Updates to RIL [long text sending fix, ...];
    - Brought back some audio changes to the kernel. Following MWisBest, this will allow bsmitty83 to build just one version of his kernel;
    - Added pngquant PNG compression to lower ROM zip size;
    - Synced up with official, minor changes;
  • Build 7 >> 7v2
    - Built-in Superuser is now working;
    - SettingsUI themed Dark Material, too;
    - Tuned Low Memory Killer values. Thanks to Ziyan;
  • Build 7v2 >> 8:
    - Workaround for Google Play Services FC. You need to wipe /system before updating;
    - Revert Dark Material UI;
    - Added full RRO Themes support;
    - Minor changes;
  • Build 8 >> 9:
    - Switch from JEMalloc to DLMalloc (memory allocation);
    - Built-in ART now includes changes needed by XPosed (*);
    - Recents lag fix;
    - Some fixes here and there;
    - Synced up with SlimROMs repos (improvements, updates to translations\built-in apps, ...);
  • Build 9 >> 9v2:
    - Fix bootloop issues on VYL00M;
  • 9v2 >> 10:
    - XPosed updates to ART;
    - Revert to old working controller for headset buttons;
    - Netflix and other DRM using apps should work fine now; [TBC]
    - OpenGL ES 2.0 support has been brought back;
    - New Install App interface (more details, comparison between current and new permissions and more);
    - Some improvements and fixes here and there (RRO, memory management, ...);
    - Switch to new Camera\DOMX [Hashcode's omap4-next];
 
Last edited:

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Hey guys, I'm uploading r2 right now.
I'm sorry it took so long but I had to fix some bugs and each one required at least one clean build.
I tried to build with SaberMod 4.8.5, I got slightly better performances but had sudden reboots enabling WiFi, so I had to revert to Linaro 4.8.3.
LinkTimeOptimization is now enabled (for real). Video playback is fine, video recording should, too.
Changelog is now available in post #2.
 
Last edited:

fearlessaryan

Senior Member
Dec 27, 2014
191
80
0
Hyderabad
Is Camera App Working

Hey guys, I'm uploading r2 right now.
I'm sorry it took so long but I had to fix some bugs and each one required at least one clean build.
I tried to build with SaberMod 4.8.5, I got slightly better performances but had sudden reboots enabling WiFi, so I had to revert to Linaro 4.8.3.
LinkTimeOptimization is now enabled (for real). Video playback is fine, video recording should, too.
Changelog is now available in post #2.
CM 12 and FML Roms does not have the Camera App working and there is bug in charging the mobile when its offline. Are these bugs fixed in this ROM? Just asking as I do not see any open bugs in the description.

Thanks,
fearlessaryan
 

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
CM 12 and FML Roms does not have the Camera App working and there is bug in charging the mobile when its offline. Are these bugs fixed in this ROM? Just asking as I do not see any open bugs in the description.

Thanks,
fearlessaryan
This ROM is still KitKat based and doesn't use new GPU drivers, so yeah, camera and offline charging are working.
CM12 and FML are based on Lollipop instead.
 

Egyoneman

Member
May 7, 2014
15
0
0
torch

Thank you for this amazing work.
SlimKat 9.0 the final release for kitkat is out, when will you work on it?
please don't forget to add the torch tile in quicksettings.
thanks :)
 
Last edited:

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Thank you for this amazing work.
SlimKat 9.0 the final release for kitkat is out, when will you work on it?
please don't forget to add the torch tile in quicksettings.
thanks :)
Everything should be already up to date since r2. I'll let you know.
I forgot to re-add torch, my bad. :|

Atm I'm working on Lollipop, I got it booting right now (you see my avatar? well, that's an actual picture of me) using @bsmitty83's FML beta-3 kernel.
The one I'm compiling won't work. I've got several logs, I hope I'll figure out what's wrong with it.
Audio is working fine, data too (on edge, I can't test HSDPA atm as I've got a very weak signal at my home), Camera2 doesn't save any picture, ...
BUT HEY, IT'S SLIMLP ON MAGURO!

Thanks again to @MWisBest, @Ziyan and @freshgiammi.


----- Edit
I heard you like test builds, so I'm uploading this one. I have to study for my exams and I don't think I'll work on it anymore for today.
 
Last edited:

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Is this Rom EXT4 or F2FS or Both??
Since it is using @bsmitty's kernel.. It supports both ext4 and f2fs
SlimLP should, but SlimKAT r2 doesn't support F2FS, you have to use poo706's tool. I'll add f2fs support in r3, I think.

Edit:
Errata corrige, I didn't add f2fs support in device tree. You'll have to wait for next builds. However, keep in mind that adding f2fs support is not my priority. I have to get kernel working and try to help with camera.
 
Last edited:
  • Like
Reactions: siddardha21

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
New build is up.
Changelog:
- Built-in kernel is now working. Overclock is not enabled.
You can use another kernel, of course. Just be sure the one you're going to flash includes new PVR drivers (eg bsmitty83's betas).
- Stock camera is now saving pictures (YEEEEEEEEEEEEE!), unless you switch flashlight toggle on in notification drawer. If so, you probably need to reboot and\or clear camera cache in Settings > Apps > Camera;
- Now using same toolchains as SlimKAT, check first post;
- Synced up with SlimLP repos;
What's not working yet:
- Video recording and video playback.
- Offline charging
- If you boot while in airplane mode you will be prompted to enter your PIN and won't be able to unlock your SIM. You should manage to disable airplane mode before being prompted for it.
- More common to all LP builds and not. If you find more, please, let me know.

Edit: I made a mess with download links, please check you're downloading test build 2.
 
Last edited:

smartAgent47

Senior Member
Jan 1, 2013
550
552
0
Mumbai
New build is up.
Changelog:
- Built-in kernel is now working. Overclock is not enabled.
You can use another kernel, of course. Just be sure the one you're going to flash includes new PVR drivers (eg bsmitty83's betas).
- Stock camera is now saving pictures (YEEEEEEEEEEEEE!), unless you switch flashlight toggle on in notification drawer. If so, you probably need to reboot and\or clear camera cache in Settings > Apps > Camera;
- Now using same toolchains as SlimKAT, check first post;
- Synced up with SlimLP repos;
What's not working yet:
- Video recording and video playback.
- Offline charging
- If you boot while in airplane mode you will be prompted to enter your PIN and won't be able to unlock your SIM. You should manage to disable airplane mode before being prompted for it.
- More common to all LP builds and not. If you find more, please, let me know.
Is the camera quality same as the quality in slimkat 4.4.4 camera or it is still yellowish ??
and flashlight thing i dint get it can u explain me again ??

thank u
 

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
Is the camera quality same as the quality in slimkat 4.4.4 camera or it is still yellowish ??
and flashlight thing i dint get it can u explain me again ??

thank u
I mean that flashlight toggle in notification drawer (check this gif) is not working and will break camera until reboot.
Flashlight is working in camera.
Some of the photos I took last night look slightly yellowish. I can't really say, I'm going out and I had to restore SlimKAT as I need everything working :/
You're welcome.
 
  • Like
Reactions: massoudsh

smartAgent47

Senior Member
Jan 1, 2013
550
552
0
Mumbai
I mean that flashlight toggle in notification drawer (check this gif) is not working and will break camera until reboot.
Flashlight is working in camera.
Some of the photos I took last night look slightly yellowish. I can't really say, I'm going out and I had to restore SlimKAT as I need everything working :/
You're welcome.
So is it stable to use as a daily driver or camera will be soon fixed more ??
 

theBlackEnd

Senior Member
Mar 14, 2014
102
262
0
So is it stable to use as a daily driver or camera will be soon fixed more ??
Actually, these builds are not meant for daily use, but they're stable enough if you don't mind the issues in post #1. Make a full nandroid backup before flashing.
We're trying to get everything working, so yes, camera will get better, of course.
 

smartAgent47

Senior Member
Jan 1, 2013
550
552
0
Mumbai
Actually, these builds are not meant for daily use, but they're stable enough if you don't mind the issues in post #1. Make a full nandroid backup before flashing.
We're trying to get everything working, so yes, camera will get better, of course.
No bootanimation ??? I am getting google logo with an unlocked bootloader sign.