How to copy ROM from windows 10 to phone, while in TWRP? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Trying to install a different STOCK ROM on my phone,
I unlocked the bootloader, flashed TWRP, now I am on TWRP menu, connected the phone, I can see the phone directory on my windows 10 file explorer.
Trying to copy and paste, the transfer starts but it hanhs there, nothing is tranfered, wht to do?

Maybe try a few other recoveries using download mode. And find one which seems to work. Also you might want to use the format data feature under wipe, in-case it's some kind of data encryption issue.

Related

Recovery Mode after Encryption

Hello
after i rooted my z3 compact and stuff i thought "hey, encrypting the data would be nice and safe" and did so.
after this i wanted to install some zip via recovery-mode and there are just errors telling me "cannot mount sdcard" and smth like that
i assume this is because the sdcard is encrypted.. .
did anyone know how i can use recoverymode again without flashing the whole firmware back again? oO
thank you
I have the same situation. Can't even enter recovery. You can copy paste files from the zip in the system with for example root explorer, set the correct permissions and reboot.
A working recovery would be better.
I'm on 6.0.1, rooted, locked bootloader and encrypted phone. Can't seem to enter recovery either. There's no green LED on phone reboot. Tried Power + vol up/down, no luck. Also volume up/down during boot, also nothing.
Is there no way to access recovery now?
sil_el_mot said:
did anyone know how i can use recoverymode again without flashing the whole firmware back again? oO
Click to expand...
Click to collapse
There is a TWRP 3.0.2.0 for Z3c available here
Apparently it does work with encrypted partitions, but you will probably have to encrypt the phone after installing TWRP, so this won't help you out of your situation.
Edit: there is a manual install of TWRP compatible with MM, once in recovery you could flash the 3.0.2.0 version and restart to recovery, but I haven't tried this and you may well end up in a bootloop with an unreadbale encrypted partition.
sil_el_mot said:
after i rooted my z3 compact and stuff i thought "hey, encrypting the data would be nice and safe" and did so.
after this i wanted to install some zip via recovery-mode and there are just errors telling me "cannot mount sdcard" and smth like that
i assume this is because the sdcard is encrypted.. .
did anyone know how i can use recoverymode again without flashing the whole firmware back again?
Click to expand...
Click to collapse
for those of you who have a working recovery and encrypted data partition and SDcard, there are two ways of using it:
1. VIA ADB SIDELOAD: TWRP have a ADB sideload feature. it means you can flash .zips directly from your computer, connected to your phone wia USB cable. steps: 1. go to TWRP, search for ADB sideload feature and turn it ON, 2. connect your phone to your computer, 3. open terminal on your computer and type:
Code:
ADB sideload "path/to/your/file.zip"
. bingo!
2. VIA USB OTG: Z3c support USB OTG (On The Go) so you can connect your USB key to your phone via USB OTG cable. you put .zips you want to flash to your USB, connect it to your phone when in TWRP and flash them from USB instead of encrypted partitions.

Different SD card partitions?

Disclaimer: I'm relatively new to the realm of modding the the kindle. I have a 2012 7" hd. I rooted it and loaded a 2nd bootloader and recovery via various tutorials. I attempted to to load a rom (lolipop 5.1 and corresponding gapps). The process seemed to go fine and when it booted into android the initial setup screens appeared (connect to wifi etc); but then I got a message that the setup wizard had failed. I tried "skipping" screens etc and regardless of what I did I couldn't get past that screen. I clearly either did something wrong or didn't have a good rom file. I was an idiot and didn't create a backup before flashing the new rom. So I mounted it in recovery and loaded a factory image that way and flashed back to norm. My intention was to start things over. I rooted again, went through the whole process; however, I'm seeing a weird phenomenon. When I am in windows (or ES explorer for that matter) and access the files on the sd card partition...I can load files onto there (for flashing in recovery etc); however, once I am actually in recovery and go to "install" the partition that I view in recovery is the files I had from the very first flash. I can create new files in windows or ES explorer and everything works as expected....but once in recovery, none of those folders are present...and the only zip files that are available to "install" are the ones I used the first time that didn't work. I'm clearly looking at some other partition or image in recovery than I am in windows. I have cleared cache and everything I can think of (again I'm a complete amateur). Does anyone have a suggestion of what I am doing wrong or how to resolve? Thanks in advance.
Cranky
The issue with your first problem was that it could have been a bad gapps, in the future try different gapps if you see weird problems like that, to your second problem, when flashing lollipop on a device that had ICS it'll change the directory of the SDcard, no biggie though, just search in recovery data/media/legacy or data/media/0 it should be in one of those that your files are in.
Sent from my Nexus 9 using Tapatalk
Try this.
Try to send files over using adb whilst in recovery. If you do not know how then watch this youtube(dot)com/watch?v=NaK5OxUeDKM
sorry im not allowed to post links because im a new user.

