yashsingh1/xdaforums huggingface dataset:
[Android Automotive OS] rkboni:
Thanks for this -- are there specific versions of studio & the various tools that you've built that you can recommend? I had an ancient version of Android Studio (mostly for the SDK tools like ABD), so figured it was time to upgrade, but every version I've tried so far (Giraffe & Hedgehog) gave me errors about not-supported Android Grade Plugin version.

Also, is installing the Polestar SDK enough to get the build targetted for Andoid Auto? Don't I need to specify target API versions & supported platforms somewhere? (it's been 10+ years since I've actually built code for Android).

Thanks!
[Android Automotive OS] matrix640:
Hi, did you change AndroidMainifest.xml of the Apps, so that they can be installed on Polestar 2? I tried the steps for Renault Megane E-Tech, but Google Play complains that App is not compatible with device.
[Android Automotive OS] dary:
Hi! Yes, you need to remove the line with orientation landscape. If it doesn’t help, please post your manifest file here :)
[Android Automotive OS] Sage:
Watching this thread with interest!
[Android Automotive OS] matrix640:
Thank you, besides orientation landscape I had to remove location network. The App could be installed and it works. Now many Apps are in queue to be installed on my Megane E-Tech.
[Android Automotive OS] potsau:
Hi Guys,

just wanted to say, that this way still works. Builded and installed firefox on the Volvo XC40.

@dary, is there a way to skip all the "required" steps in the play store console. Like adding a data protection info, age rating and stuff like that?
[Android Automotive OS] JJmil:
Dary, could you create some kind of guide for beginners on how to do it? a video or smth? 🥺
[Android Automotive OS] lulli1:
Worked well. Thanks for this good idea and explanation. More ideas for open source apps that would make sense?
[Android Automotive OS] homer667:
Hello to all.

I'm getting my XC40 delivered in December and wanted to run through a thought process beforehand.

Has anyone tried compiling and installing F-Droid yet. If so, what happens if you then specify your own repository. Or the same game with the Aurora Store?

Can already installed apps install other apps from unknown sources?
[Android Automotive OS] mikson2137:
Has anybody found a way to get rid of parking-only restriction?

I tried adding <meta-data android:name="distractionOptimized" android:value="true" /> to manifest but it didn't work.
[Android Automotive OS] Rusty4:
Does anybody know if it would be possible to do this with the following code? Really I just want to have a native Apple Music App

GitHub - Cardidi/AppleMusicATV3Party: A 3rd party Apple Music client for Android TV.

A 3rd party Apple Music client for Android TV. Contribute to Cardidi/AppleMusicATV3Party development by creating an account on GitHub.

github.com
[Android Automotive OS] mawks:
Hi, how did you managed to bypass "android.permission.QUERY_ALL_PACKAGES" and "android.permission.REQUEST_INSTALL_PACKAGES" permissions? Or did you fill all the required data for approval?

EDIT: nevermind, I've solved it.
[Android Automotive OS] jasestu:
Geez man, you can't go saying you solved it without specifying how!!
[Android Automotive OS] mawks:
Well, nobody asked how ;) I didn't found any easier way, so I've filled all required info and submitted app for approval, which happened automatically and my app was alive and available to testers immediately.
[Android Automotive OS] oslofr:
Hello, can you make those app available for everyone? a video tutu would be great:-)
[Android Automotive OS] dary:
Hi, no I can only invite individuals as testers. Drop me a pm and provide me which app you want to test together with your google play account e-mail address (used in PS2) and I can invite you as tester
[Android Automotive OS] pippolo66:
Hi. Your compiled files wors even on a Renault Austral 2023 or they need to be recompiled with a different sdk?
[Android Automotive OS] dary:
Should work the same, as Renaud is using AAOS as well.
[Android Automotive OS] bobybc:
Hi Dary,

i can't find such a button on the mentioned site - should i crate an account and login? Or maybe the link is obsolete?

10x

Boby
[Android Automotive OS] bobybc:
10x

Here are the detailed instructions :

• In Android Studio, select Tools > SDK Manager.

• Click the SDK Update Sites tab.

• Click Add and enter the following Name and URL, then click OK:

Name: Polestar Emulator

URL: https://developer.polestar.com/sdk/polestar_emulator.xml

• Switch to the SDK Platforms tab and enable the Show Package Details checkbox.

• Enable a Polestar 2 emulator and click ok.

Use Android Studio 4.2 or newer. Currently available at Android Studio.

Pure progressive performance | Polestar

