How to set up transfer files outside os - Moto Z Play Questions & Answers

I forgot to change the USB settings on my phone before I flashed a rom, it's encrypted and only way to decrypt it is to install supersu. I can't transfer anything or put files on my phone now and i cant go to OS. Please help?

Related

[Q] deleted os after bad rom flash. WIll pay for repair$$

HTC EVO 4g Sprint cant figure out how to get it back. please help will pay. dont even care about the money just need it fixed asap. thanks
What did you do? Can you still boot to recovery? If yes you can flash a rom.
Sent from my SPH-L900 using XDA Free mobile app
Help
jpisini said:
What did you do? Can you still boot to recovery? If yes you can flash a rom.
Sent from my SPH-L900 using XDA Free mobile app
Click to expand...
Click to collapse
I unlocked bootloader with windroid tool. Then I flashes twrp. Then this being my first time messing with an android in years I went and just grabbed the first rom I thought I could use, do to the fact that I had done no backup no nandroid anything so I flashed a rom and after it did it every time I tries to flash different rom because it said the rom I did first failed. So everytime I tries to do anything else with windroid it says there is a log file in the logs folder. Send this to windycity's forum so it can be tAken care of. But I couldn't find this file or where to submit the file so I thought if I just reset the phone back to factory I could restart. And after resetting it multiple times it still said, there is a log file in the logs folder send this to Windy City. So since I do still have the twrp tool that I can use I went in there and found that it has to rm -f delete everything Linux code so I did that. And since I've done that all I can do is get to bootloader and twrp. But the so is deleted. So basically nothing works. I can't figure out how to get the sd to mount or it won't mount for whAtever reason. And since the phone is wiped it won't enable USB debugging to connect to computer. I can get it to start to enable and connect for a second but not long enough for it to do anything. And I believe it's a htc evo 4g sprint. So that's the situation. The next thing I was gunn try was to go buy a mini sd card reader so I can mount it to computer and then put the rom in there. This **** is so confusing and ridiculous. I mean I can jailbreak an apple device no problem. But holy mother of God androids are the most insanely retarded phones to root. Drivers, adb, sdk...... Anyways if u can help let me know because there's a million roms and kernels out there and I don't know what build to use and how to set it up and the whole kernel process sounds confusing.
Do this. Go to the link below. Look at the second post. Go to the "Current Release" section and download either the stock rooted odex or deodex ROM, doesn't matter. Put the ROM zip on your external SD card. You can do this with the mount option in TWRP (select the mount option then select your external SD card from the menu. You should then be able to transfer the ROM zip from your computer directly to your phone), or just use a card reader to transfer the file from your computer to your SD card, then put the card back into your phone. Boot into TWRP and go to the wipe menu. Do a wipe of system, data, Dalvik & cache. Once you've done this, go to the install option, then locate the ROM zip you placed on your SD card. Flash the ROM. Once the install completes, reboot the phone. The first boot will take a few minutes so be patient. Afterwards the phone should boot to the OS.
http://forum.xda-developers.com/showthread.php?t=1671395
Also, USB debugging is only useful when the phone is actually booted to the OS. It doesn't matter that it isn't enabled for your particular dilemma. If all else fails, shoot me a PM and I may have something else that can get you up and running.
Magnum_Enforcer said:
Do this. Go to the link below. Look at the second post. Go to the "Current Release" section and download either the stock rooted odex or deodex ROM, doesn't matter. Put the ROM zip on your external SD card. You can do this with the mount option in TWRP (select the mount option then select your external SD card from the menu. You should then be able to transfer the ROM zip from your computer directly to your phone), or just use a card reader to transfer the file from your computer to your SD card, then put the card back into your phone. Boot into TWRP and go to the wipe menu. Do a wipe of system, data, Dalvik & cache. Once you've done this, go to the install option, then locate the ROM zip you placed on your SD card. Flash the ROM. Once the install completes, reboot the phone. The first boot will take a few minutes so be patient. Afterwards the phone should boot to the OS.
http://forum.xda-developers.com/showthread.php?t=1671395
Also, USB debugging is only useful when the phone is actually booted to the OS. It doesn't matter that it isn't enabled for your particular dilemma. If all else fails, shoot me a PM and I may have something else that can get you up and running.
Click to expand...
Click to collapse
Can you still boot into recovery

[Q] Copying a TWRP backup to a new device

I made a TWRP backup after setting my device up, now I want to copy this image to new devices. I made a backup of the wanted config inside TWRP and copied it to a PC. I factory reset the device to restore onto, rooted it, made a TWRP backup of boot only so I have the hashcode folder ready to roll to place the main backup into. Now when I connect the device to my PC and try to copy into this hashcode folder, I get errors like 'folder has been removed' or something, which I expect is to do with permissions. In TWRP in advanced, filesystem management, I apply chmod 777 to the hashcode folder, I still can't copy the backup into that folder from the PC, same message. Ideally I don't want to go through a full setup of the new device in order to install root explorer and change permissions etc., I have 8 of these units and want to make the process painless, not a multi-hour job.
Sooo, is there a process via TWRP whereby I can make the backup hashcode folder writeable from the PC so I can simply copy my backup across to the new device and proceed with the restore? If I must use ADB I can probably live with that, just if someone can help me out with a set of commands that can 'make it so'. Ideally I just want to change settings in TWRP with the "right" commands, reboot it and copy my backup across, before rebooting back into TWRP and running the restore.
I'm doing this so I can quickly setup a standard configuration for some specific software we use, replicate that across to units, have people access the apps via a restricted profile, then after field use, be able to return the unit back to a standard config via a TWRP restore using the minimum number of steps.
The way I got it working was to copy the backup folder to a temporary location on the new device from the PC, then move it to TWRP's backup folder using the TWRP file management tools.

