mijia-1080P-hacks icon indicating copy to clipboard operation
mijia-1080P-hacks copied to clipboard

Hack for the new camera - mijia v3 / Basic 1080p

Open vitoo opened this issue 6 years ago • 121 comments

Hello,

here is a new xiaomi camera it's called mijia-1080P basic / mijia V3. It had a white back.

image

How can we build a firmware compatible for this camera ? Is it hard ?

Thanks for your help

vitoo avatar Sep 04 '18 18:09 vitoo

I'm also very interested by this topic. I can't get an old version anymore.

llimz avatar Sep 05 '18 08:09 llimz

Same problem for me. Impossible to downgrade firmware on my mijia with white back.

Thx for help :-)

gbarral avatar Sep 07 '18 15:09 gbarral

see https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/624

they are still trying

jnsw avatar Sep 11 '18 10:09 jnsw

It may takes months :smiley:

It's a cheap camera many hacker will try it

vitoo avatar Sep 11 '18 12:09 vitoo

@vitoo hopefully 😃

jnsw avatar Sep 12 '18 00:09 jnsw

You can downgrade the cam with https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/files/2320611/tf_recovery.for.SXJ02ZM.All.White.Xiaomi.1080P.smart.cam.zip and these files on root of sd card https://github.com/Filipowicz251/mijia-1080P-hacks/releases/download/0.8.7/release0.8.7.zip

... but there was no ssh server launched or something like that ... dont know whats happen or to do

Snotmann avatar Sep 13 '18 11:09 Snotmann

@Snotmann the 0.8.7 was released in March, so I don't think it will work with the all new full white camera

jnsw avatar Sep 13 '18 11:09 jnsw

@Snotmann @seewaldjan it will not work basically because the recovery of the V3 is already patched with the security flaws I found a year ago.

What you could do it to try to use the tf_recovery from the V2 and check if the camera starts.

The camera sensor might not work BUT if you can go to Mi App and upgrade the camera from there to whatever version is the latest for the V3, then there is a possibility we can hack that camera too.

willthrom avatar Sep 13 '18 15:09 willthrom

Forget it... it seems the architecture is different.. I need to take a look but it seems so:

V3: DECIMAL HEXADECIMAL DESCRIPTION 0 0x0 uImage header, header size: 64 bytes, header CRC: 0x3E8652CA, created: 2018-06-30 07:40:51, image size: 2240049 bytes, Data Address: 0x80010000, Entry Point: 0x80380060, data CRC: 0x6BAB1A28, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: gzip, image name: "Linux-3.10.14" 64 0x40 gzip compressed data, maximum compression, from Unix, NULL date (1970-01-01 00:00:00) 2621440 0x280000 Squashfs filesystem, little endian, version 4.0, compression:xz, size: 4484222 bytes, 1916 inodes, blocksize: 131072 bytes, created: 2018-06-30 07:42:42 9895936 0x970000 JFFS2 filesystem, little endian

v2: DECIMAL HEXADECIMAL DESCRIPTION 0 0x0 uImage header, header size: 64 bytes, header CRC: 0xF8DB532E, created: 2017-08-03 05:49:01, image size: 1909344 bytes, Data Address: 0x8000, Entry Point: 0x8000, data CRC: 0x4A5C7510, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-3.3.0" 18164 0x46F4 gzip compressed data, maximum compression, from Unix, NULL date (1970-01-01 00:00:00) 2752512 0x2A0000 Squashfs filesystem, little endian, version 4.0, compression:xz, size: 8932790 bytes, 1304 inodes, blocksize: 131072 bytes, created: 2017-08-03 05:51:01 13238272 0xCA0000 JFFS2 filesystem, little endian

willthrom avatar Sep 13 '18 16:09 willthrom

hello Any news ? the V3 is still no hackable to get a rtsp flow or to view the camera with a computer ?

gregou2007 avatar Sep 22 '18 13:09 gregou2007

Also hoping for updates. Hope there is something I can do to help

jaaperror avatar Oct 01 '18 09:10 jaaperror

Has anyone tried this approach on these V3 camera's?

https://github.com/miguelangel-nubla/videoP2Proxy

liaanvdm avatar Oct 04 '18 14:10 liaanvdm

not tried but i don't really understand how to make it work on a macbook ?

gregou2007 avatar Oct 07 '18 11:10 gregou2007

The v3 contains validation based on RSA

