[Xiaomi Redmi Note 7] Any way to pull files in sideload/fastboot mode? - General Questions and Answers

Hi, I've come to these forums because you guys are knowlegeable.
I essentially uninstalled thorugh ADB the package installer (com.google.android.packageinstaller) and little did I know that was a big mistake on my part, as I didn't realize the package installer was a core part of the system. All was going well until i turned on and off my phoen, and it is now always stuck in recovery mode.
- Rebooting the phone just sends me back to the menu.
- I've not tried wiping the data yet, since I want to keep my files (for the moment).
- Connect with MiAssistant allows me to connect my phone to my PC, but it in sideload mode automatically. I can go in fastboot mode though, and fortunately I have turned USB Debugging on.
As I've come to realize, a factory reset or flashing a ROM would fix my issue, but also delete all my files (photos, music...). I was planning to do a backup of my photos, but now it's too late.
Is there any way I can access my files and pull them to my PC on sideload/fastboot mode?
The only thread i have seen with a similar problem is this one: https://forum.xda-developers.com/showthread.php?t=2487147
I also get the error:closed when I try an adb pull.
Thanks in advance.

Related

Bricked my phone, totally my fault help.

This is a a new one from what I have seen, after several random restarts I flashed back to stock and was able to install the jh7 update. I rooted with z4root. I wanted to enable sideloading and used a guide that allowed you to change the settings.db file in sqlite and reinstall to the settings folder under dbdata. The instructions were to delete the file and so I did, but to my horror I was not able to past the new file into the directory using root explorer. Knowing that something bad was going to happend I restarted anyway and low and behold, the phone no longer boots past the S screen. The screen goes black and the buttons on the bottom turn on but thats all you get. I tried the hold volume buttons and plug in. I also tried hold volume buttons and power. I tried to make my own jig using three 100 ohm resistors as shown on youtubne and nothing gets me into download or recover modes. I have ordered a jig from a guy over and androidforums hoping for user error in my jig attempt. Anyone have any suggestions, my build is 1009 rev .04. My computer does recognize the the partitions when I plug it, but of course I can not mount. Is there a way in either windows or linux to force a mount, and to get into the file system to restore the back up I made. Without this settings.db file will I even be able to enter recovery or download mode? Thanks for any help you can give.
hd779 said:
This is a a new one from what I have seen, after several random restarts I flashed back to stock and was able to install the jh7 update. I rooted with z4root. I wanted to enable sideloading and used a guide that allowed you to change the settings.db file in sqlite and reinstall to the settings folder under dbdata. The instructions were to delete the file and so I did, but to my horror I was not able to past the new file into the directory using root explorer. Knowing that something bad was going to happend I restarted anyway and low and behold, the phone no longer boots past the S screen. The screen goes black and the buttons on the bottom turn on but thats all you get. I tried the hold volume buttons and plug in. I also tried hold volume buttons and power. I tried to make my own jig using three 100 ohm resistors as shown on youtubne and nothing gets me into download or recover modes. I have ordered a jig from a guy over and androidforums hoping for user error in my jig attempt. Anyone have any suggestions, my build is 1009 rev .04. My computer does recognize the the partitions when I plug it, but of course I can not mount. Is there a way in either windows or linux to force a mount, and to get into the file system to restore the back up I made. Without this settings.db file will I even be able to enter recovery or download mode? Thanks for any help you can give.
Click to expand...
Click to collapse
Can't you get into download mode through vol up + vol down + usb cord? That's used by sbl.bin, which shouldn't be affected.
Sent from my SAMSUNG-SGH-I896 using XDA App
A) this is not a brick, your phone still powers on
B) if you were rooting, you should have enabled USB debugging before attempting to do so, so when you turn your phone on, plug the USB in and use adb from the android sdk to get into download mode. "adb reboot download"
Kaik541 said:
A) this is not a brick, your phone still powers on
B) if you were rooting, you should have enabled USB debugging before attempting to do so, so when you turn your phone on, plug the USB in and use adb from the android sdk to get into download mode. "adb reboot download"
Click to expand...
Click to collapse
Might as well be a brick. The root went fine, everything was good till I deleting the settings file. What I am hoping for is a way to force mount the internal memory if possible and cut and paste the back up copy in.
you just need to go through the various methods to get into download mode.
pull battery -> Pull sim card -> Insert battery -> hold power up and down while plugging in the USB with Odin already open
adb should work in recovery and likely where the phone is hanging during boot as well.
Sent from my ADR6300 using XDA App
hd779 said:
Might as well be a brick. The root went fine, everything was good till I deleting the settings file. What I am hoping for is a way to force mount the internal memory if possible and cut and paste the back up copy in.
Click to expand...
Click to collapse
if you have the setting.db file saved on your computer you can do an adb push.
I am not really sure of adb, I downloaded the android development kit, and it told me I needed the Java SDK, so I downloaded and installed that. But the development kit tells me Java is not installed.
hd779 said:
I am not really sure of adb, I downloaded the android development kit, and it told me I needed the Java SDK, so I downloaded and installed that. But the development kit tells me Java is not installed.
Click to expand...
Click to collapse
I am assuming that you are on a 64bit windows.
the android sdk installer is looking for the 32bit version of java, so go download and install the java jdk/sdk for 32bit windows.
I am not able to put my phone into debug mode will adb still work?
Also do you have to be in debug mode for Odin if so then I guess I am really screwed.
You do not need to have it in debug for odin and adb is enabled in recovery regardless of debug setting.
Well that is very good to hear, now if I could only get into recovery mode.
Well good news, I followed this dude's tutorial and am back. Thanks for all the replies guys.
http://www.youtube.com/watch?v=Rdn5GoRjhn0

[Q] Best regards to greatest wizards; any idea for dead rooted Garmin Asus A50 ?

Hi all you wizards,
I had this now brick rooted and jiggling around it with uninstalling some preinstalled apps, but when I attempted to replace some fonts which was my main goal, it turned out that it was not really rooted!!! probably the rooting method and app was malicious. Then none of the apps could fully root it. Z4root followed by Superoneclick and Universalandroot have been tried, no chance but slow and unstable device. finally I decided to master reset. After this, a strange virus like fake warning sticks to the screen saying the battery cover is open and asking to restart! when I really open the cover another warning comes up that battery cover removed. phone is working in background. It responds to USB connection, even detects an update of ROM I copied to solve the problem but no chance.
Has anybody any idea to get it back to life by using PC as there is no direct interactions with the phone coz of the virus?
basically I prefer to get rid of the virus through SDK and ADB if possible although I am a mushroom and Dono how.
Is it possible to wipe off some infected data or I have to wash out all the ROM and install a new one?
I have another phone handy exactly the same thing, should I copy all data from other one to this one or the update version of original ROM would work?
it is Garmin Asus A50 nuvifone with built in full GPS and navigator; 256 ROM, 256 RAM, 600 MHtz CPU, ARMv6, android 2.1 update 1
Thanks so much in advance for any participation even your experiences without useful result
here is some more information about the matter;
I needed to install some fonts for other languages which are not supported by android
So I tried to use information and files to get my device rooted and replace some fonts in system/fonts directory and some files in system/lib directory to use other languages in my android.
1- I started with Z4root , I downloaded through device and installed it, and I uninstalled my antivirus as it always said it is not safe, so I activated USB debugging and then permanent root and I had the super user. I installed some apps and used them to uninstall some preinstalled app and similar issues. When I tried to replace fonts and files, my file explorer with root ability, it said I don’t have enough authorization or something to access the file, I tried more root file explorer but same result, even a root checker said my device is not rooted!
2- Then I tried UniversalAndroot-1.6.2-beta5. Again I downloaded it through my device browser but it could not help as it said fails! I thought it is because of Z4root so I uninstalled Z4root but failed to root again.
3- I wanted to use pc method and root my phone by PC, even though this method was for android ginger bread and not my brand but as much as tried, my device did not show a recovery mode in start up by pressing power button and volume key but when I pressed middle key of arrow keys went to safe mode. so I ignored it.
4- Finally I downloaded the oneclick app through my device from the net. It was a zip file with so many files and super user, I just installed superuser but not helpful to replace font, then uninstalled.
5- Again installed Z4root but my phone was freezing and unstable so decided to master reset to factory setting. I did it once but after reset, nothing changed so I did it again. This time a warning sticks on the screen says;
” close the battery cover, and restart the device to complete first time set up.”
and asks for restart.
There should be something wrong as when I really open the battery cover, another warning comes up and says; battery cover removed!
Phone is working in background, even I copied a factory update of my ROM and its been detected but the crazy warning does not let to do anything but restart!
Now I need help to show me how I can use my PC to reset my device as upon a usb connection it asks for interaction and lets me to work via usb cable, and then how I can go to recovery mode in start up?
Otherwise it is a brick, lol
it does not let me to do any interaction cause of the crazy warning. it asks for restart, thats all I can do, or other warnings like asking to do update or usb connection option or battery cover removed, but no more. it means I can not activate usb debugging if needed or follow update process through mobile UI. besides in this kind of phone there is no recovery mode but just something like "USB polling mode" and "safe mode." the warning is in safe mode too and I dono how to use "USB polling mode".
however the only option is ADB, and I do not have an backup of the rom but another simillar phone to make copy or the update file, if possible to copy them via ADB which I am dono how; like which commands and where to copy them?
honestonline said:
it does not let me to do any interaction cause of the crazy warning. it asks for restart, thats all I can do, or other warnings like asking to do update or usb connection option or battery cover removed, but no more. it means I can not activate usb debugging if needed or follow update process through mobile UI. besides in this kind of phone there is no recovery mode but just something like "USB polling mode" and "safe mode." the warning is in safe mode too and I dono how to use "USB polling mode".
however the only option is ADB, and I do not have an backup of the rom but another simillar phone to make copy or the update file, if possible to copy them via ADB which I am dono how; like which commands and where to copy them?
Click to expand...
Click to collapse
same situation, no solution ???
ogabic said:
same situation, no solution ???
Click to expand...
Click to collapse
solution for this?
http://kazzi.net/tips-tricks/revive...r-deadly-close-the-battery-cover-message.html
found this but dont know how to adb .
but for sure on giving a missed call and following the idea in link u can use the phone but annoying error wont go away
I have the same problem but I cannot receive calls
Hello
A couple days ago I got a Garminfone from a friend, I use it mostly as a GPS only, because T-Mobile does not have any coverage in my country and I don't have the unlock code.
Yesterday I wanted to make a hard reset to start over, holding the D-pad left while powering on the phone, **WIPE USERDATA** appeared on the screen.
Everything was fine until it restarted, after the restart it showed the following warning: "Close the battery cover, and restart the device to complete first-time setup", the battery cover is closed and it does not let me do anything, the official ROM update does not install and If I do another hard reset the error persist and the phone does not make or receive calls.
Before this issue I got it rooted using z4root
Is it there anyway to update the device without using the update launcher from the phone?, or reinstall the 2.1 update using the usb cable via command prompt or any tool?.
I just want to get rid of this error and keep using the device as a regular GPS
Anyone can help?
I really appreciate any help you can provide.

Trying to reformat but cant!

I was messing with my galaxy core prime (android 4.4.4) using a app to remove system apps that you can't with the stock app manager.. (no reason for crap like smartcard manager, bluetooth, wifi sharing..etc to be running when i haven't authorized such things, seems like security risk imo)
Was also editing the autorun list and messing with Norton applock and phone encryption settings to try to further secure it.
Welp, I f'ed things up because phone crashed and now can't do anything.. can't access home screen, settings, call/txt, nothing. So I booted into the stock bootloader and tried formatting the entire thing including cache..
Didn't fix the problem, can't finish the setup wizard without it crashing, get message saying setup, hangouts, and keyguard stopped working and then my phone bricks and can't do absolutely anything. No backup either.
I have been googling and googling for solutions but everything I read says to either:
-Reformat from bootloader (tried a 100 times)
-Wipe with TWRP or CWM (don't have either and can't access play store)
-Use Kies (won't detect my device since I can't enable MTP)
-ADB sideload twrp or cyanogen (cant, usb debugging probably not enabled since I formatted and no way to enable it since setup of android fails)
Odin can't detect anything either.. probably due to same reason. (Cant enable MTP or usb debugging)
So am I totally screwed? What are my options here?
I noticed the stock bootloader has a option to install from external storage.. can I put my sd card in a phone that does work and download twrp, cyanogenmod, (or ANYTHING else to fix this) to that, then put it back in my bricked phone and re flash it that way? That way I wouldn't need mtp or usb debugging... or won't that work?
Wasted so much time trying to fix this guys, googling and even formatted my pc removing Linux and reinstalling Windows hoping suddenly my pc would detect it.. atleast on linux when I used "adb devices" command it detected my device (trying to sideload anything didn't appear to work though, phone says error about verifying it and tries again and says completed and reboots but no sign of the rom I just supposedly sideloaded anywhere)
removing Linux and installing Window seems to have been a mistake because on windows using "adb devices" returns a blank list.. Tried different cords, ports, kies 2 and 3, reinstalling drivers, disabling firewall..etc but like I said even if I do get adb to detect it, what can I do from there without mtp or debugging?
Sorry for wall of txt, just want to be descriptive as possible so I don't get all replies telling me to try stuff that I've tried 100 times or just flat out won't work for my particular problem because of the above reasons..
will be sincerely grateful to anyone that took the time to read this and try to help me.

Trouble installing TWRP on AOSP pixel 2

Hello! I have decided to turn in this pixel 2 I have to google finally but I'd really like to make a nandroid backup of it before I send it in as it has some very interesting apks on it (I made previous threads on this), pictures here https://photos.google.com/share/AF1...?key=dDc2UjVBQWpmUk5KUEpmNVJ6WWZYZ0RQUkprZm13 . Problem is that the phone isn't exactly running the stock pixel 2 os, it came directly from google running AOSP with android version 8.0.1. I'm not sure if the kernal and everything else are the same either, I do have a picture of the system information in the above album.
So I tried following this https://www.the***********.com/install-twrp-recovery-on-google-pixel-2-pixel-2-xl/ exactly to boot into twrp, but after following the steps to entering "fastboot boot twrp-3.2.1-2-walleye.img" in windows power shell, powershell says Downloading boot.img OKAY and booting OKAY, but the pixel 2 screen just goes black instead of loading TWRP. I am still able to get back to android and get back to the bootloader, but I can't seem to load or install TWRP.
^not sure why the url gets ***** out. the ***** out portion is "custom droid" with no space
I'm not sure of any other way to pull data off this phone without TWRP installed. The phone won't accept any sim card I've tried, and turning on wifi allows me to connect to my local wifi network, showing the correct IP, DNS, and default gateway, but still refuses to connect to the internet. Usb debugging is enabled, and adb lists the phones serial number when prompted with fastboot devices.
The phone itself shows 24gb/32gb all used by the system. When I plug it in to my PC and view the files, it shows as "AOSP on walleye" with 6.73gb free of 15.6gb rather than the 32gb the phone shows. The files shown on the pc are all most empty as well, I can't seem to find what files are taking up that 10gb or so that my PC does manage to see.
If anyone has any ideas, I'd be happy to hear them. It'd be a shame to let all these tools go. Otherwise this phone should be heading back to google soon.
ravensfan8448 said:
Hello! I have decided to turn in this pixel 2 I have to google finally but I'd really like to make a nandroid backup of it before I send it in as it has some very interesting apks on it (I made previous threads on this), pictures here https://photos.google.com/share/AF1...?key=dDc2UjVBQWpmUk5KUEpmNVJ6WWZYZ0RQUkprZm13 . Problem is that the phone isn't exactly running the stock pixel 2 os, it came directly from google running AOSP with android version 8.0.1. I'm not sure if the kernal and everything else are the same either, I do have a picture of the system information in the above album.
So I tried following this https://www.the***********.com/install-twrp-recovery-on-google-pixel-2-pixel-2-xl/ exactly to boot into twrp, but after following the steps to entering "fastboot boot twrp-3.2.1-2-walleye.img" in windows power shell, powershell says Downloading boot.img OKAY and booting OKAY, but the pixel 2 screen just goes black instead of loading TWRP. I am still able to get back to android and get back to the bootloader, but I can't seem to load or install TWRP.
^not sure why the url gets ***** out. the ***** out portion is "custom droid" with no space
I'm not sure of any other way to pull data off this phone without TWRP installed. The phone won't accept any sim card I've tried, and turning on wifi allows me to connect to my local wifi network, showing the correct IP, DNS, and default gateway, but still refuses to connect to the internet. Usb debugging is enabled, and adb lists the phones serial number when prompted with fastboot devices.
The phone itself shows 24gb/32gb all used by the system. When I plug it in to my PC and view the files, it shows as "AOSP on walleye" with 6.73gb free of 15.6gb rather than the 32gb the phone shows. The files shown on the pc are all most empty as well, I can't seem to find what files are taking up that 10gb or so that my PC does manage to see.
If anyone has any ideas, I'd be happy to hear them. It'd be a shame to let all these tools go. Otherwise this phone should be heading back to google soon.
Click to expand...
Click to collapse
So you're sending the phone back to Google....why? Because it came without the stock OS? It's hard to believe that the phone came with AOSP already installed...that's awesome if it did since AOSP is usually something that you have to load yourself.
So I'm sure you understand that your bootloader has to be unlocked in order to boot TWRP yes? Because typically when the bootloader is not unlocked the phone will reject the recover and shut down. So make sure your bootloader is unlocked in developer settings since you have a Google verison.
Sounds like your partitions are being weird when plugged in to the PC and its only seeing some of the partition. I would try to reinstall the driver and see where that gets you.
If you're concerned about your APKs, I would just use Titanium Backup and backup all the APKs to storage and then pull that from the phone using PC.
Hope this helps.

Samsung S6 keeps restarting over and over. Need advice how to backup media!

Hello,
I decided to have a shot and try to ask for help here. After many hours of trying and googling I could not find the proper solution how to backup my media files. Whenever I go to recovery mode and connect my phone via usb, using SDK tools I write "adb devices" and it tells me that my Samsung Galaxy S6 is connected via "sideload"?. Is there any way to backup my media using sideload? I am not able to pull data from the phone using "adb pull", but maybe there is some sort of script that I could push that would make my phone do a backup. Hopefully there is a chance to recover my files before I do a full wipe. Photos and memories gathered in 4 years. Would suck to loose all of that.
Gustavvo said:
Hello,
I decided to have a shot and try to ask for help here. After many hours of trying and googling I could not find the proper solution how to backup my media files. Whenever I go to recovery mode and connect my phone via usb, using SDK tools I write "adb devices" and it tells me that my Samsung Galaxy S6 is connected via "sideload"?. Is there any way to backup my media using sideload? I am not able to pull data from the phone using "adb pull", but maybe there is some sort of script that I could push that would make my phone do a backup. Hopefully there is a chance to recover my files before I do a full wipe. Photos and memories gathered in 4 years. Would suck to loose all of that.
Click to expand...
Click to collapse
Sideload is a one way street, you can only use sideload to transfer data from PC to your device, not device to PC.
Try booting into recovery and only wipe the cache partition(DO NOT FACTORY RESET), this will not delete your media files, it only deletes temporary files, if your cached files are causing your bootloop, wiping cache will fix it.
If you can't get the device to boot into system, you might be screwed.
One other option is, if your bootloader is unlocked, you can flash TWRP custom recovery for your specific model number then you have a couple of options, you can connect to adb while booted into TWRP and use adb commands to pull copies of your media files, or, you can use the Backup option in TWRP then extract the backup to retreive your files, extracting TWRP backups is kinda tricky though.
Sent from my SM-S767VL using Tapatalk

Categories

Resources