• Stars
    star
    145
  • Rank 254,144 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

rename android app package name(just a identity of app, not java package name) without source, without changing code. No need apktool, no need aapt.
This project contains 4 utilities:
--  name -----------------------------  ------depending utilities------------------
    apkRename.sh                        java, jar
    apkRenameAndInstall.sh              java, jar, zip, jarsigner, adb
    setAxmlPkgName.jar   (in lib/)      java
    apkSign.sh                          zip, jarsigner

----------------------------------------------------------------------------------
apkRename.sh

Usage: apkRename.sh [OPTIONS] apkPath_or_packageName newPackageName
  This utility changes APK's package name (not java package name) and
  prepend java package name to partial class name in AndroidManifest.xml:
    Application,Activity,Receiver,Service...
    backupAgent,manageSpaceActivity,targetActivity...
    meta value(only if start with dot)

Note:
 If apkPath_or_packageName ends with .apk then means a apk file to be changed,
   otherwise means a packageName and will pull file from device to:
   ./tmpForApkRename/app.apk then change it

 If newPackageFullName ends with ! then it will remove conflict settings:
   <original-package>,<provider>,android:protectionLevel,process,sharedUserId

 For system app, it will pull app's odex file and convert to dex, add to apk.

 The result APK file is not signed, to install it please use apkSign.sh.

Options:
  -H <host>              - Name of adb server host (default: localhost)
  -P <port>              - Port of adb server (default: 5037)
  -s <devSerialNumber>   - Device Serial Number or qualifier

Examples:
 apkRename.sh /tmp/test.apk       com.exampe.newapp
 apkRename.sh com.example.app     com.exampe.newapp
 apkRename.sh com.android.browser com.exampe.newapp!
 apkRename.sh -s HTC123123 com.android.browser com.exampe.newapp!

--------------------------------------------------------------------------------------------
apkRenameAndInstall

Usage: apkRenameAndInstall.sh [OPTIONS] packageName newPackageName debugKeyStoreFile
  This script get app from all connected android device and change app name
  then install a new one to devices.
  When -s option is specified, only the specified device will be applied.

Options:
  -H <host>              - Name of adb server host (default: localhost)
  -P <port>              - Port of adb server (default: 5037)
  -s <devSerialNumber>   - Device Serial Number or qualifier
  --update               - Update app

Examples:
   apkRenameAndInstall.sh com.android.browser com.android.mybrowser ~/.android/debug.keystore
   apkRenameAndInstall.sh -s HTC12334 com.android.browser com.android.mybrowser ~/.android/debug.keystore

--------------------------------------------------------------------------------------------
setAxmlPkgName.jar

please see lib/.... README.txt

More Repositories

1

proxy-login-automator

A single node.js script to automatically inject user/password to http proxy server via a local forwarder
JavaScript
390
star
2

sji-android-screen-capture

(Project Stopped) No-Root-Needed Android Fast Screen Capture&Caster&Recorder&Remote controller. Just with an HTML5 browser in PC(connected to device by USB/WiFi adb), you can easily live view and remote control by mouse click/swap in browser and record to MP4 in background then play in HTML5 video
Shell
109
star
3

build-nodejs-for-android

Build nodejs for android(arm,arm64,x86,x64,mipsel) perfectly and provide prebuilt binaries, and a docker image as workbench.
Shell
107
star
4

nodejs-android-prebuilt-binaries

Prebuilt binaries of NodeJS for Android(arm,arm64,x86,x64,mipsel), full or limited(by --without-snapshot --without-inspector --without-intl)
88
star
5

mac_list_windows_pids

Mac OS X: list all windows title and their owner process ids
Python
62
star
6

android-gcc-toolchain

Enable you to use NDK's standalone toolchain easily, quickly and magically for cross-compile
Shell
56
star
7

ubuntu-with-utils

a docker image of ubuntu with some daily utilities such as sudo, bash-completion vim less man lsof ping iptables wget curl 7z git
Dockerfile
21
star
8

ffmpeg-android

Prebuild executable file of ffmpeg 2.1.3 for Android. Build ffmpeg for android purely by NDK's gcc. No use JNI nor ndk-build nor Android.mk because i hate them. This build also contains external libx264 and libvpx for H264 and WebM
Shell
17
star
9

tunnel.js

Create a tunnel for port forwarding/reversing in most restricted network
JavaScript
15
star
10

ApkRePermission

add/remove/modify <uses-permission .../> of android app
Java
9
star
11

powershell-local-group-policy-reg

Load group policy's registry hive to a temporary registry key path, then you can edit it by normal external command.
C#
9
star
12

build-android-in-OS-X-Yosemite-Xcode-7

build whole android (AOSP) in Mac OS X Yosemite + Xcode 7.0.1
8
star
13

iOS_Monitor_Location_Region_In_Background

iOS: monitor entering/leaving a specified location region, in background, even screen off, app terminated.
Swift
6
star
14

android_usb_audio_recorder

pretend PC is an USB Audio Device for Android Device so record Android's audio output
Python
4
star
15

android_so

all android 4.4.2/4.2.2 shared library files. 4.42 is from Nexus 7, 4.2:2 is from Galaxy Nexus SC-04D
Shell
4
star
16

docker-geek

A tool suite that lets you freely manipulate files and network of a container, image, or even the host, with a tool container
Shell
4
star
17

forward.js

An efficient port forwarding utility
JavaScript
3
star
18

sjitech.github.com

SJI technology blog. Maintained by SJI research center for advanced technology.
JavaScript
2
star
19

AspectDex

Weave AspectJ code into Android DEX file directly without convert DEX to JAR so eliminate conversion error
Java
2
star
20

elasticsearch_kibana

An inventory management example consists of elasticsearch/kibana + filebeat + osquery
1
star
21

ApkDebug

set android:debuggable="true" of android app (APK file) without recompiling
Java
1
star
22

PasswordForgotUnlocker

一个似乎无用的试验品,能够启动service就可以解除密码锁屏 (密码并没有被清除)
Java
1
star
23

dictionary_files

english and japanese word list file
1
star