Did I brick my phone?

Background: I have the XT1064 (unlocked, single sim), and I actually just bought this phone. I ordered it because I have a droid Turbo that I don't want to risk custom ROMs on, so I figured this $100 device would be good to play with. I first unlocked the bootloader, courtesy of motorola, and then I flashed custom recovery (TWRP). A bit of tinkering later and I discover I can't get the recovery to stick. "oh well, I can plug in my phone and type a command on boot no problem." Next, I tried flashing the latest release of CM12.1 for my phone (titan) and I get an error. I search around trying to fix the error, and everyone says "use the latest nightly (CM13)" and "factory reset your phone via twrp" so that's what I do. Next, after waiting for my phone to start up, I get everything rolling so I can copy my new image over.
Problem: I find that access is denied to "sdcard/download" so I try other folders in sdcard. None are allowed for adb.
Attempted solutions: On my phone, I install ES file explorer, which reveals that everything in sdcard/ is gone except the Android folder, and an extensionless file called TWRP. Still not suspecting anything, I attempt to create a "download" folder. No luck, access still restricted. I tried downloading a file via the internet browser, "failed to find downloads directory". Everything in sdcard is barred from me. Besides the SuperSU that's half-installed (part of twrp apparently) this is a factory new device, I purchased it from best buy via ebay. Is my phone toast already? Or is there something I can do?
MCFX2 said:
Background: I have the XT1064 (unlocked, single sim), and I actually just bought this phone. I ordered it because I have a droid Turbo that I don't want to risk custom ROMs on, so I figured this $100 device would be good to play with. I first unlocked the bootloader, courtesy of motorola, and then I flashed custom recovery (TWRP). A bit of tinkering later and I discover I can't get the recovery to stick. "oh well, I can plug in my phone and type a command on boot no problem." Next, I tried flashing the latest release of CM12.1 for my phone (titan) and I get an error. I search around trying to fix the error, and everyone says "use the latest nightly (CM13)" and "factory reset your phone via twrp" so that's what I do. Next, after waiting for my phone to start up, I get everything rolling so I can copy my new image over.
Problem: I find that access is denied to "sdcard/download" so I try other folders in sdcard. None are allowed for adb.
Attempted solutions: On my phone, I install ES file explorer, which reveals that everything in sdcard/ is gone except the Android folder, and an extensionless file called TWRP. Still not suspecting anything, I attempt to create a "download" folder. No luck, access still restricted. I tried downloading a file via the internet browser, "failed to find downloads directory". Everything in sdcard is barred from me. Besides the SuperSU that's half-installed (part of twrp apparently) this is a factory new device, I purchased it from best buy via ebay. Is my phone toast already? Or is there something I can do?
Click to expand...
Click to collapse
Since you can boot it, it's not bricked, if ur on cm 13 , ur external memory card is formatted as internal storage (the reason why you cant access it via twrp) , go to settings >storage and USB > select ur memory card >click on options (top right corner) >format as portable storage. Now you can access ur sd card via twrp. And check ur twrp version, 8.6.0 , and command Used to flash it via Pc "fastboot flash recovery filename.img (remove img from original file) . Hope this helps, and about Cm12, what was the error you were getting?

Oops, now I'm snookered...I think need to load OS from TWRP

