yashsingh1/xdaforums huggingface dataset:
[FYT Android Head Units] surfer63:
I wouldn't know to be honest.

I have seen modules where they completely replaced the method with a replacehooked, but you need to call external functions from xposed then.

Another option might probably an afterhooked if you know what the balance and fade should be and call the remainder of the function with the correct balance and fade, but this would also require calling external methods. Next to that it wouldrequire some extra computation and therefore make everything (a tiny bit) slower. My problem is that by now I have seem big portions of code from experienced java programmers and I don't even understand what is happening.

(I hope Joying will still support the Sofia 3GR for quite some time with new firmwares, but once the firmware updates stop, some modifications can better be made as smali I assume.)
[FYT Android Head Units] amon101x:
try those still wont work... any idea what to tell the developer to add in his settings to make this work? Why does spotify work and headunit reloaded wont?

thanks in advance
[FYT Android Head Units] gtxaspec:
They do work, I tested them personally. what are you trying to do?

Spotify is a regular app, headunit reloaded is special...you might want to contact the developer of THAT app, or is that what you were referring to? If I remember he used to have or has a joying unit.
[FYT Android Head Units] surfer63:
I was again on a short business trip and my laptop screen needed to be repaired.

Currently working on it. I will test this afternoon or tomorrow morning.
[FYT Android Head Units] surfer63:
XSofiaTweaker 1.15 released

I just released version 1.15.

Updated Spanish translation (thanks to tOz-666)

Made separate Settings screen for hardware buttons and for Steering wheel buttons

Added option to execute "system calls" under normal or root access. root access is necessary if you want to kill an app (for example upon ACC_OFF)
[FYT Android Head Units] surfer63:
Now that the GTX ROM optimizes on speed, I built an option in the XSofiaTweaker (ON/OFF Setting: "Option to display CPU temperature in status bar").

It works fine so far, but I want something more.

< 50 °C => default white

50 °C to 70 °C => yellow

70 °C to 80 °C => orange

> 80 °C => red

Is this over the top?

Are the ranges correct?

Edit: This is not released yet.
[FYT Android Head Units] yuvalmesika:
Hi [MENTION=2550900]surfer63[/MENTION]

Is it possible to write in the same way the radio station frequency to the status bar?
[FYT Android Head Units] markmorto:
I have a speedometer widget that changes color with speed and I find it needlessly distracting. Whenever I have to re-add it, the first thing I do is reset the colors. Except for one, that reminds me 100 mph is probably too fast.

So I would think maybe yellow at 80+ degrees C, and the default (white maybe?) the rest of the time? Just a suggestion. Others may like the color changes.
[FYT Android Head Units] gtxaspec:
I would agree. Up to 70 should be white, above that yellow or red???

---------- Post added 26th March 2018 at 12:11 AM ---------- Previous post was 25th March 2018 at 11:35 PM ----------

@surfer63, whenever you can push your latest changes to the repo, I've got some changes to add regarding OK google anywhere working with BT calls ( we detect when the bt app is opened, and stop googlevoicesearchbox, when the call is ended, we restart it so it works again)
[FYT Android Head Units] surfer63:
I just pushed my changes to the repo. The cpu temp is working, but currently without colors (and personally that is also how I like it).

There are 3 other changes currently disabled as I still can't get them to work.
[FYT Android Head Units] gtxaspec:
What are those?
[FYT Android Head Units] surfer63:
1. (still) the media keys mentioned by [MENTION=309187]edit[/MENTION] and solved by Gustden.

2. Make the navi_app.txt and player_app.txt user modifiable so that users don't have the problem that either the radio is not heard (in the background) or the navi-app is not heard (when in the background). And to define media-players to prevent the "missing first 0,1-0,3 seconds which you now have solved with the andplay. Although the media_player.txt still doesn't make a 100% correct as the SofiaServer also has to enable the audio channel. Your andplay might be a better solution for the media_player.txt.

3. Make an "Apps list dropdown" for the hardware keys where users can simply select the app of their choice, instead of providing the app-package. For the steering wheel keys, users might still want to have the "rotating" option via the script to define multiple apps (multi-tap function).

4. Enable volume settings when a USB DAC is connected (@assassinslament mod; separate branch of XSofiaTweaker). This is very low prio for me as I don't have a USB DAC (sorry USB DAC users).

and off-topic: I didn't do much lately. Last 2 weeks I have been 2 times 3 days on business trip, before that I had the flu for over a week, I was also a bit fed up with it all as I had 3 times a flat battery in my car (which turned out to be a "rotten" battery even though it was only 13 months old. Exchanged for free by the garage) and I use my car perhaps once a week (business trips in rental cars), and spend more time on programming/testing than on driving.

I just picked up again last weekend.
[FYT Android Head Units] ste2002:
"a bit fed up" is not a very good news for the rest of us - earlier from gtxaspec, now from surfer63.

Developers should be able to buy additional dev. HUs at least. And we should be able to donate in order to count for outcome. Gone to my PayPal :).
[FYT Android Head Units] surfer63:
Thanks a lot for this suggestion, but please not.

GTX also mentioned this some time ago ("we should get you a dev unit"), but the point is also that I simply don't want to spend more time on it. Last months were quite extensive and I have so much more hobbies I want to spend time on, especially now that good weather is coming (I hope), that I simply want to limit that "Joying time" a bit.

I will not leave, I will simply take it a bit easier.

Edit: Although I must say I was tempted to buy the cheapest sofia 3GR, despite its lower resolution and internal memory.
[FYT Android Head Units] IG_Vasilich:
[MENTION=2550900]surfer63[/MENTION] [MENTION=520205]gtxaspec[/MENTION]

is there any chance for me as not (yet) Android developer to find the proper key codes for my unit? Tried to look into logcat, but found nothing concerning keys there. I also have no idea where those SQL codes for buttons come from.

I am still hope to be able to use all of hardware buttons on my HU, as with stock FW there are some duplicate functions (like "MUTE" button that behaviors the same as pressing the "VOLUME" knob), and i afraid to loose some functions after going to GTX ROM (like radio tune when rotating "TUNE" knob in radio app, but next/prev track in music app).
[FYT Android Head Units] surfer63:
The volume and tune rotating knobs simply work on the GTX ROM. Nothing has changed there. It is still the SofiaServer underlying the system offering the exact same hardware functionality (in combination with an optional CANbus).

The Mute button is an option in my XSofiaTweaker to assign "something else" to it.

"to be able to use all of hardware buttons": What do you mean? And please mention whether you mean hardware buttons or steering wheel buttons. As far as I know I mapped all hardware buttons in my XSofiaTweaker (EQ button still with glitches. I assume I have to look at that one as well).

Steering wheel buttons is not complete. The BT_Hang_up button is not yet hooked correctly. The FFW/FBW/FF/FB/Next/Previous are not mapped yet, as I consider that low prio. Most users would simply use them to indeed do a FFW/FBW/FF/FB/Next/Previous (and I don't have them anyway).

Edit: I think I know where the FFW/FBW/FF/FB/Next/Previous are used (discussed that already with gtxaspec), but there is only so much time I want to spend on it. I'm just a beginner JAVA programmer which also means it takes relatively a lot more time than for an experienced java programmer.
[FYT Android Head Units] IG_Vasilich:
i want to have different functionality from pressing "MUTE" button and from pressing "VOLUME" knob - now both presses lead to muting sound volume. So i would like to e.g. get mute when pressing volume knob, but do play/pause when press MUTE button (as my HU doesn't have dedicated play/pause button).

All above this is meant for physical/hardware keys on HU.

For steering wheel - i want to remap "mode" button to use my set of sources (e.g. "FM, DAB+, Music" instead of "FM, Music, AUX/Video/TV, BT Audio, BT Call" as it is now with stock). The rest of steering wheel buttons are OK for me (i have only VOL+/-, PREV/NEXT, and MODE on steering wheel).
[FYT Android Head Units] ste2002:
surfer63, dear Harry, despite I am still on factory ROM, I feel like I can support (in a way I am able to) your and gtx's effort. Pity you have returned my tiny donation - it (as I believe any donation) does not imply that I should count on any outcome - just I like much what you and your dev-mate are doing. "Hope you well understanding" (c)
[FYT Android Head Units] surfer63:
I really appreciate it you want to support us, but in this case I just mentioned I do not want to intensify my attempts on a "dev" unit.

And yes, "I'm well understanding" :)

(And I already built a, currently hidden, donation button in my XSofiaTweaker. Once the module is a bit more sophisticated, I will unhide it ;))
[FYT Android Head Units] ste2002:
Of course that was not (and could not be) a direction how I want my donation spent (and it's size is too small), sorry about that.
[FYT Android Head Units] btrax:
So, the steering wheel controls works with xsofia tweaker ?
[FYT Android Head Units] surfer63:
Steering wheel buttons work via the CANbus, or can be configured via the Joying steering wheel app in case of resistance based SW devices (key1/key2/ground), but these configurations only allow you to map the buttons to the original functions.

When that has been done, you can partly remap the SW buttons via XSofiaTweaker. Currently only the BT_dial and the Mode/SRC button from the steering wheel are configured.

(Note: I don't have SW buttons. I did order a set from AliExpress and I got a mail that it was delivered, but it wasn't. I called PostNL (in the Netherlands) and told them that I had not received anything and that I could prove it with a 24 hour timelapse movie from one of my (security) cams of my self-built domotica environment (one of the mentioned other hobbies). They are now investigating it, but I already had to wait very long and now I'm still waiting and still can't test)
[FYT Android Head Units] surfer63:
In theory: yes, or the RDS-PS (station name), or the RDS-txt (rds text).

I already had a look at that (I look at so many things :))

