[MOD][Xposed]XInsta (2.0.4) - Download Images/Videos From Instagram

Search This thread

iHelp101

Senior Member
Feb 7, 2014
1,512
4,037

This module is based on MohammadAG's Instagram Downloader that is no longer supported.

Download:
The module is available on the Xposed Repo.

Features:
- Change Default Save Locations
- Comment Copy Feature (Removed by Instagram)
- Direct Share Downloading
- Feed Downloading
- Follow Color Indicator (Indicates when someone is following you)
- Following/Follower Data To List (See all the users you are following)
- Force Touch Downloading
- Profile Icon Downloading
- Stories Downloading
- Stories Timer Removal
- Unique Hook Updating

Instructions:
Once you have downloaded the module simply open the module via your App Drawer or Xposed (Xposed -> Module -> XInsta).
Once the module has opened click update hooks and choose a source option (Some countries block Pastebin).
This will fetch the latest hooks for Instagram and you will be ready to download image/video from Instagram.
Please make to do the step detailed above before posting for help.

To Do List (Request/Bugs):
Resolve Remaining Broken Features

Screenshots:
K62oHVZ.png
9FaavLz.png


Source Code:
GitHub - Link
 
Last edited:

aboalghool

Senior Member
May 19, 2012
458
804
nice plz help me with the error,, app is force closing when clicking on update hooks
 
Last edited:
  • Like
Reactions: AliCorrea

la_malacoda

Senior Member
Jul 2, 2011
939
1,481
Great mate, happy to see that you finally have your own thread [emoji4] [emoji122]

Just a thing..i left a log in the other thread, for the error that it wouldn't download any pic if not after updating the hooks anytime I switched off the phone. I didn't find any reply, and if you did reply I'm sorry to bother, I just wanted to know if you had any solution [emoji28]
 

iHelp101

Senior Member
Feb 7, 2014
1,512
4,037
Great mate, happy to see that you finally have your own thread [emoji4] [emoji122]

Just a thing..i left a log in the other thread, for the error that it wouldn't download any pic if not after updating the hooks anytime I switched off the phone. I didn't find any reply, and if you did reply I'm sorry to bother, I just wanted to know if you had any solution [emoji28]

I have a different method of obtaining the hooks that have been saved in this module that should resolve this issue. Have you been able to test it yet?
 

la_malacoda

Senior Member
Jul 2, 2011
939
1,481
I'm gonna try latest version and report, thanks for all your help and work ?

Edit. It works flawlessly now! Thanks mate [emoji7]
 
Last edited:

mak381

Member
Jan 1, 2013
25
1
Hi iHelp101,
v1.0 chrashed on Samsung Galaxy S5 (SM-G900F) when updating hooks but v1.0a is working fine.
Thank you for this great module.
 

iHelp101

Senior Member
Feb 7, 2014
1,512
4,037
I'm gonna try latest version and report, thanks for all your help and work

Edit. It works flawlessly now! Thanks mate [emoji7]

Thanks for the confirmation. Just so everyone knows, to combat this issue I changed how hooks where saved. They are now saved on a file on your device . The file is hidden by default (To avoid deletion of hooks), but can found on your internal storage under "/.Instagram/Hooks.txt" and "/.Instagram/Location.txt". I just wanted to let everyone know to avoid any issues of "He is hiding a file". The files simply hold the hooks and the save location. You can freely to view them to your hearts desire. Also the updated source code has been added to GitHub. Enjoy the module!
 
Last edited:

azer95

Member
Apr 5, 2015
5
2
I can't download any photo, or video :/
 

Attachments

  • Screenshot_2015-04-09-19-01-21.jpg
    Screenshot_2015-04-09-19-01-21.jpg
    41.5 KB · Views: 6,985
  • xposed_error_20150409_190150.log
    72.7 KB · Views: 57
  • Like
Reactions: Tahax09

utsavr03

Member
Nov 21, 2014
13
2
Not working

