Need a favor... - Xiaomi Mi Max Questions & Answers

Need someone running stock MIUI 8 Global, China, Dev... doesn't matter, to run this command in terminal emulator or adb shell and post the /sdcard/miui_props.txt file, please:
Code:
getprop > /sdcard/miui_props.txt
Thanks in advance! :good:

nijel8 said:
Need someone running stock MIUI 8 Global, China, Dev... doesn't matter, to run this command in terminal emulator or adb shell and post the /sdcard/miui_props.txt file, please:
Code:
getprop > /sdcard/miui_props.txt
Thanks in advance! :good:
Click to expand...
Click to collapse
hi,I tried running the command in adb...I get an error saying "the system cannot find the path specified". I ran this on my hydrogen(3/32) running global dev (miui 8 global 6.10.13|beta).the host was win10 32bit os

wingryder said:
hi,I tried running the command in adb...I get an error saying "the system cannot find the path specified". I ran this on my hydrogen(3/32) running global dev (miui 8 global 6.10.13|beta).the host was win10 32bit os
Click to expand...
Click to collapse
From Windows prompt you have to run adb shell first. Try this hitting ENTER after each line:
Code:
adb shell
hit ENTER
Code:
getprop > /sdcard/miui_props.txt
hit ENTER
Thanks!

nijel8 said:
From Windows prompt you have to run adb shell first. Try this hitting ENTER after each line:
Code:
adb shell
hit ENTER
Code:
getprop > /sdcard/miui_props.txt
hit ENTER
Thanks!
Click to expand...
Click to collapse
i didnt know i had to type adb shell.anyways here's the file frm my hydrogen

Thank you! :good:
If some guys with 3GB and 4GB RAM heliums can run this as well that would be great...

wingryder said:
i didnt know i had to type adb shell.anyways here's the file frm my hydrogen
Click to expand...
Click to collapse
Sir, delete imei's, etc.

jjrojo said:
Sir, delete imei's, etc.
Click to expand...
Click to collapse
Good catch :good: Thanks....
*imei* lines should be deleted!!!

here my max 4GB/128GB, Global-Rom 8.1.1.0, MiUi 8.1
greets, Peter

Related

Setting Up Adb on Mac *CLOSED*

I have my Evo rooted with DC 3.1.1 and I also have Nand Unlock via Toasts Way. But I did all of this using Windows. I already installed Android SDK for Mac. But every time I try to execute a command after I do the cd /android-sdk/tools. It just says -bash: adb: command not found. Can anyone give me a hand?
same issue for me
nitty917 said:
same issue for me
Click to expand...
Click to collapse
If you need help. PM Me.
Use ./adb instead of adb
BearCavalry said:
Use ./adb instead of adb
Click to expand...
Click to collapse
That wont help at all.

Stock Browser FullScreen [MOD] [ECLAIR]

