1

I am fluent with Linux command line (using Linux since 1993). I have a Ubuntu 21.10 desktop (with root access, and good fiber-optic connection to the internet).

My mobile phone is a Redmi Note 7 (M1901F7G) with an extra µsim SD Card. Android 1QKQ1.190910.002. lsusb on the desktop says:

 Bus 001 Device 007: ID 2717:ff40 Xiaomi Inc. Mi/Redmi series (MTP)

with other output.

I have connected the phone to the desktop with an USB cable.

I want to backup all the phone contacts (first & last name & phone number) on the desktop, reset the mobile phone entirely, and transfer the saved up contacts back. Preferably by typing Linux commands on the desktop (e.g. mtp-getfile ?)

I don't mind losing Android applications on the mobile phone. I would be upset in losing the human contact (adress book).

I also have a wifi

I don't have Windows, and never used it.

4
  • Does this answer your question? Exporting contacts via adb
    – alecxs
    Commented Dec 29, 2021 at 9:45
  • MTP protocol is not recommended, consider adb-sync for file transfer and adb backup for apps. regarding contacts find software for your needs. MyPhoneExplorer afaik runs from wine
    – alecxs
    Commented Dec 29, 2021 at 10:31
  • for most distros package should be available android-tools-adb
    – alecxs
    Commented Dec 29, 2021 at 10:35
  • Oh why they blocked you? stackoverflow admins are so stupid cannot differentiate between spammer or good people!? My sincere condolences for the discrimination
    – alecxs
    Commented Jan 1, 2022 at 20:05

0

You must log in to answer this question.

Browse other questions tagged .