Passion and emotion drive us, electricity and innovation drive our cars. We are all in, guiding our industry forward through pure, progressive, performance.

www.polestar.com
[Android Automotive OS] SvenXP:
@dary First of all thank you for your guide :) .

I managed to get Schildi.chat app (matrix chat) on my Volvo.

When i try to log in, i get an error: home server not found. Do you know of any restrictions which block network access or chat apps?

My mistake. First add homeserver, then login. Works :cool:

Tried to call my wife and we could not hear each other. Have to check then why. Happy for any tip.

Text is working.
[Android Automotive OS] ypsmav:
Hi,

I've just received a Volvo with AAOS and I can't be more disappointed with Google. AAOS 11 doesn't support Android auto but supports Carplay. Google is trying to force me to move to iOS I guess.

In the meantime, 2 things I'm missing the most:

- Launcher: I found this open source project that can work https://github.com/NeoApplications/Neo-Launcher.

- Nice flipping clock: https://github.com/AlynxZhou/flipclock-android

thanks in advance.
[Android Automotive OS] bobybc:
AAOS11 on my Renault Megane E-TECH supports both AA and CarPlay
[Android Automotive OS] muzso:
One could re-package 3rd party apps.

E.g. disassemble the package (apktool), replace the packageID, re-package it into an APK, sign, upload to Play Store, etc.

I've done this for phone apps (so I could have two instances of the same app on a single device), don't see any reason why it couldn't work for AAOS apps as well.

But of course there can be a number of hurdles with this:

The APK might contain a number of references (internal depedencies) to the packageID, which can take some time to work around. Especially if you've to tinker with the Smali code.

The app might purposefully prohibit such tinkering (reverse-engineering, decompiling, etc.).

You'd be violating someone's IP (intellectual property) rights and even Google might detect this violation (I've no idea whether they are checking for this ... i.e. code similarities between uploaded packages ... just like they do with uploaded videos on YT). It is possible that Google could detect this and lock your account. So if someone decides to try this, it is advised to do it with a newly created Google account. Just in case.

It's far easier to build and use (i.e. "test" :) ) OSS apps via the Dev Console.
[Android Automotive OS] muzso:
I tested @dary's method for loading apps on an AAOS infotainment system and it works brilliantly.

I had one issue though, but it was easily overcome.

After I uploaded the app to Play Console and set up internal testing, the target Google account (that is used in the car as well) was not able to install the app on the car. Of course, it gave a generic response that was no help at all:

However since Google created my problem, it was just suiting that Google solved it as well. :)

I googled the issue and came to this:

https://support.google.com/googleplay/android-developer/thread/268460983/internal-testing-google-play-console-this-app-is-not-available-for-any-of-your-devices

The problem was with the account used in the car: it had to be age-verified. :)

Apparently I've put age-restriction on my Hello World app and Play Store doesn't tell you that this is the root of your problem.

You can simply solve this by visiting the https://myaccount.google.com/age-verification link with the given Google account and follow the steps of one of the suggested methods. I took a selfie, that seemed to be the less "intrusive" solution (I value my ID and my credit card info more than a selfie).

After age verification was complete, I could instantly install the app on the car. :)

And it works as well. The same way as it did in the Android Studio emulator.
[Android Automotive OS] lulli1:
how do you upload a repacked app to playstore? how do you upload an app to playstore at all, without uploading a bundle or APK to the developer console?

Sent from ONEPLUS A5010 using ReLabs
[Android Automotive OS] muzso:
Afaik Play Store's developer console requires only that an uploaded app (bundle or apk) has a unique package name that no other, already published Play Store app has. I.e. there must be no package name conflicts.

The package name of an already existing APK can be changed. In some cases quite easily, in others it requires quite a bit of tinkering.

Here's an entry-level description of the process:

How to change package name of any apk file using apktool - Tech Blogs

In this blog I will guide you how to rename the package name of any apk file. Usually this type of thing is needed when apk is related to any enterprise level feature where you want to give the same apk for different kinds of manufacture for signing purposes, or might be required for any […]

techblogs.42gears.com

This blog post covers the most basic use-case, when it works pretty much "out-of-the-box".

Sometimes the code of the app (which is mostly in the dex files if the app has no 3rd party lib dependencies) relies on the package name and has to be adjusted. This can be solved as well by modifying the decompiled smali code.

Besides apktool, there are other tools that aim at easier usage.

E.g. https://github.com/dvaoru/ApkRenamer

Or there's an app called "APK Editor (Pro)":

How To Replace Package Name In Applications By Using APK Editor Pro — Steemit

