• 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

[SM-G920/5FDI] NanoROM TWOSP 7.0.2 20170302 [5DQA7]

Are your random reboots gone with this ROM?

  • Yes

    Votes: 41 46.1%
  • No

    Votes: 28 31.5%
  • Other (please explain in thread)

    Votes: 20 22.5%

  • Total voters
    89

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
*** NanoROM 7.0.2 20170302 ****

=== See 2nd Post for ChangeLog ===

=== See 3rd Post for Kernel Settings ===

=== Disclaimer ===

Code:
This ROM is made for S6 G920F / G925F only
flash at your own risk, your warranty will be void (knox flag 0x1)
I'm not responsible if your device bricks or whatever.
=== What does TWOSP mean ===

TW = TouchWiz, OSP = Open Source Project. That's just same marketing-bullshit-bingo-buzzword because this ROM contains lots of Open Source Software. Nothing serious.

=== Why yet another ROM ===

I'm one of those few users who experienced sudden random reboots after updating stock firmware after rooting their device. So the following huge text may contain a taste of drama.

No custom ROM or even Stock ROM did work for me, because PLOD(tm) (pink led of doom & Knuckles). Only working ROM is CM13, but that's lacking proper in-call mic (sometimes doesn't work) and Camera, so it's sadly a no-op.

So I was trying to figure out what goes wrong and try to build a ROM that does simply work for my device and not result in a myriad of random reboots. So here it is: my second customized stock android ROM (the first one was for some ARNOVA Tablet).

And since the ROM does now already exist, I was like:

"Hey, why not go to xda and publish it?"

so here I am. And maybe it will solve the issue for other users, too.

=== So what does cause those random reboots ===

I don't know exactly. No really, it's difficult to say. Next follows a list of my personal observations on my device. Other devices might behave the same or not (depending on what is wrong with the device).

So this observations might be what will help you to reduce or prevent the random reboots, but they also might not. Enough bla-bla, let's go.

What's not causing it:

  • xposed
  • supersu
  • user apps

Because bare stock ROM installed from KIES will do reboot randomly aswell. It's a mix of kernel (Hacker Kernel gives less than others), build.prop (stock gives less than customized), Google Apps and other bloatware. So picking out a specific issue is difficult.

I also found out that 'userspace' governor and power suspend mode improve stability across different ROMs, so this ROM does set them by default.

Of course devices that have severe hardware damage will still suffer from them, don't expect my ROM to do wonders to broken devices.

=== Why only G920F / G925F ===

Because that's the only model I own, I don't like blind support, but I added G925F kernel upon request.

There are many great multi-device ROMs outwhere to choose from.

=== GApps Vs. microG ===

This ROM allows you to choose between GApps and microG:

1. GApps

Usual Google Apps as you know them, nothing special to do.

2. microG

Open source Google Apps replacement. This ROM requires you to do the following steps prior to be able to use the Play Store:

Code:
- go to Settings > microG and activate:
  - main screen:
    - device check-in (for cloud messaging)
    - cloud messaging (for app push messages)
  - UnifiedNlp Settings:
    - configure location backends:
      - choose Mozilla and grant permissions
    - configure address lookup backends:
      - choose Nominatim
