Disable AC control screen - Android Head-Units

Hi, I’ve Junson V1 head unit and I was wondering if there is an option to disable the AC control screen that show when I change the temperature?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

There should be a setting under canbus setup in factory settings.
Use code 8888 or 8878 to enter factory settings.
Should look more or less like on the picture.

I couldn’t find such settings in CAN type options

Maybe you can find it under other. But please enter with code 8878. If you use 8888 you don't get all options.

TorstenH said:
Maybe you can find it under other. But please enter with code 8878. If you use 8888 you don't get all options.
Click to expand...
Click to collapse
Nice, I did not know that 8878 gives more options. However still can’t find the right one for the ac. I’ve disabled AC option one, but it still shows.

This are all the available menus

nstefano said:
This are all the available menusView attachment 5369617
Click to expand...
Click to collapse
You could try to identify the activity which shows the AC interface and the disable it via ADB:
- Install Remote ADB Shell on your Phone from Google PlayStore
- Open WiFi Hotspot on your Phone and connect the HU
- Start Remote ADB Shell and Execute the following command to get SU access:
Code:
su @#zxcvbnmasdfghjklqwertyuiop1234567890,.
- Open the AC interface on the head unit and Execute the command to identify the activity:
Code:
dumpsys activity | grep "mCurrentFocus"
Now you should get the Application name (MainUI) and the activity name which should contain something with "AC".
There are a lot of commands available to get the current activity. Another option could be to use
Code:
dumpsys activity recents

Command to disable the activity looks like this whereby the parameter after the slash is the name of the activity:
Code:
pm disable com.ts.MainUI/com.ts.main...

Can’t connect the adb shell
View attachment 5369641

nstefano said:
Can’t connect the adb shellView attachment 5369639View attachment 5369641
Click to expand...
Click to collapse
Tried 128.0.0.1 also

Do I need to do something else on the HU except to be connected on the phone hotspot?

nstefano said:
Tried 128.0.0.1 also
Click to expand...
Click to collapse
Check in the WiFi settings of the head unit which IP it has. There are also Apps in PlayStore to show current IP.
E.g. my phone gives the head unit the IP 192.168.43.155

nstefano said:
Can’t connect the adb shellView attachment 5369639View attachment 5369641
Click to expand...
Click to collapse
127.0.0.1 ist always localhost that means the device itself (and in your case your phone). This is also valid for Windows, Mac and Linux. Just in case you ever need that for another project ;-)

I’ve found it…it was CanACActivity, but since I’ve disabled it, the HU started to responses really bad when I change the temp.

And now if I try to enable it again it says

And here was the log that I used to locate the activity

nstefano said:
And now if I try to enable it again it saysView attachment 5369739
Click to expand...
Click to collapse
You are not root user and overseen the su command with the cryptic signs behind it. If su command was successful the prompt will change from dollar sign to #.

Oh ok, so I’ve to use the first code again in order to get the needed root level

However it is strange why everything freezes when I’ve disabled it and use the ac control. It’s like there are additional settings that I need to change.

nstefano said:
However it is strange why everything freezes when I’ve disabled it and use the ac control. It’s like there are additional settings that I need to change.
Click to expand...
Click to collapse
Disable and then reboot? My hope was mainui just tries to execute but skips because it's not allowed to execute

Related

[Q] S5 Device/Android ID

Hi!
Whre can I find the Android ID for my S5 ? Need it for Racoon (updates without playstore installed). Tried device ID app but it shows nothing
michael-oc said:
Hi!
Whre can I find the Android ID for my S5 ? Need it for Racoon (updates without playstore installed). Tried device ID app but it shows nothing
Click to expand...
Click to collapse
What ID do you mean? (Samsung) serialnumber or IMEI?
In an ADB shell:
settings get secure_id
russ18uk said:
In an ADB shell:
settings get secure_id
Click to expand...
Click to collapse
Not working for me. Settings not found error.
michael-oc said:
Not working for me. Settings not found error.
Click to expand...
Click to collapse
Sorry, my bad.
settings get secure android_id
russ18uk said:
Sorry, my bad.
settings get secure android_id
Click to expand...
Click to collapse
Also not working. I have to do this in recovery right? Tried it in downloader mode but got an error "device not found". In windows device manager it´s labeled as modem?!
michael-oc said:
Also not working. I have to do this in recovery right? Tried it in downloader mode but got an error "device not found". In windows device manager it´s labeled as modem?!
Click to expand...
Click to collapse
Boot up normally. Make sure you have enabled debugging. If you haven't, follow the guide here.
After that download ADB:
USB drivers required;
ADB interface.
Install the drivers and ADB. You can find ADB in your Start Menu or you can open CMD and cd to c:\adb
When you connect your phone to the computer in your CMD window type adb shell. You may get a security prompt on your phone to allow or deny. Tap on allow or similar.
Retype adb shell if needed and you should see:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If good type "settings get secure android_id".
Ask if you get stuck anywhere.
Thanks for all your help! It´s working now. This suggested adb drivers are older than mine and working. Strange

[APP] Emulator-like location mocking (geo fix) for phones (open source)

MockGeoFix
MockGeoFix allows you to fake locations on the phone exactly the same as the emulator - that is click start in MockGeoFix, telnet to port 5554 and use "geo fix" and "geo nmea" commands. That's it!
Code:
telnet [B]my_phone_ip 5554[/B]
Trying my_phone_ip...
Connected to my_phone_ip.
Escape character is '^]'.
MockGeoFix: type 'help' for a list of commands
OK
[B]geo fix 50 50[/B]
OK
[B]geo nmea $GPRMC,081836,A,3751.65,S,14507.36,E,000.0,60.0,130998,011.3,E*51[/B]
OK
Features
geo fix and geo nmea commands work just like with the emulator!
overrides OOM/low-memory killer priority so MockGeoFix never gets killed by the OS (requires root)
runs as a foreground service (optional)
support for Android from Gingerbread to Nougat
open-source
APKs direct download
In Google Play
Why
Actually I was suprised there wasn't an app like this available already - tons of apps for location faking in Play store but I already have my tools that expect the emulator interface, why change them! I think it was actually supported by Android at one point but was dropped and now the DDMS documentation says "The Emulator Control tab, shown in Figure 1, is no longer supported. Use the Android Emulator for these features.". It was not very difficult to create this app and hopefully it will be useful to others!
Running MockGeoFix on Android <=5.1
A bit too detailed guide on how to run MockGeoFix on Android from Gingerbread to Lollipop (the process is a little different on Android 6 and newer)
Install MockGeoFix
you can install directly from Google Play or get an APK here.
Enable developer options
go to Settings->About phone and click on Build number 5 times
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Enable Allow mock locations in Settings->Developer opions
open Settings->Developer options
enable Allow mock locations
Change location strategy to "device only"
open Settings->Personal->Location and click on Mode and select Device only
Start MockGeoFix
now start MockGeoFix and click on start and notice the IP address that is on your Wi-Fi network
Telnet to MockGeoFix (port 5554)
Open a terminal on your computer and telnet to the IP address from the previous step to port 5554
How to verify MockGeoFix is working with Google Maps
Start MockGeoFix, telnet to it and send "geo fix 0 51.476"
Open Google Maps and if prompted whether to improve accuracy by also using Wi-Fi for geolocation, even though it seems counter-intuitive, say yes. Then go back to Settings->Personal->Location and change Mode to Device Only. (At least when testing MockGeoFix on CyanogenMod12 I had to follow this strange procedure to get location mocking working in Google Maps, YMMV.)
click on the "locate me" button and here we go! (if nothing happens re-enter the geo fix command in the telnet session and try again)
How to verify MockGeoFix is working using ZachR's GPSDump
Another, more direct and foolproof way, to test that MockGeoFix is working is to use ZachR's GPSDump (org.ZachR.GPSDump in Google Play)
After tapping the "GPS Dump" button you should see "Lat" and "Long" fields changed to the values sent with the "geo fix" telnet command:
Running MockGeoFix on Android >= 6.0
Running MockGeoFix on Android >=6.0
On Android 6 (and up) there is no "allow mock locations" option anymore but you have to select one up that is allowed to mock your locations. Otherwise just follow the guide for Android 5 in the previous post.
[/LIST]
[*]Select MockGeoFix as a mock location app in Settings->Developer opions
open Settings->Developer options
click on Select mock location app
and select MockGeoFix
Is it possible to add support for more NMEA sentences?
Which NMEA sentences do you need?

Help with this alps 825X_Pro device