On this occasion I will share my knowledge about how to change an application package name using APK Editor Pro… by aragonboy

steemit.com

However modifying the work of someone else who has not published the app in source-code form and with a permissive OSS license, this is usually violation of the app's ToS and I suspect that usually some law as well. So besides the technical challenge, there's a moral and legal aspect to it as well.
[Android Automotive OS] muzso:
I actually tried this route, but it's a bit more difficult than what I described.

3rd party apps will come as APK and Play Store Console requires you to upload AAB (Android App Bundle). It's not entirely trivial to convert an APK into an AAB. The former contains AndroidManifest and resources in a different format, than the latter and although it can be done, there's no simple tool for it.
[Android Automotive OS] muzso:
Same here. My guess is that it's not enough to just put this in there, but you've to make the app fully AAOS compliant. I.e. convert the entire app to use a CarService, the AAOS templates, etc. But this is just a guess. I'd have to test it with an already AAOS compliant app to see whether it'd actually be allowed to run while driving.
[Android Automotive OS] anrsln:
Hi there!

Any ideas how to install apps to Polestar 2 with the Huawei on board ? (Chinese market version of P2)
[OnePlus Nord 2 5G] pankspoo:
So this is not my work some developers had done unofficial build of lineageos 18.1 Android 11 based rom at oneplus nord 2 community I am just tested and sharing it at here.

All credit goes to SakilMondal from nord 2 telegram channel.

Bugs:

1)autobrighness is not working.

2)alert slider is not working.

3)NFC not working.

Prerequisites:

1) Working TWRP

2) You must be on latest OOS A15 or Elixir custom rom.

Steps:

1)If you are on custom rom elixir os download lineageos 18.1 and gapps and place them in pendrive

If you are on oxygenos A15 place both files in internal storage.

2)Now boot your device in to TWRP by using advance reboot if you are on stock oos use adb command

adb reboot recovery.

3)when we booted in to TWRP now connect USB OTG and go to mount and checkmark usb storage,after click to select storage and select usb storage.(skip otg process for oxygen os A15 users)

4)Now click install and select lineageos zip flash then falsh gapps now click reboot and select bootloader.

5)when phone boots to bootloader connect to pc and go to folder where we placed A15 stock boot emmc open command prompt there and type following commands.

fastboot devices

fastboot flash boot boot.emmc.win

For EU user inhave given boot as boot.img so cmd command will be as below

fastboot flash boot boot.img

fastboot -w

fastboot reboot

Phone will boot it May stuck at 1+ logo but don't worry it will boot to lineageos 18.1 within 10min so wait atleast for 10min.

Downloads:

Download LineageOS 18.1:

lineage-18.1-20211228-UNOFFICIAL-denniz.zip

drive.google.com

Gapps:

The Open GApps Project

OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.

opengapps.org

Download Indian boot img (emmc.win.format):

{Mod edit: Link removed}

fastboot flash boot boot.emmc.win

Download boot img for EU:

{Mod edit: Link removed}

cmd command:

fastboot flash boot boot.img

Cmd command to erase data:

fastboot -w

Google camera stable app:

https://1-dontsharethislink.celsoazevedo.com/file/filesc/MGC_8.1.101_A9_GV1x_MGC.apk

If you are still want some video instructions here is a guide.
[OnePlus Nord 2 5G] jerryhou85:
Hi OP, if you are sharing other's work, please give them proper credit, for example, mentioning their ID (even they are not on XDA).

Thanks.
[OnePlus Nord 2 5G] pankspoo:
Ok

I will do
[OnePlus Nord 2 5G] Eastw1ng:
What do you guys prefer? Lineage or Elixir?
[OnePlus Nord 2 5G] pankspoo:
LineageOS but elixir is love because of android 12
[OnePlus Nord 2 5G] vince30:
OTA eu device at A14 with clean install.

Installed Gapps and boot.emmc.win from my twrp backup(A14 stock boot).

Installed magisk.

Current bugs:

- Fingerprint not working.

- Device vibration is insanely high(maxed). Turning off "Touch vibration" does not stop vibrations when typing on the keyboard.

Hopefully the next build would be stable.
[OnePlus Nord 2 5G] pankspoo:
Fi

Fingerprint is working vibrations are also OK for me but after some days when u rebooted it cause that vibration bug
[OnePlus Nord 2 5G] kkdamion:
Stable and bug-free enough for official would be nice.

Give him some time, i find its already good enough for a daily driver on my Nord 2

