yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] mr_billionaire:
Don't think it's supposed to say 'Instagram' mine has always said download

Edit: I'm on Instagram v9.0 with xinsta 1.7.3
[Xposed Framework Modules] HHAM:
+1

I'm on instagram 9.0.0 xinsta 1.7.3. Do we need to uninstall then reinstall the apps?

Thanks

EDIT: got it work ... need to allow permission again
[Xposed Framework Modules] lover:
Hooks needs update for

Instagram v9.1.0 build 35367610
[Xposed Framework Modules] nostang3:
So since the announcement of instagram stories, I'm assuming that you'll look into it and see if it's a feature you can add? ;)
[Xposed Framework Modules] exodius48:
[MENTION=5712278]iHelp101[/MENTION] XInsta 1.7.3 working great on my device running MIUI 7.5, no isse so far. Issue can't download image & video befor open XInsta has been fixed in this release.

Btw, could possible to add download image & video from Instagram Story?
[Xposed Framework Modules] stingerbs:
It somehow stopped showing Instagram and now shows download on its own. Weird but ill take it
[Xposed Framework Modules] iHelp101:
This is a bug with Xposed to my knowledge. I have tested numerous fixes and it ends up that the user usually has to uninstall and re-install XInsta to resolve this issue. To make it simply the Download button is assigned to the number 1234. This number changes with every APK release (How APK's are packaged). When you update that number changed to 2345 for example, but sometimes the app cache doesn't update. This makes you still fetch 1234, but instead of getting Download you get Instagram.
[Xposed Framework Modules] iHelp101:
The hooks has been update for Instagram 9.1. Enjoy the module!

PS: I will look into the stories feature. I just need to know how to access Instagram stories. Are they on a users profile? I am probably looking right past it.

Fun Fact: Instagram broke six hooks with this update.
[Xposed Framework Modules] jwds1978:
http://blog.instagram.com/post/148348940287/160802-stories
[Xposed Framework Modules] christianpeso:
Is the lag fix caused by the date formatting still being worked on? That's not just an "update the hooks" fix is it?
[Xposed Framework Modules] iHelp101:
It is an update that is required for the date formatting issue. The issue is that date formatting fetches resources that define month, day, and etc. in your language. It matches those and replaces them with the date formatting settings. The issue is fetching resources, which was bogging down performance. Instead of fetching resources I have made the date formatting settings file format be ready to instantly pass to Instagram. This allows for minimum if any performance impact.

I have this complete, but I am taking a look into stories before the next update.
[Xposed Framework Modules] iHelp101:
Thank you for the link. I have the feature mostly working, I just need a way to trigger a download. With feed items we have the three dot icon, while stories lack anything to really hook. I would hate to put a popup every time asking if you want to download the item.

Edit: I didn't notice the small three dot icon in the right corner.
[Xposed Framework Modules] christianpeso:
Since they're stories, reminds me of Snapprefs. Can you just make it a back and forth swipe of the screen like it is for that app for each video or pic?
[Xposed Framework Modules] hurpderp:
Do you think download of stories could work with push notifications too?
[Xposed Framework Modules] iHelp101:
Do you get notifications about stories being uploaded? I am not seeing this from my testing. I am still working on stories. Instagram updated to Java 8 with Instagram 9.0.0, which is making finding hooks difficult. I used to be able to obtain hooks easy because I could resolve the resource names, which stay constant. For example, the feed three dot icon has the report icon, which used the resource name "report_option". Now I get a random number (Changes every release), so it could be 2378461237 in one update and 2737858783 in another.

By searching Instagram's code for "report_option" I can find where I need to hook, but when I have random numbers that change in every update I have issues. I will hopefully be able to find the hooks for stories three dot icon. I have a list of places it could be, but that is a 100+ long list.
[Xposed Framework Modules] grotesque02:
Instagram 9.0.1 from store and last xinta/hook, can't see download button
[Xposed Framework Modules] SolidSnake909:
Will there be a new update for instagram 9.0.1 ?? Please make one I love this mod . luckily I backed up and old version of insta and was able to downgrade. Hoping for a new mod update
[Xposed Framework Modules] christianpeso:
More than likely, yes. Have some patience.
[Xposed Framework Modules] Aliston Pinto:
On The New update Of Instagram It is Not Working
[Xposed Framework Modules] hurpderp:
Neither am I, so I figured it would be a longshot then. Thanks for all your hard work, though :)
[Xposed Framework Modules] SolidSnake909:
Awesome thanks. ?
[Xposed Framework Modules] iHelp101:
A little sneak peak into the stories feature.

