yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] DrPhant0m:
I can do you one better. I uninstalled the snapshare module, and rebooted my phone earlier today. Sorry, I should have added that to my previous post.

Snapchat still has the black screens when I swipe through them. Are we leaning toward my snapchat install being borked? Cuz... with snapshare not installed, it can't be modifying the snapchat apk, right? So, it wouldn't leave any damage behind?

TBH... I'm hesitant to uninstall or clear data on my snapchat app because I don't remember my login credentials. I keep restoring it from Titanium Backup.

May I ask... what is everyone else seeing when they swipe through the filters?

Also, it may be useful to know that I have snapcolors, keepchat, and the snapchat long-caption mods all installed in xposed. I'll try disabling them next, but I've got to get to bed. My son's 6-month birthday is tomorrow, and we're going to the zoo!
[Xposed Framework Modules] thayl0:
I would disable all mods dealing with snapchat. If you still get black screens I'd then uninstall snapchat and reinstall. You can recover your password threw snapchat website if you were to forget it.
[Xposed Framework Modules] P1nGu1n_:
I do feel sorry for you.

Hmm, there's a second report. Strange, since that code hasn't been touched and and there haven't been any deletion reports in months.

It shouldn't happen, there are precautions taken. Was your video larger than 1.75 MB too, [MENTION=5282419]thayl0[/MENTION]?

I just studied the delete-prevention code again and I have a question for you, what happened when you shared the video? Did you get past the camera screen (that's where you take pictures, normally it should only flash by real quick) and did it preview the video correctly?

I saw the code for preventing the deletion is executed when opening the preview screen (where you draw and add text). The only possibility I see is that the video was 'injected', but it for some reason didn't get to the preview screen.

Next step is trying to execute the delete-prevention earlier in the process, at the same time when the video is injected preferably.

Could you both please enable debugging in Settings, so if it happens again, I have something to study.

Since I didn't and almost no one didn't encounter it, I really need your help on this one :)
[Xposed Framework Modules] thayl0:
The video was like 800kb.

The video shares normally.

The video can be seen playing in snapchat.

I go to post it to my store.

The video after trying and trying to post says failed.

That is then when the video is deleted from the phone.

Although you can still see the video thumbnail still in your video player.

---------- Post added at 05:59 AM ---------- Previous post was at 05:55 AM ----------
[Xposed Framework Modules] Agom:
Dont work for me. I already installed the 2.1 version, its already active and I reboot after this. But nothing change my snap current the same, no different things. The device is moto X version of snap is 5.0.27.3 and I don't have any other snapshare from another user.

Someone can help me? Thank you
[Xposed Framework Modules] andypiznti:
this is awesome, thanks. you think its possible to add animated gifs? when i try to send one, it sends as a picture.
[Xposed Framework Modules] thayl0:
You can convert then to mp4

---------- Post added at 06:53 PM ---------- Previous post was at 06:53 PM ----------

Explain what you mean when you say nothing changed?
[Xposed Framework Modules] P1nGu1n_:
I fiddled to Snapchat's code for a while and I have an idea what might cause deletion of videos in rare cases. Usually, videos taken within Snapshat are cached. Snapchat keeps track of it's cache internally and deletes it after a while, for example in case of a snap failing to send (for whatever reason).

However, we like to hack Snapchat and inject videos we want to share using Snapshare. What I think might happen, is that Snapchat thinks the file we share is cached and when it hasn't been sent after a while (because it failed), it gets deleted like the regular cached files.

Note; I am really not sure. It's based on fiddling through their code, a little common sense and some guessing. I will dive into it deeper and try to solve any problems.

Please look at the OP, it says how to report problems. Then I will take a look at it.

No, a Snapchat limitation. The way they store images only supports static (non-animated) images.

Click
[Xposed Framework Modules] toggly:
Thanks for taking this over P1nGu1n_!!

Works great for me except Snapchat has to be previously opened to avoid re-sharing to Snapshare twice. Has anyone tried Snapchat with Snapshare on Android L?

Nexus 5 stock 4.4.2

Snapchat 5.0.27.3

Snapshare 2.1.0
[Xposed Framework Modules] DrPhant0m:
It's fixed now. Oddly enough, I think it was the snapchat install itself. I disabled all snapchat mods (colors, long text, keepchat, snapshare), and I still got the black screens instead of filters...

So, having just snapchat installed, I cleared the snapchat data. Still had black screens.

It wasn't until I uninstalled and reinstalled snapchat that I had actual filters again instead of black screens. All the mods work with the filters, too.

Odd. Thanks for the help. I hope your issues get solved soon, as well.
[Xposed Framework Modules] thayl0:
Google gif to mp4
[Xposed Framework Modules] thayl0:
Check page 6 and 7
[Xposed Framework Modules] indiemixer:
I just tried sending a video pretty important to me to my girlfriend but Snapchat ended up deleting it. I tried using DiskDigger to undelete it but no cigar :(

I was using the latest version of Snapchat and Snapshare 2.0 (I didn't notice the new version). Is it gone for good or is there somewhere Snapchat stores it's temporary video files before deleting?
[Xposed Framework Modules] thayl0:
Read at the top of this page. The dev is working on it.
[Xposed Framework Modules] JohnnySZS:
Hmmm... Doesn't work for me. I have a Motorola Droid Bionic and I used to use the old version fine before (the one by amcgavin) but I'm having trouble getting this one to work. I uninstalled the old one, rebooted, installed the new one, rebooted, enabled it, rebooted, and still any time I try to load an image it takes me right to the camera. Here's my most recent log:

-----------------

Jul 20, 2014 12:04:56 AM UTC

Loading Xposed v54 (for Zygote)...

Running ROM '9.8.2O-72_VZW-22' with fingerprint 'motorola/XT875_verizon/cdma_targa:4.1.2/9.8.2O-72_VZW-22/39:user/release-keys'

Loading modules from /data/app/com.p1ngu1n.snapshare-1.apk

Loading class com.p1ngu1n.snapshare.Snapshare

Loading modules from /data/app/com.manvir.SnapColors-2.apk

Loading class com.manvir.SnapColors.App

Loading modules from /data/app/ma.wanam.youtubeadaway-2.apk

Loading class ma.wanam.youtubeadaway.Xposed

Loading modules from /data/app/com.mohammadag.xposedinstagramdownloader-2.apk

Loading class com.mohammadag.xposedinstagramdownloader.InstagramDownloader

----------------- SNAPSHARE HOOKED -----------------

SnapChat Version: 5.0.27.3 (340)

Snapshare Version: 2.1.0 (17)

----------------- SNAPSHARE STARTED -----------------

Snapshare: Intent type: image/*, intent action:android.intent.action.SEND

Snapshare: Image shared, size: 300 x 425 (w x h)

Snapshare: Display metrics: 540 x 960 (w x h)

Snapshare: New width after cropping left and right: 239

Snapshare: Small image

Snapshare: ROLLINGOUT
[Xposed Framework Modules] thayl0:
Read page 6 and 7. Also did it fail after importing forna second time.
[Xposed Framework Modules] andypiznti:
Thanks dude. Found an app on play to convert it easily. for the lazy:

https://play.google.com/store/apps/details?id=com.parizene.gif2video&hl=en

FYI sometimes snapshare will delete the mp4 file. if it doesnt work try it again.
[Xposed Framework Modules] andypiznti:
sure, but am i allowed to do that? been lurking for awhile, recently started posting, so im not sure on the rules.
[Xposed Framework Modules] andypiznti:
Screw it ill post it for everyone. :cowboy:

if it doesnt work when sharing, mess with the settings.
[Xposed Framework Modules] sarktheshark:
Doesn't work on HTC One m7

I did the update and reboot stuff and the app run good but when I try to upload a 2mb, 6 second long video it just says posting for like 5 minutes Than says failed to post. I've tried it like 27 times it just keeps doing the same thing.

I'm runing Android Revoultion HD 71.1 HTC One m7

I will add ￼ log
[Xposed Framework Modules] Naddict:
Thread lightly cleaned of off topic and unnecessary comments, to include the use of masked profanity.

Respect is a rule here. Time for a redo and reset in here.
[Xposed Framework Modules] keyra74:
i can confirm video sharing works

here's my test, i just edited 2 second of my screencast for privacy

http://youtu.be/R-AKW9WMqqY

---------- Post added at 05:23 PM ---------- Previous post was at 05:20 PM ----------
[Xposed Framework Modules] P1nGu1n_:
Hey guys, I've investigated the issue some of you reported, about videos being deleted.

I have good news and I have bad news. The good news is that I have been able to replicate the issue.

It occurs when a video shared with Snapshare, fails to send. Sometimes it will delete the video.

The bad news is, I haven't been able to find out in which part of the code it gets deleted, yet.

There were some questions about videos failing to send. This is due to a size restriction by Snapchat.

After many tries I found out the limit is exactly 2.5 MB. I built a check in Snapshare to check this.

This also reduces the risk of videos being deleted, because main cause of failures is prevented.

I just wanted to update you. There will probably be a release in a few days.

There are more changes, you should check my GitHub Repository for the full progress. :)

I'll be working in investigating why the first share doesn't work and preventing failed videos being deleted. However, those two are hard...
[Xposed Framework Modules] thayl0:
Take your time

Thanks for taking over the project.
[Xposed Framework Modules] bolo808:
Thanks for pointing out the 2.5 mb limit. Been going off of the 1.75 mb limit this whole time. I noticed that videos sent by itself will send fine but videos that are close to 2.5 mb and have any editing done on it through snapchat (text, drawing, or smart filter) will fail when sending. I tested it out with one of my videos at 2.48 mb and by itself it sent fine but with any editing, it failed to send. Surprisingly though, even though it failed multiple times, my video was never corrupted/deleted which I've experience in the past. Not sure if I was just lucky on this test but it's nice to know it isn't happening even though the bug isn't completely fixed. I ran this test only on my Moto X. Kind of late but just wanted to say thanks for putting in your time on this module. It's been working great for me and you've been doing a excellent job :good:
[Xposed Framework Modules] adrianmuniz325:
What size does a picture need to be to send right? I have always had a problem with the full picture not sending.
[Xposed Framework Modules] P1nGu1n_:
I only have tested the size while sharing, but it sounds reasonable what you're saying, so I'll try it soon.

I don't think it's luck. It happened to me when sharing particular files, so there's probably a pattern that I just haven't found out yet. Right now I'm trying to pinpoint the problem, but this is very hard as Snapchat's code is heavily obfuscated.

You're welcome. Guys like you keep me going!

There are no requirements regarding the size of an image. Snapchat requires the picture to be the size of your screen, however that's handled by snapshare. It automatically resizes, crops and scales everything, so every size should do it.

Can you explain what does and what doesn't work? I don't fully understand it.
[Xposed Framework Modules] geoff5093:
I haven't been able to use photos from my DSLR, it just opens the camera even when backing out and going back in 10 times. It works with camera photos on the second try.
[Xposed Framework Modules] adrianmuniz325:
Pic will not post fml
[Xposed Framework Modules] parodoxx:
No matter how many times I reinstall it, I keep getting "file does not exist" in the log. I have uninstalled snapchat, reboot, install, enable module, reboot and still does not work. Tried both versions and neither of them work. I also went to the location that is says it does not exist, and it is definitely there. Any idea on why this is happening?

Jul 24, 2014 11:27:19 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-1/pkg.apk
File does not exist
-----------------
Jul 24, 2014 11:31:32 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-2/pkg.apk
File does not exist
-----------------
Jul 24, 2014 11:34:27 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
-----------------
Jul 24, 2014 11:36:27 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-1/pkg.apk
File does not exist
-----------------
Jul 24, 2014 11:36:43 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-1/pkg.apk
File does not exist
-----------------
Jul 24, 2014 11:40:51 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
-----------------
Jul 24, 2014 11:43:53 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-1/pkg.apk
File does not exist
-----------------
Jul 24, 2014 11:50:14 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'DN3 v5' with fingerprint 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
Loading modules from /mnt/asec/com.p1ngu1n.snapshare-1/pkg.apk
File does not exist
[Xposed Framework Modules] P1nGu1n_:
If you sent a log (with debugging enabled) or sent me a photo that doesn't work, I will look into it. Hard to say at the moment.

You expect me to help you, without even giving some information? Let's start with reading the OP, everything is in there (how to set-up and how to report problems for example).

I don't think /mnt/asec/ is the right place for an Xposed module to be installed, the location probably is the problem. If I recall correctly, paid encrypted Play Store Apps are installed in there. The APK not being found, isn't related to Snapshare.

Edit: I did some research, I think I found the problem.

Applications saved on your SD-card are saved encrypted. In order to launch them, they have to be decrypted. Android saves/mounts the decrypted files to /mnt/asec. However, Xposed probably initializes the installed modules earlier than the apps are mounted to that location. This results in the APK not being found. I think it's solved by moving it to your external SD-card.

If this doesn't work for you, you should ask it else where, since the problem is not related to the module and I don't know what's causing it. I suspect the location is the problem.
[Xposed Framework Modules] adrianmuniz325:
Ok this is what pics look like

First pic is before

Second is after
[Xposed Framework Modules] thayl0:
If u want it to for correctly u have to re size it yourself tonyour screen size. Someone correct me if I'm wrong.
[Xposed Framework Modules] parodoxx:
Found out my problem. ROM Toolbox was installing all my apps to external SD. Turned it off and reinstalled and everything is working fine.

One problem though, when sending videos, it does not rotate to fit the screen. It displays it portrait style on the top part of the screen and the bottom is black.
[Xposed Framework Modules] P1nGu1n_:
That's what the result is supposed to be? There are three resizing methods. If you don't want your image to be cropped, you probably want to select 'scale' or 'none' in settings.

That's indeed what I thought, external SD. Nice to see it's solved!

It's right that it doesn't rotate the video. Rotating the video 90 degrees would require Snapshare to recode the entire video file. This is not practical and suitable for mobile phones (extremely heavy). Rotate them or your pc or download an app for it, because it's not what Snapshare is aimed at. :)
[Xposed Framework Modules] P1nGu1n_:
This is not meant to be rude, but instead of giving useless comments, be helpful to achieve a postcount above 10. Help other people in the forums by answering their questions. Read more how to achieve 10 posts in a community accepted way here. If you want to thanks someone, there's a thanks button underneath each post.
[Xposed Framework Modules] Scorp123:
No longer working on latest snapchat beta version 5.0.32.0 and I know what the policy is about betas and unfortunately I don't know how to extract the apks, I'm just reporting it. but this new version of snapchat FINALLY fixes the issues I've had with videos not filming the full 10 seconds so I'd really like to get this version fully working again.
[Xposed Framework Modules] adrianmuniz325:
Reinstall and did this and worked fine
[Xposed Framework Modules] Scorp123:
I figured it out. APK for the latest beta

https://www.dropbox.com/s/pfhajyqj735vbir/Snapchat_5.0.32.0Beta.apk
[Xposed Framework Modules] thayl0:
I believe the update yesterday broke snapshare. Anyone confirm:?
[Xposed Framework Modules] AJ06:
Yep, that's what another user in the previous page also reported.
[Xposed Framework Modules] bschuster:
Share option show up, but just opens Snapchat to camera.

Using: Galaxy S5, newest version of Snapchat (not Beta)

Issue: Has the snapshare option to share, but when I click OK it, it just opens Snapchat to the camera.

LOG:----------------- SNAPSHARE STARTED -----------------

Snapshare: Intent type: image/jpeg, intent action:android.intent.action.SEND

Snapshare: Image shared, size: 5312 x 2988 (w x h)

Snapshare: Landscape image detected, rotating image 90 degrees

Snapshare: Display metrics: 1080 x 1920 (w x h)

Snapshare: Large image, scaling down

Thanks in advance for any help.
[Xposed Framework Modules] P1nGu1n_:
Everyone thanks for their reports! I'll try to look into it tomorrow, else it will be in the next few days :)
[Xposed Framework Modules] capricacity:
not working after update

hey guys. so i upgraded to snapshare 5.0.32.1 and its not working anymore

any idea how to fix this?
[Xposed Framework Modules] g0ldm4g3:
Use an older version of Snapchat.
[Xposed Framework Modules] capricacity:
got it
[Xposed Framework Modules] talouchette:
Not working

hello I have tried everything and yet it does not work. I installed it but when I want to share my picture, it does not work the photo does not want to get. Help me please
[Xposed Framework Modules] imRobernicoII:
Cant share my photos

Samee.... i cant share my photos it just opens SnapChat.. dubugging is enabled:(
[Xposed Framework Modules] keyra74:
seriously guys????? can't you at least read few posts
[Xposed Framework Modules] FatalIll:
As I posted in the KeepChat thread, as you requested me post it here...

Sometimes SnapShare will cause a "ghost" snap. After sharing a photo through SnapShare, trying to open a new snap will cause the timer to appear, but not the image. Snapchat needs to be cleared from Recent Apps after using SnapShare.
[Xposed Framework Modules] DrPhant0m:
I agree that clearing it from recent apps FIXES the problem... but I can't say that NOT clearing snapchat after a snapshare CAUSES the problem. I get snaps after using snapshare all the time without clearing or force-closing. I only get the "ghost timer" every other week or longer.

I can't recreate the problem this (or any other) way. It seems more random for me.
[Xposed Framework Modules] toqi786:
Hey

I am new to this module, when i try to share an image from the gallery, it just loads SnapChat and camera :/

what could cause this and what do you need from me to look into this option?

(btw i also have KeepChat module enabled)

Thanks
[Xposed Framework Modules] kv1dr:
1. Step: go to school and learn how to read

2. Come back and read some of the latest few posts

3. Profit

Sent from my ? using my ?
[Xposed Framework Modules] talouchette:
Thanks for your reply

How do you delete recent applications?
[Xposed Framework Modules] P1nGu1n_:
2.2.0 released

The update can be downloaded from Xposed Installer.

Changelog:

Added support for Snapchat v5.0.32.1

Snapchat now opens in a new task when sharing, instead of in the app you were sharing from

Added a warning when a shared video is over 2.5 MB, because this maximum supported by Snapchat

Huge internal changes and improvements

Please report what you think about this module and what improvements you would like to see.

Everyone thanks for the feedback you gave!

By the way, I think Snapchat v5.0.32.1 solved the issue of the first share not working!
[Xposed Framework Modules] DrPhant0m:
I installed the 2.2.0 release on my wife's phone (accidental upgrade to the new SC version)... and had to share twice the first time to get it to work... but it did work.

Same on my phone with the last version of SC. Shared twice the first time, and works afterward.
[Xposed Framework Modules] keyra74:
Confirmed working on 5.0.32.2
[Xposed Framework Modules] zasuncion:
Video Compression

Anyone have a method of compressing their videos? Most of my vids are portrait and all the video compression apps i've tried rotate it. I guess I should get used to taking video in landscape anyway.
[Xposed Framework Modules] bolo808:
I use Windows Movie Maker to edit the video (usually just to trim the video), Handbreak to compress the file size, transfer over the compressed video to my phone, download Fast Video Rotate in play store and use to rotate the video as I please.

After testing it out for the past few hours I can confirm this. Not once have I had to share it twice since updating. Thanks for the great update and for doing it so quickly.
[Xposed Framework Modules] Momotoculteur:
All is working perfectly on my S4, with last version of snapchat and SnapShare! Thanks a lot from France Pinguin:D
[Xposed Framework Modules] NipplesOfTheFuture:
Video Cropping

Would it be possible to crop or re-scale videos to portrait before being added to Snapchat?

Sending vertical videos works as expected, but landscape videos are tiny and stretched when sent.

I'm not aware of any Java libraries that can convert video on the fly, but maybe it's possible with a YouTube video downloading app before adding to Snapshare? Just brainstorming as I'm new to Android development.

Please respond! :eek:
[Xposed Framework Modules] keyra74:
Confirmed working on 5.0.32.3
[Xposed Framework Modules] P1nGu1n_:
Here you go :)
[Xposed Framework Modules] toqi786:
I have just updated to the latest version ... 2.2.0 ..... it is working

running CM11 M8 on my Galaxy Note 3 ... along side KeepChat
[Xposed Framework Modules] P1nGu1n_:
Thank you! It's merged and will be in the next release!
[Xposed Framework Modules] Dom1nation:
love the app but still problem

I dont know why it does this but I can download and shae vine videos just fine which is awesome. The problem.im having is when I try to shrink my own video clips from random movie clips to random small screen recording clips from youtube, every time I get the video down to size im able to upload into snapshare just fine but when I send and see the video, its squished to the left of the scree. Does anybody have any idea how to shrink clips down correctly without seeing this problem?
[Xposed Framework Modules] NipplesOfTheFuture:
Thanks, P1nGu1n_

I was thinking the same. Great job on the photo cropping code, btw.