My personal preference would be the 8-digit station name.
[FYT Android Head Units] surfer63:
XSofiaTweaker 1.16 released

I just released version 1.16

Option to display the CPU temperature in the status bar next to the time (It reads all 4 cores and displays the highest core temperature)

Dialog box to immediately do a soft reboot for the options that need it (not yet for HOME/MUTE as they are combined options. I have to think about those)
[FYT Android Head Units] RoNeReR:
after update to last GTX rom i encountered a problem with yellow mcu bar, to fix it i add to your mod one more option to hide the yellow mcu error overlay.

basically i just find and hook the method addSelfToWindow from ui.InfoView and stop it before it running, this method just create the overlay on the screen.

can i send u the source code of 1.16 with this mod. ( if u not interesting to merge this mod with your xposed module i will create separate module )
[FYT Android Head Units] surfer63:
I appreciate your contribution as such. Everyone trying to improve these units is welcome, but in the case of the yellow MCU bar, you have the wrong MCU version installed. That should be corrected with installing the right MCU version, not by "camouflaging" it with an Xposed "overlay suppressor".

To say it in Windows terms: If Windows (or MS Word) shows an error message about a corrupt dll, you should go to "install/setup -> repair (for the specific option)" and not write a program to suppress the error message.

So please make it a separate module.
[FYT Android Head Units] gtxaspec:
Actually, a mismatch in MCU versions for the FYT SoMs isn't really harmful, it's just the vendors way of preventing you from using someone other intended customers firmware. From my testing all functions work fine when I flashed the six other MCU bins I found. Lots of people encounter this issue, for example when using my rom with non joying branded units. I do believe it's a beneficial mod, appropriate for XSofiaTweaker? Or are you targeting joying brand units only?

Could you post the source ??
[FYT Android Head Units] surfer63:
[MENTION=520205]gtxaspec[/MENTION] and [MENTION=2362256]RoNeReR[/MENTION]:

You got me convinced.
[MENTION=2362256]RoNeReR[/MENTION]: Please post/send the code and I will implement it in the XSofiaTweaker. It will be an ON/OFF switch (default OFF), so a user can activate it or not.
[FYT Android Head Units] gtxaspec:
Even though our units have their faults, I'm glad we don't have the MCU hell that the mtcd people experience! There's hundreds of mtcb/c/e MCU files and all have wildly different results depending on the individual model and unit
[FYT Android Head Units] RoNeReR:
the annoying mcu yellow bar appear on your rom, when i back to stock rom everything ok,

on V7 i succeed to fix it with manual flash the STM8UD.BIN. unfortunately i cant succeed do it with v9a2.

the funny thing that all mcu buttons + steerting whell + door message work correctly with the mcu error.
[FYT Android Head Units] gtxaspec:
File manager is now included in the rom so if you want to use car settings to flash it should be ok
[FYT Android Head Units] RoNeReR:
after flash the STM8UD.BIN and select the correct car model on car setting app, the mcu error bar still there.
[FYT Android Head Units] surfer63:
I just PM-ed you a test version of XSofiaTweaker with your own patch. I patched it during lunch break.

I can't test myself as I don't have the error.

Edit: Are you a developer? If so, you are very, very welcome to help us noob programmers ;)
[FYT Android Head Units] RoNeReR:
i am system admin, so all my developer knowledge is just powershell.

but i am little persistent person, so if u want that something to work, i will find a way.

my next project:

