Closed rahulps1000 closed 1 year ago
Instead of manually finding the class name, is that possible for your app to hook to the instagram app installed on the device and find the class.
I am a noob in this area. I am trying to learn stuffs.
Instead of manally finding the class name, is that possible for your app to hook to the instagram app installed on the device and find the class.
I am a noob in this area. I am trying to learn stuffs.
I will try to search if this is possible when i have the time (i don't really think honestly because of classes always changing)
If you want i recently made a tool to enable dev options with a given instagram apk, it will patch it directly and give you the class and method names that you can use with my module if you prefer it : https://github.com/xHookman/IGExperimentsPatcher May be it will have issues, this is really new
Also you need to know that my module does not work on each instagram versions because of a parameter type sometimes changing in the method to hook, i already tried to fix it but i'm surprised to see that it does not work :/
Yeah I'm honestly not sure what happened but it seems that I've toggled a developer setting that causes the settings to stay after updating. I'll for sure let you know if I single it out.
On Mon, Sep 4, 2023, 6:46 PM Charly @.***> wrote:
Instead of manally finding the class name, is that possible for your app to hook to the instagram app installed on the device and find the class.
I am a noob in this area. I am trying to learn stuffs.
I will try to search if this is possible when i have the time (i don't really think honestly because of classes always changing)
If you want i recently made a tool to enable dev options with a given instagram apk, it will patch it directly and give you the class and method names that you can use with my module if you prefer it : https://github.com/xHookman/IGExperimentsPatcher
Also you need to know that my module does not work on each instagram versions because of a parameter type sometimes changing in the method to hook
— Reply to this email directly, view it on GitHub https://github.com/xHookman/IGexperiments/issues/10#issuecomment-1705747186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU33PXGIBHJMY2BBEW2JU6TXYZK2RANCNFSM6AAAAAA4K3Y4IE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Just updated to the latest alpha and yeah it's still here 🫣 Here's also everything I have toggled. If you know how to make this readable let me know haha
Also I hooked on the 298 alpha and enabled some options that have the word internal or employee in them if that's any help... Anyways I'm gonna go look through the entire list of options I've toggled and find the right one 👍🙂
On Mon, Sep 4, 2023, 7:12 PM chase @.***> wrote:
Yeah I'm honestly not sure what happened but it seems that I've toggled a developer setting that causes the settings to stay after updating. I'll for sure let you know if I single it out.
On Mon, Sep 4, 2023, 6:46 PM Charly @.***> wrote:
Instead of manally finding the class name, is that possible for your app to hook to the instagram app installed on the device and find the class.
I am a noob in this area. I am trying to learn stuffs.
I will try to search if this is possible when i have the time (i don't really think honestly because of classes always changing)
If you want i recently made a tool to enable dev options with a given instagram apk, it will patch it directly and give you the class and method names that you can use with my module if you prefer it : https://github.com/xHookman/IGExperimentsPatcher
Also you need to know that my module does not work on each instagram versions because of a parameter type sometimes changing in the method to hook
— Reply to this email directly, view it on GitHub https://github.com/xHookman/IGexperiments/issues/10#issuecomment-1705747186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU33PXGIBHJMY2BBEW2JU6TXYZK2RANCNFSM6AAAAAA4K3Y4IE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I can confirm that 300.x versions now doesn't include that long line, however the only way I tried and it did work is to search for "is_employee" using mt manager.
Go to the class(same as before) however, that long line (Boolean.valueOf(C8WQ.A03(userSession))))
Doesn't exist anymore.
So I had to manually edit the smali code to always return true.
Here's an example from 300.0.0.0.44
The method you will have to change:
.method public static final A00(LX/0bZ;)Z .registers 4
.line 0
sget-object v2, LX/0SP;->A05:LX/0SP;
.line 2
const-wide v0, 0x81019d0000035dL
.line 7
invoke-static {v2, p0, v0, v1}, LX/10O;->A06(LX/0SP;LX/0jm;J)Z
.line 10
move-result v0
.line 11
return v0
.end method
Just checked the version you provided 300.66
And it's the same as the one I posted.
I will try to push a new pull request today.
Interesting, I still don't know what I did to make it keep developer options stick through updates. Like I'm certain it's not just the build string being modified there's (barely) some new options in the settings as well! If you want me to provide any information I could get/retrieve let me know! 🙂
Also apologies for me trying to push an update for v300.x.x.x I didn't realize I got lucky when I had updated to v300.x.x.x
On Tue, Sep 5, 2023, 12:18 AM ReSo7200 @.***> wrote:
I can confirm that 300.x versions now doesn't include that long line, however the only way I tried and it did work is to search for "is_employee" using mt manager.
Go to the class(same as before) however, that long line (Boolean.valueOf(C8WQ.A03(userSession))))
Doesn't exist anymore.
So I had to manually edit the smali code to always return true.
Here's an example from 300.0.0.0.44
The method you will have to change: direct methods
.method public static final A00(LX/0bZ;)Z .registers 4
.line 0 sget-object v2, LX/0SP;->A05:LX/0SP;
.line 2 const-wide v0, 0x81019d0000035dL
.line 7 invoke-static {v2, p0, v0, v1}, LX/10O;->A06(LX/0SP;LX/0jm;J)Z
.line 10 move-result v0
.line 11 return v0
.end method
— Reply to this email directly, view it on GitHub https://github.com/xHookman/IGexperiments/issues/10#issuecomment-1705921603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU33PXCFLK4G24F6LNVOLCTXY2RY3ANCNFSM6AAAAAA4K3Y4IE . You are receiving this because you commented.Message ID: @.***>
Just updated to the latest alpha and yeah it's still here 🫣 Here's also everything I have toggled. If you know how to make this readable let me know haha Also I hooked on the 298 alpha and enabled some options that have the word internal or employee in them if that's any help... Anyways I'm gonna go look through the entire list of options I've toggled and find the right one 👍🙂 … On Mon, Sep 4, 2023, 7:12 PM chase @.> wrote: Yeah I'm honestly not sure what happened but it seems that I've toggled a developer setting that causes the settings to stay after updating. I'll for sure let you know if I single it out. On Mon, Sep 4, 2023, 6:46 PM Charly @.> wrote: > Instead of manally finding the class name, is that possible for your app > to hook to the instagram app installed on the device and find the class. > > I am a noob in this area. I am trying to learn stuffs. > > I will try to search if this is possible when i have the time (i don't > really think honestly because of classes always changing) > > If you want i recently made a tool to enable dev options with a given > instagram apk, it will patch it directly and give you the class and method > names that you can use with my module if you prefer it : > https://github.com/xHookman/IGExperimentsPatcher > > Also you need to know that my module does not work on each instagram > versions because of a parameter type sometimes changing in the method to > hook > > — > Reply to this email directly, view it on GitHub > <#10 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AU33PXGIBHJMY2BBEW2JU6TXYZK2RANCNFSM6AAAAAA4K3Y4IE > . > You are receiving this because you are subscribed to this thread.Message > ID: @.***> >
Ooh that's very cool :o At a moment there was the "is_employee" experiment to make dev options staying over updates but it stopped working... When i have the time i will look with what you said :)
I can confirm that 300.x versions now doesn't include that long line, however the only way I tried and it did work is to search for "is_employee" using mt manager.
Go to the class(same as before) however, that long line (Boolean.valueOf(C8WQ.A03(userSession))))
Doesn't exist anymore.
So I had to manually edit the smali code to always return true.
Here's an example from 300.0.0.0.44
The method you will have to change:
direct methods
.method public static final A00(LX/0bZ;)Z .registers 4
.line 0 sget-object v2, LX/0SP;->A05:LX/0SP; .line 2 const-wide v0, 0x81019d0000035dL .line 7 invoke-static {v2, p0, v0, v1}, LX/10O;->A06(LX/0SP;LX/0jm;J)Z .line 10 move-result v0 .line 11 return v0
.end method
If you want to try it, i recently made a tool that you can use with IG apks and Windows or Linux to directly patch smali code from the apk you give and recompile it : https://github.com/xHookman/IGExperimentsPatcher
I also do the same work i open Devloper settings of every version and uplod to my GitHub respotriy For Instagram https://github.com/salmanmemon7/Ig-internal- For Threads https://github.com/salmanmemon7/Threads
Hi,
I was tried searching for "is_emplyee" but i am unable to find the string in the decompioled version of code. I am using https://www.apkmirror.com/apk/instagram/instagram-instagram/instagram-instagram-300-0-0-0-60-release/
If possible please ad this version as well.
Meanwhile i willl try otyher methods to find the class.
Regards, Rahul