Swapping menu is that possible? - Essential Phone Questions & Answers

I ll ned to swap the menu button , problably on the stock android this will not be possible.
can someone try if this mod can be apply
adb shell settings put secure sysui_nav_bar "space,recent;home;back,space"
sorry for my languge syntax!

mastercut said:
I ll ned to swap the menu button , problably on the stock android this will not be possible.
can someone try if this mod can be apply
adb shell settings put secure sysui_nav_bar "space,recent;home;back,space"
sorry for my languge syntax!
Click to expand...
Click to collapse
You are the man!
I wanted that too. Yes it works!

tech_head said:
You are the man!
I wanted that too. Yes it works!
Click to expand...
Click to collapse
Glad that it works, but is not my work. I take it from a post here on XDA.

Samsung ruins the world.. ?

just need a way to reduce navbar height! anyone can do a overlay like Samsung?

varun.gid said:
just need a way to reduce navbar height! anyone can do a overlay like Samsung?
Click to expand...
Click to collapse
Change the Display size to the smallest possible. It reduces both the status bar and nav bar.
Sent from my PH-1 using Tapatalk

Hey guys, i put in the ADB code and it crashed my system UI annnnnd now i starts up with a blank screen. any way i can delete the code? or do something else?

Droidsaurusrex said:
Hey guys, i put in the ADB code and it crashed my system UI annnnnd now i starts up with a blank screen. any way i can delete the code? or do something else?
Click to expand...
Click to collapse
You did not input the code correctly.
adb shell settings put secure sysui_nav_bar "space,recent;home;back,space”
You did not add the "put".

Droidsaurusrex said:
Hey guys, i put in the ADB code and it crashed my system UI annnnnd now i starts up with a blank screen. any way i can delete the code? or do something else?
Click to expand...
Click to collapse
same here. did you ever get an answer for the blank screen?
UPDATE: Got out of the blank screeen issue. Had to split up the command line. Typed in 'adb shell' pressed enter then typed in rest of code.

help!
did this, and now im stuck with a black screen. I tried to get back in adb to fix it and i get the error no devices/emulators found... any help???

boodo31 said:
same here. did you ever get an answer for the blank screen?
UPDATE: Got out of the blank screeen issue. Had to split up the command line. Typed in 'adb shell' pressed enter then typed in rest of code.
Click to expand...
Click to collapse
Splitting the command line works. :good:

can confirm it worked, after using that orientation on Samsung phone for years the stock android orientation is hard to get use to

It's really work on my PH-1 Pie, Thank you!
1. Follow the instruction to install ADB Installer v1.4.3 on Windows. (Download)
2. Plug your device into your computer. (Make sure enable the usb debugging mode in Developer Options before plug in)
3. On the computer, open up a terminal/command prompt and type adb shell.
4. dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.
5. Type> settings put secure sysui_nav_bar "space,recent;home;back,space" (Enter)
6. All done.

smarthei said:
It's really work on my PH-1 Pie, Thank you!
1. Follow the instruction to install ADB Installer v1.4.3 on Windows. (Download)
2. Plug your device into your computer. (Make sure enable the usb debugging mode in Developer Options before plug in)
3. On the computer, open up a terminal/command prompt and type adb shell.
4. dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.
5. Type> settings put secure sysui_nav_bar "space,recent;home;back,space" (Enter)
6. All done.
Click to expand...
Click to collapse
What happens if you enable swipe-up-from-home gesture? Does the the reversed setting stick like it does on some custom rom's, with back button on the right and flat Pie home button and no recents button?
Sent from my mata using XDA Labs

swiftbones74 said:
What happens if you enable swipe-up-from-home gesture? Does the the reversed setting stick like it does on some custom rom's, with back button on the right and flat Pie home button and no recents button?
Sent from my mata using XDA Labs
Click to expand...
Click to collapse
It's show up like this:
{
"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"
}
flat Pie home button: It will swipe out the "recents page" to opposite direction of my finger movement.

smarthei said:
It's show up like this:
flat Pie home button: It will swipe out the "recents page" to opposite direction of my finger movement.
Click to expand...
Click to collapse
Thanks, that was literally one of the main reasons I was I wasn't happy with stock rom. I'll probably try to go back to stock in January to try this out.
Sent from my mata using XDA Labs