Yes, I know, I should have backed up...but did not. So, this TP, I cannot go into usb mode or recovery mode. For some reason, I get a weird 4 block pattern. Before I messed up, I was able to use TWRP 2.8.3 to load different gapps and roms in the ttinstall file by mounting. Well, I decided Lollipop was not quite what I wanted and wanted to go back to KitKat. Anyway, in my zeal of trying to fix what may be causing the recovery mode issue, I wiped everything and formatted everything...including the ttinstall file. I can still boot to twrp 2.8.3, but honestly, the sequence of invents I have tried to create a new folder called ttinstall and place in there rom and gapps, it will not load. In fact, I'm not sure where the twrp file is located. So, I would appreciate it if someone has detailed instructions beginning with opening twrp 2.8.3. What sd card to use and folder to create where, and so forth. I can mount the TP and load files via the pc, but I don't quite know where they actually go on the tablet. The device shows up as 1gb on the pc and this is a 32gb TP so I know I messed it up. I was spoiled by the TPToolbox when I was able to use the usb recovery mode and make all changes there.
Any help would be appreciated. I did do a search, but I have not found clear instructions for me. I even saw a youtube, but again, it was more confusing. Thanks.
golfnut22 said:
Yes, I know, I should have backed up...but did not. So, this TP, I cannot go into usb mode or recovery mode. For some reason, I get a weird 4 block pattern. Before I messed up, I was able to use TWRP 2.8.3 to load different gapps and roms in the ttinstall file by mounting. Well, I decided Lollipop was not quite what I wanted and wanted to go back to KitKat. Anyway, in my zeal of trying to fix what may be causing the recovery mode issue, I wiped everything and formatted everything...including the ttinstall file. I can still boot to twrp 2.8.3, but honestly, the sequence of invents I have tried to create a new folder called ttinstall and place in there rom and gapps, it will not load. In fact, I'm not sure where the twrp file is located. So, I would appreciate it if someone has detailed instructions beginning with opening twrp 2.8.3. What sd card to use and folder to create where, and so forth. I can mount the TP and load files via the pc, but I don't quite know where they actually go on the tablet. The device shows up as 1gb on the pc and this is a 32gb TP so I know I messed it up. I was spoiled by the TPToolbox when I was able to use the usb recovery mode and make all changes there.
Any help would be appreciated. I did do a search, but I have not found clear instructions for me. I even saw a youtube, but again, it was more confusing. Thanks.
Click to expand...
Click to collapse
Edit: Well, that was easy. I just set up the ttinstall folder, then copied the rom and gapps zip files there, unmounted, then selected install from the twrp menu (rom first then gapps), rebooted and presto...running again.

Need workaround for flashing custom to my quirky N6

