How to do a quick reboot? - MTCD Android Head Units Q&A

Hi! is there a way to do a rebbot on Head Unit Android 9 (PX6) ?
I know only the method pushing the small pinhole on the radio.
Maybe there is another way via interface in the settings?
thanks

I'd like to know too... without root (root is easy).
At the moment I use a terminal app and type 'reboot' but I'd like an easier method.

djmcnz said:
I'd like to know too... without root (root is easy).
At the moment I use a terminal app and type 'reboot' but I'd like an easier method.
Click to expand...
Click to collapse
Which app are you using? My Dasaita PX6 is not rooted. Can you give me a link? TIA

See wiki in my sig.

marchnz said:
See wiki in my sig.
Click to expand...
Click to collapse
I can't find the terminal app in your wiki....sorry. I don't want to root my Dasaita, just be able by terminal to do reboot, so i need to know which terminal app he used.

Just enter hctreboot in password for factory settings.

Ati_gangster said:
Just enter hctreboot in password for factory settings.
Click to expand...
Click to collapse
I will try! Thanks

[/COLOR]
MarcoZ76 said:
I can't find the terminal app in your wiki....sorry. I don't want to root my Dasaita, just be able by terminal to do reboot, so i need to know which terminal app he used.
Click to expand...
Click to collapse
Slow down; not suggesting a terminal app at all, read the wiki - factory password codes for various utility commands, you might pick up a few other things than might then enable helping others, rather than a quick answer to get what you want and exit.

Related

Possible Movie Workaround for Root users

Possible Workaround
Cant see why it wouldnt work but havent tryed it myself. Let me know in the comments!
My mytouch 4G is rooted and i have the ability to get movies from the new market. Weird?
Can you view them or have you actually downloaded them and watched them?
because.... This.
Great! Now can someone make an app for that!?
Sent from my GT-I9000 using XDA Premium App
Kevin001111 said:
Can you view them or have you actually downloaded them and watched them?
because.... This.
Click to expand...
Click to collapse
I've seen that thread, I am not on Unity, I run Synergy. I haven't bought one yet, but since I can access it I believe it would work
jangst123 said:
Great! Now can someone make an app for that!?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
you can't type in the commands yourself?
Can someone tell me how to use the terminal on my PC, it won't work on my Android.
Jays2Kings said:
Can someone tell me how to use the terminal on my PC, it won't work on my Android.
Click to expand...
Click to collapse
to do it from your computer you need to have adb set up. there are hundreds of guides for that on xda.
what do you mean it "won't work" though? be more specific?
JDV28 said:
to do it from your computer you need to have adb set up. there are hundreds of guides for that on xda.
what do you mean it "won't work" though? be more specific?
Click to expand...
Click to collapse
The last step in the command line, the renaming "su" to "mu." I can't rename it because it's a read only file.
Jays2Kings said:
The last step in the command line, the renaming "su" to "mu." I can't rename it because it's a read only file.
Click to expand...
Click to collapse
is your phone rooted?
JDV28 said:
is your phone rooted?
Click to expand...
Click to collapse
That it is, if it wasn't I would be having problem with the video app in the first place.
Jays2Kings said:
That it is, if it wasn't I would be having problem with the video app in the first place.
Click to expand...
Click to collapse
make sure that you are typing in the 2nd command (one after "su" ) properly.
JDV28 said:
make sure that you are typing in the 2nd command (one after "su") properly.
Click to expand...
Click to collapse
I typed character for character correctly, still "failed on '/system/bin/su' - Read-only file system".
Didn't work for me sadly I still get the playback not supported. I'm on the T-Mobile G2x
Edit: Also tried unrooting via super one click and still got the same result after reboot.
well, it says potential. it doesn't say it will work. it's an idea.
Jays2Kings said:
I typed character for character correctly, still "failed on '/system/bin/su' - Read-only file system".
Click to expand...
Click to collapse
install root explorer and mount /system as r/w
then go through the guide besides the second step
JDV28 said:
install root explorer and mount /system as r/w
Click to expand...
Click to collapse
Does anyone have a link to the root explorer apk?
doodlebro said:
Does anyone have a link to the root explorer apk?
Click to expand...
Click to collapse
its a paid market app
JDV28 said:
install root explorer and mount /system as r/w
then go through the guide besides the second step
Click to expand...
Click to collapse
Already have it, but that's what that's what that option was for. Thank you.
EDIT: It's still force closing when I open the app (after I select my account).
Jays2Kings said:
Already have it, but that's what that's what that option was for. Thank you.
EDIT: It's still force closing when I open the app (after I select my account).
Click to expand...
Click to collapse
glad I helped!
go into settings, find the market, and clear its cache

[Help] Scripting with Tasker

Hi,
I've set up an emulator using genymotion and am playing a game on it. What I need to do right now is:
Loop begin
2. Simulate a touch/tap at a particular location on the game.
3. sleep for 10 seconds
Loop end
I used to simulate the touch using xdotool in lunux. However, I think tasker should be able to handle this better. I'm a noob when it comes to tasker. I chanced upon a tutorial where in this guy explains how a touch can be simulated buy I'm stuck. It doesn't work. Here is what I've done so far:
1.Tasker > New task > "Test"
2.Run shell
Command:
while [ 1 ]; do
input tap 545 240
sleep 15
done
3. Run tasker.
4. Open the game.
Aaaaand.....nothing happen.
Please assist.
TIA.
Have you ran the task? You say run Tasker, but you still have to run the task or specify an event/condition when to run it.
polobunny said:
Have you ran the task? You say run Tasker, but you still have to run the task or specify an event/condition when to run it.
Click to expand...
Click to collapse
Um.. I pressed the play button, then switched to the game to see if it works every 10 seconds. But didn't work
blueren said:
Um.. I pressed the play button, then switched to the game to see if it works every 10 seconds. But didn't work
Click to expand...
Click to collapse
You ticked Use Root in Run shell?
polobunny said:
You ticked Use Root in Run shell?
Click to expand...
Click to collapse
Edit - Oh no.. I had forgotten to set a profile. Now that it's done, I'm able to get the basic tap command working. But when i put it in the while loop, it fails.
Yes- root enabled. Basic command works, loop doesnt.
blueren said:
Edit - Oh no.. I had forgotten to set a profile. Now that it's done, I'm able to get the basic tap command working. But when i put it in the while loop, it fails.
Yes- root enabled. Basic command works, loop doesnt.
Click to expand...
Click to collapse
That will help you ;D
http://tasker.dinglisch.net/userguide/en/flowcontrol.html
polobunny said:
That will help you ;D
http://tasker.dinglisch.net/userguide/en/flowcontrol.html
Click to expand...
Click to collapse
I had done a silly mistake -__- how stupid of me. Things work now! Thanks for you help.
<<Thread can be closed>>
Thread closed - OP request.

[Q] DPI Changed

Hello Guys,
Today I was training to put my DPI higher, so my grandfather could see the screen.
Sadly when I booted with a DPI of 720, the process 'Trebuchet' stops.
The message of it, will continue again and again.
Do you guys maybe know how I can change my DPI back? (Using Recovery or bootloader)?
Thanks!
Try all winner apk. Not sure but might be it can help u.
vipsy6 said:
Try all winner apk. Not sure but might be it can help u.
Click to expand...
Click to collapse
I cannot boot my phone, so using an app is not a option.
The only thing I can do is use Bootloader and TWRP (recovery).
martijn.v said:
I cannot boot my phone, so using an app is not a option.
The only thing I can do is use Bootloader and TWRP (recovery).
Click to expand...
Click to collapse
Use adb, connect device to computer, adb shell, cd/system, open build.prop by using nano build.prop change DPI back to required value Ctrl x saves the file. Exit to get out of adb shell and reboot phone.
robt77 said:
Use adb, connect device to computer, adb shell, cd/system, open build.prop by using nano build.prop change DPI back to required value Ctrl x saves the file. Exit to get out of adb shell and reboot phone.
Click to expand...
Click to collapse
At his moment, I got another problem.
All the adb commands return: "error: device not found".
The USB Debugging is on, to do that, I used "setprop persist.service.adb.enable 1".
But now it still does not find the device.
martijn.v said:
At his moment, I got another problem.
All the adb commands return: "error: device not found".
The USB Debugging is on, to do that, I used "setprop persist.service.adb.enable 1".
But now it still does not find the device.
Click to expand...
Click to collapse
That is not good. can you boot into recovery? if so you can dirty flash ROM and it will change the DPI
robt77 said:
That is not good. can you boot into recovery? if so you can dirty flash ROM and it will change the DPI
Click to expand...
Click to collapse
Yes, I can boot into recovery. Right now im trying to change build.prop using the terminal. But that doesn't work out yet.
try this: https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi
aboicu said:
try this:
Click to expand...
Click to collapse
If you read my post, you could've seen that I cannot boot my phone.
So using that app will not help.
Extremely sorry that i have ignored that
Sent from my MT11i using XDA Premium 4 mobile app
171
Could somebody upload his/her build.prop?
I think that would do the job.
Sorry for my answer to your problem... I want to say that next time when you want to modify the DPI use the above app. Anyway, whatever...
I fixed it, with flashing a new rom.
After 20 tries, I could copy the .zip to my /sdcard/ folder and I could flash it.
Thanks for trying to/the help.