try_ft_mode() { if [ -f $ft_files_zip ] && [ -f $sd_mountdir/ft/secret.bin ];then mkdir -p $ft_running_dir $ft_decrypt $sd_mountdir/ft/secret.bin $ft_running_dir/md5.sum $ft_securekey_file if md5sum -cs $ft_running_dir/md5.sum;then unzip $ft_files_zip -q -d $ft_running_dir chmod -R 755 $ft_running_dir ft_mode=cat /proc/ft_mode if [ "$ft_mode" == "" ];then ft_mode=0 fi $ft_running_dir/ft_boot.sh ${ft_mode} ${ft_running_dir} return $? else echo "check fail" fi else echo "ignore ft mode" fi return 1 }

hmajed avatar Oct 17 '18 11:10 hmajed

Hi, i try this tf_recovery.img whith the hack https://github.com/Filipowicz251/mijia-1080P-hacks. The tf_recovery seems to work because the camera downgrade (3.4.4_0039) but the Tools is not installed. Impossible to connect using SSH. I can update 3.4.5_0046 whith mi-home but impossible to activate RSTP.

If anybody have idea :-)

gbarral avatar Oct 30 '18 07:10 gbarral

Has anyone tried this approach on these V3 camera's?

https://github.com/miguelangel-nubla/videoP2Proxy

This doesn't work unfortunately, the camera doesn't respond to the "get_ipcprop" command that's needed to get the stream running

joelhaasnoot avatar Nov 03 '18 20:11 joelhaasnoot

any news on this?

mgx0 avatar Dec 06 '18 16:12 mgx0

Russian Hello! That is, you want to say that none of the methods work. And you can remotely view the camera Mijia 1080 only with the application MiHome ???😕

чт, 6 дек. 2018 г. в 20:05, Thach Nguyen [email protected]:

any news on this?

Maybe no. Any idea where to start with this camera, trying to flash other fw won't work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Filipowicz251/mijia-1080P-hacks/issues/55#issuecomment-444949297, or mute the thread https://github.com/notifications/unsubscribe-auth/ARnx8PNl5zgKyMHCSS8TNy0T6OYDYRCHks5u2U5igaJpZM4WZfQI .

-- С Уважением, Генеральный директор ООО "Центральный Регион" Парамонов Сергей Александрович e-mail: [email protected] mob: +7(903)755-79-50

Sender76 avatar Dec 06 '18 17:12 Sender76

I can not understand one thing, so how can I hack this seemingly simple camera ... (((

Sergei Paramonov [email protected]

четверг, 6 декабря 2018 г., 23:09 +0300 от [email protected] [email protected]:

Yes, it works with Mi Home. Set Region to Main Land China, start pairing to any 2.4Ghz wifi and it should work. — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .

Sender76 avatar Dec 06 '18 20:12 Sender76

I want RTSP and I don't want any cloud service. Looks like I have a camera for sale now ... it speaks chinese, does not allow you to set your own country and is useless without cloud service where god knows who is watching your streams. thanks a lot, it's for sale

mgx0 avatar Dec 06 '18 20:12 mgx0

Same here. Hack does not work with the new model. I’m not leaving it on cloud service because the camera is in my living room. Wanted to use it to watch the dogs, but the idea of someone else watching my family is enough to leave it unplugged. Shame Xiaomi does not add local support.

Knuppel1983 avatar Dec 06 '18 22:12 Knuppel1983

For reference, i have the snowman version with white back, 1080p PTZ.

Knuppel1983 avatar Dec 07 '18 10:12 Knuppel1983

I would be very grateful if you would share!!! 07.12.2018, 13: 48, "Knuppel1983" [email protected]:For reference, i have the snowman version with white back, 1080p PTZ.—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.  --  

Sender76 avatar Dec 07 '18 14:12 Sender76

there is any news?

axlerose avatar Dec 12 '18 10:12 axlerose

It is working with openfang; check it out in openfang. A modified bootloader was compiled for this purpose but we need to open the camera and program it manually. We will check if we can surpass some protection to upload the new firmware.

anmaped avatar Dec 14 '18 10:12 anmaped

I have no problem to program the camera via serial

two questions:

  • do you have some pictures how to open the camera without breaking it please?
  • could you please paste here a link to a file to be programmed to camera please?

thanks

mgx0 avatar Dec 14 '18 10:12 mgx0

any news?

axlerose avatar Jan 01 '19 03:01 axlerose

I opened mine today. How to connect to the PC? Via an USB to UART? What are the pinouts?

img_20190105_141255

img_20190105_144301

I found this manual: https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf

marcotuna avatar Jan 05 '19 14:01 marcotuna

Please check more information at https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/624#issuecomment-451488962

anmaped avatar Jan 06 '19 19:01 anmaped

It is working with openfang; check it out in openfang. A modified bootloader was compiled for this purpose but we need to open the camera and program it manually. We will check if we can surpass some protection to upload the new firmware.

@anmaped can you explain how to make it working whit openfang

axlerose avatar Jan 07 '19 07:01 axlerose