Just unlocked and rooted my phone a few days ago and I made a nadroid backup with TWRP. Of course, that has taken up most of my storage and defeats the logic of having a backup somewhere other than the device being backed up.
It's been a few years since I last had a phone I could root. My last one could be mounted as a USB drive and any files easily taken off the phone. I could push it up to dropbox but even on a wifi connection with cable broadband that will take half a day.(the backup is like 5gb)
Is there an app I can use to push the file via the USB or even wifi to my PC?
nlinecomputers said:
Just unlocked and rooted my phone a few days ago and I made a nadroid backup with TWRP. Of course, that has taken up most of my storage and defeats the logic of having a backup somewhere other than the device being backed up.
It's been a few years since I last had a phone I could root. My last one could be mounted as a USB drive and any files easily taken off the phone. I could push it up to dropbox but even on a wifi connection with cable broadband that will take half a day.(the backup is like 5gb)
Is there an app I can use to push the file via the USB or even wifi to my PC?
Click to expand...
Click to collapse
Easy. Connect to PC via USB. Go to the TWRP folder, drag off the backup inside.
You do know how to connect to PC via USB cable, right? All your folders will show up like a flash drive. Look for TWRP.
How big is your backup? Something is wrong if it takes up most of your storage. I keep one or two backups on my phone all the time. Usually just one, as that's all I really need. I make a backup almost daily. In TWRP settings, you can choose level of compression. More compression will make smaller size.
ChazzMatt said:
Easy. Connect to PC via USB, Go to the TWRP folder, drag it off.
How big is your backup? Something is wrong if it takes up most of your storage. I keep one or two backups on my phone all the time. Usually just one.
Click to expand...
Click to collapse
That folder is empty and isn't the same folder as on the phone itself. I can't see the actual directory.
nlinecomputers said:
That folder is empty and isn't the same folder as on the phone itself. I can't see the actual directory.
Click to expand...
Click to collapse
OK, let's take one step at a time.
You made the backup with TWRP, right?
What version of TWRP are you on?
in the PC view, you will see all your folders. Inside TWRP will be the backup file.
No, the droid turbo doesn't support USB mode. It only supports MTP or PTP modes. If you going to be condescending at least know the product.
Sorry typo: doesn't support
nlinecomputers said:
No, the droid turbo does support USB mode. It only supports MTP or PTP modes. If you going to be condescending at least know the product.
Click to expand...
Click to collapse
Does or doesn't? Make up your mind.
I know the product so it's not being condescending. If have TWRP installed you should see the folder.
If that's a limit of Verizon stock ROM, then that's your fault.
You're saying Verizon stock ROM doesn't allow you to see the contents of your phone like a flash drive? That's a universal Android feature, so it's puzzling you can't see the folder.
Again, one step at a time... What version of TWRP are you on? Answer the question.
My backup is in /data/media/0/TWRP/BACKUPS
I can see that folder on my phone but not on the PC
nlinecomputers said:
My backup is in /data/media/0/TWRP/BACKUPS
I can see that folder on my phone but not on the PC
Click to expand...
Click to collapse
For the third time. What version of TWRP are you on?
TWRP is 287.
If that's a limit of Verizon stock ROM, then that's your fault.
Click to expand...
Click to collapse
How the **** is that? I'm not Motorolla I didn't make the phone.
You're saying Verizon stock ROM doesn't allow you to see the contents of your phone like a flash drive?
Click to expand...
Click to collapse
Yes. Common knowledge. https://www.verizonwireless.com/support/knowledge-base-117349/
nlinecomputers said:
TWRP is 287.
Click to expand...
Click to collapse
That should work. but go ahead and update to 3.0.
the reason I was asking is because a year ago there was an unofficial version of TWRP for Quark that worked with 4.4.4 but not Lollipop to see files on the PC. But 2.87 is official and works. Still go ahead and flash 3.0.
Now, when you connect to PC do you see the autoplay dialog pop up?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And if you see that, do you then see all the folders?
Inside that folder then is a "Backups" subfolder with the backup file.
Nope, that folder is empty. It is empty on my phone too. It isn't the same folder as /data/media/0/TWRP That folder is at /sdcard/TWRP
I'll redo the backup and plant the files there and see if they show up. But MTP doesn't show all files even in the folders that do show up.
IF you are not getting the auto play pop up dialog, then it means the proper Motorola drivers are not installed on your PC.
---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------
nlinecomputers said:
Nope, that folder is empty. It is empty on my phone too. It isn't the same folder as /data/media/0/TWRP That folder is at /sdcard/TWRP
I'll redo the backup and plant the files there and see if they show up. But MTP doesn't show all files even in the folders that do show up.
Click to expand...
Click to collapse
Forget folder /data/media/0/TWRP
That has nothing to to do with seeing the folders on your PC as a flash drive.
Look at my screenshot above. You do not see any 0/data crap. It says "internal storage".
______
Are you getting the auto play pop up dialog? Do you have the proper Motorola drivers installed on your PC?
When you plug in the phone to your PC and it turns into a thumb drive, jump drive, flash drive, you will see all the media folders.
You shouldn't have to "plant" the backup anywhere.
I've added more screenshots above. But it will help if you answer the questions... do you see the auto play pop up dialog when you plug in the phone?
When I plug in my phone, in "My Computer", I see the phone model and beside it is a description "Portable Media Player". This means it's acting as a flash drive. What does yours say in the My Computer description?
Look at my screenshot above. You do not see any 0/data crap. It says "internal storage".
---------- Post added at 12:34 PM ---------- Previous post was at 12:23 PM ----------
Download and install these Motorola USB drivers:
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
That may be your problem. Your smartphone is not being recognized as a flash drive properly.
Reboot the PC after installing the drivers.
Do you see the auto play pop up dialog?
---------- Post added at 12:40 PM ---------- Previous post was at 12:34 PM ----------
nlinecomputers said:
How the **** is that? I'm not Motorolla I didn't make the phone.
Yes. Common knowledge. https://www.verizonwireless.com/support/knowledge-base-117349/
Click to expand...
Click to collapse
No one else has that problem with TWRP installed. Everyone else sees their phone as a flash drive. But maybe they are on custom ROM?
No one else has that problem with TWRP installed. Everyone else sees their phone as a flash drive. But maybe they are on custom ROM?
Click to expand...
Click to collapse
Yep. MTP only shows the SDCARD directory on any phone. For a Droid Turbo, even with custom roms, that directory is emulated as there is no SDCARD on that phone.
The stock rom doesn't support USB mode. Phones that support that mode have that option in the USB connection menu. Your recovery program will not make any change on that. They are two separate OS environments.
Yes I have Moto drivers installed. Yes I get the popup(when I turn that feature on in Windows. I hate it so it is off on my machine by default) And yes I can see a TWRP directory but it isn't the same. Using root explorer, I can see TWO such directories and in two different locations. Again MTP mode only shows you the SDCARD directory of any phone. You can't get to the true /. So I can't see the /data directory and thus can't get to the default location TWRP put my files. Like I said when I get a spare moment I will move that location to the "sdcard" and try again. Thanks anyway talking to you let me work out what was going on so you have been a help.
nlinecomputers said:
Yep. MTP only shows the SDCARD directory on any phone. For a Droid Turbo, even with custom roms, that directory is emulated as there is no SDCARD on that phone.
The stock rom doesn't support USB mode. Phones that support that mode have that option in the USB connection menu. Your recovery program will not make any change on that. They are two separate OS environments.
Yes I have Moto drivers installed. Yes I get the popup(when I turn that feature on in Windows. I hate it so it is off on my machine by default) And yes I can see a TWRP directory but it isn't the same. Using root explorer, I can see TWO such directories and in two different locations. Again MTP mode only shows you the SDCARD directory of any phone. You can't get to the true /. So I can't see the /data directory and thus can't get to the default location TWRP put my files. Like I said when I get a spare moment I will move that location to the "sdcard" and try again. Thanks anyway talking to you let me work out what was going on so you have been a help.
Click to expand...
Click to collapse
All the Quarks have the same hardware, especially storage. While Verizon stock ROM may not support USB mode, I KNOW custom ROMs do.
go over to the Quark TWRP thread and ask...
If your problem is Verizon stock ROM, then maybe they can help you with workaround.
[RECOVERY][OFFICIAL TWRP 3.0.0-0][For all Quark][Moto Maxx/Turbo and Droid Turbo]
http://forum.xda-developers.com/mot...recovery-twrp-2-8-7-0-touch-recovery-t3180308
_____________
---------- Post added at 01:35 PM ---------- Previous post was at 01:28 PM ----------
I just went into ComputerFreak274 thread (stock ROM) and they see TWRP folders fine too.
computerfreek274 said:
Otg to flash drive auto mount in twrp fine. I use it all the time.
twrp also connects auto to windows and Linux just fine.
I did see it was buggy on Mac.
Click to expand...
Click to collapse
computerfreek274 said:
You do not have click USB under twrp. It is auto mounted in twrp it will show up in my computer a quark. That USB mount you see is if you had an USB flash drive like the new micro flash sticks.
You you do not see quark listed, go to device manager and see if you have an error on your driver. Seeing your on Mac you may have to search twrp Mac see if you find info. It works on windows and Linux just fine.
Go to reboot menu and hit reboot recovery and see if Mac mounts it there. Or on Mac load program "disk" and see if it is on the left side menu bar if it is right click and hit mount.
Click to expand...
Click to collapse
What he means is he is plugging in to the computer while in TWRP recovery -- and it auto-connects to his PC.
Whereas, I'm plugging in during regular Android CM12.1...
So, try his way. Boot into recovery and then plug in?
How are you doing it -- in Recovery or during regular ROM interface?
__________
---------- Post added at 01:41 PM ---------- Previous post was at 01:35 PM ----------
From the Quark TWRP thread:
mjc2251 said:
Does USB otg work on turbo? I just tried to mount an otg flash drive and it would not mount.
Edit: Nevermind I gave it a few more tries and got it working!
Click to expand...
Click to collapse
baybutcher27 said:
2# post update just in case more USB bugs...
Click to expand...
Click to collapse
Did you see the suggestions in this post? computerfreak274 drags off the TWRP files in Recovery. He's the dev for stock Verzon ROM with tweaks and TWRP works fine with stock Verizon ROM to see the files. It auto connects to Windows when the phone is in recovery mode. Have you tried that?
Also go to the TWRP thread.
ChazzMatt said:
All the Quarks have the same hardware, especially storage. While Verizon stock ROM may not support USB mode, I KNOW custom ROMs do.
go over to the Quark TWRP thread and ask...
If your problem is Verizon stock ROM, then maybe they can help you with workaround.
[RECOVERY][OFFICIAL TWRP 3.0.0-0][For all Quark][Moto Maxx/Turbo and Droid Turbo]
http://forum.xda-developers.com/mot...recovery-twrp-2-8-7-0-touch-recovery-t3180308
_____________
---------- Post added at 01:35 PM ---------- Previous post was at 01:28 PM ----------
I just went into ComputerFreak274 thread (stock ROM) and they see TWRP folders fine too.
What he means is he is plugging in to the computer while in TWRP recovery -- and it auto-connects to his PC.
Whereas, I'm plugging in during regular Android CM12.1...
So, try his way. Boot into recovery and then plug in?
How are you doing it -- in Recovery or during regular ROM interface?
__________
---------- Post added at 01:41 PM ---------- Previous post was at 01:35 PM ----------
From the Quark TWRP thread:
Click to expand...
Click to collapse
nlinecomputers said:
Is there an app I can use to push the file via the USB or even wifi to my PC?
Click to expand...
Click to collapse
This should work for WIFI transfer.
https://play.google.com/store/apps/details?id=com.pushbullet.android.portal
Sent from my XT1254 using Tapatalk
Accessing from TWRP instead of the normal phone allowed the hidden root files to be seen. It still only provides MTP access to the emulated SDCARD but that is enough to get the job done.. TWRP is root level and the normal file sharing isn't so I'm guessing that is the issue. A custom ROM probably gives full root access even from the phone.
Sorry guys I been off here for a bit been runing high fever and found out I have pneumonia. Thank you guys for stepping up and help each other. It is going to be a week or so before I am feeling better. We maybe able to have a custom build of marshmallow by the end of the month.
Twrp locks and hides backups after you exit twrp you must cope backups to your PC from twrp this info was listed and is also on twrp forums.
If anyone is still stuck with anything just PM me so I do not have to reply to stuff that may have already been fixed.
Thank you.
I to discovered the lack of access to the TWRP files in regular viewing when connecting the phone to PC. My solution was to move the file to 0/emulated using a file Explorer on the phone. Doing it from within TWRP, connected to PC is good to know.
Related
Hello guys,
I have an htc one m7. I stupidly wiped system partition beforehand and downloaded an older ruu in order to get my htc one in a clean stock condition. Unfortunately, not only can I not boot up the system of the phone, I can't download anything in twrp (also tried cwm) because nothing mounts from the phone, including mtp. I still have the bootloader and recovery options .Here's what steps I tried:
fastboot rom pushing-FAIL
adb sideloading-worked to 100%, but then I get a status protocol error from twrp
adb pushing- did not help(don't know why, nothing shown in cmd)
drivers install sometimes but most of the time say not installed.
What I may try-
usb otg, but don't know if it will work if nothing mounts on my phone from twrp?
another computer.
I'm really worried that I may have converted my phone into an expensive paperweight. Is this a hard brick? How can I get out of this? Thanks so much!
supersega9 said:
adb pushing- did not help(don't know why, nothing shown in cmd)
Click to expand...
Click to collapse
Your command prompt will be unresponsive when using adb push. When it become responsive again, your file is pushed.
Code:
adb push your_rom.zip /sdcard
---------- Post added at 02:53 PM ---------- Previous post was at 02:48 PM ----------
supersega9 said:
I can't download anything in twrp (also tried cwm) because nothing mounts from the phone, including mtp
Click to expand...
Click to collapse
You can not mount your phone like a storage device on your computer when it is booted in recovery. When you mount something in recovery, you mount it so the recovery can access it, not the computer. Use adb push, adb sideload or usb otg.
fastboot rom pushing-FAIL
Click to expand...
Click to collapse
Sure, you can't use fastboot to push a rom...
adb sideloading-worked to 100%, but then I get a status protocol error from twrp
Click to expand...
Click to collapse
Check usb cable, usb ports and make sure to use 2.0 usb directly on your computer (not using an external usb hub).
drivers install sometimes but most of the time say not installed.
Click to expand...
Click to collapse
Make sure your drivers are correctly installed (refer to the FAQ sticky thread)
alray said:
Your command prompt will be unresponsive when using adb push. When it become responsive again, your file is pushed.
Code:
adb push your_rom.zip /sdcard
---------- Post added at 02:53 PM ---------- Previous post was at 02:48 PM ----------
You can not mount your phone like a storage device on your computer when it is booted in recovery. When you mount something in recovery, you mount it so the recovery can access it, not the computer. Use adb push, adb sideload or usb otg.
Sure, you can't use fastboot to push a rom...
Check usb cable, usb ports and make sure to use 2.0 usb directly on your computer (not using an external usb hub).
Make sure your drivers are correctly installed (refer to the FAQ sticky thread)
Click to expand...
Click to collapse
Hi Alray,
Thanks for the post! you were quite helpful. Ok, I successfully pushed a rom through adb and when I try to install it says cannot mount/data. What can I do now to fix this issue?
supersega9 said:
Hi Alray,
Thanks for the post! you were quite helpful. Ok, I successfully pushed a rom through adb and when I try to install it says cannot mount/data. What can I do now to fix this issue?
Click to expand...
Click to collapse
in twrp go to wipe and then format data. push the rom again and flash it.
So like an idiot I wiped all data and system on my n6 and do t know what to do. There is no os to reboot to. Twrp. I downloaded a Rom and gapps to try and move it to the storage but it won't let me. Any ideas?
Sent from my HTC One using XDA Free mobile app
whozilla said:
So like an idiot I wiped all data and system on my n6 and do t know what to do. There is no os to reboot to. Twrp. I downloaded a Rom and gapps to try and move it to the storage but it won't let me. Any ideas?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
I believe you will have to use "ADB push" to move the files to your phone.
Use adb to push to internal....boot to twrp and flash the rom. ..simple
If your nexus drivers are properly installed in your Windows, you can get storage even in twrp, just download any Rom, move it to storage and flash it, but you've to hav drivers installed to get storage in recovery
Could use the toolkit to download a factory image to push to it also.
Another thought as well, if he only wiped, hook to PC and his internal storage may show up as well, won't need to push thru ADB but could copy/paste the ROM to the unit.
I did the same thing to my old GNex getting it ready for my daughter, had loaded up a ROM, but in recovery thought I may as well wipe it all out... Doh!
but hooked to my PC, the internal was seen and given adrive letter, so I cut/paste the files needed and reflashed in recovery, all good.
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
I was having trouble using adb. Huge cluster of mistakes I made. What solved it was using the toolkit to unroot and go back to stock.
Sent from my Nexus 6 using XDA Free mobile app
rootSU said:
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
Click to expand...
Click to collapse
I totally forgot that, root to the rescue, even though he seemed to have solved it.
You don't have to do adb push when you are in custom recovery and plug your phone into a computer your phone comes up on the folder section down load a ROM and drag and and drop
---------- Post added at 02:22 AM ---------- Previous post was at 02:21 AM ----------
rootSU said:
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
Click to expand...
Click to collapse
Best me to it
It's good practice to run a full backup of your ROM and user data every once in awhile, in case you flash something and get into a bootloop. Thanks to TWRP's scripting capabilities, we can trigger a weekly backup.
Prerequisites
Root Access
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instructions
Create a new Profile named TWRP Backup.
Create a Time context, and choose a time at night you want the TWRP backup to take place. For me, I made it at 4:00AM. To pick a single time, check both "From" and "To" and put the exact same time in both.
No need to name the task anything, just enter its configuration.
Code --> Run Shell. This is the code you'll need:
Code:
chmod 0777 /cache/recovery
echo "wipe cache\nwipe dalvik\nbackup SDBOM weeklybackup \ncmd reboot" > /cache/recovery/openrecoveryscript
Be VERY sure that this is typed exactly as such! Tick "Use Root" and then exit.
Files --> Delete Directory. Delete the TWRP/BACKUPS/YOURDEVICEUNIQUEID/weeklybackup. Check "Recurse." In order to get your device's unique ID, you need to simply navigate to TWRP/BACKUPS using any file explorer. You should have already made a previous backup, as TWRP will automatically create this folder. (Note: since you likely don't have a weeklybackup folder already here, it will likely fail the first time. You can easily just skip this action and make a backup once with this name, and then it'll work from then onwards).
Plugin --> Secure Settings. Go to Root Settings --> Reboot Options --> Reboot Recovery.
Exit out the task editing, and now add a few more contexts to make the backup run at an appropriate time. I added a power context so it only occurs when my phone is charging; I added a date context so it only runs on Sunday; and I also added a WiFi connected context so it only occurs when I'm at home.
That's it! This should satisfy the average TWRP user. MAKE THOSE BACKUPS!
I've been meaning to try to found out how to do this.
Thank you
For me it doesn't work
It's boots to recovery
Then it bootloops with message
"formatting cache using ext4"
Edit* I'm on 6.0.1 with TWRP 3.0
It works flawlessy, awesome! Thanks op
Reboot Recovery in Secure Settings is a PRO option!
Are there any decent alternatives to TWRP these days?
bjoswald said:
Are there any decent alternatives to TWRP these days?
Click to expand...
Click to collapse
Not really the thread to ask this question..
Could search for phillz it's available for select devices (but TWRP is better) and thats about it..
Giblet-dono said:
Reboot Recovery in Secure Settings is a PRO option!
Click to expand...
Click to collapse
Instead of using secure setting pro option, can't we just use run root shell command reboot recovery command?
No idea.. what I DO know is that this script gave me a hang on boot :<
Make a complete backup before running the script for the first time!
I am not sure yet why, but maybe someone (OP?) can help me out here..
I'm using an HTC One M8 with Marshmallow rom (ViperOneM8) which is stock HTC Sense based.
I use TWRP 2.7.8.0
Guess this doesn't work so well if you have secure boot enabled requiring a pin/passphrase.
So as I stated above this worked pretty well for me (it made the backup, rebooted me), but if I now go into tasker the "make-backup"-profile is gone?! This seems pretty pointless, if I have to set up the whole thing every time I use it ^^
Follow_and_Feel said:
So as I stated above this worked pretty well for me (it made the backup, rebooted me), but if I now go into tasker the "make-backup"-profile is gone?! This seems pretty pointless, if I have to set up the whole thing every time I use it ^^
Click to expand...
Click to collapse
Obviously you need to exit Tasker once, to save the profile. If you enter all actions in the task and run the task manually, it'll restart your phone without Tasker having saved what you've done.
Arstoien said:
Obviously you need to exit Tasker once, to save the profile. If you enter all actions in the task and run the task manually, it'll restart your phone without Tasker having saved what you've done.
Click to expand...
Click to collapse
Oh haha thank you! Stupidity at its best :laugh: thanks
I do my backup to a usb-otg drive though. What do I need to modify in this profile to make sure that the backup gets stored only on the otg drive and skips entirely if no otg drive is mounted?
Giblet-dono said:
No idea.. what I DO know is that this script gave me a hang on boot :<
Make a complete backup before running the script for the first time!
I am not sure yet why, but maybe someone (OP?) can help me out here..
I'm using an HTC One M8 with Marshmallow rom (ViperOneM8) which is stock HTC Sense based.
I use TWRP 2.7.8.0
Click to expand...
Click to collapse
Did you try to wait longer? I thought mine also bootloop-ed until I remember that the wipe cache & wipe dalvik command would cause the phone to take a while to load. I waited around 10 minutes.
---------- Post added at 05:18 PM ---------- Previous post was at 05:18 PM ----------
bagarwa said:
I do my backup to a usb-otg drive though. What do I need to modify in this profile to make sure that the backup gets stored only on the otg drive and skips entirely if no otg drive is mounted?
Click to expand...
Click to collapse
Did you try: http://wiki.rootzwiki.com/OpenRecoveryScript
---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------
@MishaalRahman I found that you don't have to chmod 0777 in the beginning and you don't have to use "Secure Settings".
I tested to touch the file in tasker and it created the file just fine.
In regards to Secure Settings, I added the task code -> run shell -> 'reboot recovery'
Contivity said:
Did you try: http://wiki.rootzwiki.com/OpenRecoveryScript
Click to expand...
Click to collapse
That was very educational. Thanks for the link.
Do you know what would be the path for usb-otg?? Would the command be mount usb-otg or something different?
Also, I don't see an option of backing up vendor partition. I do need to backup that, because without that, a restore causing unlocking issue. (Nexus 6P)
Lastly, does Tasker have a way to detect whether a usb drive is plugged in? I would like to add that as one of the trigeers.
bagarwa said:
That was very educational. Thanks for the link.
Do you know what would be the path for usb-otg?? Would the command be mount usb-otg or something different?
Also, I don't see an option of backing up vendor partition. I do need to backup that, because without that, a restore causing unlocking issue. (Nexus 6P)
Lastly, does Tasker have a way to detect whether a usb drive is plugged in? I would like to add that as one of the trigeers.
Click to expand...
Click to collapse
OTG Path - I won't know and can't test right now
Tasker detect USB - you can do a file test and set the variable. then you can use that as trigger or if clause.
bagarwa said:
Lastly, does Tasker have a way to detect whether a usb drive is plugged in? I would like to add that as one of the trigeers.
Click to expand...
Click to collapse
Try using a file explorer to view the path with the usb plugged in. That's what I did to get the full path of my sd card for this to work properly. So far, so good.
---------- Post added at 01:29 AM ---------- Previous post was at 12:33 AM ----------
MishaalRahman said:
[*]Code --> Run Shell. This is the code you'll need:
Code:
chmod 0777 /cache/recovery
echo "wipe cache\nwipe dalvik\nbackup SDBOM weeklybackup \ncmd reboot" > /cache/recovery/openrecoveryscript
Click to expand...
Click to collapse
I don't have much experience with running scripts. Is it safe to leave out the "/nwipe dalvik" part? I assume that would just skip wiping Dalvik?
FYI here are my additions to the Profile:
• Instead of only Sunday, run it every day but execute the backup only if the last backup is at least 1 week old. This removes the chance of having a backup too old because you weren't home Sunday, or you weren't charging that night, etc.
• When booting (only if rebooted from the profile) enter the sim pin code, so you wouldn't miss any emergency phone calls/sms
• If next clock alarm is too soon (say closer than 3 hrs), then don't start a backup
• Log the time and date of backups to a custom log file.
• If by any chance the screen is on while Profile conditions are met, delay the backup by 15 min, so no work is accidentally lost.
If anyone's interested, I'll leave more detailed info on each of the points.
...
I have the factory restore utility available for the 3T but not sure how to upload it or link to it since it exceeds the allowable upload size limit. It's a 1.2GB 7z file.
Split it up with WinRAR and then upload it to gdrive, Mega, mediafire... The server is up to you!
guisantes said:
I have the factory restore utility available for the 3T but not sure how to upload it or link to it since it exceeds the allowable upload size limit. It's a 1.2GB 7z file.
Click to expand...
Click to collapse
Please try the attached torrent file.
guisantes said:
Please try the attached torrent file.
Click to expand...
Click to collapse
I'm trying it. It's just a matter of time before I need something like this ;
I'm ~30% done so should be downloaded for me in ~60-80 minutes+.
Thanks.
---------- Post added at 04:51 PM ---------- Previous post was at 04:09 PM ----------
hachamacha said:
I'm trying it. It's just a matter of time before I need something like this ;
I'm ~30% done so should be downloaded for me in ~60-80 minutes+.
Thanks.
Click to expand...
Click to collapse
I've got the file downloaded, unpacked, and am wondering if there's a README that came with it? I can see a lot of the usual ways to use the components via fastboot, etc, but thought this was meant to be a .. "utter disaster recovery tool" ;. Or am I missing something?
Yes, it is and utter disaster recovery tool.
You may need the qualcomm drivers - 64 bit windows driver is attached. I believe mine autoinstalled without needing the files
**** NOTE: This procedure will completely wipe your entire device ****
To use the recovery tool.
1. With the phone turned off, press and hold the volume up button while inserting the USB cable attached to your PC.
2. Windows will recognize the Qualcomm driver and if you're lucky will auto install the driver.
3. Run the MsmDownloadTool V3.0.exe file with administrator privileges (right click and run as administrator)
4. One of the lines in the window should show COMM or something that is not "No Device" when your phone is attached and recognized as the Qualcomm loader
5. Click on that line item, then select Start
6. The whole procedure should take about 5 minutes and the line item will turn green when completed.
guisantes said:
Yes, it is and utter disaster recovery tool.
You may need the qualcomm drivers. I believe these can be easily found but if not, then I can upload them as well.
**** NOTE: This procedure will completely wipe your entire device ****
To use the recovery tool.
1. With the phone turned off, press and hold the volume up button while inserting the USB cable attached to your PC.
2. Windows will recognize the Qualcomm driver and if you're lucky will auto install the driver.
3. Run the MsmDownloadTool V3.0.exe file with administrator privileges (right click and run as administrator)
4. One of the lines in the window should show COMM or something that is not "No Device" when your phone is attached and recognized as the Qualcomm loader
5. Click on that line item, then select Start
6. The whole procedure should take about 5 minutes and the line item will turn green when completed.
Click to expand...
Click to collapse
Thanks, that seems very useful. Thanks for making it available here.
hachamacha said:
Thanks, that seems very useful. Thanks for making it available here.
Click to expand...
Click to collapse
No problem.
I've used a very similar tool previously for my oneplus one which would not power up Hopefully I won't need it for my 3T !
Here are the missing Qualcomm 64 bit drivers.
Can we make this a sticky or mention in the OP the recovery procedure from post #5? I know this will become invaluable later on as the few devs that bought this phone start fully getting into test mode.
Delete fixed. Never mind.
You should place this in general with the guides in the op with some pictures , I think many will benefit rather than diving through the QnA section for it
if i restore factory mode.what's the next?
---------- Post added at 07:35 PM ---------- Previous post was at 07:29 PM ----------
guisantes said:
Please try the attached torrent file.
Click to expand...
Click to collapse
when i restore, after reboot, have some error, it says: md5 checksum failed!
help me!
mgbotoe said:
You should place this in general with the guides in the op with some pictures , I think many will benefit rather than diving through the QnA section for it
Click to expand...
Click to collapse
I agree: Over on OP and here, I find myself recommending this guide and software nearly each day to someone that just "bricked" their phone. It's really good. As was just said, sticky it in "Guides" area. Thanks.
guisantes said:
Please try the attached torrent file.
Click to expand...
Click to collapse
Do you have the password from the OnePlus support?
FYI.. OP3T finally has an official section on the OP downloads page
http://downloads.oneplus.net/
martinklaus said:
Do you have the password from the OnePlus support?
Click to expand...
Click to collapse
There is no password on this archive.
mahonlee said:
if i restore factory mode.what's the next?
---------- Post added at 07:35 PM ---------- Previous post was at 07:29 PM ----------
when i restore, after reboot, have some error, it says: md5 checksum failed!
help me!
Click to expand...
Click to collapse
I used it without issue on my 3T. Are you still seeing the problem?
I uploaded it on megaNZ but I can't send links in here, so if you want it, send me a message. Btw: Thanks for the torrent, works perfectly!
guisantes said:
There is no password on this archive.
Click to expand...
Click to collapse
Yes, but on the original file from the support.
That's correct. I repackaged the files without a password after tech support extracted them via a remote session on my PC. Their archive password was very long with lots of non alpha-numeric characters.
I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
I have the same issue. Even if I disable and then again enable mtp, the internal storage isn't displayed on my computer. I had formatted data. Because of this I cannot even load any OS zip and my phone is just with no OS. It's not working on any version of twrp posted in the official twrp page for the x526. Can anyone help? It's urgent.
How can I transfer files from my PC to x526 when it's in TWRP? Reinstalling Twrp or Full device wipe didn't help either.
Disabling/Enabling MTP makes the disconnection/connection sound on my PC ,but No x526 data disk is displayed.
Can anyone please reply? Is MTP transfer working fine for everyone else?
RandomDelta said:
Can anyone please reply? Is MTP transfer working fine for everyone else?
Click to expand...
Click to collapse
Why mtp when you can do with otg
Prince4le said:
Why mtp when you can do with otg
Click to expand...
Click to collapse
1. Usb type C otg cables are costly
2. I'm not looking forward to an added hassle of moving files into a flash drive when there is an option to directly put files in root memory.
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
shaikiffu said:
I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
Click to expand...
Click to collapse
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Prince4le said:
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Click to expand...
Click to collapse
It's a very roundabout way of doing a simple thing.
Does mtp work for you on your x526?
If yes which version /variant of twrp are you on?
RandomDelta said:
It's a very roundabout way of doing a simple thing.
Does mtp work for you on your x526?
If yes which version /variant of twrp are you on?
Click to expand...
Click to collapse
I had a Chinese recovery and a new also both works
If your mtp is not showing in latest try Chinese recovery maybe it works
Mi sim network does not work what can I do? For Brazil
RandomDelta said:
Can anyone please reply? Is MTP transfer working fine for everyone else?
Click to expand...
Click to collapse
I have the same problem as you have with my cm 14 version of my Ray. I just hear the USB-off sound when plugging in and out the USB cable but never saw a drive symbol on my laptop (Windows 7).
I would wish to find the answer why it doesn't work.
However, I found a way out:
The only file transfer method that works fine is USB-OTG.
Hope that helped...
Best wishes.
shaikiffu said:
I have unlocked the bootloader but when I boot into Twrp recovery and Format the Data then I am unable to Enable the USB in the Enable MTP section . So, because of this I am unable to transfer any files and I am unable to root my phone . Please help me . Thank you .
Click to expand...
Click to collapse
Try ADB push command it works.
Prince4le said:
Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790
Click to expand...
Click to collapse
Just wanted to let you know you saved my life. 3 Years gone but still helpful. Thanks a heck ton!
For me, it worked by using a USB2 port instead of USB3.