From owner-freebsd-questions@freebsd.org Thu May 16 13:46:23 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D59C159733D for ; Thu, 16 May 2019 13:46:23 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id A51867737A for ; Thu, 16 May 2019 13:46:22 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id 346B0718049 for ; Thu, 16 May 2019 08:46:21 -0500 (CDT) Subject: Re: OT: android phone backup NOT to google cloud question To: freebsd-questions@freebsd.org References: <20190516100114.fcb08b7ba3ac1b5b5f16ed1c@sohara.org> From: Valeri Galtsev Message-ID: Date: Thu, 16 May 2019 08:46:21 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190516100114.fcb08b7ba3ac1b5b5f16ed1c@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A51867737A X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=uchicago.edu (policy=none) X-Spamd-Result: default: False [-1.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.777,0]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; URIBL_BLOCKED(0.00)[maps.me.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.983,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.01)[country: US(-0.06)]; NEURAL_SPAM_SHORT(0.38)[0.376,0]; MX_GOOD(-0.01)[cached: kicp.uchicago.edu]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2019 13:46:23 -0000 On 2019-05-16 04:01, Steve O'Hara-Smith wrote: > On Wed, 15 May 2019 09:22:49 -0500 > Valeri Galtsev wrote: > >> Dear All, >> >> My apologies for OT question. >> >> I wonder if someone of Android smartphone owners backs up their device >> and user/application data NOT to google cloud. > > Yes there are options that are worth looking into > > owncloud - open source similar to Google Drive or Dropbox - I've never been > able to get it working to suit me YMMV > Thanks, Steve. Yes, I do run ownloud server (for the department), which I can trust as myself (or rather I trust myself ;-). Owncloud client can back up regular stuff that file manager on android has access to (that is photos, documents). However, owncloud client is just a regular application on android, and it has no access to /data/data - this is the place which android applications use by default for their, and some of them are not configurable to use different place to store their data. Example: offline maps (e.g. maps.me). What I discovered on the version of android my new cell phone runs is: every application runs under its own username (Hooray from security point of view!), and stores data into its own directory under /data/data accessible to that (only) username application runs under. Apart from that, unlocking bootloader, but not rooting the device allows me to back up everything (except for /data/data where application data are stored). > radicale - open source CALDAV/CARDDAV service - I keep my contacts on this > using davx5 on the Android side. > > There are also Android implementations of rsync - I use one > (arcosync) that is no longer in the play store That is my impression, several things that give you more freedom (== more owneship of "your" device) were eradicated from "play store". > to backup photos and a > selection of application files. > >> I just had to get new smartphone, and discovered that short of rooting >> device or unlocking bootloader and flashing one of "un-googled" android >> builds I can not find the way to back up everything. To my storage, NOT > > That is unfortunately true and none of the above helps with this in > any way because unless the device is rooted access to application data is > for the most part restricted to the application that created it which is a > PITA. Yes, sorry I went in length about this above, before I read what you say. > >> TO GOOGLE CLOUD that is. adb lets me back up system and applications >> (and data on add-on flash card), but not application data stored in >> internal storage (say, off-line maps downloaded by offline map >> application). > > Yep - and even when you can get a copy of some data you can't > always restore it without root or the cooperation of the application. > >> Any advise, anybody? > > root it. Hm. Just went whole way: wiped it and flashed LineageOS. Though google code is still there in binary only "blob" of kernel, and likely in proprietary binary drivers and components firmware, it feels good for the moment. Thanks, everybody, for all your advises!! Valeri > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++