FORUMS
Remove All Ads from XDA

 View Poll Results: Should I rebase this rom to another project?

CyanogenMod
 
44 Vote(s)
43.56%
CardbonRom
 
7 Vote(s)
6.93%
Dirty Unicorns
 
10 Vote(s)
9.90%
AOSPA
 
9 Vote(s)
8.91%
AOSP Custom (Current)
 
17 Vote(s)
16.83%
CAF AOSP
 
4 Vote(s)
3.96%
OmniRom
 
5 Vote(s)
4.95%
Other (Comment on which)
 
5 Vote(s)
4.95%

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

863 posts
Thanks Meter: 659
 
By HaoZeke, Senior Member on 10th November 2016, 10:03 PM
Post Reply Email Thread
Announcement from HaoZeke: Working Fingerprint! All other features and stuff.
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.
  • 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

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 ExtrasIf the brightness is too dim you can turn the dimmer on and off by the following
Quote:

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

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
Quote:

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
  • [STRIKE] @The Flash for his kernel and rom.[STRIKE] (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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20161111-034117.png
Views:	20488
Size:	171.8 KB
ID:	3932518   Click image for larger version

Name:	Screenshot_20161111-033859.png
Views:	20266
Size:	116.2 KB
ID:	3932519   Click image for larger version

Name:	Screenshot_20161111-033908.png
Views:	20004
Size:	92.3 KB
ID:	3932520   Click image for larger version

Name:	Screenshot_20161111-033951.jpg
Views:	19852
Size:	80.2 KB
ID:	3932524   Click image for larger version

Name:	Screenshot_20161111-033928.png
Views:	19586
Size:	116.3 KB
ID:	3932525   Click image for larger version

Name:	Screenshot_20161111-034546.png
Views:	19402
Size:	62.1 KB
ID:	3932527   Click image for larger version

Name:	Screenshot_20161111-034541.png
Views:	19202
Size:	88.6 KB
ID:	3932528   Click image for larger version

Name:	Screenshot_20161111-033903.jpg
Views:	19290
Size:	88.4 KB
ID:	3932529   Click image for larger version

Name:	Screenshot_20161129-153934.png
Views:	17642
Size:	94.6 KB
ID:	3952266   Click image for larger version

Name:	Screenshot_20161221-033715.png
Views:	16068
Size:	103.6 KB
ID:	3974969   Click image for larger version

Name:	Screenshot_20161221-033724.png
Views:	15504
Size:	75.5 KB
ID:	3974970   Click image for larger version

Name:	Screenshot_20161221-033734.png
Views:	11642
Size:	135.1 KB
ID:	3974971   Click image for larger version

Name:	Screenshot_20161221-033841.png
Views:	10094
Size:	110.6 KB
ID:	3974972  
The Following 32 Users Say Thank You to HaoZeke For This Useful Post: [ View ] Gift HaoZeke Ad-Free
 
 
11th November 2016, 12:59 AM |#2  
Member
Flag Strasbourg
Thanks Meter: 22
 
More
I just tried it on my E6633
Everything works except the camera which didn't want to work, even after some reboots.
The Following User Says Thank You to Sh4douw For This Useful Post: [ View ] Gift Sh4douw Ad-Free
11th November 2016, 04:59 AM |#3  
OP Senior Member
Flag Kanpur
Thanks Meter: 659
 
Donate to Me
More
Quote:
Originally Posted by Sh4douw

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...
The Following User Says Thank You to HaoZeke For This Useful Post: [ View ] Gift HaoZeke Ad-Free
11th November 2016, 03:12 PM |#4  
Member
Flag Hong Kong
Thanks Meter: 37
 
More
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.
The Following 2 Users Say Thank You to JerryLaiHMmmmmm For This Useful Post: [ View ] Gift JerryLaiHMmmmmm Ad-Free
11th November 2016, 10:10 PM |#5  
OP Senior Member
Flag Kanpur
Thanks Meter: 659
 
Donate to Me
More
Quote:
Originally Posted by JerryLaiHMmmmmm

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...
12th November 2016, 05:46 AM |#6  
infected_'s Avatar
Recognized Developer
Flag Portugal
Thanks Meter: 14,143
 
Donate to Me
More
camera isnt working yet on AOSP, on the kitakami/msm8994 family and all others. with some hacks msm8974 was taking pictures, but nothing stable.

regards.
The Following 2 Users Say Thank You to infected_ For This Useful Post: [ View ]
12th November 2016, 10:46 AM |#7  
Member
Flag Strasbourg
Thanks Meter: 22
 
More
What about the battery life during the night for you ?

It started from 82% at 2:00 AM, and now it's at 65%...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20161112-114046.png
Views:	636
Size:	122.7 KB
ID:	3933960  
12th November 2016, 02:21 PM |#8  
OP Senior Member
Flag Kanpur
Thanks Meter: 659
 
Donate to Me
More
Quote:
Originally Posted by Sh4douw

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?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20161112-194955.png
Views:	616
Size:	139.9 KB
ID:	3934139  
The Following User Says Thank You to HaoZeke For This Useful Post: [ View ] Gift HaoZeke Ad-Free
12th November 2016, 02:37 PM |#9  
Member
Flag Strasbourg
Thanks Meter: 22
 
More
Quote:
Originally Posted by HaoZeke

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
12th November 2016, 07:28 PM |#10  
s.hossein's Avatar
Senior Member
Flag Tehran
Thanks Meter: 128
 
More
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.
The Following User Says Thank You to s.hossein For This Useful Post: [ View ] Gift s.hossein Ad-Free
12th November 2016, 11:35 PM |#11  
OP Senior Member
Flag Kanpur
Thanks Meter: 659
 
Donate to Me
More
Quote:
Originally Posted by katibehi

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?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes