guino / Merkury1080P

Merkury1080P (CW017) Rooting and Customization
78 stars 16 forks source link

Rooting the device on v2.10.1, help!!! #4

Open braidenwhite opened 3 years ago

braidenwhite commented 3 years ago

Please help @guino, I'm having trouble getting my camera rooted. Here are the step I've done.

  1. Using GParted on Ubuntu, format the card to FAT32 and place files onto the root of the card
  2. Insert the card into the camera, while powered off.
  3. Hold down the reset button (which works because I have tried just resetting it), and power on for 5+/- seconds.
  4. Test by http://admin:056565099@IP/proc/cmdline or http://admin:056565099@IP/proc/self/root/mnt/mmc01/hac
  5. Nothing, btw the camera is using Port 80 for http, not 8090 if that helps? Not sure if it because of the software version.

Here is my device info: Model (MI-CW017) devname | "Smart Home Camera" model | "Mini 11S" serialno | "057781048" softwareversion | "2.10.1" hardwareversion | "M11S_H1_V10_F23" firmwareversion | "ppstrong-c51-tuya2_geeni-2.10.1.20210207" authkey | "3dhOfl9TAmLKEwogOXoAn4dZgE2f2Tp9" deviceid | "pp01c25394b19618018e" identity | "MR1906040100930166" pid | "aaa" WiFi MAC | "ac:5d:5c:9e:e8:9f"

Fat32_Card.zip

BrianFenn commented 3 years ago

I am having the same issue with 2.10.1.

Perhaps the Load Address isn't 81808000 or 81c08000 on Firmware version 2.10.1.

I tried to connect to the UART Pads to monitor the Kernel boot information like mentioned in this article, but instead of using a Raspberry Pi, I used an Arduino, but I did not know how to use UART with Arduino for Serial Monitor to get the Kernel's booting information.

Did you have any updates?

braidenwhite commented 3 years ago

No I've tried what I know to. Hoping someone will be able to help. I really would like to have this working with Hombridge/homekit...

guino commented 3 years ago

@braidenwhite your files seem ok but we have had some people not being able to install the hack due to the SD card formatting issues. Please try the following: 1-Erase the files from the SD card 2-Reboot device (so it starts clean without the files) 3-Open the PHONE APP, go into settings and tell it to format the SD card from the APP 4-Take formatted SD card to the computer and copy the files back to it (basically your zip file above) 5-Try to install the hack again (power up device while holding RESET button for 5 seconds)

@BrianFenn to use an ARDUINO (assuming it's a model with USB) you would have to write a sketch that would forward everything received from the UART RX PIN (connected to the camera) to the USB SERIAL port, the sketch would also need to forward anything received on the USB SERIAL port to the UART TX PIN (connected to the camera). That way the USB SERIAL connection of the ARDUINO could be used on the computer as a 'direct' link to the device's UART. Baud rate should be 115200 8N1 on everything. Typically when you boot up the device you may only see a couple of lines of text unless you press RESET during boot which would give you some more output (from trying to process the files on the SD card). If you do get to this point please email me (see my github profile for address) and I can give you some more pointers.

Yes it is possible that they may have changed the load address on the device, but I have never confirmed a case where the same device hardware model+firmware version has a different load address. Chances are the right format and/or SD card type would work for you since you are running a hardware+firmware that has been patched before.

braidenwhite commented 3 years ago

@guino Unfortunately using different SD cards and formatting via the steps listed, I'm still not able to root the cameral. Hopefully @BrianFenn will be able to help get the information you need. I don't have any way to use UART.

BrianFenn commented 3 years ago

Thanks, I will work on a sketch to access UART tonight.

Sent from the all new AOL app for Android

On Tue, Jul 20, 2021 at 11:25 AM, @.***> wrote:

@guino Unfortunately using different SD card and formatting via the steps listed. I'm still not able to root the cameral. Hopefully @BrianFenn will be able to help get the information you need. I don't have anyway to use UART.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

tcass1977 commented 3 years ago

I found that using fdisk as opposed to gparted gave me a working SD card. Something I believe in the utilities use of MBR or GPT partition schemes. Maybe this will help.

braidenwhite commented 3 years ago

I found that using fdisk as opposed to gparted gave me a working SD card. Something I believe in the utilities use of MBR or GPT partition schemes. Maybe this will help.

Thanks for the tip, but unfortunately this didn't help. 😭