Trouble getting TWRP to install on Google Pixel Sailfish in order to install Lineage - Google Pixel Questions & Answers

I have a Google Pixel I had gotten used I have been using it stock on Android 10.
But seeing as how the security updates won't be comnig anymore I wanted to keep it secure in the future with Lineage OS and TWRP to update it regularly.
I followed the instructions here:
https://wiki.lineageos.org/devices/sailfish/install
I have gotten the loader unlocked and it wiped my phone. But I can't get TWRP to work.
The downloads for the TWRP version for Pixel doesn't have an IMG file to load and trying to load the individual files in the archive does not seem to work. I also tried renaming the zip file and it did not work.
Here is the download page.
https://dl.twrp.me/sailfish/twrp-pixel-installer-sailfish-3.3.0-0.zip.html
I can't seem to find any guides on how to do this. I want to keep my pixel up to date with the latest Android 10 updates and the only way will be loading the latest roms manually via TWRP. Please help.
https://www.xda-developers.com/how-to-install-twrp/ also doesn't seem to apply
Anybody have any ideas?

Uh, how did you miss the files here? dl.twrp.me/sailfish/
.img files right there dude, and if you go to the page before the download page on the TWRP site (twrp.me/google/googlepixel.html), it tells you how to install it or just boot it temporarily.
Extracting the .zip files is super wrong.
Edit: also in my recent experience (the other day), the latest version of TWRP for Pixel (twrp-3.3.1-0-sailfish.img) doesn't seem to handle encrypted storage properly (it wasn't prompting me for my PIN), so use the version before that (twrp-3.3.0-0-sailfish.img).

Yeah I was blind.
I have some other issues though. After installing Lineage I can't seem to push the google services or root capabilities to the SDCARD before booting into the OS. And booting into the OS means it's too late. And doing a wipe to install them properly erases the contents of /SDCARD/
A real ***** of a situation.
Also the default Lineage OS recovery (if attempting it instead of TWRP) doesn't seem to allow installing via files and can't pull properly with ADB either.

Related

GApps for Galaxy S6 SM-G 9200

Has anyone had success in getting google play store / gapps running on the Chinese SM-G 9200 with Android 6.0.1?
Flashing gapps in TWRP fails due to insufficient available storage, all kind of installations i tried (rooted / unrooted) are just leading to crashing google services framework. I set the maximum permissions including change of system settings in the app config. No success.
Anyone had success? Or can extract the google packages from another S6 to test if i can install?
I had success but the path is everything else than straightforward and i would call it a dirty hack and i do not give any guarantee that this will work and not brick your phone.
1. Flash firmware CHC-G9200ZCU2DPL1-20170105164838 with Odin
2. Install TWRP (i used 3.0.0.0). This will result in boot-loop
3. Re-Flash the firmware above
4. Boot up the phone, should work now
5. Restart into TWRP, install SuperSU (i used 2.46)
6. Boot up the phone
7. Use Root Explorer to free up some system space to install gapps. (I deleted the Chinese apps in /system/preload which should give sufficient space but deleting might have side effects)
8. Download pico arm64 Android 6 gapps from opengapps
9. Boot into TWRP, install gapps
10. Boot up the phone. Play store should be there, you can open but i was not able to login
11. I downloaded the Google Installer_2.0.apk typically used for Xiaomi phones and run the app. It will update ServicesFramework, Install Loginmanager and fail with Playstoreservices, but this is fine. Probably it is just sufficient to install the Loginmanager, did not try that.
12. Re-boot the phone. Now It should work fine

Problems With Lineage 15.1