OK, I just received this device:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
which is sold under various names from vendors @AliExpress.
I'm trying to match this unit with one of the threads here and it seems like no one is dealing with it, but I may have missed some relevant posts, can you please help me with that? Or maybe you know about other forums where they discuss the unit...
The device has several issues (bottom line: do not buy it, the hardware is okish but the software is horrible) and I'd really like to explore ways to customize it but I'm not even able to connect to it via adb, let alone become root or install a custom firmware...
Seem like no one heard of it. Bad luck.
I'm trying to gain root access and fix some of the bull***, but I'm running short of options.
What I know so far:
Invoking "su" from the command line (or via adb) returns a "not allowed" message;
I have no firmware to patch with magisk;
the amazing temp root does not work, the device is patched.
What else could I try?
I may try the MTK Droid Tools, but I think they use the same exploit used by the amazing temp root so I guess this is not a solution. Moreover they need Windows and I can't connect to the unit with adb in windows, only with Linux (heavens know why, the Universal ADB Drivers says it's all "ok" but adb does not see the device).
Did you get anywhere with it? I just got 825x_pro for my R56 Mini.
Nowhere. There seem to be some info in the 4pda.ru forum (in russian) but I did not dig deep into into.
What's your factory setting password? 1812 takes me to factory settings and 8877 takes me to another menu which I can use to go to engineer mode
How and where to use these codes
Fake device tester says that it is android 9 instead of 10
amit1976 said:
Fake device tester says that it is android 9 instead of 10
Click to expand...
Click to collapse
What tester? Have you got a link so I could check mine please?
Have you found where to put these codes?
brodzik said:
What tester? Have you got a link so I could check mine please?
Have you found where to put these codes?
Click to expand...
Click to collapse
There are many apps on playstore , i used fake device test by appsolutely unique
amit1976 said:
There are many apps on playstore , i used fake device test by appsolutely unique
Click to expand...
Click to collapse
I just installed it and the app doesn't open, I mean the screen blinks like it's just about to start and then it goes back to home screen, any ideas?
Does anyone happen to know if there is custom rom that will work on this device please?
brodzik said:
What's your factory setting password? 1812 takes me to factory settings and 8877 takes me to another menu which I can use to go to engineer mode
Click to expand...
Click to collapse
Where to use the codes?
I got alps 825x_PRO. 10.1" It can't remember settings, video out is not working, lights are not working. Need reload firmware. So far I got 8888, 8877, 8878, for settings. But it won't remember. If anyone can help me where to get firmware. Seller Ossuret Factory Store is bad. Sending videos of different models and useless solutions. Refused to give me the firmware.
tefracky said:
Where to use the codes?
Click to expand...
Click to collapse
Hi,
You have to go to:
- The settings
- "Car infotaiment" and click in the high right corner on the "cogwheel" and you get a little window where you have to type the numbers (example: 5678; 8888, ....etc ) And you get the hidden menu !
brodzik said:
I just installed it and the app doesn't open, I mean the screen blinks like it's just about to start and then it goes back to home screen, any ideas?
Click to expand...
Click to collapse
Yup this was my experience of "Fake Device Software" Could it mean it is fake? I downloaded another and found the device advertising it's self as Android 10 but with an API level of 28 which relates to Android 9 or wear devices so ???

Allwinner T8, no way to enable developer options

