본문 바로가기

안드로이드/ADB & Rooting

(16)
Linux Commands on Android Linux Commands on Android I thought I'd start a thread on what some of the commands mean people are typing when rooted and see if there was any interest in this. I searched but did not find a similar thread but if there is let me know. I'll also include some other commands you can try out that you may not have used, especially if you are not familar with Linux or Unix. These are typed in the ter..
모토로이 루팅방법. 팁/테크 본글은 앤트비 고객님들의 루팅에 대한 이해를 돕기 위해 작성되었습니다. (* 우선, 아래 루팅법에 대한 어떠한 보증도 하지 않음을 서두에 밝히는 바입니다. 단, 앤트비에서 테스트 진행결과 성공하여서 자세하게 설명드릴 뿐입니다. 참고로만 사용하십시오.) 우선, 용어설명을 해보겠습니다. 루팅(Rooting) : linux 혹은 unix 기반에서 최고의 권한을 가진 운영자를 가르켜 Root라고 칭합니다. 안드로이드는 기본 Core가 linux를 기반으로 만들어졌습니다. 다른 용어로는 ‘탈옥’이라는 신조어도 만들어졌습니다. root 권한을 가지면 시스템의 모든 파일에 접근하여 지우거나, 생성을 마음대로 할수 있습니다. 왜 루팅을 왜 막았는가? : 일반 사용자가 Rooting을 실시하여 시스템을 마음대로 주무르게..
ADB in root mode There are two things to remember if you want to browse everything on your device. You need to have a phone with root access in order to browse the data folder on an Android phone. That means either you have a developer device (ADP1 or an ION from Google I/O) or you've found a way to 'root' your phone some other way. You need to be running ADB in root mode, do this by executing: adb root "adb roo..
ADB Shell을 root권한으로 실행하는 방법 Is there a way for me to run Adb shell as root without typing in `su`? If I'm understanding your question correctly, you're asking how to get root access automatically when you run adb shell, so that you don't have to go into the shell and type su to execute a command as root on your phone. This is controlled by a flag in your boot partition, which most custom ROMs have modified to allow root pe..
How to Use Android ADB Command Line Tool Android Debug Bridge (adb) is a tool that lets you manage the state of an emulator instance or Android phone. ADB is bundled with Android SDK package that can be downloaded from Android SDK download page. This tool is usefull for communicating with Android phone such as install application, copy files from/to device and perform some linux shell commands. How to Install Download and install Java ..
안드로이드 소스에서 화면캡쳐하는 방법 public void screenshot(View view)throws Exception { view.setDrawingCacheEnabled(true); Bitmap screenshot = view.getDrawingCache(); String filename = "screenshot.png"; try { File f = new File(Environment.getExternalStorageDirectory(), filename); f.createNewFile(); OutputStream outStream = new FileOutputStream(f); screenshot.compress(Bitmap.CompressFormat.PNG, 100, outStream); outStream.close(); }..
[Android] 소스에서 Shell Command, Script 실행하는 법 Runtime runtime = Runtime.getRuntime(); try{ Process p = runtime.exec("명령어"); BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); String line = null; while ((line = br.readLine())!=null){ Log.d("Test",line); } br.close(); }catch(Exception e){ Log.d("Test",e.toString()); } 쉘스크립트를 실행시켜야 할때, int i; try{ Process ps = Runtime.getRuntime().exec(command); ps.waitFor(); Sy..
ADB Shell Command Reference 안드로이드 폰에서 사용할 수 있는 Shell Command는 /system/bin 디렉토리에서 확인할 수 있습니다. These commands are present in /system/bin am app_process applypatch applypatch_static bluetoothd bmgr bootanimation btld bugreport cat charging_mode check_prereq chmod chown cmp cryptsetup csview dalvikvm date dbus-daemon dd debuggerd dexopt df dhcpcd discard_util dmbserver dmesg dnsmasq drexe drm_android_siso_test drm_sqlite3_test..