feat(Instagram): Add Clone patch#1295
Conversation
|
@Manishrdy Hi, there are two things I want to apologize to you for. First, I told you that you shouldn't need to edit strings.xml, but I was wrong. (#1261 (comment)) Second, I told you that you only need to replace the string "com.instagram.android" in the bytecode. (#1262 (comment)) My patch should be safer because it only replaces provider names that are actually found. However, if you know of any other strings that need to be replaced to prevent a functionality from breaking, please let me know. |
|
Thanks for the PR. is it WIP or ready to merge ? if its ready to merge I was wondering can it be expanded to X/Twitter as well ? or can it be worked upon in the later future |
|
I've just found one issue and fixed
Idk, but it is likely more difficult than Instagram. Twitter app relies heavily on content providers internally, makes it difficult.
This patch is expected to work in the future. |
Was talking about expanding it to Twitter in the future. But ya got your answer here
Lemme merge this one then 🤝 thanks |
|
One last question, Just curious, you think we may/can update the app icon as well ? Ik we don't have a specific theme/logo for |
ebbaf78 to
1810e27
Compare
Yes. The only problem preventing this is that piko doesn't have a theme color or logo yet. |
|
@kitadai31 Thanks for the detailed explanation and for taking the time to work through this. I wanted to suggest something, given the exceptional work you and the team have done here, and the trust you've earned from the community through open source transparency, I think Pikogram / Pikoinsta is the way to go. Look at what works in this space, likes of, Honinsta, Instaeclipse, Instafel, Instaprime, InstaGold. They're all recognizable because they own their identity. Piko has the momentum and the community trust to carry a strong name. |
|
Excuse me for repeatedly pushing minor changes even though I had initially said that it was ready. I'll leave decisions regarding branding (name and icon) entirely up to the project members. |
|
Built and tested the latest Clone patch locally. Everything worked flawlessly on my end. Nice work, and thanks for the thorough implementation and for sharing the insights behind the decisions and tradeoffs. |
## [3.5.0-dev.7](v3.5.0-dev.6...v3.5.0-dev.7) (2026-06-14) ### 🐛 Bug Fixes * **Instagram:** Fix ImmutablePandoVideoVersion error while downloading some videos ([dc5dc4e](dc5dc4e)) * **Instagram:** Fix lower resolution image downloading ([45f8aa0](45f8aa0)) * **Instagram:** Fix null userdata from mediadata ([ef8fb7e](ef8fb7e)) * **Instagram:** Hide navigation buttons crashing on tablets ([e5b0ddb](e5b0ddb)) * **Twitter:** Some patches failed on 11.97.1-release.0+ ([293b16f](293b16f)) ### ✨ New Features * **Instagram:** Add `Clone` patch ([#1295](#1295)) ([a6b1fe1](a6b1fe1)) * **Instagram:** Added `External downloader` patch ([5d00775](5d00775)) * **Instagram:** Refine Piko settings UI ([#1310](#1310)) ([dd76ee4](dd76ee4)) * **Translations-Instagram:** Added Spanish translation ([#1288](#1288)) ([023eef8](023eef8)) * **Twitter:** Add compatibility check patch to handle exceptions ([d46c253](d46c253)) ### 🚀 Updated App Support * **Twitter:** Bump support for `11.99.0-release.1` ([b9c578f](b9c578f)) ### 🔧 Improvements * **Instagram:** Added a new timestamp customization option ([#1312](#1312)) ([2a82ac4](2a82ac4)) * **Instagram:** refactor post overflow menu button on click ([2e55b54](2e55b54)) * **Instagram:** Streamline post overflow menu button ([8209a77](8209a77)) * **Instagram:** Streamline reels overflow menu button ([50bbef3](50bbef3))
Supersedes PRs: #1259 #1261 #1262
Closes: #1037 #1094 #1098 #1164
This patch changes the package name and app name (label) of the app.
The differences from the official Morphe's "Change package name" universal patch are:
About the name "Clone"
Initially, I was planning to follow the ReVanced/Morphe convention and create two patches: "Change package name" and "Custom branding name".
However, for the following reasons, I decided to combine them into a single “Clone” patch.
Other matters to be discussed
Currently, the default values for this patch are as follows:
com.instagram.android.pikoPiko InstagramHowever, @Manishrdy had used the following name in a previous pull request:
com.pikogram.androidPikogramIn my case, since the name "Pikogram" is not used anywhere in the official piko project, I used the simpler name "Piko Instagram".
However, if Swak likes the name "Pikogram," we can switch to that instead, or any other names.
Please note that "Instagram Piko" is not recommended, as the AOSP launcher is likely to omit the string and make it indistinguishable as "Instagra...".
Also, this patch can includes the custom branding app icon feature in the future. But since Piko Instagram does not currently have any branding (logo), this is outside the scope of this pull request.