Sudah lama tidak membuat catatan di blog, saatnya sharing apa yang sudah saya lakukan.
Pasti teman2 sekalian sudah kenal yang namanya Android OS. yang di install di banyak gadget, kali ini saya akan membahas bagaimana mendapatkan akses root di Treq A10 view.
mengapa harus punya account root ?
yang paling kelihatan manfaatnya adalah pemindahan aplikasi dari internal storage ke SD card.
hal ini karena internal storage yang berupa NAND storage masih sangat terbatas kapasitasnya.
mengapa Treq A10 view ?
karena murah dengan hardware yang paling OK.
secara dari sisi penjualan price/performance hampir mendekati 0 saking performancenya melebihi harganya.
graphic card sekelas SGS II, processor 1.0 up to 1.5 GHz. mem DDR3 512 MB
dan dipastikan aplikasi game HD lancar Jaya.
tentu saja buat USER yang hanya butuh buat menaikan nilai tambah dirinya dan hanya bisa pakai biasanya kurang menarik. -YOU KNOW WHO-
Processor : | Boxchip A13 Cortex 1.0GHz |
GPU : | Mali-400 Support Open GL |
Display : | 9.2 inches 16:9, Capacitive Screen |
RAM : | 512 MB DDR3 |
External Memory : | Expandable up to 32GB with TF Card |
Built-in Wi-Fi | 802.11 b/g/n |
Support 3G | External 3G USB Modem |
Camera | 2MP Camera (back) and Front Camera VGA |
Flash Player | Adobe Flash 11 Player |
Gravity | Four Dimensional Gravity Sensing |
Touching | Five-point Capacitive Touch, zoom in or out picture and webpage |
Ports | USB2.0, USB OTG, TF CARD SLOT, MICRO USB 3.5mm stereo headphone jack, DC-in jack |
mengapa ngeroot pakai linux ?
Android itu menggunakan kernel linux, jadi kalau nge-root ya pakai linux aja.
anda yakin aplikasi rootnya itu aman dari trojan ?
anda yakin aplikasi rootnya tidak menambahkan toolbar di browser anda ?
anda yakin aplikasi rootnya tidak menginstall aplikasi kecil yang menggangu ?
tapi balik lagi tidak semua orang mau susah2 kayak saya, hahahaha
tool yang dibutuhkan adalah android SDK dari google saat artikel ini ditulis SDK R21.
setelah download dalam hal ini saya simpan di /home/ryanthe/download/
extract file tersebut
root@unresolved:~/Downloads#tar -zxvf android-sdk_r21-linux.tgz
kemudian download platform-tools.
root@unresolved:~/Downloads#cd android-sdk-linux/tools
root@unresolved:~/Downloads/android-sdk-linux/tools# ./android
pilihlah Android SDK platform-tools kemudian tekan install packages
tampilan apabila sudah terinstall sebagai berikut
apabila sudah berhasil maka ini dia list direktorynya
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# ls -la
total 28008
drwxr-xr-x 5 root root 4096 Dec 12 19:21 .
drwxr-x--- 7 ryanthe ryanthe 4096 Dec 12 19:03 ..
-rwxr-xr-x 1 root root 1117360 Dec 12 19:03 aapt
-rwxr-xr-x 1 root root 1226659 Dec 12 19:03 adb
-rwxr-xr-x 1 root root 269818 Dec 12 19:03 aidl
drwxr-xr-x 2 root root 4096 Dec 12 19:03 api
-rwxr-xr-x 1 root root 439993 Dec 12 19:03 dexdump
-rwxr-xr-x 1 root root 2603 Dec 12 19:03 dx
-rwxr-xr-x 1 root root 176294 Dec 12 19:03 fastboot
drwxr-xr-x 2 root root 4096 Dec 12 19:03 lib
-rwxr-xr-x 1 root root 24867587 Dec 12 19:03 llvm-rs-cc
-rw-r--r-- 1 root root 467531 Dec 12 19:03 NOTICE.txt
drwxr-xr-x 4 root root 4096 Dec 12 19:03 renderscript
-rw-r--r-- 1 root root 16609 Dec 12 19:03 source.properties
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
supaya dikenali perintah difolder berbeda tambahkan di parameter PATH
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# export PATH=$PATH:/home/ryanthe/Downloads/android-sdk-linux/platform-tools:/home/ryanthe/Downloads/android-sdk-linux/tools
kemudian kita lanjutkan untuk mengenali device Treq A10 view di ubuntu 12.04
sebelum device Treq ditancapkan perhatikan device USB yang ada di laptop.
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:0139 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 058f:a006 Alcor Micro Corp.
Bus 005 Device 002: ID 1c7a:0603 LighTuning Technology Inc.
Bus 004 Device 002: ID 0489:e00d Foxconn / Hon Hai
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
langkahnya tancapkan kabel mini USB ke gadget dan USB ke laptop/desktop
kemudian coba cek lagi
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:0139 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 058f:a006 Alcor Micro Corp.
Bus 005 Device 002: ID 1c7a:0603 LighTuning Technology Inc.
Bus 004 Device 002: ID 0489:e00d Foxconn / Hon Hai
Bus 003 Device 006: ID 18d1:0003 Google Inc.
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
yang beda yang saya highlight.
supaya bisa dikenali system atau di windows harus di install driver,
kita gunakan udevadm untuk mendapatkan informasi yang ada di USB device tsb
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# udevadm info -q all -n /dev/bus/usb/003/006
P: /devices/pci0000:00/0000:00:16.2/usb3/3-1
N: bus/usb/003/006
S: TreqA10view
E: BUSNUM=003
E: DEVLINKS=/dev/TreqA10view
E: DEVNAME=/dev/bus/usb/003/006
E: DEVNUM=006
E: DEVPATH=/devices/pci0000:00/0000:00:16.2/usb3/3-1
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=Android
E: ID_MODEL_ENC=Android
E: ID_MODEL_ID=0003
E: ID_REVISION=0230
E: ID_SERIAL=USB_Developer_Android_20080411413fc082
E: ID_SERIAL_SHORT=20080411413fc082
E: ID_USB_INTERFACES=:080650:ff4201:
E: ID_VENDOR=USB_Developer
E: ID_VENDOR_ENC=USB\x20Developer
E: ID_VENDOR_FROM_DATABASE=Google Inc.
E: ID_VENDOR_ID=18d1
E: MAJOR=189
E: MINOR=261
E: PRODUCT=18d1/3/230
E: SUBSYSTEM=usb
E: TYPE=0/0/0
E: UDEV_LOG=3
E: USEC_INITIALIZED=13737829089
lebih detail lagi
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# udevadm info --attribute-walk -n /dev/bus/usb/003/006
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:16.2/usb3/3-1':
KERNEL=="3-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""
ATTR{bNumInterfaces}==" 2"
ATTR{bConfigurationValue}=="1"
ATTR{bmAttributes}=="c0"
ATTR{bMaxPower}=="500mA"
ATTR{urbnum}=="3315"
ATTR{idVendor}=="18d1"
ATTR{idProduct}=="0003"
ATTR{bcdDevice}=="0230"
ATTR{bDeviceClass}=="00"
ATTR{bDeviceSubClass}=="00"
ATTR{bDeviceProtocol}=="00"
ATTR{bNumConfigurations}=="1"
ATTR{bMaxPacketSize0}=="64"
ATTR{speed}=="480"
ATTR{busnum}=="3"
ATTR{devnum}=="6"
ATTR{devpath}=="1"
ATTR{version}==" 2.00"
ATTR{maxchild}=="0"
ATTR{quirks}=="0x0"
ATTR{avoid_reset_quirk}=="0"
ATTR{authorized}=="1"
ATTR{manufacturer}=="USB Developer"
ATTR{product}=="Android"
ATTR{serial}=="20080411413fc082"
looking at parent device '/devices/pci0000:00/0000:00:16.2/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="239"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0002"
ATTRS{bcdDevice}=="0302"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="480"
ATTRS{busnum}=="3"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="4"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 3.2.0-34-generic ehci_hcd"
ATTRS{product}=="EHCI Host Controller"
ATTRS{serial}=="0000:00:16.2"
ATTRS{authorized_default}=="1"
looking at parent device '/devices/pci0000:00/0000:00:16.2':
KERNELS=="0000:00:16.2"
SUBSYSTEMS=="pci"
DRIVERS=="ehci_hcd"
ATTRS{vendor}=="0x1022"
ATTRS{device}=="0x7808"
ATTRS{subsystem_vendor}=="0x17aa"
ATTRS{subsystem_device}=="0x397b"
ATTRS{class}=="0x0c0320"
ATTRS{irq}=="17"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
ATTRS{local_cpulist}=="0-3"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
ATTRS{companion}==""
ATTRS{uframe_periodic_max}=="100"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
informasi dari 2 perintah diatas yang dibutuhkan adalah
E: ID_MODEL=Android <- 1="1" perintah="perintah" span="span">
->
E: ID_VENDOR_ID=18d1 <- 1="1" perintah="perintah" span="span">->
E: ID_MODEL_ID=0003 <- 1="1" perintah="perintah" span="span">->
ATTR{idProduct}=="0003" <- 2="2" perintah="perintah" span="span">->
apa sebenarnya yang mau dilakukan ?
membuat supaya pas device Treq di tancapain sudah langsung dikenali dan adb sudah bisa digunakan.
buat rule untuk udev kasih no agak akhir 51 misalnya. contekannya no segitu soalnya.
buat file /etc/udev/rules.d/51-android.rules
isinya
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL}=="Android", MODE="0666", SYMLINK+="TreqA10view"
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL_ID}=="0003", MODE="0666", SYMLINK+="TreqA10view"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="0003", ATTR{product}=="Android" MODE="0666", SYMLINK+="TreqA10view"
kalau di kita bongkar harusnya seperti ini
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL}=="Android", MODE="0666", SYMLINK+="TreqA10view"
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL_ID}=="0003", MODE="0666", SYMLINK+="TreqA10view"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="0003", ATTR{product}=="Android" MODE="0666", SYMLINK+="TreqA10view"
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
kemudian kita lakukan test
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# udevadm test --action="SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL}=="Android", MODE="0666", SYMLINK+="TreqA10view"" $(udevadm info -q path -n /dev/bus/usb/003/006)
......
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# la -al /dev/TreqA10view
lrwxrwxrwx 1 root root 15 Dec 12 23:22 /dev/TreqA10view -> bus/usb/003/006
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
Horeeeee device sudah dikenali...
sekarang cek dengan adb
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# adb devices
List of devices attached
20080411413fc082 device
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#
Device sudah dikenali oleh Adroid Debug Bridge (adb)
mari dimainkan
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# adb kill-server
root@unresolved:~/Downloads/android-sdk-linux/platform-tools# adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
root@unresolved:~/Downloads/android-sdk-linux/platform-tools#adb shell
root@android:/ # exit
sudah bisa di masukin, kemudian eksekusi perintah dibawah ini seperti cara root ICS menggunakan bat file di windows.
adb shell mv /data/local/tmp /data/local/tmp.bak
adb shell ln -s /data /data/local/tmp
adb reboot
tunggu sampai device reboot dan kembali posisi ready
adb shell rm /data/local.prop > nul
adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
adb reboot
tunggu sampai device reboot dan kembali posisi ready
adb shell id
adb remount
kemudian ambil amunisi binary su yang sudah di hack.
ada 2 file su dan superuser.apk.
extract terlebih dahulu kemudian masuk pada folder ICS
root@unresolved:~/Downloads/ICS Root unlocker# ls -la
total 1308
drwxrwxr-x 2 ryanthe ryanthe 4096 Dec 12 22:09 .
drwxr-xr-x 5 ryanthe ryanthe 4096 Dec 12 23:53 ..
-rw-rw-r-- 1 ryanthe ryanthe 475227 Dec 12 22:28 su
-rw-rw-r-- 1 ryanthe ryanthe 843503 Nov 21 2011 superuser.apk
root@unresolved:~/Downloads/ICS Root unlocker#
kemudian lanjutkan untuk rooting
copy file su yang asli di lokal folder untuk jaga2 kalau ada masalah
adb pull /system/xbin/su ./
lanjutkan....
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 06755 /system/xbin/su
adb shell rm /data/local.prop
adb shell rm /data/local/tmp
adb shell mv /data/local/tmp.bak /data/local/tmp
adb push superuser.apk /system/app/superuser.apk
adb reboot
sekarang cek setelah booting devicenya
setelah device ready matikan service adb servernya
adb kill-server
sudah ada aplikasi superuser tanpa harus menimpa firmware original.
segala akibat dan semua hal yang merugikan gadget anda bukan tanggung jawab saya.
RESIKO ditanggung penumpang. jauh dekat 0 rupiah.
berikutnya bagaimana membuat kapasitas SDcard lebih besar.
Kasih tahu nggak ya ?
Mau tahu aja apa mau tau banget ?
wah ribet bnget y gan caranya. apalagi saya pake windows 7.. T.T
BalasHapustrq a 10view ku error terus nih. kadang aplikasinya keluar sendiri. apalagi kalo ngelag.. hadewww.. :D
update firmware terbaru aja gan di http://tablettreq.com/
Hapusgan mau tanya kalo root untuk treq 3g basic punya filenya gak gan??? bantuinn yahh
BalasHapusICS ? coba aja ini aman kok.
Hapuskoq ribet amat yak...
BalasHapuspke TPsarky & pdanet sbg drivernya rebes
ada cara yang pakai windows gak gan? tolong donkgan kasih tau caranya pengen nih di root tabletku.
BalasHapusThanks. aku suka yang beginian soale pake linux kirik (puppy 5.6)
BalasHapusribet dikit gpp, tapi tahu urutan kerja
btw, treq view ini ada update jellybean ga ya?
untuk yang pake windows gmn?
BalasHapus