https://gfycat.com/IndolentOfficialBunting
[Xposed Framework Modules] hurpderp:
That looks great, man. I have another idea, maybe you can look into it, would it be possible to upload anything to the story, like the Snapprefs functionality?
[Xposed Framework Modules] christianpeso:
Beautiful! Thank you for your work!
[Xposed Framework Modules] iHelp101:
It could be possible, I have not looked into this ever. I am assuming SnapPrefs hooks into the image when being processed (Example: setImage(Bitmap bitmap)). I will see if I can find something similar with Instagram. As always, no promises.
[Xposed Framework Modules] Razorsoup:
Instagram allows you to post a previous picture from your gallery (from the last 24 hours) by swiping down on the screen instead of taking a picture. I think XInsta would need to override the time limitation to allow anything to be posted.
[Xposed Framework Modules] NuruddinJ:
Hi, do you have any idea why image downloading always failing, but video works? Im on cm13. Thanks.
[Xposed Framework Modules] Au5t1n:
Just noticed this lol but you could be right!

Word to your motherboard from my 1+2 ;)
[Xposed Framework Modules] naviidghafoori:
Hi

How copy comment in instagram?

................ ......

I've got it.
[Xposed Framework Modules] GOGO98901:
Would it be possible to add a download to the "force touch" feature?

There is a options dot menu with a report button inside already.
[Xposed Framework Modules] shadym1lkman:
Thanks iHelp this looks incredible!
[Xposed Framework Modules] nostang3:
Any thoughts on removing the timer for stories? So it requires a tap to go on to the next story?
[Xposed Framework Modules] gousername:
Profile picture download is broken again in 9.1.0.. Latest version of module with latest hooks installed..
[Xposed Framework Modules] exodius48:
[MENTION=5712278]iHelp101[/MENTION]

Hooks broken on latest ig update stable from playstore this morning.

08-10 07:57:18.006 I/Xposed (20073): XInsta - XInsta Initialized
08-10 07:57:18.016 I/Xposed (20073): XInsta - Instagram Version Code: 35795937
08-10 07:57:18.016 I/Xposed (20073): XInsta - Device Codename: Redmi Note 3
08-10 07:57:18.016 I/Xposed (20073): XInsta - Android Version: 5.1.1
08-10 07:57:18.016 I/Xposed (20073): XInsta - XInsta Version 1.7.3
08-10 07:57:20.226 I/Xposed (20073): XInsta - Hooks Fetched!
08-10 07:57:20.406 I/Xposed (20073): XInsta - Trying New Push Notification Method
08-10 07:57:20.416 I/Xposed (20073): XInsta - Profile Icon Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
08-10 07:57:20.416 I/Xposed (20073): XInsta - Profile Icon Class: com.instagram.android.j.kk
08-10 07:57:20.426 I/Xposed (20073): XInsta - Profile Icon Click Listener Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
08-10 07:57:20.426 I/Xposed (20073): XInsta - Profile Icon Click Listener Class: com.instagram.android.j.kj
[Xposed Framework Modules] iHelp101:
I didn't know about this three dot icon being separate from the feed. I will look into it.
[Xposed Framework Modules] iHelp101:
I tried briefly to do this and it was causing issues. The timer animation you see relies on a time being set (Otherwise it crashes). Of course you could try setting 99999999999 to the timer, but I was having issues which resulted in a crash as well.
[Xposed Framework Modules] iHelp101:
The hooks have been updated to support Instagram 9.1.0 (35686917 and 35795937). Enjoy the module!

PS: Please don't expect a reply if you try to message the "XInsta_Testing" account I use on Instagram. It is a testing account that does not get checked often. I keep getting people messaging the account and being mad when I don't reply. If you have an issue with XInsta contact me here on XDA or open XInsta -> Three Dot Line -> Send Error Log.

PPS: The next update will be released hopefully soon. I forgot to reply to the individual that requested this, but I will be adding epoch time (Or date format if set) to profile icon downloads. So the new save filename format will be "iHelp101_06302016_Profile.jpg". If you don't have a date format set it will be epoch , so something like "iHelp101_1470792455_Profile.jpg".
[Xposed Framework Modules] nostang3:
How about not touching the timer at all and just removing the command to proceed to the next item? Like inserting a pause so it's not affecting how the viewing works just messing with the transition.
[Xposed Framework Modules] iHelp101:
I will look into it. The timer however likely calls the "next item" command. This would be the same command called on touch, so I would always be cancelling the "next item" command. This would not allow you to do a touch event to the next item. It is tricky, so I will see what I can do. As always, no promises.
[Xposed Framework Modules] iHelp101:
That is rather strange. I will further look into the issue.
[Xposed Framework Modules] iHelp101:
After looking in the Android 5.1 I found the issue that individuals are facing. Sadly like predicted this is an issue with the unofficial Xposed Framework. A temporary solution is possible, but can be annoying because it must be done every time you reboot. A link below details the instructions. I also have fixed a few bugs and will release an update within a few days (Possibly tonight).

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

http://xdaforums.com/xposed/xposed-android-5-1-make-95-modules-t3079499
[Xposed Framework Modules] guardianali:
I'm not sure if it's something else or this add on. I haven't had issues before... But lately with the new version of IG and this.. With hooks enabled and downloads working... The ig app itself Iis slow to load pictures... Anyone else having that issue?
[Xposed Framework Modules] amrs:
Thanks, works great now.
[Xposed Framework Modules] :
what version of instagram do I use this with? it doesnt work on latest version instagram
[Xposed Framework Modules] iHelp101:
Did you open the module and update your hooks? If you have done this already please attach your Xposed log (Xposed -> Logs).
[Xposed Framework Modules] iHelp101:
Have you tried disabling the module and seeing if the Instagram app loading speed improves? The module shouldn't have any affect on image load speed to my knowledge.
[Xposed Framework Modules] tomballpkrxda:
I updated the app yesterday and then the hooks, and rebooted, then it was working fine. Today, it is not working, there is an error in the log. Tried rebooting and updating hooks (I have the latest). Attached...

InstagramDownloader: Downloading media...

InstagramDownloader: Unable to download media: uriString

Can you help please? Thanks!
[Xposed Framework Modules] hossein-m:
Not work

Xperia zr (android 4.4.4)

And I updated hooks
[Xposed Framework Modules] iHelp101:
You are using the old version of the module (Instagram Downloader). Have you tried updating to XInsta? Instagram changed their hooks and the XInsta APK itself had to change to properly hook. Sadly the old Instagram Downloader module will no longer work for 6.20+.
[Xposed Framework Modules] iHelp101:
Can you attach your Xposed log (Xposed -> Logs)?
[Xposed Framework Modules] hossein-m:
Sure
[Xposed Framework Modules] iHelp101:
In your log something appears to be crashing (Related to changing system resources). Please disable all your modules, but XInsta. Reboot, clear your Xposed log, and get a nice clean log of you opening the Instagram app and clicking the 3 dot icon. Thank you.
[Xposed Framework Modules] tomballpkrxda:
I have upgraded to Xinsta 1.1c with latest Instagram (6.20.2). Updated hooks. Rebooted repeatedly. Disabled and uninstalled the older Instagram Downloader

Pressing the ... button within instagram does not show the 'download' option and does not generate a log entry. I have tried disabling Xinsta, rebooting, enabling Xinsta rebooting. No change

Log attached

Any help would be appreciated...
[Xposed Framework Modules] iHelp101:
The log states "/mnt/asec/com.ihelp101.instagram-1/pkg.apk" as the location of the installed module. This is not correct and should be located in /data/data/. I'm not sure why your device is saving the module to this location. Xposed can't load the module because that location is protected by the system (Encrypted). Can you try removing XInsta and installing it once more?
[Xposed Framework Modules] tomballpkrxda:
I uninstalled Xinsta and reinstalled and it is still trying to load from /mnt/asec/com.ihelp101.instagram-1/pkg.apk with the next line saying "file does not exist".

I am running the standard carrier ROM for my phone (although rooted) and have not had an issue with any other Xposed modules.

---------- Post added at 11:13 AM ---------- Previous post was at 10:50 AM ----------

For no apparent reason I think my problem is that this module is installing to 'SD Card' even though I have GB's of free space on internal memory.

Moving it to internal memory via the app manager and rebooting deactivates the module
[Xposed Framework Modules] iHelp101:
That is rather strange. The module itself doesn't indicate where to install to, so this appears to be an issue with Android on your specific device. If you re-enable the module what happens?
[Xposed Framework Modules] tomballpkrxda:
I was able to get it to work via these steps:

- Installed Xinsta, enabled, rebooted

- Noticed it was installed to SD. Used App Manager to move to Internal Storage

- Rebooted. Noticed module was now disabled.

- Reenabled module. Module is now correctly loading from /data/app

- All fixed.
[Xposed Framework Modules] iHelp101:
Great to hear. Enjoy the module!
[Xposed Framework Modules] iHelp101:
The hooks have been updated for the latest Instagram version 6.20.0 (9627240). Enjoy the module!
[Xposed Framework Modules] nostang3:
I never expect anything but your best. I'm just throwing ideas out there. If it works, it works. If it doesn't, I still have an awesome module.
[Xposed Framework Modules] iHelp101:
Your requested feature has been added to the module.

https://gfycat.com/ParallelBelovedBluebottlejellyfish
[Xposed Framework Modules] nick1467:
Can't able to see download option in Instagram 9.1.5
[Xposed Framework Modules] freekystar:
The newest beta update of Instagram shows the follow button as 'Follow Back' if you don't already follow the user.

However you're still unable to see if somebody follows you when you follow them yourself.
[Xposed Framework Modules] iHelp101:
Your requested feature is in progress. Videos are nicely looping and not crashing. Pictures are what are causing issues. Videos have an onCompletion method, which I can hook into and kill. I can then make the video start back at 0. Pictures don't have this, but instead run a timer that doesn't like being changes for some reason. Gfycat decided to cut the video to 15 seconds (Was 20 seconds), so it ends early, but hopefully it shows a good representation of the feature.

https://gfycat.com/UglyShyAztecant
[Xposed Framework Modules] christianpeso:
How different is Snapchats implementation of this from Instagrams version? Asking because if it is similar, you might can see how SnapPrefs module is able to kill the timer for both pics and vids and allows for touching the screen to progress forward to the next one.
[Xposed Framework Modules] iHelp101:
Instagram uses MediaPlayer for playing video. Some apps use a custom solution (I have never looked into Snapchat code much), which would make it a little more difficult. MediaPlayer has a method called "onCompletion(MediaPlayer mediaPlayer)". This tells the app when you video is done playing. For videos Instagram does not set a timer, but instead switches onCompletion. I simply hook into it using the code below. I hook the method and get the MediaPlayer set parameter (param.args[0]). I then tell it to start/seek at 0 and then start back up. Last I set the result to null to basically kill the method from doing anything in terms of Instagram changing to the next option. Please excuse XDA messing up the formatting of the code.

________________________________

try {

XposedHelpers.findAndHookMethod("com.instagram.android.feed.reels.cc", lpparam.classLoader, "onCompletion", MediaPlayer.class, new XC_MethodHook() {

protected void beforeHookedMethod(MethodHookParam param) throws Throwable {

super.beforeHookedMethod(param);

MediaPlayer mediaPlayer = (MediaPlayer) param.args[0];

mediaPlayer.seekTo(0);

mediaPlayer.start();

param.setResult(null);

}

});

} catch (Throwable t) {

}
[Xposed Framework Modules] Razorsoup:
If you touch and hold the screen Instagram pauses the timer. Is there some way to leverage that for disabling the timer for pictures?
[Xposed Framework Modules] iHelp101:
Your requested feature has been added to the module (Please excuse Gfycat encoding adding what looks like large dots to the video). I still have to do testing to ensure none of the recently added feature are going to cause any issues. I also am trying to figure out if I should have a toggle for the timer remover/bypasser. Either way it will likely be a few days for the next update.

https://gfycat.com/SorrowfulIllfatedGrackle
[Xposed Framework Modules] Razorsoup:
Looks great. You know somebody is going to want the option to turn off the timer bypass but most people won't care. Personally I don't need the option since I'll just be leaving it on. I'm looking forward to this release.

Edit: I meant to ask, how did you finally get pictures to work?
[Xposed Framework Modules] iHelp101:
The action I only cared about is blocking the activity from being closed. Because of this, I know two ways of closing an activity that I can think of off the top of my head. You can finish() or onBackPressed(). So I did a quick scan of Instagram's code and I couldn't find any calls to finish() in the reels code (Instagram call stories reels in their code). So I looked for onBackPressed() and I find multiple places it is used.

