본문 바로가기

컴퓨터/안드로이드 어플

리셋 시킨 후 app2sd 재설치

설치법
C:\adb>adb shell
$ su
su

# cd /sdcard/backup/app2sd
cd /sdcard/backup/app2sd

# sh reinstall.sh
sh reinstall.sh

*---------App2sd for Motorola Milestone--------*
*  Please visit http://www.hkepc.com/forum/viewthread.php?tid=1416012&extra=page
%3D1  *
*  The script may damage your system   *
*  Are you sure to continue?(y/n)
y
y
continue doing app2sd,please waiting...
mkdir failed for /system/sd, File exists
mount: Device or resource busy
sorry,mount sd ext2 fail,try p5
mount: No such file or directory
mount ext2 ok ,continue to next step,waiting...
mot_boot_mode.bin exists
copying app,please wait....
app2sd finished , reboot now?{y/n)

설치 확인
C:\adb>adb shell
$ su
su
# cd /data
cd /data
# ls -l
ls -l
-rw-r--r-- system   system        288 2010-08-03 10:36 local.prop
drwx------ system   system            2010-08-02 22:46 backup
drwxr-xr-x system   system            2010-08-03 02:04 tombstones
lrwxrwxrwx root     root              2010-08-03 10:35 app-private -> /system/sd
/app-private
drwxrwxrwx radio    radio             2010-08-02 23:04 panic
drwxrwx--- mot_accy mot_accy          2010-08-02 22:45 battd
drwxrwxrwx system   system            2010-08-02 22:45 mdtv
drwxrwx--- system   system            2010-08-02 22:45 tpapi
drwxrwxrwx system   system            2010-08-02 22:45 contents
drwxrwxrwx root     root              2010-08-03 08:41 anr
drwxrwx--- radio    shell             2010-08-02 22:45 opprof
drwxrwx--x radio    radio             2010-08-03 10:37 location
drwxrwx--- radio    log               2010-08-03 10:36 logger
drwxrwx--- radio    radio             2010-08-02 22:45 bp_nvm
drwxrwx--- radio    radio             2010-08-03 10:36 gki
drwxrwx--- radio    radio             2010-08-02 22:45 comm_drv
lrwxrwxrwx root     root              2010-08-03 10:35 dalvik-cache -> /system/s
d/dalvik-cache
drwxrwxr-x system   system            2010-08-03 10:37 system
drwxrwxr-x system   system            2010-08-02 22:45 download
drwxrwx--x system   system            2010-08-03 10:14 dalvik-cache1
drwx------ root     root              2010-08-03 10:18 property
drwxrwx--x system   system            2010-08-03 10:14 app1
drwxrwx--x system   system            2010-08-03 00:36 app-private1
drwxrwx--x system   system            2010-08-03 10:14 data
lrwxrwxrwx root     root              2010-08-03 10:35 app -> /system/sd/app
drwxrwx--x mot_tcmd shell             2010-08-02 22:45 local
drwxrwx--t system   misc              2010-08-03 00:28 misc
drwxrwxrwx root     log               2010-08-02 22:45 dontpanic
drwxrwx--- root     root              2010-08-02 22:44 lost+found
#

app2sd 기존 스크립트 파일에.. 디렉토리 생성, 모듈 복사 등이 오류 발생 합니다.
(재설치 시 기존에 파일이 존재하므로 오류발생합니다. 그부분 주석처리 해버렸습니다. )
그 부분 조건문 그냥 블럭처리, 삭제 하였습니다.
제가 적용 햇을때는 정상확인 하였지만.. 혹시나 문제 발생시 저는 책임 못 지니.. 조심하세요~