Neither showing option to download nor fc is gone on updating hooks.. :(
Another thing, when taken a screen shot, options like edit, share and delete are shown at notification drawer which are gone after installing the module.. Pls take a look at it too..
 

Attachments

  • xposed_error_20150409_233923.log
    1.4 KB · Views: 24
  • Screenshot_2015-04-09-23-48-25.png
    Screenshot_2015-04-09-23-48-25.png
    201.7 KB · Views: 1,077
  • Like
Reactions: Tahax09

iHelp101

Senior Member
Feb 7, 2014
1,512
4,037
Neither showing option to download nor fc is gone on updating hooks.. :(
Another thing, when taken a screen shot, options like edit, share and delete are shown at notification drawer which are gone after installing the module.. Pls take a look at it too..

The module doesn't hook into SystemUI or etc, which would be able to modify those settings in the notification drawer. Could you try to update your hooks one more time via the app to see if maybe a hiccup occurs when fetching the hooks? Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 224

    This module is based on MohammadAG's Instagram Downloader that is no longer supported.

    Download:
    The module is available on the Xposed Repo.

    Features:
    - Change Default Save Locations
    - Comment Copy Feature (Removed by Instagram)
    - Direct Share Downloading
    - Feed Downloading
    - Follow Color Indicator (Indicates when someone is following you)
    - Following/Follower Data To List (See all the users you are following)
    - Force Touch Downloading
    - Profile Icon Downloading
    - Stories Downloading
    - Stories Timer Removal
    - Unique Hook Updating

    Instructions:
    Once you have downloaded the module simply open the module via your App Drawer or Xposed (Xposed -> Module -> XInsta).
    Once the module has opened click update hooks and choose a source option (Some countries block Pastebin).
    This will fetch the latest hooks for Instagram and you will be ready to download image/video from Instagram.
    Please make to do the step detailed above before posting for help.

    To Do List (Request/Bugs):
    Resolve Remaining Broken Features

    Screenshots:
    K62oHVZ.png
    9FaavLz.png


    Source Code:
    GitHub - Link
    54
    XInsta 2.0.4. is now out! The first addition is some more translations along with some updated translations. In the past update I added a URL signature resolution bypass. As Instagram tweaks this more some devices don't need this fix, while others encounter issues with it. By default the feature will be off. If you notice post are now downloading in lower resolution (480x480, 640x640, 750x750) you will need to enable this feature. For most modern 1080P devices this bypass is not needed at all. DPI can cause a need for this bypass, but if you are using a Nexus 5 for example this bypass is not needed because Instagram already provides max resolution to you (1080x1080).

    Profile icons will once again download at max resolution if the user has the best quality uploaded (1080x1080). Due to the bypass you may notice an additional 1-3 second delay when downloading profile icons. I also fixed a rare filename issue that would cause a username to use a placeholder. In terms of people once again asking why an update is not released yet I based everything on EST (8:30 PM - Monday now). Every time I get ready to release an update I have someone report an issue or bug that I work to fix at the last minute. I also of course like most people work 8+ hours a day, so it is not like I have all day of free time to work on XInsta.

    Last, I would like to address the concerns regarding Instagram completely breaking XInsta. Eventually it will likely come. If Instagram rolls of unique URL signatures for every viewed post (Changes every time) XInsta would have a lot of issues. I will work on XInsta as long as I can, but if Instagram does decide to completely counter XInsta it has been a fun time. Enjoy the module!
    51
    I wanted to give an update on the matter since I have gotten quite a few messages and emails regarding this issue. The current fix is to use the original URL and be restricted to the devices sizes/DPI, which dictates the image/video size provides by Instagram. So instead of getting a full resolution (1080x1080) image/video you might get a 640x640 image/video. This is all done on Instagram's end with it's API. In terms of some proposed fixes they are not solutions. For example, the cache is going to have the same size image/video (Because I am getting the URL Instagram is using).

    Unofficial API options are not a solution for private accounts and due to Instagram new stance on unofficial API usage (Breaking things and preventing them). The goal/solution at the moment is to just hook Instagram and see if I can make Instagram request higher resolution image/video. This may be by making a device look like a tablet to Instagram's API request for example (Big screen - Higher Resolution Images/Videos). I will be releasing an update either way tonight with bug fixes. If I am able to find a solution I will implement it in the update. Otherwise I will be having XInsta download from original URLs (May be scaled depending on device).
    50
    XInsta 2.0.3 is now out! This updates resolves a lot of issues and bug. The first being direct message downloads. Direct messages that are not disappearing (In chat) had some issues downloading, but that is now resolved. We had some filename bugs as well that have been squashed. The main issue was when the "URL Format As Filename" option was enabled. Push notifications also had some issues due to some JSON changes. These are now resolved. The settings activity was having issues for a few users using Android 4.4 and lower. This is related to an older Android bug related to list that was resolved in recent versions.

    Lastly, I implemented a fix for the new URL signatures enforcement. All posts/downloads will take advantage of this besides profile icons. This is because profile icons are supposed to be small, so Instagram will only provide them as 150x150. URL signatures are an interesting obstacle Instagram has thrown at this module and other projects. We will have to wait and see Instagram's next step. Please let me know if you have any issues with downloads. I tried to test as many devices as I could, but I always wish I had more to test with. Enjoy the module!

    PS: I just want to remind everyone of the Xposed update bug that can cause Xposed to use a cached version of the module instead of the new APK. If this update does not fix your issue please uninstall XInsta, reboot, install XInsta, and reboot once more.
    50
    I figured I would address the current issues with XInsta directly on XDA for the users that don't monitor GitHub or email me. Instagram has been moving to obfuscation in alpha versions for a while. Last week they moved it to beta versions. Yesterday they moved it to a stable release in Instagram 52.0.0.8.83 (1159948). What does this mean for XInsta? It means XInsta requires a lot more manually work to get working for updates. When Instagram in the past released five versions in a day I could support them all because I could easily automatically get hooks. The easiest way to explain Instagram's obfuscation is they took almost all their files and threw them in one folder with random file names.

    So you have about 21,000 random Java files in one folder and you know 70 of them are class hooks for XInsta. To explain it further here is an example of XInsta's hooks for a pre-obfuscation version (1154583;com.instagram.feed.r.b.aj;com.instagram.feed.c.ax). The first item is the Instagram version code, second is the feed three dot icon download option inject class, and the third is the main feed that has all posts information. In a obfuscated version you have 1156850;X.4aY;X.1Ee. The folder X and then a random name for one of the 21,000+ files in there. This doesn't affect just affect classes. It affects methods and fields.

    It comes down to time. Can I get a automated solution working for this? Or am I going to have to dedicate two hours to every update? As I see more obfuscated versions I will see how far Instagram tends to go with it. I am working on adding hook support for the recent stable release. Alpha and beta releases for the time being may not be supported due to their frequency.