티스토리 뷰

study/Android

루팅...UI 변경

kwakjun0 kwakjun0 2010. 11. 8. 16:47

* UI 변경

 

adb shell
-- 쉘 진입
$ su
su
-- 현재 마운트 정보 확인 ( 안해도 무관, 하단에 파란색 RO 확인 )
# mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/stl7 /system rfs ro,vfat,log_off,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl8 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl9 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl11 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
tmpfs /tmp tmpfs rw 0 0
tmpfs /skttmp tmpfs rw,size=2048k 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0
020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
-- 마운트 권한 변경
# mount -o remount,rw -t yaffs2 /dev/stl7 /system
mount -o remount,rw -t yaffs2 /dev/stl7 /system

-- 정상적으로 마운트가 되었는지 확인 ( 하단에 붉은색 RW 확인 )
# mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/stl7 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl8 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl9 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
/dev/stl11 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
tmpfs /tmp tmpfs rw 0 0
tmpfs /skttmp tmpfs rw,size=2048k 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0
020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

-- SD CARD 에서 system 쪽으로 파일 복사
# cat /sdcard/rooting/services.jar > /system/framework/services.jar
cat /sdcard/rooting/services.jar > /system/framework/services.jar
-- SD CARD 에서 system 쪽으로 파일 복사
# cat /sdcard/rooting/framework-res.apk > /system/framework/framework-res.apk
cat /sdcard/rooting/framework-res.apk > /system/framework/framework-res.apk

리부팅

* Fonts 변경

adb shell

$ su
su

# mount -o remount,rw -t yaffs2 /dev/stl7 /system
mount -o remount,rw -t yaffs2 /dev/stl7 /system

cat /sdcard/rooting/fonts/Clockopia.ttf > /system/fonts/Clockopia.ttf
cat /sdcard/rooting/fonts/DroidSans.ttf > /system/fonts/DroidSans.ttf
cat /sdcard/rooting/fonts/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
cat /sdcard/rooting/fonts/DroidSansFallback.ttf > /system/fonts/DroidSansFallback.ttf
cat /sdcard/rooting/fonts/DroidSansMono.ttf > /system/fonts/DroidSansMono.ttf
cat /sdcard/rooting/fonts/DroidSerif-Bold.ttf > /system/fonts/DroidSerif-Bold.ttf
cat /sdcard/rooting/fonts/DroidSerif-BoldItalic.ttf > /system/fonts/DroidSerif-BoldItalic.ttf
cat /sdcard/rooting/fonts/DroidSerif-Italic.ttf > /system/fonts/DroidSerif-Italic.ttf
cat /sdcard/rooting/fonts/DroidSerif-Regular.ttf > /system/fonts/DroidSerif-Regular.ttf
댓글
댓글쓰기 폼