How to Flash / Repair Soft-Bricked Huawei P30 Lite - mobile

Hello Guys I had a little mistake and accidentally Soft-Bricked my Huawei Device. The device keeps on Boot looping. I've already done a SD-Card Update and an Update via DC-Phoenix.
The Update was Successfully but the device hast still no Operating System its just keep on Booting in eRecovery, or fastboot. Doing a eRecovery via Network or Factory Reset does not help.
So now I have no clue what else I can do.
Phone Information:
Model: MAR-LX1A
Firmware: MAR-L01A 9.1.0.220D(C891E4R2P1)
Vendor: demo
Country: eea
Bootloader FB lock: locked
Bootloader User lock: locked
Firmware Reset Protection (FRP): unlocked

Related

AWS IoT Jobs and OTA Updates when device is in sleep mode

What happens if I send an OTA Update and the device is in deep sleep mode? It wakes up immediately, waits for the next wake up and then runs automatically or it does not run at all on it?
Depends a lot on what your device is, how "deep sleep" and wakeup from it is implemented in this device and how it's connected to Internet.
Option 1: no. Most likely the networking hardware is switched off to save power and (if it's really deep sleep) the micro's core is also suspended (i.e. it doesn't execute code). In this state the device couldn't receive any messages from the network.
Option 2: depends on what the device does when it wakes up. If it connects to Internet and connects to AWS IoT and receives the command, then probably yes. This functionality is up to the developer of embedded firmware to design and implement. Otherwise no.

Automatically boot Kernel after we skip the auto boot in Uboot

I have an application which requires connecting two F&S boards with their default Uboot consoles connected to each other externally. This prevents them from loading the kernel since both of them locks each other by sending characters, since each uboot is waiting with "Hit any key to skip the autoboot".
I don't want to recompile the uboot to change the default console or silent the console. Is there any other solution so that once the uboot has been prevented from auto booting can reenter into the kernel boot state, for instance like booting after a predefined time?

Load USB Gadget Mass Storage module from C

Development platform: TI davinci processor with Linux OS
I am developing C program which receives user command over serial port and does the corresponding task. Basic task is to start and stop the video recording. And for retrieving the video to host pc from the embedded device, usb interface is used.
The partition used for storing the video file is loaded as USB gadget mass storage device using following kernel module for the user to save the video on host pc.
modprobe g_file_storage file=/root/usbstorage
But i want to load(or some otherway) this kernel module from the c function whenever user send a command to connect the embedded device to host. And disconnect whenever disconnect command is received.
As of now I'm able to load this module only from the shell.
Could any suggest any possible way of doing this from within the c-program.

ARM Trustzone, Open Virtualization SDK Boot stuck

I am currently working on something related to ARM Trustzone so I found this Open Virtualization (http://openvirtualization.org/)
I followed the documentation over the Sierra TEE build and boot guide to build and it compiles without issues.
However when I am trying to boot the system, it seems it loops in the "normal world" forever and the log shows the following:
Trying 127.0.0.1... Connected to localhost. Escape charater is '^['.
SW: Entering Secure Main
SW: UART driver initialized successfully the mount file system is 32
and the value is 0 file system successfully mounted in FAT32 nsk
load:load addr = 80000000, startaddr = 90d00000, size = 3aedcc Done
tzhyp_guest_context_init:SW: dispatch task id 0x111
It seems it loops in the normal world forever and the boot process is stuck at this point.
If anyone happen to work on this before please help.

How to write a simple usb driver for a hardware copyright protection dongle?

I want to create a USB driver, so my own C application to be able to get into my flash drive and take information from the imported flash drive.
OS: Windows
I start my app contains my USB driver and I plug-in my flash and its shows in Explorer that this drive is plugged and it is accessible, while that's happening, my app is checking that file data.txt EXIST if that file exist, program run next function, if not program, my program runs down/exit/!
If you are looking for a programmable USB dongle, I suggest inspecting this SO thread: Programmable USB dongles
The Windows Driver Kit should simplify your work or atleast help you at the start.

Resources