- reboot device
- enter Play Store and login as usual
- et voila: you're now on the most possible Open Source ROM for S6
  (if we don't take the non-fully-functional CM13 into account)
- NOTE: if the Play Store does not show your already installed apps,  or if it does
        not show your purchased apps as purchased,  got to Settings > Apps >
        System Apps > Play Store and force stop it, then it'll properly work
- NOTE: if you get random reboots with microG: disable account sync
=== Removed Apps ===

all bloatware crap

=== Added Apps & Features ===

lotsa awesome stuff, namely:
Code:
> [...] means AROMA chooseable
> {...} means user app
  • Oandbackup (backup/restore apps and data)
  • AdAway (block annoying ads)
  • Amaze Filemanager (beta with full MM support)
  • {Always On: Ambient Clock (always-on clock, battery, notifications)}
  • Clock (AOSP/DU)
  • Calculator (AOSP)
  • {CyanogenMod Screencast (record your screen)}
  • Etar (Calendar replacement)
  • F-Droid (App Store for open source apps)
  • Face Slim (more privacy when facebooking)
  • Hacker's Keyboard (full fletched PC keyboard)
  • K-9 Mail (feature rich mail client)
  • Lightning (fast and small web browser)
  • Neo Power Menu (Xposed) (fully customizable power menu, supports
    • hardware reboot
    • software reboot
    • shutdown
    • reboot to recovery
    • reboot to bootloader
    • reboot into safe mode
    • take screenshot
    • activate torchlight)
  • NewPipe (YouTube client with download support)
  • [OpenCamera (awesome camera app)]
  • QKSMS (open source version)
  • Settings Editor Xposed Module (modify SecSettings2)
  • {Termux (best terminal client outwhere)}
  • Twidere (ultimate Twitter client)
  • {VLC (media player)}
  • {XDA Labs}
  • Xposed Installer (new, materialized)

  • [Good Lock UI] or [TouchWiz UI]
    • modified Good Lock brings the following changes compared to original:
      • rounded recents (for traditional recents)
      • rounded notifications
      • centered clock
      • WiFi icon on left
      • Cellular icon on left
      • removed unlock text
      • quick pulldown from right side
      • reduced notification panel paddings
        • optional: version with zero padding chooseable
      • carrier label on lockscreen on right
      • statusbar on home and lock screen have the same height
      • remove annoying notification if no user routine exists
      • enable System UI Tuner (Settings > Applications)
      • hide from Launcher (it's accessible from expanded status bar)
      • short click on status bar battery icon: screen of
      • long click on status bar battery icon: show power menu
      • Cyanogen Mod Music Visualization
      • other minor adjustments
    • TouchWiz is the original version, except for enabled System UI Tuner
  • Hacker Kernel v14
  • [AOSP] or [Samsung] Dialer & Contacts
  • [Samsung] or [Hacker] or [AOSP/DU] or [Enhanced AOSP] Keyboard
    • when choosing one of the AOSP Keyboards the Flat Style Keyboard Xposed module will be installed aswell (powerful theming)
  • [Samsung] or [Open] Camera
  • [Samsung] or [AOSP/DU] Gallery
  • choose [Doze] or [No Doze] Framework
  • [Play] or [Blank] Store (only microG)
  • Magisk with Auto Magisk
  • PHH SuperUser
  • Busybox
  • GNU Bash Shell
  • [Trebuchet Launcher] or [TouchWiz Launcher]
  • The Legend of Zelda tones (It's dangerous to reboot alone)

  • 999kernel init script: anti-random-reboot kernel settings
  • remount-rw script: remount / and /system read-write
  • remount-ro script: remount / and /system read-only
  • testmenu script: access testmenu (allows changing SMSC)
  • anti-knox build.prop
  • installer auto-detects whether device is Flat or Edge and installs correct kernel version accordingly

several changes to Settings Application
  • embed AdAway in connectiviy group
  • embed Always On in device group
  • embed Xposed Installer in system group
  • embed Auto Magisk in system group
  • embed PHH SuperUser in system group
  • embed microG in system group (if choosen)
  • embed Settings Editor in system group
  • embed Neo Power Menu in system group
  • hide all those apps from Launcher
  • enable developer options by default
  • remove 'Manual' from system group

several Samsung Bloatware (AROMA chooseable):
  • Samsung Account
  • Samsung Apps
  • Samsung Theme Store
  • Samsung Backup
  • Samsung Voice
  • Samsung Voice Note
  • Samsung TTS
  • Samsung Fonts
  • Samsung Edge Features

several build.prop changes (AROMA chooseable):
  • enable Multi User UI
  • shorter sensor delay
  • faster boot/shutdown animation
  • higher jpeg quality
  • disable ADB, MTP, USB notification [TouchWiz SystemUI]
  • less frequent WiFi scans
  • power saving settings
  • faster scrolling
  • improved voice call clarity
  • disable error checking
  • disable sending usage data to Google

non-chooseable, built-in changes:
  • disable FOTA / Sofware Update menu
  • fully disabled KNOX / TIMA
  • disabled wake disply on USB plug in/out
  • added back 'Once' / 'Always' buttons to 'Open With' Dialog

=== Recommended Apps ===

not included because reasons, but still cool:
  • Easy XKCD (F-Droid)
  • Overchan (F-Droid)
  • KeePassDroid (F-Droid)
  • Play Permissions (Xposed)
  • Play Store Changelog (Xposed)

=== Notes ===

  • You need to install Xposed Framework separately (not bundled)
  • Recommended recovery is arter97's TWRP version 3.0.2
  • I recommend disabling wifi during standby (that is, if you don't have mobile network active during standby) Play Store auto-updates, that usually improves stability for me
  • If you installed GApps: I also recommend disabling Google ads and Google app verification in Settings > Apps > Google >> Ads / >> Security (because I don't like those "features", call me a tinfoil head :p)
  • Further I recommend doing a TWRP backup after everything is setup and working fine (so that you can revert to a working state any time)
  • If you're on GNU/Linux, I recommend using gMtp for file transfer. ADB sometimes gives weird file permissions.

=== Issues ===

A List of issues, all minor, but I'll still look into them, if I get some time to do so:

  • You currently need to manually enable supplied Xposed modules (and restart your device).
  • Don't create a new routine in Good Lock. This triggers some bug in it that causes uninstallation and leaves you without System UI (black screen, no statusbar and launcher, etc).
  • ? You tell me.

=== Download ===

ROM, Bloatware AddOn, Flashable Modem/Bootloader, Synapse Profile, Archive Folder and Beta Folder

Modified Good Lock, microG (broken-out downloads)

Xposed Framework (wanam) for versions until 5.5.7

Xposed Framework (systemless) for versions 5.6.0 and newer

TWRP (arter97)

Fancy materialized TWRP themes

=== Installation ===

virgin S6:
  • install TWRP, Modem and Bootloader via Odin
  • go to recovery (possibly backup stock firmware)
  • factory reset using TWRP
  • install ROM
  • reboot and setup
  • go to recovery and install Xposed
  • reboot > profit (?)

rooted S6:
  • update TWRP
  • reboot recovery
  • update Modem and Bootloader
  • reboot recovery (possibly backup current ROM)
  • factory reset using TWRP
  • install ROM
  • reboot and setup
  • go to recovery and install Xposed
  • reboot > profit (?)

=== Update ===

- backup ROM in TWRP

route a) dirty flash

  • install NanoROM
  • reboot

route b) proper flash

  • factory reset in TWRP
  • install NanoROM
  • reboot
  • wait until Setup Wizard pops up
  • reboot into TWRP
  • restore /data (only /data) from previously made backup
  • reboot

=== First Start ===

  • setup phone normally
  • [optional] go to Settings > AdAway and activate ad blocking
  • go to Settings > Xposed Framework > Modules > Enable modules
  • reboot > now [AdAway and] Xposed Modules are set up and working

Note: it may reboot once because of Super Su (but it doesn't on my device) before first sucessful start. It however will reboot once during setup of Xposed Framework.

=== Future ===

As my goal is to get my S6 properly working, I'm not going to add new features without heavily testing them and I won't rush out any update because of a new change set.

I just wanna use my S6 properly (though I do have a Moto G 2015 aswell, but still).

=== Credits ===

That said this ROM contains work from other developers, that saved me a lot of time, because I could adjust already existing stuff. If you feel like missing from this list, please inform me, I'll add you as soon as possible.

Theese people contain:
  • ChainFire (SuperSu)
  • Wanam (Xposed for Sammy)
  • ambasadii (PureStock ExtraLite)
  • edgarf28 (XtreStoLite)
  • Mentalmulso (WETA No Odin)
  • thehacker911 (Hacker Kernel)
  • arter97 (arter97 Kernel, TWRP)
  • Osmosis (Busybox)
  • 3lo0sh (GNU Bash Shell)
  • alesimula (Trebuchet)
  • My free time (for being sacrified)
  • the authors of all included apps
  • everyone I possibly forgot (you're awesome!)

XDA:DevDB Information
NanoROM, ROM for the Samsung Galaxy S6

Contributors
Setialpha
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Custom Recovery, Lastest Bootloader
Based On: Stock Touchwiz

Version Information
Status: Stable
Current Stable Version: 7.0.2
Stable Release Date: 2017-03-02

Created 2016-04-14
Last Updated 2017-03-02
 

Attachments

Last edited:

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
ChangeLog

7.0 20170212

Code:
7.0 20170212

updated system and apps to DQA7

updated applications:
- Twidere (3.4.27)

updated system components:
- microG (0.2.4-64)
- Magisk (11.1)
- MagiskManager (4.1)
- Play Services (10.2.98.440)
- Play Store (7.5.08.M)

removed applications:
- Nano-Selinux-Enforce Magisk Module
  - no longer required with Magisk 11

removed system components:
- Doze vs. NoDoze framework-res
  - now only default framework-res

added applications:
- SmartManager
- SHealth

installer changes:
- no longer install SuperUser app
  when Magisk is installed (builtin)

other changes:
- show ROM information in SecSettings2
- Good-Lock allow fingerprint after reboot
- remove Favorites from SecSettings2
- remove Emergency Mode from Reboot Menu

bugs fixed:
- GoodLock not working after clean install


6.1.0 20170203

Code:
6.1.0 20170203

updated applications:
- Open Camera (1.36.2)
- Hacker's Keyboard (1.39.3)
- Amaze (3.1.2~beta8)
- Face Slim (3.0.3)
- K9-Mail (5.203)
- NewPipe (0.8.8)
- Twidere (3.4.2)
- Termux (0.46)
- XDA Labs (1.1.1b)
- Kernel Adiutor (0.9.6)

updated system components:
- microG (0.2.4-55)
- Play Services (10.2.97)
- PlayStore (7.4.12.L)
- Magisk (10.2)
	& Magisk-Manager (3.1)
- PHH SuperUser (266 or Magisk builtin) 
	& App (2.0~beta11)
- SuperSU (2.73 SR4)
- NanoROM Kernel Settings Script now also installable
  with Magisk + PHH (previoulsy only with SuperSU)

updated xposed modules:
- Flat Style Colored Keyboard (3.1.0)
- Settings Editor (2.10.1)
- Neo Power Menu (1.5.6-3)

added optional components:
- Nano-Magisk-Miitomo
  - Magisk module to prevent Miitomo crashes
- Nano-Magisk-Selinux
  - Magisk module to enforce Selinux

other changes:
- when Magisk is choosen the NanoROM init scripts
  will be installed from the Nano-Magisk-Init module
- when Selecting PHH SuperUser for Magisk, only the
  app is installed, as PHH SuperUser is now built-in
  to Magisk and auto-installed if SuperSU is not pre-
  installed on the ROM
6.0.0 20161206

Code:
6.0.0 20161206

apps:
- update AdAway (3.2)
- update Calculator (5.4.0)
- update F-Droid (0.102)
- update K9-Mail (5.115)
- update Lightning (4.4.1)
- update Open Camera (1.35)
- update Amaze (3.1.2~beta6)
- update Xposed Installer (3.0.1.20161126)
- update Xposed Neo Power Menu (1.5.6)
- update Xposed Settings Editor (2.9.2)

system:
- update Play Store (7.3.07.K)
- update Google Play Services (10.0.84.440)
- update SuperSU (2.78+SR5 system less)
- update SuperSU (2.78+SR5 system mode)
- update Magisk (v9)
- update Magisk Manager (2.5)
- update PHH SuperUser (Magisk 266-r2)
- update Good Lock (24.0.6)
- apply Shakala's patches to systemless SuperSU
- update microG Droid Guard Helper (0.1.0-4)
- update microG Gms Core (0.2.4-30)
- update Hacker Kernel (15.5)
5.9.1 20161030[/code]

Code:
5.9.1 20161030:

apps:
- update XDA Labs (1.0.9.3b)
- update Twidere (3.2.9)
- update Always On: Ambient Clock (2.0.5)

system:
- update SuperSU (2.78+SR2 system less)
- update SuperSU (2.78+SR2 system mode)
- update Magisk (8-mod2)
- update Hacker Kernel (15.20161029)
  - only SM-G920FI for now, build for SM-G925FI will come soon,
    according to WildfireDEV
- disable NanoROM Kernel Settings Script for arter97 kernel
  (default settings break arter97 kernel 22.0, this will be fixed, soon)

installer:
- revert custom fix for Hacker Kernel and arter97 kernel when
  using Magisk + PHH SuperUser (fixed in Magisk 8-mod2)
5.9.0a 20161028

Code:
5.9.0a 20161028:

Installer:
- apply Magisk + PHH SuperUser = non-functional root fix
  for any kernel
5.9.0 20161026

Code:
5.9.0 20161026:

userapps:
- remove 0andbackup
- remove Cyanogen Screencast

apps:
- update Always On (2.0.3)
- update Play Store (7.1.14.I)
- update Kernel Adiutor (0.9.31.2)
- update SuHide GUI (1.3.0)
- add RootSwitch (1.3.3.2)

system:
- Good Lock NanoViz/ZeroViz:
  - allow Fingerprint unlock after reboot
- SecSettings2:
  - remove quick settings
  - fix Do Not Disturb
  - add LED indicator settings
  - remove AdAway, AlwaysOn, Xposed Installer, Magisk Manager,
    SuperSU, SuHide, Neo Power Menu, Settings Editor, microG
    from System Settings, instead they show up in Launcher again
- add optional PHH SuperUser (259-magisk)
- add optional PHH SuperUser (259)
- install SuperUser (2.0~beta9) for PHH SuperUser
- add version of NanoROM Kernel Settings Script for Magisk
- add version of NanoROM init scripts for Magisk
- update Hacker Kernel for SM-G920FI (15)
  - no new version for SM-G925FI available
- fix Hacker Kernel + Magisk + PHH SuperUser (Magisk) not getting
  root access (Hacker Kernel's ramdisk is modified in a way that
  Magisk believes SuperSU is installed, even if PHH is installed,
  thus this combination will lead to no root, the fix is to prevent
  Magisk from doing any SuperSU related tasks for Hacker Kernel, if
  PHH SuperUser is choosen)

installer:
- much more flexible package selection
- new option for GApps: don't install any
- new option for Kernel Settings Manager: don't install any
- new option for Super User: PHH (magisk), PHH (system)
- new option for Kernel: don't install kernel (keep current)
  [read: if you want arter97 kernel, install it first, then NanoROM]
- the follwing apps are now optional (aroma-chooseable):
  - AdAway
  - Always On: Ambient Clock
  - Amaze (File Manager)
  - Calculator
  - Clock
  - Etar (Calendar)
  - FaceSlim
  - FDroid
  - K9Mail
  - Lightning
  - NewPipe
  - QKSMS
  - Twidere
- the follwing Xposed stuff is now optional (aroma-chooseable):
  - Xposed Installer
  - Xposed Neo Power Menu
  - Xposed Flat Style Colored Keyboard
  - Xposed Settings Editor
- add option to install RootSwitch
- new defaults:
  - install PHH SuperUser (Magisk)
  - install Magisk
  - don't install SuHide
- minor string improvements
- Note: PHH SuperUser (Magisk) is only installed, if Magisk is, too
- Note: RootSwitch and SuHide are only installed for SuperSU (systemless)
- Note: the NanoROM Kernel Settings Script currently only works with SuperSU
        (systemmode), SuperSU (systemless) or with PHH SuperUser (Magisk),
        it does not work with PHH Super User (system)
- Note: same applies to NanoROM init scripts (the reason is: PHH SuperUser
        does not support init scripts, while SuperSU and Magisk do)
5.8.0 20161021

Code:
5.8.0 20161021:

userapps:
- update XDA Labs (1.0.9.2b)

apps:
- remove AOSP/DU Gallery
- add LeafPic Gallery (0.6~beta1)
- update Xposed Settings Editor (2.6)
- update Xposed Neo Power Menu (1.5.5-4)
- update Xposed Installer (3.0~alpha4~20161016)
- add Sony Xperia Keyboard (7.3.A.0.54)
- update Kernel Adiutor (0.9.31.1)
- update Play Store (7.1.12.I)
- update K-9 Mail (5.114)
- update Twidere (3.2.8)

system:
- add optional SuperSU System Mode (2.78S+R1)
- update Magisk (8)
- update Magisk Manager (2.1)
- update Samsung Keyboard
- update TouchWiz Launcher
- update Samsung Gallery
- update WallpaperCropper
- update WebView
- add Hacker Kernel (14)
  - Hacker Kernel development was restarted
  - slightly change default settings for Hacker Kernel

bloatware:
- merge bloatware addon into main ROM
- install Samsung TTS by default
- update Galaxy Apps
- update Samsung TTS
- update SVoice

installer:
- install microG by default
- remove microG/BlankStore combo
- make Sony Xperia Keyboard optional
- choose between system mode, system less SuperSU
- add option to not install SuperSU at all
- choose between stock kernel and hacker kernel
- string changes
Previous Releases

Code:
5.7.1 20161012:

system:
- update Google Play Services (9.8.77.440)
- fix Magisk Manager not properly working
  - if it still does not properly work, when updating
    from NanoROM 5.7.0, do the following:
    - clean cache and dalvik/art cache
    - pull down once in Main, Modules and
      Download pages of Magisk Manager
- add SuHide GUI (1.2.0)
  - integrate into SecSettings
  - hide from Launcher
- in SecSettings the entry for Magisk Manager
  was falsely labelled Auto Magisk (fixed)
- update Samsung Stock Kernel (3.10.61)
- switch to official microG DroidGuard build (0.1.0-3)
  - fixed DroidGuard library not found issue
  - SafetyNet now works with microG (yay!!!)

installer:
- add optional Plasma Bootanimation
- make Google Backup optional
- add optional extra Fonts (all-in-one)
  - Apple Mint
  - Choco
  - Cool
  - Rose
  - Samsung One
  - Samsung Sans
  - Tinker
5.7.0 20161011

Code:
5.7.0 20161011:

userapps:
- update XDA Labs (1.0.8.9b)

apps:
- update F-Droid (0.102~alpha1)
- update Amaze (3.1.2~beta2)
- update K9-Mail (5.113)
- update Open Camera (1.34)
- update Xposed Installer (3.0~alpha4~20161008)
- update Neo Power Menu (1.5.5-2)

system:
- add Magisk Manager (2.0)
- update Settings App accordingly
- update microG (0.2.4-22-gcb356d2-dirty)
- add microG DroidGuard (0.1.0-3-gbb232f2-dirty)
- update Good Lock (24.0.15)
- update Play Store (7.1.11.H)
- update Google Play Services (9.8.75.440)
- add SuperSU 2.78-SR1
- add SuHide (0.55)
- update Magisk (7)
- remove AutoMagisk
- make NanoROM init scripts su.d again
- remove Hacker Kernel
- add Stock Samsung Kernel
 - support 920F 920FD 925F
 - support (untested) 920I 925I
- disable ro.securestorage.support in build.prop
  - else Stock Samsung Kernel will not remember WiFi
    passwords and WiFi startup will take ages

installer:
- install GApps  (7)by default
- install AOSP dialer by default
- enable Call and SMS block menu by default
- make SuHide optional
- make Magisk optional
  - install Magisk Manager when Magisk was choosen
- minor string fixes
5.6.1 20160928

Code:
5.6.1 20160928:

userapps:
- update XDA Labs (1.0.8.6b)

apps:
- update Neo Power Menu (1.5.5-1)
- update Amaze (3.1.0 beta2)
- update NewPipe (0.8.5)

system:
- update Auto Magisk (1.1)
- update Play Store (7.0.16.H)
- update Good Lock (24.0.14)
5.6.0 20160919

Code:
5.6.0 20160919:

userapps:
- update Termux (0.42)

apps:
- remove Xposed Boot Manager
- update Twidere (3.2.7)
- update AOSP/DU Gallery (1.1)
- update Xposed Installer (3.0~alpha4-20160914)

system:
- remove SuperSU
- add Magisk (6)
  - with Auto Magisk (1.0)
  - hide from Launcher
- add PHH SuperUser for Magisk (17)
  - with Super User app
  - hide from Launcher
- make NanoROM startup scripts a Magisk Service
- add native Fake Sign support to framework.jar
  - primarly for microG
  - fixes microG being incompatible with Magisk/Systemless Xposed
    as microG now no longer needs Fake GApps Xposed Module to work
  - remove Fake GApps Xposed Module
- System Settings:
  - remove Settings > Apps > Boot Manager shortcut
  - remove Settings > System > SuperSU shortcut
  - move Settings > Apps > Xposed Framework shortcut to
    Settings > System Xposed Framework
  - add Settings > System > PHH Super User shortcut
  - add Settings > System > Auto Magisk shortcut
- update Google Play Services (9.6.83-440)
- minor update to KERNEL doc

NOTE 1: a clean flash is mandatory when coming from a
        different ROM or a previous version of NanoROM
NOTE 2: use systemless Xposed for Magisk with this ROM
5.5.7 20160910

Code:
5.5.7 20160910:

userapps:
- update XDA Labs (1.0.8.5b)
- update Termux (0.41)

apps:
- update QKSMS (2.7.3)
- update Twidere (3.2.5)
- update Etar (1.0.6)
- update Xposed Neo Power Menu (1.5.4-3)
- update Xposed Settings Editor (2.4)
- update Always On: Ambient Clock (1.5.2)
- update Open Camera (1.33)

system:
- replace Kernel Adiutor Mod by shiny new Kernel Adiutor
- update Play Store (7.0.12.H)
- update Google Play Services (9.6.78-440)
- update SuperSU (2.78-system_mode)
5.5.6 20160830

Code:
5.5.6 20160830:

apps:
- update Enhanced AOSP Keyboard to 1.0.4

system:
- updated Good Lock to 24.0.12
5.5.5. 20160828

Code:
5.5.5 20160828:

userapps:
- update XDA Labs (1.0.8.3b)
- update VLC (2.0.6-12000627)
- update Termux (0.39)

apps:
- update F-Droid (0.100~alpha6)
- update QKSMS (2.7.1)
- update Twidere (3.2.4)
- update Face Slim (2.9.0)
- update Xposed Neo Power Menu (1.5.4-1)
- update Xposed Flat Style Colored Keyboard (2.6.1)
- update Xposed Settings Editor (2.2)
- update Xposed Installer (3.0~alpha4-20160805)

system:
- update GNU Bash to 4.3.46
- update microG 0.2.4-9-g214120a
- support Dual SIM variants
5.5.4 20160802

Code:
5.5.4 20160802:

apps:
- update F-Droid (0.101~alpha3)
- update Open Camera (1.32.1)
- update Neo Power Menu (1.5.2-2)
- update Settings Editor (2,1)
- update Xposed Installer (3.0~alpha4-20160731)

userapps:
- update VLC (2.0.5-12000507-arm64)
- update XDA Labs (1.0.8b)
- update Termux (0.37)

system:
- update microG (0.2.4-3-g47a61d6)
  - this version is compatible with Pokemon GO 0.31
- update Google Play Services (9.4.52-440)
- update Google Play Store (6.9.15.G)

5.5.3 20160721

Code:
5.5.3 20160721:

apps:
- update Neo Power Menu (1.5.2-1)
- update Open Camera (1.32)

system:
- fix Settings Crash when trying to enable Fingerprint Unlock
  NOTE: if it's still not working after flashing this update,
        you'll need to do a factory reset and flash this version
        again, sorry for the trouble caused.
5.5.2 20160720

Code:
5.5.2 20160720:

apps:
- update Kernel Adiutor Mod (v15)
- update VLC (2.0.4-12000407-arm64)
- update Xposed Installer (3.0~alpha4-20160715)
- update T-UI (4.5)

system:
- update microG (0.2.4)
- fix crash when tapping on number in callog (AOSP Dialer)
5.5.1 20160714

Code:
5.5.1 20160714:

apps:
- update Twidere (3.1.12)
- update QKSMS (2.7.0)
- update Play Store (6.8.22.F)
- update Xposed Settings Editor (1.9)
- update Amaze (3.1.0 beta 1)

system:
- update microG (0.2.3-6-gbee7bc9)
  - Note: this release fixes the bug that made
          Pokemon Go not get GPS fix with microG
5.5.0 20160709

Code:
5.5.0 20160709:

apps:
- update F-Droid (0.101~alpha2)
- update Face Slim (2.8.0)
- update Twidere (3.1.11)
- update VLC (2.0.3-12000304-arm64)

system:
- fix rotation bug with TouchWiz System UI
- update Good Lock (24.0.11)
5.4.5 20160706

Code:
5.4.5 20160706:

apps:
- update Play Store (6.8.20.F)

system:
- fix microG Gms Core not properly working
- fix Super Su sometimes didn't work when dirty flashing
  from 5.4.3 to 5.4.4 (clean flash properly worked)
- integrate Music Visualization into SecSettings2
- hide Music Visualization from Launcher
5.4.4 20160705

Code:
5.4.4 20160705:

apps:
- update Amaze (3.1.0)
- update VLC (2.0.2-12000217-arm64)
- update Open Camera (1.31)
- update F-Droid (0.101~alpha1)
- update QKSMS (2.6.3)
- update AlwaysOn: Ambient Clock (1.4.4)
- update Xposed Settings Editor (1.8a)
- update Xposed Installer (3.0~alpha4-20160623)
- update Xposed Neo Power Menu (1.5.1)
- update microG Gms Core (0.2.3-3-g30e6dba)
- update AdAway (3.1.2)

installer:
- choose between custom kernel settings script and
  Kernel Adiutor Mod [v14]
- install framework without Doze by default
- install Open Camera by default
- don't install Hacker Keyboard by default

system:
- update system mode Super SU (2.76)
- update Enhanced AOSP Keboard (1.0.3)
- remove AOSP/DU Keyboard (we have Enhanced AOSP Keyboard)
- when using my custom kernel settings script don't overclock
  the CPU to 2.4/1.8 GHz, instead stay at safe 2.1/1.5 GHz,
  increase lowest frequency from 200/200 MHz to 400/200 MHz
5.4.3 20160620

Code:
5.4.3 20160620:

apps:
- update Amaze (3.0.2~beta6)
- update T-UI (4.4.b8)
- update Google Play Services (9.2.56-440)
- update VLC (2.0.0-12000044)

system:
- fix PlayStore crash when using GApps
- remove lock screen strings from Good Lock
5.4.2 20160614

Code:
5.4.2 20160614:

apps:
- update Amaze (3.0~beta5)
- update Face Slim (2.6.0)
- update NewPipe (0.8)
- update Xposed Neo Power Menu (1.5.0)

system:
- update Good Lock (24.0.10), changes by Samsung since 24.0.9:
    - Sync and Ultra Power Save Mode quick tile
    - multi window badge in notifications
    - silent with volume down key
    - backup and restore settings
    - feedback option
5.4.1 20160613

Code:
5.4.1 20160613:

apps:
- update T-UI (4.3.b6)
- update Open Camera (1.30.1)
- update F-Droid (0.100)
- update Trebuchet (6.0.1.6)

system:
- remove Good-Lock-Viz instead both Good-Lock-Nano and Good-Lock-Zero now contain both the Cyanogen Mod Visualization
- fixed Good-Lock-Zero not having Zero Padding
5.4.0 20160603

Code:
5.4.0 20160603:

userapps:
- update VLC (2.0.0)

apps:
- update Xposed Installer (3.0-alpha4-20160529)
- update Flat Style Keyboard (2.6.0)
- update Play Store (6.7.13.E)
- update QKSMS (2.6.1)
- update Open Camera (1.30)
- update T-UI (4.2.1.b6)
- update AOSP Gallery (DU-20160515)
- update AOSP Dialer (DU-20160515)
- update AOSP Contacts (DU-20160515)
- update microG Gms Core (0.2.3-1-gec93cc4)

system:
- add new Good Lock variant:
  - with Cyanogen Mod Music Visualizer
  - install Visualizer Settings when choosen
  - NOTE: if it's not working for you, remove the following file:
              /data/system/users/0/runtime-permissions.xml
          and reboot your phone
5.3.1 20160528

Code:
apps:
- update F-Droid (0.100-alpha8)

userapps:
- update VLC (1.9.12)

system:
- update Good Lock (24.0.9)
  - new features by Samsung:
    - more toggles under advanced settings
    - colorable clock under lock screen settings
    - interchangeable colors in routine settings
    - ?
  - new changes in modded version
    - increase notification count to 7
  - available as stock, modded and zero variants in installer
5.3.0 20160517

Code:
apps:
- update Twidere (3.1.7)

system:
- update microG Play Services Core (0.2.2-9-20160515)
- update microG Framework Proxy (0.2.2-9-20160515)
- update Play Store (6.7.07.E)
- update Google Play Services (9.0.83.440)
- add T-UI as optional Launcher

installer:
- option to install T-UI Launcher
- make all Launchers installable at once
- make all user apps optional
 - Cyanogen Screencast
 - Oandbackup
 - Termux		[default]
 - VLC			[default]
 - XDA Labs		[default]
5.2.0 20160515

Code:
userapps:
- update XDA Labs (1.0.6.1b)

apps:
- update F-Droid (0.100-alpha7)
- update Face Slim (2.5.2)
- update Xposed Settings Editor (1.6)
- update Enhanced-AOSP Keyboard (1.0.2)

system:
- update SuperSU (2.72, system mode)
- Good Lock / Good Lock Zero:
  - fix Doze not working
- framework-res Doze / No Doze:
  - allow all rotation modes

installer:
- add option to install unmodified Good Lock
5.1.1 20160509

Code:
apps:
- update OpenCamera (1.2.9)
- update Etar (1.0.4)

system:
- update Good Lock (24.0.8)
  - all my modifications are applied aswell
  - including ZeroPadding version
- further improve busybox installation script
- further improve 999kernel script
- new testmenu script paramters:
  - 'testmenu kernel-disable' will disable 999kernel script
  - 'testmenu kernel-enable' will enable 999kernel script
  - 'testmenu kernel-status' will show whether 999kernel is enabled or not

installer:
- minor improvements
- when backing up and restoring kernel configuration during installation, do not just backup and restore custom.settings, but also disabled.settings
5.1 20160508

Code:
misc:
- move Samsung Bloatware into own package

apps:
- update Neo Power Menu (1.4.2)
- add Flat Style Colored Keyboard Xposed module
  (if either AOSP or Enhanced-AOSP Keyboard is installed)
- add Settings Editor Xposed module
  (allows you to modify SecSettings2, hide from Launcher)

userapps:
- updated XDA Labs (1.0.5.1b)

system:
- arter97 kernel: removed (I overlooked that arter97 prohibits redistribution)
- forgot to update /system/vendor to PDP
- 999kernel: if /etc/kernel/disabled.settings exists, don't do anything
- microG:
  - fix libvtm-jni / libvtm-android not beeing available to apps
- Good Lock:
  - enable System UI Tuner (Settings > Applications > System UI Tuner)
  - hide from Launcher (it's accessible from expanded Notification Panel)
  - short click on status bar battery icon: turn display off
  - long click on status bar battery icon: show power menu
- Good Lock ZeroPadding:
  - Good Lock with no padding (indention) in notification drawer (optional)
  - else all changes like Good Lock
- TouchWiz:
  - enable System UI Tuner (Settings > Applications > System UI Tuner)
- SecSettings2:
  - show Settings Editor in system group
  - show proper icon for Always On
- new testmenu script parameters:
  - 'testmenu test' will open TestSettings (SMS Center and stuff)
  - 'testmenu tuner' will open System UI Tuner (use with caution)

installer:
- add option to install Enhanced AOSP Keyboard [default]
  (AOSP Keyboard with number row)
- add option to install Good Lock with Zero Padding
5.0.1 20160505

Code:
userapps:
- update XDA Labs (1.0.5b)

system:
- Good-Lock.apk:
  - remove annoying notification when no user routine is set up
- update arter97 kernel to v14~alpha4~misc-gov3

installer:
- new option to choose wether to install framework-res
  - with Doze enabled [default]
  - with Doze disabled
5.0 20160504

Code:
misc:
- add KERNEL doc

apps:
- update F-Droid (0.100-alpha6)
- update Etar (1.0.3)
- update Face Slim (2.5.0)
- make Always On: Ambient Clock a system app
  - update to 1.4.3

userapp:
- remove Screen Notifications

system:
- update to PDP firmware
- framework.jar changes:
  - add Always/Once buttons to "Open With" dialog
- framework-res.apk changes:
  - enable Doze
- services.jar changes:
  - disable wake up on USB un/plug
  - rename items in stock reboot menu:
    - Reboot > Hardware Reboot
    - Hot Reboot > Software Reboot
    - Download > ODIN Mode
- Good-Lock.apk:
  - rounded recents (traditional recents)
  - rounded notifications
  - center clock
  - WiFi icon on left
  - Cellular icon on left
  - remove unlock text
  - quick pulldown on right side
  - reduce notification panel paddings
  - move carrier label to right in lockscreen
  - make statusbar on homescreen and lockscreen same height
  - other minor adjustments
- SecSettings2.apk:
  - add AdAway in connectivity group
  - add Always On in device group
  - add Xposed Framework in device group
  - add SuperSU in system group
  - add microG in system group (if installed)
  - add Neo Power Menu in system group
  - add Boot Manager to device group
  - enable Developer Options by default
  - remove Manual in system group
  - hide those apps from launcher

installer:
- improve build.prop settings mechanism
- make all CSC features AROMA chooseable
  (except disabled Software Update menu):
  - show camera (Samsung Camera) shutter sound option
  - show NFC icon in status bar when on
  - show call recording button
  - show block SMS and Call menu [default]
  - recents app protection (TouchWiz)
  - extra quick toggles (TouchWiz) [default]
  - show data usage in notification panel (TouchWiz)
  - show call button in call list (Samsung Dialer)
 
Last edited:

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
Kernel Stuffz

=== Kernel Settings ===

For NanoROM you don't need tools like Synapse or Kernel Adiutor to modify kernel settings. It comes with it's own script to manage kernel settings.

/system/su.d/999kernel​

=== Configuration Files ===

By default the script has three pre-set configuration files:

/system/etc/kernel/arter97.settings arter97 kernel​
/system/etc/kernel/hacker.settings Hacker Kernel​
/system/etc/kernel/stock.settings Samsung Kernel​

depending on your installed kernel the correct pre-set is loaded. Your own configuration needs to go to

/system/etc/kernel/custom.settings User Settings​

it will always be loaded in favour of the pre-set configurations.

If you don't want the script to do anything, create an empty file:

/system/etc/kernel/disabled.settings​

and reboot, then the kernel default values will be used. Remove that file and reboot to let the script do it's work again.

=== File Format ===

The format of the configuration file is simple

Code:
	option=value
for non-array values and

Code:
	option=( key1 value1
		 key2 value2
		 ...  ... )
for array values (currently only the voltage table is an array).

=== Possible Options ===

The script covers most relevant options you might want to tweak. Note: even if the installed kernel does not support all settings, your configuration file must include all options, to ensure the script is properly working.

Thus I recommended copying over one of the pre-set configuration files and modify it to your needs. Next follows a list of possible configuration options.

Code:
1] cpu_governor
   default values:	arter97		userspace
			Hacker		userspace
			stock		userspace

   use the following command to check available governors:

	cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

2] io_scheduler
   default values:	arter97		fiops
			Hacker		sioplus
			stock		cfq

   use the following command to check available schedulers:

	cat /sys/block/sda/queue/scheduler

3] io_readahead
   default values:	arter97		2048
			Hacker		2048
			stock		2048

4] tcp_congestion
   default values:	arter97		westwood
			Hacker		reno
			stock		cubic

5] power_suspend_mode
   default values:	arter97		1 [userspace] {0, 3 unsupported}
			Hacker		1 [userspace]
			stock		1 [userspace]

   Note:		0	[autosleep]
			1	[userspace]
			2	[lcd]
			3	[hybrid]

6] power_suspend_state
   default values:	arter97		1 [on]
			Hacker		1 [on]
			stock		1 [on]

   Note: 1 [on] only possible when power_suspend_mode is 1 [userspace],
         else it'll always be 0 [off]

