Hack Camera Xiaomi

Forum dédié aux caméras et aux fonctionnalités de vidéo-surveillance en lien avec DomoticZ.
bonebuster
Messages : 22
Inscription : 12 nov. 2017, 08:54

Re: Hack Camera Xiaomi

Message par bonebuster »

Bonjour

le hack fonctionne t'il toujours ?

quand j'insère a sd j'ai bien le "tada"
la caméra est bien connectée au réseau je peux la pingée

par contre elle fonctionne toujours dans Mihome
et les liens ne fonctionnent pas http://<IP-CAMERA>/cgi-bin/status.cgi

une idée j'ai fais une erreur ?
Ascari
Messages : 40
Inscription : 16 sept. 2017, 23:05

Re: Hack Camera Xiaomi

Message par Ascari »

J'ai refait hier après un update firmware et je peux confirmer tj ok
bonebuster
Messages : 22
Inscription : 12 nov. 2017, 08:54

Re: Hack Camera Xiaomi

Message par bonebuster »

je suis en firmware 3.2.0.30

rien a faire ça fonctionne pas
Ascari
Messages : 40
Inscription : 16 sept. 2017, 23:05

Re: Hack Camera Xiaomi

Message par Ascari »

En effet je viens de tester et ca ne marche plus.
Ascari
Messages : 40
Inscription : 16 sept. 2017, 23:05

Re: Hack Camera Xiaomi

Message par Ascari »

Voila la solution ici

https://www.dealabs.com/discussions/xia ... t-15904657

Il faut repasser sur firmware antérieur après c'est ok !
Xiaomi a blocké le Cam avec MAC 32.********* en dehors de chine si bien compris.


Code : Tout sélectionner

johndoe19 juillet4
Bon, je mets ça là pour tout le monde 
Le texte en anglais en spoiler et ma traduction en clair

I - Créer la carte SD qui nous servira au hack ET au downgrade

Spoiler
Flash Fang Hacks onto microSDDownload: XiaoFang v3.0.3.56Download: Fang Hacks (as of the time of this writing the latest version is v0.2.0)Put Fang Hacks on a microSD card (below steps credited to Bobby Romeo; while the link is a good read, contrary to what it states, DO NOT upgrade your firmware):WindowsFor Windows we can use a tool called Win32DiskImager. Download this small executable and proceed with these instructions while writing the file fanghacks_v0.2.0.img to the card.Mac OS XYou’ll need to get to the command line and proceed as follows. To list the disks currently connected:1diskutil listNext locate the target disk/card (assume disk2 for this example) and un-mount the disk.1diskutil unmountDisk /dev/disk2Then write the image.1dd if=/path/to/fanghacks_v0.2.0.img of=/dev/rdisk2 bs=1mLinuxOn Linux, very similar to Mac OS X, get to the command line with Terminal App and proceed as follows (assuming your SD card is sdb.)1dd if=/path/to/fanghacks_v0.2.0.img of=/dev/sdb bs=1MNote: If you’re wondering why we’re flashing Fang Hacks even if you might not necessarily use it: it nicely partitions the microSD card for us in order to properly load the v3.0.3.56 in the event we need to downgrade our camera to bypass the georestriction.Once the microSD is flashed with Fang Hacks, extract the XiaoFang v3.0.3.56 firmware to the “mmcblk0p1” folder on the microSD card. You’ll know if you did it correctly if the “cramfs-root” folder is in the same folder as the “bootstrap” folder as shown in the screenshot below.Afficher moins


1. telecharger le firmware 3.0.3.56 et le fichier image du hack
2. creer la carte SD bootable en utilisant l'image disque du hack. j'ai utilisé Win32DiskImager.
une fois créée, la carte contient un dossier bootstrap et un fichier .sh
3. extraire le contenu du firmware 3.0.x.x
4. copier le contenu extrait dans la carte SD
on aura par exemple le fichier .cramfs et le dossier cramfs-root à coté de bootstrap
Et hop! SD prête 

II - Le downgrade
Spoiler
Unplug the XFUsing the microSD card we prepared in the section above, insert it into the slot in the XF (it will lock in place, if you want to take out the card just gently push it in and it should pop back out)Hold down the Reset button on the XF while plugging it inContinue to hold down the Reset button. Don’t let go when you hear the voice prompts! Only let go when the orange LED light stops blinking.Follow the steps in the Getting Started section to hopefully pair your phone with the XFIf it still fails (i.e. times out), unplug the XF, plug it back in again, then attempt again.IMPORTANT: only unplug the XF after the orange LED light stops blinking AND you’ve attempted the pairing process at least once. If you unplug it while it is downgrading the firmware, you’ll end up bricking the XF.Afficher moins

1 . debrancher la XF (la XiaoFang, la cam quoi ...)
2. inserer la SD
3. appuyer sur Reset (bouton en plastique appelé aussi Setup) tout en branchant l'alimentation. Rester appuyé
4. Rester appuyé
5. Rester appuyé même si on entend la voix nous parler en chinois
6. la LED orange arrête de clignoter (ou s'éteint), on peut relacher le bouton
bien penser à rester appuyé, oui je sais je l'ai dit, mais ça m'a pris plus de 2 minutes, et j'étais pret à lacher! Chose qu'il faut SURTOUT PAS FAIRE, au risque de bricker la cam!!
7. Suivre la procédure normale de setup de la cam en utilisant Mi Home 4.0.11 pour Android (reglé sur Mainland China)
7.a. lancer l'appli -> add device -> choisir celle dont le nom est en chinois (pas la iSmartAlarm)
7.b. appuyer sur setup 3 secondes, ça parle chinois, appuyer sur suivant dans l'appli, mettre le mot de passe wifi, le QR code est généré
7.c montrer le code à la XF, attendre que ça se regle, ça va doucement jusqu'à 75% puis saute à 100% ... si ça reparle en chinois pendant, c'est qu'il ya eu erreur de connexion
7.d setup OK, la led clignote bleu 
7.e l'appli marque "1/3 Connecting"pendant un certain moment, jusqu'à 2 minutes, puis ça se connecte et on est content 

si ça marche pas, recommencer, recommencer, recommencer ... 6 fois pour moi, ça pourrait être plus, et ça fait mal au doigt ce petit machin pour resetter 
Ah autre chose, au début j'ai essayé avec une carte 64 Go, il parait que ça ne prend que 32 max ... ça a marché avec la carte de 16, j'ai pas réessayé celle de 64

8. proceder au hack
8.a debrancher et retirer la carte SD
8.b brancher, attendre la LED bleue (fixe ou clignotante)
8.c inserer la SD
8.d entendre "ding dong"
9.e sur un navigateur d'un appareil branché sur le même reseau, aller sur la page http : // adresse-ip-de-ta-cam / cgi-bin / status/
10 lancer le hack et enjoy

Hope this helps at least someone 
barbou2
Messages : 1
Inscription : 07 déc. 2017, 18:20

Re: Hack Camera Xiaomi

Message par barbou2 »

bj j ai une foscam fi9816p qui peux me dire pourquoi j ai l image en mosaique seulement merci
Ascari
Messages : 40
Inscription : 16 sept. 2017, 23:05

Re: Hack Camera Xiaomi

Message par Ascari »

Barbou2 pas sur ce post, consacré à la Xiaomi ;)
ericd
Messages : 157
Inscription : 24 janv. 2017, 11:04
Localisation : Toulouse

Re: Hack Camera Xiaomi

Message par ericd »

Merci beaucoup Ascari

Ascari a écrit :Voila la solution ici

https://www.dealabs.com/discussions/xia ... t-15904657

Il faut repasser sur firmware antérieur après c'est ok !
Xiaomi a blocké le Cam avec MAC 32.********* en dehors de chine si bien compris.


Code : Tout sélectionner

johndoe19 juillet4
Bon, je mets ça là pour tout le monde 
Le texte en anglais en spoiler et ma traduction en clair

I - Créer la carte SD qui nous servira au hack ET au downgrade

Spoiler
Flash Fang Hacks onto microSDDownload: XiaoFang v3.0.3.56Download: Fang Hacks (as of the time of this writing the latest version is v0.2.0)Put Fang Hacks on a microSD card (below steps credited to Bobby Romeo; while the link is a good read, contrary to what it states, DO NOT upgrade your firmware):WindowsFor Windows we can use a tool called Win32DiskImager. Download this small executable and proceed with these instructions while writing the file fanghacks_v0.2.0.img to the card.Mac OS XYou’ll need to get to the command line and proceed as follows. To list the disks currently connected:1diskutil listNext locate the target disk/card (assume disk2 for this example) and un-mount the disk.1diskutil unmountDisk /dev/disk2Then write the image.1dd if=/path/to/fanghacks_v0.2.0.img of=/dev/rdisk2 bs=1mLinuxOn Linux, very similar to Mac OS X, get to the command line with Terminal App and proceed as follows (assuming your SD card is sdb.)1dd if=/path/to/fanghacks_v0.2.0.img of=/dev/sdb bs=1MNote: If you’re wondering why we’re flashing Fang Hacks even if you might not necessarily use it: it nicely partitions the microSD card for us in order to properly load the v3.0.3.56 in the event we need to downgrade our camera to bypass the georestriction.Once the microSD is flashed with Fang Hacks, extract the XiaoFang v3.0.3.56 firmware to the “mmcblk0p1” folder on the microSD card. You’ll know if you did it correctly if the “cramfs-root” folder is in the same folder as the “bootstrap” folder as shown in the screenshot below.Afficher moins


