Question Partially bricked phone - OnePlus Nord CE 5G

Good evening.
I have the following equipment and an unsolvable problem:
- Oneplus Nord CE 5G
- Twrp-3.5.2_11-ebba
- Bootloader unlocked
- ADB platform tools 30.0.5, 33.0.1 and 33.0.3
For the last five months I have been trying to root the phone but nothing works. The only thing I can start is twrp in recovery mode.
System boot generates: dm-verify device corrupted Force Dump kernel_restart.
Initially, internal and OTG USB showed 0MB but I could change the file internal file system and now it is showing the correct capacity. The laptop also detects it now as internal folder but no contents.
OTG USB never shows anything and I have tried different SUB sticks and formats.
There is no way to transfer anything from the PC to the phone or vice versa.
When in twrp recovery mode, the phone accepts ADB commands but whenever I try bootloader mode or fastboot mode from the twrp menu, I cannot issue fastboot commands from my laptop (which worked before when I unlocked the bootloader).
I believe the only way is to flash the phone completely and I have extracted the files using Payloader Dump.
However, without fastboot commands there is no way to transfer anything to the phone and install.
I have not tried an SD card yet and it would be a nano type.
Does anyone have any idea? I am seriously frustrated and have seen any error message imaginable.
Thanks a lot in advance.
Audoghast

Audoghast said:
Good evening.
I have the following equipment and an unsolvable problem:
- Oneplus Nord CE 5G
- Twrp-3.5.2_11-ebba
- Bootloader unlocked
- ADB platform tools 30.0.5, 33.0.1 and 33.0.3
For the last five months I have been trying to root the phone but nothing works. The only thing I can start is twrp in recovery mode.
System boot generates: dm-verify device corrupted Force Dump kernel_restart.
Initially, internal and OTG USB showed 0MB but I could change the file internal file system and now it is showing the correct capacity. The laptop also detects it now as internal folder but no contents.
OTG USB never shows anything and I have tried different SUB sticks and formats.
There is no way to transfer anything from the PC to the phone or vice versa.
When in twrp recovery mode, the phone accepts ADB commands but whenever I try bootloader mode or fastboot mode from the twrp menu, I cannot issue fastboot commands from my laptop (which worked before when I unlocked the bootloader).
I believe the only way is to flash the phone completely and I have extracted the files using Payloader Dump.
However, without fastboot commands there is no way to transfer anything to the phone and install.
I have not tried an SD card yet and it would be a nano type.
Does anyone have any idea? I am seriously frustrated and have seen any error message imaginable.
Thanks a lot in advance.
Audoghast
Click to expand...
Click to collapse
While your phone is in fastboot and connected to your laptop; How is it shown in device manager?

Good evening.
I found the solution to unbrick my Oneplus Nord CE 5G and here it is.
Status: - normal start leading to Qualcomm Crash Dump screen
- Recovery mode into TWRP possible but no transfer of files to/from phone
- No Fastboot possible
Procedure:
Install Qualcomm USB Drivers from
https://www.getdroidtips.com/download-qualcomm-qdloader-hs-usb-driver/
You may have to launch the command prompt as admin and type:
bcdedit /set testsigning on
I did not have to do it because the Qualcomm Driver installation did it for me.
After restart you will see the following message in the lower right side of your PC:
Testmode Windows 10 Pro + build number
To get rid of end at the very end type:
bcdedit -set testsigning off
Download the following package:
Europe: https://onepluscommunityserver.com/...BA/R/OnePlus_Nord_CE_EU_OxygenOS_11.0.9.9.zip
India:
https://onepluscommunityserver.com/...R/OnePlus_Nord_CE_India_OxygenOS_11.0.4.4.zip
These packages contain the MSM Download Tool and the respective files. Beware that you have to get the correct bundle for your phone. Other bundles contain MSM Download Tool too but will not be compatible and the tool generates a failure message.
Launch MSM and type OTHER at login.
Target was EU in my case.
Then click on start.
Now your phone needs to boot into EDL mode. It worked for me from the TWRP Reboot screen but supposedly starting the phone by holding the volume up and down buttons for 45 seconds does the same.
The screen will be totally black, no beep, no vibration, no feedback.
Then connect the USB cable and MSM will start working. After about 5 minutes the phone should be back to normal.
ADB commands worked again too (phone was being recognized as USB device under device manager). However, fastboot did not work. The device was listed as other device in the manager.
After updating the driver using the following files everything worked:
https://drive.google.com/drive/folders/1D96njoYn-n3alu3ggaK3Kw8hMGLKhJVg
Now I am back to rooting and will report about that too.
Good luck

Related