7] gentle_fair_sleepers
   default values:	arter97		0 [off] {unsupported}
			Hacker		0 [off]
			stock		0 [off] {?}

8] big_max_freq
   default values:	arter97		2400000 [2.4 GHz]
			Hacker		2400000 [2.4 GHz]
			stock		2400000 [2.4 GHz]

   use the following command to get the clock speeds for big core:

	cat /sys/devices/system/cpu/cpufreq/mp-cpufreq/cluster1_freq_table

9] big_min_freq
   default values:	arter97		200000 [200 MHz]
			Hacker		200000 [200 MHz]
			stock		200000 [200 MHz]

   use the following command to get the clock speeds for big core:

	cat /sys/devices/system/cpu/cpufreq/mp-cpufreq/cluster1_freq_table

10] low_max_freq
   default values:	arter97		1800000 [1.8 GHz]
			Hacker		1800000 [1.8 GHz]
			stock		1800000 [1.8 GHz]

   use the following command to get the clock speeds for low core:

	cat /sys/devices/system/cpu/cpufreq/mp-cpufreq/cluster0_freq_table

11] low_min_freq
   default values:	arter97		200000 [200 MHz]
			Hacker		200000 [200 MHz]
			stock		200000 [200 MHz]

   use the following command to get the clock speeds for low core:

	cat /sys/devices/system/cpu/cpufreq/mp-cpufreq/cluster0_freq_table

