Nexus 7, aDownloader and why do I have to restart the device? - Nexus 7 Q&A, Help & Troubleshooting

Hi all,
I've been using aDownloader for awhile now and although not very fond of the UI it gets the gob done perfectly fine. My only problem is that once the download finishes I have to restart my Nexus 7 if I want the job to be visible once connected to my PC. That happens every time.
If I don't restart and just plug it into the PC the torrent job won't be in the folder no matter how many times I refresh or plug in/out the device.
Anyone with similar problem?
Is that even aDownloader's fault or is it something about Android.
P.S. My Nexus 7 is rooted.
Thanks for any help.

You could always buy what your downloading, thus, no more need to restart your n7.
On another note, its people like you our economy is ****. Good luck getting help.
Sent from my Nexus 7 using xda app-developers app

It may have something to do with the emulated internal storage.

creep138 said:
You could always buy what your downloading, thus, no more need to restart your n7.
On another note, its people like you our economy is ****. Good luck getting help.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
You do realize that there are legitimate uses for torrenting, right? Although it's hardly unlikely OP is pirating content, torrents also happen to be a preferred method of distributing F(L)OSS.
OP, sounds like it's an app related problem more than anything else.

When I push a file to /sdcard/download/ for example, the file also show up in
/sdcard/storage/sdcard0/download/
/sdcard/storage/emulated/0/download
/sdcard/stroage/emulated/legacy/download
and vise versa when deleting from /sdcard/download. A restart is needed for it show up in My Computer\Nexus 7\Internal storage\Download. Fortunately there are other ways of transferring such as using ADB Pull straight from the directory.

To creep138: Solid point. Partially agree with you. Thanks for the reality boot. In all honesty- the older I get the more stuff I actually buy. Guilty conscious I guess.
To all else: I suppose ADB stands for Android Debug Bridge. I will check this method and see if it will help.
If not- I guess I will try another client.
Thank you for the prompt response guys.
Tonight everybody get "thank you"
Have a good weekend.

Username invalid said:
When I push a file to /sdcard/download/ for example, the file also show up in
/sdcard/storage/sdcard0/download/
/sdcard/storage/emulated/0/download
/sdcard/stroage/emulated/legacy/download
and vise versa when deleting from /sdcard/download. A restart is needed for it show up in My Computer\Nexus 7\Internal storage\Download. Fortunately there are other ways of transferring such as using ADB Pull straight from the directory.
Click to expand...
Click to collapse
All of those locations point to the same "real" place via creative symlinking. It absolutely should not require a restart to show on your computer, and makes it sound like there's something up with your filesystem. You'd expect that any filesystem changes in runtime would fail to show on your PC if this is true, and that's definitely not what it's supposed to do.

nitJhic this
Rirere said:
All of those locations point to the same "real" place via creative symlinking. It absolutely should not require a restart to show on your computer, and makes it sound like there's something up with your filesystem. You'd expect that any filesystem changes in runtime would fail to show on your PC if this is true, and that's definitely not what it's supposed to do.
Click to expand...
Click to collapse
Some time ago (3-4 months I think) I installed Ubuntu Touch on my Nexus 7. Soon after that I removed it and restored the original version of Android on it. Could that be the problem?

Related

Please delete

Found a better place to restart this project
To avoid confusion, all technical explanations have been moved to google-code:
http://code.google.com/p/cupcake-frosting/wiki/Ext2buntu_Technical
Resizing images and explanations of the various scripts that are used can be found there.
Screenshots:
https://picasaweb.google.com/110545...authkey=Gv1sRgCLDd48n2oMWzpAE&feat=directlink
Interested in trading in Ubuntu for BackTrack? I recommend looking here:
http://forum.xda-developers.com/showthread.php?t=1146255
References:
Personal insanity and the inability to accept whats already available
http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
http://forum.cyanogenmod.com/topic/15702-ubuntu-on-your-g2-anyone/
http://forum.xda-developers.com/showthread.php?t=633246
http://www.codesourcery.com/sgpp/lite/arm
http://forum.xda-developers.com/showthread.php?t=987740
http://androidclone.com/forums/showthread.php?tid=23
Sent from my ADR6400L using Tapatalk
That is bad ass... But my head just exploded.
Sent from my ADR6400L using XDA App
Oh man! Can't wait to get home to try this!
Sent from my ThunderBolt using XDA App
I left out installing the android sdk because that has to be done in ubuntu and has no special instructions. If i could host a 4gb file somewhere, i back up my image (since i have mistakenly cleared the partition trying to delete the symlink) and that would save two whole posts.
Sent from my ADR6400L using Tapatalk
Which Android SDK version should I install on Ubuntu? Linux version?
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
chocoyo00 said:
Which Android SDK version should I install on Ubuntu? Linux version?
Click to expand...
Click to collapse
Yes, i would sugget doing that from inside ubuntu, or you could cheat like i did and download the file then move it into the data/ubuntu folder using root explorer.
bking_soda said:
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
Click to expand...
Click to collapse
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk
Any particular reason you opted to make it an ext2 partition instead of 3 or 4? Was it personal choice or did you have issues with ext3/ext4?
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk[/QUOTE]
That would be helpful. I couldn't move my main partition to add a new one for ubuntu, it just got stuck idk why. So I had to create two partitions but that didn't work.
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
tyarbro13 said:
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
Click to expand...
Click to collapse
You are using the loop device method. I debugged that for 3 hours before deciding this method was MUCH easier. There were too many contradictions in that method. Everyone said failed meant your kernel doesnt support loop but if you "ls -d /dev/loop*" it shows up. Not to mention ive seen the loop support enabled option selected in the kernel i was on. Its being created, but not mounted to the image. I may look into it one day, but i dont see a point. The ext is MUCH faster than a virtual drive image and doesnt require any kernel modification, so it is more universal.
Sent from my ADR6400L using Tapatalk
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
All links are static, meaning they always download the newest version of the files. I added a time stamp to the post to show the latest revision. This update was to add backubuntu, instructions for installing it, and an updated ubuntu.sh that includes it.
Sent from my ADR6400L using Tapatalk
Does it recognize a data connection?
twistedumbrella said:
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
soo this is how to get girls? Hey baby look i got Ubuntu on my phone.... wana bang? lol
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Gimpeh said:
Does it recognize a data connection?
Click to expand...
Click to collapse
Recognizes data, wifi, touchscreen, working on bluetooth and mounting the sdcard inside it. It is an easy command, but i am trying to prevent ubuntu from having too much control of the sd. I am also trying to find the fastest mount method (currently using the one in imoseyons tweak) to mount everything.
yareally said:
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Click to expand...
Click to collapse
There is also a dyndns app for the phone that is good for doing vnc viewing and access on the computer using a "friendly" url. That in combination with an ubuntu webserver and you could host a site on it, not that ive tried it
Sent from my R2-DROID2 using Tapatalk

Linux?

Is ubuntu possible on our u8800?
http://www.youtube.com/watch?v=xN4c61ETCWg maybe, try it
Without having seen the youtube vid that d3xtr0 linked, I'll post this link:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
sebgus said:
Without having seen the youtube vid that d3xtr0 linked, I'll post this link:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Click to expand...
Click to collapse
lit's the same source
It will probably work if this device supports "loop devices" whatever that is? anyone know or tried it succsessfully?
skifyr123 said:
It will probably work if this device supports "loop devices" whatever that is? anyone know or tried it succsessfully?
Click to expand...
Click to collapse
I had no time to try it, maybe later in the week.
skifyr123 said:
It will probably work if this device supports "loop devices" whatever that is? anyone know or tried it succsessfully?
Click to expand...
Click to collapse
It supports loop device. I just tried to mount a loop device with a loop image and it worked.
EDIT: With flibblesan's r5 kernel but it should be supported by stock kernel anyway
You are aware that ubuntu has no proper support for touchscreens; even if it runs you won't gain anything by doing that. When I installed a linux a few months ago on another device it worked, then I was fascinated about one minute and then I decided that there is no use for it an deleted it eventually.
I just do not understand why it is so important to get a desktop-os running on a smartphone. Battery drains fast, no support for the radio etc.
XphX said:
You are aware that ubuntu has no proper support for touchscreens; even if it runs you won't gain anything by doing that. When I installed a linux a few months ago on another device it worked, then I was fascinated about one minute and then I decided that there is no use for it an deleted it eventually.
I just do not understand why it is so important to get a desktop-os running on a smartphone. Battery drains fast, no support for the radio etc.
Click to expand...
Click to collapse
Its not important, but funny and cool if it works (on this device). How did you do it?
Until recently I still had my old samsung-omnia-winmo6.5-phone. There was an app for linux available; you just had to install an imagefile to the sd-card. The fun did last for a minute and then I realized I cannot do anything with this small screen and that it was pretty much useless.
I think that a lot of people here will just read the topic and think "omg this is amazing, now I can have my desktop-os on the phone, great" and later they realize how much time they just wasted.
If it really is fun for you guys, I won't try and stop you
How about using linux programs? i think that it may be quite useful sometimes... Put honestly... it is just for funright now... but it may be helpful if we could dual boot.... maybe in the future
I got this working, it isn't that slow as you could imagine, firefox takes around 30 sec to start and load the front page. That said, the keyboard works but is way off and impossible to use (I push "d" and "f" shows up and so on).
if anyone understand this the keyboard will be fixed:
In VNC’s xstartup file: $HOME/.vnc/xstartup
You have to add the line export XKL_XMODMAP_DISABLE=1 before
/etc/X11/Xsession or gnome-session (in case you use GNOME)
Screenshot actually taken with an ubuntu tool, I have set the resolution to 1200*800 in the virtual enviriment.
Here is a video with Huawei Ideos X5 running Ubuntu: http://www.youtube.com/watch?v=8SaoneDtNqA&feature=BFp&list=WL01C152CD7D31A7C8&index=1
Will try this later tonight and let you guys know if it works. Just have to work first >.<
The significance of linux running is to have a backup operating system to use on the phone if the Oracle / Google dispute over Java begins to really disrupt the market.
Think also freedombox.org, your own personal, secure and anonymous cloud system as a refuge if a dictatorship emerges or particularly nasty rise of corporatism occurs.
At heart, our U8800's can easily be linux box server with up to 32Gb of onboard storage with wi-fi AND gsm network connections. Being battery operated, if the thought police decend upon your community, you could take it to another place, unknown to the nasty guys, and re-establish mesh network connection to get reports of civil rights abuses out to the rest of the world.
Reason enough to have the capability to run Ubuntu Server edition (or any other Linux Server flavour)?
If you're interested to see what's already possible, even within Android (Linux will deliver more power), install "File Expert" from the market to get your very own web file server, right there in your phone.
-- wrong post just ignore --
XphX said:
Until recently I still had my old samsung-omnia-winmo6.5-phone. There was an app for linux available; you just had to install an imagefile to the sd-card. The fun did last for a minute and then I realized I cannot do anything with this small screen and that it was pretty much useless.
I think that a lot of people here will just read the topic and think "omg this is amazing, now I can have my desktop-os on the phone, great" and later they realize how much time they just wasted.
If it really is fun for you guys, I won't try and stop you
Click to expand...
Click to collapse
You didn't Found a better ubuntu boot-file, x5 faster, keyboard works, WIFI, pre-installed with many programs ( Open Office for work.. etc) easy to use with touch screen. here is how it works: http://www.youtube.com/watch?v=KUG9aC_tH5s
And the files/instructions: http://forum.xda-developers.com/showthread.php?t=962023

FTP on ARC S not working!

Hi all,
If you visit this forum you are probably interested in rooting your phone however here is a word of warning in case you can't root a SonyEricsson Arc S. This is unfortunately also my case as my Arc S is a company phone so I can't fiddle too much with it.
Anyway, the Arc S has a quantity of bloatware pre-installed that cannot be removed unless you root your phone. One piece of this bloatware is the Facebook UploadManager process that keeps running all the time and will restart automatically if you kill it.
This process has been coded by Facebook to use ftp and will hijack any other file transfer based on FTP. Any FTP client you install will fail to transfer files because of this background process. If you want to transfer small files you can kill the Facebook process and hope that your FTP transfer finishes before the facebook crap restarts, for large files you are out of luck.
As a side comment: SonyEricsson is obviously getting money from Facebook to make this crap non-removable by the end customer. There is absolutely no reason to make this pre-installed stuff non removable!
I really wish Google issued stricter terms and conditions to companies that license the Android OS to stop them from doing this. I am really questioning Google's business model of allowing Android to become a trojan horse for unwanted stuff running on your phone without permission.
simple solution: root with doomlords easy rooting kit and remove facebook.apk from /system/app by using root explorer or anything similar.. then if u want it back just reinstall it from the market it won't be running in the background if you don't use it trust me
Perhaps you didn't read the part where I say that I can't root my phone.
lol why not, even if its a company phone you can r oot it and unroot when you're done with removing the facebook apk?
realfelix said:
lol why not, even if its a company phone you can r oot it and unroot when you're done with removing the facebook apk?
Click to expand...
Click to collapse
Yes I have just done it and I have removed at least 5 or 6 turds of facebook ****. I hope the unroot thingy works if I need to unroot in the future...
Die facebook die!
PS: thanks for the suggestion!
anonimo said:
Yes I have just done it and I have removed at least 5 or 6 turds of facebook ****. I hope the unroot thingy works if I need to unroot in the future...
Die facebook die!
PS: thanks for the suggestion!
Click to expand...
Click to collapse
Usually it should work and if it doesn't just flash a new firmware using PCC or SEUS, then the root is also gone.
if you flash another FW the facebook beast will come back
but the doomlord unrooting kit works as long as you stick with the firmware you've rooted and DO NOT make changes to the busybox installed(e.g. installing a higher version) !
Hell FTP keeps failing after removing almost all background processes. It seems that the problem was not due to the facebook upload manager process!
Is anyone successfully using an ftp client on this phone? I really don't know what else I can try...
Which FTP client do you use?
Then I'll try if it's working for me.
I have tried AndFTP, ES File Explorer and a third one and they all fail with large files. In my case I'm trying to transfer FLAC files...
I have also tried changing ports and both active and passive modes. If I try to transfer a folder with 10 files it will usually fail after 2 or 3 minutes so sometimes the first file goes fine...
Okay, I'll try this later at work and give a feedback.
I use SwiftFTP on my arc (not arc s). seems to be working fine. i'm unrooted, using stock firmware 2.3.4 (4.0.2.A.0.42)
As far as I understand Swiftp is an FTP server that runs on the phone to make the phone files accessible remotely. I need to do the opposite and I need a client on the phone...
Just tried to transfer a folder with 700 MB several times and after 1-2 minutes it fails every time.
I don't really need it, so it doesn't matter for me, but sorry that I can't help you.
Ok Thanks... so I guess it is not related to something I installed on my phone... do you mind letting me know what ROM you are using and what running programs you see in "Settings"...
(Nevermind about the ROM... I can see it in your signature)...
Just a few running services, don't think anything would trouble.
Sent from my LT18i using xda premium
am using FtpCafe, it works awesome,, did you try it?
Sent from my LT18i using Tapatalk
adoet_t said:
am using FtpCafe, it works awesome,, did you try it?
Sent from my LT18i using Tapatalk
Click to expand...
Click to collapse
Yes I tried FtpCafe, AndFTP and ES File Explorer and I get the same error from all of them. All these clients work fine if I transfer small files that take only a few seconds to complete.
Can you reliably transfer a folder with several large (40 MB) files taking several minutes without problems?
If that's the case then perhaps you can give us more details about your phone... which ROM you are using, which background services are running, etc...
all works fine when transfer 40MB > ,,
edit your FtpCafe preferences > Socket connection timeout > No timeout.
also check your server about timeout.
am still on stock kernel & ROM. (rooted)
Sent from my LT18i using Tapatalk
I have tried to change that parameter in FtpCafe but it doesn't make any difference in my case. I have also tried changing the buffer size in FtpCafe and transfers seem a bit more reliable with a larger buffer but eventually they will fail anyway.
One thing I have noticed in your screenshots is that your transfer is slow... Probably you are not ftping over a local network. I think this could be an indication that I am hitting a socket flow control problem in Android that appears only with fast transfers of data.
I can transfer files without any timeout issue if I use the smb protocol between the pc and the phone; smb is much slower than ftp and perhaps that's the reason why it works in my scenario...

