Sensors stopped working on Android 10 - OnePlus 5T Questions & Answers

Basically my sensors(camera, accelerometer, proximity etc.) won't work on Android 10 ROMs. I've tried OOS10, HOS10 and Paranoid Android. I have seen online that some other users in a similar situation with the OP5 managed to fix it by flashing the persist partition from another device. Could someone with a rooted 5T do me a massive favor? I need a persist.img file extracted.
Here's how you do it with adb on a PC:
Code:
adb shell
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
You should also be able to do it from Terminal on TWRP with the last command above.
Thanks in advance. I would really appreciate your help.
EDIT: I flashed the persist.img file from this thread. Don't worry, the file from the OnePlus 5 works perfectly on the OnePlus 5T. You have 3 ways you can install it:
using fastboot with the command:
Code:
fastboot flash persist persist.img
using adb with these commands :
Code:
adb shell
su
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist
using terminal in twrp with this command :
Code:
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist

Related

I need you help guys! I need d855 laf.img

Guys please help me, i need laf.img, i lost my download mode
just do this for me:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of =/storage/external_SD/laf.img # backup the stock recovery to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-recovery.img . # backup the recovery image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
EDIT: SOLVED! I manage to pull it out, i dont know how i did it, my hearts pumping like hell. GOSH! ALMOST A BRICK, GOODTHING I FIXED It.
Please help me!
Hey ehm.. just wanna ask if you still have the laf file ? Would be nice if u can send it to me.
I have the same problem... ^^ lost my dl-mode too
Guys!
Stop flashing ROMs if u dont know what you are doing....
niko626 said:
Guys please help me, i need laf.img, i lost my download mode
just do this for me:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of =/storage/external_SD/laf.img # backup the stock recovery to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-recovery.img . # backup the recovery image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
EDIT: SOLVED! I manage to pull it out, i dont know how i did it, my hearts pumping like hell. GOSH! ALMOST A BRICK, GOODTHING I FIXED It.
Click to expand...
Click to collapse
download fastboot&adb
download rom 10l kdz
extract kdz rom
rename laf.bin tu laf.img
copy laf.img tu sd memory&fastboot folder
run.bat in fastboot folder select
tipe: fastboot boot laf.img
run download mod
flash kdz rom
enjoy
I have the same problem. you can tell me how to fix, i lost download mode
with "adb shell", i have "error: device not found"
with "fastboot boot laf.img", i have "waiting for device"
Flash TWRP
IMANX2 said:
download fastboot&adb
download rom 10l kdz
extract kdz rom
rename laf.bin tu laf.img
copy laf.img tu sd memory&fastboot folder
run.bat in fastboot folder select
tipe: fastboot boot laf.img
run download mod
flash kdz rom
enjoy
Click to expand...
Click to collapse
I have the same problem. Can you tell me how to fix, i lost download mode
you can flash TWRP? or alternatively by the terminal always TWRP?
If you could write the commands?
thank you
hello
its very simple
just install AUTOREC.apk to uor phone & flash stock recovery
after that enter to recovery mod & do factory reset
your phone now have download mod

Help for unbrick ZTE Nubia Z7 Mini....:(

After repartition of internal memory i cant enable wifi and bluetooth.From that i understand the script didnt make proper backup and restore of
:customfs.img
fsc.img
fsg.img
parinfo.img
persist.img
ssd.img
Does anyone know how to flash again these file or whole system?
I had already used:
1)nandroid restore from previous condition
2)flash stock rom from stock recovery with no success...
Every opinion will be helpful......
i flash manually the files from recovery so now im ok.
Steps
1)Download this file (has everything you need) http://d-h.st/RLS
2)Unzip it
3)Boot Into recovery
4)Open a command promt on the unziped folder
5)Copy paste one by one these commands into command promt
Code:
adb shell mkdir /storage/sdcard1
adb shell mount /dev/block/mmcblk1p1 /storage/sdcard1 -t vfat
adb push part1.sh /tmp/part1.sh
adb shell chmod 0777 /tmp/part1.sh
adb shell /tmp/part1.sh
adb push persist /storage/sdcard1/persist
adb push customfs /storage/sdcard1/customfs
adb push fsg /storage/sdcard1/fsg
adb push fsc /storage/sdcard1/fsc
adb push ssd /storage/sdcard1/ssd
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/persist if=/storage/sdcard1/persist
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/customfs if=/storage/sdcard1/customfs
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/fsg if=/storage/sdcard1/fsg
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/fsc if=/storage/sdcard1/fsc
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/ssd if=/storage/sdcard1/ssd
You are ready
i have same problem with z7 max but in mine situation i cant see sim cards
can i use the same?
Petros_tigra said:
After repartition of internal memory i cant enable wifi and bluetooth.From that i understand the script didnt make proper backup and restore of
:customfs.img
fsc.img
fsg.img
parinfo.img
persist.img
ssd.img
Does anyone know how to flash again these file or whole system?
I had already used:
1)nandroid restore from previous condition
2)flash stock rom from stock recovery with no success...
Every opinion will be helpful......
Click to expand...
Click to collapse
hi ,
i have zte nubia z7 mini and i was installing z5s mini miui rom in my phone. when the process done phone went to off and hard to turn it on. when i connect to pc it doesn't even detect the phone usb and asking for installing phones usb drivers... please help me if its possible
Thank you Sir!
Your intelligence has saved my Z7 Max running stock ROM v1.59. Now the WiFi and Bluetooth is working as usual....
Can you please help me about this, i tried to repartiton the phone and i got the same situation phone works but wifi and bluetooth doesnt work, i try to download that link but it says link doesnt work any more files are missing. can you please help me about this.

[solved] TWRP Bootloop after LineageOS update/OTA

Hi, i'm stuck on TWRP 2.8.7.1 after a failed attempts to update LineageOS via OTA.
I cannot boot in bootloader nor in system, it always shows TWRP.
I found everywhere that in this case you should use these command lines :
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
but it gives me "no such file or directory" error :
Code:
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: can't open '/dev/block/platform/msm_sdcc.1/by-name/fota': No such file or directory
~ # ls /dev/block/platform/
7824900.sdhci 7864900.sdhci
These are the only files I have in /dev/block/platform/
I don't know why but I can't update TWRP via TWRP : when I try to flash the image it just proposes me to flash the boot partition (not the recovery).
What could I do ?
I forgot to mention I flashed the correct crackling LineageOS image afterward, and it worked, but I'm still blocked in TWRP.
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Hello, same twrp loop with 3.0.0 or brick with twrp 3.0.3 by fastboot
I find "fastboot continue" to boot in system
I'm testing with last nightly,
after update twrp with playstore
krodelabestiole said:
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Click to expand...
Click to collapse
This just saved my son's phone
Thanks for your message and knowledge on this matter. The force salutes you and is with you
I keep coming to this thread for the commands.
Thanks krodelabestiole
krodelabestiole said:
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Click to expand...
Click to collapse
This finally saved me. I was trying the same two commands that you started with and got the same "no such directory..." error and your new commands worked. That was a tense few hours.

XT1635-03 Power On Straight Away Go To Bootloader Mode

Hi, I have a XT1635-03 and have an issue of power on button go to bootloader mode instead of go to system. Phone is unlocked and on modified logo.bin. Any idea how to fix this symptom?
Thank you.
Hi,
First boot to twrp recovery menu and connect your phone via usb. And in your computer open the adb fastboot command And type the following:
adb shell dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
#but do a backup before! (just in case)
adb pull /dev/block/platform/msm_sdcc.1/by-name/misc misc.img
Sent from my VTR-L29 using Tapatalk
pocko said:
Hi,
First boot to twrp recovery menu and connect your phone via usb. And in your computer open the adb fastboot command And type the following:
adb shell dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
#but do a backup before! (just in case)
adb pull /dev/block/platform/msm_sdcc.1/by-name/misc misc.img
Sent from my VTR-L29 using Tapatalk
Click to expand...
Click to collapse
Thank you, but I'm currently on stock ROM (retcn).
So I have to flash TWRP, perform the 'dd' command and flash back the stock ROM and the issue will be gone?
Update: Flashed the TWRP and tried the 'dd', it returned error of no such file or directory.
dd: can't open '/dev/block/platform/msm_sdcc.1/by-name/misc': No such file or directory
Cheers.

v521 Bootloop after upgrading to TWRP 3.1.1-0, flashing latest Lineage

So it's been a while since I played with ROMs on my v521, but i just upgraded to TWRP 3.1.1-0, and tried to update lineage to the newest nightly. I'm not swuck in a boot-loop.
I've run the commands in terminal that fixed the issue last time I ran into it:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
To no avail - terminal says it can't find the files.
I've wiped everything, reformatted data, reinstalled TWRP, etc.
What's next? How can I break out of the loop?
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Xerloq said:
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Click to expand...
Click to collapse
I recently ran into this issue. Thanks for posting the fix!
You saved my butt with this, OP! Thank you!
For those who stumble onto this, the "terminal" he's referring to is the TWRP terminal that is accessible in TWRP>>Advanced>>Terminal.
Thanks for this fix! Could someone please tell me how to type an equal sign (=) in the TWRP terminal keyboard? I can't find it anywhere. I managed to give the tablet these commands with the adb shell.
How to upgrading 3.1.1-0?
How to upgrading 3.1.1-0?
yangseunghwan said:
How to upgrading 3.1.1-0?
Click to expand...
Click to collapse
I am using 3.1.1-0.
Thanks, this worked perfectly! I'm running TWRP-V521-3.0.2.0
How to type an "=" sign in TWRP terminal kb
channeledbymodem said:
Thanks for this fix! Could someone please tell me how to type an equal sign (=) in the TWRP terminal keyboard? I can't find it anywhere. I managed to give the tablet these commands with the adb shell.
Click to expand...
Click to collapse
I'll answer my own question in case someone comes here looking for the answer:
in twrp terminal keyboard to type "=" sign, tap ?123, then ~\{ for special characters including "="
Xerloq said:
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Click to expand...
Click to collapse
I have been stuck on this issue for over 5 hours thank you so mucn

Categories

Resources