• 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

[E6683/E6653][Single/Dsds][ROM][CLANG][7.1.1][Themes]PixN Rom [3/01/17]

Should I rebase this rom to another project?


  • Total voters
    103

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
PixN Rom
** Theme friendly ** Better Camera ** exFAT ** Optimized kernel ** 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.

I do not have a single sim device, however I have compiled kernels for the single sim and dual sim variant both.
The kernel thread has now been split to be here since the kernel gets more updates than the rom (for now atleast).

This project has been renamed to show the my first forays into more *real* development.

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..

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

Major fixes
  • Updated externals
  • Fixed fingerprint thanks to @Myself5

Working
Almost everything.
Originally based on the test data over here.

  • Single Sim Support
  • Dual Sim Support
  • GPS
  • Bluetooth
  • SMS
  • SD Card
  • Fingerprint

Partially Working / Buggy
  1. Camera (Mostly working)
  2. PicoTTS sometimes crashes (reported by @Azrael6947 ) Not an issue from 1.99
  3. Sometimes these wakelocks prevent deepsleep. Disable the services and use suggested apps to fix. (as reported by @Sh4douw)
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

Not Working
  1. Inbuilt Recovery (Weirdly) (Use the one in the suggested extras)
  2. Fingerprint Manager (Asks for it in settings but never works) (Fixed from 7 onwards)
  3. Bluetooth for E6683 (Fixed)

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)
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.


EDIT:- People having trouble flashing the system.img should try with mfastboot (fix found by @katibehi)


The DevDB downloads are for the system.img and boot.img files only. They're in 7z cuz otherwise I can't upload them.
Get the latest kernel from the PixN kernel thread here.


Beta Release 1.999
This is in the DevDB download. The changelog is incorporated into the feature list.
The .7z is NOT FLASHABLE.
Extract it and fastboot flash the file as fastboot flash system filename.img
Beta Release 3
MAJOR RELEASE. Go get it.
Beta Release 3.1
Bugs squashed. Notably the reboot.
Beta Release 4
Biggest YET!! Most feature complete rom around.
Beta Release 5
Bigger than ever (feature wise). First and only 7.1.1 build for our devices. Happy New Year!
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 5 is uploaded to MEGA.

Beta Release 5.5
Still on MEGA.
The link to the folder is here

Beta Release6, 7
Mega again... Until DevDB is back up assume all future releases to be on MEGA for now.

The link to the folder is here
For mobile users to get to the downloads section just hit the big DOWNLOADS 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. Apparently not.
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
These were clogging up my XDA Labs view of the thread. I'll make a github repo for them soon.

Credits

  • @The Flash for his kernel and rom. (Disputed)
    [*] @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... :)

Sources
All of them are up on github now... here!

  • The kernel is given here.

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

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: 5.5
Beta Release Date: 2017-01-03

Created 2016-11-10
Last Updated 2017-01-11
 

Attachments

Last edited:

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
I just tried it on my E6633 :)
Everything works except the camera which didn't want to work, even after some reboots.
Well.... I'd suggest you wait for a while after the reboot.. Then try the internal camera in WhatsApp... That works for me..
Though the camera problem is basically across all aosp builds until Sony or cyanogenmod or someone fixes it...
 
Last edited:
  • Like
Reactions: jing000l

JerryLaiHMmmmmm

Senior Member
Dec 21, 2014
59
37
0
Hong Kong
First of all thanks for your great effort! this rom is amazing.
Well time to report.
First, battery life is quite amazing, over 5 hours of sot. (around 3 in stock rom)
Second, the 64gb sd card won't get recognized... but on the other hands 32 gb one works well.

Regards,
Jerry

P.s. if you would like to solve the camera issue try to dig into @infected_'s repo... His roms had solved the camera problem.
 

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
First of all thanks for your great effort! this rom is amazing.
Well time to report.
First, battery life is quite amazing, over 5 hours of sot. (around 3 in stock rom)
Second, the 64gb sd card won't get recognized... but on the other hands 32 gb one works well.

Regards,
Jerry

P.s. if you would like to solve the camera issue try to dig into @infected_'s repo... His roms had solved the camera problem.
Thanks for the heads up :) I'll definitely look into it

I'm not sure why the 64 gb cards don't work...
I'm not having issues with my 128gb sd card but it did format it before it would work..
Has it offered to format the sd card?


