業界トップクラスの求人数を誇る転職エージェントPR

リクルートグループのコネクションを活かした非公開求人も充実、他にはない好条件の求人と出会える

9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[要root化] androidでシステムアプリとしてinstallする方法

Last updated at Posted at 2014-10-31

概要

androidのsystem/priv-appにアプリをインストールする方法。

やる意味

user appでは呼ぶことの出来ないAPIを呼ぶことが出来る。

手順

  1. /system領域のremount

$ adb shell
$ su
# mount -o rw,remount /system
  1. apkの配置

$ adb push YourApp.apk /sdcard/
$ adb shell
$ su
# mkdir /system/priv-app/YourApp
# cp /sdcard/YourApp.apk /system/priv-app/YourApp
# chmod 644 /system/priv-app/YourApp/YourApp.apk
  1. 再起動

$ adb shell
$ su
# reboot
  1. 完了

参考にしたサイト

9
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?