Related
Hey everyone! I put together some information on how to do a few things on your new Ouya! This info is by no means my own original contributions, but rather just a compilation of several different sources that I discovered through my quest to explore my Ouya. All credit goes to the original authors/brave experimenters.
SDK SETUP:
1. Install the Android SDK
2. Open SDK Manager and install the following packages:
- Tools: Including both Android SDK and Android SDK
- Android 4.1 (API 16): SDK Platform
- Android 4.0 (API 14): SDK Platform
- Extras: Android Support Library, Google USB Driver
3. Navigate to /android-sdk/extras/google/usb_driver
4. Open android_winusb.inf in an editor (I use Notepad++)
5. Add the following lines beneath [Google.NTx86]:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
6. Connect your Ouya via micro USB to your computer and turn it on (it needs to be on for adb to work)
7. Open a command window in /android-sdk/platform-tools and run the following commands:
Code:
adb kill-server
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
adb start-server
adb devices
8. After 'adb devices' you should see a number, which signifies your connected console
9. You are now ready to use adb to sideload apps
=============================================================================================================
SIDELOADING APPS:
1. Place the desired .apk file to be installed within /android-sdk/platform-tools
2. Connect the Ouya and open a command window in /android-sdk/platform-tools and run the following command:
Code:
adb install [name.of.apk.file.here]
3. Wait for it to complete the installation
4. On the Ouya, navigate to 'Make' and 'Builds' and your app will be there
=============================================================================================================
ADDITIONAL STUFF BELOW
=============================================================================================================
HOW TO SET UP WIRELESS ADB (will allow you to wireless use adb command, without connecting directly to your computer)
1. Connect OUYA console via mini-usb (or using wireless adb) and run the following commands:
Code:
adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
chmod 666 /system/build.prop
2. Open another terminal (so we can do things locally) and run the following command:
Code:
adb pull /system/build.prop
3. Open build.prop in a text editor, add this line:
Code:
service.adb.tcp.port=5555
4. Return to the second command window and run the following command:
Code:
adb push build.prop /system
5. Now go back to your shell for the OUYA and run the following commands:
Code:
chmod 644 /system/build.prop
(seriously! the console won't boot if you forget this)
Code:
mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
6. Disconnect your OUYA, put it where you want it, reboot it.
7. To wirelessly connect to your OUYA, use the following command:
Code:
adb connect 192.168.xxx.xxx
(your OUYA's ip address)
=============================================================================================================
HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES
1. Make sure you have ADB set up and working (wired or wireless).
2. Download and unzip the needed files here.
3. Place unzipped files in /android-sdk/platform-tools
4. Run the following commands to put su in the proper place:
Code:
adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
exit
exit
adb push su /sdcard/su
adb shell
su
cat /sdcard/su > /system/xbin/su
ln -s /system/xbin/su /system/bin/su
chmod 6755 /system/xbin/su
exit
exit
5. Install SuperUser and BusyBox:
Code:
adb install com.koushikdutta.superuser.apk
adb install stericson.busybox.apk
6. Run SuperUser on the Ouya (from Make > Software) and confirm the update (not in recovery).
=============================================================================================================
Again, this isn't my original content, only slightly edited (since I am OCD about writing).
My only intention is to share this knowledge with other users like me, who don't know much about this sort of thing (yet).
If i stepped on any toes, or did something wrong, I apologize. Let me know if you have any questions or concerns.
Thank you to the following people for their work in contributing to this guide:
WinDroidGuy
elmerohueso
The driver section doesn't seem to work on Windows 8 Pro 64-bit. I don't think the Google driver has been updated for Win8 yet.
You're probably right. I'm on Windows 7. I'll see if I can jump on a buddy's computer to play around with it.
Upon a quick Google search, I found this: http://forum.xda-developers.com/showthread.php?t=1161769
Perhaps give this a try? Please let me know how it goes.
I also tried Koush/ClockwordMod's universal ADB driver (adding in the Ouya section to 32/64) but same results about a bad hash in the driver file.
Well it was worth a try. I'll keep my ears open for a Windows 8 solution.
Did you try setting up adb over wireless by any chance? I don't know much about this stuff, but perhaps that's worth a try as well?
cosine83 said:
The driver section doesn't seem to work on Windows 8 Pro 64-bit. I don't think the Google driver has been updated for Win8 yet.
Click to expand...
Click to collapse
My Ouya was listed twice in Device manager and one of them was a driver problem. I manually selected my Samsung adb drivers from the list and it works fine. the easiest way yo get those is to install KIES. This was with 64 bit Windows 7.
TIP: The micro usb port is extra deep and my samsung cables don't work, fortunately I have a Kodak one that does.
It motivated to set up wireless adb.
Not getting very far, first I downloaded the SDK, which will not run on my system, might be the AV/FW or something else, but it attempts to find java (which is in the path), and then it does nothing. So I try to go the ClockWorkMod way using the Universal driver (as I saw that should work), that is better as I at least have drivers and it finds my device, but it also will not install throwing a message: "hash for the file is not present in the specified catalog. The file is likely the corrupt or the victim of tampering." Well duh, I modified the inf to get it to find the hardware for the OYUA. I'd just use Google's if I could get a copy without installing the SDK since that is obviously not going to working on this system. Any suggestions, so far while adb works fine with the G3 on this system it appears impossible to setup for the OUYA.
Please note: in C:\Java\jdk1.7u21 is the JDK in c:\java\jre is the JRE. So they are both present and up to date. If I open a command prompt and type java -version it is located and works fine, so no understanding of what "SDK Manager.exe" is doing.
Also, yes I followed the thread as best I could, first copying java into c:\android makes no sense, but I tried it (did nothing), second the adb driver does not require any extraction, where is the usb driver, it must be in a zip somewhere in the SDK for it to be installable, so can I just manually extract it?
Thanks,
ERIC
egandt said:
Not getting very far, first I downloaded the SDK, which will not run on my system, might be the AV/FW or something else, but it attempts to find java (which is in the path), and then it does nothing. So I try to go the ClockWorkMod way using the Universal driver (as I saw that should work), that is better as I at least have drivers and it finds my device, but it also will not install throwing a message: "hash for the file is not present in the specified catalog. The file is likely the corrupt or the victim of tampering." Well duh, I modified the inf to get it to find the hardware for the OYUA. I'd just use Google's if I could get a copy without installing the SDK since that is obviously not going to working on this system. Any suggestions, so far while adb works fine with the G3 on this system it appears impossible to setup for the OUYA.
Please note: in C:\Java\jdk1.7u21 is the JDK in c:\java\jre is the JRE. So they are both present and up to date. If I open a command prompt and type java -version it is located and works fine, so no understanding of what "SDK Manager.exe" is doing.
Also, yes I followed the thread as best I could, first copying java into c:\android makes no sense, but I tried it (did nothing), second the adb driver does not require any extraction, where is the usb driver, it must be in a zip somewhere in the SDK for it to be installable, so can I just manually extract it?
Thanks,
ERIC
Click to expand...
Click to collapse
By G3 do you mean Galaxy S3? If so then hopefully you already have Kies installed. When I connected my OUYA and started all of this, it did not install properly. It showed up twice in device manager, it was installed as a portable device, but was also listed as "other device" and not installed. After a lot of searching,I saw that people had been able to get out working by manually selecting the Samsung adb drivers that are included with Kies. It worked for me. You need to manually select the drivers (have disk) and install OUYA as a MTP device.
Regarding the SDK I know nothing. It installed just fine on Windows 7 for me.
Good luck
Sent from my SCH-I535 using Tapatalk 2
I was able to get ADB to work on Windows 7 64bit and Windows 8 64 bit by installing Samsung KIES and forcing it to use that driver.
eatmybiglazer said:
I was able to get ADB to work on Windows 7 64bit and Windows 8 64 bit by installing Samsung KIES and forcing it to use that driver.
Click to expand...
Click to collapse
Try this driver, got it to work, by selecting i from the list and forcing it
ERIC
Sideloading it relatively trivial for this. It is on by default (and can be toggled the usual way, you can access setting at manage->system->advanced-> security).
I used Real APK Leecher to snag ES File Explorer's APK, threw it on a web server, then downloaded it using OUYA's browser (make->software->browser). Installed it from settings (manage->system->advanced->storage->downloads)
The app then shows up under make->software
I have not tried a pen drive yet, but you could probably throw apks on a drive and use the USB port and install in a similar fashion.
I'm trying to do step 7. I input C:\Android\sdk\platform-tools into comand promt but get not regognizable message. What am I doing wrong?
You need to open the command prompt from wherever within platform-tools, or navigate to that folder from your command prompt. You can't run the adb command (which is located in platform-tools) unless your in that directory.
thanks. hopefully i'll get my OUYA soon. only 1 state away.
I dont get a number after adb devices. I editited the google usb file. Im using the 64 version of android sdk is that ok?
@tcollum: Perhaps you should add this to the OP, I tested and it worked. You can add that ;Ouya to the amd64 section of the USB driver, too
FrostyWolf said:
Sideloading it relatively trivial for this. It is on by default (and can be toggled the usual way, you can access setting at manage->system->advanced-> security).
I used Real APK Leecher to snag ES File Explorer's APK, threw it on a web server, then downloaded it using OUYA's browser (make->software->browser). Installed it from settings (manage->system->advanced->storage->downloads)
The app then shows up under make->software
I have not tried a pen drive yet, but you could probably throw apks on a drive and use the USB port and install in a similar fashion.
Click to expand...
Click to collapse
I just find it easier to ADB over Network and install from my laptop.
Sent from my Nexus 10 using XDA Premium HD app
TadeoNYC said:
My Ouya was listed twice in Device manager and one of them was a driver problem. I manually selected my Samsung adb drivers from the list and it works fine. the easiest way yo get those is to install KIES. This was with 64 bit Windows 7.
TIP: The micro usb port is extra deep and my samsung cables don't work, fortunately I have a Kodak one that does.
It motivated to set up wireless adb.
Click to expand...
Click to collapse
This was a great post...I did what you suggested and selected the latest Samsung ADB Interface driver in the windows list (think it was 23/1//2013) and voila. Thanks!
uncynd said:
This was a great post...I did what you suggested and selected the latest Samsung ADB Interface driver in the windows list (think it was 23/1//2013) and voila. Thanks!
Click to expand...
Click to collapse
You can also do the original USB driver edit in the OP and add it under the amd64 section in the inf file. Its how I did it.
dibblebill said:
You can also do the original USB driver edit in the OP and add it under the amd64 section in the inf file. Its how I did it.
Click to expand...
Click to collapse
Ahh, did not see your post that would have been a lot faster, good advice and maybe should be added to OP?
Please help me set up Xposed zenfone 5. zenfone 5 bootloop when using x86 was installed framework.
Please post a logcat of the bootloop.
Hold Power button + volume Up button to access Recovery mode.
Then select Factory Reset by volume up/down and Power button
I have same case
rovo89 build an unofficial build for asus x86, Xposed ver 2.5 beta 2, but he is not share them on xda. just do a little search on his github or google (asus x86 xposed). i've tested them on my zenfone 6, but basically 5 and 6 is almost same so i think it will work, as the installer is for another asus phone but worked on my z6.
as for bypassing your current bootloop, just press vol down (i think as i randomly press all button) after 30second of bootloop (or plug your usb, when led shows orange or yellow, depends on your battery status) it'll trigger xposed safe mode, and you can uninstall your framework then install ver 2.5 beta 2.
Sent from my ASUS_T00G
minatovladoski said:
rovo89 build an unofficial build for asus x86, Xposed ver 2.5 beta 2, but he is not share them on xda. just do a little search on his github or google (asus x86 xposed). i've tested them on my zenfone 6, but basically 5 and 6 is almost same so i think it will work, as the installer is for another asus phone but worked on my z6.
Click to expand...
Click to collapse
See http://forum.xda-developers.com/xposed/asus-me302c-problem-t2737886/post52741226
The offset required for your ROM might vary, but if the test version I had posted on GitHub worked for you, try 0x98.
rovo89 said:
See http://forum.xda-developers.com/xposed/asus-me302c-problem-t2737886/post52741226
The offset required for your ROM might vary, but if the test version I had posted on GitHub worked for you, try 0x98.
Click to expand...
Click to collapse
yeah thanks a lot mate, as i have no confidence on edit code, i choose to use the test version
Sent from my ASUS_T00G
minatovladoski said:
yeah thanks a lot mate, as i have no confidence on edit code, i choose to use the test version
Click to expand...
Click to collapse
Well, that's the whole point... in 2.6, you just need to create a file with the offset (e.g. "0x98") in it, as explained in the post I linked to. No need to edit code or recompile anything.
rovo89 said:
Well, that's the whole point... in 2.6, you just need to create a file with the offset (e.g. "0x98") in it, as explained in the post I linked to. No need to edit code or recompile anything.
Click to expand...
Click to collapse
little question here, if i update from 2.5 beta 2 to 2.6, should I create that file with the offset or not?
Sent from my ASUS_T00G
minatovladoski said:
little question here, if i update from 2.5 beta 2 to 2.6, should I create that file with the offset or not?
Click to expand...
Click to collapse
If you had to use the special build I posted on GitHub, then yes, you have to create the file. If 2.6 is working fine for you without the file, then don't create it.
trying offset
rovo89 said:
If you had to use the special build I posted on GitHub, then yes, you have to create the file. If 2.6 is working fine for you without the file, then don't create it.
Click to expand...
Click to collapse
Rovo
I have rooted my x86 based new Zenfone5 and installed xposed framework 2.5 but I have not full installed the framework yet.
I tried to use the following offset after some research:
su
echo 148> /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset
however I keep getting error "No such file or diredtory" even though if I tree down through /data/data I can see that file de.robv.android.xposed.installer is there.
Not sure what to do next? Any help will be greatly appreciated as I must have xposed framework on this device or it is pretty much useless! Thank you in advance!
Root MUST be done. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed apk and install the apk. DO NOT RUN APP AND DO NOT INSTALL FRAMEWORK.
Step2: Rn command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step 3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step4: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons.
rovo89 said:
See http://forum.xda-developers.com/xposed/asus-me302c-problem-t2737886/post52741226
The offset required for your ROM might vary, but if the test version I had posted on GitHub worked for you, try 0x98.
Click to expand...
Click to collapse
My ZenFone 6 (also an Intel Z2580 SoC) is running Android 4.4.2 (closed beta version),
I tried whether set 0x98 offset or not, the phone can boot normally but system lags and will be freezed / reboot randomly.
Thus I set "dalvik.vm.execution-mode=int:fast" now and Xposed framework / module works fine.
I attached the libdvm.so from my ZenFone 6 running Android 4.4.2.
Thanks...
i have zenfone 5 with 1.18 ww firmware (from 1.96 cucc)
i tried to install xposed using instruction here below
####################################
*** Install Xposed: Root is a MUST. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed apk and install the apk. DO NOT RUN APP AND DO NOT INSTALL FRAMEWORK.
Step2: Run command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step4: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons.
##########################
but echo command failed because ther isn't a conf folder in /data/data/de.robv.android.xposed.installer/
any suggestion?
Thanks
Stefano
Hi,
Since the Zenfone is fairly new, I was wondering if there was a way to run Xposed modules on the zenfone 5 without rooting.
If not, then how do I root my zenfone 5?
thanks!
~Nick
The Xposed Installer requires root to install the framework.As to how to root your phone, I'd start by searching XDA and checking your device's forum. If that doesn't help, try asking in your device's Q&A section, or the Android Q&A section.
Root MUST be done. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed apk and install the apk. DO NOT RUN APP AND DO NOT INSTALL FRAMEWORK.
Step2: Rn command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step 3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step4: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons.
quyvinh said:
Root MUST be done. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed apk and install the apk. DO NOT RUN APP AND DO NOT INSTALL FRAMEWORK.
Step2: Rn command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step 3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step4: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons.
Click to expand...
Click to collapse
Why is this not working for me.. in the part where you use echo and chmod, it always say "directory/file doesn't exist" HELP PLEASE!
1. Download and install Intel USB driver for Android http://www.fshare.vn/file/TDQMT8YQ2T/
2. Download and extract ADB Fastboot Tool http://www.fshare.vn/file/CBR2V0ATPO/
3. Download xposed apk and install the apk (DO NOT INSTALL FRAMEWORK) http://dl-count.xposed.info/modules/de.robv.android.xposed.installer_v32_de4f0d.apk
4. Open folder adb fastboot tool and hold shifl + right mouse, select Open command window here
5. type
"adb shell" (lookat the phone, touch allow or OK)
"su" (lookat the phone, touch allow or OK)
"echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset"
"chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset"
4. Open Xposed Installer and install Framework >>>>>>>reboot and enjoy
hristcroixqwerty said:
Why is this not working for me.. in the part where you use echo and chmod, it always say "directory/file doesn't exist" HELP PLEASE!
Click to expand...
Click to collapse
open the xposed app first, but don't do anything.. and try again
hy...
can help me??
i can install xposed installer...i have root my zenfone 5...please help me..
look guys... easy step install xposed and root zenfone 5
https://youtu.be/x18ksHYqut0
https://www.youtube.com/watch?v=WPxfIAhyIRw
My fone is Asus Zenfone 5, now im trying to install the xposed by doing this..
"Root MUST be done. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed apk and install the apk. DO NOT RUN APP AND DO NOT INSTALL FRAMEWORK.
Step2: Rn command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step 3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step4: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons."
At first, when i input the echo and chmod it always say file or directory not found. So tried to manully add a folder "conf" in the directory then after input again the echo and chmod part, so it works. But when i tried to activate the framework it doenst get activate. Here's the log file.
THanks!
Try installing any module.
I am facing the exactly same problem while installing the framework. The logcat is same too. I have also tried to change the installation method to manual and flashing the zip from recovery. Still no success.
I downloaded a module as well. Nothing's changed.
OP: Did you make any progress??
Hi,
I had the same problem.
The procedure is correct, but the app need to run once, and kill her in resource manager, otherwise does not create directory.
For me it works perfectly.
I can't take credit for it... and I can't provide credit because I can't share the website yet.... either way I don't care. It works if you follow these steps.
Here's how I installed Xposed on my Rooted ME375CL. I found the directions in another post but the key difference is that you do have to run xposed so that it installs the "conf/jit_reset_offset" directories/files. Also clarified that you download and install "xposed installer," this was a little confusing because there are a large number of xposed files on google play. I did't download from the google play. I got them directly from the xposed installer website.
Root MUST be done. USB debug turned on. Windows only and Driver for Intel and ASUS must be ready on PC.
Step1: download xposed installer apk and install the apk. DO NOT INSTALL FRAMEWORK.
Step2: Rn command promt (Run / cmd). assume adb folder is on C:\ drive and you are now in C:\ADB
Step 3: Type following (or copy and paste)
adb devices (make sure your phone show!)
adb shell (hit Enter)
su (hit Enter, then look on your phone and touch OK)
Step 4: RUN APP, but do NOT install framework.
echo 148 > /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
chmod 664 /data/data/de.robv.android.xposed.installer/conf/jit_reset_offset (hit Enter)
Step 5: Now go to app drawer and run Xposed which you installed earlier. Touch "Framework" and touch "Install/Update"
DONE. Now install addons
Maybe you cant link to the site yet but you can mention the name.
vgchat said:
Maybe you cant link to the site yet but you can mention the name.
Click to expand...
Click to collapse
TimmyP posted a link on the "Need help rooting At&t Asus Memo Pad 7 LTE (ME375CL) aka K00X, Please Help!" thread (post #41).
The link goes to another site, where Hikari then post details going back to xda which quotes quyvinh.