"lge android mtp device cannot start code 10". when in download mode

I am trying to flash a customer recovery to my device, but when the phone gets put in download mode i am getting " "lge android mtp device cannot start code 10". " I can not perform any of the essential fastboot commands because the device can't start. I have tried, updating drivers, and trying different mtp drivers available to me, none of which worked. I've tried to do this on 3 pcs running windows 7, 8 , and 10 and they all fail.
Is there a solution to this issue? surely i'm not the only one having this problem. Searching the forum yielded only Samsung results with the same error message. Following the lines of going to the registry and deleting a specific entry, it still didn't work, so please, any help?
PS. reinstalling the drivers for my device does nothing, and windows is already updated.
bump
Did you solved it? I have the same problem
Sunaj1 said:
I am trying to flash a customer recovery to my device, but when the phone gets put in download mode i am getting " "lge android mtp device cannot start code 10". " I can not perform any of the essential fastboot commands because the device can't start. I have tried, updating drivers, and trying different mtp drivers available to me, none of which worked. I've tried to do this on 3 pcs running windows 7, 8 , and 10 and they all fail.
Is there a solution to this issue? surely i'm not the only one having this problem. Searching the forum yielded only Samsung results with the same error message. Following the lines of going to the registry and deleting a specific entry, it still didn't work, so please, any help?
PS. reinstalling the drivers for my device does nothing, and windows is already updated.
Click to expand...
Click to collapse
because flashing twrp.... phone doesnt have to be in download mode..
you turn on phone plug usb. then install minmal adb
copy twrp file into adb folder/ keep pressed SHIFT KEY on empty space in minimal adb.. then right click mouse
then select start command prompt here.
then send command you should see a message on phone .. turn on screen. select ok. then again send command
the twrp files both one in sd card and in minimal adb and the command should be named the same for twrp. example twrp.v.1.1.3 the command has to be the same .. just edit command or both or rename twrp the twrp file.

Unable to load FireFireFire onto Kindle Fire Gen 2 / Device not mounting

