Created
November 27, 2011 19:27
-
-
Save anonymous/1398019 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Rooted] | |
$ cd /var/tmp; wget http://dl.google.com/android/android-sdk_r15-linux.tgz;tar xvfz android-sdk_r15-linux.tgz; cd /var/tmp/android-sdk-linux ; ls | |
add-ons platforms samples system-images tools | |
docs platform-tools SDK Readme.txt temp | |
$ cd platform-tools; ls; | |
aapt aidl dx llvm-rs-cc renderscript | |
adb dexdump lib NOTICE.txt source.properties | |
$ lsusb # connect Android in the USB, check its found or not | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 001 Device 004: ID 046d:0821 Logitech, Inc. | |
Bus 001 Device 012: ID 0b05:4e1f ASUSTek Computer, Inc. | |
$ ./adb usb | |
* daemon not running. starting it now on port 5037 * | |
* daemon started successfully * | |
restarting in USB mode | |
- click | |
system tray | |
wireless icon | |
settings | |
applications | |
development | |
usb debugging | |
Tablet | |
Power off | |
[Press volume up + power button for 5 seconds] | |
[Screen should stay off, its normal] | |
So i did trace behind whats was happening such as USB is alive or dead? | |
$ lsusb | |
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 002 Device 002: ID 046d:c05d Logitech, Inc. | |
$ lsusb | |
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 002 Device 002: ID 046d:c05d Logitech, Inc. | |
Bus 001 Device 011: ID 0955:7820 NVidia Corp. << Screen is off but USB is up | |
[now launch the BASH script] | |
########################################## | |
# lynx http://forum.xda-developers.com/showthread.php?t=1198303 | |
# Copy the universal-V3.tar file to somewhere safe place for reuse | |
################################################################### | |
$ cd /home/sun/Downloads/me; | |
$ wget http://forum.xda-developers.com/attachment.php?attachmentid=677456&d=1312486060 | |
$ tar xvf universal-V3.tar; cd universal; | |
$ sudo ./universal.sh | |
Asus Transformer TF101 Universal Root | |
=================================================== | |
Disconnect your tablet from usb (if connected) and turn it off (if it's not). | |
Press and hold the UP Volume and the power button for ~5sec. | |
For now the tablet screen should stay off, it's perfectly normal | |
Now connect to usb | |
Press any key when you're ready. | |
Nvflash started | |
rcm version 0X20001 | |
System Information: | |
chip name: t20 | |
chip id: 0x20 major: 1 minor: 3 | |
chip sku: 0x8 | |
chip uid: 0x033c20c143608197 | |
macrovision: disabled | |
hdcp: enabled | |
sbk burned: true | |
dk burned: true | |
boot device: emmc | |
operating mode: 4 | |
device config strap: 2 | |
device config fuse: 0 | |
sdram config strap: 0 | |
sending file: transformer.bct | |
- 4080/4080 bytes sent | |
transformer.bct sent successfully | |
odm data: 0x300d8011 | |
downloading bootloader -- load address: 0x108000 entry point: 0x108000 | |
sending file: bootloader.bin | |
| 943193/943193 bytes sent | |
bootloader.bin sent successfully | |
waiting for bootloader to initialize | |
bootloader downloaded successfully | |
Making a backup of your boot and recovery partitions in tf101-backup-20111112143317... | |
Nvflash started | |
[resume mode] | |
receiving file: ../tf101-backup-20111112143317/boot.img, expected size: 8388608 bytes | |
/ 8388608/8388608 bytes received | |
file received successfully | |
Nvflash started | |
[resume mode] | |
receiving file: ../tf101-backup-20111112143317/recovery.img, expected size: 5242880 bytes | |
/ 5242880/5242880 bytes received | |
file received successfully | |
Unpacking boot.img... | |
Writing kernel to boot.img-kernel.gz | |
Writing ramdisk to boot.img-ramdisk.cpio.gz | |
Writing boot.img config to boot.img-config | |
4351 blocks | |
Modifying default.prop... | |
Repacking as my_boot.img... | |
Cleaning up... | |
All Done! | |
Your new boot image is my_boot.img | |
Write back the modified boot partition... | |
Nvflash started | |
[resume mode] | |
sending file: my_boot.img | |
- 4214784/4214784 bytes sent | |
my_boot.img sent successfully | |
ClockWorkMod (CWM) | |
===================================== | |
ClockWorkMod recovery is a recovery image that let's you do some funny things like make a nandroid backup, installing custom rom and much more | |
This is not necessary for root | |
NOTE: if you install CWM you won't be able to update your tablet with the OTA firmware from ASUS, until you revert back to the stock recovery | |
Do you wish to install clockworkmod recovery? [y/N]n | |
Now press and hold the power button for ~10sec. | |
Your tablet should reboot. When android is fully loaded, go to Settings -> Applications -> Development and make sure USB Debugging is enabled. | |
Press any key when you're ready. | |
* daemon not running. starting it now on port 5037 * | |
* daemon started successfully * | |
remount succeeded | |
612 KB/s (26324 bytes in 0.041s) | |
1262 KB/s (196521 bytes in 0.152s) | |
$ ./adb shell | |
# su | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Network]: No Wireless internet? How fix? > http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch13_:_Linux_Wireless_Networking | |
; manually ; | |
$ vim /etc/network/interfaces | |
# interfaces(5) file used by ifup(8) and ifdown(8) | |
auto lo | |
iface lo inet loopback | |
auto wlan0 | |
iface wlan0 inet dhcp | |
wireless-essid wifi59/7 | |
wireless-key s:14255 | |
wireless-channel 6 | |
wireless-mode managed | |
; tools ; | |
$ iwconfig | |
lo no wireless extensions. | |
dummy0 no wireless extensions. | |
usb0 no wireless extensions. | |
sit0 no wireless extensions. | |
ip6tnl0 no wireless extensions. | |
wlan0 IEEE 802.11-DS ESSID:"" | |
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated | |
Bit Rate:72 Mb/s Tx-Power:32 dBm | |
Retry min limit:7 RTS thr:off Fragment thr:off | |
Power Managementmode:All packets received | |
$ iwlist | |
Usage: iwlist [interface] scanning [essid NNN] [last] | |
[interface] frequency | |
[interface] channel | |
[interface] bitrate | |
[interface] rate | |
[interface] encryption | |
[interface] keys | |
[interface] power | |
[interface] txpower | |
[interface] retry | |
[interface] ap | |
[interface] accesspoints | |
[interface] peers | |
[interface] event | |
[interface] auth | |
[interface] wpakeys | |
[interface] genie | |
[interface] modulation | |
ex: iwlist wlan0 scanning | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Install Ubuntu] | |
# ls | |
backup bins boot CHANGES configs images kernels OLiFE.sh README scripts stage tmp | |
# ./OLiFE.sh | |
; screen 1 ; | |
Welcome to the OLiFE pre-gui environment. | |
On using this script you are agreeing to the disclaimer, | |
and have read, and understand the instructions supplied | |
in the README. This script will guide you through the | |
required steps to backup, install, or upgrade ubuntu | |
on your ASUS Transformer TF101. | |
Please note this does not support the TF101G, SL101, | |
or SBKv2 TF101's. | |
Type 'Understood' below to accept this agreement. | |
Do you understand? Understood | |
; screen 2 ; | |
What would you like to do? | |
1. Backup device | |
2. Flash device | |
3. Update device | |
4. Inject firmware | |
5. Onscreen Keyboard | |
Q. Quit | |
Please choose from 1, 2, 3, 4, or Q: | |
How would you like to flash the device? | |
1. Dualboot | |
2. uboot (linux only) | |
3. asus boot (linux only) | |
4. stock | |
0. Return to Main Menu | |
Please choose from 1, 2, 3, 4, or 0: | |
; ; | |
Which OS should be default? | |
1. Android | |
2. Ubuntu | |
Please choose from 1, or 2: 2 | |
reading config file ./boot/dualboot.cfg | |
reading kernel from ./kernels/2636-zImage | |
reading ramdisk from ./kernels/initrd-2.6.36.img | |
Writing Boot Image ./tmp/linux.img | |
Put your device in APX mode then press any key | |
; APX mode set ; | |
What would you like to do? | |
1. Backup device | |
2. Flash device | |
3. Update device | |
4. Inject firmware | |
5. Onscreen Keyboard | |
Q. Quit | |
Please choose from 1, 2, 3, 4, or Q: 3 | |
---------------------------------------------------- | |
What would you like to update? | |
1. Android Kernel | |
2. Ubuntu/Linux Kernel | |
3. Android ROM | |
4. Ubuntu Rootfs | |
5. Advanced (Unsupported) | |
0. Return to Main Menu | |
Please choose from 1, 2, 3, 4, 5, or 0: 2 | |
reading config file ./boot/dualboot.cfg | |
reading kernel from ./kernels/2636-zImage | |
reading ramdisk from ./kernels/initrd-2.6.36.img | |
Writing Boot Image ./tmp/linux.img | |
How do you boot Ubuntu/Linux? | |
1. Turn device on | |
2. Hold vol-down then press vol-up | |
Please choose 1, or 2: 2 | |
Put your device in APX mode then press any key | |
Device detected in APX mode | |
Putting device into Nv3P Phone Update mode | |
Nvflash started | |
rcm version 0X20001 | |
System Information: | |
chip name: t20 | |
chip id: 0x20 major: 1 minor: 3 | |
chip sku: 0x8 | |
chip uid: 0x033c20c143608197 | |
macrovision: disabled | |
hdcp: enabled | |
sbk burned: true | |
dk burned: true | |
boot device: emmc | |
operating mode: 4 | |
device config strap: 2 | |
device config fuse: 0 | |
sdram config strap: 0 | |
sending file: ./images/transformer.bct | |
- 4080/4080 bytes sent | |
./images/transformer.bct sent successfully | |
odm data: 0x300d8011 | |
downloading bootloader -- load address: 0x108000 entry point: 0x108000 | |
sending file: ./images/bootloader.bin | |
| 976013/976013 bytes sent | |
./images/bootloader.bin sent successfully | |
waiting for bootloader to initialize | |
bootloader downloaded successfully | |
Writing linux.img to ID:5 | |
Nvflash started | |
[resume mode] | |
sending file: ./tmp/linux.img | |
\ 9265152/9265152 bytes sent | |
./tmp/linux.img sent successfully | |
Kicking device out of APX | |
Nvflash started | |
[resume mode] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment