How to fix sensor issues on android q [guide] - Google Pixel 3 Guides, News, & Discussion

First thing to do is to unlock bootloader and then root your device. Then go to terminal on pc and enable usb debugging. type:
adb shell
su
then copy and paste all this into the terminal window : https://del.dog/asovalisad.pl
then you can reboot your device and if you go to aida 64 it will tell you that all your sensors are working again. Tested on Pixel 3 (blueline) but it should work on every pixel. full credit to @ab123321 and @_LLJY

Related

[ROOT] Yet Another Way to Root Your Optimus One (Gingerbread)

Lets just go straight to the point :
Make sure that you've :
- Downloaded and extracted 'DooMLoRD's Easy Rooting Toolkit [v4.0](zergRush Exploit)' (ref : http://forum.xda-developers.com/showthread.php?t=1321582)
- Installed Android SDK to enable you to run ADB shell
- Enabled 'Unknown Sources' in your phone
- Enabled 'USB Debugging' in your phone
Step 1 :
- Open command line as Administrator and go to 'android-sdk/platform-tools' folder
- Run this command :
adb devices (after this command you should see your device id)
adb shell
echo 1 > /data/local/lge_adb.conf
- Leave the cmd windows open
Step 2 :
- Go to DooMLorD folder
- run 'runme.bat'
- press 'Enter' once and then once more
VOILA!!
p/s : You can close the 'cmd' windows now
Superoneclick method is better which dosent need android sdk installed
its just another way. no biggie
I rooted my O1 with Superoneclick and I recommend it , fast and safe
Sorry, where can i found superoneclick?
i have O1 with last ginger update, it's compatible?
kyrulamri said:
Lets just go straight to the point :
Make sure that you've :
- Downloaded and extracted 'DooMLoRD's Easy Rooting Toolkit [v4.0](zergRush Exploit)' (ref : http://forum.xda-developers.com/showthread.php?t=1321582)
- Installed Android SDK to enable you to run ADB shell
- Enabled 'Unknown Sources' in your phone
- Enabled 'USB Debugging' in your phone
Step 1 :
- Open command line as Administrator and go to 'android-sdk/platform-tools' folder
- Run this command :
adb devices (after this command you should see your device id)
adb shell
echo 1 > /data/local/lge_adb.conf
- Leave the cmd windows open
Step 2 :
- Go to DooMLorD folder
- run 'runme.bat'
- press 'Enter' once and then once more
VOILA!!
p/s : You can close the 'cmd' windows now
Click to expand...
Click to collapse
Superoneclick has zergRush exploit in it and more.
Anyone wanting to root their phone or flash baseband go into my guide, link is in my signature

Get rid of MI Apps and other preinstalled apps

In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Dude, big thanks for this tutorial. It was pushing notifications 5 times a day.
I won't be updating this MIUI pos henceforth
Failure [Not installed for 0] error
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
skysar said:
In the last MIUI update Xiaomi has disabled the option of disabling the notification for MI Apps which I don't want to use and don't want to see notifications from it. So, I searched the internet and found the trick.
Prerequisites:
1. PC with android SDK or Minimal ADB and Fastboot
Step 1 : Enable developer options on your phone
Step 2 : Enable USB debugging and USB debugging (Security settings) and connect it to your PC
Step 3 : Run Command Prompt as Administrator
Step 4 : Navigate to your ADB folder
Step 5 : Type
Code:
adb devices
Step 6 : then
Code:
adb shell
Step 7 : then
Code:
pm uninstall -k --user 0 com.xiaomi.mipicks
or any other package name you want to get rid of
Thats it. :good:
Enjoy
Click to expand...
Click to collapse
Call it a good disable because apps will be on phone. You can't get rid of them unless you root. Misleading headline.
Sag555 said:
After performing above steps to unistall Mi Apps ..I am getting error
failure [not installed for 0]
But I was able to uninstall Mi Browser and other google bloatwares.
Also tried disabling MIUI Optimization,
Suggest If there is a option.
I am having Redmi Note 4 with MIUI 9.5
EDIT :
I was entering wrong package name.Be carefull its com.xiaomi.mipicks....that 'a' sucks
Got rid of the error.
Click to expand...
Click to collapse
Thanks

Enable Night Light mode XZ1 or other xperias after and patch march 2018 WITHOUT ROOT

1.- Download the attachment and install the APK
2.- Connect your phone with debugging enabled to PC
3.- open terminal/cmd and type:
Code:
adb shell cmd overlay enable --user 0 android.res.night
4.- Reboot
5.- Profit!
XZ1 driver adb
https://developer.sony.com/file/download/xperia-xz1-driver-2/
or another xperia drivers
https://developer.sony.com/develop/drivers/
original guide
https://www.reddit.com/r/SonyXperia/comments/84wbov/_/dvtn29l/
original attachment
https://forum.xda-developers.com/showpost.php?p=74699293&postcount=1&nocache=1&z=1918994812515086
Notes:
I try 3 times (steps 3 and 4) and I did it
I have security patch of August, so March to August no problem
Thank you very much for this guide!
I think this should be in the 'Sony Xperia XZ1 Themes, Apps, and Mods' section, since this is a guide on how to use a mod: https://forum.xda-developers.com/cr...es-apps/oreo-enable-night-light-tile-t3713021
I found '[Oreo][Overlay] Enable Night Light tile' https://forum.xda-developers.com/cr...es-apps/oreo-enable-night-light-tile-t3713021 before stumbling about this thread.
For rooted devices with Magisk, uploaded module systemless to activate NightMode here : https://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/magiskoreo-screenrecorder-t3801150
 @Zero-21XX NightMode is "enhanced" by config_setColorTransformAccelerated>true for sd835/845/660, with better battery.
Code:
<resources>
<bool name="config_nightDisplayAvailable">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
</resources>
Attached apk includes both.
Zero-21XX said:
1.- Download the attachment and install the APK
2.- Connect your phone with debugging enabled to PC
3.- open terminal/cmd and type:
Code:
adb shell cmd overlay enable --user 0 android.res.night
4.- Reboot
5.- Profit!
XZ1 driver adb
https://developer.sony.com/file/download/xperia-xz1-driver-2/
or another xperia drivers
https://developer.sony.com/develop/drivers/
original guide
https://www.reddit.com/r/SonyXperia/comments/84wbov/_/dvtn29l/
original attachment
https://forum.xda-developers.com/showpost.php?p=74699293&postcount=1&nocache=1&z=1918994812515086
Notes:
I try 3 times (steps 3 and 4) and I did it
I have security patch of August, so March to August no problem
Click to expand...
Click to collapse
is it possible to use Android Pie? or in the future could have geito of activating what this in the mode developer?
This is not working on android pie. The apk cannot be installed. how it is not a feature by default.
Yeah not working on pie. I just switched back to cf lumen

How to fix sensor issues on android q [guide]

First thing to do is to unlock bootloader and then root your device. Then go to terminal on pc and enable usb debugging. type:
adb shell
su
then copy and paste all this into the terminal window : https://del.dog/asovalisad.pl then type enter.
if you go to aida 64 it will tell you that all your sensors are working again. DO NOT REBOOT, FIX DOESN'T STICK AFTER REBOOT Tested on Pixel 3 (blueline) but it should work on every pixel. full credit to @ab123321 and @_LLJY
Add "sync"
Hey if you're touching the persist partition, you'll want to add a "sync" command to flush content out to the disk / UFS.
zaacc said:
First thing to do is to unlock bootloader and then root your device. Then go to terminal on pc and enable usb debugging. type:
adb shell
su
then copy and paste all this into the terminal window : https://del.dog/asovalisad.pl then type enter.
if you go to aida 64 it will tell you that all your sensors are working again. DO NOT REBOOT, FIX DOESN'T STICK AFTER REBOOT Tested on Pixel 3 (blueline) but it should work on every pixel. full credit to @ab123321 and @_LLJY
Click to expand...
Click to collapse
Thank you for sharing the script.
A suggestion to try out: put this script in init so it is initialised at each reboot.
Let us know if it works!

Dual boot Redmi 9(GSi with miui)

prove:
I give a zip file.download and extract it.you can find a video watch it as the prove of this post
You can test GSi ROM without any data loss.....
Requirements:
1.Need a laptop with Linux (window also can do...but Linux is batter for CMD line)
2.Unrooted phone.(magisk patch boot not boot gsi for my case try it if it work or not)
3.vbmeta.img(flash it via 'fastboot flash vbmeta vbmeta.img')
3.java installed in your machine...
4.Working brain to solve Errors.:fingers-crossed::fingers-crossed:
Step 1:
Go to the link and download any official gsi arm64-ab version (I can not boot unofficial gsi..Descendant X....any room which it not boot remember you cannot boot it even fastbood method )
https://www.google.com/url?sa=t&sou...FjAAegQIARAB&usg=AOvVaw0IRaTTGUOyl04z17LCE96H
Step 2:
Extract and rename file as 'system.img'...
Step 3:
Now open CMD terminal from where your system.img located and paste this cmd...
simg2img system.img system_raw.img
Error and slove...
You need to install simg2img on Linux...
After install and run this CMD you found error like about header file magic or like something...do not worry... that's mean your system.img file already a raw file and do not need to convert it..just rename this file as 'system_raw.img'
Step 4:
Now open CMD terminal from where your system_raw.img located paste this cmd...
gzip -c system_raw.img > system_raw.gz
Wait for finish..
Step 5:
Now connect your phone with via cable and in developers options turn on usb debugging mood and run this CMA...
adb push system_raw.gz /storage/emulated/0/Download/
Wait for finish........
Step 6:
Now run this CMD..
adb shell setprop persist.sys.fflag.override.settings_dynamic_system true
Step 7:
Now run this CMD...
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
You need to varying your identity by fingerprints or parttern if your device has lock function on...after varify you will notice a notification like this...
Dynamic system update
That's mean you can successfully do my instructions....:cyclops::cyclops:..
Wait for finish....
Now you have two option restart or discard....
Tap restart to go to your gsi or discard to destroy gsi install....
On gsi you can do what you want..
If your work or discover finis then reboot the phone with power button option.
After reboot you are now miui and yes no data lost...
After some moments you can again get two options (Restart or discard)...
This process go untill you discard gsi...
If you stay gsi after reboot then run the CMD....
adb shell gsi_tool enable
Now you can stay gsi after reboot how many time you want...
Disable this feature now type this CMD ...
adb shell gsi_tool disable
If you face some problems....tell me want is your problem......
If you can dual boot your device the thanks is free...
Go throw below link for more information...
https://developer.android.com/topic/dsu
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Halloul said:
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Click to expand...
Click to collapse
I think it's better to provide your questions in Redmi note 9 fourms in Xda.
Check it :https://forum.xda-developers.com/redmi-note-9
Halloul said:
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Click to expand...
Click to collapse
Redmi note 9 supporting dynamic storage if it come with android 10 out of box..if you hava fastboot rom then go to image folder on it and find super.img.
If super.img found that's mean your are good to go...
Or if you find system.img and vendor.img then sorry
1st time its works great
Then i want to check another gsi but not showing in the notification menu
Mantipallykrishna said:
1st time its works great
Then i want to check another gsi but not showing in the notification menu
Click to expand...
Click to collapse
If you use two GSI. That's mean you install a a dynamic GSI over a GSI then the problem will happen. Because all GSI can not capable with it. If you flash dynamic GSI over MIui Rom then the problem not happened.when you in MIui then restart to go dynamic GSI.when you are in dynamic GSI then do not reboot your device just power off and then power on your device to go MIui.then you find the dynamic GSI restart option again.even if you can not find the notification then go to your device recovery option and reboot device from recovery mood.
Even if your problem not solve then you can activate GSI from adb cmd
adb shell gsi_tool enable
Then you can go GSI and when you reboot you can not go back MIui but it is good option to use GSI without data loss.to deactivate just run this adb cmd
adb shell gsi_tool disable
Now reboot and then you can back MIui again..
But remember to check if your dynamic GSI can connect you PC via adb.
This method work for me.I also face the same problem like you.hope you can solve your problem.and remember one thing that if you use magisk patched boot.img then you can not boot your dynamic GSI.I think it is a bug hopefully it will solve soon
the first time worked fine, then i tried the command: adb shell gsi_tool enable, for some reason i wasn't able to connect to gsi with adb to turn it off: adb shell gsi_tool disable
i flashed miui with miflash, but now the installation won't start again
just found out that when a micro sd card ist in the phone, for some reason dsu won't show up, i removed the micro sd card, restarted the phone, and now dsu shows in the notification bar
Shas45558 said:
prove:
I give a zip file.download and extract it.you can find a video watch it as the prove of this post
You can test GSi ROM without any data loss.....
Requirements:
1.Need a laptop with Linux (window also can do...but Linux is batter for CMD line)
2.Unrooted phone.(magisk patch boot not boot gsi for my case try it if it work or not)
3.vbmeta.img(flash it via 'fastboot flash vbmeta vbmeta.img')
3.java installed in your machine...
4.Working brain to solve Errors.:fingers-crossed::fingers-crossed:
Step 1:
Go to the link and download any official gsi arm64-ab version (I can not boot unofficial gsi..Descendant X....any room which it not boot remember you cannot boot it even fastbood method )
https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list&ved=2ahUKEwj04pKZwfnrAhVLfXAKHV8FAFcQFjAAegQIARAB&usg=AOvVaw0IRaTTGUOyl04z17LCE96H
Step 2:
Extract and rename file as 'system.img'...
Step 3:
Now open CMD terminal from where your system.img located and paste this cmd...
simg2img system.img system_raw.img
Error and slove...
You need to install simg2img on Linux...
After install and run this CMD you found error like about header file magic or like something...do not worry... that's mean your system.img file already a raw file and do not need to convert it..just rename this file as 'system_raw.img'
Step 4:
Now open CMD terminal from where your system_raw.img located paste this cmd...
gzip -c system_raw.img > system_raw.gz
Wait for finish..
Step 5:
Now connect your phone with via cable and in developers options turn on usb debugging mood and run this CMA...
adb push system_raw.gz /storage/emulated/0/Download/
Wait for finish........
Step 6:
Now run this CMD..
adb shell setprop persist.sys.fflag.override.settings_dynamic_system true
Step 7:
Now run this CMD...
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
You need to varying your identity by fingerprints or parttern if your device has lock function on...after varify you will notice a notification like this...
Dynamic system update
That's mean you can successfully do my instructions....:cyclops::cyclops:..
Wait for finish....
Now you have two option restart or discard....
Tap restart to go to your gsi or discard to destroy gsi install....
On gsi you can do what you want..
If your work or discover finis then reboot the phone with power button option.
After reboot you are now miui and yes no data lost...
After some moments you can again get two options (Restart or discard)...
This process go untill you discard gsi...
If you stay gsi after reboot then run the CMD....
adb shell gsi_tool enable
Now you can stay gsi after reboot how many time you want...
Disable this feature now type this CMD ...
adb shell gsi_tool disable
If you face some problems....tell me want is your problem......
If you can dual boot your device the thanks is free...
Go throw below link for more information...
https://developer.android.com/topic/dsu
Click to expand...
Click to collapse
its give me proble when in start activity at the end.
===========================================================
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Exception occurred while executing 'start-activity':
java.lang.IllegalArgumentException: No intent supplied
at android.content.Intent.parseCommandArgs(Intent.java:7790)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:341)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:438)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:189)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:11390)
at android.os.Binder.shellCommand(Binder.java:936)
at android.os.Binder.onTransact(Binder.java:820)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5216)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3162)
at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:169)
at android.os.Binder.execTransactInternal(Binder.java:1166)
at android.os.Binder.execTransact(Binder.java:1130)
=========================================================
Here Is the error code. Im on A11. Realme C3. But when Im use Dsu and download and install from dsu it works im confused ??
fire7ly said:
its give me proble when in start activity at the end.
===========================================================
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Exception occurred while executing 'start-activity':
java.lang.IllegalArgumentException: No intent supplied
at android.content.Intent.parseCommandArgs(Intent.java:7790)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:341)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:438)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:189)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:11390)
at android.os.Binder.shellCommand(Binder.java:936)
at android.os.Binder.onTransact(Binder.java:820)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5216)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3162)
at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:169)
at android.os.Binder.execTransactInternal(Binder.java:1166)
at android.os.Binder.execTransact(Binder.java:1130)
=========================================================
Here Is the error code. Im on A11. Realme C3. But when Im use Dsu and download and install from dsu it works im confused ??
Click to expand...
Click to collapse
Use dsu..it is easy method
Shas45558 said:
Use dsu..it is easy method
Click to expand...
Click to collapse
Yeah You Are Right ! . But Dsu gives Only Aosp Gsis. Which Is not So Great. If Any Ways I use Pixel Gsis it Would Be Great.
fire7ly said:
Yeah You Are Right ! . But Dsu gives Only Aosp Gsis. Which Is not So Great. If Any Ways I use Pixel Gsis it Would Be Great.
Click to expand...
Click to collapse
Hmm...thats is the point...use linux and when you input any cmd you must open cmd pannel from where you kept the rom which you try to installed...
Shas45558 said:
Hmm...thats is the point...use linux and when you input any cmd you must open cmd pannel from where you kept the rom which you try to installed...
Click to expand...
Click to collapse
you mean same directory where gsi present.
fire7ly said:
you mean same directory where gsi present.
Click to expand...
Click to collapse
Yes..
work in poco m3?
how about redmi note 9 pro sir? can you give me a link for the tut?

Categories

Resources