FriendlyNeighborhoodShane / MinMicroG_releases

Prebuilt flashable zip RELEASES for the MinMicroG project.
GNU General Public License v3.0
309 stars 13 forks source link

minmicroG doesn't "survive" dirty flash updates #5

Closed krig6assaultrifle closed 3 years ago

krig6assaultrifle commented 3 years ago

Hi FriendlyNeighborhoodShane, Everytime I dirtyflashed my ROM (ArrowOS), minmicroG always dissapear from the ROM and I think that was related to addon.d (Maybe?) because IIRC, GApps like FlameGapps have addon.d survival that allows it to survive every update/dirty flash without losing settings and apps. I would like similar system be implemented on minmicroG. I don't want to flash it with Magisk because I don't like rooting my phone and possibly opening a lot of attack surfaces. Otherwise, minmicroG is near perfect. Keep up the hard work!

Thank you for reading and hopefully responsing to my comment.

FriendlyNeighborhoodShane commented 3 years ago

Hello!

Yep, you're correct, the addon.d mechanism is responsible for that. Strangely, MinMicroG already uses it and it does work on my device.

Can you get a recovery log of dirty flashing your ROM? That might help in pointing out the problem.

krig6assaultrifle commented 3 years ago

Hello!

Yep, you're correct, the addon.d mechanism is responsible for that. Strangely, MinMicroG already uses it and it does work on my device.

Can you get a recovery log of dirty flashing your ROM? That might help in pointing out the problem.

Okay, but since my ROM have nightly build, I will get the recovery logs and screenshot tomorrow, since I need the next build of my ROM to get the logs. But I did get the previous logs : recovery_20201123_053603.log[1].zip recovery_20201123_053825.log[1].zip

Btw, the first log is dirtyflashing logs, while the second one is minmicroG flashing logs. I use OrangeFox recovery, is it possibly because some setting in the recovery?

Thank you for responsing to my comment. Cheers!

FriendlyNeighborhoodShane commented 3 years ago

Thanks. I think I have an idea™ of what's going wrong here, some stuff needs to be fixed on the MinMicroG side. Will try work on it soon!

krig6assaultrifle commented 3 years ago

Thanks. I think I have an idea™ of what's going wrong here, some stuff needs to be fixed on the MinMicroG side. Will try work on it soon!

Okay, thanks. Looking for the fix soon!

FriendlyNeighborhoodShane commented 3 years ago

@krig6assaultrifle Did some work, should hopefully fix this problem.

Here's the CI builds with the fix: https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases/tag/2020.11.24

Lemme know what happens with these.

krig6assaultrifle commented 3 years ago

@krig6assaultrifle Did some work, should hopefully fix this problem.

Here's the CI builds with the fix: https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases/tag/2020.11.24

Lemme know what happens with these.

Ok mate, I already flashed the new minmicroG .zip from your link, but I have to test it tomorrow because, well, my next ROM update probably will came tomorrow! Anyway, thanks, mate.

krig6assaultrifle commented 3 years ago

It worked!! Thanks for both responsing and fixing the problem.