EDIT: @infected_ also seems to have used the same sonyAOSP repositories for his aosp build... :(
It's unlikely but maybe a different tool chain might help... I'll check. Also they seem to be all marshmallow builds... That might also be behind their camera working better...
 
Last edited:

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
What about the battery life during the night for you ?

It started from 82% at 2:00 AM, and now it's at 65%... :(
Yikes, that seems really awful. I'd suggest you use naptime for aggressive doze.
You could also try the doze app which stops background data for chosen apps...
With naptime installed you should get much better battery life...

Did you clean flash this?
 

Attachments

  • Like
Reactions: Sh4douw

Sh4douw

Senior Member
Jan 21, 2016
77
22
0
23
Strasbourg
Yikes, that seems really awful. I'd suggest you use naptime for aggressive doze.
You could also try the doze app which stops background data for chosen apps...
With naptime installed you should get much better battery life...

Did you clean flash this?
I'll try Naptime and Doze app secondly.
Thanks for your tricks. I will tell you if it resolved my issue ;)

And yup, I did a clean install
 

s.hossein

Senior Member
Feb 15, 2013
371
129
0
Tehran
I can't flash system.img, fastboot shows this error
(load_file: could not allocate -1585037392 bytes
error: cannot load 'system.img')
I downloaded system.img two times but same error.
 
  • Like
Reactions: Ptamigi

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
I can't flash system.img, fastboot shows this error
(load_file: could not allocate -1585037392 bytes
error: cannot load 'system.img')
I downloaded system.img two times but same error.
Which system are you coming from?
I think that error probably has to do with the larger size of the system image because of gapps being included..
Are you trying a full wipe?
 

Azrael6947

Member
Nov 17, 2014
47
14
8
Is it possible to make this compatible with the E6653 device? The rom loads perfectly on my phone, only thing not working is my SIM card because I dont have a DSDS phone.
 

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
Is it possible to make this compatible with the E6653 device? The rom loads perfectly on my phone, only thing not working is my SIM card because I dont have a DSDS phone.
Yup it is possible and I'll release a working boot.img for the e6653 with the next release (hopefully today itself)

Actually the delay is because I'm compiling with uber but my first build was laggy as hell.
 

Azrael6947

Member
Nov 17, 2014
47
14
8
Actually trying that one now, funnily enough it's not detecting my SIM card either. Never had this issue before, might be because I am in Australia.

---------- Post added at 10:26 PM ---------- Previous post was at 10:07 PM ----------

Yup it is possible and I'll release a working boot.img for the e6653 with the next release (hopefully today itself)

Actually the delay is because I'm compiling with uber but my first build was laggy as hell.
Haha, you have no idea how excited I am right now. Eagerly awaiting that upload. Soon as it's up, I'll load it up and if all works well I'll use it for a while and give you some feedback.

Unfortunately the CM 14.1 ROM that was posted (which is for the E6653) cant detect my SIM either, lot of other people are having that issue too. Hopefully yours will be that stock experience I'm looking for.
 
Last edited:
  • Like
Reactions: HaoZeke

Sh4douw

Senior Member
Jan 21, 2016
77
22
0
23
Strasbourg
I'll try Naptime and Doze app secondly.
Thanks for your tricks. I will tell you if it resolved my issue ;)

And yup, I did a clean install
Ok, so I installed Doze, Greenify (without Xposed, hope that it will be compatible with Android Nougat soon :D), and NapTime. Without effect, always 2-3% drain per hour.
I realized that my device won't deep sleep, it was always in activity even when I wasn't using it.

I searched for wakelocks, and noticed that Google services were faulty. I disabled some of them after searched online, and it's better :p
 
Last edited:

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
Actually trying that one now, funnily enough it's not detecting my SIM card either. Never had this issue before, might be because I am in Australia.

---------- Post added at 10:26 PM ---------- Previous post was at 10:07 PM ----------



Haha, you have no idea how excited I am right now. Eagerly awaiting that upload. Soon as it's up, I'll load it up and if all works well I'll use it for a while and give you some feedback.

Unfortunately the CM 14.1 ROM that was posted (which is for the E6653) cant detect my SIM either, lot of other people are having that issue too. Hopefully yours will be that stock experience I'm looking for.
I believe the sim detection in @fergy's rom has been fixed by him.. check the last posts in that thread...
I do honestly believe aosp is doing better than cm-14.1 at the moment, mostly because CMTE hasn't been doing well on the newer CM roms while Substratum is working really well...

I'm uploading a single sim kernel to release 1. Since the Uber builds are being more trouble than help...
Test it and tell me how it goes... :)
 

HaoZeke

Senior Member
Aug 16, 2009
863
659
0
Kanpur
grimoire.science
I think without camera, the rom isn't complete. I am waiting for that.
On release 2 (testing) with the Uber toolchain, Open Camera works... however the rom is overall very laggy using uber...
So I'll be looking into other opportunities...

By the way, have you found any non-stock rom (AOSP,CM etc) here or elsewhere with a working msm8994 camera?
If yes please link the repos here, I'll gladly try to incorporate it.