USB DAC
[FYT Android Head Units] surfer63:
Great! Take a look at https://github.com/hvdwolf/XSofiaTweaker/tree/USBDAC.

It is a separate branch of the XSofiaTweaker and already many steps behind the master tree, but contains a first setup for the USB DAC. In case of questions don't hesitate to ask. The USB DAC part is based on work by [MENTION=503463]AssassinsLament[/MENTION] in April 2017 as a direct mod of the SofiaServer.

Edit: I just pushed my last change to the repository.

Edit2: Note that it is currently not working. If you search this thread you will find that some users already tested it.
[Android Q&A, Help & Troubleshooting] nvitone23:
Hello,

My mother's Google Pixel (original) has just run into a somewhat common problem on Android Oreo. The problem and one working solution are mentioned in the following Reddit link:

https://www.reddit.com/r/GooglePixe...home_and_recent_buttons_stopped_working_dont/

I installed the Nova apk however when I went to choose the "Setup Wizard" activity, it is no longer there like it was a few months ago. I tried downloading older versions of Nova launcher to see if I could get it but I could not.

Does anyone know anyway in which I can force my pixel to the Setup Wizard?

Thanks!
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Try with Factory Reset.
[Google Pixel 2 Questions & Answers] taldavid2:
This may be a silly question but I hope someone can answer for me.

I am currently living in Thailand and picked up a Pixel 2 not too long ago. I got the OTA up to January while my phone was still stock/unrooted with my Thai Sim card. I then unlocked the bootloader rooted Magisk etc... At one point I flashed the stock image from google (not the UK or verizon variants) as I wanted to go back to stock.

I then updated to the February update by flashing the factory image without the -w to prevent wiping. Currently on OPM1.171019.019

Just earlier today I was snooping around and found the following installed but disabled:

My Module: com.vzw.apnlib

Retail Demo Mode: com.customermobile.preload.vzw

Vzw OMA Trigger: com.android.vzwomatrigger

vzw_msdc_api: qualcomm.com.vzw_msdc_api

VZW_Multicast_MW: com.qualcomm.ltebc_vzw

My question is, are these Verizon services baked into the stock image files? A Verizon had never been in the phone, as far as I know.

Thank you kindly
[Google Pixel 2 Questions & Answers] wigglitz:
I know that this post is a few months old, but I was just searching for the same answer to this question regarding my phone. I am currently seeing these on my T-Mobile branded Snapdragon Note 8. If anyone out there might be able to help answer?
[Google Pixel 2 Questions & Answers] allcaps33:
I think this thread and this thread are related.

For some reason there's a cross over between what the VZW and Google should be. It must have something to do with the partnership between them.

I just had the issue of VZW potentially (NOT confirmed) locking my boot loader...
[Google Pixel 2 Questions & Answers] Gregbmil1:
Also on my Sprint G965U
[Google Pixel 2 Questions & Answers] rhagan420:
same thing with me on a us cellular s8 that i bought brand new in store. I found a verizon service agreement in my network config. i called and questioned them about it, i asked what their affiliation with vzw was , they said they had none unless it was above their paygrade. they ended up telling me the phones are programmed for multi carriers from the manufact then the acutual carrier will optimize them which leaves pretty much dead files that cant be rewmoved. use activity launcher you dont need root and you can access almost every file in a readable state and also control tons of **** that is in your phone but cant access. i cant believe all the settings that you would never know about. anyway getting off track. back to vzw, i first thought vzw files on a new us cellular device meant maybe it was rerfurbished and they lied, i wish , bye bye contract lol. i think this could be made into a big deal, possible void a contract , going to go to the store and see what they think, i know they wont have a clue. thats what im hoping because ill easily take an s10+ and not pursue it any further haha
[Google Pixel 2 Questions & Answers] R41N MuTT:
it all comes down to business. those apps are preinstalled, yes, baked in? yes and no. they have read only permissions but are not an integral part of the system and can be removed. some users report having trouble using verizon apps with their verizon service after uninstalling com.vzw.apnlib i'm sorry you didn't get an answer sooner, but these things happen.
[Moto G5 Plus Questions & Answers] hell.o:
After rooting my moto g5 plus, I couldn't figure out how to stop that bootloop, then I used custom rom afterwards, I downloaded stock firmware and flashed it in my moto g5 plus from moto g5+ toolkit (bootloader), after flashing that my device says "emergency calls only" I cant recive calls or text and cellular data is also not working, other roms are also not working
[Android Studio] mateqsz:
hi,

