I have a B&N Tablet, 16GB (BNTV250). I downloaded cm10 and the relevant files to install cm10 onto my toy. The setup went reasonably well and after a couple of minor hiccups, it's running nicely.
It runs, I can downloads apps from the Playstore, I can go to the usual places on the web, and my bookmarks were successfully synced into Firefox from my desktop PC. I found a B&N (actual) charger and cable, so it charges quickly and well, at least faster than a plain old USB cable and a random charger.
So I thought that I could download some files just like I can on my PC (running Linux, by the way). Oh, so sadly mistaken. I go into Firefox, go to a known website from which I have downloaded files on my PC, try to download those same files to my Tablet - nothing except failure to download. So I go into Firefox to setup a download directory, just like I would on my PC. No place to configure that. I look in my Tablet, and permissions look O.K. on various directories, except for sdcard1 which is root only. So, I'm at a loss. Where's the magic decode ring for doing a simple download? I've looked - no clue. Help!
jglen490 said:
I have a B&N Tablet, 16GB (BNTV250). I downloaded cm10 and the relevant files to install cm10 onto my toy. The setup went reasonably well and after a couple of minor hiccups, it's running nicely.
It runs, I can downloads apps from the Playstore, I can go to the usual places on the web, and my bookmarks were successfully synced into Firefox from my desktop PC. I found a B&N (actual) charger and cable, so it charges quickly and well, at least faster than a plain old USB cable and a random charger.
So I thought that I could download some files just like I can on my PC (running Linux, by the way). Oh, so sadly mistaken. I go into Firefox, go to a known website from which I have downloaded files on my PC, try to download those same files to my Tablet - nothing except failure to download. So I go into Firefox to setup a download directory, just like I would on my PC. No place to configure that. I look in my Tablet, and permissions look O.K. on various directories, except for sdcard1 which is root only. So, I'm at a loss. Where's the magic decode ring for doing a simple download? I've looked - no clue. Help!
Click to expand...
Click to collapse
I may have found the solution - or at least a solution. I went into Terminal Emulator and changed permission on sdcard1 to "777". I tried another download through Firefox - it worked this time. That of course works, but why wouldn't there be usable permissions established from the git-go for the primary/owner user?
Also, after doing that, I created a subdirectory under /sdcard1/Download called Woodworking. It did not inherit the "777" permissions. Do I need to be in some group? If so, why isn't that established for the primary user (me) when I installed cm10?
jglen490 said:
I may have found the solution - or at least a solution. I went into Terminal Emulator and changed permission on sdcard1 to "777". I tried another download through Firefox - it worked this time. That of course works, but why wouldn't there be usable permissions established from the git-go for the primary/owner user?
Also, after doing that, I created a subdirectory under /sdcard1/Download called Woodworking. It did not inherit the "777" permissions. Do I need to be in some group? If so, why isn't that established for the primary user (me) when I installed cm10?
Click to expand...
Click to collapse
That doesn't work - it's not persistent. I've installed CM10 a couple of times now. Same result, no downloads via the Firefox browser. I tried the same download with the standard browser and actually received an error message "An SD card is required to download (the requested).pdf". Now I'm really confused - why can't files be downloaded to my internal storage which has a lot of available space?
Related
This is a new ipad2 imitation, i'm interested but need community support please:
it is on HSN, these are the specs :
Specs
Model #:
i10-h
Operating System:
Google Android 2.2
Processor:
Samsung A8 Cortex 1GHz
Display:
9.7"; 1024 x 768 resolution; 4:3 aspect ratio
Dynamic RAM:
512MB DDR
Memory Storage:
4GB built-in
Memory Expansion:
microSD card slot
Wireless Networking:
802.11b/g/n
Bluetooth 2.1
Ports:
(1) HDMI output
(2) USB 2.0
(1) 3.5mm earphone jack
Battery:
Lithium-ion 6800 mAh
Measurements:
Approx. 9.64"L x 7.55"W x 0.47"H
Weight:
Approx. 0.8 lb.
Listing:
UL
Country of Origin:
China
I can not vouch for other methods but I have rooted this tablet with SuperOneClick ver. 2.1.1. If you leave "Exploit" on "auto" and click "root" you will be pleasantly surprised. Took me two tries, but if you turn on usb debugging in settings and leave the screen timeout on 30min your golden. Happy rooting.... I'm also uploading a google apps zip file. I unzipped it and installed all the files in the corresponding places to get a working Android Market. I used Android Commander to move the files & install apk's. *NOTE* You need to install the apps in the "/sysem/app" folder in this order...
1. GoogleServicesFramework.apk
2. OneTimeInitializer.apk
3. SetupWizard.apk
4. Talk.apk
5. Vending.apk
6. Gmail.apk
7. Maps.apk
After... Restart, Connect to wifi, and launch Market. You will be prompted to sign in to google. Then you will see Market License blah blah blah...
*Use the attached zip not the one at the following link* But use this link as a guide if you need it... http://forum.xda-developers.com/showthread.php?t=827209
Have fun.
*Zip File Link*
http://www.mediafire.com/download/d85zjeb9b43j9do/gapps-hdpi-20100817-Impression_10.zip
****THIS METHOD WORKED FOR MY IMPRESSION 10 MODEL # i10-50, but UNTESTED by me on other models****
***EDIT*** Sorry guys... you were unlucky because I forgot something crucial.... THE DARN ADB DRIVER.... You will need to go into the device manager and right click the "Android" device with exclamation mark & click update driver. Search for the driver and point the installer to this folder should work on 32 & 64 bit if my edits are correct... Tested on 64 bit Windows 7.
DRIVER
http://www.mediafire.com/?lzrwj65da0c5c63
Also when you install those "/system/app" files above use Android Commanders "Installer" and install them one at a time in the order above. AND AFTER YOU RESTART USE LAUNCHER AND NOT SETUP OR YOU CAN'T ACTIVATE YOUR WIFI.
I tried both methods,
SuperOneClick and Gingerbreak both did not work.
The table is running android 2.3.1.
wonkastocks said:
I tried both methods,
SuperOneClick and Gingerbreak both did not work.
The table is running android 2.3.1.
Click to expand...
Click to collapse
Do you have usb debugging turned on, and did you use the latest version of SuperOneClick. For me it stalled when my screen timeout was to short and locked me out of my tablet when the screen cut off. Second time around it looked like it was going to fail, stalled and then prompted me to ok the install of busybox... etc etc. I am also running android 2.3.1 and it worked for me. Just have to keep trying till you get it.
PIC's...
http://img148.imageshack.us/img148/5624/44983779.jpg
http://img225.imageshack.us/img225/3019/68779107.jpg
http://img32.imageshack.us/img32/7827/42856323.jpg
http://img198.imageshack.us/img198/3149/44013908.jpg
Remember i'm running a i10-50, but the pictures speak for themselves. SU, Market...
Fails
I've also tried this on my husband's Impression 10 - same model i10-50. Can you give some details of how you rooted? What programs did you use besides Android Commander and SuperOneClick 2.2.1? Any help would be appreciated.
i just got an impression 10 as well. i10-50 model with android 2.3.1. im interested in more in depth info on rooting it as well. i tried updating firmware from the page it gives from the box. instructions to download the system.img file from the impression site. but i am not sure how long it takes? when i loaded the file on sd card and restarted (power+vol-) one time it stayed on the blue screen with the white status bar for like over a half hour. i thought it froze and restarted. when i tried it another few times the blue screen disapeared and i got a screen full of multi colored lines all down it. when i reseted.you could still faintly see those lines even when its running normaly. its faintly in background and you can see it more on certain pages or folders u open. my first tablet and i wish there was more info on it. any clue what im doing wrong?
dude i do customer suport forthis tablet, as u may know by now............it sux
leader Impression I10-50 firmware update
In order for the firmware update to be completed successfully, u need to first format your sd card via sd card reader or your tablet as follows:
Plug in the tablet via usb to your PC or load your card reader with sd card
Then select and left click whatever removable disk drive your tablet shows up
Select format and make sure the file system is set at FAT32
Select start, your sd card should begin formating.
Once complete, then u follow the 13 steps, but since you have already started step 1-13, just press your -volume and power buttons at the same time (steps 11 and 12 again) and it should update your tab. Be sure to do it twice as far as the volume and power button go so the update completes successfully.
I cannot seem to get this thing to root....tried the above with the external sd unmounted and then removed. Followed the instruction on the gtab post. All I can see is the external sd card. It did install superuser. Without the sd it gets stuck at Step 6.
It took awhile....but switched to EZ File Explorer. And I was able to see the internal sd and copy the files Then was able to install the market! Life is good!
edit: nevermind
StephenMC said:
It took awhile....but switched to EZ File Explorer. And I was able to see the internal sd and copy the files Then was able to install the market! Life is good!
Click to expand...
Click to collapse
Do you know if the root is reversible in case you need to put it back to the factory default? Would installing the image file on the Impression website reset the tablet back to stock firmware?
TC93 said:
Do you know if the root is reversible in case you need to put it back to the factory default? Would installing the image file on the Impression website reset the tablet back to stock firmware?
Click to expand...
Click to collapse
Yes, SuperOneClick has a unroot option as well.
StephenMC said:
Yes, SuperOneClick has a unroot option as well.
Click to expand...
Click to collapse
Thanks for the reply. About that file program you used, the only one I can find with a similar name is "ES File explorer". Is that the one you used?
I can't get it to copy the files over in the system directory, it acts like its write protected and fails the copy. I must be doing something wrong.
Oops yes ES File Explorer...
Need go to settings.... Open menu, choose Settings Check Root explorer and mount file system...
I'll probably just give up on this. This still isn't wanting to write/copy the files. This is the whole reason I returned my Nook Color before because of the hassle it takes to do this.
edit: it copies a few files, but then some files it says it failed.. like the "maps.apk" file.
Had a few apk's not move as well. I think map was one of them. Just followed the install order and did those from the external sd.....all worked out.
StephenMC said:
Had a few apk's not move as well. I think map was one of them. Just followed the install order and did those from the external sd.....all worked out.
Click to expand...
Click to collapse
Thank you for your help. I finally got it working, I spent hours on this.
But I decided to try that original posts recommendation of using the program "Android Commander". I had to search to find it, but its a Windows program that makes it much easier to copy files over to the root directory. (although I had to change a setting it in so that it auto closes the log window after it copies, otherwise you can't close the log window, or do anything else until its closed).
I wasn't able to copy the maps with that either though, it gave the error that there wasn't enough space. But it seems to be working fine now.
Impression i10-50
I bought the i10-50 and actually love the tablet. With google market installed (update firmware first), I have full access to the market and no problems installing apps. The only con about the tab is no gps. To install the market, I only downloaded the google apps file and installed the apks in the correct order and that was it. No need to root. I am truly enjoying this tab now.
Well as I'm sure most of you know we released CM7 alpha for the NT on Sunday and it was very warmly received, even after a major bug was found it was still downloaded almost 2000 times by the time I eventually removed the files form download server yesterday (links were removed form thread at about 1200 downloads lol). The feedback is still extremely encouraging and people are itching for the next release.
We’ve been working hard on fixing everything so that the next version we release has a lot less bugs, we’ve fixed the main bug of formatting the xloader and we've fixed a handful over other things causing issue too.
The issues we are having now which we are struggling with are usb sync for media as well as sdcard to a computer (in another thread) and a more important one of market not being able to install larger games / programs if there is an sdcard in. For instance one that I use for testing is Zombie bash, if you have an sdcard in it just won't install.. We've looked up the error online and all the errors point towards deleting a certain file but the problem is that we don't actually have that file so it would appear we have a different issue!
So the time has come for Goncezilla and I to reach out and ask for help, somebody out there probably knows or can debug and find out what the issue is. We're stumped and we don't want to release the next version until that’s fixed!
So please, if anybody can help, drop me a Pm or say something on here and lets get CM7 next alpha version sorted and released !
Is there any way to get an error log of this issue? I am using an app called LogThis and nothing is shown in Logcat.
Probably totally unrelated but on the stock ROM I grabbed a couple of Amazon Freebies the weighed in over 50Meg's each. I wasn't even really interested in them so I carried on about my business and a couple of days later noticed that they never installed. After digging around the "error" was that I DIDN'T have an SD card installed. This struck me as weird because the 1GB user and 12GB B&N partitions should have certainly been enough.
Either way once I popped in an SD card the downloads automatically started and off I went.
Like I said .... probably useless information but I figured I would throw it out there.
arclite00 said:
Is there any way to get an error log of this issue? I am using an app called LogThis and nothing is shown in Logcat.
Click to expand...
Click to collapse
Good point, HERE is the logcat.
Mainly it would appear the errors showing are
E/Vold ( 1168): Error opening devmapper (No such file or directory)
E/Vold ( 1168): ASEC device mapping failed (No such file or directory)
and then a few lines on
E/PackageHelper( 2146): Failed to create secure container smdl2tmp1
E/DefContainer( 2146): Failed to create container smdl2tmp1
any help to anybody ?
I'm not too versed in the world of Android development, however this might be useful. LINK 1 LINK 2
Perhaps the permissions to the folders referenced in these articles are incorrect...
scsione889 said:
I'm not too versed in the world of Android development, however this might be useful. LINK 1 LINK 2
Perhaps the permissions to the folders referenced in these articles are incorrect...
Click to expand...
Click to collapse
Thanks for trying, that's one of the articles we found but unfortunately we couldn’t get anywhere with it
From the log it appears as though it is unable to create the smdl2tmp1 temp file. So wouldn't it make sense that it would either be permissions of the folder it's going in, or an issue with whatever is trying to create that temp file?
Have we tried not pre-packaging gapps with the ROM to see if that helps?
Quick question, is there a specific file size where the install fails\hangs? Ex installs are okay up to 9 meg files, but anything over, and it fails?
I want to try and download something and replicate the issue.
Disregard...
I had no problem installing Google Earth and other large apps (over 8MB) today, but cannot install Zombie Dash (only 4 and some change) moments ago. Not sure what relavence the size of the app might be having with the install issue...
Sent from my BNTV250 using xda premium
I found that the "/mnt/sdcard/.android_secure" folder has 000 permissions. The other folder mentioned in the links I posted (/mnt/secure/asec) has 075 permissions.
I compared this to my phone with fully functional market and found "/mnt/sdcard/.android_secure" has 000 permissions. The asec folder has 175 permissions. Perhaps the execute permissions is the problem? I am unable to change permissions in root explorer to test. I get the "some file systems (e.g. SD card) do not allow permission changes" message.
You considered posting on the Android development section? They may have some more info or guidance with this.
Sent from my Nexus S using Tapatalk
I'm not thinking it's permissions I think we've messed up and something isn't tuned on in kernel like driver mapper or asec.
Just been unable to find it. Although I'm speaking to somebody now and I think he may have hit on the cure
Okay...
"Size of container 7 MB 5392635 bytes"
I am assuming based on that, that the app is 7 meg?
D/Vold ( 1168): DEVPATH='/devices/virtual/block/loop0'
D/Vold ( 1168): DEVTYPE='disk'
D/Vold ( 1168): MAJOR='7'
D/Vold ( 1168): MINOR='0'
E/PackageHelper( 2146): Failed to create secure container smdl2tmp1
Okay, sp if you eject the SD card, the download works and installs. So that means when you go to download the app, it creates a temp file (same as when you download a file in windows via your web browser), and then once the download completes, the temp file is removed and you have an apk which is automagically installed via android app handler or whatever. IF the SD card is inserted, it tries to create the file on the SD card instead of internal memory. So the issues lies with the SD card itself possibly(?). Have you tried running checkdisk or some disk checking tool on your card? I have had issues in the past where my sd card got corrupted (once after running the partitioning tool in cwm) and I couldn't install large market apps. I ran checkdisk and found errors (i cant remember the exact msgs), but I repartitioned the card and all was well. It is possible with all the partitioning etc you have done to your cards, they have gotten a bit screwy, have you tried swapping out the SD card for a different one?
I just installed gun bros which is a 12meg app, with my sd inserted and mounted, with no issues...I tried to view it in logcat as soon as I hit download, but I didn't see anything pertaining to the market download and install =(
I already re-partitioned my card and went out and bought a new card to try. It's not that.
CWS - Glad to hear you're making some potential progress.
Well, I've done my best to collect info on the error, so based on what others have found, this seems to be what I've learned so far, including the obvious.
-The error we're seeing is "Couldn't install on USB storage or SD card."
-This error seems to have been most often encountered by people using Android 2.2 (Froyo) and derivatives because that version was related to reading a temporary file called "smdl2tmp1.asec." The user workaround in 2.2 was to browse your SD card using ES File Explorer (so that you can see .folders, which are normally hidden), finding the file in either:
/sdcard/.android_secure/smdl2tmp1.asec
OR:
/mnt/secure/asec/smdl2tmp1.asec
and deleting it.
-This apparently has been fixed in 2.3 (Gingerbread). Because Cyanogenmod 7 uses 2.3.4 as a base, it's odd that we're still having this problem then.
So in my exploration of this stuff, here's what I found:
/sdcard/.android_secure has ZERO FILES in it. Ditto for /mnt/secure/asec. On my HTC Hero, both contain plenty of files with .asec extensions. I have no idea what these files are for, but I'm getting the impression that the reason why these .asec files are not appearing has to do with how the current ROM is treating the SD card.
Also, the error doesn't seem to have anything to do with install size. I've tried to install Minecraft Pocket Edition before, it's only 1.57 MB but it will get the error regardless.
Keep in mind that I'm not a programmer, but this is all I've been able to gather.
---------- Post added at 05:52 AM ---------- Previous post was at 05:49 AM ----------
[/COLOR]
Mike_IronFist said:
Well, I've done my best to collect info on the error, so based on what others have found, this seems to be what we know so far, including the obvious:
-The error we're seeing is "Couldn't install on USB storage or SD card."
-This error seems to have been most often encountered by people using Android 2.2 (Froyo) and derivatives because that version was related to reading a temporary file called "smdl2tmp1.asec." The user workaround in 2.2 was to browse your SD card using ES File Explorer (so that you can see .folders, which are normally hidden), finding the file in either:
/sdcard/.android_secure/smdl2tmp1.asec
OR:
/mnt/secure/asec/smdl2tmp1.asec
and deleting it.
-This apparently has been fixed in 2.3 (Gingerbread). Because Cyanogenmod 7 uses 2.3.4 as a base, it's odd that we're still having this problem then.
So in my exploration of this stuff, here's what I found:
/sdcard/.android_secure has ZERO FILES in it. Ditto for /mnt/secure/asec. On my HTC Hero, both contain plenty of files with .asec extensions. I have no idea what these files are for, but I'm getting the impression that the reason why these .asec files are not appearing has to do with how the current ROM is treating the SD card.
Also, the error doesn't seem to have anything to do with install size. I've tried to install Minecraft Pocket Edition before, it's only 1.57 MB but it will get the error regardless. Of course, ejecting my SD card or unmounting it temporarily allows me to install the app, but that doesn't fix the bug, does it?
Click to expand...
Click to collapse
You think some apps check for those .asec files, and since they don't find them, it fails some kind of authentication and bombs out the installation?
Actually, I just checked my shift, and those folders are all blank as well. Hopefully whomever Celtic is talking to knows what's up.
stealthfx said:
You think some apps check for those .asec files, and since they don't find them, it fails some kind of authentication and bombs out the installation?
Click to expand...
Click to collapse
Yeah, essentially like that. Further down that rabbit hole is what Celtic mentioned:
CelticWebSolutions said:
I think we've messed up and something isn't tuned on in kernel like driver mapper or asec.
Click to expand...
Click to collapse
Apps don't seem to be creating .asec files anywhere, and it seems like some apps need .asec files to validate certain information. It seems to have less to do with the size of the app and more with whether or not the app needs to check an .asec file to install or function.
Mike_IronFist said:
Yeah, essentially like that. Further down that rabbit hole is what Celtic mentioned:
Apps don't seem to be creating .asec files anywhere, and it seems like some apps need .asec files to validate certain information. It seems to have less to do with the size of the app and more with whether or not the app needs to check an .asec file to install or function.
Click to expand...
Click to collapse
/dev/block/vold/179:17 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
sould be
/dev/block/vold/179:10 (< Check on that) /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
also im looking into the fact that /device/virtual/block/loop0 does not exist.
stealthfx said:
Quick question, is there a specific file size where the install fails\hangs? Ex installs are okay up to 9 meg files, but anything over, and it fails?
I want to try and download something and replicate the issue.
Click to expand...
Click to collapse
I think the filesize problem is a red herring. It looks to be apps that have "'android:installLocation="preferExternal" in their apk manifest file.
Obviously this is probably used on larger apps more often so it looks like it is tied to the filesize. I have some small apps that give the same error.
Checkout http ://developer.android.com/guide/appendix/install-location.html for more info.
This doesn't necessarily help with the original problem but it might help limit the scope of troubleshooting.
Hello,
I have bought an Acer E380 about two months ago, and I rooted it two days later.
It was (afair*) always on 4.4.2, and I never had problems with it.
But about a week ago, I installed the popcorntime app from the official said website (Horrible app, torrent downloader is slow and often breaks, if you restart your phone the 'checking files...' goes on forever,...) and said app, that was downloading a file, crashed and would not let me restart a download because of "insufficient space".
I tried deleting said file, unusable but full size, thanks to that useless torrent client, and it kept coming back.
I could not edit the SD card files from another computer with linux, and windows would straight out not recognize it.
After wiping it with gParted, it worked fine on both windows and linux, but android started screwing with my root.
Some apps like linux deploy would not be able to write, impossible to copy a file from the phone's memory to the card, and much more...
But it strangely worked fine with "normal" apps without root access!
After opening a terminal, I made a quick dummy file and tried to copy it to sdcard0, worked fine.
I then tried to proceed the exact same way with superuser rights, and it threw some Endpoint errors as well as just "Read-Only Filesystem"
Does anyone knows what's going on, and how can I fix this mess?
Hello,
I have some tablets that multiple people are going to be using...have them pretty locked down I think, but I'm running into one final minor issue. The plan was to plug them all into a hub, and have a script go tablet by tablet deleting the files in the downloads and pictures directories via ADB. This more or less works, but if I goto the "Downloads App" I see a non-working file with the files name. I am guessing it's cached somewhere? How do I clear this out? If I install a file manager on the tablet there is nothing in the downloads.
Thanks,
Matt
I've just had a stock OnePlus Nord N10 running Android 10. For years now I've kept a html file on the internal storage of my Android devices that I've used as a homepage for my web browsers that have all my favourite links laid out nicely. On my older OnePlus 3 running Android 8 I open this using the following URL in the browser url bar:
file:///storage/emulated/0/Dropbox/Other/Web_Links.html
And it opens fine.
On the Nord N10 it is failing with an ERR_ACCESS_DENIED error in the browser. I'm getting this in both Chrome and Edge. The URL appears to be correct (typos give me a file not found error) so I'm at a loss to know what's causing this. It feels a bit like the browsers aren't asking for the right permission to open files from file:///storage/emulated/0/ but I don't know how to get them that permission.
If I open the file from a file browser sending it to the web browser it opens fine, but gets a url in the form of content://media/external/file/39531 in the url bar only that url seems to only last until the next reboot.
Just to muddy the waters more - I had a couple of Moto G 5G Plus's running Android 10 a couple of months back that had to be returned because I just couldn't get a decent 4G signal on them and I had the same issue on them, but did "something" and got it working for the file:///storage/emulated/0/... url. Only I wasn't sure even at the time what I did to get it working.
Any help would be appreciated. Even if it's a dummy's guide to how apps relate to file:///storage/emulated/0/ and what specific permission they need to access it.
Hal18ut said:
I've just had a stock OnePlus Nord N10 running Android 10. For years now I've kept a html file on the internal storage of my Android devices that I've used as a homepage for my web browsers that have all my favourite links laid out nicely. On my older OnePlus 3 running Android 8 I open this using the following URL in the browser url bar:
file:///storage/emulated/0/Dropbox/Other/Web_Links.html
And it opens fine.
On the Nord N10 it is failing with an ERR_ACCESS_DENIED error in the browser. I'm getting this in both Chrome and Edge. The URL appears to be correct (typos give me a file not found error) so I'm at a loss to know what's causing this. It feels a bit like the browsers aren't asking for the right permission to open files from file:///storage/emulated/0/ but I don't know how to get them that permission.
If I open the file from a file browser sending it to the web browser it opens fine, but gets a url in the form of content://media/external/file/39531 in the url bar only that url seems to only last until the next reboot.
Just to muddy the waters more - I had a couple of Moto G 5G Plus's running Android 10 a couple of months back that had to be returned because I just couldn't get a decent 4G signal on them and I had the same issue on them, but did "something" and got it working for the file:///storage/emulated/0/... url. Only I wasn't sure even at the time what I did to get it working.
Any help would be appreciated. Even if it's a dummy's guide to how apps relate to file:///storage/emulated/0/ and what specific permission they need to access it.
Click to expand...
Click to collapse
If device's Android is rooted try this
Code:
adb devices
adb shell "chmod 0644 /storage/emulated/0/Dropbox/Other/Web_Links.html"
jwoegerbauer said:
If device's Android is rooted try this
Code:
adb devices
adb shell "chmod 0644 /storage/emulated/0/Dropbox/Other/Web_Links.html"
Click to expand...
Click to collapse
It's not rooted, and I don't really want to root it. The Moto wasn't rooted either.
Does Android do anything "odd" with permissions when copying files around that might be causing this? It was copied in from a memory card.
Hal18ut said:
Does Android do anything "odd" with permissions when copying files around that might be causing this? It was copied in from a memory card.
Click to expand...
Click to collapse
By default, when you create a file as a regular user, it’s given the permissions of 644 ( means: rw-rw-r– ). These permissions don't get stored with the file but within the filesystem where the file is located. Hence when you transfer a file from one filesystem ( here: external sd-card ) to another one ( here: internal sd-card ) , the initially granted permissions get lost.
jwoegerbauer said:
By default, when you create a file as a regular user, it’s given the permissions of 644 ( means: rw-rw-r– ). These permissions don't get stored with the file but within the filesystem where the file is located. Hence when you transfer a file from one filesystem ( here: external sd-card ) to another one ( here: internal sd-card ) , the initially granted permissions get lost.
Click to expand...
Click to collapse
Any tricks for copying (or moving the file) so it gets the correct permissions? Also, any non-root way of viewing them to confirm this is cause of the issue?
The best I've come up with so far is to save the .html files in Android/data/com.microsoft.emmx/files/Download/ and then reference them with file:///storage/emulated/0/Android/data/com.microsoft.emmx/files/Download/Web_Links.html which appears to work. Presumably substituting com.android.chrome for com.microsoft.emmx will work for Chrome.
Still don't understand why Edge and Chrome don't have access to URLs via file:///storage/emulated/0/ nor how I got around this on the Moto.
There might possibly be another way, but I cannot recall the details on how to do it or whether it requires root or not. Some devices have special internal URI's that enable, e.g., debug mode, which can be invoked via omnibox in the form of in-line commands. I remember in particular my car's Android head unit had this for it's native browser and after enabling debug mode,. I was able to browse `file:///` and its subdirectories. My unit did have root at the time, but I want to say that regardless this wasn't accessible without the debug command being enabled, so I would infer it might not require root (but that's purely conjecture). This is not a persistent state, but the command could be saved as a bookmarklet for ease-of-use. I've never looked into whether this is a common or unique Android function, or something the OEM developed.