• 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

SNAPPATCH - STOCK OPTIMIZATION PROJECT

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
WELCOME TO THE SNAPPATCH​
[ Featured by DroidViews and XDA ]​

SOME THINGS ARE DIFFERENT TO THE AOSP SNAPPATCH
PLEASE MAKE SURE YOU ARE USING THE RIGHT VERSION FOR YOUR DEVICE / ANDROID OS VERSION AND VARIANT​

ABOUT THE PROJECT​
Started on the Nexus 6, Years ago is the Patch the Result of evolving custom ROMs to something more. Instead of uploading My Changes combined with a OS, is the POM just delivering the wanted Edits. It can be applied on top of any OS, and makes Android Updates independently from My Work. The latest and already 5th Revision of the POM is called Snappatch, and made for Snapdragon Xperia Devices running the very latest AOSP Systems. Coming with a huge amount of exclusive Configs and Optimizations is the Patch unleashing Your Device on a unexpected Way. You will raise the Performance, Efficiency, and Quality of the whole System, besides adding Features and Services which are not available on unpatched AOSP ROMs. The POM comes also with a Rooting Solution, Busybox and the full set of needed GApps to provide a great Pixel like Experience with the barely minimum of needed Apps out of the Box. Based on 8 Years of research and testing, made with Passion! The Snappatch sets Quality over Quantity...
Already adapted by Others for Stock Firmwares is the Snappatch still the first and Original Patch System. You will face it all over XDA in the next Years! Be Part of the Patch Revolution, get Patched!​

