Hi all, first of all sorry if this is the wrong section for this question.
So, I'm having a weird issue with the Sony Smartwatch 3. I need to have adbd insecure for read-write permission for the /system partition, and since Chainfire's utility force closes on start and there's no kernel with adbd insecure for the SW3, I decided to mod this one that I've been using by following the instructions in this thread. Flashed the modified kernel without issue, it booted up nicely on the watch, but the watch no longer shows up on my PC. Not in PC Companion, not in Device Manager, not with "adb devices," nothing. The only thing I get is an unknown device that I cannot specify ADB drivers for.
Note: I changed absolutely nothing on my PC and reflashed the unmodified kernel afterwards, and with it everything works normally - so the problem has to be with the modifications I did with the kernel... and all I did was set adbd to insecure.
Does anybody know what's going on?
Related
I'm putting this in General because this is my first time I've actually posted on XDA and I hope someone will move it to wherever it needs to be.
I've rooted my Nexus S a long time back when it was new, originally had some trouble with fastboot hanging on "waiting for device" I want to say trying PDANet fixed my problem then. I'm not foreign to the flashing/rooting process. And I know this is a long post but If you can please read it all it would be appreciated.
My Story:
>ICS was released and while Google said Nexus S would get an official update I saw some on XDA that were promising ports.
>I downloaded We Scream for Ice Cream Beta 9 and installed through Rom Manager
>About a month later I'm fed up with all the force closes and missing features the thread didn't inform me on and went to find another ICS Port.
>Downloaded and about to install through Rom Manager I'm informed that I need Clockwork (strange because I already have it) so within Rom Manager I flashed a new one.
>Install via SD Card and my phone reboots and then instead of loading recovery and doing its stuff I wait at the Bootloader screen. I try entering recovery myself and my phone restarts and again I'm at the bootloader screen.
>At the very bottom of the screen in gray lettering it says Fastboot FAILEDcommand
(As of now it displays the Google Logo with the unlock icon and hangs)
>At this point I decide I' going to flash over clockworkmod myself via adb. This should be the magic formula: via addictive tips (new user, can't include hyperlinks)
Code:
adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img
>Adb gives me an error similar to won't link after the mount/remount command. Also trying to cp the flash image to bin fails to work.
>I boot my phone, open Total Commander and try to copy the flash image myself to the bin folder in my root and it fails
(As of now I get error: device not found)
Then i think alright, maybe it's my drivers. I tried several different drivers from different tutorials because perhaps they are different in some slight way. >Whenever I try a new driver I can pick "adb Composite" "bootloader" or vanilla "adb interface".
>My device appears as "Android Phone" as the first entry in the Device Manager and the icon is a monitor with a small PCB chip in the corner.
>When the divers are completely uninstalled it appears in Other Devices with a yellow exclamation point.
>My understanding is that while it will automatiaclly grab the driver for USB mode, I have to force it to install the bootloader driver for when my phone is in the bootloader screen.
>And USB Debugging has been checked for everything I've done.
>Now i try to use PDANet, first I uninstall the drivers and install PDANet. Message appears saying there is already an Android Driver installed, I choose reinstall, select Samsung, pop says are you sure you want this driver, publisher cannot be confirmed? I click yes, I beleive that happens twice, it installs and then runs. It installed the vanilla "adb interface" driver.
(This is where I'm at now, the Fastboot FAILEDcommand is also gone.)
So now I'm like well there's fastboot, let me see if it recognizes it.
>Fastboot devices: nothing appears
>fastboot flash recovery recovery.img : it hangs on waiting for device.
>Same goes for other commands like OEM unlock.
All the while ROm Manager insists I have clockwork recovery verison 5.x - only it wont load and none of my PC options are recognizing the phone. So I can't flash over a different recovery image, and there;s nothing under alternate recovery in Rom Manager.
And the strangest of them all which may be Rom Manager's problem is that Super User FCs as soon as I try running it. Rom Manager states Super User gives it power at the end of the clockwork recovery flash, however, still says it's successful.
Before this entire thing my phone tried to OTA update to 2.6.7 for Google Wallet and where it would normally respond I got the Android Guy with a box and a yellow exclamation. This is also what I got when I first had some problems rooting months back before I flashed over images and roms. I figured it wouldn't update because it needed the stock recovery image and wasn't compatible updating with clockwork mod (however i think my phone has updated before with this method.)
I wouldn't mind rolling back to my stock deodexed version of Gingerbread at this point because the ROM I have now for ICS NFC and Bluetooth wont work among a slew of problems. And NFC was the major update in 2.6.7 in regards of tap to share and Wallet.
So I either need ADB and Fastboot to recognize my device to try reflashing clockwork and an Entirely new ROM remotely (if that's possible) or get clockwork mod on my phone to open.
More Details
Also when I load the recovery image and it loops back into the bootloader I get the message up top saying I don't have a boot image or recovery image. yet my phone still boots fine.
I really want my phone to work %100 again, can anyone help me?
I didn't read all you wrote, but if you're having trouble getting adb or fastbook to work correctly just use ROM Manager. Even if it says you have it installed, do it a few times. You can also go into settings and check off the format or erase recovery option before flashing.
It will eventually work. Just keep trying it.
Thanks
I know I've read things where flashing several times gets it to work. But I'm wondering if because SuperUser force closes without opening it's unable to give RomManager the permissions needed to complete the flash.
I've tried a few times ever once in a while. Still waiting, but adb will recognize my phone on my guest login but still no fastboot.
What rom you on? Have you tried going into app manager and then clearing data for superuser? Try that and then reflash the recovery a few times from rom manager.
If you're using CM9 alpha 11 or any of the builds by Koush, and superuser FC's from fresh flash. Clear the data, use root explorer or another app that has root access (it will prompt you for root access even if superuser UI won't open) then you can go into /system/app/ and delete or rename superuser.apk.
Once that is done, get the latest one from the market. Soon as it installs, clear the old data from the previous one by using app manager again. Then your superuser app should be working normally.
What's your phone model? (I guess it's I9020T)
When you boot into bootloader, does the fastboot devices command see the device properly?
You should use fastboot to flash your recovery. You probably have driver issues. Check the rooting guide at nexusshacks.com.
Sent from my Nexus S using XDA App
Fixed
Thanks to everyone and heir suggestions.
Eventually I downloaded another set of Fastboot and ADB registered with my phone and I was able to flash a new ClockworkRecoveryMod.
My only explanation is that the two tools where in the same folder this time - that was the only part that was different.
However ROM manager will still tell me I do not have Clockwork on my phone and when it 'flashed' it over it actually breaks my recovery partition all over again.
Thank god for ADB and Fastboot.
hi everybody, i hope, that someone can help me,
i thought i should root my Z1 and it was not a problem via windows (via LINUX i couldnt even find the device via "adb devices")
it was not a problem. first i installed twrp, but everytime when i restarted the recoverymenu, twrp went away and the default recovery menu started. so i installed CMR and it was not a problem. so far everything okay. but than i thought i should install the current nighlies of cynagonMOD and the problems started
when i try CMR to installed the current nightlies, i get the error
""this package is for device:Z1 ; this device is jfltexx" nomatter if its the nightly from 13.11.2015 or 14.11.2015
under windows, when i start adb devices, the device will be found
adb devices
List of devices attached
529e86fb device
and when i try to start into fastboot, it is possible. but when i'm in fastboot-modus
i can do anything. nothing happens. whatever i try, i get the feedback "waiting for devices"
any idea? can someone tell me, whats the problem is?
@update: when im in CMR, windows shows my ZUK z1 as GT-I9505 (i guess its samsung right?) how can i deinstall CMR and install TWRP (cause via fastboot its not possible)
Do you use fastboot with the -i switch followed by the device ID?
at the first time yes. but now its not possible. im now really frustrated, cause now im in the boot animation loop and can do nothing. even not able to upload any zip files to restore the zuk cyagon OS . any idea how i can install now the normal version of the phone again? i can only enter CMR
Hello everyone,
I recently decided too install the LineageOS.
Everything went fine, but I forgot Gapps and didnt want too use my phone without them so I decided too install the ROM again but this time with the apps.
I followed the linageos guide but accidently wiped everything before I could
Code:
adb push filename.zip /sdcard/
(dunno if thats the problem)
Im using TWRP 3.1.1-1. I can get into Recovery Mode. While in fastboot modus my pc detects my phone as an OnePlus, in Recovery modus its just android.
Code:
fastboot devices
shows my serial number. OEM is unlocked.
while in recovery mode
Code:
adb push filename.zip /sdcard/
gets me
Code:
No such file or directory
Code:
adb push C:\User\...filename.zip /sdcard/
gets me
Code:
failed to copy.. remote couldnt create file
while in fastboot mode I get
Code:
no devices/emulator found
Copying by dragging the file into internal storage doesnt work neighter.
I dont know what I did different besides the wipe before the copying. Maybe the wipe deactivates USB Debugging?
Maybe someone sees where my problem is.
Thanks
r717
I guess you don't have an OTG Drive.
you could always go 100% stock again and then flash LineageOS
http://downloads.oneplus.net/oneplus-5/oneplus_5_oxygenos_4.5.13/
well first thanks for your reply. I flashed the original recovery and tried 2 sideload now. Seems to be driver problems. So I have to try every solution with Win10 and OP5 drivers I guess?
Make sure the Android drivers on your computer are up to date and also that you don't have any old drivers from a previous phone. I accidentally wiped everything on my OP5 once but when I connected it to my Windows 10 computer the OP5 was still recognized as a storage device--but I used TWRP not the stock recovery and also used the file explorer in TWRP. With the stock recovery you should still be able to side load flash the stock ROM from your computer. If you can't it's likely a driver issue.
I had once a similar issue, although not exactly this, just something with drivers.
A long process to fix was to install Linux as a virtual machine in Windows and that worked well. I could do all I needed, the phone was quickly recognized.
Virtualbox or VMware both are free/have a free version and I used Ubuntu.
Give it a try if all else fails.
Hello everyone,
I've wasted my Christmas days to - unsuccessfully - re-root a Shield (16GB; 2015) after upgrading to Software 7.2.1. I need to use more than one USB mass storage device and to be able to copy from one to another, so I want to re-enable Stickmount.
The device was rooted before (which means the bootloader was already unlocked, too), and enabling USB debug, finding the device on my PC via "adb devices" was no problem, either. Issuing "adb reboot bootloader" went fine, too, the device could now be seen via "fastboot devices".
So, I flashed the TWRP image (I actually tried three different versions, 3.0.2, 3.1.1, and the most recent 3.2.3). All seemed to load fine (it spewed out two time values followed by OKAY, took about one second), but the reboot that follows only shows the NVIDIA logo forever without anything else happening (the longest I waited was 20 minutes) - according to the docs I could find (and had used before), TWRP should appear after about 15 seconds.
So, I'm stuck. I cannot get TWRP to start which prevents me from sideloading SuperSU, which means I can't use Stickmount.
Is there anything I did wrong? Is there any other way to get Stickmount installed onto my Shield? Any help is appreciated.
Cheers, Pit.
You'll need to wait until TWRP gets updated to get around the new android security measures. So keep checking TWRP website periodically to see when a new version is released.
You could have found this out if you went to Nvidia Shields Android TV forum and read some posts.
I was reading here, as well as at the nvidiashieldzone, where the tutorials are up, plus I was googling for the errors I was getting to no avail. Sorry for not finding every post on every forum on the internet, and thanks for giving the right pointer.
That means there is currently no way whatsoever to get the Shield rooted on 7.2.1., right?
Not just now, there's a guide to root 7.2 - using a developer image, and there's a chance of bricking - best to wait until TWRP is updated - also you don't need to root to use stickmount.
You only need to do something like this:
adb reboot bootloader
fastboot boot twrp-3.2.3-0-foster.img
#in twrp - mount/system - select storage - internal storage
adb shell
pm install -i "com.android.vending" -r /sdcard/Download/stickmount.apk
adb reboot
That way you can use your apk without being rooted - and your device will still be secure, and you can use widevine etc for netflix and other apps that check to see if your device is rooted.
Or you can just push the driver files stickmount uses like this:
adb reboot bootloader
fastboot boot twrp-3.2.3-0-foster.img
#in twrp - mount/system - select storage - internal storage
adb push hosts /system/etc/hosts (example file)
adb shell "chmod -R 644 /system/etc/hosts"
adb reboot
Thanks for the info - if I understand this correctly, I can install apks with root-like permissions using TWRP without rooting the whole device, right?
I will try that out once TWRP is working again.
A friend of mine rooted my phone for me a while back. He's no longer around and I'm still pretty unfamiliar with the process without using twrp. I'm not sure what method he used. I was going to try flashing a stock os via adb but adb doesn't detect my phone. I'm sure it's a driver issue but I can't seem to fix the problem. I also have trouble transferring files with a USB cable. My computer sees the phone but as far as opening it to explore or transfer files, it doesn't work. I downloaded drivers from a link I saw in another thread on xda and installed some file with a weird format and that didn't fix the problem.
Can somebody please point me in the right direction?
First of all, I'd suggest you to try with a different cable. The one shipped with the RP2 is optimized for power and might cause issues when using it for data trasfer.
Secondly, generally speaking you should install adb platform tools (I don't remember installing specific drivers for the adb, to be honest). You probably want to install the google usb driver as well for the fastboot as well.
If you confirm that those solution do not provide a solution to you, we might look at other causes.
Once everything is workin, you can proceed to update (since you have root permissions, I am assuming you see the OTA but you don't know how to proceed). The procedure that I followed is this:
1. Download razer factory images for mr1
1. perform a nand backup with TWRP
3. extract the factory images somewhere, open the "flash_all.bat/.sh":
3.1. make the fastboot variable point to the actual fastboot executable (if you are not familiar with relative paths, use full path and it will work seamlessly)
3.2 remove/comment the line
Code:
fastboot erase userdata
4. run the script
5. reboot your phone and perform the OTA update
6. install arter12 kernel
7. In magisk installer download the zip and flash it with TWRP
So I've been troubleshooting for the past few hours. I'm familiar with the process that needs to be done. The issue I'm running into now is a driver issue. I deleted the Google driver and installed a Samsung driver just for laughs. I can view my phone and transfer files now flawlessly. But it still isn't detected by adb. I was just going to wipe my phone and reflash the stock rom with adb fastboot. I wonder if there's a way to flash the stock rom with the Razer bootloader until I figure out what's going on with adb?
The google drivers are for fastboot (bootloader), not adb. For adb I just let windows do the automatic install (I'm sorry, I just assumed you are using windows, tell me if that is not the case).
Keeping the assumption that you are using windows, try to uninstall all driver (both from installed apps and from installed driver. For the second step you will need to show in device manager, all hidden devices and uninstall all of them).
Reboot windows and reconnect phone, I'd expect it to be automatically recognized as Razer Phone 2.
As per bootloader, in W10 sometimes it's a pain in the ass installing the drivers as you might need to manually install them.