Thanks for this great build @pankspoo
[OnePlus Nord 2 5G] vince30:
Lineage 19.0 Beta Android 12 released, check telegram channel.

Why are GApps bundled with this release?

Fixed:

Device vibration bug seems to be fixed.

Auto brightness seems to work.

Update more bugs:

- Fingerprint not working.(perist image intact).

- Ringtone doesn't change after changing in sound settings.

- Slider still broken.

- Changing background startscreen/lockscreen with own photo will crash.
[OnePlus Nord 2 5G] pankspoo:
I will upload video and update this thread to arrow for now I can tell vibration fixed didn't know about later slider
[OnePlus Nord 2 5G] vince30:
Why are GApps added to this new build(LOS 19) it sucks. I wish the developers give the user the freedom to install GApps /MicroG themself if they want.

LOS 18.1 is still preffered no GApps just clean LOS.

Found another bug with this build bluetooth scanning and connecting headsets work. But no sound output. Output is send to phone speakers.
[OnePlus Nord 2 5G] pankspoo:
U can use vanilla build if your don'ts want gapps inbuilt. If your not able to here sound then disable A2DP developer setting and Reboot your phone and see
[OnePlus Nord 2 5G] exis_tenz:
How do you clean GAPPS from LOS?
[OnePlus Nord 2 5G] vince30:
18.1 is without GApps included.

To remove them from LOS 19 you can use adb:

adb shell pm uninstall --user 0 package_name
[OnePlus Nord 2 5G] Turboisonfire:
Wifi Is not detecting

Pls Help 😭

I am stucked
[OnePlus Nord 2 5G] pankspoo:
We already got latest android 13 roms please use them
[General Questions and Answers] Piefrag:
Ive got MSM tool downloaded with PDAnet.exe file and CodeMeterRuntime.exe however i cant find how to get a license anywhere ! its very annoying. All i have seen even on what seems to be the legit page is a way to crack it ?? Then i cant find the crack so im looking for a license please.

If anyone would have some information about the license that would be great thank you !
[Touch Pro, Fuze General] greatg:
Wondering if anyone is aware of a plugin that will display the phone number and carrier info on the Today screen?
[Touch Pro, Fuze General] yahu:
you can try HudsonMobile Phone Dashboard, but it can do alot more than showing carrier...although its not free
[Xiaomi Mi A3 Questions & Answers] avishyf:
I've replaced a screen (allegedly original) and after that I've tried to recalibrate the under screen fingerprint scanner using calibration cube, but no luck.

Any suggestions to fix it?

Adding photos to relate.

View attachment 5498757View attachment 5498759
[Xiaomi Mi A3 Questions & Answers] azid96:
did you get it working ?
[Google Pixel 4 XL Guides, News, & Discussion] dogeen:
I've corrupted my persist partition while attempting to upgrade from Android 11 to Android 12. I had a backup, but it doesn't appear to be working.

As far as I know, but correct me if I am wrong, this partition is identical in every Pixel 4XL.

Would anybody be willing to share theirs so I can fix my phone?
[Google Pixel 4 XL Guides, News, & Discussion] SigmundDroid:
Oh, I have a similar problem with an S5:

https://xdaforums.com/t/sm-g903f-wifi-and-bluetooth-broken.4380225/

Now that you mention it... Thanks for this hint btw but shouldn't the persistent partition at least differ in IMEI and MAC or is that stored elsewhere?
[Google Pixel 4 XL Guides, News, & Discussion] dogeen:
IMEIs are in modemst1 and modemst2. Not sure where MAC is
[Google Pixel 4 XL Guides, News, & Discussion] dogeen:
Apparently, I hadn't corrupted my persist. modem1st and modem2st govern both WIFI and mobile. Problem solved.
[Google Pixel 4 XL Guides, News, & Discussion] SigmundDroid:
Good news here as well: Was about to sell it and saw that it won't boot... so I flashed it with one my many stockROMs collected lately (which I had all tried before).

Now, this time, during the initial setup it did show all wifis and works again. I'd guess my previous attempt "repaired" it (once I figure out what that previous thing was, I shall report).

Edit: Nah, never did figure it out... also it stopped working again - just like ungrateful black magic... Finally I sold it.
[Google Pixel 4 XL Guides, News, & Discussion] yashwant101:
how did you solve the problem tho?
[Android Q&A, Help & Troubleshooting] Anoo008:
please any idea or tricks on how to fix ERROR

S_SECURITY_SECURE_USB_DL_DA_RETURN_INVALID_TYPE (6104),MSP ERROR CODE: 0X00)? SP FLASH TOOLS