TWRP backup USB transfer

I ran into a weird problem when trying to get a backup onto my device.
I created that backup today, copied it to my pc for storage, wiped the system and tried to install a custom ROM. That failed so i decieded to just move my backup back to the phone and restore it.
Now the real problem comes in: One of the files is bigger than 4GB and I can't find any way to get that thing back onto the device. ADB just fails miserably and doesn't do anything and direct copying via windows explorer tells me it exceeds the file size limitation which seems pretty dumb to me because this file comes from the phone.
Is there some workaround for a file transfer like this?
Hope you guys can help
DarkMathis said:
I ran into a weird problem when trying to get a backup onto my device.
I created that backup today, copied it to my pc for storage, wiped the system and tried to install a custom ROM. That failed so i decieded to just move my backup back to the phone and restore it.
Now the real problem comes in: One of the files is bigger than 4GB and I can't find any way to get that thing back onto the device. ADB just fails miserably and doesn't do anything and direct copying via windows explorer tells me it exceeds the file size limitation which seems pretty dumb to me because this file comes from the phone.
Is there some workaround for a file transfer like this?
Hope you guys can help
Click to expand...
Click to collapse
if your device supports otg, you could flash it from there. it would also be easier in the future to backup to otg, then you dont have to move it and worry about possible corruption.
The Problem is resolved. Luckily the file was only needed for a system image backup so i coulld just ignore it and still restore the phone. Now for that stock recovery

[HELP] Locked out of my device because of encryption

Hey guys,
i wanted to flash something, so i rebooted into recovery and i was asked for a password. I skipped this and made a normal reboot, but I have to enter a password. I've set a lockscreen password a few days ago only for a few hours, after that i disabled it and since then i have no pin, fingerprint or something else. Some people say that we can delete in twrp filemanager *.key files, but if I go to /data, it shows nothing (on /system I see all folders and files). My phone is also not recognized by PC (https://forum.xda-developers.com/redmi-note-3/help/solution-fix-unlock-phone-restore-twrp-t3508173).
Any suggestions? Just made a reboot and now i can't access my files. I know that format data will solve that, but I really want to avoid that.
Edit: Storage was corrupted, so i had to full wipe...

TWRP Weird folder names and no .zip file

Hey,
I'm new in this kind of stuff but need help as fast as possible. So I tried to root the phone but let me tell you something else. When I enter TWRT (boot into) and try to install the .zip file it shows weird folder names that I can't see on the computer. I have Win10 if this matters and Android 8.0 or 8.0.1. The folders are:
acct
boot
cache
config
cust
data
license
mnt
and it goes like that. The problem is that about 85 or 90% of these folders aren't visible on my computer when I plug in my phone... The System is mounted in TWRP and everything is mounted. I tried wiping all the data. I have unlocked bootloader. Also when I go to some of these folders I see REALLY strange folder names like: 671hnsuh1b%nqjus Or something like. I've found out that it's encrypted but I just want to root the phone and find the .zip file. Also can someone explain me these acct, boot, license, vendor, version and other folders that aren't visible on my PC? Please help. I'm so confused, not clue what's going on...
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
kksnis said:
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
Click to expand...
Click to collapse
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Aspect13 said:
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Click to expand...
Click to collapse
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
kksnis said:
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
Click to expand...
Click to collapse
My android version is 8.0 so it's oreo. I've also noticed that the 3.1.1-1 version of twrp is the only one from what I tried that I can install the newer versions gave me an error. I had lock screen and it was code not a fingerprint but I wasn't prompt for a code after booting into twrp. Adb sideload seems to fail all the time so I can't do it :/.
The logs from wiping data are:
Updating partition details...
..done
Full SELinux support is present.
MTP Enabled
Starting ADB Sideload feature...
Starting ADB Sideload feature... (And it failed now wipe logs.):
Fomatting Data using mkfs.f2fs...
Done.
You may need to reboot recovery to be able to use /data again.
Updating partition details...
...done
So yea I'm so sad tbh with this... I'll try to install new twrp after the wipe if the wipe didn't help and will tell you if I get an error when I try to boot into NEW twrp.
EDIT: Ye still an error.
Maybe you have a link to the newest working twrp?
Nevermind got it. Downloaded the modded twrp by TEAM MT I guess from here: https://forum.xda-developers.com/honor-8-pro/development/wip-twrp-3-1-1-0-duk-t3625798 Works perfectly and SOLVED!

Categories

Resources