Author Topic: Android 11+, changes  (Read 4196 times)

Online balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 2977
  • Thanked: 171 times
    • View Profile
  • Device: Samsung XCover 4s Android 11
Re: Android 11+, changes
« Reply #60 on: December 03, 2021, 08:02:31 »
@michaelbechthold
Quote
Update: Total Commander allows WRITING into the INTERNAL SD private folder (hence more powerful than Solid Explorer or x-plore - interesting).
for me it´s possible to write also with  X-plore to INTERNAL SD private folder
Locus PRO 3.56.5 AFA
Locus Map 4.5.7.3 GOLD
LMP User ID 3e620e7590
LM4 User ID e06d572d4
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #61 on: December 03, 2021, 09:21:51 »
TXs, Wolfgan. Was late last night, and I mistook external for internal.
So, while this is nice, it does not help offloading large non-vector maps to external.

@Menion: can you PLEASE do the same thing that you did for mapsVector also for maps?
Also it seems that you look for mapsVector on internal although it is configured to external SD.

So, writing to the configured location, but always reading from both locations is the most powerful approach. And easy to implement ...

Thank you.
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #62 on: December 03, 2021, 09:30:04 »
App Data Transfer: there are two entries with the same title doing opposite things. Not good.

But how on earth can Locus WRITE to the root folder? Is that the grandfathering of an existing installation?

Would this go away after a re-install?
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12606
  • Thanked: 839 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Android 11+, changes
« Reply #63 on: December 03, 2021, 10:28:25 »
@balloni55
Adding OAM is easy thanks to integrated direct download from OAM to Locus. Just use the method that directly downloads maps from the web, not manually.

@michaelbechtold
As I wrote before:

File-browsers with "External storage" permissions can usually

- read/write to all directories in the root of internal/external memory

- read/write to all app private directories (Android/data/) in the internal memory thanks to the small known hack (that I believe will be patched in one of the coming Android versions). So not all filebrowsers are able to do this!

- read (maybe), but 100% no write to all app private directories (Android/data/) in the external storage.
There is no known method that is able to bypass Android integrated security for now.

From our internal testing, you may easily connect the phone with a cable to the PC and copy data manually over the PC! No need to ADB!!



Thanks for the detailed long post. We will think about possible improvements.

Slowness you and others noticed will be most probably caused by the computing of "Used disk space". With the new Google system this tiny operation took really loooong. Unfortunately. I'll look at it.

App Data Transfer: there are two entries with the same title doing opposite things. Not good.
Where?

But how on earth can Locus WRITE to the root folder? Is that the grandfathering of an existing installation?

Would this go away after a re-install?
I'm a little out of context here, sorry. A better explanation is needed.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #64 on: December 03, 2021, 10:37:52 »
TXs Menion.
File browser thing clear, and also seen it in practise now.
PC connect to Windows is also easy as you write and successfully tested.

The last two topics relate to settings - maps - standard folders - file manager.

After migration to private internal two new entries appeared under "App Data Transfer"
There is the naming problem.
And the option of Locus writing to root folder. Grandfathering of existing install?
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #65 on: December 03, 2021, 10:40:07 »
The naming duplicate is in German.
My English Locus install on S10 I will not touch for now.
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #66 on: December 03, 2021, 10:41:28 »
English is OK. Translation error ...
 
The following users thanked this post: Menion

Offline tramp20

  • Expert
  • Master of Locus
  • ****
  • Posts: 585
  • Thanked: 5 times
    • View Profile
Re: Android 11+, changes
« Reply #67 on: December 03, 2021, 14:02:45 »

- read (maybe), but 100% no write to all app private directories (Android/data/) in the external storage.
There is no known method that is able to bypass Android integrated security for now.


I have a rooted LOS 18.1 phone and this (most unknown) path helped almost every time with every app:

See attachment
Sony Xperia Z1c   Android 11 LOS 18.1
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12606
  • Thanked: 839 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Android 11+, changes
« Reply #68 on: December 03, 2021, 15:14:57 »
"root" ... oki  :)

This topic is partially covered in the new version topic, but it still has its purpose > focus on the file-system. So cross-post to new Beta: https://forum.locusmap.eu/index.php?topic=7632.msg65883#msg65883 ... if you find a moment, give it a try and test new "maps" and "mapsOnline" setup if it works as expected. Thanks guys!
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #69 on: December 03, 2021, 15:51:07 »
WHERE IS MY MAPS ON internal sd ??? GONE!
To the external SD structure. Worked like a charm. The online thing I want to keep internal.
 

Offline tapio

  • Expert
  • Master of Locus
  • ****
  • Posts: 808
  • Thanked: 184 times
    • View Profile
Re: Android 11+, changes
« Reply #70 on: December 03, 2021, 16:03:34 »
Migration of maps and mapsonline worked flawlessly. As mentioned, percentage indicator is not optimal if it only changes once per file.
LM4 USER ID: 1AACAFF2A2
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12606
  • Thanked: 839 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Android 11+, changes
« Reply #71 on: December 05, 2021, 12:50:56 »
@michaelbechtold
you lost some maps or how should I understand your post?
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline freischneider

  • Expert
  • Professor of Locus
  • *****
  • Posts: 1002
  • Thanked: 114 times
    • View Profile
  • Device: Xiaomi Redmi Note 10 Pro, Android 11, Locus Map 4 Gold, Locus-Device-ID: aa54a2bc9
Re: Android 11+, changes
« Reply #72 on: December 06, 2021, 10:20:44 »
@Menion: you write so that it is important with the cards so that they are internal, because the internal memory is faster.  I also thought so and have them internally. I also have the database internally.
But now there is little space and I have the SRTM elevation data on the external SD card. Have there also much LIDAR (need more space).

Question: How important is the speed for the elevation data ?
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 955
  • Thanked: 112 times
    • View Profile
Re: Android 11+, changes
« Reply #73 on: December 06, 2021, 12:42:24 »
@michaelbechtold
you lost some maps or how should I understand your post?

That was a happy fun message, documenting success. They were gone from the old location /1st line) and ended up at the target (2nd) sentence.

Sorry for the confusion.

Summarizing the experience and discussions from the last weeks:
- the current support for SRTM, mapsVector, maps for both, INT and EXT SD private space is powerful enough to help all use cases, i.e. map storage needs, capacities etc. - well done! A big THANK YOU!
- the backup to ANY folder, even outside private space is great - although I do not understand how you could escape the Android 11+/API 30 limitations. Well, these are not files with need for random access (like DBs and maps); maybe that helped. Will it survive Google "fixes" (below the level of yet another storage model) ?
- the GPX export to the backup location would be really nice
- guiding the community of users who are not able to help themselves to make the right choices is the gap I see
Fingers crossed ...
Cheers
Michael

 
The following users thanked this post: Menion

Offline tapio

  • Expert
  • Master of Locus
  • ****
  • Posts: 808
  • Thanked: 184 times
    • View Profile
Re: Android 11+, changes
« Reply #74 on: December 06, 2021, 14:50:30 »
Question: How important is the speed for the elevation data ?
I'm using them on ext sd quite a while and noticed no problem at all.
LM4 USER ID: 1AACAFF2A2
 
The following users thanked this post: Menion