Stereo Speaker Mod

Hey guys, just got my Pixel today. I was wondering if there is a mod that turns the earpiece into a loud speaker like the mod for the XL? Thanks.
I am using this:
https://forum.xda-developers.com/pixel-xl/themes/mod-enabling-dual-speaker-audio-playback-t3492257
However, do note that the earpiece speaker is too soft and negligible to work together for Stereo. My goal is to get the speaker to be louder and it does that.
It's all explained in the thread
MasK said:
I am using this:
https://forum.xda-developers.com/pixel-xl/themes/mod-enabling-dual-speaker-audio-playback-t3492257
However, do note that the earpiece speaker is too soft and negligible to work together for Stereo. My goal is to get the speaker to be louder and it does that.
It's all explained in the thread
Click to expand...
Click to collapse
Does this work for the non-XL pixel? The reason I ask is because I thought that was only for the XL. I'll give it a try tomorrow though.
evolzar510 said:
Does this work for the non-XL pixel? The reason I ask is because I thought that was only for the XL. I'll give it a try tomorrow though.
Click to expand...
Click to collapse
Yes it does.
I followed the steps and set to force maximum gain all the time. Then froze the app as I didn't wan't the notification showing up. The setting just stays.
MasK said:
Yes it does.
I followed the steps and set to force maximum gain all the time. Then froze the app as I didn't wan't the notification showing up. The setting just stays.
Click to expand...
Click to collapse
Cool! Thanks.
MasK said:
Yes it does.
I followed the steps and set to force maximum gain all the time. Then froze the app as I didn't wan't the notification showing up. The setting just stays.
Click to expand...
Click to collapse
I just tried to do the mod and it hasn't worked for me. When I try to use the adb commands, it always says no such file or directory. I even tried the older method of dowloading the mixer_paths file but I can't change permissions for that. How did you manage to do it?
evolzar510 said:
I just tried to do the mod and it hasn't worked for me. When I try to use the adb commands, it always says no such file or directory. I even tried the older method of dowloading the mixer_paths file but I can't change permissions for that. How did you manage to do it?
Click to expand...
Click to collapse
Well, there are 3 steps.
For first step, I simply copied the gz file into the /data/local/tmp folder using root explorer. I found this method easier than ADB.
For 2nd/3rd step, you need to execute the commands in root shell. (type su, enter) to grant root access before doing the 2 commands.
MasK said:
Well, there are 3 steps.
For first step, I simply copied the gz file into the /data/local/tmp folder using root explorer. I found this method easier than ADB.
For 2nd/3rd step, you need to execute the commands in root shell. (type su, enter) to grant root access before doing the 2 commands.
Click to expand...
Click to collapse
When I try to type in the commands, it says "can't gzopen chdloc_hardware_audio_mods_pixel__no_ull.tar.gz........."
I've tried typing the adb commands on my computer and on my phone through Material Terminal app.
evolzar510 said:
When I try to type in the commands, it says "can't gzopen chdloc_hardware_audio_mods_pixel__no_ull.tar.gz........."
I've tried typing the adb commands on my computer and on my phone through Material Terminal app.
Click to expand...
Click to collapse
Hmm.. you got root access in your terminal right?
Try posting on the thread itself.. You may get better help there Sorry
MasK said:
Hmm.. you got root access in your terminal right?
Try posting on the thread itself.. You may get better help there Sorry
Click to expand...
Click to collapse
Yep, I finally managed to do it. And it is true what they say, the earpiece volume is a lot quieter than the bottom speaker but at least it's something, lol.
MasK said:
Yes it does.
I followed the steps and set to force maximum gain all the time. Then froze the app as I didn't wan't the notification showing up. The setting just stays.
Click to expand...
Click to collapse
Can you show me where you edited this setting, I built a magisk module for this mod and it is in the xl forum. People are asking about it being louder