Related

[FONT] Ubuntu Font for Android (Update.zip)

After lots of blood, sweat, and tears, I present to you...
The OMGThisIsSoFuckingAwesome Ubuntu font, on your phone! :O
I did not make this font, it's just ripped from Ubuntu (Linux Distro)
Gimme Screenies!
{
"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"
}
Gimme Downloads!
Download (New version with updater-script by david1171, thanks!)
Note: As I have a bit of a reputation for making dodgy update-scripts, this has been tested on a Hero and two Desires, it should work for all phones.
Thanks! it works with font changer!
flashed and it works fine in my Desire!
really nice to see!!
thanks
Does this work on SenseHD from Desire HD?
Sent from my HTC Desire HDified.
Skimi said:
Does this work on SenseHD from Desire HD?
Sent from my HTC Desire HDified.
Click to expand...
Click to collapse
Any Android phone will work.
Nice job on the update.zip
A lot of people will be happy!
I personally like the Ubuntu font, but I'm stuck on NeutraFace ATM.
Thanks, will give it a go. Is there a .zip we can flash to take us back to stock if necessary?
nice looking, however, seems not to be a complete set? Got empty boxes in Genie Widgets... - ca someone help?
what is the standard sense font? I do not have it anymore =(
Font not fully change in MIUI ROMs.. i can just see the font changes at clock at lock screen and password field... anybody can help?
thank
Working perfectly on OpenDesire 4 Thanks!
flashed and confirmed working on mij leedroid 2.2b desire.
awesome!
terminal emulator app don't works fine when i install the fonts
the cursor are showed not text aligned
bartito said:
terminal emulator app don't works fine when i install the fonts
the cursos are showed not text aligned
Click to expand...
Click to collapse
Try pushing the fonts via ADB.
Assuming you have the Android SDK all ready @ C:\Android and USB debugging enabled:
(My fonts are named UbuntuRegular and UbuntuBold. Names can obviously differ).
- All you need to do is extract the fonts to C:\Android\tools
- Open Command Prompt (cmd) and type "adb devices" (See your device?)
- Type "adb push UbuntuRegular.ttf system/fonts/DroidSans.ttf [ENTER]
- Type "adb push UbuntuBold.ttf system/fonts/DroidSansBold.ttf [ENTER]
- Type "adb reboot" [ENTER]
ALWAYS WITHOUT ""
zHk3R said:
Try pushing the fonts via ADB.
Assuming you have the Android SDK all ready @ C:\Android and USB debugging enabled:
(My fonts are named UbuntuRegular and UbuntuBold. Names can obviously differ).
- All you need to do is extract the fonts to C:\Android\tools
- Open Command Prompt (cmd) and type "adb devices" (See your device?)
- Type "adb push UbuntuRegular.ttf system/fonts/DroidSans.ttf [ENTER]
- Type "adb push UbuntuBold.ttf system/fonts/DroidSansBold.ttf [ENTER]
- Type "adb reboot" [ENTER]
ALWAYS WITHOUT ""
Click to expand...
Click to collapse
same result....
Works on the RCMixHD ROM, although it does cut the bottom off the temperature on the clock widget...anyone got a ZIP to revert back to stock?
Yeah, how to get the stock font back?
/CK
Good job; I'll try this.
Café King said:
Yeah, how to get the stock font back?
/CK
Click to expand...
Click to collapse
I've got a ZIP that'll upload later on when home from work
bartito said:
same result....
Click to expand...
Click to collapse
Uhm. How's that possible? :S
Boot your phone into Recovery - Mount /system and try again.
It's bound to work if you've got the SDK set up all OK.
zHk3R said:
Uhm. How's that possible? :S
Boot your phone into Recovery - Mount /system and try again.
It's bound to work if you've got the SDK set up all OK.
Click to expand...
Click to collapse
the fonts installation works fine (with adb), but the Terminal Emulator shows bad (see my previous post).
i have tried with connectbot also, with same result

Guide: edit build.prop to display all apps in dual window

This article is taken from the following post (which will require translation): http://lgviet.com/forum/threads/huo...-thị-tát-cả-úng-dụng-hai-của-sỏ.54907/
By default enabling dual window only allows you the option to add a handful of apps. By modifying 5 lines to =true instead of =false you will be able to add ANY app installed on the device to the dual window. I've tested this on my H901. I'll also include a copy of the edited build.prop but I'm on V20J.....if you are not then you are probably better off modifying your own build.prop.
What does this require?
1) adb pull /system/build.prop
2) edit the build.prop to match below
3) do an adb shell, su to root and run "mount -o remount,rw /system" to make your system read/write instead of only read only.
4) rename /system/build.prop to build.prop.bak
5) adb push your modified build.prop to /system
6) type "diff /system/build.prop.bak /system/build.prop" in adb shell and verify the only changes are the 5 expected.
7) reboot. If for some reason it doesn't boot don't panic...you can get into twrp and copy the build.prop.bak back over the modified build.prop then reboot and start back at step 1.
8) press the app switching button and select the "dual window" button....you will now see you can scroll through ALL your apps to put in either the top or bottom window.
When you edit your build.prop the lines will NOT be in the same order as the example. You will need to do a search on each line so you can modify it. If you use the premodifed file attached make sure you remove .txt from the end of the filename which was required to attach it to the post.
{
"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"
}
famewolf said:
This article is taken from the following post (which will require translation): http://lgviet.com/forum/threads/huo...-thị-tát-cả-úng-dụng-hai-của-sỏ.54907/
By default enabling dual window only allows you the option to add a handful of apps. By modifying 5 lines to =true instead of =false you will be able to add ANY app installed on the device to the dual window. I've tested this on my H901. I'll also include a copy of the edited build.prop but I'm on V20J.....if you are not then you are probably better off modifying your own build.prop.
What does this require?
1) adb pull /system/build.prop
2) edit the build.prop to match below
3) do an adb shell, su to root and run "mount -o remount,rw /system" to make your system read/write instead of only read only.
4) rename /system/build.prop to build.prop.bak
5) adb push your modified build.prop to /system
6) type "diff /system/build.prop.bak /system/build.prop" in adb shell and verify the only changes are the 5 expected.
7) reboot. If for some reason it doesn't boot don't panic...you can get into twrp and copy the build.prop.bak back over the modified build.prop then reboot and start back at step 1.
8) press the app switching button and select the "dual window" button....you will now see you can scroll through ALL your apps to put in either the top or bottom window.
When you edit your build.prop the lines will NOT be in the same order as the example. You will need to do a search on each line so you can modify it. If you use the premodifed file attached make sure you remove .txt from the end of the filename which was required to attach it to the post.
Click to expand...
Click to collapse
OR..... With root, just go to /system/build.prop with any root file explorer, find persist.splitwindow.support_all=false and change false to true....
nuevosean said:
OR..... With root, just go to /system/build.prop with any root file explorer, find persist.splitwindow.support_all=false and change false to true....
Click to expand...
Click to collapse
I can't guarantee that just that one line change is going to fully do the same thing given the original poster changed 5 lines. Are you able to scroll up and down through all your apps and drag whatever one you want to the top or bottom window with only the one line changed?
famewolf said:
I can't guarantee that just that one line change is going to fully do the same thing given the original poster changed 5 lines. Are you able to scroll up and down through all your apps and drag whatever one you want to the top or bottom window with only the one line changed?
Click to expand...
Click to collapse
Absolutely. I did this about 2 months ago when I first got the phone, and again when I got the marshmallow update.
nuevosean said:
Absolutely. I did this about 2 months ago when I first got the phone, and again when I got the marshmallow update.
View attachment 3861795
Click to expand...
Click to collapse
lol, how'd you get the battery to show on the home button on the bottom middle icon of the screen.
dannieloco said:
lol, how'd you get the battery to show on the home button on the bottom middle icon of the screen.
Click to expand...
Click to collapse
xposed battery home module.
dannieloco said:
lol, how'd you get the battery to show on the home button on the bottom middle icon of the screen.
Click to expand...
Click to collapse
Yeah, you have to be rooted with xposed framework. The module is called "battery home button".
nuevosean said:
Yeah, you have to be rooted with xposed framework. The module is called "battery home button".
Click to expand...
Click to collapse
Thanks. I went ahead and installed it
dannieloco said:
Thanks. I went ahead and installed it
Click to expand...
Click to collapse
no problem man. sharing info is what this site's all about...

[MOD][7.0+] Add more tiles to quick settings header

Introduction
If you have used Android N-ify before, you might like the fact that you can change the amount of tiles to be shown in qs header. But that module doesn't work on 7.0 (Everyone knows why). That was one thing i miss from that module.
So I looked into android source again and found that the value is stored in Settings.Secure and can be easily chaged.
Requirements
- Android 7.0+ (Tested on stock 39.2.A.0.327 but should work on any 7.0+ ROM)
- Root or a PC
Instructions
1. - If you have root, open Terminal Emulator, type "su", press enter and grant su permission and skip to step 6
- If you have already know how to use ADB shell, skip to step 6
2. Turn on USB debugging
3. Install ADB to your PC. You can use Minimal ADB and Fastboot or install Android SDK.
4. Open command prompt and type "adb devices". You should see your device listed there. If it says "offline", you need to press accept on your phone.
5. Type "adb shell" and you should see something on your screen.
6. Type the following command into command prompt. Replace "AMOUNT" with your preferred value.
Code:
content insert --uri content://settings/secure --bind name:s:sysui_qqs_count --bind value:i:AMOUNT
For example, If I want 6 tiles I need to type this command.
Code:
content insert --uri content://settings/secure --bind name:s:sysui_qqs_count --bind value:i:6
7. Press enter. Then the tiles amount should be changed instantly. If it your SystemUI crashed, simply click "Close app" and it will return back to normal.
8. Enjoy.
Other tweaks
Navbar buttons
You can also change navbar buttons too. The layout is stored using the key "sysui_nav_bar".
Details
Format:
Code:
{left};{center};{right}
Where {left} is buttons on the left, {center} is center buttons and {right} is buttons on the right.
You can put multiple buttons using "," to split.
For example, default button layout is space and back button on the left, home in center, recent and ime on the right. So the layout would be
Code:
space,back\;home\;recent,menu_ime
You can squeeze all buttons into one side and comfortably use your phone one-handed.
Code:
;menu_ime,space;back,home,recent
After you arranged buttons to your liking, you can put it on your phone by using the same command like qs mod. You also need to escape ; by adding \ in front of it.
Code:
content insert --uri content://settings/secure --bind name:s:sysui_nav_bar --bind value:s:\;menu_ime,space\;back,home,recent
{
"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"
}
Screenshots
If you like it, press that thanks button.
@paphonb Thank you for this amazing guide, was just figuring out how to do this, loved your amazing Android N-ify.
This Works perfectly
True its work amazingly!! Maybe you know similar command for resizing nav bar size I mean heigh?
meistr91 said:
True its work amazingly!! Maybe you know similar command for resizing nav bar size I mean heigh?
Click to expand...
Click to collapse
There is no way to do that yet.
Sent from my F8332 using Tapatalk
paphonb said:
There is no way to do that yet.
Click to expand...
Click to collapse
Could it be that when i set 7 tiles quciksettings expand animation lagging a bit?
I followed the method but it didn't work for me any solution?
I'm using resurrection remix 5.8.1 N-7.1.1 in this version there is no option to change the option. I used both ADB and terminal.
gello0 said:
I followed the method but it didn't work for me any solution?
I'm using resurrection remix 5.8.1 N-7.1.1 in this version there is no option to change the option. I used both ADB and terminal.
Click to expand...
Click to collapse
I had the same problem, I tried doing it in terminal's phone and worked like a charm.
crisout said:
I had the same problem, I tried doing it in terminal's phone and worked like a charm.
Click to expand...
Click to collapse
how do it trough terminal?
nevermind found it!
All thumbs up for @paphonb, in the future you could do a simple app for tweaking this =)
Is there anyway I could have the layout (not the colors) looking like this (attachment).
The two (enlarged) icons at the top with 5 rows instead of 3.
Hey dev, great job. Is there something similar for data icons on status bar? I'd like to change 4G icon to that of AOSP/Google Pixel phones, just tiny LTE icon, I have Moto z play. Thanks.
How to remove or change location of the expansion Arrow ?
My device: Moto G5 (Cedric)
It did work on Stock Oreo Mi A1. Wanted to ask is there a way this can be done on the expanded QQ? Like in AICP roms, 6×3 ?
paphonb said:
5. Type "adb shell" and you should see something on your screen.
6. Type the following command into command prompt. Replace "AMOUNT" with your preferred value.
Code:
content insert --uri content://settings/secure --bind name:s:sysui_qqs_count --bind value:i:AMOUNT
For example, If I want 6 tiles I need to type this command.
Code:
content insert --uri content://settings/secure --bind name:s:sysui_qqs_count --bind value:i:6
7. Press enter. Then the tiles amount should be changed instantly. If it your SystemUI crashed, simply click "Close app" and it will return back to normal.
Click to expand...
Click to collapse
You could also do this directly, where you replace 7 with the amount you want
Code:
adb shell settings put secure sysui_qqs_count 7
Is there a command to set Quick settings rows and columns?
Darkweb_182 said:
Is there a command to set Quick settings rows and columns?
Click to expand...
Click to collapse
Supposedly for AOSP roms:
adb shell settings put secure sysui_qqs_count N
N being the number of tiles from 3-7
it works in my note 8 with oreo, but restore to stock tiles when the I restart the phone. there are some way for the changes stay applied?
billa said:
Supposedly for AOSP roms:
adb shell settings put secure sysui_qqs_count N
N being the number of tiles from 3-7
Click to expand...
Click to collapse
not that. how can we change QS row and column from 3x3 to 2x5 for example

