Question with ADB - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

alright so farthest i can get with my phone to boot is either download mode, recovery, or just a black screen, this happened after modding the build prop but i have it backed up! how can i adb into the phone and replace the build prop file with the original / is this even possible?

well the adb recognizes the phone only as sideloaded or offline so i cant get into it

Related

Dell Logo...then black screen with backlight on and buttons lit. V'brates every 10 s.

My stock 2.2.2 streak is rooted. i downloaded honeycomb boot animation, renamed the stock b.a. and named honeycomb b.a. Bootanimation.zip. and rebooted, and it worked. a couple days later i came across something new and cool, i wanted to put the Transformers boot animation on it. i then went back to system/media and deleted honeycomb b.a. and then renamed stock bootanimation.zip, and then i downloaded the zip and put it into data/local like it says. i then tried to boot it up, it showed the dell logo, then screen goes blank with backlight on and button LED's are also on. it also vibrates every 10 seconds...what the heck is going on, hopefully i didnt brick my phone :\
...by the way, i can put it into fastboot, and i can hold vol up vol down and power, to the recovery screen?
Any help or suggestions are highly appreciated, thanks in advance everybody.
Well, personally, I would boot into StreakMod recovery (fastboot flash it on if needed), mount the data partition, run adb shell from a connected pc, and rename the original bootanimation.zip back into place.
I've had to do the above on my wildfire, where it worked perfectly, so I do know that just a misconfigured bootanimation can indeed cause issues like you are seeing.
Good luck.
ill get on that
That'll be enough to get me started, thanks
whats the command, to flash recovery.img? the whole line, i know it may differ. but an example?
and how do i run adb shell?
You can get StreakMod from http://forum.xda-developers.com/showthread.php?t=840326 and there are some instructions in the first post, as well as a download link.
The flash command is
fastboot -i 0x413c flash recovery recovery.img
To run adb you will need to have installed the Android SDK (actually, I believe that it is possible to just install the adb tool itself, but I've never tried that). You can get full instructions for that, and download links at http://developer.android.com/sdk/installing.html
It is useful to have adb installed anyway if you're going to play around with flashing stuff - it can be used to transfer files on and off your streak, log into it via the shell, watch the debugging log (it is very reassuring to watch it be busy doing something when you're booting a new rom and the screen is telling you nothing)
If you know how to use adb and fastboot but dont want the entire sdk
http://mirror2.streakdroid.com/manii/Tools/Fastboot+ADB.zip
includes fastboot + adb + streak drivers

[Q] Stuck in CWM, factory cable help

I tried to prevent my phone from updating to 6.2.1 by changing /system/etc/otacerts.zip to /system/etc/otacerts.zip.bak. When I did this it rebooted into CWM and looks for update.zip (i renamed it b/c i didn't need it). now it loops because I can't choose to anything other than install update.zip
ADB won't find the device so I can't rename the file or push a new one. I built a factory cable which appears to work but I still can't see my KF. When I run lsusb it shows 1949:0006 Lab126 as the device.
Any ideas?
using Ubuntu 10.10
<update>
I can adb shell now. however, no adb functions seem to work. Anyone know how I can keep cwm from hi-jacking my boot? I would gladly go stock to get going again.

not sure what to call this problem

Ok, so rooted (razorclaw) ics 4.0.3 tf-101.
fully charged
when powering on, stalls at the eee pad screen. (sounds like a boot loop, but it doesn't go to recovery)
Cold boots fine, works great, no random reboots (yet)
Will not boot into recovery, has ww_epad-9.2.1.11-20120221 bootloader
stalls at "booting kernel image" I assume there is no recovery installed.. Tried to get cwm onto it but I cant get apx working, it wont recognize the device at all.
I didn't root it, someone else did and I have no idea what recovery is/was on it.
I bought the tablet used, and would like to fix it.
Once recovery is installed would this boot normally.
Ive been searching on here/transformer forums for a couple weeks and have thought I found the answer multiple times. I need a push in the right direction.
Tried to fix this for a while a couple months ago when ics first launched and gave up. (did the same thing when It had honeycomb on it)
edit::
the only solution I can come up with is using NVFLASH to try to restore it. Working on this right now, hopefully this is a sbk1//not working, cant seem to get the computer to recognize the device in apx mode. (win 7)
If your TF is rooted, you may want to give the RecoveryInstaller app a go.
http://forum.xda-developers.com/showthread.php?t=1346180&highlight=recovery
I forgot to add that I have tried that (tried it again just now.. twice, just incase it happened to work but it didnt.)
following these instructions:
"click the button and the Superuser app will ask for permissions. Then the tablet reboots and to enter it you have to keep the Volume - key pressed and when it the TF writes "Booting into recovery" on the screen press Volume + once"
also tried it without holding volume buttons when it reboots.
When I run it, and click the button to install recovery, it grants superuser permissions and then reboots, sticks at the eee pad screen again and it stalls at booting recovery kernal image. Anything Im missing?
Reflash a recovery image .sos and bootloader .ebt if the recovery image doesn't work.
Download any cwm flashable recovery and extract it twice to get the recovery blob out:
put the recoveryblob on your computer somewhere.
adb push C:\Location\Of\Blob\blob.blob /sdcard/
adb devices
adb shell
su
dd if=/sdcard/blob.blob of=/dev/block/mmcblk0p4 -
reboot
--
this should fix recovery.
Thanks for breaking that down! Im going to try this once I can get adb working.
Going to try another computer now. I'm beginning to wonder if the usb cord for my tf has gone bad.
You can do it on your tf too, via terminal emulator app since you can coldboot.
Download blob somewhere on tf, download term em. and run this part:
su
dd if=/Path/to/recoveryblob of=/dev/block/mmcblk0p4 -notice path/to is where you placed on Tf's INTERNAL storage.
reboot
Ok, went through it on the terminal emulator. Everything seemed to go ok, but on rebook, it still wont enter recovery (held the vol button of course) just hangs on "booting recovery kernal image"
Is BusyBox installed?
That it is, just reinstalled 1.20.. should i use a different version perhaps?
Ro.secure set to 0?
see the guide to flashing an insecure boot.img if it isn't, this may be the problem.
if you're on a rom this isn't the issue..
Try a different version of BB I suppose
simplywinter said:
Ok, went through it on the terminal emulator. Everything seemed to go ok, but on rebook, it still wont enter recovery (held the vol button of course) just hangs on "booting recovery kernal image"
Click to expand...
Click to collapse
Suggest you try method 3 in the following post.
http://forum.xda-developers.com/showthread.php?t=1622628
It does not require rooted TF. If you do everything right but still not working, you may have a faulty device.
^^ My peri runs that method, so that didn't work. :/
I think borked hardware, try NvFlash
just did this
ls - l /system/xbin/su
getprop ro.secure
returned: 0
So it is indeed set to 0.
NVflash.. well I would do that if I could get the usb connection to the computer working.. Still trying that.
Also, kokopopz
I went through method 3 on the tf itself, unfortunately it didnt work. Still trying to get adb working to try it that way.
simplywinter said:
I went through method 3 on the tf itself, unfortunately it didnt work. Still trying to get adb working to try it that way.
Click to expand...
Click to collapse
The following guide will be useful for setting up ADB.
http://forum.xda-developers.com/showthread.php?t=1071584
For the USB driver, you can try the naked driver.
http://forum.xda-developers.com/showthread.php?t=1514942&highlight=naked
Note: I am a linux user. I set up ADB on my linux box. I did not try the above myself. I just came across them. They maybe useful to a Windows user.
Windows drivers are finicky, make sure you totally uninstall and reinstall them too. Took forever to get right on my computer.
no go with windows. I still cant seem to make this work... I have ubuntu on my laptop though. Can I even do this on Ubuntu? its 11.04
You can do this with Ubuntu no drivers required, just pick up the Nvflash wheelie for linux and get yourself a reflashed ROM.
Also you can still do this on TF. I had a very similar issue that I was able to fix by using Rayman's Blobtools (you can pickup blobunpack for windows in my bootsplash screen change guide).
Download the latest stock ROM for your device, and extract the 'blob' file out of it.
Put the blob in the same folder as blobunpack.exe, then open a command prompt and cd to the directory, then run:
Code:
blobunpack blob
After that you will see that there are now many blobs, one of them is called blob.EBT, this is your bootloader blob. What you want to do is copy that to /sdcard/ on your tf via mass storage or 'adb push blob /sdcard/' (You Have to remove the .ebt extension, it's just there as an ID, so it should just be 'blob')
Once that's there flash it through the staging partition (In terminal emulator or adb shell):
Code:
su
dd if=/sdcard/blob of=/dev/block/mmcblk0p4
reboot
Then it shouldn't get stuck at the Eeepad screen anymore!
If it still does, you might have that weird problem where nothing flashed through staging partition sticks, so you'll need to run Roach2010's fix.
after trying that.. twice. It doesn't seem to stick. Roaches 2010 fix it is, searching for it right now.
If you can get adb shell access (I'm assuming yes) PERI has the fix bootloop option. Otherwise run roaches fix AFTER flashing a new recovery and EBT partition but BEFORE rebooting.
how do i run roaches fix. i Dont understand that part. I understand the rest though.

Stuck w/o access to EDL or regular ADB features. Sideload and Factory Recovery Only.

While following a write up that had me put the phone into EDL Mode and run a custom Flashing app on my PC, the phone rebooted and became stuck with access only to standard recovery and side load. PC is unable to see it in regular ADB, and when I do my ADB Devices it shows the serial and sideload. Trying to replace the corrupted boot.img without success. Tried for a few hours and havent been able to find a work around.
Any advice would be appreciated.

TicWatch Pro 2020 Boot Load Loop Issue

Recently, I purchased a TicWatch Pro 2020 (saw that Kali Nethunter now seems to work on it and I thought it could be a cool device to add).
I have installed nethunter onto several other devices already (Nexus, OnePlus, etc.) and of course ran into issues. Usually I spend a long time on them and it is fun to do it. But I seem to have run into a wall recently with the watch.
When I was first trying to set up the watch, I could send commands with adb to get it into the bootloader menu but then it would not recognize it. I did eventually get the right drivers installed and had my VM recognize the watch with the ADB drivers.
I did manage to complete Step 1 of the tutorial https://www.kali.org/docs/nethunter...-on-the-ticwatch-pro/#1-unlock-the-bootloader
(unlocking it).
I went through to step 2, put it into bootloader again and flashed the vendor and twrp .img files. Once I did this, I tried to switch the device into recovery mode (after it went back to the bootloader menu on its own) as per instructions. But the weird thing is when I initialized recovery mode, it just sent me back to the bootloader menu, all while also not recognizing it on my VM/PC at all. When I tried to start the watch, it just sent the device into a permanent loading loop (after showing the logo and cycling the 4 different colored Google dots around the watch). I can get it back into the bootloader menu by holding both buttons down but I can't get my device to be recognized with a data connection (so it seems effectively bricked).
Normally I look this up myself but since there is not much information regarding this device and this specific rom out there just quite yet, I can't locate anything (compared to troubleshooting the OnePlus 7 Pro). Any ideas or input is appreciated!
Edit: will just let it run over night (drain battery to see if it may or may not help).
Thought I would leave a quick update in case you may be running into this issue yourself.
I let it run over night and run out of power to see if it would do anything. It now seems to be recognized by my pc, but it would not connect. I am installing everything through a VM but it appears that the PC could not recognize the device (I only had drivers installed on my VM, not my main device). When I installed the drivers on my main desktop it began to recognize it again on my VM. Not sure why this was an issue or how it became one or if it was a combination between everything but now at least I can send adb and fastboot commands to my watch again. Will try to flash a stock rom for it and try again to get out of the boot process (still confused as to why it will not go into recovery mode but it instead goes back into boot loader mode when I select it)...
Another update: I managed to find a stock image and some simple instructions. Credit to @sonnettie as it looks like it is working atm (going through setup).
Link: https://forum.xda-developers.com/t/ticwatch-pro-2020-stock-image.4107539/
Going through to try installing nethunter again if it appears to be fully functioning.
Edit: Using the stock image seems to let me now use my watch again. But whenever I try to install Nethunter, I install the vendor and recovery image. Once I do this and try to go into recovery mode, it just seems to bring me back to the boot loader menu. Anyone have solutions or know what is wrong?
i got nethunter and twrp working on the ticwatch 2020, it was a pain finding the right files to use and i soft bricked my watch many times in the process.
https://forum.xda-developers.com/t/...shark-4g-ticwatch-c2-skipjack-9aug20.3821013/ this post has the right vendor.img and twrp recovery image, in particular this mega folder https://mega.nz/folder/cVVBRaxL
1-Vendor-Images-22-Jun-2020.zip unzip this file it is located in TicWatch-Pro-2020(Catfish-ext)/Custom-ROM/ROM/22-Jun-2020 it contains the vendor.img you'll need
tic-watch-pro-2020-twrp.img in TicWatch-Pro-2020(Catfish-ext)/Custom-ROM/TWRP this is the TWRP Recovery.img you'll need
Magisk-v21.0.zip and nethunter-2022.2b-ticwatchpro-wearos-kalifs-nano.zip are both needed from the TicWatch_Pro_NetHunter_files.zip at https://build.nethunter.com/contributors/re4son/catfish/
1) Enable ADB and unlock bootloader then enter these fastboot commands on pc
fastboot flash vendor.img
fastboot format userdata
fastboot format cache
fastboot flash recovery tic-watch-pro-2020-twrp.img
2) Reboot into WearOS and Setup Watch
3) Enable ADB again and reboot into recovery
adb reboot recovery
4) move Magisk-v21.0.zip into the TWRP folder on the watch
install Magisk-v21.0.zip from TWRP recovery (it'll patch the boot.img itself)
5) Enable ADB Sideload from the Install menu in TWRP
adb sideload nethunter-2022.2b-ticwatchpro-wearos-kalifs-nano.zip
6) Reboot into wearOS with kali splash screen, you will have to open the magisk app after you open the nethunter app to give it root as there isn't a proper pop-up screen to give root access
**circle screen does semi cut off a few buttons in the nethunter and magisk apps, touch your watchface close to the "corner" where it is to select it
I hope this all helps! Cheers mate
unidentifieduser said:
Another update: I managed to find a stock image and some simple instructions. Credit to @sonnettie as it looks like it is working atm (going through setup).
Link: https://forum.xda-developers.com/t/ticwatch-pro-2020-stock-image.4107539/
Going through to try installing nethunter again if it appears to be fully functioning.
Edit: Using the stock image seems to let me now use my watch again. But whenever I try to install Nethunter, I install the vendor and recovery image. Once I do this and try to go into recovery mode, it just seems to bring me back to the boot loader menu. Anyone have solutions or know what is wrong?
Click to expand...
Click to collapse
i just realized i typed all the above and didn't reply to your message, it was a mixture of two install methods with leaving out the flashing of the rom file itself

Categories

Resources