I originally posted this question in XDA Assist yesterday. I was directed to this forum, and after reading more here, have added a few more questions/concerns with ***___**** that came after digging through the forum stickies. I know this has become a huge post, so apologies in advance.
I'm having some trouble mounting a Kindle Fire HD 7 Gen2 (Tate) in Fastboot mode on my system which is running Ubuntu 14.04.
I am new to any kind of Android development and have been following the excellent guides here by @kinfauns. Specifically I have the 5-scecond boot loop problem related to the power draw issue. The solution I'm pursuing is to swap the stock bootloader for FireFireFire. The guide says to do it with fastboot, since the conventional flash recovery method could be interrupted by the shutdown cycle.
******* After reading the Faq here, I am concerned that even if Fastboot were to detect the device, that simply using it to load the FireFireFire bootloader directly onto the device would cause the problem of the wall of fire because of the M-Shield issue. Seems I would have to follow these steps here or here to load FireFireFire as a 2nd bootloader (including downgrading the OS to v7.2.3), is that correct? Also one of those pages says not to use automated tools like FireFireFire... which I thought was a bootloader, so what bootloader should I use to get around the low battery cycle startup problem that FireFireFire specifically addresses with it's startup battery check *******
So now, just when I think I have a solution to my real problem, I get out the fastboot cable, connect the kindle to my PC, and I get an error in Nautilus.
******In one of the pages linked above, it makes a passing reference to some fastboot cables not putting the device in Fastboot. Since I cannot connect to the device in the first place when it is in "fastboot", I cannot use their method to confirm fastboot is working. When bootup with my fastboot cable, the "image" on the device does change from orange & flashing "Kinde Fire" to the orange "Kindle Fastboot" pic, so I'd to know if I can rule out the cable as part of my problem... *****
Here is the error from Nautilus: Unable to open MTP device '[usb:001,006]'. Attempting mtpfs at the terminal returns:
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=1949 and PID=0007) is a Amazon Kindle Fire (ID1).
Found 1 device(s):
Amazon: Kindle Fire (ID1) (1949:0007) @ bus 1, dev 6
Attempting to connect device
LIBMTP PANIC: Unable to find interface & endpoints of device
Unable to open raw device 0
I found a tutorial on Ubuntu forums for getting MTP to work that involved using lsusb command to get the device id, making entries in /etc/udeb/rules.d and /lib/udev/rules.d, supposedly to allow MTP to access the device with proper credentials. However that didn't work. It seems that in Fastboot I actually might not MTP to handle the device...
OTOH, when the device is NOT in Fastboot mode, it mounts just fine, both in Nautilus and for purposes of checking with the adb devices command....
***** Since yesterday, I back and compared the vendor and product codes reported in lsusb and noticed that they are the same regardless of whether I connect the device using a regular cable (when it mounts correctly) and the fastboot cable (when the screen says fastboot, and I get the "raw device" failure to mount. My understanding is that the hardware ID should be different if the device is in fastboot mode vs "normal" mode. Is that correct? How do I deal with this behavior if the device is supposed to load different drivers when in different modes?*****
However, it seems to me that what I want is for it to mount in file transfer mode instead of MTP mode when in fastboot. The fix for this exact issue in Windows (as reported on other sites) is to change the driver in Windows Device Manager.
***** The other thing I tried was using the modprobe command to manually start the usb-storage driver as explained here. However the step to confirm the driver was unsuccessful because the /var/log/messages file was not found by the tail command. Even though that is really an ubuntu / linux question, perhaps someone here can help with some guidance on confirming the mass storage driver as well?*****
Can anybody help with this problem please?
Thank you
Additional detail
In case it's helpful to diagnose the issue, I am now experiencing an odd behavior where the device starts out in Fastboot (using the fastboot cable), and then after about 30+ seconds, it automatically switches to the "swipe" screen as though it was in normal mode.
This happened after I went and rem'd out all references to this device in the MTP rules files. The first time I plugged it in, Ubuntu popup asked how it should handle the device. I didn't see "mass storage" so I hit cancel. At that point, it started to flop over from fastboot into normal automatically even though it is plugged into a fastboot cable.
My understanding was that a fastboot cable forced it into fastboot mode (or else was somehow device in-compatible with certain Kindles). I don't understand how the host OS could do this without issuing an ADB / shell command?

No ADB in Fastboot

I just purchased by OnePlus 3T and in the process of trying to unlock the bootloader. I have ADB while in stock oxygen os 4.0.2 but when entering fastboot to unlock the bootloader I no longer have access to the device. As per some searching I switched to a USB 2.0 port and still no luck. In device manager it shows my phone under "Other devices -> Android." I'm pretty sure i'm missing a driver for ADB, but can't figure out what is missing. Any help would be greatly appreciated!
http://www.androidusbdrivers.com/oneplus-3t-usb-drivers
Install, restart.
Specifically in folder you have adb files, hold Shift+Right Click, open command prompt.
fastboot devices to confirm connection
fastboot oem unlock to get started.
Search for the one plus 3t toolkit. It has the original one plus drivers.
Then install minimal adb and fastboot.
And it should work. If it doesn't, try on another pc.
Well it's been a while since my last new phone totally forgot to install USB drivers all good to go, newb mistake thank you!
or plug your phone into the pc and use the emulated cd drive that appears to get the drivers
Jo_Jo_2000 said:
or plug your phone into the pc and use the emulated cd drive that appears to get the drivers
Click to expand...
Click to collapse
After having my phone since Monday, I just now noticed that emulated drive when I had to nuke it earlier today, lol.

ADB/Fastboot problems with Open Beta 5 (7.1.1)

I have had a very eventful few hours and I'll do my best to explain. Earlier this morning I was rooted, twrp installed and running FreedomOS. I had this bright idea of flashing a file I had downloaded from the OP3T website. It was a firmware file (either the first option, the option before OB5). Everything was running smoothly until I got home and tried using fastboot at which point it just sticks on waiting for device. All normal options are checked (adb files installed, debugging selected, the works), but now I can not use fastboot what so ever. I did at one point sideload an OTA using adb sideload (filename.zip). I have tried just about every adb option I can think of to include: 15 second ADB and minimal adb and fastboot. I even deleted the OP3T drivers from my computer, reinstalled those drivers. I followed an article through technobuzz: http://www.technobuzz.net/download-oneplus-3-usb-drivers/
http://www.technobuzz.net/setup-adb-fastboot-drivers-for-nexus-oneplus-samsung-or-any-android/
I have been using adb and fastboot with no issues up til Open Beta 5 and now my PC and another PC is giving me crap and it's iritating the %%%k out of me.
adb reboot recovery works, adb devices work - showing that the device is connected. I checked the device manager and only found the portable devices. It's like my computer somehow magically deleted the adb driver and will not allow me to install an adb driver. I have no logs to check out....15 second adb was suppose to place a log file on the desktop, but it doesnt....it wont install
Here's what Im on:
OB5 (7.1.1) with stock recovery. I can not use fastboot commands. Here are some pics
http://imgur.com/a/y7iFE
http://imgur.com/a/SVVMg You should see something that says, "Android Device or ADB", but nothing - just MTP
http://imgur.com/a/62msw
I'm using windows 10, device signature is off
Essentially I just want to be able to fastboot flash TWRP and gain root.
Has anyone else experienced any kind of issues with OB5 and adb/fastboot
Btw I had the entire Android SDK installed on another computer and that did not work either....Any assistance would be greatly appreciated. I'm talking about you @redpoint73, lol
Oh boy, I've been summoned! I have to say, I'm not anywhere near knowledgeable yet with the 3T as I was with my past devices. But I'll try.
I assume you are properly trying fastboot commands while in fastboot mode (not in OS or recovery)? I assume so, since you already said it worked fine before the update. But it never hurts to ask the obvious, as a lot of folks forget that adb and fastboot work a bit differently (fastboot only in fastboot mode, adb only in OS or recovery - debugging only needed for adb, not fastboot).
Do you have the OP3T drivers installed? These are the files that Windows always opens whenever I connect the phone (while booted into phone OS), select File Transfer, and it gives the option to open the folder. Although I don't think you even need the drivers for fastboot to work. I unlocked the bootloader and flashed TWRP before I ever installed the OnePlus drivers. The generic fastboot drivers worked fine. But it's worth a try, to install the OP drivers.
I don't even know where to begin or how to reply to what you just said @redpoint73. I haven't attempted to use adb/fastboot commands since yesterday, so i have no idea as to rather it will work or not. If you have teamviewer, I can give your access to a backdoor to show you as it's easier to show then explain. Have you ever noticed when you download a zip from here: http://downloads.oneplus.net/devices/oneplus-3t/#title-section
it never saves the file as Open Beta 3, 4, or etc. It saves the file as this long-named file.zip rather than being something easy to understand. Im able to understand it now, but a few moments ago I wasnt. I "have" downloaded the OP3T drivers on multiple occasions with no success to to fastboot only adb. My computer recognizes the device though. When I go into device manager checking things out. I will have an option that says, "portable devices". when you select that option you'll go across through some contextual menus where you wind up seeing MTP. You should see MTP if you successfully installed the OP3T devices, but at the same time you should be able to see an option that says something along the lines of ADB or Android Debug Bridge, vice versa. My computer does not say that and I have no idea where to go from here. I have no logs or anything helping me out, so it's like finding a needle in the haystack. I do know that I have all of the prereq's such as debugging selected from developers options within the phone, device signature turned off through Windows, adb/fastboot installed, OP3T drivers installed - you know the works you usually need in order to get everything working right. What I might end up doing is just reformatting my entire laptop, installing a fresh copy of windows, fresh copy of adb/fastboot and going from there. My bootloader is unlocked and has been since I've owned the device. As of right now I'm on OB5 with stock recovery. Yesterday I tried three times to sideload one of the downloads from this site: http://downloads.oneplus.net/devices/oneplus-3t/#title-section
. However, my phone would end up saying, "installation failed" when Im in sideload mode. I'm thinking that might have something to do with a botched download from the OP3T server.
Looks like you found your solution here: https://forum.xda-developers.com/showpost.php?p=72046709&postcount=20
Fastboot/adb is usually as simple as reinstalling drivers, etc. as opposed to reformat the PC as you were considering. Reinstalling adb/fastboot was a good idea also, as I don't think I would have thought of that (although it makes perfect sense). So good job working it out!

How To Guide short and sketchy guide to rooting

1) get boot.img
from https://forum.xda-developers.com/t/...stock-roms-for-nord-ce.4296379/#post-85427971
a) install oxygen updater on phone
b) from oxygen updater settings turn on advanced mode
c) download OTA
2) move OTA to computer
adb pull /storage/self/primary/f90ffdf825051bb90cbec201868c32b4ae6ac6ec.zip .
3) from https://github.com/vm03/payload_dumper
a) download zip and install payload_dumper
b) Maybe need to install protobuf and bsdiff4
pip install protobuf
pip install bsdiff4
c) extract the boot.img
in the directory with payload_dumper.py
python3 payload_dumper.py <path_to>/payload.bin
Points 4,5 and 6 are from https://www.getdroidtips.com/root-oneplus-nord-ce-5g/
4) push magisk apk to phone
adb push Magisk-v23.0.apk /storage/self/primary
5) install Magisk and patch boot.img
6) download the patched image
adb pull /storage/emulated/0/Download/magisk_patched-23000_XARHP.img .
7) test image
adb reboot bootloader
fastboot boot boot.img
8) if the image work install magisk
on step 7) I get
fastboot boot magisk_patched-23000_D2y0e.img
< waiting for any device >
On another device (oneplus 7T) the fastboot command works fine, so I guess my tools work well.
How can I solve this?
(I run the platform-tools on linux, fastboot version 31.0.3-7562133)
tomlens said:
on step 7) I get
fastboot boot magisk_patched-23000_D2y0e.img
< waiting for any device >
On another device (oneplus 7T) the fastboot command works fine, so I guess my tools work well.
How can I solve this?
(I run the platform-tools on linux, fastboot version 31.0.3-7562133)
Click to expand...
Click to collapse
Did you boot your device in bootloader?
Easiest way to do that is with cmd and following command:
adb reboot bootloader
tomlens said:
on step 7) I get
fastboot boot magisk_patched-23000_D2y0e.img
< waiting for any device >
On another device (oneplus 7T) the fastboot command works fine, so I guess my tools work well.
How can I solve this?
(I run the platform-tools on linux, fastboot version 31.0.3-7562133)
Click to expand...
Click to collapse
That means your phone is missing device drivers, thereby your OS not recognizing the device when it's in bootloader mode. It is easy if a similar situation happened with Windows, but unfortunately, I don't know how to do the same in Linux.
Sony make.belive said:
Did you boot your device in bootloader?
Easiest way to do that is with cmd and following command:
adb reboot bootloader
Click to expand...
Click to collapse
Yes I did.
theincognito said:
That means your phone is missing device drivers, thereby your OS not recognizing the device when it's in bootloader mode. It is easy if a similar situation happened with Windows, but unfortunately, I don't know how to do the same in Linux.
Click to expand...
Click to collapse
Does the phone provide devices drivers? I'd expect the OS providing it. Anyway, I'll give it a try on Windows.
tomlens said:
Does the phone provide devices drivers? I'd expect the OS providing it. Anyway, I'll give it a try on Windows.
Click to expand...
Click to collapse
Again, don't know about Linux, but for Windows, yes. It does provide drivers. The first time I connected 8T on my Windows PC, it automatically showed an OnePlus drivers image, mounted like a disc. I used that for installing all the drivers (except EDL drivers). For EDL, you need Qualcomm drivers, which I got separately from the MSM thread (just check out any MSM thread of OP8/9 series).
PS: Unless you are planning to use the MSM tool for restoring the phone, you really don't need the EDL drivers.
theincognito said:
Again, don't know about Linux, but for Windows, yes. It does provide drivers. The first time I connected 8T on my Windows PC, it automatically showed an OnePlus drivers image, mounted like a disc. I used that for installing all the drivers (except EDL drivers). For EDL, you need Qualcomm drivers, which I got separately from the MSM thread (just check out any MSM thread of OP8/9 series).
PS: Unless you are planning to use the MSM tool for restoring the phone, you really don't need the EDL drivers.
Click to expand...
Click to collapse
I successfully unlocked the bootloader using Windows 10 now. I installed the android sdk platform tools and run into the same behavior as on linux. Connecting the Nord CE device in fastboot mode popped up a new device in device manager. The device driver was missing. I installed the driver after installing oneplus usb drivers for windows that I found in a OnePlus-USB-Drivers.zip on the internet (I'd rather download it from oneplus, but they do not offer anything like that). After that the fastboot oem unlock command worked as expected.
Usually oneplus devices provide the windows drivers in a separate partition that pops up on usb connection. But not on my Nord CE.
Wondered if i could request some assistance.....mines in recovery mode at the moment. Just managed to get twrp on there - ive found a few guides that have suggested flashing the individual compoments (which i tried) but got stuck half way down when some of the components would not flash due to being protected. As ive got TWRP on there i can now see that ive got 0mb for various areas including the storage...is there anyway i can format the storage from fastboot to give myself some space to load on a zip image and then flash from there?
ComfySofa said:
Wondered if i could request some assistance.....mines in recovery mode at the moment. Just managed to get twrp on there - ive found a few guides that have suggested flashing the individual compoments (which i tried) but got stuck half way down when some of the components would not flash due to being protected. As ive got TWRP on there i can now see that ive got 0mb for various areas including the storage...is there anyway i can format the storage from fastboot to give myself some space to load on a zip image and then flash from there?
Click to expand...
Click to collapse
The "TWRP" published here is incomplete and didn't help when it comes to reburning the ROM.
After a lot of research and experimentation, I think this is the best, safest and easiest way to recover from bricks.
JamboFE said:
The "TWRP" published here is incomplete and didn't help when it comes to reburning the ROM.
After a lot of research and experimentation, I think this is the best, safest and easiest way to recover from bricks.
Click to expand...
Click to collapse
Brilliant - thanks very much - ill reflash the original recovery and try again...!

Categories

Resources