Disable swipe-up lockscreen?

How do i disable the swipe-up lockscreen? I don't see anything in settings to disable it.
peachpuff said:
How do i disable the swipe-up lockscreen? I don't see anything in settings to disable it.
Click to expand...
Click to collapse
You want to got rid of this lock screen?
Using Activity Launcher:
1. Install Activity Launcher from Google Play or APKPure
2. Open Activity Launcher
3. Scroll down, select Settings and find the activity Settings$ScreenLockSuggestionActivity
4. If in lock screen settings, select None
Or if didn't find, try another way:
Disable via ADB:
1. Enable ADB in developer options
2. Connection your Fire tablet to your PC
3. Enter this command
Code:
adb shell
settings put secure lockscreen_disabled 1
4. Reboot
Code:
adb reboot
Or you want to watch a full tutorial on YouTube:
Disabling it via adb didn't work for me on Fire HD 10 2019.
Setting Keyguard to off in Tasker works for about a day. Running the task on device boot, you may need to wait a few seconds, and then running it every few hours should keep it off.
AmznUser444 Dev said:
You want to got rid of this lock screen?
Using Activity Launcher:
1. Install Activity Launcher from Google Play or APKPure
2. Open Activity Launcher
3. Scroll down, select Settings and find the activity Settings$ScreenLockSuggestionActivity
4. If in lock screen settings, select None
Click to expand...
Click to collapse
That did the trick, tried the adb thing before but it didn't work.
activity launcher helped me to get rid of the lockscreen. Unfortunately, I tried the ADB command before, this did not work and either disabled the activity entry. So i had to revert the ADB command with value 0. But anyway, thx a lot for the hlp here in the forum.
peachpuff said:
How do i disable the swipe-up lockscreen? I don't see anything in settings to disable it.
Click to expand...
Click to collapse
For what it's worth, this is a copy & paste which is my solution for non-rooted devices:
I use the Gravity Screen app on a non-rooted Fire HD10 (2019) which uses motion to unlock/ wake up the device which you can get here.
I have the app set up to "Turn Screen ON by Motion" and under it's "Special Settings", I have "Disable Lock Screen" checked:
{
"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"
}
What worked for me on my 8th gen HD 8 was:
Step 1: Disable screen unlock in the official system settings:
Step 2: Run this:
Code:
adb shell locksettings set-disabled true
I got some error messages from locksettings once when I was trying this. If that happens to you, try this more elaborate version:
Code:
adb shell
settings put global LOCKSCREEN_AD_ENABLED 0
settings put secure lockscreen.disabled 1
locksettings clear
locksettings set-disabled true
exit
Interestingly, after a reboot LOCKSCREEN_AD_ENABLED goes back to 1 and lockscreen.disabled goes back to 0, but the lockscreen stays disabled.

Disable AC control screen

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

Categories

Resources