12] arch_power
   default values:	arter97		0 [off] {unsupported}
			Hacker		1 [on]
			stock		0 [off] {?}

   Note: architecture specific power saving options.

13] laptop_mode
   default values:	arter97		0 [off] {unsupported}
			Hacker		0 [off]
			stock		0 [off] {?}

14] power_efficient
   default values:	arter97		N [off] {unsupported}
			Hacker		Y [on]
			stock		N [off] {?}

   Note: power efficient work queues

15] kernel_samepage
   default values:	arter97		0 [off]
			Hacker		0 [off]
			stock		0 [off]

   Note: kernel samepage merging reduces unrequired RAM usage,
         at slightly less battery life

16] kernel_samepage_sleep
   default values:	arter97		100 [ms]
			Hacker		100 [ms]
			stock		100 [ms]

   Note: KSM scan intervall in milliseconds

17] kernel_samepage_cpu
   default values:	arter97		95 [%]
			Hacker		95 [%]
			stock		95 [%]

   Note: KSM maximum cpu usage

18] swappiness
   default values:	arter97		50 [%]
			Hacker		50 [%]
			stock		50 [%]

   Note: higher value = kernel puts off unused objects from RAM faster

19] dirty_writeback
   default values:	arter97		0 [off] {?}
			Hacker		1 [on]
			stock		0 [off] {?}

   Note: delays writeback for faster operation, slightly higher chance
         of possible data loss when phone is crashing while writing data

20] adb_over_wifi
   default values:	arter97		-1 [off]
			Hacker		-1 [off]
			stock		-1 [off] {?}

   Note: default for [on] is 5555 (equals to port)

21] low_volt_table
   default value	(1800000:500000
			1704000:625000
			1600000:500000
			1500000:637500
			1400000:975000
			1296000:925000
			1200000:887500
			1104000:850000
			1000000:812500
			900000:775000
			800000:737500
			700000:706250
			600000:681250
			500000:656250
			400000:631250
			300000:625000
			200000:625000) [all kernels]

   Note: de/increment by multiples of 6250, eg: 625000 > 631250 > 637500 > ...

   Note: changing this array is only recommended if you know what you're
         doing. Wrong handling of this might result in data loss, unstable
         operating system or if you overdo it: hardware damage.

22] big_volt_table
   default value:	(2400000:1062500
			2304000:1062500
			2200000:1062500
			2100000:1050000
			2000000:1012500
			1896000:975000
			1800000:937500
			1704000:906250
			1600000:875000
			1500000:843750
			1400000:818750
			1300000:793750
			1200000:775000
			1100000:750000
			1000000:725000
			900000:706250
			800000:687500
			700000:668750
			600000:650000
			500000:650000
			400000:650000
			300000:650000
			200000:625000) [all kernels]

   Note: de/increment by multiples of 6250, eg: 625000 > 631250 > 637500 > ...

   Note: changing this array is only recommended if you know what you're
         doing. Wrong handling of this might result in data loss, unstable
         operating system or if you overdo it: hardware damage.
 