One of my N6s has a little trouble doing ADB.
When it's in stock, the phone will only accept ADB commands and show up in ADB Devices when the USB mode is set to MIDI. It doesn't work with ADB in MTP mode. But in MTP mode, I can drop files to the phone from Windows File Manager, but no ADB. In TWRP recovery mode, with MTP on I can't drop files to the phone. In TWRP, if I disable MTP, the phone no longer shows up in Windows. That's the background on this phone.
I'm trying to flash Pure Nexus, GApps, Magisk, and Franco Kernel to this phone without encrypting it.
As a starter step, I have flashed stock and TWRP to it without rebooting to the stock ROM (which would encrypt the phone).
(Note I know many people say encryption doesn't matter for better performance. Let's not get distracted by that discussion here. I'm trying to see if I can flash this custom setup without encrypting.)
I now need to get the Zips for PN, GApps, Magisk, and Franco onto the phone but am unable to use adb push command or Windows File Manager to drop those files.
So it has fresh stock and TWRP on it. Now when the phone is in TWRP, and I try to "adb push ROM.zip" I get an error: failed to get feature set: no devices/emulators found If I try adb devices it returns a blank list.
So while TWRP is on the phone i don't know other ways to push the Zips over to a folder on the phone.
In Windows File Manager I can see the device Nexus 6 and inside of that is Internal Storage. If I try to drop files to Internal Storage using Windows, it processes for a long time and hangs.
In Windows File Manager I cannot create a new folder on the phone when it's in TWRP mode.
In TWRP, Mount, the default boxes checked are Data and Cache. Others aren't checked.
Is there some other trick to getting those Zips onto the phone without booting the phone into Stock, thus encrypting the data? Thanks
wittier said:
One of my N6s has a little trouble doing ADB.
When it's in stock, the phone will only accept ADB commands and show up in ADB Devices when the USB mode is set to MIDI. It doesn't work with ADB in MTP mode. But in MTP mode, I can drop files to the phone from Windows File Manager, but no ADB. In TWRP recovery mode, with MTP on I can't drop files to the phone. In TWRP, if I disable MTP, the phone no longer shows up in Windows. That's the background on this phone.
I'm trying to flash Pure Nexus, GApps, Magisk, and Franco Kernel to this phone without encrypting it.
As a starter step, I have flashed stock and TWRP to it without rebooting to the stock ROM (which would encrypt the phone).
(Note I know many people say encryption doesn't matter for better performance. Let's not get distracted by that discussion here. I'm trying to see if I can flash this custom setup without encrypting.)
I now need to get the Zips for PN, GApps, Magisk, and Franco onto the phone but am unable to use adb push command or Windows File Manager to drop those files.
So it has fresh stock and TWRP on it. Now when the phone is in TWRP, and I try to "adb push ROM.zip" I get an error: failed to get feature set: no devices/emulators found If I try adb devices it returns a blank list.
So while TWRP is on the phone i don't know other ways to push the Zips over to a folder on the phone.
In Windows File Manager I can see the device Nexus 6 and inside of that is Internal Storage. If I try to drop files to Internal Storage using Windows, it processes for a long time and hangs.
In Windows File Manager I cannot create a new folder on the phone when it's in TWRP mode.
In TWRP, Mount, the default boxes checked are Data and Cache. Others aren't checked.
Is there some other trick to getting those Zips onto the phone without booting the phone into Stock, thus encrypting the data? Thanks
Click to expand...
Click to collapse
SUCCESS
Update: with some manipulation in TWRP, I was able to get a file system I could see and drop files to from Windows.
After flashing stock, and TWRP, and booting to TWRP (without ever booting to system/stock, which would have encrypted phone) i did the following.
I'm trying to remember all the steps but I think that Wiping the data and cache partitions via TWRP was the key, and required before I could move zips over to the phone.
I dropped the Pure Nexus, GApps, and Magisk onto the phone and then flashed them in that order via TWRP
Rebooted to system.
It installed and set up under Pure Nexus. It's reloading my apps from my Google account.
I checked Settings, Security and the phone is not encrypted.
I haven't yet checked on the GApps and Magisk. I assume I can install Franco Kernel from the Franco Manager app that I bought.
When you can't transfer files from PC to the N6:
Remove the drivers of the PC and let Windows search for the latest drivers.
Check on https://dl.twrp.me if you have the latest version of TWRP.
NLBeev said:
When you can't transfer files from PC to the N6:
Remove the drivers of the PC and let Windows search for the latest drivers.
Check on https://dl.twrp.me if you have the latest version of TWRP.
Click to expand...
Click to collapse
thanks. it is the latest TWRP.
I fixed it, see above, it wasn't the drivers on the PC.
The PC works with my other N6. This N6 has issues.
The workaround of wiping in TWRP fixed it. I don't know yet if I'd have to do the same wipe with my better N6. Will find out soon.
wittier said:
... I don't know yet if I'd have to do the same wipe with my better N6. Will find out soon.
Click to expand...
Click to collapse
Updating TWRP to the latest version is a good practice.
wittier said:
SUCCESS
Update: with some manipulation in TWRP, I was able to get a file system I could see and drop files to from Windows.
After flashing stock, and TWRP, and booting to TWRP (without ever booting to system/stock, which would have encrypted phone) i did the following.
I'm trying to remember all the steps but I think that Wiping the data and cache partitions via TWRP was the key, and required before I could move zips over to the phone.
I dropped the Pure Nexus, GApps, and Magisk onto the phone and then flashed them in that order via TWRP
Rebooted to system.
It installed and set up under Pure Nexus. It's reloading my apps from my Google account.
I checked Settings, Security and the phone is not encrypted.
I haven't yet checked on the GApps and Magisk. I assume I can install Franco Kernel from the Franco Manager app that I bought.
Click to expand...
Click to collapse
I updated my other N6 last night.
After flashing stock ROM and TWRP and booting to TWRP only, I didn't have to wipe before I could push files to the phone.
The other phone is more difficult.

Categories

Resources