[Non-ROOT] Fit status bar with notch - Xiaomi Mi 8 Themes, Apps, and Mods

Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
--Known problems--
Doesn't work with Hide notch
Doesn't work on Android Pie

ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Does this work on the Global version as well?
For me it doesn't open the file after the download.

ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Finally...tq

Anyway for root user?

it full notch same frist rom 9.5.5.0??
https://www.youtube.com/watch?v=pVL...LVIi6-u5w&index=7&t=0s&ab_channel=AlfarizkiCS

ShafiX94 said:
Anyway for root user?
Click to expand...
Click to collapse
U can also use it on rooted mi 8

catalindobre said:
Does this work on the Global version as well?
For me it doesn't open the file after the download.
Click to expand...
Click to collapse
Tested on mi 8 se with miui 10 by xiaomi.eu, but I think it works on mi 8.

Working well on Mi8 Root 8.8.30 EU room. thanks.

Works well with MIUI 10 8.8.30 China dev

nothing here

Can you show me how to root Mi8 v 8.8.30?
---------- Post added at 01:35 AM ---------- Previous post was at 01:34 AM ----------
harryntq said:
Working well on Mi8 Root 8.8.30 EU room. thanks.
Click to expand...
Click to collapse
Can you show me how to root Mi8 v 8.8.30?

What exactly is this supposed to do? Can you clarify? Show a before/after screenshot?

ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Works thank you! App must be installed for it to work. How does this fix work? is it a theme?

ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english

Works!
Thanks

it works! thanks..

Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c

Dekkerlion said:
Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c
Click to expand...
Click to collapse
Could you provide a screenshot?

sirsandrone said:
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english
Click to expand...
Click to collapse
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.

ztc1997 said:
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.
Click to expand...
Click to collapse
I've done it. I have windows 10, my mi 8 (that I belong only from yesterday) has the global rom 9.6.7.0 stable
Thanks a lot

Related

MTP Issue.. trick to directly access USB mount [SPECIALLY FOR MAC USERS]

hey guy's ... this trick ll help you to get rid from MTP when u plug ur device with usb and it asks for MTP media share...
after this trick u ll directly get the USB MASS STORAGE or USB MOUNTING access
STEP 1: Download/install Android Terminal Emulator, open it and type: su (to grant superuser permission)
then type setprop persist.sys.usb.config mass_storage,adb and execute the command
Step2: and Reboot phone typing reboot
It also works on ICS tested on ICS UCLE2
original link: samsung tweaks
Nice. I used the command line you gave but just used ADB WiFi and the entered it this way:
Code:
adb connect xxx.xxx.xxx.xxx
adb shell
su
setprop persist.sys.usb.config mass_storage,adb
reboot
I just go into USB Utilities in Settings on Gingerbread, or download Android File Transfer for ICS lol (on Mac OS X), but thanks I'll make sure to use this if I go back to GB.
Good One!
Thanks A lot. No need to go settings for USB mass storage.
Texantx said:
Good One!
Thanks A lot. No need to go settings for USB mass storage.
Click to expand...
Click to collapse
yeahh...
can you tell me how to undo this tweak? thanks...
I have Galaxy Note with stock kernel and stock everything but rooted and after I click disconnect storage (when android picture is yellow) there is a pop up asking me whether I want to restart MTP. Since I am too lazy right now to see about this matter on google and about mtp and what happens when I disconnect or connect I am asking you, would I choose to restart MTP or not to (it actually asks for mtp restart because he is mounting sd card again) and is there a command that can make it an automatic process like this one you have given to us.
Thank you.
rsage said:
can you tell me how to undo this tweak? thanks...
Click to expand...
Click to collapse
Sorry, just seen this thread, figured I'd answer your question;
It depends what it was already set to on your phone setprop sets a property. On my HTC One X, it was set to adb, so to restore the previous setting:
Code:
setprop persist.sys.usb.config adb
Hope that helps!
Just thought I'd chime in for Mac users. If you go to www.android.com/filetransfer there is an application that allows you to connect to Android phones via MTP and do transfers. No need for any adb stuff.
chrispy_212 said:
It depends what it was already set to on your phone setprop sets a property. On my HTC One X, it was set to adb, so to restore the previous setting:
Code:
setprop persist.sys.usb.config adb
Click to expand...
Click to collapse
On my Samsung SGS3, to return it to 'original' you would use:
Code:
setprop persist.sys.usb.config mtp,adb
---------- Post added at 10:15 PM ---------- Previous post was at 10:11 PM ----------
Stupifier said:
Just thought I'd chime in for Mac users. If you go to www.android.com/filetransfer there is an application that allows you to connect to Android phones via MTP and do transfers. No need for any adb stuff.
Click to expand...
Click to collapse
You're missing the point.
For me it's so I can mount the 2 storages onto my mac, so I can back them up using rsync in a script, from the command line. MUCH faster than crappy drag/drop using android file transfer.
Please Help!!
I've just did what you said, but I forgot to execute the "su" command. When I realized it, I redo the whole operation but typing the "su"command the terminal says he didn't find the command.
Still doesn't work...
raman21raman said:
hey guy's ... this trick ll help you to get rid from MTP when u plug ur device with usb and it asks for MTP media share...
after this trick u ll directly get the USB MASS STORAGE or USB MOUNTING access
STEP 1: Download/install Android Terminal Emulator, open it and type: su (to grant superuser permission)
then type setprop persist.sys.usb.config mass_storage,adb and execute the command
Step2: and Reboot phone typing reboot
It also works on ICS tested on ICS UCLE2
original link: samsung tweaks
Click to expand...
Click to collapse
I've tried as you said, but neither the Finder nor the Android Files Transfer see it. What can I do?
SimoPiersi said:
I've tried as you said, but neither the Finder nor the Android Files Transfer see it. What can I do?
Click to expand...
Click to collapse
try with usb debugging on from developer options
Already on...
raman21raman said:
try with usb debugging on from developer options
Click to expand...
Click to collapse
It was already on. Any ideas?
SimoPiersi said:
It was already on. Any ideas?
Click to expand...
Click to collapse
Im looking for an answer as well.

