[Discontinued][ROM][InvictaOS v4.15][XT16xx][MotoG4/Plus][7.1.2_r29][11-17-17]

Should I revert InvictaN camera to support HAL3? Will need a reboot to use flashlight

  • Are you nuts? Let it be the way it is.

    Votes: 9 14.1%
  • Need better photos of my gf!!! Change it already.

    Votes: 55 85.9%

  • Total voters
  • Poll closed .
Not open for further replies.
Search This thread


Senior Member
Jun 1, 2017
Pls Add Stock Camera To This Beta Or Add Slow motion Feature,I Flashed Stock Camera On v4.13 But Not Worked & Also Tried In Other Roms But Not Worked ?


Senior Member
Jun 2, 2007
First official build soon.... :good:
Great news; great progress! It's good to see the camera screenshot - I flashed the 5.0 beta and it worked as advertised, but I depend on an app that uses the camera on work days so I'm back on 4.13.

FYI - On my xt1644 (CDMA/LTE), while installing v5.0, I noticed that it prompts me to "insert SIM", even though my SIM is already inserted. I tried skipping the SIM reinsertion, but I was then unable to successfully complete the setup wizard via WiFi. When I pulled the back cover and removed the SIM before reinserting it (with power on while that screen was urging SIM insertion), the process recognized my SIM within a minute and I was able to complete the setup process successfully.

Sent from my Moto G4 Plus using Tapatalk
  • Like
Reactions: Silesh.Nair


Senior Member
Mar 19, 2012
Great work bro , you are ahead of everyone almost everytime
And a kind request too if you can maintain N keep updating it too

I will. As there won't be any feature additions to InvictaN, maintaining it will only involve upstream merges and kernel updates if any.

Hi, I have the next question... Is it possible to enable camera2 API on this ROM without ruining all my camera apps, even the stock ones? I tried by modifying build.prop but the cameras would just FC or show only a black screen.

Needs more changes than that. I can revert back to HAL3, but it will bring back the chopchop/flashlight issue of needing a reboot to work. So if users can live with it, I have no issues.

Did you get flashlight to work natively (chop gesture) ?

Not yet.
Last edited:


Senior Member
Oct 18, 2015
Needs more changes than that. I can revert back to HAL3, but it will bring back the chopchop/flashlight issue of needing a reboot to work. So if users can live with it, I have no issues.

Ohhh I think I get it, thank you. Personally, I think I can live with that issue, I mean, as long as that options keep working, it's not that bad! But i would like to ask anyway.. the reboot is just after flashing an update? Or is it everytime we try to use them.


Nov 9, 2015
I will. As there won't be any feature additions to InvictaN, maintaining it will only involve upstream merges and kernel updates if any.

Needs more changes than that. I can revert back to HAL3, but it will bring back the chopchop/flashlight issue of needing a reboot to work. So if users can live with it, I have no issues.

Not yet.
Yu can revert back brother,we can live with that.and hal3 is needed much
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 248
    InvictaOS is based on LineageOS with some cool extra features. It can be used without any need to have Google application's installed.


    4.15 is the final build

     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.

    Keep these is mind before you flash

    Please read the help thread before you point out issues here. It has been created specifically to help new users to adapt to custom roms easier. Before you post your issue, please check if it has already been reported and if a fix has already been mentioned.

    When you post a bug or mention an issue, it is assumed that you are running no additional mods that could cause that bug/issue. If you have made any additional changes, you need to mention that when you mention the bug/issue, else it confuses all users and I waste time looking to a bug that doesn't even exist. (1,2,3) is a classic example of this.

    I have given in to frequent complaints of volume being too low on this rom and have restored it to the values found in other roms. That said, I will be in no way responsible if you hurt your ears as a result of the high volume. You have been warned.

    Plus users take note. You need to be running an N modem to fix fingerprint issues.

    Reliance Jio users, take note. Jio needs mobile data to work. If you change mobile data to a different sim in a dual sim environment, Jio sim will deactivate itself. Its not a bug.

    Use Cameringo or builtin snap camera to record video. Video recording with Moto camera doesn't work. HTC camera seems to work the best.

    Additional Features

    1. Status Bar date
    2. Network Traffic Indicators
    3. Double Tap to sleep on lockscreen
    4. Ambient display battery indicator
    5. Additional QS Tiles
    6. Superuser indicator toggle
    7. Lockscreen charging information
    8. Bluetooth easy toggle
    9. Wifi easy toggle
    10. Toggle to disable suggestions & tile summaries
    11. Unlink notification volume
    12. Pixel navigation bar and animation
    13. Full Substratum OMS theme support
    14. Alarm blocker
    15. Wakelock blocker
    16. Selinux Switch
    17. and more....

    Installation procedure

    From stock / other custom roms
    1. Plus users have to be on N modem. For models that can't flash N modem, you will have issues with fingerprint registration.
    2. Copy the ROM zip on your phone
    3. Reboot in TWRP Recovery mode
    4. Backup your phone!
    5. Format/Wipe system, cache, dalvik, data
    6. Flash/Install ROM
    7. Flash/Install Gapps of your choice ( smallest package recommended )
    8. Reboot

    Upgrade from previous build
    1. Download the update via OTA app.
    2. Reboot in TWRP Recovery mode
    3. Format/Wipe only cache, dalvik
    4. Flash/Install ROM
    5. Flash/Install Gapps of your choice ( smallest package recommended ). This step is not a must.
    6. Reboot


    Changelog for the latest build can be accessed from this link.


    Normal version without HAL3 : Latest build - here || Older builds ( version < 4.5 ) - here / ( version >= 4.5 ) - here
    Modified version with HAL3 : Latest build - here || Older builds - here

    GAPPS : Beans GApps Mini || OpenGapps
    RECOVERY : https://goo.gl/u9tNjm

    Other important links

    Magisk ( MagiskManager app, magisk installer/uninstaller zip's : https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
    LineageSU ( Installer and uninstaller zip's : https://download.lineageos.org/extras
    SuperSU : ( Uninstall using the app ) : http://www.supersu.com/download

    ROM review

    A review by @1chrome can be accessed from this link.

    A video review of the rom can be accessed here. Thank @fr3d0x for this.


    Note that the screenshots seen above are not the default look of the ROM. It comes with Pixel UI by default. Screenshots are using Coalfield substratum theme and Retrorika icon pack.


    You will be notified via the OTA app when there is an update.

    Known issues

    1. App restore using hypershell in Titanium backup doesn't work. Data restore works. Works from v4.14.

    Reporting Bugs

    You are allowed to report bugs only in this thread.
    1. Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    2. If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    3. If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. The following is a useful format to follow.

    What is your--
    Radio (baseband):
    ROM version:
    Gapps version:
    Did you--
    restore with titanium backup:
    reboot after having the issue:
    Are you using--
    a task killer:
    a non-stock kernel:
    LOSSettings/Performance settings (other than stock):
    Dual SIM:
    other modifications:
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    Custom Splash Screen

    If you need a custom splash screen with Invicta logo, check this post. Thanks to
    @1chrome for the initiative.

    Useful information

    1. Some users have reported that they are unable to share screenshots/images from the gallery or filemanager. Though I personally have not come across this issue, if you do have this issue, have a look here for a possible fix.
    2. Please make sure that your DPI under Settings->Display->Display Size is set to default, else motorola camera doesn't seem to work. Users of model xt1622 who have reported camera issues also check if you have made any changes to your dpi. Thanks to @zeomal for pointing this out.
    3. For app sharing applications like xender,shareit etc.. to work, you need to disable mobile data. Check this post.

    The team

    @Silesh.Nair - Project lead
    @1chrome - UI designer


    Team LineageOS
    Others who i have missed intentionally

    Sources for Athene


    Donations Received

    @r1l_Alex_? ( Multiple times, lost count )
    @Mr. Obsolet ( Multiple times, lost count )
    @gavron ( Multiple )
    @pastorbob62 ( Multiple )
    Kai Min?en ( Don't know your user name on xda )
    Philip Wehrheim ( Don't know your user name on xda )
    Joao Henrique Queiroz ( Don't know your user name on xda )
    Robert Rhumba ( Don't know your user name on xda )

    It's fine to just click Thanks! or enjoy my work without saying anything.
    A donation is to show appreciation of the work I have done already.
    A donation is not by any means in expectation of future work.
    A donation doesn't entitle for preferred/private support/requests.
    A donation is meant as a gift - always appreciated, never required.
    O update

    First step towards getting InvictaO is done. Compiled a lineage-15.0 build.

    Next is to see if it boots, it not get it to boot, then bug fixes and finally adding back all Invicta features. Lot's of work ahead.
    An update on O.

    I have finished all the base work for the ROM. I can add features when required.

    I can now concentrate on fixing the device side. Except camera and a couple of FC's(Bluetooth only the first time you boot and MotoActions when you receive calls because of a proximity sensor issue), its performs OK.
    Update on InvictaO

    Step 2 done.

    Most of the important stuff still doesn't work like RIL, data, gps, camera & fps. Audio, video playback, fm, sensors, bluetooth, vibrator & wifi (partially) are working. Moto actions works too.

    I will post a build when the major stuff starts working which is still a long way off. Screenshots attached.
    And we have camera working.....

    First official build soon.... :good:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone