Code Monkey home page Code Monkey logo

Comments (5)

ale5000-git avatar ale5000-git commented on May 23, 2024

@jpage4500
Hi,
it is an incompatibility of bash under Mac compared to bash under all other OSes.
I have found a workaround to make it working also on Mac, could you please try the new version?

from microg-unofficial-installer.

jpage4500 avatar jpage4500 commented on May 23, 2024

@ale5000-git - that worked - thanks for the quick response!!

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 23, 2024

Thanks to you too for reporting it :-)

from microg-unofficial-installer.

jpage4500 avatar jpage4500 commented on May 23, 2024

Hi @ale5000-git -- this issue is closed but I wanted to mention 1 thing and ask a follow-up question if you don't mind

  1. I have multiple devices connected to my laptop and wanted to use this script to print out details for all of them; I was able to modify the script to do this. Not sure if you're interested in that change or not but the gist of my changes was to add this:
DEVICES=$(adb devices -l | grep -v "List" | grep -v "offline" | grep -v '^$' | sed 's/ device:.*//' | cut -d ' ' -f 1 | tr '\n' ' ')
for device in $DEVICES
do
    export ADB_DEVICE=$(echo "$device" | sed $'s/[ \t].*$//g')
    main
done

Then, of course, every time there's an adb command like adb shell, I replaced it with adb -s $ADB_DEVICE shell

I did have to make a couple of other minor changes like not making BUILD_VERSION_SDK readonly.. also, the wait for device check failed because there was multiple devices connected.. but, essentially that was it and now it's printing out info for every connected device!

  #readonly BUILD_VERSION_SDK
  1. I have several test devices that don't log the phone number and I can't figure out why.. the confusing part is I have the other devices - same device/OS/SIM/etc which show the phone number fine.

The devices in question are Samsung A21, model: SM-G991U1, OS:14
image

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 23, 2024

@jpage4500
I have added support for multiple devices in the script but it isn't yet perfect.

PS: Please open a separate ticket for bugs like phone number not extracted correctly.

from microg-unofficial-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.