yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] ygoralmeida:
Wow, fixed and working like a charm :)
[Xposed Framework Modules] xtc_24:
v1.4a works fine with instagram v7.14.0 but facing a couple seconds delay while downloading and unable to scroll until the image/video is downloaded. Never faced it before :/
[Xposed Framework Modules] iHelp101:
If I remember correctly when the module first started this was a bug that existed. Let me look back and make sure I didn't re-introduce this bug over time.
[Xposed Framework Modules] iHelp101:
I looked further into the code and I found the cause of the issue. It is related to the toast message that states whether your download completed or failed. It has to do with how I keep the code waiting until the download is done until the toast is sent out. I am looking for a way to get everything to play nice.
[Xposed Framework Modules] Upstreammiami:
I have some this and still no download
[Xposed Framework Modules] grotesque02:
Maybe is a instagram problems, but the pics and videos I post don't automatic save.
[Xposed Framework Modules] iHelp101:
Please provide your Xposed log (Xposed -> Logs). You can PM it to me if you would like.
[Xposed Framework Modules] iHelp101:
XInsta doesn't mess with anything related to posting images. An easy test is disable XInsta, reboot, and try to post an image. If it doesn't automatic save you know XInsta is not the issue.
[Xposed Framework Modules] iHelp101:
XInsta 1.4b is now out! I apologize for re-introducing the lag/lock up bug into the module. This bug occurred a while back and I accidentally re-introduced it. This bug is more noticeable when using a slow connection. The bug only affect the user when something is download. If you of course download in the span of a few seconds you don't notice the issue. If you however take for example fifteen seconds to download a video you easily notice Instagram locks up.
[Xposed Framework Modules] xtc_24:
Big ups for quick update ? no more lags & slowdowns on 1.4b
[Xposed Framework Modules] shawek:
great module,i use it from beginning of development.for me,one of must have apps.thanks for your time and work,and continuous update :)

Sent from my HTC One
[Xposed Framework Modules] Upstreammiami:
Still same issues download fail
[Xposed Framework Modules] iHelp101:
Some users are experiencing issues with Marshmallow (6.0.1) and saving. I don't have a device on 6.0.1 yet, so I am seeing if any of my test devices have a working ROM. I am not sure if the issue is related to Xposed or not. The issue basically is when saving an image or video it states the location doesn't exist and results in a download failed. The location does in fact exist, which is quite strange. Hopefully it will be an easy fix.
[Xposed Framework Modules] Flopik2:
I have nexus 6p and version 1.4b. The module is enabled but I dont see the download option. I have the lastest hook. Instagram is a version 7.14.0. I found that sometime i need to reinstall instagram in order to work but i cannot reproduce it this time.

Update:

Instagram is not installed in the error log
[Xposed Framework Modules] iHelp101:
I apologize for the delay. Are you using 6.0.1 by any chance? Also can you send me your Xposed log (Xposed -> Logs)? Thank you.
[Xposed Framework Modules] NexusS4gFreak:
How do I fix this? Can't Download anything and I already gave Instagram storage permissions. I have a HTC one m8 running viperROM.

20160118_162317 - XInsta Initialized

20160118_162317 - Instagram Version Code: 20151320

20160118_162317 - Device Codename: qcom

20160118_162317 - Android Version: 6.0

20160118_162317 - Instagram First Hook: com.instagram.android.feed.adapter.a.ae

20160118_162450 - Error: java.io.FileNotFoundException: /storage/emulated/godzillasdaily_1165447830522422055_979785631.jpg: open failed: EACCES (Permission denied)
[Xposed Framework Modules] palosjr:
A fix has been posted here - it has to do with permissions in MM.

http://xdaforums.com/showpost.php?p=64756459&postcount=1231

In short go to Settings > Apps > Instagram > Permissions > Enable Storage

Kill Instagram and open it again, it should download fine. Tested and works on PureNexus MM.
[Xposed Framework Modules] iHelp101:
I of course have tested this, since I posted this fix. It is even included in the Xposed Repo description. The issue is on some versions of 6.0.1 I was seeing users with a error similar to the one below. This is of course Android saying this file can't be saved because the location doesn't exist. This is strange because Android is reporting this as the Download directory, which is fetched with method Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).