How can I check if a app is installed?

i mean i have list app and i want check which one is installed.

i read about package manager but i dont know what do next with this...

someone can help?
[HTC 10 Questions & Answers] fokycHNk:
Hi guys, after buying HTC 10 I ran into a problem: the phone does not want to work in cdma networks. only gsm. in mode * 4636 # cdma is not selected, permanently resets to gsm (the sim card is visible).

I tried different firmware, including for America,but this not help me.

at the moment it costs leedroid 5, android 8, s-on, cid htc_002 (eu)

very much I ask help
[HTC 10 Questions & Answers] cigarpill:
did you resolve this?
[Samsung Galaxy Note 8 Questions and Answers] Uoppi:
I haven't compared Note 4 and Note 8 side by side, but it appears to me that despite having a much larger overall screen estate, the Note 8's width in portrait orientation might be narrower than the Note 4? I don't think I've seen screen specs that would somehow factor in the curved sides (i.e. lost effective screen estate) of the Note 8.

In other words, do 16:9 videos appear smaller on the Note 8 than on the Note 4? And e-books: I'm guessing they would need to have slightly wider side margins to avoid letters being distorted by the curved edge (though, of course, more text would fit overall, due to the larger vertical screen estate)?

And while I'm at it - and coming from Note 4 and never having owned a curved screen phone - isn't it distracting that two edges of the video frame are curved (distorting the peripheral image and dispersing light) while the sides are "cut sharp" by letterboxing?

I hope I don't come across as a "hater", because I'm not, far from it. I'm still happy with my fully functional Note 4, just considering my options and trying to get a grasp on the new fancy tech... ;)
[Samsung Galaxy Note 8 Questions and Answers] nookcoloruser:
The physical size should be very similar watching a 16:9 video on both however the perceived size would likely be the Note 8 being smaller due to the curved edges which would frame the video content and the black border on either side.

The best way to see if you are comfortable with the curved edges (they are a good thing and a bad thing in equal measure) is to just pop to a store and compare your existing device with the store model.

As I say perceived size and real physical are often different.
[Lenovo ZUK Z2 (Plus) Questions & Answers] Nico990fx:
Hello im on Aex 5.2 stable i like the rom but i have one problem i have no internet on mi pc so i use http injector+ vpn tethering app in nougat works good every site loads good but with android oreo 8.1 some webpages does not load any idea is oreo security or anithing similar ??
[Samsung Galaxy S8 Guides, News, & Discussion] IDan1109:
Hi everyone! As long as official oreo is out i'm really curious about comparing vs nougat about performance and battery life. What do you think about? it's better or worse?
[Samsung Galaxy S8 Guides, News, & Discussion] FernandoM22s:
As I said in other threads I feel a lot of difference in the life of the battery, with nougat I had at least 1: 30hs more of SOT. at the performance level there is no doubt that oreo is better than nougat
[Samsung Galaxy S8 Guides, News, & Discussion] titou07:
my battery lasts longer for the same use

other changes : https://www.sammobile.com/news/galaxy-s8-oreo-vs-nougat-side-by-side-screenshots/
[Samsung Galaxy S8 Guides, News, & Discussion] FernandoM22s:
BTW Another thing that I could notice is that now the iris scanner works perfectly with glasses
[Samsung Galaxy S8 Guides, News, & Discussion] UmarBurney:
Iris scanner has improved alot in Oreo. The speed is blazing fast. On Nougat, I never used it 'cause it was a bit slow and buggy but on Oreo, I'm unlocking my phone with Iris, more than I do with the fingerprint.
[Samsung Galaxy S8 Guides, News, & Discussion] n2851991m:
Have you also noticed that the accuracy on Iris detection is much better even in complete darkness.

Also, Yeah I sometimes forget that there is a fingerprint sensor on this phone. I just wish there were more apps that we could use iris authentication, especially lastpass. (Currently that is limited to samsung pay and google tez)
[Samsung Galaxy S8 Guides, News, & Discussion] skivnit:
Battery life is horrible on 4G but better on wifi, i dunno whats happening to my Android OS as it gets a lot of background usage and BBS doesnt show anything special except for kernel wakelocks. other than that good update
[Samsung Galaxy S8 Guides, News, & Discussion] UmarBurney:
Yeah, the accuracy is amazing. Probably they would integrate it to work with the other apps. Hopefully. :good: :fingers-crossed: