Trying to install bootloader/ROM/kernel on Ouya, need assistance... - Ouya Q&A, Help & Troubleshooting

So, a friend brought his Ouya over and asked me to root it and install a new kernel on it, telling me the one(s) he wanted was this:
http://forum.xda-developers.com/showthread.php?t=2624039
My problem is, when installing the bootloader it seems the one that was downloaded was *not* the one with fastboot in it, which was my mistake. I need to install the newer version with fastboot in order to install the kernel (as far as I understand, as I've always flashed kernels in fastboot), but now when I type su in adb shell, it returns, "/sbin/sh: su not found." The Ouya starts into the bootloader and then recovery just fine, but I can't get it to do anything else at this moment.
I know I did something wrong, but how did I remove superuser access? I know I had it, because I was able to install the bootloader using the dd command. How can I fix this, if someone would be so kind as to assist?

Related

BRICKED Galaxy Nexus - please help me restore/advice

Hi I attempted to root my phone, got SU but was having problems flashing any roms, using any apps that required /root or accessing recovery. Figured something might not have worked and tried to unroot and start again. All steps were followed via http://forums.androidcentral.com/ve...-root-unroot-unlock-your-vz-galaxy-nexus.html
I'm stuck in the Google bootscreen with my only other option being bootloader, it still says Locked State - Unlocked. But my computer can't see my phone, Odin doesn't work and I still don't have a definitive method of restoring my phone via a MAC.
This ISN'T Resolved. I get errors when attempting to fastboot the stock image
~/Desktop/adb-fastboot/adb reboot bootloader
brings about the following error
"error: device not found"
I was already in bootloader and tried:
~/Desktop/adb-fastboot/fastboot flash boot ~/Desktop/adb-fastboot/boot.img
I get:
error: cannot load '/Users/grnmons/Desktop/adb-fastboot/boot.img'
If anybody has any ideas please let me know, I really don't know what to do at this point.
grnmons said:
Hi I attempted to root my phone, got SU but was having problems flashing any roms, using any apps that required /root or accessing recovery. Figured something might not have worked and tried to unroot and start again. All steps were followed via http://forums.androidcentral.com/ve...-root-unroot-unlock-your-vz-galaxy-nexus.html
I'm stuck in the Google bootscreen with my only other option being bootloader, it still says Locked State - Unlocked. But my computer can't see my phone, Odin doesn't work and I still don't have a definitive method of restoring my phone via a MAC.
If anybody has any ideas please let me know, I really don't know what to do at this point. Plan B is to use a PC which I can only access later in the week. If you know someone, or have a link I would really appreciate it. Also ask me anything if it can help make this clearer.
Thanks
Click to expand...
Click to collapse
Okay your bootloader is unlocked which is good, but your MAC doesn't see your phone in bootloader mode?
grnmons said:
Plan B is to use a PC which I can only access later in the week.
Click to expand...
Click to collapse
Can you bootcamp or use a virtual machine?
grnmons said:
Hi I attempted to root my phone, got SU but was having problems flashing any roms, using any apps that required /root or accessing recovery. Figured something might not have worked and tried to unroot and start again. All steps were followed via http://forums.androidcentral.com/ve...-root-unroot-unlock-your-vz-galaxy-nexus.html
I'm stuck in the Google bootscreen with my only other option being bootloader, it still says Locked State - Unlocked. But my computer can't see my phone, Odin doesn't work and I still don't have a definitive method of restoring my phone via a MAC.
If anybody has any ideas please let me know, I really don't know what to do at this point. Plan B is to use a PC which I can only access later in the week. If you know someone, or have a link I would really appreciate it. Also ask me anything if it can help make this clearer.
Thanks
Click to expand...
Click to collapse
Wrong section..but
I would def use a PC and use Odin ! Make your life easier...it takes like 3-5 Mins..takes it to stock!
Sent from my Galaxy Nexus using xda premium
All you have to do is fastboot flash those stock images of 4.0.2 google gave us. There's not even any need for Odin. You can do this right on your Mac.
Sent from my Galaxy Nexus using Tapatalk
Please uninstall and reinstall your phones drivers. Your just soft bricked is all. Once your computer sees the device you should be good.
sent from the Almighty One himself....
borgey said:
All you have to do is fastboot flash those stock images of 4.0.2 google gave us. There's not even any need for Odin. You can do this right on your Mac.
Click to expand...
Click to collapse
I can't seem to figure out how to do that. Seems like that's what got me here in the first place, the mac version might be missing files I'm missing the steps to actually do that.
Can't find any forum/site/guide that tells me how to do that. Does anybody have this?
grnmons said:
I can't seem to figure out how to do that. Seems like that's what got me here in the first place, the mac version might be missing files I'm missing the steps to actually do that.
Can't find any forum/site/guide that tells me how to do that. Does anybody have this?
Click to expand...
Click to collapse
fastboot flash (google on how to use these)
you do them when you're in bootloader mode. you need to have a ADB/Fastboot environment set up (look at root guides and do step one of it..... verifying the part of getting the environment, ignore drivers)
stock images are here: http://code.google.com/android/nexus/images.html
zephiK said:
fastboot flash (google on how to use these)
you do them when you're in bootloader mode. you need to have a ADB/Fastboot environment set up (look at root guides and do step one of it..... verifying the part of getting the environment, ignore drivers)
stock images are here: http://code.google.com/android/nexus/images.html
Click to expand...
Click to collapse
Thanks. Can you confirm that these are the steps?
1) Download the latest stock image( i will leave finding that image to you since this post can become outdated)
2) Unzip the files, and place the images into the adb-fastboot folder you created on your desktop above.
3) Open a terminal and use the following commands:
Code:
~/Desktop/adb-fastboot/adb reboot bootloader
4) Wait for bootloader to reboot on phone.
5) Then, in terminal use the following commands:
~/Desktop/adb-fastboot/fastboot flash boot ~/Desktop/adb-fastboot/boot.img
~/Desktop/adb-fastboot/fastboot flash system ~/Desktop/adb-fastboot/system.img
~/Desktop/adb-fastboot/fastboot flash recovery ~/Desktop/adb-fastboot/recovery.img
~/Desktop/adb-fastboot/fastboot flash userdata ~/Desktop/adb-fastboot/userdata.img
~/Desktop/adb-fastboot/fastboot erase cache
~/Desktop/adb-fastboot/fastboot oem lock
6) Reboot to System, and you should be returned to Stock and Unrooted
~/Desktop/adb-fastboot/adb reboot bootloader
brings about the following error
"error: device not found"
I was already in bootloader and tried:
~/Desktop/adb-fastboot/fastboot flash boot ~/Desktop/adb-fastboot/boot.img
I get:
error: cannot load '/Users/grnmons/Desktop/adb-fastboot/boot.img'
anybody have any other suggestions to this? or a follow up?
It should be easy to fix. You do not seem to have the correct driver installed.
Sent from my Galaxy Nexus using xda premium
Understood, I think I definitely did a few things wrong here. But my problem requires some kind of steps to solve. I don't mean to sound lazy but I've been running around the forums for awhile and I'm in way over my head, I was hoping someone could just list a few steps, links, SOMETHING. I'm looking for solvency here.
grnmons said:
Understood, I think I definitely did a few things wrong here. But my problem requires some kind of steps to solve. I don't mean to sound lazy but I've been running around the forums for awhile and I'm in way over my head, I was hoping someone could just list a few steps, links, SOMETHING. I'm looking for solvency here.
Click to expand...
Click to collapse
reinstall the android sdk from here that will get your drivers in order so your computer can see your phone
then fastboot flash recovery
then manually flash su (attached)
ogdobber said:
reinstall the android sdk from here that will get your drivers in order so your computer can see your phone
then fastboot flash recovery
then manually flash su (attached)
Click to expand...
Click to collapse
Thanks muchly, I feel like I'm getting closer but could you elaborate on the manual flash su step? My **** is all over the place now, my desktop is littered with files, should I be in recovery for this or still fastboot? and what is the command if you have?
grnmons said:
Thanks muchly, I feel like I'm getting closer but could you elaborate on the manual flash su step? My **** is all over the place now, my desktop is littered with files, should I be in recovery for this or still fastboot? and what is the command if you have?
Click to expand...
Click to collapse
download the gnex-su.zip and put in in the root of your sd card. then in recovery select "-install zip from sdcard" then "-choose zip from sdcard" then select the gnex-su.zip. this will give you root and install the superuser app
not to get ahead (previous post), but after your computer recognizes the phone you need to flash clockwork recovery
you need to open a terminal in the platform-tools folder of the sdk (also put the recovery.img there) and then
Code:
fastboot flash recovery name-of-recovery.img
Thanks for your help ogdobber, I'm incredibly frustrated and you must be too trying to help me, but I must have done something wrong as after I flash recovery, i still cannot access it - it continues to hang out in the Google screen.
Let me go through my steps with you and you tell me what I might have done wrong. So with my bricked phone, 1. I clicked your link and updated my SDK.
There's no indication that I did anything right here, it just shows that everything is installed and that's all I think I need here.
2. Opened up terminal fastboot flash boot (in this case) bootloader-toro-primekk15.img DONE!
3. Fastboot flash recovery (in this case) recovery-clockwork-5.0.2.0-crespo.img
DONE!
Then... nothing. Recovery doesn't load for me. Just get a boot loop. Anything I might have done wrong prior or inbetween these steps? Also, besides flashing and running commands off terminal - i assume this is considered computer recognizes my phone. Could the problem be there?
Just got your last post, I'm unfamiliar with SDK but I've since put the recovery file in there, not sure how to flash recovery. I have tried flashing recovery through terminal and surprisingly it says "-bash: fastboot: command not found"
grnmons said:
Thanks for your help ogdobber, I'm incredibly frustrated and you must be too trying to help me, but I must have done something wrong as after I flash recovery, i still cannot access it - it continues to hang out in the Google screen.
Let me go through my steps with you and you tell me what I might have done wrong. So with my bricked phone, 1. I clicked your link and updated my SDK.
There's no indication that I did anything right here, it just shows that everything is installed and that's all I think I need here.
2. Opened up terminal fastboot flash boot (in this case) bootloader-toro-primekk15.img DONE!
3. Fastboot flash recovery (in this case) recovery-clockwork-5.0.2.0-crespo.img
DONE!
Then... nothing. Recovery doesn't load for me. Just get a boot loop. Anything I might have done wrong prior or inbetween these steps? Also, besides flashing and running commands off terminal - i assume this is considered computer recognizes my phone. Could the problem be there?
Click to expand...
Click to collapse
that is for the nexus s
check your pm
ogdobber said:
that is for the nexus s
check your pm
Click to expand...
Click to collapse
If you are still having problems ...like I said before ...use Odin......since the simple process of fastboot is not working properly for you.Odin makes things so Much easier
Sent from my Galaxy Nexus using xda premium

BurritoRoot failed

So for hours I have been in the forums everywhere on the internet always leading back here. I am trying to root my kindle fire. I have everything set up the way it should adb enabled the whole 9 yards. I used the kindle fire utility to root. However Burrito root on my kindle fire says i need to run "adb shell /data/local/tmp/BurritoRoot3.bin --root" so i did, after I do that I do the "adb shell /data/local/tmp/BurritoRoot3.bin --intstall" it shows up and looks good. BurritoRoot says thank you I go to flash the bootloader and it says access denied bootloader not flashed then run "adb shell /data/local/tmp/BurritoRoot3.bin --root" . If i opt not to install the bootloader i'm back at the run"adb shell /data/local/tmp/BurritoRoot3.bin --root"
I HATE THIS, i'm so stuck so lost. and so new to this. Please someone shed some light on this!!! I want jellybean on here bad!
That's because burrito root is outdated it will not work for 6.31
You need the 9.6 version of kfu if your gonna flash a rom rooting is obsolete all you need is fff and twrp and you can flash a rom but right now the download for twrp is broken I would wait till it is fixed and confirmed fixed before attempting to do anything plain and simple....
The newest version can be found here http://forum.xda-developers.com/showthread.php?t=1399889
Thepooch said:
That's because burrito root is outdated it will not work for 6.31
You need the 9.6 version of kfu if your gonna flash a rom rooting is obsolete all you need is fff and twrp and you can flash a rom but right now the download for twrp is broken I would wait till it is fixed and confirmed fixed before attempting to do anything plain and simple....
The newest version can be found here http://forum.xda-developers.com/showthread.php?t=1399889
Click to expand...
Click to collapse
No.. I have the 9.6 version and I do not have 6.31 on my kindle. When I try to install twrp and firefirefire it tells me I need to run "adb shell /data/local/tmp/BurritoRoot3.bin --intstall"
I may be wrong (unlikely) but I'm 99.999999999% sure KFU 9.6 does NOT use (or even call for) BurritoRoot to gain temporary root access. It uses a certain binary to set your bootmode to "fastboot" so you can install and access custom recovery, which is what gives you the temporary root access needed to permanently root the device.
Perhaps you downloaded the wrong one?
soupmagnet said:
I may be wrong (unlikely) but I'm 99.999999999% sure KFU 9.6 does NOT use (or even call for) BurritoRoot to gain temporary root access. It uses a certain binary to set your bootmode to "fastboot" so you can install and access custom recovery, which is what gives you the temporary root access needed to permanently root the device.
Perhaps you downloaded the wrong one?
Click to expand...
Click to collapse
I have the correct one. About a year ago i tried to root it and I got that error. I thought before I unrooted and restored my kindle. i guess i did not. So now I cant seem to do anything because of my current issue. It works fine, however when i plug my kindle into my computer the sdcard does not show up. I just want this thing to be normal now!
Ok, what ROM are you running? Most custom ROMs these days require you to turn USB debugging off before it will mount the sdcard to USB, unless you're in recovery, in which case you have to use the "mount" function.
soupmagnet said:
Ok, what ROM are you running? Most custom ROMs these days require you to turn USB debugging off before it will mount the sdcard to USB, unless you're in recovery, in which case you have to use the "mount" function.
Click to expand...
Click to collapse
No rom.. Its the standard kindle fire android os. I tried rooting about a year ago with burrito root. didnt work.. and now Its still the standard kindle os. It does not show the sdcard. ALSO when i boot i get the triangle to boot into recovery but I cant actually boot into it. this has been going on for a year....
Well, what do you want to do with it? Do you want to try and root it again? Install recovery and FFF?
There's probably no way to tell exactly what's wrong (or fix it) without reinstalling either a new stock or custom ROM. But if I were to guess, I would say it would probably have something to do with your computer, considering you haven't done much to the device other than attempting root. Although, the fact that your recovery partition is either missing or corrupt is a bit concerning. It was obviously installed because of the version of FFF you have was packaged with it, so the fact you can't access it is pretty strange.
soupmagnet said:
Well, what do you want to do with it? Do you want to try and root it again? Install recovery and FFF?
There's probably no way to tell exactly what's wrong (or fix it) without reinstalling either a new stock or custom ROM. But if I were to guess, I would say it would probably have something to do with your computer, considering you haven't done much to the device other than attempting root. Although, the fact that your recovery partition is either missing or corrupt is a bit concerning. It was obviously installed because of the version of FFF you have was packaged with it, so the fact you can't access it is pretty strange.
Click to expand...
Click to collapse
Well, I wanted to install jellybean on it, but seeing as I cant get it rooted fully or unrooted? appearently and FFF and twrp on there correctly i tried just making it "normal" or "stock" however from what i read, i cant do that without access to the sdcard. So I'm lost. it doesnt only happen on the one computer, it happens on several. Any ideas?
tadcrazio said:
Well, I wanted to install jellybean on it, but seeing as I cant get it rooted fully or unrooted? appearently and FFF and twrp on there correctly i tried just making it "normal" or "stock" however from what i read, i cant do that without access to the sdcard. So I'm lost. it doesnt only happen on the one computer, it happens on several. Any ideas?
Click to expand...
Click to collapse
http://www.linuxliveusb.com/
http://forum.xda-developers.com/showthread.php?p=22067293
I'm on ubuntu as we speak.. no sdcard.. not sure what you want me to do..
tadcrazio said:
I'm on ubuntu as we speak.. no sdcard.. not sure what you want me to do..
Click to expand...
Click to collapse
I did what was in that thread.. and now getting jellybean?
tadcrazio said:
I'm on ubuntu as we speak.. no sdcard.. not sure what you want me to do..
Click to expand...
Click to collapse
::banging head on desk::
Why didn't you say you were already on Linux? Is it safe to assume you already have your udev rules set up for the KF as well?? Use the Pokey9000 method (fbmode) to put it into fastboot, reinstall TWRP and then use TWRP to install FFF1.4. Neither one of those requires the sdcard (but TWRP may give you access to it). TWRP gives you the temporary root needed to flash a custom ROM and permanently root it, which may very well fix all of your problems.
If not, at least you have something better to work from.
---------- Post added at 11:29 PM ---------- Previous post was at 11:26 PM ----------
Are you unable to use TWRP to mount your sdcard or use "adb push" to get something to it? You may have to try and mount it with the command line. It seems you somehow lost your mountpoint
---------- Post added at 11:50 PM ---------- Previous post was at 11:29 PM ----------
What do you get when you enter (in recovery):
Code:
adb shell cat /proc/partitions
soupmagnet said:
::banging head on desk::
Why didn't you say you were already on Linux? Is it safe to assume you already have your udev rules set up for the KF as well?? Use the Pokey9000 method (fbmode) to put it into fastboot, reinstall TWRP and then use TWRP to install FFF1.4. Neither one of those requires the sdcard (but TWRP may give you access to it). TWRP gives you the temporary root needed to flash a custom ROM and permanently root it, which may very well fix all of your problems.
If not, at least you have something better to work from.
---------- Post added at 11:29 PM ---------- Previous post was at 11:26 PM ----------
Are you unable to use TWRP to mount your sdcard or use "adb push" to get something to it? You may have to try and mount it with the command line. It seems you somehow lost your mountpoint
---------- Post added at 11:50 PM ---------- Previous post was at 11:29 PM ----------
What do you get when you enter (in recovery):
Code:
adb shell cat /proc/partitions
Click to expand...
Click to collapse
okay.. Well I was on windows 7 all prior to this. I do not have edev rule set up i dont think.. All of this is new to me. Only thing i did was set up adb from the link you posted earlier
Ok, my apologies. You need to get into recovery and enter the previous code so we can see if your sdcard partition even exists. If so we'll try to mount it via command line. It may be as simple as reformatting it or recreating the mountpoint.
If not, we'll probably have to rebuild your partition table, which isn't as bad as it seems.
Either way, it's most likely fixable.
soupmagnet said:
Ok, my apologies. You need to get into recovery and enter the previous code so we can see if your sdcard partition even exists. If so we'll try to mount it via command line. It may be as simple as reformatting it or recreating the mountpoint.
If not, we'll probably have to rebuild your partition table, which isn't as bad as it seems.
Either way, it's most likely fixable.
Click to expand...
Click to collapse
I can't get into recovery. When i boot up it has the yellow triangle with fire and at the bottom says press powerbutton for recovery. If i hold the powerbutton it either gets in a bootloop or shuts off..
tadcrazio said:
I can't get into recovery. When i boot up it has the yellow triangle with fire and at the bottom says press powerbutton for recovery. If i hold the powerbutton it either gets in a bootloop or shuts off..
Click to expand...
Click to collapse
Which is why I said earlier to reinstall TWRP and then FFF1.4.
[Edit:] just be sure to flash FFF1.4 in recovery.
soupmagnet said:
Which is why I said earlier to reinstall TWRP and then FFF1.4.
[Edit:] just be sure to flash FFF1.4 in recovery.
Click to expand...
Click to collapse
Reinstall them on linux or in windows? if on linux how?
Whichever one works for you. If you're able to send adb and fastboot commands with no problem in Windows then use it. If not, you'll have to use Linux.
soupmagnet said:
Whichever one works for you. If you're able to send adb and fastboot commands with no problem in Windows then use it. If not, you'll have to use Linux.
Click to expand...
Click to collapse
oi, i'm probably overlooking something and being a pain in the neck. But I dont know the commands for either one.. I'm sorry i need like step by step instructions unfortunately

[Q] help for root

Hi guys,
I have already read dozens of pages regarding the procedure to root my new Htc M8 but I am still a bit confused.
In the picture attached you can see the status of my phone, I think the previous owner has already unlocked it .
What I am kindly ask you is to help me to find the next step to root the phone. I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery" but I'm not sure and I don't want to make a disaster !!!
Can U help me? I'm on Mac.
thanks
ciao
fausto
now flash any custom recovery and then flash supersu.zip from recovery to make your handset root
fcasini said:
I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery"
Click to expand...
Click to collapse
That is not the proper way to install TWRP, and I don't know how you got that notion.
The proper way to install TWRP is described on the TWRP website (see under "Fastboot Install Method"): https://twrp.me/devices/htconem8gsm.html
fcasini said:
Hi guys,
I have already read dozens of pages regarding the procedure to root my new Htc M8 but I am still a bit confused.
In the picture attached you can see the status of my phone, I think the previous owner has already unlocked it .
What I am kindly ask you is to help me to find the next step to root the phone. I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery" but I'm not sure and I don't want to make a disaster !!!
Can U help me? I'm on Mac.
thanks
ciao
your lucky to have s-off already phone lol, install TWRP via fastboot command then flash supersu in TWRP
Click to expand...
Click to collapse
ok, thanks to all,
now I have downloaded the TWRP.IMG, adb and Fastboot files and I am approaching to connect my phone to mac, open terminal and then
./adb reboot bootloader
./fastboot twrp.img
SuperSU is already installed on the phone, so I think I don't need to download and install again.
Is it right?
Once Flashed the twrp image, phone will be wiped?
Thank you again, you help and patience is very appreciated
ciao
fausto
fcasini said:
SuperSU is already installed on the phone, so I think I don't need to download and install again.
Is it right?
Click to expand...
Click to collapse
Did you check to see if the phone was still rooted? It was clearly modded by the previous owner, so may still be rooted. You can check with one of the root checker apps; or simply any app that requires root (such as Titanium Backup).
Although its also possible they unrooted and left the SuperSU app still installed. Just having the app installed does not in itself give you root, the binary also has to be installed. So if that is the case (no root) then UES you will still need to download the current version SuperSU and flash in TWRP in order to gain root.
fcasini said:
Once Flashed the twrp image, phone will be wiped?
Click to expand...
Click to collapse
Nope, TWRP just overwrites the recovery partition. Completely separate partition from user data, ROM, etc.
Regardless, I still highly recommend you backup any personal data that is important to you (preferably backup to an off-phone location) before doing any mods, just in case something goes wrong.
Hi Redpoint73, thanks for the useful info.
I am pretty sure that it is unrooted. I unsuccessfully tried to install Titanium Backup and also the SuperSu application don't start because of the missing of root permission.
Then If I have understood your suggestions:
1) connect the phone with debug Usb ON
2) type ./fastboot twrp.img
3) Phone off
4) Power+Vol-
5) Fastboot menu
6) Recovery+Power
Is it right?
And then? What's happen after? The phone will reboot himself?
thanks
ciao
My comments below in red font:
fcasini said:
Then If I have understood your suggestions:
1) connect the phone with debug Usb ON Doesn't matter if Debugging is on, this only enables adb commands. Fastboot commands work regardless of debugging on or not. But Debugging on is good to have in other situations (so I usually leave it on).
2) type ./fastboot twrp.img Don't know where you got this syntax from. Its not correct. The command given on the link I gave previously (Post #3) states: fastboot flash recovery twrp.img
If the syntax is not exactly right, the command will fail or perform the wrong action. Also note that the TWRP img filename in the command needs to match the actual TWRP file you with to flash. You will notice when you download the TWRP file, the file name is actually much longer than just "twrp.img". So you can either type that whole filename exactly, or change the name of the file to actually be "twrp.img" (with no quotes)
3) Phone off
4) Power+Vol-
5) Fastboot menu
6) Recovery+Power
Click to expand...
Click to collapse
At some point before Step 6, you need to put the SuperSU zip on the phone. You can download it direct to your phone from here: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
After step 6 (boot into TWRP) select "Install" from the main menu. Navigate to the SuperSU zip, then select it. Once its flashed, reboot. You should be rooted and good to go.
redpoint73 said:
My comments below in red font:
fastboot flash recovery twrp.img.
Click to expand...
Click to collapse
redpoint73, I need your precious help
I have connected my phone to the Mac but with the command "./fastboot flash recovery twrp.img" I get the message "Permission denied".
Even with other command like ./reboot or ./adb devices...
What is going wrong? Maybe I've missed something?
I followed also the instruction here https://www.youtube.com/watch?v=WOW38u-02I0 but without luck...
Help!!!
ciao
fausto
fcasini said:
redpoint73, I need your precious help
I have connected my phone to the Mac but with the command "./fastboot flash recovery twrp.img" I get the message "Permission denied".
Even with other command like ./reboot or ./adb devices...
What is going wrong? Maybe I've missed something?
Click to expand...
Click to collapse
I don't know anything about Mac's, so I probably will be of limited help in that regard.
Did you install the Android SDK, or other Mac friendly adb-fastboot environment?
it is really strange...
I have installed both Adb and fastboot but whenever I try to flash the image file I get the same error: Permission denied.
With Mac there is no need of driver to work and I don't know ho to proceed.
Thank you redpoint73, your help has been very appreciated, I will search again on the net to solve the problem.
Have a nice day
ciao
fausto
fcasini said:
it is really strange...
I have installed both Adb and fastboot but whenever I try to flash the image file I get the same error: Permission denied.
Click to expand...
Click to collapse
Make sure you are running fastboot command while the phone is in bootloader-fastboot mode. Run adb command while booted into OS (and Debugging needs to be enabled in Settings).
You are in the correct directory (where your fastboot and adb executables are located) when running the commands?
Try finding a thread specific to running adb/fastboot on a Mac (probably doesn't need to be M8 specific) and reading up or post a link to this thread. This may be some Mac-specific nuance that I am not knowledgeable in.
thanks again dear redpoint73,
I checked again and It seems to be all right but it doesn't work.
I have just one doubt yet. Perhaps I have to flash a root file like this http://www.androidrevolution.org/do...le=Android_Revolution_HD_Root_and_BusyBox.zip and then supersu.img through recovery menu?
Could it be the way to gain the permission?
thanks
ciao

[SOLVED] Sideload from recovery: Watch does not appear in adb devices

Hi all,
I have seen mentions in several places (including here http://9to5google.com/2014/12/18/how-to-update-android-wear-manually-ota-downloads/ and there http://forum.xda-developers.com/showpost.php?p=61430452&postcount=6 ) that it is possible to sideload an OTA to the SmartWatch 3 without using fastboot or rooting, just rebooting in recovery and running adb sideload.
However, in my case, although the watch properly appears in "adb devices" when it's powered on, when I go into recovery, it does not appear anymore... And thus I can't run "adb sideload" as adb, obviously, says "no devices found"
Any idea? Am I missing some trick? I have tried this both on Windows 8 and on Ubuntu, both behave in the exact same way.
I have also tried going into recovery using two different means: "adb reboot recovery" and using the menu that has fastboot/recovery options, nothing solves the issue.
Thanks!
PS: The reason why I am trying to sideload the OTA is to go 4.4 -> 5.0.1 and not 4.4 -> 5.1.1 because of all the 5.1.1 issues + I hate 5.1.1 UI
Did you click the adb sideload button in recovery? This enables adb.
If that does not work, try using fastboot to temporarily boot twrp from fastboot, but you will need to install fastboot drivers on your p.c. and find a 4.4 version of twrp.
The command is
Code:
fastboot boot twrp.img
From there you should be able to use adb.
Hi!
Do you mean selecting the "sideload" option in recovery? Yes I have selected this (by swiping down and then right to validate the choice) and my device still does not show up in adb. Have you been able to do this on the SmartWatch3? I feel like most people have experience with the LG G Watch...
In order to flash TWRP. I need to unlock the bootloader, don't I? If I can avoid voiding my warranty, that'd be great...
Thanks!
My first thought was the sideload option. I did not do it, but am on an SW3. I went right to option 2.
This does not unlock your boot loader, or void your warranty. What it does is hotboot another Rom (in this case recovery) without writing it to disk. I did do this, and it worked well.
This is the thread I followed. Skip the fast foot unlock step. That. An void your warranty.
http://forum.xda-developers.com/showthread.php?t=3107501
Oh! This is pretty awesome. Trying it, thanks a lot!
YESS! lekofraggle, I owe you a good one
So, for future readers, here is the procedure I went through. I have tried many different ways, this is the only which yielded results, so I'll only explain this one:
1) First, make sure that when your watch is connected to your phone, it displays the notification prompting you to upgrade your andoird wear version (I am not sure it will work if you don't have this notificaiton) (note that this notification only appears when the watch is connected to the phone in bluetooth, for me)
2) Follow http://forum.xda-developers.com/showthread.php?t=3107501 instructions to hot boot TWRP 5.0.2 (yes, even though you're in 4.4, does not matter (too much)). (command: fastboot boot twrp.img)
3) Root your watch by downloading the rooting zip from http://forum.xda-developers.com/attachment.php?attachmentid=3342605&d=1433157678 and "adb push yourzip /sdcard/root.zip"
4) In TWRP, your watch, go to "Install" and select "root.zip". You watch is now rooted.
5) Reboot your watch in normal android boot. Now push the OTA zip to it: "adb push yourota.zip /sdcard/update.zip"
6) Now is the trick: Replace the official OTA by yours: do "adb shell" and then "rm /cache/update.zip" and "cp /sdcard/update.zip /cache/update.zip".
7) Now check you still have the notification prompting for upgrade (your watch needs a bluetooth connection to phone, else it does not display it). Check the zip in /cache is still your by looking at the size, for instance: "ls -l /cache/update.zip" and compare with the size of your file.
8) If you're confident it is still your file, use the notifcation prompt on the watch and say you are ready to apply the upgrade.
9) Watch restarts and upgrade.... using your OTA file !
I tried using the custom "recovery command" that tutorials like http://www.carbontesla.com/2014/12/tutorial-update-smartwatch-3-lwx48p-android-5-0-1/ tell you to use but it would not work for me, only the notification would really trigger the upgrade...
Hope it helps!
PS: The reason for not using "adb sideload" directly from TWRP is that my OTA package (4.4 -> 5.0.1) would not be applied, it would complain that I am trying to apply it from a 5.0.2 system while it should be applied from a 4.4 system (oh, really?).
Great, I am glad it worked for you.
Two points for others travelling this path.
1)I am not sure you need to be rooted to do this, because twrp has its own permissions.
2) Did you try to use the install update.zip feature of twrp? That should have worked too.
Either way, I am glad you got there.
~Leko

Soft Brick, couldn't flash anything, now can't mount anything

When I boot to twrp in recovery, I am unable to accomplish anything -- wipe or install. When I try to do either I get an error about "unable to mount sdcard". I have seen this thread, but cannot find the zip mentioned anywhere. I am able to run "adb push" to /sdcard and then to actually see the file pushed there in twrp recovery. I'm just not able to do anything with the pushed file in the install function.
Tried mounting with adb shell, but kept getting error of "Invalid argument". Did discover that /sdcard is /dev/block/mmcblk0p36, and using fdisk in adb shell found that it "doesn't contain a valid partition table". I'm not concerned about losing data. Everything was backed up, but anybody know how to create the correct partition table so I can install a ROM?
Original post:
So I screwed up. I rooted my phone according to this post. Unfortunately I then did something stupid when trying to flash a new recovery and get actual SU privileges to remove bloatware. Instead of going back to the first page in that thread and seeing the links to use there, I followed this guide. Unfortunately, when I ran the script, install-insecure-linux.sh, it flashed the boot.insecure.img and then spit out errors related to incompatibility with the ncurses version on my laptop. It seems difficult if not impossible to downgrade the ncurses without causing a ton of other headaches. It went to reboot and just stayed dead.
Thought I was hosed, but then after charging for a while I got signs of life. Managed to boot to fastboot. Connected back up to the laptop and decided to follow the cyanogenmod guide for installing CM11. Flashed the CM recovery img file successfully but after rebooting I can't do anything.
I still occasionally get into the fastboot on the phone. Running fastboot devices on the laptop lists the phone. Running adb devices does not. Running any other fastboot command sticks at either nothing or <waiting for device>. Running any adb command gives "error: Device not found". I added a udev rule and adb_usb.ini with the device id "0bb4" and mode 0666, but no joy.
I only have a linux machine available at the moment, so I'd prefer suggestions for working in linux. If someone knows of a good Windows solution, I can probably try that in a few days. Thanks in advance.
EDIT: Progress
Noticed that for a second when I first connect to the laptop USB the fastboot menu showed in red FASTBOOT USB before going back to just FASTBOOT. Managed to tee up the command for flashing the twrp recovery img and ran it immediately upon plugging in. Was then able to boot to recovery. Not sure what my next step to getting a working phone is though. Help still appreciated.
My last post got swallowed by the ether I guess. I was able to fix it by formatting the sdcard using mkdosfs -F 32 -n INT_SD -s 64 /dev/block/mmcblk0p36. Then rebooting, wiping, and installing CM11. All is good again.

Categories

Resources