The module of course makes the directory if it is missing, but it sadly is not made for some reason. I have tested numerous 6.0.1 ROMs on a Moto G and I have never been able to replicate the issue sadly. I however have about five users that all have this similar issue. I believe all of them are using Cyanogenmod, so it is possible a bad commit was put in during the CM13 rush.

java.io.FileNotFoundException: /storage/emulated/0/Downloads/ExampleName.jpg: open failed: ENOENT (No such file or directory)
[Xposed Framework Modules] ariefabuzaky:
Instagram update to 7.15.0 (20543579),waiting for update because download button is missing ..

Thankss dev
[Xposed Framework Modules] iHelp101:
The hooks have been updated for Instagram 7.15.0 (20543579). Enjoy the module!

Fun Fact: Instagram added even more obfuscation to Directshare.
[Xposed Framework Modules] exodius48:
Im sure you can bypass that obfuscation. :D
[Xposed Framework Modules] DevilMind007:
2 major issues:

1. Please allow photos and videos to be saved on External SD.

2. The profile icon saving not work, how to save it where is the download option?

I am on latest Xinsta version.
[Xposed Framework Modules] iHelp101:
You can save to your external SD card with XInsta. You just need a ROM or app (SDFix) that will fix the media permission that allows user applications to save to external SD cards. To save a profile icon you click the desired profile icon, click the three dot icon, and click download. I linked a video below showing how to download profile icons.

https://gfycat.com/TheseFrequentAfricanhornbill
[Xposed Framework Modules] OmegaSkiller:
Thanks! I'm enjoying XInsta this is the best mod for instagram downloading and zooming
[Xposed Framework Modules] TechnoSparks:
I really really rarely download pictures off instagram, but i noticed a trend that is happening to me for many times now since I found this module. I think shedding some light would help.

Also yeah a log would be useful but I managed to fix it (forgot about logging in the first place lol). So no logs.

Basically, overtime, XInsta refuses to work even after disable, reboot, enable, reboot. Even on data clearance too, it just wont work. Deletion of hooks, doesn't work either. But the weird part is, uninstall, reboot, install, download hooks, activate module, reboot, somehow it works!

By not working, when I hit Download, a toast appears stating downloading, but few seconds later another toast appears, stating that i should contact the developer on xda.

So yeah

Certainly, when this again happens in the future, i will try my best to remind myself about logging the problem first......
[Xposed Framework Modules] iHelp101:
Thank you for the post. I have noticed that once in a while you post about this, but I have sadly never been able to reproduce the issue. You however did provide some crucial information in terms of the error. The toast message "Please contact iHelp101 on XDA." is only used in four places to check if everything is working correctly. Those four places are media check (Image or video), video check (Gets video extension), link to download , and username check (Get username of image/video).

We can in theory shrink this down to three checks if you know you were attempting to download an image (Skip video check). That of course leaves a few crucial items. We need the link to download the most, but knowing the username and media type is also important. All of these checks are set to log information when they fail, so if you can get a log of the issue I would very much appreciate it. I will likely be removing two of these checks. The media check and video check are actually unneeded. An easier way to determine our media type would be just checking for .mp4 or .jpg in the link to download.
[Xposed Framework Modules] easy_mac:
That did the trick! Thank you!
[Xposed Framework Modules] TechnoSparks:
I see!

I was trying to download images. However, it isn't specifically happening on a single user, but rather anyone's pictures! I certainly didn't tried on a video as I was on mobile data and want to save some data balance so I didn't know if it would work (at the time of the problem).

As mentioned, this happens "over time", when i didnt hit the Download button like for a really long time then ironically it happens. Will surely take a log once it happens! I just tried again just now, since like a week now after my last download, the problem isn't there. I suspect this might have to do with hooks updating. But hey, just a suspicion and theory

Thank you for the explanations! I enjoyed reading it :D
[Xposed Framework Modules] burningghost:
i dont know why, its working but still downloaded at 240x240 in my galaxy chat 4.1.2 with instagram 7.13.1 thank you :)
[Xposed Framework Modules] Note2 user:
I'm using cm13 and when i try to download any pic it says download failed what should i do?
[Xposed Framework Modules] iHelp101:
I wanted to give everyone a heads up about the module not being updated for a few days. Since yesterday, I have been sick and don't have the energy to work on the module. I will try to reply to any issues sent via Email, but no promises. Hopefully Instagram doesn't break everything in the next two days or so. I have been visiting a family member in the hospital, so it is likely I caught a bug.
[Xposed Framework Modules] iHelp101:
Have you enabled storage permissions (Settings -> Apps -> Instagram -> Permissions)? Thank you.
[Xposed Framework Modules] antukubo:
Get well soon. Don't be too hard on yourself. Health comes first.
[Xposed Framework Modules] ms.journie:
If you're getting download failed there's 2 things to check.

1. Enable storage permissions (Settings , Apps , Instagram , Permissions

If that doesn't work

2. Go into your Insta app and redirect the download to your phone rather than the external SD card
[Xposed Framework Modules] j1gga84:
Instagram 7.16 was released and download button dissappeared.. I could have bet on it that this would happen..

Regards

Sent from my SM-G900F using german Tapatalk 4
[Xposed Framework Modules] iHelp101:
The hooks have been updated for Instagram 7.16.0 (21388836). Enjoy the module!

Fun Fact: Instagram is really working towards making reverse engineering Instagram difficult for me. I can't decompile the APK with my normal method. It looks like I will be on the hunt for a new decompiler (I was using JAD).
[Xposed Framework Modules] iPusak Gaoq™:
Use Dex Manager....it doesn't decompile the whole apk...it just needed the dex files...just extract the dex from the apk and Dex Manager will decompile it for you....
[Xposed Framework Modules] MaaarZ:
JAD is kinda outdated, I was in the same situation as you, loads of classes became unreadable in Snapchat, so I was looking for an other decompiler and settled down with Jadx, it's really fast and able to decompile every single class and method, which failed before. An other viable alternative can be CFR, I don't have any personal experience with it, but like 80% of the Snapprefs contributors use it. (It has Java 8 support too, but right now it's not relevant for Android)
[Xposed Framework Modules] iHelp101:
I appreciate the response. I ended up switching to Fernflower. I was looking for a solution that gave me similar to what JAD previously was able to produce. When I tested JADX and CFR I sadly got undecompiled methods or strange class names. For example I hook into "com.instagram.model.b.b", but with JADX the class is reported as "com.instagram.model.p323b.MediaType". That hooks obviously doesn't work, so I can't fully trust the decompiler. I will see how Fernflower treat me for the time being.
[Xposed Framework Modules] iHelp101:
I very much appreciate the response. I chose to go with Fernflower since I use Linux (Dex Manager is Windows only) and I found it to be the most similar to JAD (In terms of output).
[Xposed Framework Modules] iHelp101:
I very much appreciate your investigation into the issue. This might be a long post from me as well. To start out with the saving issue the issue is a little complex. When we hook into Instagram we become Instagram (We are using Instagram's context). Because of this when we download an image/video from Instagram we have to download the image as Instagram. That is why for Marshmallow you have to enable storage permissions for Instagram.

This also translates back into getting the hooks file, save locations, and preferences. When you open XInsta and choose your settings you of course save as XInsta. When the module loads however we are already hooked into Instagram, so we have to open these files as Instagram. Because of this you have a conflict when using anything that modifies your internal SD card. A solution exist to fix the issue of saving and I implemented it for about a week or two and I got a good amount of complaints.

The method was basically me passing the data via a intent service. The issue with this was the intent service didn't work correctly MediaScannerConnection, which tells devices saving to SD Cards to refresh the SD Card. This overall makes the gallery update when a new images to downloaded. It is something I will look further into since I never was able to find a solution for the main complaint. The issue however will still affect the hook file (Has to be loaded as Instagram). I will also look into the white spacing issue.
[Xposed Framework Modules] aceqott:
This module does not work with the latest version of Instagram (7.15.0). No option to download appears.

Regards.
[Xposed Framework Modules] iHelp101:
7.15.0 or 7.16.0? I am not aware of a new 7.15.0 version. Can you provide your error log (Open XInsta -> Three Dot Icon -> Send Error Log)?
[Xposed Framework Modules] iHelp101:
I fixed the whitespace issue (Folder is titled "Fixed This Issue") and have migrated to another downloading method (XInsta fully handles download). The Marshmallow emulator I use doesn't like Instagram, so I just made it simulate a download. It handles Marshmallow storage permissions as well to stop a lot of the confusion users are having with XInsta and Instagram permissions.

https://gfycat.com/DimwittedNiceFluke
[Xposed Framework Modules] aceqott:
If, 7.15.0. Here attached the log.

https://www.dropbox.com/s/d6xix63o1oborzu/Error.txt?dl=0

Enviado desde mi SM-G900F mediante Tapatalk
[Xposed Framework Modules] iHelp101:
Please update your hooks manually (Open XInsta -> GitHub) and reboot. After that the module should work fine. I added your version to the hooks file. Enjoy the module!
[Xposed Framework Modules] aceqott:
Now, she is working properly. Thank you. Good job.

Enviado desde mi SM-G900F mediante Tapatalk
[Xposed Framework Modules] iHelp101:
For those interested, in the next update I will include StorePrefs integration. StorePrefs allows the module (XInsta) to alert you that an update might break the module. The module gets call that you want to update Instagram. The module gets the version you will updating and checks the hooks file for hooks regarding that version. If the hooks file contains that version it updates without warning. If the version is not this the hooks file you will get a dialog detailing the update may break the module.
[Xposed Framework Modules] TechnoSparks:
I see. Now i understand the problem i am facing. Thank you for the explanation! ;)

However, it still left the mystery of XInsta and Instagram working fine after a clean reinstall of the XInsta module, while both being under XInternalSD's possession. :(

I am still in awe, as believe me, the error toast will only appear over time..

I see, thank you for the heads up. From what I understand, I believe this new implementation of yours could "fix" the XInternalSD conflict. I'll just wait for the release to see if my guess is correct lool

And this one is a great great great feature!

But may I ask, does the dialogue appears when updating through Play Store or what?

Also I believe this new feature you have baked in would be useful for other app hooking modules, for example YouTube AdAway and Background Playback.
[Xposed Framework Modules] 93fuelslut:
How are y'all getting the 1080x1080 size instead of the smaller size of the newer update? My images that I downloaded are still in the smaller size. I think the 480 size
[Xposed Framework Modules] rahul9871:
I'm on MM and Xinsta unable to save any picture on mobile, it gives download failed error
[Xposed Framework Modules] TechnoSparks:
As far as I am concerned, it depends on the uploader. If he/she uploads a small resolution pictures, then that's what you will get
[Xposed Framework Modules] iHelp101:
Have you enabled Instagram storage permissions (Settings -> Apps -> Instagram -> Permissions)? Thank you.
[Xposed Framework Modules] iHelp101:
As stated by another user the image size depends on the uploader. In most cases you will get an image bigger than 480x480. If you however notice the issue occurs on every image I will gladly look into the issue. I just need to know the image size being downloaded, so I can for sure pinpoint the issue. Thank you.
[Xposed Framework Modules] iHelp101:
In terms of the new download method I can only hope that it resolves a lot of users issues. Every device is a little different, so getting the module playing nice with every device is quite difficult. The StorePrefs integration is available to any developer. I am simply using the API (Provided by the StorePrefs developer), which links with the StorePrefs module. Also I linked a Gfycat below that shows how StorePrefs works. You only receive the dialog when the hooks are not found. It is mostly a warning for people that get updates early and are unsure if the module will work.

https://gfycat.com/OffbeatDistantHoverfly
[Xposed Framework Modules] rahul9871:
Thanks a lot Bro, it's working now:sly:
[Xposed Framework Modules] DevilMind007:
well on main profile it is NOT showing DOWNLOAD BUTTON option,

but in Photo and Video it does work.
[Xposed Framework Modules] iHelp101:
Which version of Instagram are you using? If you open XInsta -> Three Dot Icon -> Send Error Log I can assist you a lot better. It allows be to see your Instagram version, which might me a version I am might be missing profile hooks for.
[Xposed Framework Modules] DevilMind007:
Please check out my XInsta Error Log.

also major issue with Xinsta log exporter is, it does not save to mobile memory and not shows the location saved in.

i had to Gmail the attachment to myself and download to on mobile.

second option was to send Xinsta to Google Drive then download to mobile. please also fix this.

my instagram version 7.5.0

i have also emailed you the Error.txt
[Xposed Framework Modules] iHelp101:
Alright, I just updated the hooks for the Instagram version you are using. Please manually update your hooks (Open XInsta -> GitHub). This will resolve your issue with downloading profile icons. The second issue you mentioned was the error log. The error log is stored on the main directory under a folder titled .Instagram. In the folder you will find a few text files (Hooks, error, etc) depending on your settings.
[Xposed Framework Modules] lover:
some problems with Instagram v7.16.0 build 22038485. copy features sometimes does not work
[Xposed Framework Modules] iHelp101:
I pushed a hook update. The next time Instagram launches it should receive the new hooks. If the issue continues for you please follow up. Enjoy the module!
[Xposed Framework Modules] iHelp101:
XInsta 1.5 is now out! A lot of change were made in this update. To start out we added StorePrefs support. StorePrefs is a module that allows others modules to notify users that an update may break the module. So XInsta for example will check the Instagram version you are updating to and see if we have hooks for it. If we do you update as normal. If we however don't have the hooks for that version you get a warning that the module may having issues.

Next up we changed the download method we use. For quite a while we have downloaded images/videos as Instagram. This is why you need to give Instagram storage permissions (Marshmallow). I have chosen to instead pass the needed hooked information to XInsta and allow XInsta to complete the download. This also allows XInsta to easily request storage permissions. So this will fix a lot of the confusion of telling individuals that Instagram needs storage permissions.

The last changes were bug fixes and improvements. We have removed two hooks in this version, so that of course means less to worry about breaking when Instagram releases an update. In terms of bug fixes we had an issue with spaces in save locations that is now resolved. Since this update changes a lot I encourage anyone to immediately report any issues. I have done a lot of testing, but something can always slip through. Enjoy the module!
[Xposed Framework Modules] ishu2001:
error while downloading

whenever i try to download photos or videos through xinsta it says download failed. I

am using the latest version of xinsta and my device is running on marshmallow. please help!!!
[Xposed Framework Modules] iHelp101:
Did you approve storage permissions for XInsta? It should have popped up and requested them. If you accidentally declined them navigate to Settings -> Apps -> XInsta -> Permissions.
[Xposed Framework Modules] Sy1ar:
Save by username - folder option missing in latest version
[Xposed Framework Modules] ishu2001:
Yes I approved storage permissions for Xinsta but it is still not working

---------- Post added at 09:54 AM ---------- Previous post was at 09:53 AM ----------

How can I save by username [MENTION=5625227]Sy1ar[/MENTION]??
[Xposed Framework Modules] Mo3ein:
The new version (1.5)doesn't work with Multi-Account version of Instagram (7.15)

But the last version does.
[Xposed Framework Modules] ishu2001:
I tried with both the versions but still I am unable to download.
[Xposed Framework Modules] iPusak Gaoq™:
Not sure if this change is intended as default but the "download" option have been replace with "sign in failed"...downloading images still work tho....
[Xposed Framework Modules] ishu2001:
It shows the download button but when I click on it then it says download failed.
[Xposed Framework Modules] lover:
Is it possible to add a feature to disable double tap for like?
[Xposed Framework Modules] xsycox:
Today I had to give storage permission to Instagram. Otherwise it would have not worked.
[Xposed Framework Modules] Sy1ar:
in Version 1.4b tap on the menu (Three Dots) and select Folder - Username, but it is missing in version 1.5
[Xposed Framework Modules] ishu2001:
OK thanx [MENTION=5625227]Sy1ar[/MENTION]
[Xposed Framework Modules] iPusak Gaoq™:
Its not missing....press menu button and you will see the option is there....
[Xposed Framework Modules] Sy1ar:
I don't see any menu button on my phone, nexus 5 with pure nexus rom
[Xposed Framework Modules] iPusak Gaoq™:
hardware button or on-screen button....there should the a menu/option button.....
[Xposed Framework Modules] Sy1ar:
This is what I see in the UI
[Xposed Framework Modules] iPusak Gaoq™:
Press that square button on the button right....you should see option like this....
[Xposed Framework Modules] j1gga84:
1.5 is working great here on my side, no issues at all.

All the mentioned problems were gone after a reboot of the phone.

Guys, instead of posting screenshots please provide a log for [MENTION=5712278]iHelp101[/MENTION]

Thanks & regards

Sent from my SM-G900F using german Tapatalk 4
[Xposed Framework Modules] Sy1ar:
The square button is for recent apps it does not show me the xinsta menu.