connect w/ adb on device w/ broken touch/screen - Oppo Find 5

i have an oppo find5 device w/ broken touch/screen.
is there a way i can connect w/ adb to erase all data before i send it to be repaired?

Connect to adb and run
adb reboot bootloader
If already turned off boot your phone into the bootloader and run
fastboot -w or fasstboot erase userdata
If you wish to format the sdcard
You could use
adb shell "su -c rm -rf /sdcard/."

Related

trouble entering recovery mode

hi,
one of our members in and-roid.ir is facing a strange problem... his phone is s-off and recovery v.3 was flashed.
he was installing a rom and suddenly there was an error in the installation... he tried to enter recovery and restore a back up but when trying to enter recovery from bootloader instead of entering recovery mode it will enter fastboot mode...
he flashed recovery again but no luck...
suddenly when usb was plugged he entered recovery mode... he tried again with usb unplugged and couldn't enter recovery mode...
so after entering recovery mode with usb plugged memory card won't mount... he tried to manually mount it and still no luck...
any ideas what's the problem?and how to trouble shoot it?
any clues at all?
Reflash the misc partition. (you can see how to do this in the root HBOOT 1.00 thread) Or you can boot into recovery...
Go to fastboot
put the custom-recovery.img in your android-sdk/tools folder
fastboot boot (drag and drop recovery.img into cmd or terminal) press enter
so i have to do following commands? correct?
Code:
adb shell
su
...you should have root privileges now (showing #). Next thing is backing up misc partition and replacing it with one from hack4legend-v5.zip. Extract this zip somewhere and fire another command promt there. Now you should upload flash_image binary and misc1-2.img:
Code:
adb push flash_image /data/local/
adb push misc1-2.img /data/local/
...switch back to 1st command prompt and change permission of flash_image_binary:
Code:
chmod 755 /data/local/flash_image
...and backup your current misc partition:
Code:
cat /dev/mtd/mtd0 > /sdcard/misc_backup.img
Now flash misc1-2.img:
Code:
/data/local/flash_image misc /data/local/misc1-2.img
exit
Click to expand...
Click to collapse
I believe so yes

[SOLVED] Recover from Failed to process command error (0x120000)

Description of the Error:
I have tried to flash the .img files several times. Boot, recovery and userdata all flash just fine. However, when ever I flash system I get the following error:
Failed to process command error (0x120000)
Solution:
Alrighty, it took me 2 days but I finally figured out how to get past this dreaded error.
My Fastboot was unable to flash system.img (but successfully flashed boot, recovery, and userdata) to my rooted, unlocked US Xoom Wi-Fi Only running 3.1, 3.2, and/or 3.21 (yes I tried from all 3 versions using various update.zip methods).
I was attempting to revert to stock using the methods described in multiple threads on XDA, but couldn't get past the 0x120000 error when trying to flash the system.img.
Disclaimer:
This was done on an unlocked, rooted US Wi-Fi Only Xoom running HC 3.1. While this fixed my issue, I take no responsibility if the method does not work on 3G/4G versions, non-US versions, or just plain works differently between different devices. Using dd to flash images is not the safest route, but for me it was the only route.
Prerequisites:
Have adb and fastboot setup (e.g., through installing the Android SDK)
Have CWM Recovery installed on Xoom
Steps:
Download the stock HWI69 images from bwcorvus' sticky http://forum.xda-developers.com/showthread.php?t=1049485
Extract the image files into your platform-tools directory in the android-sdk
Reboot into recovery
Code:
adb push boot.img /sdcard/
adb push system.img /sdcard/
adb push recovery.img /sdcard/
adb push userdata.img /sdcard/
adb shell
su (if it doesn't bring you into root # prompt)
busybox dd if=/sdcard/boot.img of=/dev/block/mmcblk1p7
busybox dd if=/sdcard/system.img of=/dev/block/mmcblk1p8
exit
adb reboot bootloader
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
Follow lock instructions on device
Plugging into another USB slot solved mine
I had the same problem. 1200003 error.
Plugging the tablet without an extension cable directly in on of the back slots solved the prob.

Brick/ stuck?

I think I accidentally bricked my kf when I was attempting to root it, wheni turn it on it gets stuck on the flame triangle then freezes after a few minues, I can also boot into recover but I can't seem to mount the usb storage into the computer, it doesn't show anything on my cmputer or anythin so I can't copy the rom over to the storage inside. Is there any way to push a file throug fastboot? Sorry I'm a newb at all this
go into twrp and tap mount - mount sdcard - it will show up on your computer
if not check your drivers
I believe you can adb push files to your device if it booted into recovery (check your device is recognized by adb devices; if not it might be a driver issue), however TWRP also can mount your "sdcard" and have it show up on your PC like any other mounted device; look for the "mount" button.
Good luck!
So its a possibility I can access it through adb while its in recovery? Ill try as soon as I get home
Sent from my SPH-D700 using XDA App
Open adb shell and type
idme bootmode 4000
reboot
I assume that you are able to communicate to your KF.
Regards
Sent from my GT-S5830 using XDA App
i can't seem to access it through adb but i can through fastboot
well i made little progress
i took a random custom rom > took the system file > then packed into a zip file > flash with "fastboot flash system ect."
but now it goes through a boot loop into recovery (boots into the kindo logo for about 1/2 a second and then reboots into recovery automatically)
issue:
adb shell idme bootmode 4000
adb reboot
Or, if you can't get there through adb but can with fastboot
fastboot -i 0x1949 oem idme bootmode 4000
fastboot reboot

Not able to adb to Zuk Z1 from Mac.

hi All
I had a nexus 5 earlier. I have used adb and fastboot to install custom ROMs. My adb setup is fine.
I have put Zuk in dev-mode,
The following command works, The phone reboots.
fastboot -i 0x2b4c oem unlock-go​
None of the other commands work
adb reboot bootloader​
I have even tried to put phone is bootloader mode, manually using keys, and then tried to run adb commands. Even then it didnt work.
Do you think it can data wire issue, or am I missing some settings.
Running Mac OX El Captian.
viveksharma2108 said:
hi All
I had a nexus 5 earlier. I have used adb and fastboot to install custom ROMs. My adb setup is fine.
I have put Zuk in dev-mode,
The following command works, The phone reboots.
fastboot -i 0x2b4c oem unlock-go​
None of the other commands work
adb reboot bootloader​
I have even tried to put phone is bootloader mode, manually using keys, and then tried to run adb commands. Even then it didnt work.
Do you think it can data wire issue, or am I missing some settings.
Running Mac OX El Captian.
Click to expand...
Click to collapse
you need to add ./ infront of any command on mac.
like this
Code:
./adb reboot bootloader
the same goes for fastboot commands.
like this
Code:
./adb reboot bootloader
I am doing that already.

Phone Bricked During Update to android and I can't restore my backup

Hi, I bricked my phone 1 day ago, and I can't restore backup. The instruction say "run this command: imgman64.exe <backup.img> parts
fastboot boot recovery_unsecure.img
adb push fame_wp_unlocked.gpt /cache/
adb shell
sgdisk --load-backup /cache/fame_wp_unlocked.gpt /dev/block/mmcblk0
sync
sync
reboot
ADB should disconnect at this point
fastboot flash <partition> parts\<partition>.img"
(my lumia model is RM-914)
only fastboot work (also before first command)
when I boot my nokia to recovery_unsecure mode (twrp) Adb (if im not in sideload mode) doesn't detect my phone so I can't restore backup
twrp show me 0 mb in internal storege and sdcard

Categories

Resources