Hey,
So here is the stock browser (stock as in wht u get with samsung's firmware, not aosp) with fullscreen turned on.
Instructions :
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Uninstall/Reinstall Method
Code:
adb shell
su
rm /system/app/Browser.apk
rm /system/app/Browser.odex
pm uninstall com.android.browser
exit
exit
Now u have two options :
1.
Code:
adb install <drag Browser.apk here>
2.
Code:
adb push <drag Browser.apk here> /sdcard/Browser.apk
adb shell
su
cp /sdcard/Browser.apk /system/app/Browser.apk
exit exit
Download
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update.zip Method
Just flash this
Enjoy.
Looks awesome, will try it out but can't i just install this on the phone?
MAMBO04 said:
Looks awesome, will try it out but can't i just install this on the phone?
Click to expand...
Click to collapse
There will be a signature mismatch with the stock browser that is installed.
Once u uninstall it like i showed, then u can install/uninstall this like a regular app.
Edit : I cud make this into an update.zip if ppl want it tht way :S. That will replace the stock browser with this, but since core won't be running it won't complain about a digest mismatch in the manifest.
hmm okay i see an update.zip would be cool if you could thanks for this!
sorry for the stupid question, but... What do "fullscreen" means? What practical improvement we get?
daijirok said:
sorry for the stupid question, but... What do "fullscreen" means? What practical improvement we get?
Click to expand...
Click to collapse
It hides the status bar essentially. So u have literally the WHOLE screen to browse a page.
Thank you i will give it a try!
Sent from my GT-I9000 using XDA App
Thanks for the zip file, will flash it now
Sent from my GT-I9000 using XDA App
I can´t fash it in recovery menu. It will always show it is abort. What can I do?
Connecter said:
I can´t fash it in recovery menu. It will always show it is abort. What can I do?
Click to expand...
Click to collapse
Then do the alternate method as prescribed in the OP using adb.
Okay, I try. Typing it in a terminal or? He say "not found" ...
Connecter said:
Okay, I try. Typing it in a terminal or? He say "not found" ...
Click to expand...
Click to collapse
Do u have adb setup ?
Like if you open command prompt / terminal and type "adb devices", u should see ur device. if you see "adb not found" or "list of attached devices" with noting underneath it then u haven't setup correctly. Google for setting up adb on ur platform.
Thx for help. I have uninstall it without problems. But by the installation i typing:
# adb install browser.apk
adb install browser.apk
adb: not found
#
I have copying your browser.apk in the tools folder. So what do I do wrong?
Thx you!
Connecter said:
Thx for help. I have uninstall it without problems. But by the installation i typing:
# adb install browser.apk
adb install browser.apk
adb: not found
#
I have copying your browser.apk in the tools folder. So what do I do wrong?
Thx you!
Click to expand...
Click to collapse
well u shudnt do
adb shell
adb install browser.apk
U open command prompt and do adb install
Or u can just copy it to ur phone n install it like a regular app.
Daneshm90 said:
Or u can just copy it to ur phone n install it like a regular app.
Click to expand...
Click to collapse
When I what to install it. He say "Programm not installed".
Connecter said:
When I what to install it. He say "Programm not installed".
Click to expand...
Click to collapse
Try this Link
Daneshm90 said:
Try this Link
Click to expand...
Click to collapse
Thx, but same problem again.
Connecter said:
Thx, but same problem again.
Click to expand...
Click to collapse
Ok then u might've not uninstalled the system version properly.
When u ran the "pm uninstall" command,
U receive a "success" message ?
thx m8 ... great job its working !
Daneshm90 said:
Ok then u might've not uninstalled the system version properly.
When u ran the "pm uninstall" command,
U receive a "success" message ?
Click to expand...
Click to collapse
I do the first step again. Then I try to install it. Now I have the fullscreen browser. Big THX for your support!!

ADB cmd question(NOOB)

As this is my first time on XDA and im new to cmd.
I've been been trying to use XDA as my last resort, but here I am.
My question is i want to make a cmd script like a batch or however you call it but, I'll just jump to my question and tell you, i type in
adb devices
@echo off
set /p answer=Do you see your device? (Y/N):
pause
cls
adb shell
su
The problem is it that it doesnt go to my su command.
PLEASE HELP!!
I know after this i'll feel stupid
delijestefan said:
As this is my first time on XDA and im new to cmd.
I've been been trying to use XDA as my last resort, but here I am.
My question is i want to make a cmd script like a batch or however you call it but, I'll just jump to my question and tell you, i type in
adb devices
@echo off
set /p answer=Do you see your device? (Y/N):
pause
cls
adb shell
su
The problem is it that it doesnt go to my su command.
PLEASE HELP!!
I know after this i'll feel stupid
Click to expand...
Click to collapse
try using this:
echo "Do You See your device?(Y/N)"
read ans
if ans==Y;
then
adb shell
su
You will need to add semicolons wherver requires.Been a long time since i did batch programming so dont remember.
manasgirdhar said:
try using this:
echo "Do You See your device?(Y/N)"
read ans
if ans==Y;
then
adb shell
su
You will need to add semicolons wherver requires.Been a long time since i did batch programming so dont remember.
Click to expand...
Click to collapse
Thanks for replying but nah it didn't work, im getting so frustrated, but i'll keep trying on my own until i find a way
the command is:
adb shell "su"
okty2k said:
the command is:
adb shell "su"
Click to expand...
Click to collapse
Thanks for replying but yeah it works but after that none of my commands show up and even when i try to manually type i cant :|

Disable heads up OOS Oreo

I hope someone can help me here. I am looking to disable the annoying ugly heads up notifications that come on my phone.
I am rooted with magisk using OB4 8.1 Oreo. I also tried this on OB3 and it didn't work but I thought OB4 might work.
I have tried the terminal bmehtod and the dB method but both don't work for me. Is there a reason why or does anyone know a way to disable heads up. Thanks
Gravitybox allows you to disable them on a per-app basis or as a global setting.
Enable gaming mode
i use the same command as yours in adb, it works on OB4.
just add "adb shell" before the command.
Code:
adb shell settings put global heads_up_notifications_enabled 0
hassan_1000 said:
I hope someone can help me here. I am looking to disable the annoying ugly heads up notifications that come on my phone.
I am rooted with magisk using OB4 8.1 Oreo. I also tried this on OB3 and it didn't work but I thought OB4 might work.
I have tried the terminal bmehtod and the dB method but both don't work for me. Is there a reason why or does anyone know a way to disable heads up. Thanks
Click to expand...
Click to collapse
Need to do su command twice, so "su"-> enter then again "su" - enter.
lockmunk said:
i use the same command as yours in adb, it works on OB4.
just add "adb shell" before the command.
Code:
adb shell settings put global heads_up_notifications_enabled 0
Click to expand...
Click to collapse
i i want enable again what is the command
MsuatafaKhatab said:
i use the same command as yours in adb, it works on OB4.
just add "adb shell" before the command.
i i want enable again what is the command
Click to expand...
Click to collapse
Change 0 to 1
vkass said:
Need to do su command twice, so "su"-> enter then again "su" - enter.
Click to expand...
Click to collapse
This worked for me. Thanks so much!
lockmunk said:
i use the same command as yours in adb, it works on OB4.
just add "adb shell" before the command.
Code:
adb shell settings put global heads_up_notifications_enabled 0
Click to expand...
Click to collapse
it does not work with Terminal Emulator. I tried with Terminal Emulator and can see the result as sh: adb: not found.
I haven't tried it with my PC.
I found an alternative methods to do this.
Application Method:
2- HeadsOff app method [FREE]
a) Install "HeadsOff - TickerOn" - https://play.google.com/store/apps/d...oheadsup&hl=en
b) Open the application.
c) Disable the Heads-Up notifications clicking on Settings.
d) Select "Start the App" button.
e) If a "Notification access" screen appears, allow the app to control your notifications by ticking it.
f) Reboot your phone.
g) Done!
Terminal Emulator Method:
3- Terminal method (directly from your phone) [FREE]
a) Install "Terminal Emulator for Android" - https://play.google.com/store/apps/d...roidterm&hl=en
b) Open the application. Use the following command:
Code:
su
c) The indicator should change from "$" to "#". Do the following command now:
Code:
settings put global heads_up_notifications_enabled 0
d) Reboot your phone.
e) Done!
Thanks to @1edson
Posting link: https://forum.xda-developers.com/android/general/howto-4-to-disable-heads-notifications-t3197660

how to enter diagnostic mode in LOS14.1

i want to enter diagnostic mode in LOS14.1, i use command:
setprop sys.usb.config diag,adb
but it didn't work, pls help me,thk
kirtikhurana said:
Use this
Click to expand...
Click to collapse
i have try,but nothing change
kirtikhurana said:
you should be rooted unless it won't work.
Click to expand...
Click to collapse
i rooted,but these command work for lenovo offical rom,such as 048,062,232,244,251,not on los,any suggestion?
kirtikhurana said:
before that command i told. write the two.
adb shell
su
then diag commands.
during these commands your phone will prompt to grant permissions. Tap OK/Yes on phone
*remember to check Android bebugging Is ON in developer settings.
Even if you're unsuccessful you're probably doing wrong.
Click to expand...
Click to collapse
bro,setprop should be root,i know it,i use successful in lenovo offical rom, i told you,my question is: why not work for los,can you check it?

Categories

Resources