FEATURES
Xperia DRM Fix and Kernels included
Xperia Apps cleaned out and replaced
Night Light and Ambient Display Settings
Latest Busybox with 400+ Applets (Excluded on Stock)
Magisk Stable Root included
SafetyNet Passing Changes
Pixel Bootanimation / Apps
Xperia and Pixel UI Sounds
Added advanced VR Capabilities
Added Features and Services
Optimized Google Apps Set
Optimized Camera Handling
Optimized Display Handling
Optimized Rendering Handling
Optimized Storage Handling
Optimized Services Handling
Optimized Multitasking Handling
Optimized Audio Handling
Optimized Microphone Handling
Optimized 4K & HDR Handling
Optimized Hardware Handling
Optimized Software Handling
(Features are summarized to keep the overview)
(Don't trust Lists, try it out by Yourself)

SUMMARY OF THE DEVELOPMENT
-Camera Configs can be still improved (Implented not all Configs right yet)
-Some Camera Apps may not Work. Recommended are:
--Snap Camera HDR (Play Store)
--Open Camera (Included / Play Store)
--Google Camera Mods (Some are working, others don't)
-Some Equalizers don't Process (Audio is routed different)

SUPPORTED AOSP DEVICES (BLUE, EXCEPT NILE DEVICES)

Possible that the AOSP Patch works also on other Snapdragon Devices. Use at Your own Risk!

SPECIAL THANKS TO
@D daydream for buying Me the Daydream View 2017! No VR Development with You!

XDA:DevDB Information
SNAPPATCH, ROM for the Sony Xperia XZ Premium

Contributors
Miustone, Miustone, Miustone, Miustone
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: ANDROID 8.0 / SDK 26

Version Information
Status: Snapshot
Current Stable Version: 101
Stable Release Date: 2018-04-27

Created 2018-04-27
Last Updated 2018-05-20
 

Attachments

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
Fundamental:

Feedback:
-Which Device are You using?
-Which Patch Version are You using?
-Which Android Version are You using?


Before posting:
-Read, read, read! Make sure You've seen the whole Thread
-Make sure You've followed the Instructions from Post 3
-Make sure You're using the right Patch for Your OS (STOCK / AOSP)
-Make sure You've not used other Mods which could cause Bugs
 
Last edited:

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
Infos:

Instructions:
-Download the XperiFirm Tool to Your PC
-Download the NewFlasher Tool to Your PC
-Download Minimal ADB & Fastboot to Your PC
-Download the latest Firmware for Your Device Model
-Place the NewFlasher Tool Files in the Firmware Folder
-Connect Your Device to the USB Cable while holding Volume- (Down)(Green LED)
-Start NewFlasher with Admin Rights (Will not work otherwise)
-Press "n" and Enter (do that twice)
-Flashing should now be done after some Minutes
-Detach the USB Cable
-Connect Your Device to the USB Cable again while holding Volume+ (Up)(Blue LED)
-Go to Your fastboot Location and place the latest TWRP Image in it (from: twrp.me)
-Start Fastboot/ADB and type "fastboot flash recovery nameofyourrecovery.img" without the " Symbols
-Detach the USB Cable
-Done! You can now use Your Device like You want!
-Flash ROMs, Mods and/or the SNAP PATCH. Your Device is now fully upgraded!

Download:
Snappatch Website
Please consider a Donation if You like My Work! [PayPal.Me] [Gift Code]
 
Last edited:
  • Like
Reactions: Efe64 and tombbb

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
Just to let everyone know, i will still share My Work with You. But i'm not going to Post anymore on XDA, based on the latest Ban of My Account. If You want My Support please look around for the right Links on My Website! Feel free to use the Thread to talk with Others, and i will also check out what happens on My Threads. But if You want to talk to Me please use the Social Media Way! Thanks to all Supporters and Users in Advance!
 

gaijin1%

Senior Member
Mar 23, 2009
150
28
0
This looks great!
I have the 7.1 Yoshino kernel AOSP so I can have the Dynamic Resolution Switch and enjoy native 4K.
I also have Daydream enabled and installed the normal hack way,but it's a bit jittery for head tracking compared to my Axon 7.
Can someone tell me if this will work with 7.1, or if I'll still be able to enjoy true 4K with an 8.1 ROM and this patch? The VR services sound good, along with everything else. Otherwise, I guess I'll just keep waiting for @kholk to finish setting up the DRS on 8.1.
 

SilverGamer_YT

Senior Member
Feb 26, 2016
357
47
0
Poitiers
Just to let everyone know, i will still share My Work with You. But i'm not going to Post anymore on XDA, based on the latest Ban of My Account. If You want My Support please look around for the right Links on My Website! Feel free to use the Thread to talk with Others, and i will also check out what happens on My Threads. But if You want to talk to Me please use the Social Media Way! Thanks to all Supporters and Users in Advance!
Dis tout have twitter or Instagram i will use it for tell you any problem or dix that i find thanks for your work
 

madshark2009

Senior Member
Aug 18, 2012
754
103
0
This looks great!
I have the 7.1 Yoshino kernel AOSP so I can have the Dynamic Resolution Switch and enjoy native 4K.
I also have Daydream enabled and installed the normal hack way,but it's a bit jittery for head tracking compared to my Axon 7.
Can someone tell me if this will work with 7.1, or if I'll still be able to enjoy true 4K with an 8.1 ROM and this patch? The VR services sound good, along with everything else. Otherwise, I guess I'll just keep waiting for @kholk to finish setting up the DRS on 8.1.
You have the switch working?? Damn is it better than the adb mod??
 

super_extreme

Elite Member
Mar 16, 2012
1,170
1,696
0
Close to Nuremberg
This looks great!
I have the 7.1 Yoshino kernel AOSP so I can have the Dynamic Resolution Switch and enjoy native 4K.
I also have Daydream enabled and installed the normal hack way,but it's a bit jittery for head tracking compared to my Axon 7.
Can someone tell me if this will work with 7.1, or if I'll still be able to enjoy true 4K with an 8.1 ROM and this patch? The VR services sound good, along with everything else. Otherwise, I guess I'll just keep waiting for @kholk to finish setting up the DRS on 8.1.
Did you try this?
It'll be native 4k and AOSP 8.1 but you'd be stuck with it (can't switch to 1080p) which I don't see as problem. Also bootanimation will go weird, but after display off and on once boot is finished everything is fine.
 

gaijin1%

Senior Member
Mar 23, 2009
150
28
0
You have the switch working?? Damn is it better than the adb mod??
Yes! the switch is native and adb is emulated, which means resized images usually from the lower resolution xxhdpi folders rather than the higher resolution xxxhdpi folders.

---------- Post added at 01:11 PM ---------- Previous post was at 01:06 PM ----------

Did you try this?
It'll be native 4k and AOSP 8.1 but you'd be stuck with it (can't switch to 1080p) which I don't see as problem. Also bootanimation will go weird, but after display off and on once boot is finished everything is fine.
Can't believe I missed that one. I guess now the question is which one to go for? Is this STOCK version also native 4K full time like the AOSP version?
 

super_extreme

Elite Member
Mar 16, 2012
1,170
1,696
0
Close to Nuremberg
Yes! the switch is native and adb is emulated, which means resized images usually from the lower resolution xxhdpi folders rather than the higher resolution xxxhdpi folders.

---------- Post added at 01:11 PM ---------- Previous post was at 01:06 PM ----------


Can't believe I missed that one. I guess now the question is which one to go for? Is this STOCK version also native 4K full time like the AOSP version?
It has nothing to do with the patch but with the kernel. I simply built a rom that works great with the Snappatch AOSP version, not the other way round. [emoji3]
And no native 4k always with stock. I really prefer AOSP. It's just slimmer, greater and quite debloated from the beginning.
 

madshark2009

Senior Member
Aug 18, 2012
754
103
0
Yes! the switch is native and adb is emulated, which means resized images usually from the lower resolution xxhdpi folders rather than the higher resolution xxxhdpi folders.

---------- Post added at 01:11 PM ---------- Previous post was at 01:06 PM ----------


Can't believe I missed that one. I guess now the question is which one to go for? Is this STOCK version also native 4K full time like the AOSP version?
So if you got the switch working, do the screen pixels look more glued? Cuz here i can still see pixels on the adb commands
And is 120hz working yet?
 

gaijin1%

Senior Member
Mar 23, 2009
150
28
0
So if you got the switch working, do the screen pixels look more glued? Cuz here i can still see pixels on the adb commands
And is 120hz working yet?
I don't know what you mean by glued, but with my Daydream headset and 20/20 vision the pixels seem like a horizontal wavy zig-zag.
Basically, the emulated adb will enlarge an image from 1080 and give you a 4-block of the same pixel. Worse, if the image is actually for example 1440p, it will first scale it down to 1080 blurring it a bit, then take the blurred image and resize it to 2160p.
 

madshark2009

Senior Member
Aug 18, 2012
754
103
0
I don't know what you mean by glued, but with my Daydream headset and 20/20 vision the pixels seem like a horizontal wavy zig-zag.
Basically, the emulated adb will enlarge an image from 1080 and give you a 4-block of the same pixel. Worse, if the image is actually for example 1440p, it will first scale it down to 1080 blurring it a bit, then take the blurred image and resize it to 2160p.
And 120hz option does it work?
 

Miustone

Elite Member
Jul 23, 2012
2,901
5,637
113
27
Marburg an der Lahn
sites.google.com
Cant I flash twrp on locked bootloader??
I mean we are working with stock fw and a patch flashed in twrp,no kernel modification. All stock...
The Kernel is edited and patched with Magisk. No chance that it works on Locked Bootloaders (Before unlocking them). But You can maybe lock it after flashing to hide the 5Sec Message after turning the Device on.

Just use "fastboot oem lock" and "fastboot oem unlock" commands. Don't recommend it and i don't try it out by myself, but maybe does it work. Would be good to know since Stock is passing SafetyNet (Device thinks it is unmodified)

Btw. @super_extreme nice work with AOSP! Are Your Builds passing SafetyNet too with the AOSP Patch? Carbon doesn't but that also the case without Patching...

(Damn i'm breaking My promised silence on XDA! Can't resist to talk to My Users :)
 
  • Like
Reactions: shoey63

madshark2009

Senior Member
Aug 18, 2012
754
103
0
The Kernel is edited and patched with Magisk. No chance that it works on Locked Bootloaders (Before unlocking them). But You can maybe lock it after flashing to hide the 5Sec Message after turning the Device on.

Just use "fastboot oem lock" and "fastboot oem unlock" commands. Don't recommend it and i don't try it out by myself, but maybe does it work. Would be good to know since Stock is passing SafetyNet (Device thinks it is unmodified)

Btw. @super_extreme nice work with AOSP! Are Your Builds passing SafetyNet too with the AOSP Patch? Carbon doesn't but that also the case without Patching...

(Damn i'm breaking My promised silence on XDA! Can't resist to talk to My Users :)
So with saftey net the device thinks its unmodified, why would it be a problem?
 

william84

Senior Member
Feb 11, 2008
156
50
28
Landgraaf
Google play services crashed during set-up and only blackscreen, no way to finish set-up.
Followed installation instructions to the teeth:
-flashed stock .145 BLX
-let it boot to set-up
-completely shut down
-flash twrp in fastboot mode
-boot to twrp
-format data and internal storage (encryption error)
-reboot to recovery and wiped everything again (no encryption error)
-again completely power off
-reboot

Uh-oh no more OS... better start again ?

-flashed stock .145 BLX again
-boot to set-up
-completely shut down
-flash twrp in fastboot
-boot to twrp
-now only wiped systeem, cache, data
-reboot to twrp again
-moved snappatch and snapprop to root of internal storage with adb
-flashed snappatch_v101 stock
-reboot

After this the set-up wouldnt let me pass because of the Google play services crash. This crash happend after entering the Wifi-password. There was only a blackscreen and i could see the clock and battery in the upper right corner.
Tried flashing Opengapps micro afterwards butt stil no luck.

Edit: removed my earlier expression of the Rom, isn't helpful or related to this thread
 
Last edited:

super_extreme

Elite Member
Mar 16, 2012
1,170
1,696
0
Close to Nuremberg
The Kernel is edited and patched with Magisk. No chance that it works on Locked Bootloaders (Before unlocking them). But You can maybe lock it after flashing to hide the 5Sec Message after turning the Device on.

Just use "fastboot oem lock" and "fastboot oem unlock" commands. Don't recommend it and i don't try it out by myself, but maybe does it work. Would be good to know since Stock is passing SafetyNet (Device thinks it is unmodified)

Btw. @super_extreme nice work with AOSP! Are Your Builds passing SafetyNet too with the AOSP Patch? Carbon doesn't but that also the case without Patching...

(Damn i'm breaking My promised silence on XDA! Can't resist to talk to My Users :)
Nope, it's not, but luckily I don't need it to be.Screenshot_20180429-113234.jpeg