Open ale5000-git opened 1 year ago
i have this on executing script . are things go right or i have an error? BTW when i press any key to continue the git get closed
Hi, Build.BOOTLOADER may be missing on some devices, I think it is normal so it is fine.
Running the script directly will only show the profile, to create a file you have to run it like this:
busybox sh profile-generator.sh > my-profile.xml
sh profile-generator.sh > my-profile.xml
bash profile-generator.sh > my-profile.xml
(it depends from what shell you use)This will create the profile xml file.
Thank you the file is created but i have a problem . My phone is Huawei without google services When i use Google nexus 5x profile to log in . I can successfully log in into my account But when i use custom profile created from another Huawei device which support google services i can't log in into my account and got error message saying there's a problem communicating with the Google servers. What is the problem with my custom profile then ?
Before creating a profile from a device you must verify that, the device you create it from, passes SafetyNet.
In addition some devices may include Google Apps without being entitled to do it, only these devices are officially allowed: https://storage.googleapis.com/play_public/supported_devices.html
NOTE: You have to create a profile from an officially supported device with a stock ROM (preferably), the you can apply the created profile to all devices.
@Mohammedibrahim15
Looking over the internet the HUAWEI nova 7i
isn't certified.
Is it correct?
Yes it is my phone and it was just a try to execute script .. I have created profile from 2 phones ( each passed safetynet and has google services) but i cannot login via them .. the only option that i could login with is google nexus 5X
Custom profiles.zip There is zip file including 2 custom profile files that i have created
The latest version of the profile generator now also detect if the device is certified.
It is possible that the failure get cached by the server, the solution is:
Unfortunately nothing happens and that problem still exists. However thank you for your great efforts and i will sign in with Google nexus
I'm not sure what's going on in your phone, in case you want to find out you can open a new issue and post a logcat.
I will do that but I wonder if you can upload a ready custom profile and i will try. If i could login with that profile so the problem was in my custom profiles .so please Can you upload a custom profile?
BTW, When I try to import custom profile to Vanced microg I successfully logged in. But in official microg I couldn’t
It is possible that they reset the GSF ID, it is the same thing that you can obtain by Reset the data (not just cache) of microG Service Core
.
But if you don't import the profile before enabling internet microG will log without the profile before you have the time to import the new profile.
@Mohammedibrahim15 You could try this, but I haven't had time to try it yet: huawei_p20_lite_28.zip
I have tried this but the problem seems to be in my phone, so I will login with google nexus profile and thank you for your attention and efforts
hi, friend. I recently got your script and it's exactly what I want, but I have a problem.
I try to run it, and it stays in this state:
Would you know why it happens?
Edit: Don't worry, I realized the cell phone must be on. She had it in bootloader mode. Sorry. ^.^
The script works perfectly when the phone is booted correctly. It works also in recovery but the resulting xml may be incorrect because in the recovery not all props are set correctly. It won't work at all in bootloader mode.
The script works perfectly when the phone is booted correctly
@ale5000-git I did not find any guide for windows users (it may or may not be the result of my sloppy searching ;]) - so here goes (feel free to use it in your readme if you wish):
Forgive me if it's obvious, but I had to examine your script to debug "ERROR: adb is NOT available" when using platform tools and it took me a few minutes, hence this short guide.
And yes - the script works perfectly, thank you ;]
I noticed that the resulting xml does not include the IMEI. Is there any way to set the IMEI in the microg device profile? I want to make sure my Google account is associated to an OG Pixel with a valid IMEI when using microg gms.
Thanks in advance to anyone who can help with this.
I have created "device-info.sh" mostly for fun but also to get debugging info and this one also dislay the IMEI.
Instead profiles created with "profile-generator.sh" doesn't contains the IMEI because it isn't needed or used by microG, the Google account is still associated to the device using the serial number.
@ale5000-git , thanks for the reply. The profile I generated on my Pixel 1 device running android 10 only shows a 'serial template' value and not a field for serial.
Do you have any idea why it would not pick up the serial when generating the profile?
Thanks again.
It is like this. The first time microG is used it generate a random serial that look valid by following the serial template. The generated value doesn't change unless you reset the device or reset microG data or change profile; so it keep the phone associated to the Google account.
Hi, I have created a script to automatically generate a device profile (usable by microG) from a device connected via adb: https://github.com/micro5k/microg-unofficial-installer/blob/main/utils/profile-generator.sh https://github.com/micro5k/microg-unofficial-installer/blob/main/utils/dl-device-list.sh Only adb and a device are needed (on Windows you also need busybox to execute the script).
I would like a feedback from all interested people.
PS: It can create a profile from most devices and even emulators but it only make sense to create a profile from devices that pass SafetyNet.
@mar-v-in It would be nice if you could verify that it can correctly extract values from the devices you have.