Last edited:

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
Nice! I will definitely try it then and keep you updated!
I'll push an update later today, because I noticed my Synapse profile is not auto applied. It changes some settings that improve stability on buggy devices.

Depending on my time I may either provide edge hacker kernel as separate zip or digg into aroma.

Also on todo list:
- auto enable xposed mods
- auto grant root for Synapse
- update f-droid

Gesendet von meinem SM-G920F mit Tapatalk
 
  • Like
Reactions: UlmGS6

CRiSTiANVASiLE

Senior Member
Jul 22, 2015
126
12
0
Hello!
My 920F is definitely doing random reboots and random freezes.

I will try your ROM tonight, I think, and I hope that this is going to solve my problems.

But I also have a question: Why is my 930F restarting in the last 5 days?
I mean, I ' ve installed a ROM from XDA a month ago and it worked really fine until 5 day ago?
Is there any way to find out why it keeps restarting and freezing? Maybe a log?
 

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
Hello!
My 920F is definitely doing random reboots and random freezes.

I will try your ROM tonight, I think, and I hope that this is going to solve my problems.

But I also have a question: Why is my 930F restarting in the last 5 days?
I mean, I ' ve installed a ROM from XDA a month ago and it worked really fine until 5 day ago?
Is there any way to find out why it keeps restarting and freezing? Maybe a log?
Did you try a factory reset? A logcat might be helpful, but if it's a hardwate issue, it won't show anything.