Good morning to all,
I think I posted this thread in the wrong place and I'm sorry for this, so I post it here now.
I flashed my SM-P905 with Lineage 15.1 using TWRP 2.8.7.0.
I have installed the correct OS (viennaltexx) and the correct gapps (arm 8.1 super) but I was having an issue with Google Play Services that was continuously stopping and this didn't allow me to set the google account and to get access to all the play services, so I decided to retry to flash the OS and gapps, I wiped everything but the sd card, but now when I try to flash the OS it stops on "no md5 file found" (no error 7) and it goes back to the TWRP home.
Now I've installed the 14.1 Lineage OS (again wiping everything but the sd card) and it is very stable and fast and gives only 1 problem:
- the fact that I can't install the SuperSU and it causes the CM S Pen app fail to work, because lacking of root access. When I flash the file (file name "addonsu-14.1-arm-signed") everything goes well, but when I reboot the system the SuperSU app is missing. I activated the access for APP and ADB in the developer options but it still doesn't work;
This system would be completely satisfying with S Pen functions.
But I would try to install Oreo just beacause I would like to try the porting created by Alexis, with the Note 9 apps.
Can someone please help me? Thank you very much!
EnricoLeoni said:
Good morning to all,
I think I posted this thread in the wrong place and I'm sorry for this, so I post it here now.
I flashed my SM-P905 with Lineage 15.1 using TWRP 2.8.7.0.
I have installed the correct OS (viennaltexx) and the correct gapps (arm 8.1 super) but I was having an issue with Google Play Services that was continuously stopping and this didn't allow me to set the google account and to get access to all the play services, so I decided to retry to flash the OS and gapps, I wiped everything but the sd card, but now when I try to flash the OS it stops on "no md5 file found" (no error 7) and it goes back to the TWRP home.
Now I've installed the 14.1 Lineage OS (again wiping everything but the sd card) and it is very stable and fast and gives only 1 problem:
- the fact that I can't install the SuperSU and it causes the CM S Pen app fail to work, because lacking of root access. When I flash the file (file name "addonsu-14.1-arm-signed") everything goes well, but when I reboot the system the SuperSU app is missing. I activated the access for APP and ADB in the developer options but it still doesn't work;
This system would be completely satisfying with S Pen functions.
But I would try to install Oreo just beacause I would like to try the porting created by Alexis, with the Note 9 apps.
Can someone please help me? Thank you very much!
Click to expand...
Click to collapse
Try upgrading your TWRP to a newer version (3.1.1 seems to be popular version) and flash everything again. 2.8.7 is a very old version for TWRP, and might not handle the 15.1 stuff well.
rhricik447 said:
Try upgrading your TWRP to a newer version (3.1.1 seems to be popular version) and flash everything again. 2.8.7 is a very old version for TWRP, and might not handle the 15.1 stuff well.
Click to expand...
Click to collapse
Hi rhricik, thank you very much for your response.
I tryed to find the .tar file to install it with Odin, but I failed, I only find the IMG files. Do you know how to install the newer version using the IMG file and the TWRP app in Android (if it is possible ti do) or do you have a link to a .tar file?
I tryed to flash the image with the recovery, but when I go to the download folder i tap on "images" but I can't see the file. I can see it in the archive, but not in recovery mode.
Thank you again!
rhricik447 said:
Try upgrading your TWRP to a newer version (3.1.1 seems to be popular version) and flash everything again. 2.8.7 is a very old version for TWRP, and might not handle the 15.1 stuff well.
Click to expand...
Click to collapse
I found only the TWRP 3.0.2 as the latest version for Galaxy Note Pro 12.2. I converted the img file to .tar and it worked, but when I go to instal the OS it still stops on md5 file not found.
Is it safe to use a TWRP 3.2.2 for another device?
Otherwise I could try to flaash the system using Odin. Is it possible?
Please try this Link: https://forum.xda-developers.com/galaxy-note-pro-12/development/recovery-twrp-3-1-1-0-t3684802
"2. 20180708: 3.2.2-0 version"
Regards
bemanet said:
Please try this Link: https://forum.xda-developers.com/galaxy-note-pro-12/development/recovery-twrp-3-1-1-0-t3684802
"2. 20180708: 3.2.2-0 version"
Regards
Click to expand...
Click to collapse
Hi bemanet, thank you very much! The 3.2.2 version of TWRP is successfully installed.
At least now I know what the problem is.
When I flash the system I obtain this response now:
" Skipping Digest Check: no Digest file found
Zip file is corrupt!
Error installing zip file '/external_sd/oreo/lineage-15.1-20180708-UNOFFICIAL-viennalte.zip'
Updating partition details...
... done "
So maybe there must be some problem with the file structure.
Anyway thank you very much for your help.
Regards
You may need to re-download the file. It may be corrupt....
bemanet said:
You may need to re-download the file. It may be corrupt....
Click to expand...
Click to collapse
Yes i tried but the file results unavailable, maybe for fixing. I'll try again later!
Thank you very much!
Meanwhile, do you know why I find impossible on Lineage 14.1 to install a different keyboard? I tried to install the Samsung keyboard and another different keyboard with CTRL and arrows keys (both installations went good) but both times when I went to select the keyboard It gave me only the gboard.
Plus, when I try to open the gboard settings the app crashes, so I would like to change it.
Thank you again!
EnricoLeoni said:
Yes i tried but the file results unavailable, maybe for fixing. I'll try again later!
Thank you very much!
Meanwhile, do you know why I find impossible on Lineage 14.1 to install a different keyboard? I tried to install the Samsung keyboard and another different keyboard with CTRL and arrows keys (both installations went good) but both times when I went to select the keyboard It gave me only the gboard.
Plus, when I try to open the gboard settings the app crashes, so I would like to change it.
Thank you again!
Click to expand...
Click to collapse
Try Hacker's Keyboard from the Play Store - has all the control and arrow keys. That's been my main keyboard across 5 devices. Works well.
---------- Post added at 21:40 ---------- Previous post was at 21:37 ----------
Follow the directions that Hacker's Keyboard gives to get it set up as your default keyboard
rhricik447 said:
Try Hacker's Keyboard from the Play Store - has all the control and arrow keys. That's been my main keyboard across 5 devices. Works well.
---------- Post added at 21:40 ---------- Previous post was at 21:37 ----------
Follow the directions that Hacker's Keyboard gives to get it set up as your default keyboard
Click to expand...
Click to collapse
Wow thank you very much rhricik, it is perfect!

HELP After updating Android System Webview My Phone is Unresponsive

Hello Guys,
I come in need of a help,
I'm writing from my computer now,
Yesterday my phone was working fine,
Today morning, I updated the apps on my phone; amongst the updates was android system webview.
After a reboot, my phone is unresponsive, it won't open any of the apps from that point.
I reboot again, since keyboard doesn't work, I used the OTG cable to use the physical keyboard to enter the password and get in. Tried entering setting to uninstall that crap app, settings is unresponsive.
No SIM services, no keyboard, no fingerprint, no settings etc.. basically nothing works and everything says "unresponsive and asks to either wait or close".
The only thing I have now is TWRP Recovery, and I'm inside it now.
I've wiped Cache + Dalvik / ART Cache : Result still same, nothing works.
I mailed [email protected] (which is provided in the app's "Developer" section) about this and got a reply that the mail is no longer being monitored.
Can someone please let me know how I can remove android system webview by using TWRP ? So that I can enter the phone back again as normal..
Device Details:
Lenovo K8 Note
Android 7.1.1 Nougat, (Never updated the OS)
Device has been rooted and has recovery options.
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
dedq said:
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
Click to expand...
Click to collapse
Thanks, I couldn't quite understand that..
I've never read/seen a need for Magisk so far.. so may I know what is the procedure to be done here...?
I do read Magisk is a systemless Root, (I already have SuperSu, is that the same functionality? (though I can't open anything that is))
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Understood, thanks..
Will try this out.
KillerBeeSama said:
Understood, thanks..
Will try this out.
Click to expand...
Click to collapse
Give it a try and come to tell if you have sorted it out.
If not, you will probably need to flash your ROM again hoping the application won't stay updated but to back to stock version.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
KillerBeeSama said:
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
Click to expand...
Click to collapse
You won't lose TWRP but I am not sure about SuperSu since it's very old and people don't use it from the time Magisk appeared. I don't think you will be able to have both TWRP and SuperSu.
It would be good for you to just uninstall the updates of WebView if you can use your phone at all. That would solve the problem.
TWRP basically is a menu what allows you to select and apply ADB and/or Fastboot commands.
SuperSU is a Superuser access management tool: it requires SU binary got installed on Android.
Both mentioned sofwares are completely different things, don't depend on each other.
BTW:
I always root Android without the need to make use of Magisk or SuperSU.
So, I went through these
[MAGISK] [MODULE] Webview Manager
Welcome to the XDA home of Webview Manager by Androidacy Read about it on our blog: https://www.androidacy.com/tag/webview-manager/ What is this? This magisk module allows to install several webviews and browsers, replacing the stock one with...
forum.xda-developers.com
Android system Webview installed but not used by apps
I downloaded and installed the latest version of android system WebView from the app store on my android tablet (running 5.0.2). But apps still go on using the old webview version (39.0.0.0). Ho...
android.stackexchange.com
SystemWebView releases
SystemWebView releases
www.bromite.org
Installing SystemWebView
Bromite is a Chromium fork with ad blocking and privacy enhancements; take back your browser! - bromite/bromite
github.com
I got is, .. the adb and appt command says "not found". so.. confusion. and I also see that Bromite System Webview might or might not work on some apps..
So,
Is there a way to downgrade an app through recovery mode
or delete that app's data and start from scratch for that alone?
or is there a way to flash an old Android System Web View through TWRP?
Please help, I have spent the whole day trying to fix this.
I already have SuperSu and it seems if I need to goto Magisk (which is just for that other webview application, I have to do a lot of rolling back and applications going away, ) I don't want that..
Let's keep the Magisk idea as last resort and please let me know if there is any other way to delete the entire Android Webview related stuff and start from beginning.
<bump>
Attached the attack of errors. (these are just few of the ANR popups, there are lots more.. at the last screen you can see even settings won't respond)
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
jwoegerbauer said:
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
Click to expand...
Click to collapse
Just because of one application?
I just want that android webview gone/replaced with a stable one, is that not possible without destroying everything?
Thanks everyone.
we have a solution,
In my case, uninstalling the Xposed framework fixed it for me..
So, while working on this issue I had made a flow map and a log of what is done and its results, may be someone else can benefit from it in the future..
Spoiler: Tries and results
Even starting the entering phone itself is a big issue, because the keyboard applications don't come up; fingerprint doesn't work on first boot as a security measure as well; connected physical keyboard to OTG to phone to enter password... then greeted with lots of errors of all the applications.
Asking people blowed over 'to buy a new phone'
Posted to Reddit, no replies
Posted to Google support, got crappy bot_ish answers; who even hires these people!
Posted to XDA, have some ideas worth trying
Unpacking the system web view.apk on computer gives crap details as it is almost completely encrypted.
Going rabbit hunting through the rabbit hole, checking each folders on "/"
found something similar /system/app/WebViewGoogle/WebViewGoogle.apk
Quick google search confirms that I’m on the right path to finding it...
May be data or XML is somewhere too?
Deleted(copied and deleted) /system/app/WebViewGoogle/WebViewGoogle.apk
Result, Same
Then Reverted
PS: Original Copy at ext_sdcard
Replaced the existing one (92.0.4515.115 with 90.0.4430.210)
Result, no changes.
Then reverted with the crappy original
May be adb will install properly?
Tried adb commands on phone on TWRP, doesn't work
Tried adb from computer to phone, unable to connect to phone.
Was doing it wrong, while in TWRP, I need to initiate "ADB Sideload" and then connect from PC (with Firewall allowed)
then "adb devices", shows connected device with serial number
after the above, the adb push keeps saying "error: connect failed: closed"
turning phone ON and connecting for additional settings (USB debugging) pops "mtp host failed" as soon as I wire..
Started the phone, switched over to Guest account, (oddly seems stuff there are kind of better with lesser error messages), tried launching playstore and wifi, both need password which I don't have, entering settings, hangs for a while, quickly go to apps and uninstall updates for android system web view.. web view becomes 0.0.1
results, fail
Created a temporary user account on phone whilst booting, (because of the observable lesser apps running if I switch over from main..)
added my gaccount on it,
launched playstore to update the android system web view..
the update is stuck at 60%~70 %each time and is unable to complete..
took the v90 application that is on pendrive, connected otg.. and started to install application manually from there..
it said, no space.. even though there is around 4 GB free... continued to disable other applications, such as chrome, youtube, drive etc..
still unable to install the v90 application
even installing other apps (sudoku example) have the same issue,
and then I see a popup that package manager has stopped working (aha! so that itself doesn't work, then can't install),
Went to see if I can change something on developer options, developer option wont come up even after 7+ taps.. hmm strange, may be only main account can have dev options.
While at it, swapped out the Gboard with older AOSP keyboard (retaining Fleksy though).
Rebooted and tried again.. no fix yet..
Atleast I don't have to switch to physical keyboard now for every reboot, since the inner older keyboard comes for first boot.
By TWRP, removed existing app and replaced with v87; doesn't seem to be any different, same errors...
Was about to install the Magisk but it seems to have lots and lots of catches to it, and things to-do before I can go to that...
Continuing investigation on how to downgrade and get back to older state
Through TWRP, deleted the app folder from /system/app/WebViewGoogle/WebViewGoogle.apk
researched to see if there is something else to delete, couldn't find much... proceeding from what we know...
Removed ATSystem.apk (3C's helper) from /system/priv-app just in cast (copy placed at ext_sdcard)
result no change..
Started at around 31-Jul-21 13:00 and went on till 01-Aug-21 01-26 pausing to for the day to rest...
Restored App Folder back to /system/app/WebViewGoogle/WebViewGoogle.apk
WebViewGoogle.apk is v90 again.. (the original seems to be missing, meh, not like it's going to fix)
reboot, result, no changes.
Starting step to install magisk
Removing xposed now..
wiped dalvik cache
rebooting
Kind of stable!!!
Everything seems to work?!?!
Firewalled all app except playstore and mail,
mail seems to work, but can't open the mails (just the headers are received), clicking on the mail says "unable to inflate webview"
aha, I forgot that I have v87 still, if I update that again, will it work (if it doesn't we know how to revert now)
proceeds to update v87 to latest
reboots,
I guess issue resolved by uninstalling xposed, next step to enter phone and move data to safe zone and think about next step.
Are you using xprivacylua?
VD171 said:
Are you using xprivacylua?
Click to expand...
Click to collapse
No, I do remember hearing about it.
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
TUPANGPUTi23 said:
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
Click to expand...
Click to collapse
Oh... sorry to hear that.
I don't know the solution to that, because mine is rooted I was able to get into the custom recovery and fix things.. not sure what can be done here for your case, (I do know that the old samsung's default recovery is kinda unreadable for English speakers)
So, I think it's best for you to start a new thread in the forum, because if you make a new thread there's a higher chance of reply than this thread which is already marked solved.
(plus. please do attach any photos even crude it may be, still will help people see and suggest actions)

microG + Android Auto fully working

This is how you can use Android Auto with microG and connect your phone with your car.
Prerequisites:
Android 10+
Newest microG core (https://github.com/microg/GmsCore/releases)
A custom recovery to flash a zip file
Let's begin:
For Android Auto we'll use nikgapps Android Auto add-on and modify one file in the flashable zip.
Download nikgapps Android Auto add-on here: https://sourceforge.net/projects/nikgapps/files/Releases/
Dpending on your Android version, choose the correct Addons-(Q/R) folder, then, you want to download "NikGapps-Addon-10/11-AndroidAuto-date-signed.zip"
Now open the downloaded package and open the folder "common". In there you'll find "nikgapps_functions.sh". This file needs to be modified as follows:
Open this file and search for "is_on_top_of_nikgapps"
Remove the following (this code checks if you have installed nikgapps core already, but since we don't want to install that, it must be removed):
Code:
is_on_top_of_nikgapps() {
nikgapps_present=false
# shellcheck disable=SC2143
if [ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/etc/sysconfig/*.xml)" ] ||
[ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/product/etc/sysconfig/*.xml)" ]; then
nikgapps_present=true
fi
addToLog "- Is on top of NikGapps: $nikgapps_present"
if [ "$nikgapps_present" != "true" ]; then
abort "This Addon can only be flashed on top of NikGapps"
fi
}
It should look something like this now:
Code:
.....
else
addToLog "- Failed to write $install_location"
abort "Installation Failed! Looks like Storage space is full!"
fi
fi
}
# Check if the partition is mounted
.....
That's it! Now you can flash this zip with your recovery and you'll have fully working Android Auto!
hellcat50​I have attempted your tutorial using lineageOS 18.1 + microg rom one a oneplus 8 pro and have some issues.
If I follow you instructions exactly, I can sometimes get android auto to connect to my car after I manually install android auto from the aurora store. It gets stuck, however, at my car's screen saying something like - please follow the instructions on your phone to complete the android auto setup. Android auto app does show car connected, and car shows android auto icon, but only the message to complete setup on my phone.
So, I am guessing that I should not have to actually install android auto, and it should have been installed via the NikGapps file..... However after making the changes to the NikiGapps-android-auto.....zip file and flashing, I get errors (probably why android auto didn't actually install).
Error is:
Error in /sideload/package.zip (status 1)
It also says something about no space left of device as the script rolls ....
Can you give a little more detail in your instructions, and perhaps note if you are using android 11 or android 10.
Keep in mind that I am flashing this zip using lineageos recovery, as twrp is not yet available for the oneplus pro 8 that works with android 11.
Glad you were able to get this working. I have everything working perfectly other than Android Auto... (I did make sure to install google maps, speach services, and search as I know they are required by AA.
Hoping to get this working. Thanks.
D.u.G. said:
hellcat50​I have attempted your tutorial using lineageOS 18.1 + microg rom one a oneplus 8 pro and have some issues.
If I follow you instructions exactly, I can sometimes get android auto to connect to my car after I manually install android auto from the aurora store. It gets stuck, however, at my car's screen saying something like - please follow the instructions on your phone to complete the android auto setup. Android auto app does show car connected, and car shows android auto icon, but only the message to complete setup on my phone.
So, I am guessing that I should not have to actually install android auto, and it should have been installed via the NikGapps file..... However after making the changes to the NikiGapps-android-auto.....zip file and flashing, I get errors (probably why android auto didn't actually install).
Error is:
Error in /sideload/package.zip (status 1)
It also says something about no space left of device as the script rolls ....
Can you give a little more detail in your instructions, and perhaps note if you are using android 11 or android 10.
Keep in mind that I am flashing this zip using lineageos recovery, as twrp is not yet available for the oneplus pro 8 that works with android 11.
Glad you were able to get this working. I have everything working perfectly other than Android Auto... (I did make sure to install google maps, speach services, and search as I know they are required by AA.
Hoping to get this working. Thanks.
Click to expand...
Click to collapse
it could actually be that your system partition is full, that's why you got the error message. but if that isn't the issue and android auto is installed as a system app after reboot, it should work flawlessly. you only need to install google maps, the google app and google speech services manually. if you still getting problems, try and choose file transfer as the usb connection option (if you connect your phone with cable). and make sure android auto has all the permissions (especially microphone since it refuses to launch without it)
btw i flashed the zip with lineageos recovery too, it isn't a problem
hellcat50,
Thanks for responding. Interesting that you flashed with lineage recovery also...
Did you get no errors installing? Someone mentioned that to install google apps it needs to be done right after flashing the OS. Is this the way you installed?
In my case I had already installed the OS and apps before I saw your method - No clue how system partition could be full - as my phone has tons of space and only lineage and a few apps installed. It's basically a clean install.
Does it make sense for me to reflash OS and then magisk, and then Nikgapps before booting into OS? I don't want to do this if not necessary.
Also, can you elaborate a bit on what is "special" about Nikgapps-android-auto package that makes this work as opposed to just downloading android auto from Aurora?
Finally, I do have all the dependancy apps installed (gogole, tts, maps) and changing to file transfer does trigger android auto and shows connected on car and in app - but on the car it is stuck at something like "please complete setup on your phone.
As for permissions I will double check that mic has permissions. I did allow all permissions during setup.
Setup does seem to keep asking for google maps to have "location permissions" which I have made sure are on all the time.
Is there anything that you did to get by this location permissions other than making sure google maps has them? Google maps works fine.
The location modules I have in MicroG are the default ones, Mozilla location services and Nominatim address lookup modules. Any chance you have something different or additional?
D.u.G. said:
hellcat50,
Thanks for responding. Interesting that you flashed with lineage recovery also...
Did you get no errors installing? Someone mentioned that to install google apps it needs to be done right after flashing the OS. Is this the way you installed?
In my case I had already installed the OS and apps before I saw your method - No clue how system partition could be full - as my phone has tons of space and only lineage and a few apps installed. It's basically a clean install.
Does it make sense for me to reflash OS and then magisk, and then Nikgapps before booting into OS? I don't want to do this if not necessary.
Also, can you elaborate a bit on what is "special" about Nikgapps-android-auto package that makes this work as opposed to just downloading android auto from Aurora?
Finally, I do have all the dependancy apps installed (gogole, tts, maps) and changing to file transfer does trigger android auto and shows connected on car and in app - but on the car it is stuck at something like "please complete setup on your phone.
As for permissions I will double check that mic has permissions. I did allow all permissions during setup.
Setup does seem to keep asking for google maps to have "location permissions" which I have made sure are on all the time.
Is there anything that you did to get by this location permissions other than making sure google maps has them? Google maps works fine.
The location modules I have in MicroG are the default ones, Mozilla location services and Nominatim address lookup modules. Any chance you have something different or additional?
Click to expand...
Click to collapse
1. you don't need to reflash the rom. i installed the android auto package after i had already setup the system, just like you. as for the full system partition, it depends on the device how large the system partition is. you can check this with fx file explorer for example.
3. the special thing about this package is that it contains not only the android auto apk, but other library files that cannot be installed with just an apk. you can have a look at what files will be installed by opening the nikgapps package and inside the file AppSet/AndroidAuto/AndroidAuto.zip.
4. for the location thing, you just need to activate your location. you can ignore the warning, it should work anyways.
5. i use the same modules with microg, but you don't need them anyways as it works with or without these modules.
just a reminder that the nikgapps package needs to be flashed in order to get android auto fully working. without it you can only use android auto locally on your phone, and you get these car connection problems.
sorry but if you cannot flash the zip due to this error i can't help you. the only thing i could recommend to you is to try and flash other zips that modify the system partition, check if your system partition is actually full and/or ask the rom developers for assistance.
hellcat50 said:
1. you don't need to reflash the rom. i installed the android auto package after i had already setup the system, just like you. as for the full system partition, it depends on the device how large the system partition is. you can check this with fx file explorer for example.
3. the special thing about this package is that it contains not only the android auto apk, but other library files that cannot be installed with just an apk. you can have a look at what files will be installed by opening the nikgapps package and inside the file AppSet/AndroidAuto/AndroidAuto.zip.
4. for the location thing, you just need to activate your location. you can ignore the warning, it should work anyways.
5. i use the same modules with microg, but you don't need them anyways as it works with or without these modules.
just a reminder that the nikgapps package needs to be flashed in order to get android auto fully working. without it you can only use android auto locally on your phone, and you get these car connection problems.
sorry but if you cannot flash the zip due to this error i can't help you. the only thing i could recommend to you is to try and flash other zips that modify the system partition, check if your system partition is actually full and/or ask the rom developers for assistance.
Click to expand...
Click to collapse
Ok,
I have checked and the /system partition is indeed full. Seems like lineageOs makes the /system partition about 1 gb, and then fills it....
Anyone know a way to increase / resize the system partition? Oneplus 8 pro with Lineage + microG rom installed....
Hello and thanks,
I tried on my redmi note 10 with dotOS rom but when i try to open AA, the application it's closed and icon has hidden on interface.
Are you the same problem ?
Sorry for my bad english
McFlyPartages said:
Hello and thanks,
I tried on my redmi note 10 with dotOS rom but when i try to open AA, the application it's closed and icon has hidden on interface.
Are you the same problem ?
Sorry for my bad english
Click to expand...
Click to collapse
When i plug the phone on my car Android Auto to run so it's ok.
Sorry
McFlyPartages said:
When i plug the phone on my car Android Auto to run so it's ok.
Sorry
Click to expand...
Click to collapse
you need to download this app on order to access android auto on your phone again: https://play.google.com/store/apps/details?id=com.google.android.projection.gearhead.phonescreen
flashed the modified zip with twrp on a new install on microg lineageOS 17.1. on a Zenfone 6. The android auto app appears for a few moments after restart in my app drawer but when i tried to access it the app closed and is now hidden. settings for AA are still available. when i plug it into my headunit i get a "No installed apps work with this usb accessory" warning. i have a logcat output but the biggest error seemed to be a wirelesscharging notifcation ogg file not found
D.u.G. said:
Ok,
I have checked and the /system partition is indeed full. Seems like lineageOs makes the /system partition about 1 gb, and then fills it....
Anyone know a way to increase / resize the system partition? Oneplus 8 pro with Lineage + microG rom installed....
Click to expand...
Click to collapse
I also wanted this feature, pretty badly and have just been down a very long rabbit hole and managed to get it working.
Firstly, instead of modifying the Nikgapps, I built a custom package which only includes android auto here: https://sourceforge.net/projects/ni...apps-aa-arm64-11-20210826-signed.zip/download
So you don't need to mess with any configuration files.
Now, the hard part was lack of sizing in the system partition after installing lineageOS + microg. I'm using a pixel 5 (redfin). The microg + lineageOS image doesn't leave any extra room to install gapps on the system partition once its flashed and installing the NikGapps package always fails. In order to leave some extra room on the system partition, I rebuilt the lineageOs + microg package from source, modifying the reserve partition size (https://github.com/LineageOS/androi...l/blob/lineage-18.1/BoardConfigLineage.mk#L63)
I removed the if clause around this (which checks for google mobile services) and had to decrease the reserve size down about 10MB (because with microg it makes the system partition too large to fit in the super partition).
After re-compiling lineageOS with microg (I can share the image (for pixel 5's) if anyone is interested) I flashed that, rebooted to recovery, flashed the Nikgapps and boom, everything is working as expected.
Although building android from source isn't a fun endeavor. For those with pixel 5's who want a lineageOS + microg rom with about 1g reserved on the system partition I can post the image I built.
@D.u.G. - Had a quick look. Looks like its a similar design for you. https://github.com/LineageOS/androi...tnoodlep/blob/lineage-18.1/BoardConfig.mk#L39
You could remove the if statements around this and build from source for your device. If the build fails, reduce the reserve size for system. Its kinda annoying to build tho.
For those of you with rooted devices: You can also just create a privapp stub by systemizing (magisk module) the stub apk found here. Then update AA from aurora store.
It works fine for me on Los 18.1 altough for some reason not all AA compatible apps show up. I also haven't found a mirroring app yet that works.
hellcat50 said:
This is how you can use Android Auto with microG and connect your phone with your car.
Prerequisites:
Android 10+
Newest microG core (https://github.com/microg/GmsCore/releases)
A custom recovery to flash a zip file
Let's begin:
For Android Auto we'll use nikgapps Android Auto add-on and modify one file in the flashable zip.
Download nikgapps Android Auto add-on here: https://sourceforge.net/projects/nikgapps/files/Releases/
Dpending on your Android version, choose the correct Addons-(Q/R) folder, then, you want to download "NikGapps-Addon-10/11-AndroidAuto-date-signed.zip"
Now open the downloaded package and open the folder "common". In there you'll find "nikgapps_functions.sh". This file needs to be modified as follows:
Open this file and search for "is_on_top_of_nikgapps"
Remove the following (this code checks if you have installed nikgapps core already, but since we don't want to install that, it must be removed):
Code:
is_on_top_of_nikgapps() {
nikgapps_present=false
# shellcheck disable=SC2143
if [ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/etc/sysconfig/*.xml)" ] ||
[ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/product/etc/sysconfig/*.xml)" ]; then
nikgapps_present=true
fi
addToLog "- Is on top of NikGapps: $nikgapps_present"
if [ "$nikgapps_present" != "true" ]; then
abort "This Addon can only be flashed on top of NikGapps"
fi
}
It should look something like this now:
Code:
.....
else
addToLog "- Failed to write $install_location"
abort "Installation Failed! Looks like Storage space is full!"
fi
fi
}
# Check if the partition is mounted
.....
That's it! Now you can flash this zip with your recovery and you'll have fully working Android Auto!
Click to expand...
Click to collapse
a) Is there any culprit on microg's privacy protections?
b) What version of AA is it and will it update? (I use Fork LOS 17.1 with microg)
c) Also how can i uninstall it afterwords?
hellcat50 said:
This is how you can use Android Auto with microG and connect your phone with your car.
Prerequisites:
Android 10+
Newest microG core (https://github.com/microg/GmsCore/releases)
A custom recovery to flash a zip file
Let's begin:
For Android Auto we'll use nikgapps Android Auto add-on and modify one file in the flashable zip.
Download nikgapps Android Auto add-on here: https://sourceforge.net/projects/nikgapps/files/Releases/
Dpending on your Android version, choose the correct Addons-(Q/R) folder, then, you want to download "NikGapps-Addon-10/11-AndroidAuto-date-signed.zip"
Now open the downloaded package and open the folder "common". In there you'll find "nikgapps_functions.sh". This file needs to be modified as follows:
Open this file and search for "is_on_top_of_nikgapps"
Remove the following (this code checks if you have installed nikgapps core already, but since we don't want to install that, it must be removed):
Code:
is_on_top_of_nikgapps() {
nikgapps_present=false
# shellcheck disable=SC2143
if [ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/etc/sysconfig/*.xml)" ] ||
[ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/product/etc/sysconfig/*.xml)" ]; then
nikgapps_present=true
fi
addToLog "- Is on top of NikGapps: $nikgapps_present"
if [ "$nikgapps_present" != "true" ]; then
abort "This Addon can only be flashed on top of NikGapps"
fi
}
It should look something like this now:
Code:
.....
else
addToLog "- Failed to write $install_location"
abort "Installation Failed! Looks like Storage space is full!"
fi
fi
}
# Check if the partition is mounted
.....
That's it! Now you can flash this zip with your recovery and you'll have fully working Android Auto!
Click to expand...
Click to collapse
I modified the file using 7zip, i tryed to flash it with PBRP 3.1.0 but no luck, says "invalid zip file format". any idea?
Xiaomi Redmi 3s 2GB - Fork LOS 17.1 with microg
Update, I installed the original zip from nickgapps without editing the file mentioned with pbrp 3.1.0 without a problem. Thing is, i don't see any icon in the app drawer but its there on settings, apps and i can enter settings of aa.
Is that the way it works? I haven't tried it in the car yet...
Update, i used this app mentioned above from hellcut
Android Auto for phone screens - Apps on Google Play
Must-have smart driving app with maps, media, messaging, and voice actions
play.google.com
AA now working on phone but i get the same message with user 36iii, "No installed apps work with this usb accessory".
Searching for a solution...
AgeManning said:
I also wanted this feature, pretty badly and have just been down a very long rabbit hole and managed to get it working.
Firstly, instead of modifying the Nikgapps, I built a custom package which only includes android auto here: https://sourceforge.net/projects/ni...apps-aa-arm64-11-20210826-signed.zip/download
So you don't need to mess with any configuration files.
Now, the hard part was lack of sizing in the system partition after installing lineageOS + microg. I'm using a pixel 5 (redfin). The microg + lineageOS image doesn't leave any extra room to install gapps on the system partition once its flashed and installing the NikGapps package always fails. In order to leave some extra room on the system partition, I rebuilt the lineageOs + microg package from source, modifying the reserve partition size (https://github.com/LineageOS/androi...l/blob/lineage-18.1/BoardConfigLineage.mk#L63)
I removed the if clause around this (which checks for google mobile services) and had to decrease the reserve size down about 10MB (because with microg it makes the system partition too large to fit in the super partition).
After re-compiling lineageOS with microg (I can share the image (for pixel 5's) if anyone is interested) I flashed that, rebooted to recovery, flashed the Nikgapps and boom, everything is working as expected.
Although building android from source isn't a fun endeavor. For those with pixel 5's who want a lineageOS + microg rom with about 1g reserved on the system partition I can post the image I built.
@D.u.G. - Had a quick look. Looks like its a similar design for you. https://github.com/LineageOS/androi...tnoodlep/blob/lineage-18.1/BoardConfig.mk#L39
You could remove the if statements around this and build from source for your device. If the build fails, reduce the reserve size for system. Its kinda annoying to build tho.
Click to expand...
Click to collapse
First I tried to modify the zip file but upon flasing i got an error also, somthing like "not a valid zip"...
Then I flashed the original nickgapps aa extra zip succesfully with pbrp but got no aa icon in the app drawer, then i flashed your zip but still same problem, no icon.
then i installed android auto for phone screens, mentioned above.
i got aa on phone but upon connection with car a get a message on phone "No installed apps work with this usb accessory".
a) is your zip file for aa for android 10 or it doesnt matter?
b) did i totally mest up my flos 17.1 + microg installation after all this flashing?
c) can i repear any damage?
d) is there a way to make it work in the car?
Thanx, i reposted to you hoping for an answer, because you seem to know what your doing...!
PanosT said:
First I tried to modify the zip file but upon flasing i got an error also, somthing like "not a valid zip"...
Then I flashed the original nickgapps aa extra zip succesfully with pbrp but got no aa icon in the app drawer, then i flashed your zip but still same problem, no icon.
then i installed android auto for phone screens, mentioned above.
i got aa on phone but upon connection with car a get a message on phone "No installed apps work with this usb accessory".
a) is your zip file for aa for android 10 or it doesnt matter?
b) did i totally mest up my flos 17.1 + microg installation after all this flashing?
c) can i repear any damage?
d) is there a way to make it work in the car?
Thanx, i reposted to you hoping for an answer, because you seem to know what your doing...!
Click to expand...
Click to collapse
i think the latest android auto version of nikgapps is causing this issue. try and use the august 4th version (https://sourceforge.net/projects/ni...n-11-AndroidAuto-20210804-signed.zip/download)
hellcat50 said:
i think the latest android auto version of nikgapps is causing this issue. try and use the august 4th version (https://sourceforge.net/projects/ni...n-11-AndroidAuto-20210804-signed.zip/download)
Click to expand...
Click to collapse
I already tried, same issue...
Thing is when i mess with the file and re zip, i get error 2...
doudoune144 said:
For those of you with rooted devices: You can also just create a privapp stub by systemizing (magisk module) the stub apk found here. Then update AA from aurora store.
It works fine for me on Los 18.1 altough for some reason not all AA compatible apps show up. I also haven't found a mirroring app yet that works.
Click to expand...
Click to collapse
In the settings of AA you can set it to accept apps from unknown sources and that should allow you see the extra apps.
PanosT said:
First I tried to modify the zip file but upon flasing i got an error also, somthing like "not a valid zip"...
Then I flashed the original nickgapps aa extra zip succesfully with pbrp but got no aa icon in the app drawer, then i flashed your zip but still same problem, no icon.
then i installed android auto for phone screens, mentioned above.
i got aa on phone but upon connection with car a get a message on phone "No installed apps work with this usb accessory".
a) is your zip file for aa for android 10 or it doesnt matter?
b) did i totally mest up my flos 17.1 + microg installation after all this flashing?
c) can i repear any damage?
d) is there a way to make it work in the car?
Thanx, i reposted to you hoping for an answer, because you seem to know what your doing...!
Click to expand...
Click to collapse
Hey. Yeah, sorry i forgot to mention, I built that aa version for android 11.
You can build your own version with the latest by following the guide here: https://github.com/nikgapps/config
This will build a custom suite of NikGApps. Essentially, in the configuration, I set everything to false and just included android auto.
The flashing should be fine. If I were you, I'd try remove any version of android auto from the phone (if an icon exists). Try and build your own NikGApps package for whatever android version you are using. And try re-flash that.
You shouldn't need to download android auto from any store, if the app icon doesn't appear, it seems its not working on your rom.
As a last resort (depending on how much you want it), I'd try re-flash your original rom (formatting your phone) and immediately after, flash the AA zip before booting into android.
If it works correctly, you should see an AA app icon, when entering, it will tell you you have to download gMaps and a few others apps. Download them from the store then limit their access. You may also have to enable unknown sources for apps in the AA settings. Once connected to your car it should work fine (at least it did for me).
Again, my setup is for Pixel 5, Lineage OS 18.1 android 11
AgeManning said:
Hey. Yeah, sorry i forgot to mention, I built that aa version for android 11.
You can build your own version with the latest by following the guide here: https://github.com/nikgapps/config
This will build a custom suite of NikGApps. Essentially, in the configuration, I set everything to false and just included android auto.
The flashing should be fine. If I were you, I'd try remove any version of android auto from the phone (if an icon exists). Try and build your own NikGApps package for whatever android version you are using. And try re-flash that.
You shouldn't need to download android auto from any store, if the app icon doesn't appear, it seems its not working on your rom.
As a last resort (depending on how much you want it), I'd try re-flash your original rom (formatting your phone) and immediately after, flash the AA zip before booting into android.
If it works correctly, you should see an AA app icon, when entering, it will tell you you have to download gMaps and a few others apps. Download them from the store then limit their access. You may also have to enable unknown sources for apps in the AA settings. Once connected to your car it should work fine (at least it did for me).
Again, my setup is for Pixel 5, Lineage OS 18.1 android 11
Click to expand...
Click to collapse
Thank you so much! Very helpful tips!

Cannot download updates, why?

Found 12.5.3, tried to download and update, stuck at `get info 0%' forever.
Found package installer system app update as well, tried to download, failed instantly.
Poco x3 NFC, EU version, no root, all standard apps.
The system app update history shows last successful update was on 29 Oct. On 3rd Nov, got the reminder of new miui ota. Then, spotted this bug.
Any solution?
Does the phone work? If have this problem also, but the phone can not write to the internal+external storage at all after the last update, so I can not download anything.
Nevertheless, you can download the official rom as recovery image on your own at mi.com/global => mi community => rom downloads => poco x3 nfc. Follow the flash instructions there (copy file to phone, select it in the update preferences section 'about phone=>miuiVersion') In the case you doesn't have the menu point to select the rom package as file. you have to tab multiple times on the miui logo in the update app to enable this menu point.
GarrySnail said:
Does the phone work? If have this problem also, but the phone can not write to the internal+external storage at all after the last update, so I can not download anything.
Nevertheless, you can download the official rom as recovery image on your own at mi.com/global => mi community => rom downloads => poco x3 nfc. Follow the flash instructions there (copy file to phone, select it in the update preferences section 'about phone=>miuiVersion') In the case you doesn't have the menu point to select the rom package as file. you have to tab multiple times on the miui logo in the update app to enable this menu point.
Click to expand...
Click to collapse
thanks mate.
it worked properly except this 'cannot download ' update problem.
Interestingly, the google play updates, camera, chrome browser download, xiaomi music plaer... all write files fine. no problem at all.
the apps that has the problem are:
1. xiaomi's getapp app
2. system app updater
3. the miui updater
i found somewhere the OTA zip and recovery zip. what's the difference between them?
if I download the from (recovery zip) where you mentioned, should I:
1. unlock the bootloader?
2. will the process you mentioned clear all my data after the installation?
Thank you so much. I am awaiting some confirmations before proceeding.
OTA is 'over the air' update, this is also a recovery image. There exists also fastboot images, but these are a different thing.
Make sure that you really download the right rom for your phone (look at the exact type number, e.g. RJGEUXM for European phones, look in the 'about phone' section what type yours is), also directly from xiaomi, as I mentioned. If you use these roms, you don't have to unlock the bootloader, and you also will not loose data. If you select them in the updater, it is just as you receive an OTA update. You have to unlock if you flash with adb/fastboot, but in this case you would loose your data during unlocking

Categories

Resources