please help my phone brick

xseries y50 pro
[Android Q&A, Help & Troubleshooting] Kamugisha:
Such error occur because latest smartphone possess USB protection, so first bypass USB authentication depending on the chip platform you re using for eg. Mtk auth bypass tool v7.8.0.5 works better..then proceeded with sp flash tool without disconnecting phone from pc
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrCeddy:
Not sure where to post this... but now that the Android OS source is realsed, what is needed to compile a native version for Hermes?

http://source.android.com/download
[8525, TyTN, MDA Vario II, JasJam ROM Development] joshkoss:
Already on kaiser, maybe can be ported:

http://xdaforums.com/showthread.php?t=396782
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrCeddy:
Keep in mind this is the official OS which was released today.
[8525, TyTN, MDA Vario II, JasJam ROM Development] veyka:
Its been noted that its not that easy.

1) the CPU in the Hermes is a older ARM that doesn't support all the needed instructions.

2) We couldnt "port it", it would need to be recompiled for the Hermes's older ARM, and that would be HARD.

3) We would then need Storage/wifi/touchscreen/ect ect drivers, and someone would need to write them, theres not going to be a device with the same chipset as the Hermes to steal the drivers off, like there is for the Kaiser.

So, unless you know a lot about writing drivers/recomplieing linux, tisnt going to happen
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrCeddy:
Thanks for your input!
[8525, TyTN, MDA Vario II, JasJam ROM Development] plasmafire:
So, are you planning to fiddle with the idea??
[8525, TyTN, MDA Vario II, JasJam ROM Development] damac:
so somebody wrote the drivers for kaiser ??

if somebody did manage to get it working in kaiser, it can be done for hermes ?

don't we already have working linux ports for hermes? can't the drivers be pulled from there ?
[Xiaomi Redmi 4X Questions & Answers] niyonsv:
Redmi 4 keeps rebooting after sometime showing the Mi+Android logo. Unable to flash fastboot ROM or anything since the OEM/bootloader unlocking isn't enabled yet. Also the Mi account hasn't been added yet to the phone. Any workaround?
[Realme GT] Ggff5:
What I did was booting a twrp then flashing magisk latest 23v that put me in boot loop so what I did is boot twrp again and then install twrp permanent into my realms that blocked me from booting twrp every again so I thought locking the bootloader should restore the phone and fix all this mess but it actually made it worse .... Now the phone is keeps restarting over and over and no way to access bootloader or recovery I really need help I messed up so badly :(
[Realme GT] dbob85:
I have a similar problem.. was trying to do twrp file download for the global version and I did something wrong, if not everything lol.. I can't even charge it because it constantly reboots and I don't have a computer at the moment
[Realme GT] nguyenvancanhno1:
I can help you
[Touch Dual, MDA Touch Plus ROM Development] nowimboard:
Good evening board!

I tend to lurk around on the forum as most things tend to go over my head, but I do admire the heavy work you are putting into the site!

I've been reading about the 6.1 upgrade for the Nike and I'm thinking that I can be bothered to wait for orange to pull their thumbs out of their collective bottoms and release a patch/upgrade for the branded touch dual I have. (Thanks fritsypeij!)

I've read through the Wiki pages on here but if I'm honest I'm still none the wiser!

I've removed the security on the phone so I could install a few cabs (Slide Actions, CtoA Fix, Redbox) the most important would of been the Touch flow 2D file.

From what I understand, if I wanted to install the 6.1 upgrade I would need to:

Install Soft SPL,

USPL

and then flash the ROM

I would say I 70% understand SoftSPL, but USPL and HardSPL I don't understand the difference.

Obviously I don't want to risk ending up with a nice shiny brick, so any advice would be amazing!
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
You're talking about the Touch. It might be that you forgot to add "Dual", else you're in the wrong forum and you will brick you phone for sure ;)

SSPL temporarily unlocks your Touch Dual to flash an USPL *or* HardSPL to your device.

The difference between USPL and HardSPL are, as far as I know:

- USPL gets overwritten if the ROM you want to flash has an SPL included (so every time you flash a new Rom you have to do the SSPL-USPL again)

- HardSPL never gets overwritten unless you flash a new SPL yourself

I hope you get the pic :)

Succes
[Touch Dual, MDA Touch Plus ROM Development] nowimboard:
Thank you for that (and for spotting my "deliberate" mistake ;) )!

So it would be best to always USPL then? As I read in the Wiki that you should always use the right SPL with the ROM. So if you have an old HardSPL, the rom might not work right. Have I got it right?