Change name and icon of Screen2auto INSIDE android auto? - Android Auto General

I already have 2 versions of screen2auto displayed inside android auto. The 2nd one is a cloned one of the original. So I have 2 icons of screen2auto with the same name.. Anyone know what I should change in apk editor or other alternative app to change the name of the cloned? To have for example screen2auto and screen2autoB, or something.. If possible to change the icon also..
If anyone ask himself why to do that. One reason is to run different apps by one click. For example in cloned version of Screen2auto I have select in the settings to run youtube at start.. If i change the name and the icon of Screen2auto to : "YouTube" then I will have inside android auto launcher a YouTube icon which will auto launch YouTube with just 1 click. You could actually do the same by cloning 3rd time screen2auto by name IPTV and an iptv icon, and have 1 click run your iptv app. Etc for every app you want.
If you actually try this, you will find that after running the cloned app you have problems eg freezing (because you started original app screen2auto before), but you can solve this by calling a tasker script to kill screen2auto app every time you go back to android auto launcher..
I have tried all this and are working. I just miss what I ask, a way to change name and icon inside android auto original launcher. If anyone knows post a solution.
I have done this at past, changing name and icon but not in screen2auto but alternative mirroring app that was the main mirroring app then.. So it can be done probably in screen2auto.
Thanks,

I guess you will have to decompile the app. There are instructions online.
Afterwards you can change the Manifest file and look for the icon within the decompiled files.
In the end you can compile the app again and probably you will have to sign it.
But noone will guarantee that your app will work afterwards...
Therefore in my opinion this is a lot of work with no guarantee that the result will be fine in the end.
My proposal is to ask the developer to provide you all 3 apps with mods. I think if you buy him a coffee it will be possible.

SOFO888 said:
I guess you will have to decompile the app. There are instructions online.
Afterwards you can change the Manifest file and look for the icon within the decompiled files.
In the end you can compile the app again and probably you will have to sign it.
But noone will guarantee that your app will work afterwards...
Therefore in my opinion this is a lot of work with no guarantee that the result will be fine in the end.
My proposal is to ask the developer to provide you all 3 apps with mods. I think if you buy him a coffee it will be possible.
Click to expand...
Click to collapse
You are probably right.. There is apk editor, which do mods like this easily but it's true that is not working well with screen2auto.. In previous mirroring app it was working good. Perhaps i may try some other tool, to see if it works better.. Also i don't know where in the code is the information for name (inside AA) and the icon. Someone who create AA apps should know.
I may send a developer a mail, if he wants to support something Iike the above, i describe.

Related

[Q] Fuzzy icons driving me crazy... How do I change them to hi-res?

I know this topic is discussed on one or two threads, but they're pretty complex and with one, you need to download an APK Manager tool, which actually wants you to download a torrent downloader first - and my browser says its all virus-ware - and the other was an app called NinjaMorph, gotten off the Play Store (for $5), which looked promising and looked like it was going to work, but when I saved the "project", which recreates the .apk file for the app I want to replace the icon in with a hi-res version, there are no errors, but the .apk file is nowhere to be found, and the icon/app disappears from the app drawer. Going back into Ninjamorph, it still thinks everything is cool. I can open the "existing project" and all that.
So... does ANYONE have a way to simply and easily replace the small icon with a hi-res one? I sent an email to the developer of Ninjamorph, but he didn't respond. Could be a wasted $5.
Thanks!!
Eric
APK Icon Editor
There is a free tool to change app icons: APK Icon Editor
Kindle Fire devices are supported.

Tasker to run copilot to a certain location

I have a profile that will turn off wifi and turn data on when I leave work.
I am trying to add a task to this that will open copilotand set the navigation to on of my saved destinations.
Can anyone help me with this please?
Never used copilot but i am pretty sure it is possible with autoinput.
You launch the app with tasker, and use a combination of autoinput commands, to have it open what you want.
The "intent" stuff that i know nothing about might be helpful as well.
Sent from my SM-G900F.
Thank, I hope someone could expand further with the items you mentioned please?
You could take a look at its intents on manifest file of the apk.
CrashOverride93 said:
You could take a look at its intents on manifest file of the apk.
Click to expand...
Click to collapse
Sorry haven't a clue what this means?
Tried using autonotification, it seems like it doesn't recognize what is clickable and what is not within your app and so i couldn't do anything with it. Havn't used it for a long time so i might be missing out on something. I probably am.
About intents check this out. Was just reading it since i don't know about intents either. It was interesting http://forum.xda-developers.com/showthread.php?t=2489449
Its an interesting read. Tried using an intent for google maps, your app recognized it. I could feed an address to the app but it will simply display it on the map.
There is most likely an intent for google maps to navigate to an address from your current position. If thats the case, your app most likely will recognize it as well which is what you are looking for.
Sent from my SM-G900F.