Hi guys! Reaching out to see if someone encountered this or have any suggestion on what I can try.
So I have this head unit for a while and I don't have major complains.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The only being that it has a version of Torque installed as a system app and I can't update it via Play store, as is says the signnature doesnn't match, and I can't sideload it either for the same reason. So I was hoping to be able to uninstall it via adb and that's where I problems started.
For me to use adb, I need to connect it via usb. problem is when I connect it via cable the pc doesn't see it, probably because the unit doesn't report itself as a phone. So I figured I could try adb via wireless. But either way I need to have usb debugging on. Which is a simple matter of enabling dev options right?
Problem is, when I go to Settings >> About Devices, I don't have a "build number" to enable dev options.
With this info, have anyone encountered a unit blocking dev options like this? I checked for videos of other Allwinner models, even some with the same specs, and it seems my unit has something different that doesn't have that option.
Any other way to get dev options? Or maybe a way to root it?
Thank you!
diogofmaciel said:
Hi guys! Reaching out to see if someone encountered this or have any suggestion on what I can try.
So I have this head unit for a while and I don't have major complains.
View attachment 5475097
View attachment 5475099
The only being that it has a version of Torque installed as a system app and I can't update it via Play store, as is says the signnature doesnn't match, and I can't sideload it either for the same reason. So I was hoping to be able to uninstall it via adb and that's where I problems started.
For me to use adb, I need to connect it via usb. problem is when I connect it via cable the pc doesn't see it, probably because the unit doesn't report itself as a phone. So I figured I could try adb via wireless. But either way I need to have usb debugging on. Which is a simple matter of enabling dev options right?
Problem is, when I go to Settings >> About Devices, I don't have a "build number" to enable dev options.
View attachment 5475101
With this info, have anyone encountered a unit blocking dev options like this? I checked for videos of other Allwinner models, even some with the same specs, and it seems my unit has something different that doesn't have that option.
Any other way to get dev options? Or maybe a way to root it?
Thank you!
Click to expand...
Click to collapse
Did you try on clicking Android version several times? That will show a symbol (in my case, an oreo cookie) that will let you know that is has been granted developer mode.
I have dealt with a couple of these. Both of them had ADB already enabled from the factory via "Wireless debugging." I found this out after NMap'ing them and saw port tcp/5555 open on each. The SU binary was already on them too, all you need to do is open a terminal emulator on them and type "su" & hit enter. I suggest installing F-Droid on it if you can get to a web browser and get some apps from there like Termux. Curious if this one has the same thing (Cryptocurrency miner worm. Lookup "ADB Miner.") Here is a simple port scanning app you can check the device on your lan,...
GitHub - aaronjwood/PortAuthority: A handy systems and security-focused tool, Port Authority is a very fast Android port scanner. Port Authority also allows you to quickly discover hosts on your network and will display useful network information abo
A handy systems and security-focused tool, Port Authority is a very fast Android port scanner. Port Authority also allows you to quickly discover hosts on your network and will display useful netwo...
github.com

[GUIDE][Tool][WindowsOnly][NonRoot] USB Reverse Tethering

Hello there!
Since the most recent guide thread ((that I found) [GUIDE] USB Reverse Tethering - New method) does is quite
complicated for many and requires root and for the sake of simplicity, I wanted to present a simpler alternative
to you here in a separate thread, which works without root and is not outdated.
If this violates any XDA rules, please close the thread.
-This method works 100% on Android 9. For other versions you need to check.
-Very useful for people whose wifi module is broken (like mine x.x)
I will attach the .zip here as well as pictures for a better understanding.
Requirements are:
-A working USB connection
-USB debugging enabled.
-A Windows computer
-adb
First, of course, we need to unzip the .zip.
In this case it doesn't matter where.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Second, we need to open the console and go to the path of the extracted .zip
CD path\to\gnirhtet-rust-win64
Third, we press tab 2 times in the cmd, space, write install and press enter.
When that's finished, we press tab again twice, space and write run and press enter.
Alternatively, if "gnirehtet" is already installed, you can use the .bat, provided in the .zip to start it.
That's it! You got reverse usb tethering!
thank you for sharing, i followed the steps but didn't succeed in getting internet
i think you should mention having adb in systempath or just extract your program in adb directory
my steps were
get adb fastboot and extract it
get your program extracted inside adb directory
start cmd normally without admin rights
execute first command in your post to install ( returned success)
execute second command ( returnt 1 at the end ) but no internet
Code:
2022-07-30 00:41:44.389 ERROR Main: Cannot start client: Command adb ["reverse",
"localabstract:gnirehtet", "tcp:31416"] returned with value 1
i should am running AOSP 7.1
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
0cold said:
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
Click to expand...
Click to collapse
Lol
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
How to share the usb reverse tethered share via hotspot
konrino said:
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
Click to expand...
Click to collapse
How
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
patelmilanun said:
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
Click to expand...
Click to collapse
I think that's a problem of the application, which wants a specific connection e.g. wifi or mobile data.
actually i want to update the phone using this method to download update package
patelmilanun said:
actually i want to update the phone using this method to download update package
Click to expand...
Click to collapse
This should be no problem.
It was creating the problem but then I just reflashed whole stock ROM and bam my phone is better than before
working thank you for this program.
You may also check the re-link app at https://re-link.io, as it doesn't even need ADB on Windows, making it safer to use

Categories

Resources