[ROM][N4][7.1.2_r33]★ Pure Nexus ★ Substratum ★[08/16/17]

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
95% done, so far. After restructuring everything, some old bugs came back to life, like the broken "screen recording" feature (which worked in the last build I released, but now works only by using an app). Also the "rainbow led", which has always been present, is in the works too.
I'm currently running a very close to "final" stable test build and I have another that's currently compiling, which is meant to address the led bug (taking 1 step at a time) that's been fixed in 1 of my previous test builds. However, the fix was made possible with specific things/parts of code that were scattered across multiple repos, and now with this restructure, things changed and they don't exactly "match" anymore, to put it this way.

But yeah, the camera has been completely fixed and it works without zaclimon's old patch/hack that gave some trouble with the autofocus.

If the led isn't fixed in the current compiling build, I'll move on (for now) to the "battery saver orange color disable" feature (or whatever it's called), which I have to implement properly so it can work as intended and after that happens, you will get a new build.

Finally !!! right ? ?

Sent from my Nexus 4 using Tapatalk
 

arjundas86

Senior Member
Jan 3, 2013
269
104
73
Kitchener
Hey @dragos281993, I wanted to thank you for all your work on Pure Nexus for mako. I've been happily using it for almost a year as my daily driver.

Makes me sad to say I'm finally moving on from my trusty Nexus 4. You've done an amazing job, keeping this old dog going for this long. Performance and functionality wise, I am very happy and impressed; unfortunately, my battery is dying and simply doesn't get me through the day (not even close).

I'm gonna miss my mako and PureNexus. I'll probably still follow your thread, and keep my mako updated to use as a backup device if I ever need it. Keep up the awesome work, it's very much appreciated!
 

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
720p/60fps youtube videos also not working on this rom.

Sent from my LG Nexus 4 using XDA Labs
That's common on a lot of devices right now. Google screws us from time to time. Just when I thought I did something in my test builds, that broke the video playback, 60fps to be exact, I did some research and a lot of other people were reporting the same issue, on a fairly large variety of devices. So yeah. This problem is Nougat issue (introduced recently) which has to be fixed by Google. Someone said something about using an older version of YouTube (from 3 months ago or so) which appeared to have solved his problems, but I didn't investigate further.
 

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
FINALLY !!! NEW BUILD UP

I finally managed to put everything together, as best as I could and here we are.
The whole thing has been restructured, so a CLEAN INSTALATION is absolutely required. Don't take any risks if you don't want issues, and if you do, please don't post complaints in the thread.

The camera has been completely fixed. We basically went back to the old Lollipop days, where Camera v2.5 (or 2.7) was the last fully functional version. Anything newer than v2.x, won't let you record in 1080p. I removed zaclimon's hack, meant to bypass the resolution check, but that caused autofocus issues, so I had to give up on it.

I also took the liberty to add 3 apps from Nitrogen, Camera, Gallery and Clock. If you want a different camera, you can install one and you can just disable the one I included, from Settings/Apps. I thought it would be nice to have a preinstalled Gallery app so it can go hand in hand with the Camera app. You know, you snap a picture or record a video and now you have what to open them with). The Clock app is great. I really missed it and its "shake to dismiss alarm" feature which is great when you wake up in the morning and you can barely see what's on the screen.

As I previously mentioned, the new restructure broke the native screen recording, but using "Screen Recorder - Free No Ads" (by Kimcy929), from the PlayStore, will let you record your screen without an issue, and the app gives you a larger variety of options as well so this is not a problem in the end.

This was made possible with @spezi77 's and @nitin.chobhe 's assistance, so kudos to them for the help, support and their patience. They deserve our respect. :)

You can find the required files in the first post and the other modifications I made, mentioned in the changelog (2nd post). Read instructions carefully (for "CLEAN INSTALLING", of course).

After the phone boots up, you'll notice that the UX is a bit stuttery, but that's completely normal. Just give it a few minutes to settle. Also you might think that the first 2 cores stay at 1.5GHz all the time, but that happens only until the phone gets everything ready, so don't worry about that either. Everything will "stabilize" after a few minutes.

That's pretty much all.
Enjoy it !

Cheers !!!
 
Last edited:

nitin.chobhe

Recognized Contributor
Jan 3, 2013
8,097
19,497
263
Pune
FINALLY !!! NEW BUILD UP

I finally managed to put everything together, as best as I could and here we are.
The whole thing has been restructured, so a CLEAN INSTALATION is absolutely required. Don't take any risks if you don't want issues, and if you do, please don't post complaints in the thread.

The camera has been completely fixed. We basically went back to the old Lollipop days, where Camera v2.5 (or 2.7) was the last fully functional version. Anything newer than v2.x, won't let you record in 1080p. I removed zaclimon's hack, meant to bypass the resolution check, but that caused autofocus issues, so I had to give up on it.

I also took the liberty to add 3 apps from Nitrogen, Camera, Gallery and Clock. If you want a different camera, you can install one and you can just disable the one I included, from Settings/Apps. I thought it would be nice to have a preinstalled Gallery app so it can go hand in hand with the Camera app. You know, you snap a picture or record a video and now you have what to open them with). The Clock app is great. I really missed it and its "shake to dismiss alarm" feature which is great when you wake up in the morning and you can barely see what's on the screen.

As I previously mentioned, the new restructure broke the native screen recording, but using "Screen Recorder - Free No Ads" (by Kimcy929), from the PlayStore, will let you record your screen without an issue, and the app gives you a larger variety of options as well so this is not a problem in the end.

This was made possible with @spezi77 's and @nitin.chobhe 's assistance, so kudos to them for the help, support and their patience. They deserve our respect. :)

You can find the required files in the first post and the other modifications I made, mentioned in the changelog (2nd post). Read instructions carefully (for "CLEAN INSTALLING", of course).

After the phone boots up, you'll notice that the UX is a bit stuttery, but that's completely normal. Just give it a few minutes to settle. Also you might think that the first 2 cores stay at 1.5GHz all the time, but that happens only until the phone gets everything ready, so don't worry about that either. Everything will "stabilize" after a few minutes.

That's pretty much all.
Enjoy it !

Cheers !!!
Great buddy... Good job :good:

Nitin
 

djskribbles

Senior Member
Feb 25, 2011
250
109
63
Love that you guys are helping each other out and are continuing to support our device. Seems like all of the kinks are pretty much worked out on Nougat.

Great work guys, keep it up!
 

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
Love that you guys are helping each other out and are continuing to support our device. Seems like all of the kinks are pretty much worked out on Nougat.

Great work guys, keep it up!
Working together is the key in pretty much everything. If only you could see the endless list of Hangouts messages I had with both spezi and nitin...

Sent from my Nexus 4 using Tapatalk
 
  • Like
Reactions: spezi77

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
Working together is the key in pretty much everything. If only you could see the endless list of Hangouts messages I had with both spezi and nitin...
Dragos, nice one! Of course we helped, but you did an awesome job, man! It seems that you are on a good path to become a notorious XDA developer.. :good:
I am not kidding! ;)
 
  • Like
Reactions: dragos281993

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
Dragos, nice one! Of course we helped, but you did an awesome job, man! It seems that you are on a good path to become a notorious XDA developer.. :good:
I am not kidding! ;)
Ha ha ! Still a long way to that point. I just learnt about "git commit --ammend". Lol

Sent from my Nexus 4 using Tapatalk
 

ksrdk

New member
Feb 2, 2017
1
0
0
hi,i successfully installed the rom and Gapps.After rebooting i am getting message"Google Play services keeps stopping" and camera is taking long time to open.Is there any Patch to resolve this issue? how to update the patch?Thank you
 

dragos281993

Recognized Contributor
Mar 29, 2014
2,844
4,002
203
IASI
hi,i successfully installed the rom and Gapps.After rebooting i am getting message"Google Play services keeps stopping" and camera is taking long time to open.Is there any Patch to resolve this issue? how to update the patch?Thank you
Follow the instructions, buddy, without skipping a step. Clean installation required ! I already said that. You need to flash the things I put in the firs post and nothing else.
You need to have my ROM and Gapps provided in the first post, reboot to recovery, wipe everything except for the internal storage, from the "Advanced wipe" section, then flash the 2 files, reboot to system and you cannot get any issues.
If you don't follow instructions carefully, then you have no reason to complain. I think I already said something any that too.

Sent from my Nexus 4 using Tapatalk
 

xda-dvlprs

Senior Member
Jan 16, 2017
255
172
0
thanks for support for our nexus 4's. I don't flash your rom ever, and have some questions.
1- your latest rom has fully work camera (include 1080p video recording). if this is yes, especially camera mx fully work?
2- your first post says ROM Kernel: Linux 3.4.x, but you also say revival kernel, which kernel have now?
3- rom has google dialer or aosp dialer? Because of wanna "vibrate on call" setting.
4- export contacts to .vcf file is work via stock contacts setting?
5- will you want to fix screen recording without special app in next build?
6- and I wonder battery life with your default kernel setting? how long stand by time and SOT?
sorry abour long questions :) anyone reply please.
 
Last edited:

bean+

Member
Dec 26, 2010
38
19
0
FINALLY !!! NEW BUILD UP

…The whole thing has been restructured, so a CLEAN INSTALATION is absolutely required…
Many thanks @dragos281993 for the hard work.

If I do a clean install, I loose all my Apps and configurations. What is the best way for this ROM to backup and restore these things? Can I do it with TWRP? Or do I need an App like Titanium? How do you do it?
 

xda-dvlprs

Senior Member
Jan 16, 2017
255
172
0
you need an app

Many thanks @dragos281993 for the hard work.

If I do a clean install, I loose all my Apps and configurations. What is the best way for this ROM to backup and restore these things? Can I do it with TWRP? Or do I need an App like Titanium? How do you do it?
absolutely you need an app like Titanium if you want. Because TWRP can do only full image backup not only apps and settings.
 

alexxdj

Senior Member
Nov 14, 2007
127
9
18
Hi to all. I have a fc with evolve sms app in latest build. . it doesn't work. With previous build worked fine. i made a clean install.