[MOD][ROOT] Better Snapchat quality in low light

Search This thread

MLGDash

Member
Jul 30, 2016
7
2
Use this mod at your own risk! This might break other apps (I don't know any but let me know if it does for you)

What does this mod do?
This mod will just change some props so your phone will get recognized as the original Google Pixel (sailfish).
By doing this the low light performance of Snapchat magically improves.

How does this work?
Snapchat is generally a terrible application on Android, but I noticed that it works worse on the Mi9T than on my old Google Pixel.
After decompiling the snapchat app I found out that some devices are manually optimized to have a better camera quality.
By making Snapchat think that your device is a Google Pixel the quality magically gets better, which is mostly noticeable in low light.

Low light comparison
These videos are both exported from snapchat.
If you are using the XDA App you need to download the gif below to view it.
ezgif-7-3289389030d6.gif


How to install
  1. Install the attached .zip as a magisk module.
  2. Reboot
  3. Delete Snapchat cache
  4. Force close snapchat and restart

Source (Github)

Tested devices:
  • Mi 9T

If you are using a device that is not on this list please report your results to me.
 

Attachments

  • Snapchat_PixelMod_1.0.zip
    4.8 KB · Views: 1,298
Last edited:
  • Like
Reactions: razielmcr

ccMi9t

Member
Apr 27, 2020
7
5
Nice! Bit of a noob question right but will this globally change my device ID to a Google pixel or is it specific to snap?
 
Jan 7, 2012
16
3
Brother thanks for this mod this helps alot, although by using your mod the baby filter becomes choppy after disabling your mod the baby filter back to normal please loot into this issue i just came to custom rom to flash your mod but that baby filter is horrible waiting for your reply
 

MLGDash

Member
Jul 30, 2016
7
2
You can simply unlock using the link. I don't think the account lock is related to this mod though.
 

ksernik

Member
Oct 20, 2018
8
2
Redmi K20 / Xiaomi Mi 9T
So... I recently used this mod and found out that Google Assistant's getting a trouble to react on "Ok Google" and Google and Xiaomi's "steps counters" don't work at all. I didn't find any solution for that in Magisk, but I wrote my own version for Xposed (I use EdXposed) that fools only Snapchat.
I can share if anyone want it. ;)
 

vangry2020

Senior Member
Mar 18, 2020
159
132
OnePlus 9 Pro
Tested on OnePlus 9 Pro Snapchat videos are a lot clearer and less grainy like HD vs SD.

Looks like Snapchat servers use less compression when a Pixel and Iphone device requests a video.
 

ksernik

Member
Oct 20, 2018
8
2
Redmi K20 / Xiaomi Mi 9T
Do you still have the device list or remember how you found it?
Have fun ;)
new Ck2("Micromax", null, "4560MMX", null, 217.0F, 217.0F) new Ck2("HTC", "endeavoru", "HTC One X", null, 312.0F, 312.0F) new Ck2("samsung", null, "SM-G920P", null, 575.0F, 575.0F) new Ck2("samsung", null, "SM-G930", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G9300", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930A", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930F", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930P", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930R4", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930T", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930V", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-G930W8", null, 581.0F, 580.0F) new Ck2("samsung", null, "SM-N915FY", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915A", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915T", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915K", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915T", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915G", null, 541.0F, 541.0F) new Ck2("samsung", null, "SM-N915D", null, 541.0F, 541.0F) new Ck2("BLU", "BLU", "Studio 5.0 HD LTE", "qcom", 294.0F, 294.0F) new Ck2("OnePlus", "A0001", "A0001", "bacon", 401.0F, 401.0F) new Ck2("THL", "THL", "thl 5000", "mt6592", 441.0F, 441.0F) new Ck2("Google", "sailfish", "Pixel", "sailfish", 441.74F, 441.74F, 0.004F) new Ck2("Google", "marlin", "Pixel XL", "marlin", 537.57F, 537.57F, 0.004F) new Ck2("Google", "walleye", null, "walleye", 441.74F, 441.74F, 0.004F) new Ck2("Google", "taimen", null, "taimen", null, null, 0.0046F) new Ck2("Google", "21c8b5470a64adbb25bc84316cbc449361d86839", null, null, 522.63F, 522.63F, 0.0038F) new Ck2("Google", "6e2c7e24b7c7eae9fc94882c9f31befa00594872", null, null, null, null, 0.0038F) new Ck2("LGE", "joan", null, "joan", null, null, 0.0038F) new Ck2("LGE", "e44046539bb5b584279553ca6eacca937c8e16cf", null, null, null, null, 0.0038F) new Ck2("Lenovo", "vega", null, "vega", 537.388F, 537.882F)
 

Gabone_2001

New member
Sep 8, 2021
3
0
Thank you, had a look and the newest devices in that list seem to be from 2018, but I'm thinking they must have added more devices since then. Any chance you know how I can decompile this list from a newer snapchat version?
 

ksernik

Member
Oct 20, 2018
8
2
Redmi K20 / Xiaomi Mi 9T
Thank you, had a look and the newest devices in that list seem to be from 2018, but I'm thinking they must have added more devices since then. Any chance you know how I can decompile this list from a newer snapchat version?
I grabbed these out from the newest beta apk.

Edit: To decompile just grab .dex files from apk (open as zip), use dex2jar and open in JD-GUI. Then just search for "sailfish" or some other device.
 
Last edited:

B00gyman69

Member
Sep 26, 2021
6
1
Can you share it with me
So... I recently used this mod and found out that Google Assistant's getting a trouble to react on "Ok Google" and Google and Xiaomi's "steps counters" don't work at all. I didn't find any solution for that in Magisk, but I wrote my own version for Xposed (I use EdXposed) that fools only Snapchat.
I can share if anyone want it. ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Use this mod at your own risk! This might break other apps (I don't know any but let me know if it does for you)

    What does this mod do?
    This mod will just change some props so your phone will get recognized as the original Google Pixel (sailfish).
    By doing this the low light performance of Snapchat magically improves.

    How does this work?
    Snapchat is generally a terrible application on Android, but I noticed that it works worse on the Mi9T than on my old Google Pixel.
    After decompiling the snapchat app I found out that some devices are manually optimized to have a better camera quality.
    By making Snapchat think that your device is a Google Pixel the quality magically gets better, which is mostly noticeable in low light.

    Low light comparison
    These videos are both exported from snapchat.
    If you are using the XDA App you need to download the gif below to view it.
    ezgif-7-3289389030d6.gif


    How to install
    1. Install the attached .zip as a magisk module.
    2. Reboot
    3. Delete Snapchat cache
    4. Force close snapchat and restart

    Source (Github)

    Tested devices:
    • Mi 9T

    If you are using a device that is not on this list please report your results to me.