1. telecharger le firmware 3.0.3.56 et le fichier image du hack
2. creer la carte SD bootable en utilisant l'image disque du hack. j'ai utilisé Win32DiskImager.
une fois créée, la carte contient un dossier bootstrap et un fichier .sh
3. extraire le contenu du firmware 3.0.x.x
4. copier le contenu extrait dans la carte SD
on aura par exemple le fichier .cramfs et le dossier cramfs-root à coté de bootstrap
Et hop! SD prête 

II - Le downgrade
Spoiler
Unplug the XFUsing the microSD card we prepared in the section above, insert it into the slot in the XF (it will lock in place, if you want to take out the card just gently push it in and it should pop back out)Hold down the Reset button on the XF while plugging it inContinue to hold down the Reset button. Don’t let go when you hear the voice prompts! Only let go when the orange LED light stops blinking.Follow the steps in the Getting Started section to hopefully pair your phone with the XFIf it still fails (i.e. times out), unplug the XF, plug it back in again, then attempt again.IMPORTANT: only unplug the XF after the orange LED light stops blinking AND you’ve attempted the pairing process at least once. If you unplug it while it is downgrading the firmware, you’ll end up bricking the XF.Afficher moins

1 . debrancher la XF (la XiaoFang, la cam quoi ...)
2. inserer la SD
3. appuyer sur Reset (bouton en plastique appelé aussi Setup) tout en branchant l'alimentation. Rester appuyé
4. Rester appuyé
5. Rester appuyé même si on entend la voix nous parler en chinois
6. la LED orange arrête de clignoter (ou s'éteint), on peut relacher le bouton
bien penser à rester appuyé, oui je sais je l'ai dit, mais ça m'a pris plus de 2 minutes, et j'étais pret à lacher! Chose qu'il faut SURTOUT PAS FAIRE, au risque de bricker la cam!!
7. Suivre la procédure normale de setup de la cam en utilisant Mi Home 4.0.11 pour Android (reglé sur Mainland China)
7.a. lancer l'appli -> add device -> choisir celle dont le nom est en chinois (pas la iSmartAlarm)
7.b. appuyer sur setup 3 secondes, ça parle chinois, appuyer sur suivant dans l'appli, mettre le mot de passe wifi, le QR code est généré
7.c montrer le code à la XF, attendre que ça se regle, ça va doucement jusqu'à 75% puis saute à 100% ... si ça reparle en chinois pendant, c'est qu'il ya eu erreur de connexion
7.d setup OK, la led clignote bleu 
7.e l'appli marque "1/3 Connecting"pendant un certain moment, jusqu'à 2 minutes, puis ça se connecte et on est content 

si ça marche pas, recommencer, recommencer, recommencer ... 6 fois pour moi, ça pourrait être plus, et ça fait mal au doigt ce petit machin pour resetter 
Ah autre chose, au début j'ai essayé avec une carte 64 Go, il parait que ça ne prend que 32 max ... ça a marché avec la carte de 16, j'ai pas réessayé celle de 64

8. proceder au hack
8.a debrancher et retirer la carte SD
8.b brancher, attendre la LED bleue (fixe ou clignotante)
8.c inserer la SD
8.d entendre "ding dong"
9.e sur un navigateur d'un appareil branché sur le même reseau, aller sur la page http : // adresse-ip-de-ta-cam / cgi-bin / status/
10 lancer le hack et enjoy

Hope this helps at least someone 
miralant
Messages : 157
Inscription : 02 mars 2018, 14:33

Re: Hack Camera Xiaomi

Message par miralant »

Bonjour,

j'ai testé le hack sur une Ant cam xiaomi mais il ne semble pas fonctionner. Quelqu'un a déjà testé ici ?

Merci
Répondre