Android app with no restrictions

Hello,
Is there a way to make an android application something closer to a system application?
I need the app not to be restricted in terms of background/foreground running, notification limit, sleeping mode, or such things.
I have access to the device.
I don't know a lot of stuff about this so please feel free to ask for further clarification.
grrigore said:
Hello,
Is there a way to make an android application something closer to a system application?
I need the app not to be restricted in terms of background/foreground running, notification limit, sleeping mode, or such things.
I have access to the device.
I don't know a lot of stuff about this so please feel free to ask for further clarification.
Click to expand...
Click to collapse
If you are rooted, you can make it a system app. Please clarify if you have root privledge. Do you have ADB access?
So you want to to have max permissiom? What is your real goal? Like the root cause of why, as you may not need what you are asking for. Also, what’s the app?
Arealhooman said:
If you are rooted, you can make it a system app. Please clarify if you have root privledge. Do you have ADB access?
Click to expand...
Click to collapse
No. The device is not rooted.
Arealhooman said:
So you want to to have max permissiom? What is your real goal? Like the root cause of why, as you may not need what you are asking for. Also, what’s the app?
Click to expand...
Click to collapse
The app has some services that need to run non-stop and it needs to wake up the device every time there is a notification. I cannot tell you about the app as it is work-related, sorry.
grrigore said:
No. The device is not rooted.
The app has some services that need to run non-stop and it needs to wake up the device every time there is a notification. I cannot tell you about the app as it is work-related, sorry.
Click to expand...
Click to collapse
Ah, i have no idea how your device works, but this may help: https://dontkillmyapp.com/
Arealhooman said:
Ah, i have no idea how your device works, but this may help: https://dontkillmyapp.com/
Click to expand...
Click to collapse
I've tried some of that but the system would still put my app to sleep.
grrigore said:
I've tried some of that but the system would still put my app to sleep.
Click to expand...
Click to collapse
Can you use Adb? Did you find some switch on your device that says it will turn off optimization.
Arealhooman said:
Can you use Adb? Did you find some switch on your device that says it will turn off optimization.
Click to expand...
Click to collapse
Yes, I can use ADB. There is a setting I've just discovered and I'm going to try it, but I'm still interested in other ways.
Well… use the string
Arealhooman said:
Well… use the string
Click to expand...
Click to collapse
I will, but if you have some resources on this matter I'd like to get them.
The Adb soulition is to remove doze mode,w high is a bad idea unless your really really need it.
Arealhooman said:
The Adb soulition is to remove doze mode,w high is a bad idea unless your really really need it.
Click to expand...
Click to collapse
Why is that a bad idea? The app is supposed to work 100% of the time. I mean the device is basically just for that app.
grrigore said:
Why is that a bad idea? The app is supposed to work 100% of the time. I mean the device is basically just for that app.
Click to expand...
Click to collapse
Ah, you could try it, but it disables dose for everythin, so that battery life would take a tremendous hit. If the device is connected to a charging source all the time, it would not matter though.
Arealhooman said:
Ah, you could try it, but it disables dose for everythin, so that battery life would take a tremendous hit. If the device is connected to a charging source all the time, it would not matter though.
Click to expand...
Click to collapse
Yes it is. I know there are some tradeoffs but the 100% running time is the goal.
grrigore said:
Yes it is. I know there are some tradeoffs but the 100% running time is the goal.
Click to expand...
Click to collapse
if you’d ant, try it, but if you found a better way, use that. Do you want the Adb code?
Arealhooman said:
if you’d ant, try it, but if you found a better way, use that. Do you want the Adb code?
Click to expand...
Click to collapse
I could use some help. I don't have much experience with this. Tutorials would also help or any other resources.
Enable USB debugging, Downlaod platform tool, open powershell in platform tools folder, give pc access to device data, run “adb devices” To see if works. If that doesn’t work, try “./adb devices” or “.\ usb debugging “
Arealhooman said:
Enable USB debugging, Downlaod platform tool, open powershell in platform tools folder, give pc access to device data, run “adb devices” To see if works. If that doesn’t work, try “./adb devices” or “.\ usb debugging “
Click to expand...
Click to collapse
I was able to adb shell into it.
Does adb devices work?
Arealhooman said:
Does adb devices work?
Click to expand...
Click to collapse
Sorry I got no notification for this. Yes.
Run
Code:
adb shell dumpsys deviceidle unforce

Categories

Resources