For FROYO SENSE ROMS only
Hi
I ported Sven Killig's (sonic74 ) usb host patch to the Desire HD.
My Kernel is based on Buzz OC/UV 1.22Ghz CFS+BFQ+SmartAss+TUN+EXT4+.31 ACE 1.3.6
and following patches:
http://forum.xda-developers.com/showthread.php?t=694427
http://forum.xda-developers.com/showthread.php?t=751535
and I am using Android Revolution HD 3.1. So all glory goes to this peaple and to Andrew de Quincey.
Using this Kernel will disable all usb client functions, so this kernel is not very usefull.
So I use following comands to boot this kernel for testing and playing:
Code:
adb reboot bootloader
fastboot boot boot.img
With this methode the phone will boot with the old kernel after a reboot.
After booting my kernel you can use insmod to load the different driver modules.
You will need at least usbcore.ko and ehci-hcd.ko.
I have tested usb keyboard and usb storage (2GB FAT32). Use Sven Killig instructions to use the different modules.
http://sven.killig.de/android/N1/2.2/usb_host/
Needed Hardware:
* A micro USB B male to USB A female adapter/cable
http://www.amazon.de/gp/product/B00...&pf_rd_t=101&pf_rd_p=463375193&pf_rd_i=301128
* A self powered Hub that provides its power to the upstream port.
For trying my kernel you will need the boot.img from the boot.rar and the modules from the modules.rar.
For integrating the patch into your own kernel you will need the usbhostpatch.txt and the .confg from the config.rar
PS: Wifi is not working but should not be hard to fix.
Cool!
I've been wanting this for a long time.
I actually ordered a USB OTG yesterday. =)
I think I'll try to add this to the CM7 kernel instead since I use CM7.
How did you integrate the patch into the kernel?
Do you think you could make a video of the procedure from beginning to finish? =)
Or maybe give instructions to me so I can make a video?
If you want to add the usb host function to a CM7 kernel you should try to use following patch:
https://github.com/sonic74/kernel_msm/commit/0e3dbcdd1f0a55a007266f0ad8598c7b4164c8bd
Apply this by hand, because the kernel versions are different.
About which steps you want to have a video?
I thought it would be nice for people to be able to see this done from the beginning to the end. That is first the hardware bit, and then the software modification. But I think the most tricky part would be the software side.
Just an idea. Thank you!
=)
My purpose was to show that usb host mode is possible with the Desire HD, now other devs can try to make this features more useful.
For example Apache14 made a kernel for the Advent Vega Tablet, where you can choose at start up if you want to boot the host or the slave mode. It would be perfect if we could have samething like this for the DHD.
Someone could try to add this to a CM7 Rom, but this will require C programming and linux knowledge.
....
Yes that would be awsome. I wish I could help more.
I'm still learning the fundamentals and it takes time to learn this stuff.
Great idea man! I'll stop spamming this thread now.
has anyone tried how well that works with ubuntu?
This question is a little stupid but what does this all mean?
What can we except if this works well?
Yours truly.
If everything works, you could plug a USB Massstorage in your DHD or you could connect a USB Gamepad or a Keyboard.. or even a USB Wifi Stick which is able to hack WEP
Very nice work indeed
Good choise to boot the .img instead of flashing through fastboot (unless that's the only way at the mom.), when all other usb functions are disabled, hence no charging with your kernel
I take it's only working with 1.72 based roms?
I'm coming from a Nokia N900 where some devs actually also did this and they ran into all sorts of issues to make it work and the main thing was to enable it so other usb functions also worked at the same time. I changed device before it came to be a beta I think, but did use it (alpha) and found it very usefull. Could flash kernel(s) OTG through terminal so no need of a pc.
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Awesome! Been waiting for this particular feature
when all other usb functions are disabled, hence no charging with your kernel
I take it's only working with 1.72 based roms?
Click to expand...
Click to collapse
Charging also works in the host mode. But there is a delay before the charging begins.
I use Android Revolution HD 3.1 that is based on 1.84.
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Click to expand...
Click to collapse
I don't know if CWM has this feature, but being able to do it without the need of a pc would be very helpful.
An other problem is the need of an self-powered usb hub.
bergfex said:
An other problem is the need of an self-powered usb hub.
Click to expand...
Click to collapse
So the DHD won't have enough power to make a flash stick work without any external power supply? I know the N900 gave some 3.5v - 5v when in hostmode, just enough to light up a flash stick.
Nice to know it will be able to charge
Will try it out on a old nandroid backup (1.72 base), currently on GB build and will report back
Will try it out on a old nandroid backup (1.72 base), currently on GB build and will report back
Click to expand...
Click to collapse
Same feedback would be nice.
I know the N900 gave some 3.5v - 5v when in hostmode, just enough to light up a flash stick.
Click to expand...
Click to collapse
At the moment anybody has this on an qualcomm powered device, but this would be very nice.
Dousan said:
One question though is there a way to do it through CWM with a .zip file, I don't know if the CWM has a function to boot from a .zip? It would be nice to be able to do it without the need of a pc
Click to expand...
Click to collapse
flash yes, boot no.
I'm getting some errors while doing insmod:
First i put the 'drivers' folder, from your RAR attachment, in /system/lib/modules, then booted the .img with fastboot and then through connectbot as local i did this:
First the:
insmod drivers/usb/core/usb-core.ko wich didn't give any error just jumped to a new line #
and then:
echi-hcd.ko code line wich got me this error: can't read file or doesn't exist - even though i cd'ed to the directory?
Then tried even though i got the error with echi-hcd.ko.
Code:
insmod drivers/usb/storage/usb-storage.ko
error:
insmod: can't insert 'drivers/usb/storage/usb-storage.ko': file exists?
E: tried it again and now i can't even get past the first code:
insmod drivers/usb/core/usb-core.ko - the same error as echi-hcd.ko - can't read file bla bla...?
Must be doing something wrong here...
I'm not sure that it gives any voltage to my flash stick, as it doesn't light up or it is possible without an external power? On my N900 i could use a flash stick and such aslong as it didn't need more than the 3.5v...
e2: tried a third time and still can't read the echi.hcd.ko file?
Maybe a bad extract or something, i'm really noob, just like to fiddle around with my phone. So any help would be great
kendong2 said:
flash yes, boot no.
Click to expand...
Click to collapse
Cheers mate, just hoped it would be doable, but didn't think so... A flashable .zip would be great to have once i get it to work lol
Hi Bergfex
I was hoping to try out the code @ CodeAurora instead (https://www.codeaurora.org/gitweb/q...3f9b1ca5a3279455371fd79;hb=android-msm-2.6.32).
From what I can see it utilized the OTG driver, so it 'should' be switchable at runtime.
I tried a quick merge with the files, but there is some initialization issues that I could not sort out (or rather not willing without anything to test with).
Perhaps someone can give it a second look.
Cheers
leppie
I try to make a little tutorial:
(this is not the easiest correctest and shortest way, but exactly what I am doing during writing this tutorial.
1) download boot.rar and modules.rar (to your pc)
2) unpack this rar-files
3) connect the DHD to the PC as mass-storage
4) copy the modules directory to the root-directory of your sd-card
5) create a directore "usb-storage" in the root-directory your sd-card
6) download the Radio flash.zip from
http://forum.xda-developers.com/showthread.php?t=896597
7) unpack the Radio_flash.zip
8) copy the boot.img from the boot.rar to the Radio Flash directory
9) disconnect the DHD
10) Settings->Applications->Development->enable USB Debugging
11) connect the DHD to the PC select charging only
12) go into the Radio Flash folder and start "Start Here"
13) type "adb reboot bootloader"
-> DHD boots into bootloader (should be S-OFF )
14) type "fastboot boot boot.img"
-> DHD boots
15) Settings->Info->Software info-> kernel info should show
2.6.32.31_BUZZ_1.3.6_OCUV
[email protected] # 13
Thu Mar 10 22:43::02 EET 2011
16) disconnect the DHD
17) start "Terminal Emulator"
18) "cd sdcard"
19) "cd modules"
20) "cd drivers"
21) "cd usb"
22) "cd core"
23) "insmod usbcore.ko"
24) "cd .."
25) "cd host"
26) ("ls") optional
27) "insmod ehci-hcd.ko"
28) "cd .."
29) "cd storage"
30) "insmod usb-storage.ko"
31) "cd .."
32) "cd .."
33) "cd hid"
34) "insmod usbhid.ko"
35) "insmod hid-apple.ko" (I just have a apple keyboard for testing (it is not mine))
36) supply your USB hub with power
37) connect the USB hub via the adapter cable to your DHD
38) connect a USB keyboard to the first port of the USB hub (my last port is not working)
39) wait
40) use your keyboard
41) conncet a USB massstorage to the second port of the USB Hub. In my case a 2GB with FAT32
42) wait
43) "mount -t vfat /dev/block/sda1 /mnt/sdcard/usb-storage"
44) use ES File Explorer to browse your USB Storage
45) reboot your DHD and unplug the USB hub
46) you should have your old kernel
Can this be used for Inspire 4g as well?
TIA
Related
Quoted from Breach
PSFreedom on G1. Simple step by step.
Before you proceed. This is tested and working on CM 6.0 Final, as it has been compiled for that kernel from that source. It may work on other versions, but is not supported.
Get PSFreedom_G1_bdvd_k4roshi_signed.zip (available at http://psfreedom.com/wiki)
Place PSFreedom_G1_bdvd_k4roshi_signed.zip on your SD card.
Shut off the G1 and Start the G1 into Recovery mode (holding Home & Power)
Flash PSFreedom_G1_bdvd_k4roshi_signed.zip using "Flash zip from SDCard"
Reboot once completed.
Once the phone has booted, open a terminal emulator..
Type..
su
cd /system/lib/modules
insmod psfreedom.ko
Connect your G1 to the PS3 via USB.
Turn off the power switch in the back of your PS3 and turn it back on.
Start your PS3 using the power button quickly followed by pressing the eject button.
Note: You will not see anything displayed on your phone. To verify that it worked, go to the games menu and check for "Install Package Files".
Download a Backup Manager of choice.
Put the manager.pkg (the Backup Manager install file) on any USB mass storage device and plug it into your USB port on the PS3.
Install the Backup Manager on the PS3 and you're good to go.
If your PS3 turns on, but you get no video, you may need to update to 3.41 (Known versions that draw blank screen 2.76 & 3.15, probably all versions older then 3.41 which PSFreedom was tested on)
I hope you find this useful.
Waiting for a 32B/G1 CM6 Kernel one too
It's working and being uploaded to the wiki right now...
0Vw3 said:
It's working and being uploaded to the wiki right now...
Click to expand...
Click to collapse
Which wiki?
Sounds great though
http://psfreedom.com/wiki
DashKiller said:
http://psfreedom.com/wiki
Click to expand...
Click to collapse
Thanks
I guess http://bit.ly/9YyrJ4 will be up soon, huh?
New link is up on the wiki. Downloading now
Can someone post some instructions?
Can someone tell me how to compile it? The link on the wiki now works, I just don't know how to compile it...
Install the zip file from the wiki through recovery
Once the phone has booted, open a terminal emulator and then type su.
Go to your memory card (usually /sdcard) and run insmod psfreedom.ko
Connect your Nexus One to the PS3 and power the PS3 off completely, following the guide for PSJB - power on, push power and then quickly push eject. You will not see anything displayed on your phone.
To verify that it worked, go to the games menu and check for "Install Package Files".
The file you are trying to access is temporarily unavailable
hanzohittori said:
run insmod psfreedom.ko
Click to expand...
Click to collapse
Do we get this file after we have flashed the .zip? And have you tried this yourself on a G1(32b)?
Just installed kernel. insmod psfreedom.ko returns "insmod: init_module 'psfreedom.ko' failed (Exec format error)
cd to /system/lib/modules and run it
Works flawlessly - thx
0Vw3 said:
It's working and being uploaded to the wiki right now...
Click to expand...
Click to collapse
the link for the 32a is broken, can any1 fix it?
So how can I end the module now to use ADB again?
The wiki link for the file has gone. Can some one reupload please
broken wifi
psfreedom kernel updat seems to broke my wifi - can anyone confirm it?
been taken down
So I need to do a nandroid restore in order to disable the module?
My wifi is broken aswell.
PLEASE DO NOT POST QUESTIONS ON HOW TO GET THIS TO WORK IN THE [DEV] Native Ubuntu !! THREAD... POST THEM HERE
I would like to thank all those who spent a lot of time working on this project. I do not have the required skills and have not contributed other than writing this tutorial. This is a combination of steps and files from the Nvflash unbricking released! and [DEV] Native Ubuntu !! threads. Please thank those who brought this to us!
The download contains the windows drivers and dlls for this to work (thanks to Bumble-Bee (Apache14), rayman84) and my edits of Jhinta's scripts flash.sh and restore.sh. All I did was convert the coding from linux to windows.
Downloads are in the first post of the DEV forum with the newest version from 15 July.
Disclaimer:
Please be aware that this may cause your transformer not to boot. If this happens please see the Nvflash thread above to restore to Prime 1.4. After this you can install a recovery to flash any rom you want. YOU COULD LOSE ALL YOUR DATA but if all goes to plan you will not. Neither I nor any of the devs are responsible for any damage or loss of data.
This should not affect any data from your Android Install.
It only changes the boot.img and boots a root file stem that is located on the removable Micro SD card. When restoring android this will restore the boot.img (from prime) which will allow you to boot into your android ROM without making any changes.
Tutorial:
Backup!!
Code:
1. Backup everything
Download and unzip required files
Code:
2. Download Nvflashtf.zip file above (files from 10 Jul 2011) and unzip
3. Download the rootfs and unzip (available in [URL="http://forum.xda-developers.com/showthread.php?t=1147062"][DEV] Native Ubuntu !![/URL])
4. Place unzipped rootfs.ext2 in /removable/microsd/Ubuntu
(You will need to create the ubuntu folder)
Boot into APX mode
Code:
5. Plug your transformer into your computer using the USB cable
6. Shut down your transformer (cable must be plugged in)
7. Boot into APX mode: Hold down the Vol+ and Power buttons.
The screen will not turn on but the computer will recognize the transformer
Install Windows Nvflash Driver
Code:
8. Install the new drivers provided in the download folder
(Control Panel --> Device Manager --> APX Device -->
Update Driver --> Choose from file --> Navigate to unzipped Nvflashtf folder
--> Select usbpcdriver directory
9. Accept the warning message stating the driver is not signed
Install Ubuntu boot.img
Code:
10. If it is not already, Put transformer into APX mode (steps 5-7)
11. Navigate to the unzipped nvflashtf folder
12. Run (Double Click) flash.bat
13. Transformer will Say "!!!!!phone update successful!!!!!"
14. Eject APX device from windows
15. Reboot Transformer (Hold Power for 10 seconds) then press power
Connect to an Open Wifi Access point
Code:
16. Open Terminal and run
sudo ifconfig eth0 down
sudo iwconfig eth0 mode managed
sudo iwconfig eth0 essid "my network"
sudo ifconfig eth0 up
Open WICD Manager and click connect
Password is astf101
If your network uses encryption see the second post
Revert to Android boot.img
Code:
1. If it is not already, Put transformer into APX mode (steps 5-7)
2. Navigate to the unzipped nvflashtf folder
3. Run (Double Click) restore.bat
4. Transformer will Say "!!!!!phone update successful!!!!!"
5. Eject APX device from windows
6. Reboot Transformer (Hold Power for 10 seconds) then press power
Tips and Tricks
Working
Code:
Wifi - using terminal commands
Audio - Headphone Output only
Touchscreen
USB Host
Not Working
Code:
Touchpad (on dock)
HDMI Audio Out??
Speakers
Battery Stats
For future development including fixes being worked on please see the [DEV] thread
Scan for wireless networks
Code:
iwlist eth0 scan
Connect to encrypted networks
Code:
WPA:
sudo ifconfig eth0 down
sudo iwconfig eth0 mode managed
sudo iwconfig eth0 essid "nameofmyrouter"
sudo iwconfig eth0 key s:mypassword
sudo ifconfig eth0 up
[URL="http://forum.xda-developers.com/showpost.php?p=15528059&postcount=252"]WPA2[/URL]: thanks to belzebub40k
Automated Script for Wifi on Boot: Thanks to lugiber
advanced iwconfig information
Changelog
If you have any tips and tricks please post them here or PM me.
suggestion: maybe post the bugs/ working/ and being worked on. * just saying, so not so much clutter in this thread
I was building this very kind of zip archive and instructions for it earlier but got interrupted. I'm waiting for my backordered dock to arrive before I try ubuntu. This will be helpful.
Just to confirm then, you would need to switch the boot image via PC when you wanted to switch OS then?
BTW - thanks for the writeup, and directing traffic out of the dev thread.
DroidxRage said:
Just to confirm then, you would need to switch the boot image via PC when you wanted to switch OS then?
BTW - thanks for the writeup, and directing traffic out of the dev thread.
Click to expand...
Click to collapse
yep. 10 characters
Wow...this looks totally manageable. Thanks for the Guide!
What file system does the (micro) SD card need to be? I heard in the dev thread that it only works with FAT32, which would suck since it has a 4 GB limit (and I have a 16 GB card).
rdnetto said:
What file system does the (micro) SD card need to be? I heard in the dev thread that it only works with FAT32, which would suck since it has a 4 GB limit (and I have a 16 GB card).
Click to expand...
Click to collapse
no sir FAT had 4 GB limit. You are good with 16GB FAT32.
I'm loving 3.1 right now. I may try this down the road.
EDIT: Disregard this post =.= I managed to post in the wrong thread... might fill this in later...
EDIT: Alright... I managed to mis-post again... I'm really sorry for spamming your thread, OP, I must look like an idiot. Can someone please remove my posts... these were meant for the developement Ubuntu thread
ToyTank said:
no sir FAT had 4 GB limit. You are good with 16GB FAT32.
I'm loving 3.1 right now. I may try this down the road.
Click to expand...
Click to collapse
http://en.wikipedia.org/wiki/FAT32 said:
The maximum possible size for a file on a FAT32 volume is 4 GiB.
Click to expand...
Click to collapse
You must be thinking of the volume size. The file size limitation is the main reason everyone uses NTFS on Windows these days (improved access controls being the other reason).
The filesize limitation is why MS went to the trouble of creating exFAT - FAT32 can handle TB sized volumes, and journalling file systems like NTFS shorten the lifespan of flash media.
GadgetViews said:
suggestion: maybe post the bugs/ working/ and being worked on. * just saying, so not so much clutter in this thread
Click to expand...
Click to collapse
I wish I could do this, but unfortunately this will only be updated in the DEV thread. I will try to add some things in the second post to help with this.
rdnetto said:
What file system does the (micro) SD card need to be? I heard in the dev thread that it only works with FAT32, which would suck since it has a 4 GB limit (and I have a 16 GB card).
Click to expand...
Click to collapse
Main thing was buidling it , now add and fix optional things.
soon
When restoring to android, it restores the previous system state, or a fresh install of prime?
Are there any developments in order to make a dual boot mode along with standard Android?
This kind of implementation are great: http://www.alwaysinnovating.com/, allowing switch between os without restart. I would love to see some thing like this in the transformer.
Good work!
That stuff is kinda secondary. They're mostly trying to get ubuntu fully working right now. But if you have any good ideas for a dual boot process please share. Also it restores the previous rom on. It never actually touches the system or data partition.
Sent from my HTC Vision using XDA Premium App
Where is ubuntu installed? Internal mem? and can we you it with just the touchscreen? I haven't bought a keyboard yet.
SwiftLegend said:
Where is ubuntu installed? Internal mem? and can we you it with just the touchscreen? I haven't bought a keyboard yet.
Click to expand...
Click to collapse
It's ran from the root.fs on your sd card. The actual sdcard.
Sent from my HTC Vision using XDA Premium App
david279 said:
That stuff is kinda secondary. They're mostly trying to get ubuntu fully working right now. But if you have any good ideas for a dual boot process please share. Also it restores the previous rom on. It never actually touches the system or data partition.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
I will update the OP to more prominently reflect that this does not modify the current install of android other than the boot.img
So far, mp3 playback and sound is very good. I have a question about the flash plugin, I recall that the Jhinta had a snapshot of Youtube up. I am unclear how to get the plugin, has anyone else gotten this working? Thanks in advance, loving this!
Here I am again...
This time I have written a shell script (linux only) and made a live-cd (for all windows/linux users) to automatically root the stock firmware on the TF101. Every stock firmware.
Today in Europe Asus rolled out the 3.2 upgrade. If you are on stock and you have alredy upgraded then download attached tar file and do as follows:
NOTE: Unfortunately, this script won't work with the latest revision of TF101 (3G version, B80 and some B70)
NOTE2: As someone pointed out (thank you Pieter) you need to be root on your linux box in order to make it work.
Code:
tar -xvf universal.tar
cd universal
./universal.sh
In Ubuntu the last command would be:
Code:
sudo ./universal.sh
Follow the instructions and you're done.
If you have a stock US/DE/TW/JP/TB firmware you can do the same.
If you are running an older version of Honeycomb the process is the same.
When ASUS will pull out another upgrade... same commands as above.
So this probably is the closest thing to one-click-root for the Transformer.
This won't install custom rom/CWM/strange other things (V2 version added the support for CWM); it's only root.
I've tested this morning after the 3.2 upgrade and it worked like a charm.
However this is in testing stage so, as always, if you brick/ruin/burn/crash something don't blame on me.
This package includes the Bootunpack tool, courtesy of Rayman84
LIVE CD INSTRUCTIONS
It's based on slitaz (http://www.slitaz.org/).
Burn the image into a cd or if you want it on a thumb usb drive follow this (http://doc.slitaz.org/en:guides:liveusb).
Put the cd/usb in your pc and reboot.
Follow the indication on screen (for setting locale and keymap).
When the desktop shows up, double click on "Universal Root for ASUS TF101".
Again follow the indication and you'll be ok.
For a guide on how to boot from cd/usb try this: http://www.passwordunlocker.com/knowledge/change-bios-settings.html
or search with google.
The option to install a stock boot/recovery (added on V3) is working even if not fully tested.
The program has correctly rebuilt a stock recovery on my WW version.
From version V4 root checker correctly says that the rom is not rooted after you do an unroot.
If you like the work i did take a look at that funny button under my name with the "donate to me" caption
Seriously, I appreciate even only a "Thanks".
FAQ
[Q] I'm running on Windows, how can I burn the live-cd?
[A] Try with cdburnerxp (it's the easiest way).
You can download one installer frome here:
http://cdburnerxp.se/en/download
or the portable package if you don't want to install other software:
http://download.cdburnerxp.se/portable/CDBurnerXP-4.3.8.2568.zip
Start the program (for the portable version the file is cdbxpp.exe) and click on "Burn iso image". Then select the .iso file you have downloaded and click "burn disk". All Done.
[Q] How can I reboot in APX/recovery mode?
[A] Do as follows:
VOL UP + POWER BUTTON for ~5sec = boot in APX mode. The screen will stay black as if it is turned off. This mode is used only when you use nvflash to flash boot/recovery/data partition (this is the first step in my script).
VOL DOWN + POWER BUTTON ~5sec = will appear a screen where it says to press vol down again to wipe all data (obviously you don't want to do it now), or press up to enter RCK (recovery mode). If you installed CWM you will see the main menu navigable with vol up / vol down / power button.
If you have the stock recovery you will see a green android with a esclamation mark on a yellow triangle.
[Q] Help! I can't reboot in recovery mode!
[A] I think the main problem here is that it is a bit tricky to get into CWM recovery, once you see the small text come up don't try to read anything, just hit volume up.
Hold volume down plus power until the text in upper left shows,if you let go too early it just boots up and you never see the text. If you wait too long you don't get the option to boot into recovery. Hope that helps..
Thx to ckuke4 for this answer http://forum.xda-developers.com/showpost.php?p=16306342&postcount=60
[Q] The live-cd gave me this error: "connection failed NvError 0x8" what is it?
[A] This means that either you are not in APX mode (read above), or that you have one of the latest revision of the tf101 (B7O) which have an unknown (for now) sbk.
For what i know, there's no knew method for rooting your device.
Maybe someone will find a way, but for now you have to be patient.
[Q] I'm running your scripts from my linux box, but it keep me saying "Permission Denied". Why?
[A] You need the root privileges on your local machine.
If you are running Ubuntu:
Code:
sudo ./universal.sh
[I](it will asks for your password)[/I]
If you are running another linux distro:
Code:
su
[I](it will asks for your password)[/I]
./universal.sh
[Q] I have rooted my tablet with this method, but I can't find the superuser app and Titanium Backup says that I am not rooted.
[A] The root script will asks you to reboot your tablet, make sure that usb debugging is turned on and then press any key.
You have to wait until you see a little bee on the bottom right of your tablet's screen, near the clock. Then press any key.
[Q] I've installed CWM but every time i try to do a backup, it says it can't find sdcard. But my microsd card work fine with root explorer!
[A] Don't get me wrong but, are you sure?
In root explorer you see a sdcard folder but it's not your microsd, it's the internal memory (it's weird, i know). In root explorer the microsd card is mounted under the "/removable/microsd" folder. You should also see a little sd card icon in the bottom right, near the clock.
Also you need to make sure the card is formatted correctly. Try reformat it with this: https://www.sdcard.org/consumers/formatter_3/
Thanks to skeeterpro for the link (http://forum.xda-developers.com/showpost.php?p=16385872&postcount=6)
[Q] The live cd stops at the command prompt, I can't see the desktop.
[A]The live cd doesn't include every driver for every video card, mouse, keyboard, etc.. (keep in mind that the original slitaz livecd is only 30MB).
You can do all the process in the text console, it's not much more difficult.
If it asks for a login insert "tux" (without quotes).
At the command line enter the following:
Code:
cd
cd universal
./universal.sh
Then the magic will start. The unroot script is called ./unroot.sh
CHANGELOG:
V4:
- Corrected some text
- Added a link on the Desktop to this thread
- Added stock ramdisk for all SKU (though JP, CN and DE are not the latest versions) (thanks to kovla for the latest TB recovery)
- Added a script on the Desktop to increase the font size on the fly for those who are using a very high dpi monitor/tv.
- Changed compression algoritm. Now the iso is ~10MB smaller.
- Maybe I have found the way to make everyone read the faq...
V3:
- [BETA] added a second script to come back to stock.
V2:
- added the option to install CWM (thanks Roach!)
- more error check
V1:
First version
=====> DOWNLOAD LIVE-CD V4 - (Mirror)<=====
DOWNLOAD LIVE-CD V3 (previous version)
DOWNLOAD LIVE-CD V2
As always, keep your eyes open and
Have Fun!
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
awesome -one root to rule them all!
ondoy1943 said:
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
Click to expand...
Click to collapse
In linux there's no need for drivers to work with tf101.
Windows seems to be problematic with driver (for someone seems to be way too difficult install the right ones).
As i stated above, adding this to a live linux cd will be the final one-click-root (put a live cd/usb-memory on your computer, reboot, follow the easy instructions and you're rooted).
Sincerely I don't know how to modify a livecd to add these scripts and programs.
If anyone wants to try, he is welcome.
Anyway I don't plan to do a windows port of this.
Disappointed! No windows support!
Will probably be trying this method from my PCLOS partition, if I can hold off the OTA update which has just begun pestering me.
Got to find out whether the modded adhoc wpa_supplicant works with 3.2 first, thanks for the effort HF
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.
Does you script give also install CWM?
Will give this a go later and see how it works.
belrik said:
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.
Does you script give also install CWM?
Will give this a go later and see how it works.
Click to expand...
Click to collapse
I was thinking on it, but perhaps it's better no.
Installing cwm means no more ota, since the update relies on the stock recovery.
This script was meant to leave all as stock as possible.
For all the windows folks:
I have added to the first post a live-cd with all the necessary tools.
Just run it and you'll be fine. (anyway, you are always in time to switch to linux)
Hallo and thanks!!!
what about mac's Users?
Can you explain a bit about what it does? So we can all learn.
Thank you,
Hi !
Will it work under wmware or virtual pc ?
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
RayYung said:
Can you explain a bit about what it does? So we can all learn.
Thank you,
Click to expand...
Click to collapse
So you wanna learn? Good!
First i learned how to root the stock firmware from here: http://forum.xda-developers.com/showthread.php?t=1125714 .
Essentially the steps are:
1 - download a modified boot image into the tablet
2 - install the su and superuser packages.
My scripts do these 2 steps. I wrote a small howto that explains how to modify a boot image (http://forum.xda-developers.com/showthread.php?t=1193737)
Caramel said:
Hi !
Will it work under wmware or virtual pc ?
Click to expand...
Click to collapse
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
I really would like to have an answer to these questions...
The Mac should have a layer of compatibility with linux (can't tell you more), but i really don't know the mac world.
*Maybe* the live cd will work under virtual machine; there should be some options to enable the usb feature. In Virtual Box there's an option to enable the usb controller and an option to filter what device will be accessible to the guest os; don't know vmware and virtual pc.
I don't know if an Intel based Macintosh is able to boot from a x86 live-cd, you could try.
I'm sorry i can't help you much more.
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
Oops- no- there is no Nvflash for Mac. Sorry.
Created a live usb, booted via windows, and voila i am looking at a linux desktop, which i have not seen for a long time. Started going to its paces to root my tf, but did not push thru to the end, in as much as my tf is already rooted beforehand. But i can sense that barring any unforeseen miscues by the |op|, this almost one-click rooting procedure should produce its desired result. Highly recommended; good job |op|.
Looks like this calls for an "unrooting" routine to complement the rooting process. How about it?
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
brando56894 said:
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
Click to expand...
Click to collapse
I have already tried this, but seems it doesn't work.
if i write "adb reboot recovery" or "adb reboot bootloader" my tablet reboot in normal mode.
It's more reliable do it manually.
how can install ClockworkMod recovery
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
zulu99 said:
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
Click to expand...
Click to collapse
For now if you are running on windows, you can use one of these methods:
http://forum.xda-developers.com/showthread.php?t=1125714
http://forum.xda-developers.com/showthread.php?t=1185104
you are already rooted, so just need the cwm.
Since i had many requests on adding cwm, i am going to update the scripts and live-cd for adding this feature.
I'll keep you updated.
UPDATE-SOLVED: So I used the terminal command dmesg to see what errors were coming up relating to the usb port. It turns out I was getting the popular "unable to enumerate usb device on port..." error. From a google search on this I was able to find other people with my same problem, albeit with other types of devices not working on the usb ports. So someone tried a simple fix and worked. Ill quote it here just for the sake of keeping you on this page...
Some hardware just don’t work with ehci_hcd on Karmic Koala. My memory stick from transcend refused to work no matter what I did. After plugging the device nothing happened, doing dmesg showed me the following error:
Apr 18 10:59:04 dpac-laptop kernel: [73668.388060] usb 1-2: new high speed USB device using ehci_hcd and address 5
Apr 18 10:59:04 dpac-laptop kernel: [73668.473034] hub 1-0:1.0: unable to enumerate USB device on port 2
After searching a lot, I came to a conclusion that my device doesn’t work with USB 2.0. So I disabled the ehci_hcd to make it work.
Since Karmic doesn’t use ehci_hcd as a module, modprobe -r ehci_hcd no longer works. The module is compiled into kernel. To disable it execute the following commands in terminal:
1: cd /sys/bus/pci/drivers/ehci_hcd
2: ls
You will see a file with 0000:00:xx.x format. Execute the following command:
1: sudo sh -c 'echo -n "0000:00:xx.x" > unbind'
#Replace the xx.x with the numbers displayed on your file. It should disable the ehci_hcd.
I plugged in my memory stick, and it worked.
Please note that you’ll have to do all this each time you restart.
UPDATE
You can now use the following script to disable ehci_hcd. It is far more simpler since it just needs you copy pasting the commands instead of a manual action. Here it goes:
1: cd /sys/bus/pci/drivers/ehci_hcd/
2: sudo sh -c 'find ./ -name "0000:00:*" -print| sed "s/\.\///">unbind'
Cheers!
Ok so I just finished installing a fresh copy of Ubuntu 11.04 on my g/f's old Sony Vaio from 2003/04. I tried plugging in the Infuse to see if the computer will recognize it. So when I select 'Mass storage' from the connection menu, the connect screen with the green android robot will pop up for a split second, then disappear. So there is no way for me to mount the phone to the computer. The option doesnt even appear in the notification bar. Sometimes the robot screen wont even appear at all. I check the cable, and it works 100% fine on my win 7 64 bit pc. It just doesnt seem to want to do anything on the Ubuntu pc. The phone will charge, but thats about it. Im running the clean Gingerbread update on the Infuse. Nothing modded, and as i said, the Ubuntu is clean install as well. Ive tried this with usb debugging on and off. Ive also tried restarting both phone and pc and nothing changes.
Any help would be so greatly appreciated. Thanks a million.
weird. try other USB devices. you could have motherboard driver issues.
I'd check the Ubuntu forums and see if others with that hardware have any issues with USB devices. you may need to find some alternative drivers that aren't in the stock Ubuntu build or find a different computer.
Dani897 said:
weird. try other USB devices. you could have motherboard driver issues.
I'd check the Ubuntu forums and see if others with that hardware have any issues with USB devices. you may need to find some alternative drivers that aren't in the stock Ubuntu build or find a different computer.
Click to expand...
Click to collapse
I have tried some flash drives. They seem to work just fine. When I plug the phone in under the mass storage option, I open up a terminal and type usb-devices, and i see the three ports listed, but it shows that nothing is being detected on any of them.
Linux driver should be perfect, before connects to PC the mass storage mode should be selected.
dubuntu said:
Linux driver should be perfect, before connects to PC the mass storage mode should be selected.
Click to expand...
Click to collapse
I made sure it was selected. I also just got finished setting up the Android SDK on the Ubuntu laptop. ADB does not recognize that the device is plugged in at all. It can see my flash drives, but nothing comes up for my phone. Even with usb debugging on it did not see it. Im at a loss. Im beginning to think that this may have something to do with the Gingerbread update. Can someone with the update try to connect to Ubuntu and let me know if they have success? Ide hate to have to revert my device to Froyo or an unofficial rom to develop. =/
well I see you fixed it. did you get adb going?
Dani897 said:
well I see you fixed it. did you get adb going?
Click to expand...
Click to collapse
Yes! How?
Sent from my SAMSUNG-SGH-I997 using Tapatalk
are you asking how he fixed it?(he updated the op if that's what you are interested in) or how to get adb going.? adb works on Ubuntu as long as the device connects but you need to setup some device information first.
I forget the location but you need to create a file called 70rules.android (if my memory serves me right) with the vendor I.d and some other information. let me know and ill find a link on it.
Yes! I was able to finally get adb going after I had fixed the USB detection. Once I had applied the changes above my computer would immediately recognize the phone in both normal and debug mode and I could transfer files to and from it freely. Also, typing in ./adb devices finally showed my device as being connected with the proper vendor id as well.
The file I believe yyour referring to is named 70-android.rules and its only part of a whole process on getting the sdk setup on the laptop. There are a lot of hits for setting g it up on Google. There is also a whole guide for this here on xda which I had followed.
Sent from my Samsung Silly Phone
Hello everyone,
I have gotten BT5 installed on my ASUS Transformer TF101 with Aircrack-ng working. (still needs wifi dongle with monitor mode support to capture packets)This was accomplished with Stock firmware and kernel 9.2.1.27.
****EDIT****: VNC works. You need AndroidVNC. Set address as 'localhost', port as '5900', and password as 'backtrac'. Works like a charm.
If your going to ask if you need root, just leave.
Disclaimer : If something goes wrong, it is not my fault. Deal with it and fix it. It is YOUR choice to follow these directions.
UPDATE: This was accomplished with the backtrack-v9. At the bottom is also backtrack v10. I have not yet tested v10 but you may try it if you like. I would rather have written a tutorial for an older version that works for sure than a newer version that may not work.
Let's get started!
0) Download and install "Complete Linux Installer" (Launching widget) and "Terminal Emulator" (it has a blue logo,) OTHER TERMINAL EMULATORS WONT WORK WITH THE WIDGET.
Complete Linux Installer: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Terminal Emulator: https://play.google.com/store/apps/...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
1) Download and download the torrent in the file section.
2) Extract the downloaded zip. (I recommend to a MicroSD)
3) Place the "Boot Backtrack" widget wherever.
4) Type in where you have the backtrack.img downloaded to (if it is on the MicroSD, it is probably at /Removable/MicroSD/backtrack.img
5) Click OK and tap the widget that says "BOOT"
6) Go through the configuration. (only on the first boot.)(VNC is working, see EDIT @ the top.)
7) If completed successfully, you should see "[email protected]:~:".
8) Type "nano /etc/apt/sources.list" and press ENTER.
9) Press "VolUp + WASD" to move around. (Just like arrow keys)
10) Remove the "#" before any line that has the word "deb". (change "#deb..." or "# deb..." to "deb...")
11) Press "VolDown + X", press y, and then press ENTER to save the file as "sources.list".
12) Type "apt-get update" and hit ENTER.
13) Type "apt-get install -y aircrack-ng"
That's it!
If you want to be able to crack wifi, you will need to get an external wifi card that doesn't use much power and has monitor mode Linux drivers.
Please post your experiences below. Good luck everyone!!
- Jake
jakelikescake123 said:
Hello everyone,
I have gotten BT5 installed on my ASUS Transformer TF101 with Aircrack-ng working. (still needs wifi dongle to work) This was acomplished with Stock firmware and kernel 9.2.1.27. I dont have the VNC/GUI thing working for me, but that doesnt mean that you can accomplish that.
If your going to ask if you need root, just leave.
If something goes wrong (it should not) it is not my fault. If you blame me for this, I will laugh at you.
LETS GO!
0) Download and install "Complete Linux Installer" (Launching widget) and "Terminal Emulator" (it has a blue logo,) OTHER TERMINAL EMULATORS WONT WORK WITH THE WIDGET.
Complete Linux Installer: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Terminal Emulator: https://play.google.com/store/apps/...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
1) Download and download the torrent in the file section (i believe it is at the bottom of this post)
2) Extract the downloaded zip. (I recomend to a MicroSD)
3) Place the "Boot Backtrack" widget wherever.
4) Type in where you have the backtrack.img downloaded to (if it is on the MicroSD, it is probibly at /Removable/MicroSD/backtrack.img
5) Click OK and tap the widget that says "BOOT"
6) Go through the configuration. (only on the first boot, and if you want, try to get VNC working. I just disabled it because I can't get it working)
7) If completed successfully, you should see "[email protected]:~:".
8) Type "nano /etc/apt/sources.list" and press ENTER.
9) Press "VolUp + WASD" to move around. (Just like arrow keys)
10) Remove the "#" before any line that has the word "deb". (change "#deb..." or "# deb..." to "deb...")
11) Press "VolDown + X", press y, and then press ENTER to save the file as "sources.list".
12) Type "apt-get update" and hit ENTER.
13) Type "apt-get install -y aircrack-ng"
Thats it!
If you want to be able to crack wifi, you will need to get an external wifi card that doesn't use much power and has monitor mode Linux drivers.
Please post your experiences below! I will try to get back to you, but I cannot be certain, as I am still a student who is only 14 years old. Good luck everyone!!
- Jake
Click to expand...
Click to collapse
i have installed in my optimus 2x is it possible to install different kernel modules in the backtrack image or it will load the ones in android ?
angarato_surion said:
i have installed in my optimus 2x is it possible to install different kernel modules in the backtrack image or it will load the ones in android ?
Click to expand...
Click to collapse
Im not sure. I think that you would have to be in a root shell with the android equivalent of /proc /dev and /sys mounted and binded to the backtrack iso. Anyway, Kali linux would be the way to go. I would personally put the kernel module that I needed to load in the root of the android device and execute "insmod /driver.ko", but whatever floats your boat.
Jake
Interesting! Will try to play with this tonight
Awesome! I hope it works for you!
Sent from my Transformer TF101 using xda app-developers app
Too bad this can't be done with the internal Wifi adapter, or I'd seriously give this a run.
Agreed, and I'm sorry it can't be done (@the moment). You need to use an external adapter if your going to get it to work. Plugging in a USB adapter if you have the dock will work if you install the Linux drivers. Hope this works for you!
Sent from my Transformer TF101 using xda app-developers app
jakelikescake123 said:
Agreed, and I'm sorry it can't be done (@the moment). You need to use an external adapter if your going to get it to work. Plugging in a USB adapter if you have the dock will work if you install the Linux drivers. Hope this works for you!
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Hi,
I've got this installed on my TF201, was hoping you could recommend a USB wifi Adapter that supports monitoring.
Thanks
Kevin
how do i remove this post...
Update on self
Hello viewers,
Looking back at these posts, I realized that I almost have no idea what I am talking about. If you want to get monitor working, i suggest that you take a look at getting the ARM version of the USB Wifi card you have, and installing it to wherever it is you install the kernel modules for android. Check to see if a monitor mode patch even exists, insmod or modprobe (or whatever the android equivalent is) the driver, and give it a go.
Sorry for my past ignorance,
jakelikescake123