The last part is finding which place is called in this specific event (When Instagram tries to close/switch the activity). The onBackPressed() command is only used to close the activity, but luckily easily points to the command that decides where to close the activity or continue to the next image. The command that we care about is this one. Overall, it is like a puzzle. You are trying to find a missing piece in code that is partially readable.
[Xposed Framework Modules] Kico. St:
instead of showing the download option it shows instagram and when i click it it tells me to contact you :\ what it means?
[Xposed Framework Modules] nostang3:
I believe it means it's a hook issue.

Open XInsta -> Three Dot Line -> Send Error Log.
[Xposed Framework Modules] grotesque02:
Just ask!

Videos of stories is the ".clean" files under "emulated/0/Android/data/com.instagram.android/cache/video" (just rename from .clean to .mp4), but the pictures?
[Xposed Framework Modules] iHelp101:
It means are error is occurring. If you open XInsta -> Three Dot Icon -> Send Error Log I can look into the issue.
[Xposed Framework Modules] iHelp101:
My best guess is that Instagram caches videos only. Images are relatively small with Instagram's compression, so it is possible they don't actual cache them. I however have never really looked into Instagram's caching techniques.
[Xposed Framework Modules] SalvH:
Story pictures are cached in .clean files in the root /data/data/com.instagram.android/cache/images

Rename .clean files to .jpg
[Xposed Framework Modules] iamunicron:
Is it possible to add a feature to export the usernames of the people we follow to a .txt file or something??
[Xposed Framework Modules] suckseggs:
I'm only seeing a "files" folder. No cache within either.

EDIT: I take it back, I found it but the .clean files are all images, not video... does Instagram cache the videos or just the thumbnails?
[Xposed Framework Modules] iHelp101:
It is an interesting request. I am expecting to release the next update tonight (Almost 6 PM currently). I will see if I can squeeze this in.
[Xposed Framework Modules] iHelp101:
I have looked into this and it is possible. I however have only been able so far to get the user ID's of followers. Further in Instagram code that is turned into a username. I linked below a Gfycat showing the progress so far (Followers user ID). I will be releasing the next update of XInsta tonight and work on getting your requested feature working in the future.

I also only was able to follow 50 people (Instagram daily limit). I want to see how big numbers affect this feature. Would 300 people for example cause the module to crash? It is something I have to test instead of rushing out a feature.

https://gfycat.com/MisguidedPositiveBactrian
[Xposed Framework Modules] iHelp101:
XInsta 1.7.4 is now out! First I added the ability to download from the force touch/peek feature. Next we have the ability to download pictures/images from stories. Also with stories we have an option to disable the timer. The file name scheme was changed for profile picture downloads as well. This will allow you to keep old profile pictures of users without having to worry about them being overwritten.

Date formatting had two fixes. Instagram 9.1.5 broke the hooks completely for date formatting, so that is now fixed. We also have the scrolling lag caused by date formatting that some people experienced. PLEASE RESET YOUR DATE FORMATTING (Open XInsta -> Three Dot Line -> Date Formatting -> Three Dot Line -> Reset). This update added a lot of features, which means a chance of bugs exist. If you encounter any issues contact me here on XDA or open XInsta -> Three Dot Line -> Send Error Log. One thing I need to mentioned is that some new features requires Instagram 9.1.5. I will be slowly updating older versions (Last three versions) to support new features. As always, enjoy the module!
[Xposed Framework Modules] davnav899:
Would it be possible to upload pictures from our gallery to instagram stories?
[Xposed Framework Modules] illkid69:
Thank you so much! Just tested v1.7.4 and the stories downloading feature is just working great!
[Xposed Framework Modules] Razorsoup:
Pictures from the last 24 hours can be posted already. Swipe down instead of taking a picture and you should see the available shots you can upload. If Xinsta could eventually add an option to bypass the time limit though, that would be great.
[Xposed Framework Modules] Razorsoup:
What version of Instagram do you have installed? It only works on 9.1.5. I originally thought it wasn't working either and realized I was still on 9.1.0.
[Xposed Framework Modules] Mr.Zombie:
Seems like the lag issue fixed! Thanks alot!

Btw, from where I can find the "Force Touch Downloading Option"? Haven't find it yet in-app settings. :confused:
[Xposed Framework Modules] exodius48:
IG 9.1.0 stable from playstore.
[Xposed Framework Modules] siba01:
Thanks for the update!

I don't know how to download forcetouch pictures, nothing at 3 dot menu about download.

Thanks!

Enviat des del meu Mi-4c usant Tapatalk
[Xposed Framework Modules] christianpeso:
Well their you go.