Enable App Twin for any app on EMUI 8 [ROOT]

Hi everyone,
I recently got a P10 Plus and one of the things I was most excited about was App Twin. I've used this feature previously on a Xiaomi Note 3 Pro I had, but upon searching around I couldn't find any working methods for EMUI 8 (and, matter of fact, the one available here on XDA to add any app you want didn't seem to work. I started to poke around on my own, and am very happy to report I figured a way to enable App Twin for any app you want; unfortunately, at this point, the method I've found requires root access to work, but hopefully someone around will manage to figure a way to make this unnecessary eventually. So, without further ado, here goes.
First off, follow this very helpful tutorial to ensure the feature will be enabled in your phone (I have yet to try out the remaining of this guide without doing this, so if anyone wants to do that, be my guest ).
Next, we need to figure out exactly what the package name for the desired app is. For example, Gmail's is com.google.android.gm, and I figure the easiest way to find out the exact name is to look over Magisk Hide (yeah, I use Magisk for all my rooting needs). If the app's already installed, my piece of advice would be to back it up with Titanium Backup or something, just for the sake of being thorough and specially if it's a system app, which is a subject I'll touch in a few.
Now, for the fun part: Huawei changed how App Twin looks for enabled apps to execute its functionality, so we're gonna need to edit the file /system/emui/base/xml/hw_clone_app_list.xml
Here's the original content of mine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- DTS2016060606663 shiyuanchang/00271386 20160704 created -->
<AppClone>
<package name="com.tencent.mm"/>
<package name="com.tencent.mobileqq"/>
<package name="com.facebook.katana"/>
<package name="com.whatsapp"/>
<package name="jp.naver.line.android"/>
<package name="com.snapchat.android"/>
<package name="com.facebook.orca"/>
</AppClone>
And this part should be fairly trivial to most fellow XDA members: you simply append whatever program you feel like cloning to the list. Like so:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- DTS2016060606663 shiyuanchang/00271386 20160704 created -->
<AppClone>
<package name="com.tencent.mm"/>
<package name="com.tencent.mobileqq"/>
<package name="com.facebook.katana"/>
<package name="com.whatsapp"/>
<package name="jp.naver.line.android"/>
<package name="com.snapchat.android"/>
<package name="com.facebook.orca"/>
<package name="com.google.android.gm"/>
<package name="com.amazon.venezia"/>
<package name="com.amazon.mShop.android.shopping"/>
</AppClone>
As you might have noticed, I added 3 apps: Gmail, Amazon Appstore and Amazon Shopping. I added the first two just for the sake of testing, but specifically for Amazon Shopping it'd be helpful for me since I have a US and a Canadian accounts, so... Anyway, beside the point, which was: I added both Amazon apps to the list before installing them, so that was a no brainer - upon installation, they showed up on Settings as clonable, if you wish. The trouble was with Gmail, since it's a system app; when I added the entry to the XML file, it immediately appeared on the list as well, but as already cloned despite no cloned app showing on the launcher, and I also couldn't flip to switch to deactivate/reactivate the functionality. So, what I ended up doing was using a Magisk module called Debloater, which is by the way very neat in allowing anyone to systemlessly debloat your phone. Through the module, I uninstalled Gmail, rebooted the phone, reinstalled it, rebooted yet again and voilà, Gmail clone app showed in the launcher as expected.
Oh, and something I totally forgot to mention: should you use any launcher other than Huawei's default, this method's got you covered without any extra kinks. I'm using Nova and both Amazon Shopping apps show up just as they would on Huawei Home (I also tested it on ADW Launcher and it works, but YMMV).
All in all, this guide shouldn't be overly complicated to anyone. And I know, needing root to achieve this is somewhat of a nuisance, but well... My phone is already rebranded (since my operator has decided to block any and all updates since November) and the bootloader was unlocked, so I would have needed Magisk one way or the other, and getting that extra something from this amazing device just seemed fair after all the trouble I had to go through to install the latest Oreo build into it. Hope you guys enjoy it, and should anyone around decide to experiment a little further (say enable extra apps without modifying the local.prop file, for instance, or finding out how an non-system app already installed would behave when using this method), feel free to give me a shout here and I'll update this guide later on.
Peace and have fun with your devices!
Hello,
Please help, I have followed every single step. I have EMUI 8 installed on Hauwei P10. After appending a new app to the mentioned XML and rebooting the phone, I can see the added app inside the Settings > Twin Apps but when I attempt to enable the twin function for it, nothing happens; when I click the slider nothing happens and it doesn't turn on.
Thank You,
Wal.
waelh said:
Hello,
Please help, I have followed every single step. I have EMUI 8 installed on Hauwei P10. After appending a new app to the mentioned XML and rebooting the phone, I can see the added app inside the Settings > Twin Apps but when I attempt to enable the twin function for it, nothing happens; when I click the slider nothing happens and it doesn't turn on.
Thank You,
Wal.
Click to expand...
Click to collapse
Not sure how can I help you, what with the lack of information you've provided. If you followed the instructions correctly, it should have worked.
GryphonBR said:
Not sure how can I help you, what with the lack of information you've provided. If you followed the instructions correctly, it should have worked.
Click to expand...
Click to collapse
Hello friend,
For example I was trying to add XDA app as twin app. I followed your steps and XDA's app displays in the list of twin apps. But the problem is when I move the slider to enable it, nothing happens... I even tried adding 3 more apps, and the same thing is happening. Are you sure you can enable the twin app successfully ? It seems to me that this tutorial is only adding the app to tge twin app list but doesnt allow creating the actual twin clone of the app.
I hope you understand what is happening.
Thanks.
waelh said:
Hello friend,
For example I was trying to add XDA app as twin app. I followed your steps and XDA's app displays in the list of twin apps. But the problem is when I move the slider to enable it, nothing happens... I even tried adding 3 more apps, and the same thing is happening. Are you sure you can enable the twin app successfully ? It seems to me that this tutorial is only adding the app to tge twin app list but doesnt allow creating the actual twin clone of the app.
I hope you understand what is happening.
Thanks.
Click to expand...
Click to collapse
Well, dunno what to tell you. Just tried adding specifically XDA Labs and it worked as mentioned in my original post.
GryphonBR said:
Well, dunno what to tell you. Just tried adding specifically XDA Labs and it worked as mentioned in my original post.
Click to expand...
Click to collapse
Wow. I saw your screenshot... I will run some troubleshooting to see whether I'll be able to make it run and I'll let you know.
Thanks in advance.
waelh said:
Wow. I saw your screenshot... I will run some troubleshooting to see whether I'll be able to make it run and I'll let you know.
Thanks in advance.
Click to expand...
Click to collapse
Did you follow the whole walkthrough? Including the first bit, the link to an old XDA post where you actually activate Dual Apps within EMUI 8 for the P20 family? Because one of the tests I ran was simply adding XDA Labs to the XML without activating the future, and I got exactly the situation you mentioned - it appeared in the list, but the switch didn't actually generate the dual app.
GryphonBR said:
Did you follow the whole walkthrough? Including the first bit, the link to an old XDA post where you actually activate Dual Apps within EMUI 8 for the P20 family? Because one of the tests I ran was simply adding XDA Labs to the XML without activating the future, and I got exactly the situation you mentioned - it appeared in the list, but the switch didn't actually generate the dual app.
Click to expand...
Click to collapse
Yes I have followed even the first bit of the tutorial which contains the below lines:
fw.max_users=1 to 2
fw.show_multiuserui=0 to 1
ro.config.hw_support_clone_app=false to true
GryphonBR said:
Did you follow the whole walkthrough? Including the first bit, the link to an old XDA post where you actually activate Dual Apps within EMUI 8 for the P20 family? Because one of the tests I ran was simply adding XDA Labs to the XML without activating the future, and I got exactly the situation you mentioned - it appeared in the list, but the switch didn't actually generate the dual app.
Click to expand...
Click to collapse
Good news. Finally, I figured out what was happening.
So the reason the new cloned app was only showing in the list but I was unable to turn it on, is because the app was already installed before appending it's package name to the xml. So the app needing to be cloned must be removed before appending it to the XML. Then I reinstalled the app normally then I went to twin apps from settings and only then it allowed me to move the slider to ON.
By the way, the instructions posted in "first bit" link aren't necessary since the rest of your tutorial will work with it.
Thank you,
Wal.
EDIT: Fixed it. Turns out local.prop and hw_clone_app_list.xml had their permissions automatically changed to rw------- for some reason. Changing them back to rw-r--r-- and then rebooting did the trick.
Original post:
This doesn't seem to be working for me at all, could someone please check my steps and see if I'm doing something wrong here?
I'm using a Huawei Honor 9 running Android 8.0, EMUI 8 (rooted), here are my steps:
1. Accessed /system/emui/lite/prop/local.prop
2. Changed fw.max_users=1 to 2, fw.show_multiuserui=0 to 1, and ro.config.hw_support_clone_app=false to true
3. Saved the changes
4. Rebooted device, checked file again to make sure the changes had been saved correctly
5. Accessed /system/emui/base/xml/hw_clone_app_list.xml
6. For testing, I used this app by adding its bundle name to the list
7. Checked and confirmed that the contents read:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- DTS2016060606663 shiyuanchang/00271386 20160704 created -->
<AppClone>
<package name="com.tencent.mm"/>
<package name="com.tencent.mobileqq"/>
<package name="com.facebook.katana"/>
<package name="com.whatsapp"/>
<package name="jp.naver.line.android"/>
<package name="com.snapchat.android"/>
<package name="com.facebook.orca"/>
<package name="ru.olemilk.pixelcoloring"/>
</AppClone>
8. Opened Settings > Apps > App Twin
9. The list is empty
I have also tried rebooting and reinstalling the test app, it never shows up in the App Twin list. Additionally, I have tried adding other apps too, and none of them have ever appeared in the app list. Even when I install something that's supposed to be officially supported like WhatsApp, the list still shows up as empty.
I managed to get dual viber with simple edit of hw_clone_app_list.xml via ES Explorer, after root ofcourse.
I didn't do any of steps except adding onr line with viber package name to xml. Viber must not be installed on the device. After adding a new line, save and reboot device, install viber and activate it. After that simply start twin app
Please give me your xml code for viber, thanks in advance.
EDIT:
I managed, code for viber: <package name="com.viber.voip"/>
is there any way to enable twin app for device that is not rooted?
Tried this on my P9 Lite with EMUI 5.0.4 and Works excellent. After updating I couldn't get new apps to work and this solved my problema! Big thx!
her3814 said:
Tried this on my P9 Lite with EMUI 5.0.4 and Works excellent. After updating I couldn't get new apps to work and this solved my problema! Big thx!
Click to expand...
Click to collapse
hi i have p9 lite Emui 5.0.4
but i can't find /system/emui/base/xml/hw_clone_app_list.xml
what's wrong why i can't find it
App twin error
Well my problem is that i was succesfully using whatsapp 2 on App twin for 2 days! But after the emui update to 8.0 npw app is giving error that i can't open whatsapp nd i need to delete and make new one. But its not easy to loose all ur chats and join all gropus again. Plz suggest a solution. thanks
Feroza Noor said:
Well my problem is that i was succesfully using whatsapp 2 on App twin for 2 days! But after the emui update to 8.0 npw app is giving error that i can't open whatsapp nd i need to delete and make new one. But its not easy to loose all ur chats and join all gropus again. Plz suggest a solution. thanks
Click to expand...
Click to collapse
Dear,
First of all, I would say that you should start doing Google drive backups of your WhatsApp chats + media (that way if you ever had to uninstall the app, you will have a way to restore you data back to the new installation).
Could you please share the error message that you were facing in WhatsApp after the upgrade to EMUI 8 ?
Regards,
Wael
Yes i had backup but since it was on weekly i couldn't backup in one day. Anyways my problem is solved now, i called huawei service center nd deleted my account only after they assured groups won't be left. The error said"app twin is not working, ypu have to delete all acounts and make them again, lost data won't be recovered " tge wordings are exactly not these not the msg it gave was like this.

Android 11 cant set background permission for smartwatch

Hello folks. I've been reading a lot to fix this issue but no luck yet so I come to you. I have a Pixel 4XL running android 11, and a smartwatch brand Haylou Ls05, with the apk Haylou Fit.
The thing is I cant set the proper permissions to use the location services in the background. Mi GF has a android 10 phone and no problem.
I already tested everything I founded over the internet and nothing works. When I start running, the app goes good until the screens is off and the tracking of the running gets lost.
Any suggestion? Thanks in advance!!
Are you running without your phone? This watch doesn't have any GPS chip or functionality, so it is not going to track your location or track your your route by itself. Sorry if this was obvious already but I don't know what your use case is. On Android 10/11 you can control the location use on a per-app basis. If your watch app uses the newest API and supports this function, you will see under the Haylou Fit app permissions>>location the following: (Allow all the time/Allow only when using the app/Ask every time/ Deny). If you don't see this option in your app settings then the app itself needs to be updated. It's not the phone that is the issue, but the app. See the screenshot attached. Android 10 has this same functionality, so I'm not sure why your GF's is working correctly and yours is not. You may try removing and re-installing? Please post a screenshot of what you are seeing under location permissions for this app. Cheers.
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer.
Agustín.
agucasta said:
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer. Agustín.
Click to expand...
Click to collapse
Not that I know of. I still would like to know why the app it works on your GF's phone (10) and not yours (11) because they both have the same location security options. Is the "always" option available on hers, or is it working on the "when app is running"? Running the same version? This may be related to the API used by the app and until the dev updates it, it will not work. Try contacting the dev? Contact info is available on the Google Play Store.

How To Guide Fix missing/not working VPN on A12 stock ROM

Not all users could have it, but VPN "bug" (I use quotes since I'm not so sure it's a bug and not a wanted behaviour...) on stock ROM appears on post Feb23 A12 builds to date (don't know if root related or not).
It's composed by two parts (fact which lead me to be suspect...):
1. - VPN menu is missing in Network & Internet section
2. - every VPN app (not already installed before the Feb23 build) fail to work
To date there is NO official fix from Motorola, from others or... from me.
BUT I've found a couple of workaround for both issues which can be applied to have your preferred VPN app working fine (and that's the important thing! ).
I'm sorry but root is needed (well, not at all, but we'll see it in details after...) to fix both the issues...
Let's see in details...
1) VPN menù exists & works fine, it's only hidden in Settings.
The workaround is to create a direct "shortcut" to the VPN menu using one of the shortcuts apps you can find on Play Store or, as in my case, using the "Create shortcut to Activity" function embedded in my launcher (Nova).
The name of VPN menu is: .Settings$vpnSettingsActivity
You'll get an Icon you can use to open VPN Settings!!
2) Now that you have the settings back you could think that your VPN apps will work. Wrong!
It's needed a second step...
I've studied a lot the issue and I've found that when your app should show a confirm dialog to create the needed VPN it doesn't show anything at all and no VPN is created...
Looking better I've found that this happens because the system directly deny the permission instead to let app to ask user!!
So... to correct this (wrong) behaviour the simplest fix is to use an app called App Ops Permission Manager (available on Play Store) which allow us to modify app permissions values.
We just have to go to our VPN app and modify the activate VPN value from ask to allow!!
If you use several VPN apps this has to be done for everyone...
Only problem is that App Ops requires Shizuku to run and Shizuku requires... root!
Well, not exactly to be honest... Shizuku can be actived without root too using the "Wireless debug USB" trick they well described in their app. I can confirm it works fine. Only issue is that it has to be enabled again at every boot, BUT I think modify done by App Ops should be "permanent" until app is not removed (or updated... not sure about this...), so Shizuko start could be needed a single time or so (in any way once VPN has been created in VPN settings the VPN app should be happy with it and shouldn't ask any more confirm!).
I hope you'll find all this clear & useful...

Categories

Resources