Gesendet von meinem SM-G920F mit Tapatalk
 

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
Want to try this rom. Update all ready uploaded?

Sent from my SM-G920F using XDA Premium HD app
Not yet, testing still in progress, a small preview of what will be changed (not final):
Code:
apps:
- update F-Droid (0.100-alpha3)
- update K-9 Mail (5.010)

installer:
- auto detect whether device is zeroflte (SM-920F) or zerolte (SM-G925F) and install correct Hacker Kernel version accordingly.
- fix busybox installation
- fix TWRP progressbar

system:
- remove test applications
- show NanoROM version in software info
- by default make the home screens empty
- by default apps are now sorted alphabeticaly
- other minor tweaks
there are still a few more possible changes, but I'm not sure yet whether they'll come with the next update or the one after.
 
  • Like
Reactions: marcel112

Setialpha

Elite Member
Jul 24, 2011
2,532
5,795
113
Nürnberg
www.nanolx.org
my phoe suddenly freezed and rebooted with a pink led is this the plod? i had no issues since months but now?
Yes.

On other note:

Hmm... Update takes a bit longer, still need to sort out some things. In the download folder you'll find my Synapse profile. Using this on a buggy device greatly improves stability.

Anyone else having the issue that Synapse does not see the Profile after putting it into /sdcard/Synapse/saved_profiles?
 
  • Like
Reactions: Moe9269