• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][CLANG][7.1.1][Substratum]PixN Rom

Search This thread

HaoZeke

Senior Member
Aug 16, 2009
862
655
Kanpur
rgoswami.me
Redmi Note 10 Pro
PixN Rom
** Theme friendly ** Substratum ** Clang ** Custom Settings **

This is my daily driver which I update occasionally depending on weather I need/want new features. There won't be any OTA's because of work. Do please also check the Credits section, and the Screenshots tab.

Please use the Feature Request tab for feature inclusion requests.
It's also very hard to keep track of bugs reported here in the comments so please, again, use the bug reports tab...
I'm very thankful to everyone commenting, it's just hard to keep track sometimes, and seeing as DevDB has all the features required...
Since I also use XDA Labs which has no DevDB support it'd be best to comment AND add the comment in the required DevDB tab..

I don't own this device, but everything should work.

Features Implemented
Release 1
  • SonyAosp Based
  • OMS Substratum Support with Masquerade (from CarbonROM)
  • Thermal-engine (CarbonROM)
  • Gapps Inbuilt (OpenGapps)
  • Supports Assistant Activation
  • Increased Call Log History
  • Working Advance Reboot Menu (SonyAosp)
  • Commit history in Changelog (SonyAosp)
  • Screen dimmer. (Elementalx Kernel)
Release 1.99

This is a beta release which sort of currently BREAKS BLUETOOTH. (will be fixed in Release 2)
  • Working Camera (The google camera crashes but open camera and whatsapp camera work usually, some crashes are still there but the pictures are clear (front camera colors are a bit washed out) and no inversion or anything)
  • Sdcarfs (should fix exfat)
  • Fixed the wakelock issue (IPA and others)
  • Fixed substratum for the e6653
  • Stability Tweaks
Release 1.999

Please extract the zip and fastboot flash both the system and the kernel..
  • Working Camera (Works for me)
  • Built with CLANG
  • Fixed the slow charging
  • Native ntfs and exFAT
  • More Stability Tweaks
  • Built with newer external libraries
  • Added Vanilla Music Player
  • More features coming soon, framework buildup.
Release 3

Please extract the zip and fastboot flash both the system and the kernel.. This is a deodexed build and has a slow FIRST boot.
  • Status Bar swipe to increase brightness
  • Customize Nav Bar
  • Fixed Substratum
  • Double Tap status bar to sleep
  • Music Controls
  • Close foreground app with long press
  • Screen Record
  • Native Screenshot edit options
  • All other OmniGears features as of 7.0
  • Busybox built in (toybox is too limited)
  • Some new bugs which will be fixed. Report them asap!
Release 3.1

Minor Bugfix release.
  • Squashed that damn irritating power button reboot
  • Also has a new minor kernel update
Release 4

Major release. Name change, fixes... the full changelog is HUGE
  • Fixed LEDs
  • Fixed Power reboot issues
  • Added my own custom settings based off Benzo and Flash Roms
  • Ambient display
  • NETWORK TRAFFIC MONITOR!!
  • LED Control (Cyanogenmod)
  • Default pixel coloring
  • Added substratum and superuser tiles in settings
  • Double tap to sleep anywhere
  • Adblock from the MoaAB Project
  • Navigation bar edits
  • Pulse
  • Smartbar
  • Fling
  • Toast icons
  • Fixes and stuff check changelog.
  • Sdclang and Clang build
Release 5

Major release. Android version upgrade. I can't remember the whole changelog. :D
  • Rebased to Android 7.1.1
  • Therefore all 7.1.1 features, most notably, automatic background update handling and faster UI
  • Built with GCC 6.x as well as Clang 3.9 for speed and battery
  • All the features made it through intact including themes
  • Introducing Moves, which are quick shortcuts
  • All the libraries have been optimized and rebuilt mostly
  • Uses a Relatime Thread for the UI
Release 5.5

Bugfixes. Everyone should get this.
  • Fixed all the Settings
  • Added charging current and voltage
Release 6

More fixes and features.
  • Fixed all the Settings (again)
  • Added memory bar option
  • QS Header Icon settings
  • Date and time for header modifications
  • Auto launch music player