[GUIDE][SOLUTION] OnePlus 2 not showing in ADB but shows in Fastboot

Hi People !!!
I had my OP2 showing in fastboot but not being able to show in adb devices though other devices were showing correctly there.So,drivers were perfect.Also,I was able to use adb over wifi on my OnePlus 2 but not adb through cable.So,I set up on my mission to get it show.And after 10 hrs of a lot hassle,I am successful.
So,here is the guide.
Open windows command prompt (Windows Key + R)
Ènter: %HOMEPATH%\.android
and then press OK
This will open the hidden .android folder within Home Folder of the current user.
There you will see a file called: adb_usb.ini
Edit the file using Notepad or Editplus/Notepad+
Just add the text: 0x2A70
without pressing any additional enter key/new line characters, save the file
now go to command prompt and restart adb:
adb kill-server
adb devices
Now the device will start showing up!
If you don't see any adb_usb.ini file (This happened for me.) , do this :-
Click the Start menu. ...
Type "folder options" (without the quotes). ...
A dialog box with the title "Folder Options" will appear. ...
Click to uncheck the box for "Hide extensions for known file types".
Click the "OK" button at the bottom of the dialog box.
In the .android folder ,create a notepad file with name adb_usb.ini (Make sure .ini is not in the name but in the extension.)
In the notepad file , enter this :-
Code:
# add your vendor IDs, one per line
0x1949
0x18D1
0x2A70
8.) Save the file and close it...ANd follow the remaining steps.
I will be thankful to you a lot..
i have tried all the possible methods to connect via adb if this works..
ssly it will be awesome
Sent from my ONE A2003 using Tapatalk
Zeuscluts said:
I will be thankful to you a lot..
i have tried all the possible methods to connect via adb if this works..
ssly it will be awesome
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
Welcome. If you still have any issues connecting to adb, grant me Teamviewer access and I will help you out.
Sent from my ONE A2003 using Tapatalk
Naman Bhalla said:
Welcome. If you still have any issues connecting to adb, grant me Teamviewer access and I will help you out.
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
yes sure,
can we chat on hangouts
you can contact me on
[email protected]
Sent from my OP5.
I had the same problem! Will surely try! Thanks
Keep up the great work Naman..!!
Did somebody got this to work on Linux? Probably you need to adjust udev rules there to get it to work. Will try out today and let you know how it goes.
dansou901 said:
Did somebody got this to work on Linux? Probably you need to adjust udev rules there to get it to work. Will try out today and let you know how it goes.
Click to expand...
Click to collapse
You need to add a udev*rules file that contains a USB configuration. In the rules file, each device manufacturer is identified by a unique vendor ID, as specified by the ATTR{idVendor} property. To set up OP2 detection on Ubuntu Linux:
Log in as root and create this file:/etc/udev/rules.d/51-android.rules.
Use this format to add OP2 vendor to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="0666", GROUP="plugdev"
Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules
Done
I am 99.99 percent sure it will work.. But you should try and tell me.
Thanks.
Sent from my ONE A2003 using Tapatalk
Naman Bhalla said:
You need to add a udev*rules file that contains a USB configuration. In the rules file, each device manufacturer is identified by a unique vendor ID, as specified by the ATTR{idVendor} property. To set up OP2 detection on Ubuntu Linux:
Log in as root and create this file:/etc/udev/rules.d/51-android.rules.
Use this format to add OP2 vendor to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="0666", GROUP="plugdev"
Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules
Done
I am 99.99 percent sure it will work.. But you should try and tell me.
Click to expand...
Click to collapse
Didn't fix it for me, until I found out, that there also exists a ˝/.android/adb_usb.ini file . Has the same format as the Windows file.
/M
marlow925 said:
Didn't fix it for me, until I found out, that there also exists a ˝/.android/adb_usb.ini file . Has the same format as the Windows file.
/M
Click to expand...
Click to collapse
Sorry for asking, but does this whole issue affect Oneplus two devices with original stock ROM (Oxygen OS 2.1.0), too?
Or does it just affect devices with custom firmware?
coala-lumpur said:
Sorry for asking, but does this whole issue affect Oneplus two devices with original stock ROM (Oxygen OS 2.1.0), too?
Or does it just affect devices with custom firmware?
Click to expand...
Click to collapse
Probably both. I haven't tested stock Rom though.
/M
I have the opposite problem, adb works after using your guide but fastboot just doesnt :S
alankstiyo said:
I have the opposite problem, adb works after using your guide but fastboot just doesnt :S
Click to expand...
Click to collapse
Fastboot should not be affected by CM at all, as it's in the bootloader. Did it work before you made the changes ?
Maybe worth reinstalling the fastboot packages.
/M
marlow925 said:
Fastboot should not be affected by CM at all, as it's in the bootloader. Did it work before you made the changes ?
/M
Click to expand...
Click to collapse
I had a wrong driver, cant root for the moment but havent unlocked the bootloader so think that is the problem
Well. Without unlocking the bootloader you won't get anywhere. Fastboot is a bootloader feature. You don't need root for fastboot.
/M
Sent from my SM-P905 using Tapatalk
Didn't work for me.
So found mine in my install folder
c:\android\.android\adb_usb.ini
After each change below I ran adb kill-server then adb devices.
I already have the line 0x2a70, I first changed it to 0x2A70 (just in case)
tried renaming it to adb_usb.ini.bak, to see if it would recreate, nope.
renamed the folder .android to .android.bak and it created the adbkey and adbkey.pub but not the .ini.
So looking at the .android folder, I think I learned something new tonight, I assume this is the public/private key pair store for adb to do it's work? So it truly is just a usb connection issue then if it works over network and not with the usb cable connected yes?
So I even tried re-running the '15 seconds ADB Installer' version 1.3 by Snoop05 that I used originally and still no change. Any advice appreciated.
My ADB is working but the fastboot isn't working! Thank you for your help!
Still not detecting
I tried doing your steps but its not helping. My phone enters the fastboot mode but the pc never detects it.
Can u please help me out.
---------- Post added at 07:08 PM ---------- Previous post was at 07:05 PM ----------
williamt31 said:
So found mine in my install folder
c:\android\.android\adb_usb.ini
After each change below I ran adb kill-server then adb devices.
I already have the line 0x2a70, I first changed it to 0x2A70 (just in case)
tried renaming it to adb_usb.ini.bak, to see if it would recreate, nope.
renamed the folder .android to .android.bak and it created the adbkey and adbkey.pub but not the .ini.
So looking at the .android folder, I think I learned something new tonight, I assume this is the public/private key pair store for adb to do it's work? So it truly is just a usb connection issue then if it works over network and not with the usb cable connected yes?
So I even tried re-running the '15 seconds ADB Installer' version 1.3 by Snoop05 that I used originally and still no change. Any advice appreciated.
Click to expand...
Click to collapse
Same here!!!!!
any help would be appreciated
My fix was:
turn on adb over TCP on phone in developer options.
At cmd type:
adb connect <ip.address>
adb devices (now shows device)
adb reboot bootloader
Open another cmd if you don't get your prompt back and continue
still not working
i tried all the steps and my op2 only shows when connected via wifi but that is too slow for an adb backup, it still doesnt show up when connected over usb
any ideas? or is any info needed?

Found a way to remove Amazon ads on Moto G4 running Android Nougat! (xt1625)

Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Does it work on locked bootloaders?
Yes. AFAIK all Amazon G4 Prime's are locked bootloaders. This requires no root, nothing but a simple adb shell command!
Edit, Don't works.
How does it not work?
Thank you very much...
Works perfectly !!!!!!
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again
It works! I was doing it wrong, thanks for this friend! Now only root is missing! xD
Could someone give the command to uninstall the amazon widget app and the amazon photos app? Thank you
lerg96 said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again
Click to expand...
Click to collapse
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop
Hu
canhmeo said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop
Click to expand...
Click to collapse
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little ?)
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Thanks -- worked fine for me
Went into phone Settings then Apps -- forced stopped all running apps that I wanted to remove, cleared data for each, removed any updates and disabled whatever I could
Ran the adb uninstall command multiple times once for each app:
com.amazon.phoenix
com.amazon.widgets
com.amazon.clouddrive.photos
com.amazon.kindle
com.amazon.dee.app
com.amazon.drive
com.imdb.mobile
com.goodreads
com.audible.application
com.google.android.music
com.google.android.videos
Click to expand...
Click to collapse
Hi, all. Just wanted to say that this worked perfectly on my G4. My build number is NPJS25.93-14-4 (running Nougat) and the device is at the March 1, 2017 Security patch level.
I used Minimal ADB and Fastboot on a Windows 10 box. Enabled debugging on the phone, connected it, ran adb shell and entered the command as above. Big thanks to Jatan1986 as well for the additional commands which also worked great (I didn't uninstall everything but that list is terrific). Rebooted and the apps I uninstalled were gone. No more ads.
Oh, I did not do the force stop on the apps first. I performed just the steps above.
Much thanks for this method and post.
lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Happy to try and help - please list step-by-step what you have done and what messages you have received.
canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Make sure your computer can see your phone by typing
adb devices
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
I have seen the response to this method and it seems quite good.
I would like to know if this can affect any future update of Android from Amazon. I am looking to get Android 7.1.1 or Android O in the future and do not know if this change may cause any issue.
Thanks in advance.
titomalanguito said:
I I would like to know if this can affect any future update of Android from Amazon./QUOTE]
There's no way to know for sure.
Click to expand...
Click to collapse
lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Appreciate it! is working fine on my Moto g5
titomalanguito said:
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
Appreciate it! is working fine on my Moto g5
Click to expand...
Click to collapse
Pura vida!
I had a bit of trouble getting it to work on my Moto G4, just updated to Nougat. When I run the following code in an android terminal, it does not return an error, but pulls up a new line almost instantly.
Code:
pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, even after restarting
When I run the following while connected with adb, it returns "Success"
Code:
adb shell pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, but after restarting they were gone (Whoo!!)
I would really like to bypass the lockscreen entirely as I don't like to have a password, but they disabled that since that would bypass the ads. Pretty annoying

adb devices can't see the phone

Hi!
I have recently bought an F1 and I can't connect it to PC (Windows or Linux). I turned Developer options on and enabled USB debugging. I tried every option in "Select USB configuration". The adb devices command always give empty list. The PCs are OK because they work with every other phones. On Windows I even tried to install USB drivers but didn't help. Could you help?
Did u give administrator rights when opening your adb programm?
Ziegenjupp said:
Did u give administrator rights when opening your adb programm?
Click to expand...
Click to collapse
I tried "sudo apt kill-server", "sudo apt start-server" and "sudo apt devices" but didn't help.
bartatamas said:
Hi!
I have recently bought an F1 and I can't connect it to PC (Windows or Linux). I turned Developer options on and enabled USB debugging. I tried every option in "Select USB configuration". The adb devices command always give empty list. The PCs are OK because they work with every other phones. On Windows I even tried to install USB drivers but didn't help. Could you help?
Click to expand...
Click to collapse
Once you enable Usb debugging in phone. Restart the phone and connect to pc. A pop up appears to Authorize the pc. Once done you can check the ADB list. It will be displayed only after you add the pc to the trusted device in the pop up.
Hope this helps. Thanks
sssyraj
sssyraj said:
Once you enable Usb debugging in phone. Restart the phone and connect to pc. A pop up appears to Authorize the pc. Once done you can check the ADB list. It will be displayed only after you add the pc to the trusted device in the pop up.
Hope this helps. Thanks
sssyraj
Click to expand...
Click to collapse
I hardly believe but it worked! thanks
sssyraj said:
Once you enable Usb debugging in phone. Restart the phone and connect to pc. A pop up appears to Authorize the pc. Once done you can check the ADB list. It will be displayed only after you add the pc to the trusted device in the pop up.
Hope this helps. Thanks
sssyraj
Click to expand...
Click to collapse
I can now see my device and transfer files, but for some reason, I `sudo adb devices` still doesn't see my phone.
bartatamas said:
Hi!
I have recently bought an F1 and I can't connect it to PC (Windows or Linux). I turned Developer options on and enabled USB debugging. I tried every option in "Select USB configuration". The adb devices command always give empty list. The PCs are OK because they work with every other phones. On Windows I even tried to install USB drivers but didn't help. Could you help?
Click to expand...
Click to collapse
If u r running on windows 10, try this method to fix "adb issue" :-
Before fixing ADB not recognized error, you should confirm that Android SDK has been saved on your computer and you know its location.
Step 1: Right-click "Computer" and choose "Properties" on pop-up menu.
Step 2: Click "Advanced system settings" on the left panel in new window.
Step 3: In System Properties window, under "Advanced" tab, click "Environment Variables".
Step 4: Environment Variables is open now. You can edit or delete existing variables in list, or create new environment variables.
Under "User variables for isunshare", click "New" button to create a new variable for running ADB on computer.
Step 5: Type Variable name and Variable value. Click OK.
Variable name: Path
Variable value: C:\Users\isunshare\Downloads\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools
Step 6: You would see the new variable you just created in "User variables for isunshare". Click OK at the bottom.
Step 7: Open Command Prompt and type "adb", you would see ADB detailed information.
Now you have successfully fixed error "adb" not recognized as an internal or external program or batch file.
I've the same probelm during debloating my poco f1. Solved that by using this method.
who_i_am said:
If u r running on windows 10, try this method to fix "adb issue" :-
Before fixing ADB not recognized error, you should confirm that Android SDK has been saved on your computer and you know its location.
Step 1: Right-click "Computer" and choose "Properties" on pop-up menu.
Step 2: Click "Advanced system settings" on the left panel in new window.
Step 3: In System Properties window, under "Advanced" tab, click "Environment Variables".
Step 4: Environment Variables is open now. You can edit or delete existing variables in list, or create new environment variables.
Under "User variables for isunshare", click "New" button to create a new variable for running ADB on computer.
Step 5: Type Variable name and Variable value. Click OK.
Variable name: Path
Variable value: C:\Users\isunshare\Downloads\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools
Step 6: You would see the new variable you just created in "User variables for isunshare". Click OK at the bottom.
Step 7: Open Command Prompt and type "adb", you would see ADB detailed information.
Now you have successfully fixed error "adb" not recognized as an internal or external program or batch file.
I've the same probelm during debloating my poco f1. Solved that by using this method.
Click to expand...
Click to collapse
These instructions are for systemwide installation of adb. The OP's issue is not that. The correct advice has already been given and it has worked.
sssyraj said:
Once you enable Usb debugging in phone. Restart the phone and connect to pc. A pop up appears to Authorize the pc. Once done you can check the ADB list. It will be displayed only after you add the pc to the trusted device in the pop up.
Hope this helps. Thanks
sssyraj
Click to expand...
Click to collapse
In my case I am unable to do so as my phone is completely wiped clean. Tried updating the adb interface manually everytime I try to boot fastboot boot twrp.img I get a blank slightly lit-up screen.
Also adb devices shows nothing
C:\Users\shal1018\AppData\Local\Android\Sdk\platform-tools>adb devices
List of devices attached
C:\Users\shal1018\AppData\Local\Android\Sdk\platform-tools>adb shell
adb.exe: no devices/emulators found
sssyraj said:
Once you enable Usb debugging in phone. Restart the phone and connect to pc. A pop up appears to Authorize the pc. Once done you can check the ADB list. It will be displayed only after you add the pc to the trusted device in the pop up.
Hope this helps. Thanks
sssyraj
Click to expand...
Click to collapse
In my case My Phone is not accessible as its wiped clean..what do I do?
noahshines said:
In my case I am unable to do so as my phone is completely wiped clean. Tried updating the adb interface manually everytime I try to boot fastboot boot twrp.img I get a blank slightly lit-up screen.
Also adb devices shows nothing
C:\Users\shal1018\AppData\Local\Android\Sdk\platform-tools>adb devices
List of devices attached
C:\Users\shal1018\AppData\Local\Android\Sdk\platform-tools>adb shell
adb.exe: no devices/emulators found
Click to expand...
Click to collapse
This happened to me too. Recently with 12.0.2.0 modem, I did the wipe of system and data partition along with it I tried to update the twrp to latest using old twrp. With this, even fastboot can't be reachable ie. Lighting up but no image in fastboot and phone won't respond in even miflash. I had took it to Xiaomi service center and they put the software for a nominal price of 2.5 USD in India. There after we can change to whatever firmware we like.
So, try reaching the Xiaomi service center. Thanks
sssyraj said:
This happened to me too. Recently with 12.0.2.0 modem, I did the wipe of system and data partition along with it I tried to update the twrp to latest using old twrp. With this, even fastboot can't be reachable ie. Lighting up but no image in fastboot and phone won't respond in even miflash. I had took it to Xiaomi service center and they put the software for a nominal price of 2.5 USD in India. There after we can change to whatever firmware we like.
So, try reaching the Xiaomi service center. Thanks
Click to expand...
Click to collapse
Thanks for the respose..I was thinking of doing the same!
sssyraj said:
This happened to me too. Recently with 12.0.2.0 modem, I did the wipe of system and data partition along with it I tried to update the twrp to latest using old twrp. With this, even fastboot can't be reachable ie. Lighting up but no image in fastboot and phone won't respond in even miflash. I had took it to Xiaomi service center and they put the software for a nominal price of 2.5 USD in India. There after we can change to whatever firmware we like.
So, try reaching the Xiaomi service center. Thanks
Click to expand...
Click to collapse
Xiaomi service centre said the couldn't... would you mind telling me which state in India.. did you take it to?
noahshines said:
Xiaomi service centre said the couldn't... would you mind telling me which state in India.. did you take it to?
Click to expand...
Click to collapse
I got it serviced at Chennai, Tamil Nadu. My phone shown boot logo and loops due there isn't system as I wiped it. So they took it as Software issue and have done the software update for Rs 180. Sometimes we might need to pretend as novice to leave something to Professionals. Thanks.
Cheers
sssyraj.
Same with my POCO M3. Mi PC Suite device not detected, I can't unlock it too because can't be detected. I'm tired to follow multiple methods online, reinstalling, uninstalling vise versa even disabling antivirus, and reinstalling again and again with adminisrator rights. Thank you for any help will rise in soon to easily fix these issues.

how to uninstall system app in miui [without root,UB,TWRP]

1. Open Settings app and go to About phone and tap on MIUI version seven times until you see the message ‘You are now a developer’.
2. Go to Additional Settings, followed by Developer options and turn on USB debugging.
3. Connect the device to PC via USB cable and then run a command ‘adb devices’ in terminal/command prompt. You should get a pop-up on your device to ‘Allow USB debugging’ the device address should appear in the terminal as soon as you allow USB debugging.
4. If the device address appears in the terminal, run another command ‘adb shell’ in the terminal, following which the device code name should appear on the screen.(in our case violet)
5. Now find go into app info of the app you want to uninstall click on the i icon on the top right now u can see apk name u need that name for next step
6.type ( pm uninstall –k ––user 0 app name ) and click enter
for example
for uninstalling the mi browser u need to enter
pm uninstall –k ––user 0 com.android.browser
and click enter
i hope its help click on thumps up u love my post
any kind of help will be welcome
post your command below regarding any issue for redmi note 7 pro only
Working. :good:
Arif N01 said:
Working. :good:
Click to expand...
Click to collapse
How to run adb command can you help me please

Categories

Resources