Getting your android app to communicate with a pc app.

Hi guys,
So recently I've come up with what I guess is an idea that may or may not have been achieved done before. The app I'd like to create is fairly simple right now and literally consists of a tally counter. Actually, very simple.
I'd like to also make an adjacent PC app that's also a tally counter... Very simple.
However, I'd like them to communicate with each other. Why and how you may ask?
First, the why. I knit as a form of relaxation as it's quite therapeutic for me and if you don't know how knitting works, let's just say there's a lot of counting rows. A few rows is easy to remember, but when you start getting closer to 128 rows and take a break for a couple days, you forget.
Anyway, I digress. I currently have a tally counter on my phone but... That's just it, it's on my phone and I constantly have to unlock it as I don't want to leave the screen on so it can drain my battery quickly. So I thought that it might be a good idea to have an app on my phone which I can use when I'm not near my PC, but when I am, I can plug in my phone launch the app on both devices and they communicate with each other.
So if I have say 18 on my PC because that's where I left it the other day, and 48 on my phone, when I launch both apps, the PC receives that the value has changed to 48 and updates to that number. Ditto for the other way around.
Is this possible? If so, how can I get both apps to communicate with each other?
Thanks.
Jamie.
10 Apps To Connect Your Computer To Android Devices -
1. AirDroid
2. Airstream
3. Polkast
4. Desktop Notifications
5. Pushbullet
6. Message Beam
7. MightyText
8. TeamViewer QuickSupport
9. Mobizen
10. Splashtop 2 Remote Desktop.
Just had a look for any form of source code I could have a look through and there's nothing...
All I know is it can be done but not how it could be done.
Bump...
Anyone got an idea of how I could do this?
Hello Jamie,
I am with Zco Corporation, we would be happy to help with your idea. Please give me a call 603.718.3616 or email [email protected]
George Markwell
603.718.3616
Zco Corporation
zco.com
Jamie_Edwards said:
Just had a look for any form of source code I could have a look through and there's nothing...
All I know is it can be done but not how it could be done.
Click to expand...
Click to collapse
The most used method is using one socket connection between your phone and pc.

Set Phone to "File Transfer" Automatically on Data Cable Plug-in Using Automate Flow

Finally found a way to have your phone go to "File Transfer" mode automatically when the USB cable is plugged in! There's an Automate flow that does just this! You can download it here: https://llamalab.com/automate/community/flows/18022
The only caveat is that your phone has to unlocked before you plug it up. As in, you've got to put in your PIN, password, or pattern before plugging it up to your computer. Nevermind that last bit. See post #2.
I've tried it on my Windows PC and it works perfectly everytime. I'm not sure about Mac's.
Root is NOT required.
If you don't Automate, you can download it from Google Play here: https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en.
It's a very easy way to automate a great many things on your phone. It's got a visual interface that uses 'blocks'. That makes it easy to do complex task without having to have any knowledge of scripting. However, if you like scripting, you can do that as well for even more complex tasks.
I would imagine someone has done same with a Tasker script as well. I don't use Tasker, so I've not looked for it.
I've altered the _USB Mass Storage flow to automatically set the USB usage type to "File Transfer" after a reboot, or after you unlock your phone from a reboot, if you keep your phone locked.
The original flow only works when you're phone is already booted up and not locked. While that's super helpful, that's only part of what I needed.
When modding apks, I place the apk on my phone, reboot, then check and see if my mods worked. If not, I need to often immediately transfer another attempted apk to my phone, reboot, then check and see if my mods worked or not. If not, repeat that process. Anyone who's done any sort of dev work will understand how annoying it is to have to keep selecting File Transfer every time you're testing an apk or mod that requires a reboot, which may be 20, 30, 40, 50, 60+ times during one sitting.
This updated flow will make the phone automatically go to "File Transfer" mode after a reboot, or after you unlock your phone from a reboot, if you keep your phone locked.
There's a small delay, like 5 seconds.
Ideally, I would have liked to have just altered the one flow, but I couldn't figure out how to have it work both on boot, and work any other time as well. To that end, you'll need to use both the flow I linked in the first post AND this one. They can both be running at the same time without issue. This one runs only once at boot, the other flow runs any other time the phone is plugged in.
You can download the flow from the Automate Community here: http://llamalab.com/automate/community/flows/20646
Updated the flow in the Automate Community.
The original zip I posted didn't take into account rebooting while the phone was not connected to a computer, and so it would keep checking the notification over and over because there was none. Eventually, the log file would get to big and the flow would "crash."
v2 of this zip fixes that.
You can do it in Android https://www.addictivetips.com/android/how-to-set-the-default-usb-connection-type-in-android-6-0/
lywyn said:
You can do it in Android https://www.addictivetips.com/android/how-to-set-the-default-usb-connection-type-in-android-6-0/
Click to expand...
Click to collapse
You don't seriously think I've gone through all this trouble when the solution was that easy, do you?
That article is BS for two reasons:
1. - PTP ONLY gives you access to your DCIM and Pictures folders. Neither of which are folders I usually need or want access to.
1.5 - MTP does give you full access, but... see reason #2.
2. - Even if #1 wasn't an issue, which it is, that setting doesn't stick after a reboot, which is my main gripe and specifically the reason for the flow I posted in the second post.
sharkie405 said:
2. - Even if #1 wasn't an issue, which it is, that setting doesn't stick after a reboot, which is my main gripe and specifically the reason for the flow I posted in the second post.
Click to expand...
Click to collapse
Yes looks like they reset the config after connection, since Android 6.0. Very good reason why, and maybe worth considering. It was to stop your phone being attacked by the Bad USB security vulnerability. Plug phone into a bad USB hub or device and auto enable MTP, it could be attacked and would be giving full access. Circumventing security on the OS will always be a trouble.
lywyn said:
Yes looks like they reset the config after connection, since Android 6.0. Very good reason why, and maybe worth considering. It was to stop your phone being attacked by the Bad USB security vulnerability. Plug phone into a bad USB hub or device and auto enable MTP, it could be attacked and would be giving full access. Circumventing security on the OS will always be a trouble.
Click to expand...
Click to collapse
:yawn:
Sent from my Pixel 2 XL using XDA Labs
@sharkie405
Thanks for this, a convenient automation!
I'm having trouble "Importing" the flo file
as it does not accept it so I have to cancel the
"Import" and get back to the main page again!
Any suggestion?
samteeee said:
@sharkie405
Thanks for this, a convenient automation!
I'm having trouble "Importing" the flo file
as it does not accept it so I have to cancel the
"Import" and get back to the main page again!
Any suggestion?
Click to expand...
Click to collapse
You have to save the flow to Google Drive first. Did you do that?
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
You have to save the flow to Google Drive first. Did you do that?
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Yup, and I copied it to the internal storage first as
you suggested to no avail.
samteeee said:
Yup, and I copied it to the internal storage first as
you suggested to no avail.
Click to expand...
Click to collapse
I've uploaded it to the Automate Community. http://llamalab.com/automate/community/flows/20646
If that link takes you to a download page and you're still having trouble importing that download, just search for "USB Mass Storage After Reboot" in the Automate Community via the Automate app.
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
I've uploaded it to the Automate Community. http://llamalab.com/automate/community/flows/20646
If that link takes you to a download page and you're still having trouble importing that download, just search for "USB Mass Storage After Reboot" in the Automate Community via the Automate app.
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Thanks bro.
sharkie405 said:
Updated the flow in the Automate Community.
The original zip I posted didn't take into account rebooting while the phone was not connected to a computer, and so it would keep checking the notification over and over because there was none. Eventually, the log file would get to big and the flow would "crash."
v2 of this zip fixes that.
Click to expand...
Click to collapse
None of these scripts work on Moto X4 Oreo with latest Automate.
Attached log.
------------

Categories

Resources