Release 7

Fixes.
  • Mostly the power menu bug.
  • Updated Externals.
  • Didn't get time to check the gapps thing. Install the necessary version (7.1.1 Arm)

Working
Everything ought to be fine.

Partially Working / Buggy
  1. Sometimes these wakelocks prevent deepsleep. Disable the services and use suggested apps to fix. (as reported by @Sh4douw)
  2. All the KERNEL bugs of AOSP are present
Release 3

Sorry but these are mostly due to a rushed release. ALL of these WILL be fixed asap.... All done!
  • The LED won't turn on while charging, but it still charges and shows the animation. (Fixed in 4)
  • The power button sometimes causes random reboots (Fixed in 4)
  • Power menu isn't themed yet (Fixed in 4)
  • The omnigears settings look like they don't stick (checkboxes) but they actually do (My settings do stick in 4)
Release 5

These are to be removed in the next release
  • The statusbar battery in the icon doesn't work. Everything else does. (Fixed in 6)
  • Lockscreen shortcuts don't work yet (Fixed in 5.5)
  • Lockscreen voltage and charging current doesn't work yet (Fixed in 5.5)
  • Weirdly I managed to get the advanced reboot menu to turn up while using the Power Off option too so for now to really turn it off you'll need to choose bootloader :D (Fixed in 6)

Not Working
  1. Inbuilt Recovery (Weirdly) (Use the one for your device)
  2. Gapps (You'll need to uninstall gapps with the opengapps uninstaller and then reinstall the right version (arm, 7.1.1) for your device; in my hurry the gapps bundled are all arm64. Hence the crashes. )

Suggested Extras
If the brightness is too dim you can turn the dimmer on and off by the following
You can echo 0 to disable and echo 1 to enable it via the sys path /sys/module/mdss_fb/parameters/backlight_dimmer


Please feel free to report more bugs, or even request more features but I'm not a dev so, no guarantees.

Installation Instructions
Eventually these will be flashable zips, however right now they're causing an error (IOError: [Errno 28] No space left on device)
Extract both boot.img and system.img from the relevant Release folder which has Leo
So for now install by fastboot

Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery_3.0.2.img

I don't recommend wiping userdata via fastboot so if you want you can always factory reset or clear Data, Cache, Dalvik and System from TWRP.


The DevDB downloads are for the system.img and boot.img files only. They're in 7z cuz otherwise I can't upload them.

Beta Release 6

Sadly this release is not on DevDB.. Since DevDB won't finish attaching files as of 1st Jan and I don't even know if it'll be back. I'm really hoping for a basketbuild account, cuz then I'll be able to serve OTA's. Anyway.

For now due to popular demand this release, Release 6 is uploaded to MEGA.
Go to PixN/Roms/Release 6/Leo
The link to the folder is here

Beta Release 7

Back on DevDB.

For mobile users to get to the downloads section just hit the big [https://forum.xda-developers.com/devdb/project/?id=18707#downloads"]DOWNLOADS[/URL] button.
FAQ/Frequent Statements
Q0: When ${THING}?
A0: No ETAs. Don't ask.
Q1: You list my phone above but there isn't a build uploaded, why not?
A1: Haven't gotten around to it yet.
Q2: But when will you get to building it?
A2: Damn it, see Q0/A0.
Q3: How often will builds be produced?
A3: Whenever I get to them and feel like uploading.
Q4: But ${THING} isn't working for me. I cannot live without ${THING}.
A4: Not surprising, nougat is still young. Some features aren't ported and some may still be buggy. Maybe this isn't ready for you yet. And don't cry.
Q5: Xposed?
A5: Don't know. Maybe, maybe not. I'll ignore you if you complain about something and are using Xposed. Not out for nougat yet.
Q6: Can I complain about something?
A6: I'd prefer not, but be prepared for me to ignore you.
Q7: Can I report a bug?
A7: Absolutely. Please mention the kernel version and any additional files you flashed. Create a logcat.
Q8: When will you fix ${THING} that I just reported?
A8: Damn it, see Q0/A0. And if your ${THING} isn't something that bothered me, it probably just got shuffled to the back of the line.
Q9: Can I donate?
A9: Sure! Whatever you can. This takes a lot of time.
Q10: What is this "sdclang" thing?
A10: CM is using a optimized version of the clang/llvm compiler for official builds of Qualcomm devices. I'm using it for my own builds. See these links here and here.
I've depreciated this to move to Clang 3.9 (newer).

Full Changelog
Clogs my Labs view. Will make a github repo for this later.

Credits

  • @The Flash for his kernel and rom.
  • @JerryLaiHMmmmmm for showing the community AOSP was possible.
  • @zacharias.maladroit for the recovery and his excellent kernel.
  • @RyTekk also for his kernel source and inputs.
  • @Myself5 for setting me straight about the E6683 kernel issues and for all the work done on sony devices.
  • @frap129 for his excellent MapleAOSP
  • @pollob666 for the call log fix.
  • @haggertk for the FAQ.
  • @BSDgeek_Jake for MoaAB.
  • Sonyxperiadev Team.
  • SonyAOSP Team.
  • OmniRom Team.
  • DirtyUnicorns Team.
  • PureNexus Team.
  • BenzoRoms Team.
  • CarbonROM Team (Best gerrit ever).
  • Substratum Team.
  • AOSP providers.
  • Everyone testing this.

If I've forgotten anyone I'll add them later, especially if someone reminds me... :)

XDA:DevDB Information
PixN Rom, ROM for the Sony Xperia Z3

Contributors
HaoZeke
Source Code: https://github.com/PixN-ROM

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: AOSP

Version Information
Status: Beta
Current Beta Version: 7
Beta Release Date: 2017-01-12

Created 2017-01-04
Last Updated 2017-01-12
 

Attachments

  • Screenshot_20161221-033715.png
    Screenshot_20161221-033715.png
    103.6 KB · Views: 17,455
  • Screenshot_20161221-033841.png
    Screenshot_20161221-033841.png
    110.6 KB · Views: 17,329
  • Screenshot_20161221-033734.png
    Screenshot_20161221-033734.png
    135.1 KB · Views: 17,247
  • Screenshot_20161221-033724.png
    Screenshot_20161221-033724.png
    75.5 KB · Views: 16,606

Rastamaniak

Member
Sep 1, 2012
6
1
Hey, installed it and everything seems to be working instead of camera, there is no camera at all and google and open camera are not working, any tips?

Edit: just realised it takes picture but screen is black whole time :D

Kind regards,
V
 
Last edited:
  • Like
Reactions: Moiremoi

mattia.bf

Senior Member
Jun 30, 2015
139
80
Aren't the partially working/ not working tabs a bit misleading? I haven't tried the ROM but since there are still unresolved problems with the kernel I doubt that the ROM is almost bug free
 

HaoZeke

Senior Member
Aug 16, 2009
862
655
Kanpur
rgoswami.me
Redmi Note 10 Pro
Hey, installed it and everything seems to be working instead of camera, there is no camera at all and google and open camera are not working, any tips?

Edit: just realised it takes picture but screen is black whole time :D

Kind regards,
V
Ouch... That's interesting.. Could you send me a logcat of what's going on when you open the camera and take a picture?
 

HaoZeke

Senior Member
Aug 16, 2009
862
655
Kanpur
rgoswami.me
Redmi Note 10 Pro
Aren't the partially working/ not working tabs a bit misleading? I haven't tried the ROM but since there are still unresolved problems with the kernel I doubt that the ROM is almost bug free
Well the features certainly are bugfree, ie the rom per se is. Kernel issues are sort of separate. Especially camera blobs.

The rom itself is in beta, as the devdb thing asserts. They're all beta releases.

I'll add camera to partially working.
Anything else? (I'll update the op soon)
Actually I used to own a z3 and don't anymore, but I thought I'd build for it anyway (I'm in a z5 nowadays)

Last I remembered I thought Sony had gotten the camera working completely on the z3. I guess I was wrong.

I usually release an optimized kernel with this rom but since I don't have the device I'll stick to the stock one.


You could of course use any 3.10 aosp kernel if it helps..
 
  • Like
Reactions: blackhawk_LA

leors

Senior Member
Sep 13, 2016
65
9
27
Sperlonga
Hey, I'd request everyone using this, and even those who aren't to please help clear my doubts on originality here
https://forum.xda-developers.com/android/software-hacking/original-code-t3532034

I installed the Rom, there is a lot of work but you're at a good point.
-play store no good, freezes, do not download the app, etc.
-I'm not uninstall the app
-the camera does not work with external app

to resolve the first three issues are forced to restart
 
Last edited:

HaoZeke

Senior Member
Aug 16, 2009
862
655
Kanpur
rgoswami.me
Redmi Note 10 Pro
I installed the Rom, there is a lot of work but you're at a good point.
-play store no good, freezes, do not download the app, etc.
-I'm not uninstall the app
-the camera does not work with external app

to resolve the first three issues are forced to restart

Could you give me logcats of the crashes? I no longer own the Z3 so I'm depending on all of your for logs :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    PixN Rom
    ** Theme friendly ** Substratum ** Clang ** Custom Settings **

    This is my daily driver which I update occasionally depending on weather I need/want new features. There won't be any OTA's because of work. Do please also check the Credits section, and the Screenshots tab.

    Please use the Feature Request tab for feature inclusion requests.
    It's also very hard to keep track of bugs reported here in the comments so please, again, use the bug reports tab...
    I'm very thankful to everyone commenting, it's just hard to keep track sometimes, and seeing as DevDB has all the features required...
    Since I also use XDA Labs which has no DevDB support it'd be best to comment AND add the comment in the required DevDB tab..

    I don't own this device, but everything should work.

    Features Implemented
    Release 1
    • SonyAosp Based
    • OMS Substratum Support with Masquerade (from CarbonROM)
    • Thermal-engine (CarbonROM)
    • Gapps Inbuilt (OpenGapps)
    • Supports Assistant Activation
    • Increased Call Log History
    • Working Advance Reboot Menu (SonyAosp)
    • Commit history in Changelog (SonyAosp)
    • Screen dimmer. (Elementalx Kernel)
    Release 1.99

    This is a beta release which sort of currently BREAKS BLUETOOTH. (will be fixed in Release 2)
    • Working Camera (The google camera crashes but open camera and whatsapp camera work usually, some crashes are still there but the pictures are clear (front camera colors are a bit washed out) and no inversion or anything)
    • Sdcarfs (should fix exfat)
    • Fixed the wakelock issue (IPA and others)
    • Fixed substratum for the e6653
    • Stability Tweaks
    Release 1.999

    Please extract the zip and fastboot flash both the system and the kernel..
    • Working Camera (Works for me)
    • Built with CLANG
    • Fixed the slow charging
    • Native ntfs and exFAT
    • More Stability Tweaks
    • Built with newer external libraries
    • Added Vanilla Music Player
    • More features coming soon, framework buildup.
    Release 3

    Please extract the zip and fastboot flash both the system and the kernel.. This is a deodexed build and has a slow FIRST boot.
    • Status Bar swipe to increase brightness
    • Customize Nav Bar
    • Fixed Substratum
    • Double Tap status bar to sleep
    • Music Controls
    • Close foreground app with long press
    • Screen Record
    • Native Screenshot edit options
    • All other OmniGears features as of 7.0
    • Busybox built in (toybox is too limited)
    • Some new bugs which will be fixed. Report them asap!
    Release 3.1

    Minor Bugfix release.
    • Squashed that damn irritating power button reboot
    • Also has a new minor kernel update
    Release 4

    Major release. Name change, fixes... the full changelog is HUGE
    • Fixed LEDs
    • Fixed Power reboot issues
    • Added my own custom settings based off Benzo and Flash Roms
    • Ambient display
    • NETWORK TRAFFIC MONITOR!!
    • LED Control (Cyanogenmod)
    • Default pixel coloring
    • Added substratum and superuser tiles in settings
    • Double tap to sleep anywhere
    • Adblock from the MoaAB Project
    • Navigation bar edits
    • Pulse
    • Smartbar
    • Fling
    • Toast icons
    • Fixes and stuff check changelog.
    • Sdclang and Clang build
    Release 5

    Major release. Android version upgrade. I can't remember the whole changelog. :D
    • Rebased to Android 7.1.1
    • Therefore all 7.1.1 features, most notably, automatic background update handling and faster UI
    • Built with GCC 6.x as well as Clang 3.9 for speed and battery
    • All the features made it through intact including themes
    • Introducing Moves, which are quick shortcuts
    • All the libraries have been optimized and rebuilt mostly
    • Uses a Relatime Thread for the UI
    Release 5.5

    Bugfixes. Everyone should get this.
    • Fixed all the Settings
    • Added charging current and voltage
    Release 6

    More fixes and features.
    • Fixed all the Settings (again)
    • Added memory bar option
    • QS Header Icon settings
    • Date and time for header modifications
    • Auto launch music player

    Release 7

    Fixes.
    • Mostly the power menu bug.
    • Updated Externals.
    • Didn't get time to check the gapps thing. Install the necessary version (7.1.1 Arm)

    Working
    Everything ought to be fine.

    Partially Working / Buggy
    1. Sometimes these wakelocks prevent deepsleep. Disable the services and use suggested apps to fix. (as reported by @Sh4douw)
    2. All the KERNEL bugs of AOSP are present
    Release 3

    Sorry but these are mostly due to a rushed release. ALL of these WILL be fixed asap.... All done!
    • The LED won't turn on while charging, but it still charges and shows the animation. (Fixed in 4)
    • The power button sometimes causes random reboots (Fixed in 4)
    • Power menu isn't themed yet (Fixed in 4)
    • The omnigears settings look like they don't stick (checkboxes) but they actually do (My settings do stick in 4)
    Release 5

    These are to be removed in the next release
    • The statusbar battery in the icon doesn't work. Everything else does. (Fixed in 6)
    • Lockscreen shortcuts don't work yet (Fixed in 5.5)
    • Lockscreen voltage and charging current doesn't work yet (Fixed in 5.5)
    • Weirdly I managed to get the advanced reboot menu to turn up while using the Power Off option too so for now to really turn it off you'll need to choose bootloader :D (Fixed in 6)

    Not Working
    1. Inbuilt Recovery (Weirdly) (Use the one for your device)
    2. Gapps (You'll need to uninstall gapps with the opengapps uninstaller and then reinstall the right version (arm, 7.1.1) for your device; in my hurry the gapps bundled are all arm64. Hence the crashes. )

    Suggested Extras
    If the brightness is too dim you can turn the dimmer on and off by the following
    You can echo 0 to disable and echo 1 to enable it via the sys path /sys/module/mdss_fb/parameters/backlight_dimmer


    Please feel free to report more bugs, or even request more features but I'm not a dev so, no guarantees.

    Installation Instructions
    Eventually these will be flashable zips, however right now they're causing an error (IOError: [Errno 28] No space left on device)
    Extract both boot.img and system.img from the relevant Release folder which has Leo
    So for now install by fastboot

    Code:
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash recovery recovery_3.0.2.img

    I don't recommend wiping userdata via fastboot so if you want you can always factory reset or clear Data, Cache, Dalvik and System from TWRP.


    The DevDB downloads are for the system.img and boot.img files only. They're in 7z cuz otherwise I can't upload them.

    Beta Release 6

    Sadly this release is not on DevDB.. Since DevDB won't finish attaching files as of 1st Jan and I don't even know if it'll be back. I'm really hoping for a basketbuild account, cuz then I'll be able to serve OTA's. Anyway.

    For now due to popular demand this release, Release 6 is uploaded to MEGA.
    Go to PixN/Roms/Release 6/Leo
    The link to the folder is here

    Beta Release 7

    Back on DevDB.

    For mobile users to get to the downloads section just hit the big [https://forum.xda-developers.com/devdb/project/?id=18707#downloads"]DOWNLOADS[/URL] button.
    FAQ/Frequent Statements
    Q0: When ${THING}?
    A0: No ETAs. Don't ask.
    Q1: You list my phone above but there isn't a build uploaded, why not?
    A1: Haven't gotten around to it yet.
    Q2: But when will you get to building it?
    A2: Damn it, see Q0/A0.
    Q3: How often will builds be produced?
    A3: Whenever I get to them and feel like uploading.
    Q4: But ${THING} isn't working for me. I cannot live without ${THING}.
    A4: Not surprising, nougat is still young. Some features aren't ported and some may still be buggy. Maybe this isn't ready for you yet. And don't cry.
    Q5: Xposed?
    A5: Don't know. Maybe, maybe not. I'll ignore you if you complain about something and are using Xposed. Not out for nougat yet.
    Q6: Can I complain about something?
    A6: I'd prefer not, but be prepared for me to ignore you.
    Q7: Can I report a bug?
    A7: Absolutely. Please mention the kernel version and any additional files you flashed. Create a logcat.
    Q8: When will you fix ${THING} that I just reported?
    A8: Damn it, see Q0/A0. And if your ${THING} isn't something that bothered me, it probably just got shuffled to the back of the line.
    Q9: Can I donate?
    A9: Sure! Whatever you can. This takes a lot of time.
    Q10: What is this "sdclang" thing?
    A10: CM is using a optimized version of the clang/llvm compiler for official builds of Qualcomm devices. I'm using it for my own builds. See these links here and here.
    I've depreciated this to move to Clang 3.9 (newer).

    Full Changelog
    Clogs my Labs view. Will make a github repo for this later.

    Credits

    • @The Flash for his kernel and rom.
    • @JerryLaiHMmmmmm for showing the community AOSP was possible.
    • @zacharias.maladroit for the recovery and his excellent kernel.
    • @RyTekk also for his kernel source and inputs.
    • @Myself5 for setting me straight about the E6683 kernel issues and for all the work done on sony devices.
    • @frap129 for his excellent MapleAOSP
    • @pollob666 for the call log fix.
    • @haggertk for the FAQ.
    • @BSDgeek_Jake for MoaAB.
    • Sonyxperiadev Team.
    • SonyAOSP Team.
    • OmniRom Team.
    • DirtyUnicorns Team.
    • PureNexus Team.
    • BenzoRoms Team.
    • CarbonROM Team (Best gerrit ever).
    • Substratum Team.
    • AOSP providers.
    • Everyone testing this.

    If I've forgotten anyone I'll add them later, especially if someone reminds me... :)

    XDA:DevDB Information
    PixN Rom, ROM for the Sony Xperia Z3

    Contributors
    HaoZeke
    Source Code: https://github.com/PixN-ROM

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    Based On: AOSP

    Version Information
    Status: Beta
    Current Beta Version: 7
    Beta Release Date: 2017-01-12

    Created 2017-01-04
    Last Updated 2017-01-12
    3
    New version up.
    2
    Where can I find the opengapps uninstaller? googled it and checked the website but I can't seem to find it.

    Just flash the OpenGapps 7.1.1 Arm and it should work (At least worked with me).
    2
    This still on development?, because my phone is near the end of warranty and i'm searching for a nice 7.1 ROM before unlock the bootloader.

    Then you should try LOS14.1 by @nailyk
    2

    already running and it is so amazing :) maybe i flash systemless root....

    ---------- Post added at 02:51 PM ---------- Previous post was at 02:50 PM ----------

    @HaoZeke I have this error: C:\adb>fastboot flash system system.img
    target reported max download size of 536870912 bytes
    erasing 'system'...
    OKAY [ 0.812s]
    sending sparse 'system' (514009 KB)...
    OKAY [ 19.215s]
    writing 'system'...
    FAILED (remote: size too large)
    finished. total time: 20.042s

    try this:

    fastboot -S 256M flash boot boot.img
    fastboot -S 256M flash recovery recovery.img
    fastboot -S 256M flash system system.img
    fastboot -S 256M flash userdata userdata.img