Hi , i made one mistake now am stuck, whilst rooting i went to flash the zip file in recovery and noticed the put the folder of it instead of the actual zip file.so obviously its not working. how do i access internal storage , mount usb isnt workin in team recovery,and its stuck in loop if try to power on tablet. any ideas am fumin whats point of havin mount when it doesnt work ????
Make sure recovery it ok. if not re-flash TWRP via fastboot again.
so if u can boot in TWRP use install by sideload (TWRP->Advance->ADB Sideload) via PC and USB Cable
attach USB Cable and make sure you Windows was detect device as ADB mode.
open cmd use command "adb sideload path-to-working-image-file.zip"
good luck
phukao said:
Make sure recovery it ok. if not re-flash TWRP via fastboot again.
so if u can boot in TWRP use install by sideload (TWRP->Advance->ADB Sideload) via PC and USB Cable
attach USB Cable and make sure you Windows was detect device as ADB mode.
open cmd use command "adb sideload path-to-working-image-file.zip"
good luck
Click to expand...
Click to collapse
yeh i can get in recovery TWRP ,i did as u say i heard laptop make a sound when ADB sideload started
i have no idea what to type into cmd tho , the zip file in on desktop what exactly do i type ?
thanks
Related
So I formatted my sdcard thinking I would be able to install a new rom easily, that was not the case. The problem is that I have not found a way to transfer files to my phone.
I have TWRP 2.7.0.0 recovery installed, but mount USB does not work. I get the sound from my pc that a device has been connected but nothing happens. I tried uninstalling the drivers and reinstalling htc sync + drivers but no difference.
Fastboot commands work, but adb commands do not. So i cannot adb push. Adb doen't work in fastboot as I understand it but should work in recovery?
I was thinking of installing stock rom, because I can appearently do that via fastboot. But after extracting rom.zip from ruu install file, I find out that I have to decrypt the zip-file. And the only decryption tool available is for linux, which is a bit of a hassle as I am running windows.
So do anyone have any suggestions to how I can transfer files to my phone? The easiest would be to get mount usb to work, or adb push to work. I have not managed to get adb sideload to work either. I have struggled with this for the past two days, so any help would be greatly appreciated.
Flash this one, mount the sdcard and wait some minutes
https://www.dropbox.com/s/qp21ubo10xetcvn/Philz recovery 5.15.9.img
I everyone,
I need your help, I tried to install a new rom (AICP : this one) , and somehow forgot to do a backup.
When I boot I only get the swirling logo, never get to fully load.
The phone is not bricked, I can still access the bootloader / fastboot and my recovery, so I could simply flash another rom... but I can't figure how to get the zip file on the /sdcard.
I can't use adb sideload or push, I have HTC sync and android sdk installed, I have no problem to use fastboot commands, so I guess I don't have any driver problem, but adb devices never shows my phone (Tried while off, booted on bootloader, on fastboot, and on recovery, never shows up when I try adb devices)
On windows I get a driver error when plugging my phone while in recovery, but I don't find how to install it.
So... is there a way to mount the /sdcard/ as an external drive in windows or ubuntu ? Or do you have a workaround for adb ?
Thanks a lot !
Vincent
Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
3. If not try to wipe all exclude OTG.
4. If not try to push trough OTG (if you have OTG then do it firstly).
marik1 said:
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
Click to expand...
Click to collapse
Unfortunately the phone isn't visible in Windows, neither in TWRP nor Sideload. I tried to push in sideload, but that doesn't work (adb: error: connect failed: closed). TWRP FAQ says that there are no adb commands available in sideload.
I just ordered an OTG stick. Let's hope i can mount him in TWRP.
Anybody other suggestions ?
Try adb commands in fastboot... ? Doesn't have to be visible with device-info
androidz.net said:
Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
Click to expand...
Click to collapse
Okay so if you already have Twrp installed that's Great. that's your recovery, don't lose it. Be in the habit of rebooting to Twrp whenever you flash something.
The only way to resolve this issue is to format the storage.
You have an easy options.
Buy the OTG adapter...Yes get it, it will make flashing ten times faster and alot easier to quickly flash a file if you find yourself in a bootloop.
The OTG Adapter will cost about $5
You should also buy a 32 usb 3.0 drive. I bought my 3.0 usb at Walmart for $12..
After formatting the sd storage> Click select storage > choose USB drive> add your ROM> click add more zips > add Gapps, and Magisk > Flash.
Reboot to recovery> make sure to check boxes for TWRP installation recovery and system app.
Once reboot to recovery > click "select storage"
Click Wipe > select Advanced Wipe> select Cache ( only cache) > Slide to wipe
Reboot to system > Done.
First boot could take several minutes
Dears,
I made a mistake. by TWRP I did a full wipe: System, data, internal storage, cash...
Now I'm able to boot in fastboot or TWRP but I don't have rom file on Smartphone.
Also the spartphone is not detected by PC.
I tryed to boot in fastboot and by pc, using the command "fastboot devices" it shows the device: "faecd61d fastboot"
Unfortunately if I do the same with ADB "adb devices" I got no answer. Could be the fact that USB debugging is not enabled ? If it is the case, how can I enable USB debugging mode now?
So I don't know how to copy rom on my smartphone.
who can help me?
THANKS to evryone
Please help me....
Did you already tried a other usb slot?
Yes, without success
if u can boot into twrp, have u ensured that u have enabled mtp under mounts?
Yes, It seems enabled.
see picture attached.
https://photos.app.goo.gl/XMz1swHS94qcisB39
ilpratti said:
Yes, It seems enabled.
see picture attached.
https://photos.app.goo.gl/XMz1swHS94qcisB39
Click to expand...
Click to collapse
Disable and enable it sometimes while it's connected for me it helps
No success
Do you think I should sent mi 5s to xiaomi repair center? the problem is that I have no clue about where they are.
Have you try install rom via usb otg?
yes,
OTG USB is not detected by phone.
The good news is that final fastboot mode is recognized and if I type "fastboot devices" on command windows it returs something
Unfortunately if I do the same with ADB "adb devices" I got no answer
Which is the command in fastboot mode to copy file in internal memory of smartphone?
I have a custom rom RR in ZIP format. If I could send this zip by fastboot I should solve my problem
I don't think simply copying the file over into your phone will solve it. also, in fastboot you have to flash .img files, not .zip files, since you will have to flash partitions manually.
have you also tried adb sideload?
Good afternoon, I need help in TWRP mode I can not mark usb-otg in mount.
My terminal does not have a rom because I mistakenly delete all the data.
My idea was to put the rom in a pendrive otg and intalarla from TWRP but I can not check the corresponding box.
In Fastboot mode either since my pc does not recognize the terminal, I have tried all the ports of the pc and all the cables that I have.
The drivers are well installed and adb and others work correctly.
I need your help, since the phone works very well and I changed the battery recently.
Thanks in advance.
can you mount mtp in twrp? perhaps you could try loading a rom from your pc to your phone via adb sideload in twrp.
NightRaven49 said:
can you mount mtp in twrp? perhaps you could try loading a rom from your pc to your phone via adb sideload in twrp.
Click to expand...
Click to collapse
thanks, there is some tutorial to do this. I'm pretty new in these things
to mount mtp, boot twrp, then go to mount. there will be a button on the bottom right that says enable mtp (if mtp is disabled) and tap it. if mtp is already enabled, the button will say disable mtp, so you don't have to do anything here. just plug your phone into your computer and see if it gets detected. if it doesn't get detected, again try the different ports on your computer or switch cables.
once your phone is detected, you have 2 options.
1) mtp allows files to be copied over from your pc to your phone while in twrp. so you can just copy a rom file into your internal storage and flash normally.
2) you can also flash the rom through adb sideload. first, place the rom in an easily accessible directory, such as directly on C:\. next, you can start adb on your computer by opening up terminal/powershell and typing
Code:
adb start-server
you should get a message saying adb daemon is now running on port xxx. next, open up the adb sideload dialog in twrp through advanced >> adb sideload, then swipe to start the service. just to be sure your phone is detected by your pc, type
Code:
adb devices
your phone should show up on the terminal with its serial number. now navigate to the folder where your rom is and flash it.
Code:
cd C:\
adb sideload rom.zip
make sure your phone doesn't get disconnected during the process of flashing.
I'd recommend 1) since it's a more familiar method of flashing.
Try formatting your Usb pen drive as FAT32, it worked for me. My pen drive was formatted as NTFS previously and twrp did not allow me to check box the "usb otg" option, but after formatting as FAT32 it worked like a charm.
Good luck