samtap / fang-hacks

Collection of modifications for the XiaoFang WiFi Camera
1.68k stars 340 forks source link

New firmware versions 3.0.4.9 / 3.0.4.20 #122

Open samtap opened 7 years ago

samtap commented 7 years ago

Apparently a new firmware version is available. Please report any info or issues here.

naut1co commented 7 years ago

Hi guys,

i've got the same issue.... same camera with the MAC address in 34, and push button. First I upgrade my cam and got the message... then I downgrade it and now i'm in fw 3.0.3.56

On my Ipad I'm able to configure the connection in direct. my translate motor say : camera fang (direct)

cam generate a wifi named isa-camera-isc5_miapA1F1. (maybe the name change) so with a direct connect i 'm able to connect on the cam.... i got an orange blinking led

maybe it can help some dev

TDPFlorida commented 7 years ago

Can someone tell me how they downgraded the firmware? Thanks

Sent from my iPhone

On May 22, 2017, at 4:41 PM, naut1co notifications@github.com wrote:

Hi guys,

i've got the same issue.... same camera with the MAC address in 34, and push button. First I upgrade my cam and got the message... then I downgrade it and now i'm in fw 3.0.3.56

On my Ipad I'm able to configure the connection in direct. my translate motor say : camera fang (direct)

cam generate a wifi named isa-camera-isc5_miapA1F1. (maybe the name change) so with a direct connect i 'm able to connect on the cam.... i got an orange blinking led

maybe it can help some dev

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

krystiag commented 7 years ago

The problem is the LED... never turns solid blue..

bussekas commented 7 years ago

With Hack led is turning solid blue. with orginal firmware it does not do.

is there any good way how to use CAM over internet? Right now i use http://ivideon.com/ but is there any better solution?

naut1co commented 7 years ago

bussekas I tried to flash it with hack but without succeed.... is your cam a new model?

bussekas commented 7 years ago

I get it two weeks ago. it seems to be latest version of it. I use hack and with it i can use ip camera as it should be but for viewing out of home i use ivideon. it was first application what seems to be easyst to use but if there is another and better solution..then i'm intrested.

with orginal fw it give me only error mainland china. with seller i ask and he told to make vpn over china but this is not some ok solution for me in europa, estonia.

rsenn1 commented 7 years ago

bussekas, krystiag means you cannot even apply the hack because the LED never turns solid blue. I am trying the VPN method right now but so far no luck.

naut1co commented 7 years ago

I tried Vpn and fake GPS does not work.....

You can recognize new version with the push button and not a hall to reset cam all the test i make I was not able to flash it

blautob commented 7 years ago

I can confirm that my cam ( new version with the push button and not a hall to reset cam) has been succesfully hacked.

The blue led however is blinking constantly.

bussekas commented 7 years ago

With blue blinking led i did get hack on camera. BTW when hack with sd was installed. then solid blue did work and still work nice.

naut1co commented 7 years ago

which Firmware do you have?

bussekas commented 7 years ago

Camera have FW 3.0.4.9 and latest hack on it.

tonyp commented 7 years ago

The error message appears to be app-side only. Just install v4.0.1.1. from here and you can use the app: http://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-4-0-11-release/mihome-4-0-11-android-apk-download/

rsenn1 commented 7 years ago

tonyp that finally worked for me. I installed that version and was finally able to apply the hack. Thanks!

Force2611 commented 7 years ago

Hi, what Version is installed on your cam?

Am 27.05.2017 09:11 schrieb "Rebecca Senn" notifications@github.com:

tonyp that finally worked for me. I installed that version and was finally able to apply the hack. Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samtap/fang-hacks/issues/122#issuecomment-304433998, or mute the thread https://github.com/notifications/unsubscribe-auth/AbdbqgAVXrr9z7VNBLpOKkBn3-WPXMTyks5r98yjgaJpZM4NWYwZ .

rsenn1 commented 7 years ago

I'm not sure. I have the version with the reset button instead of hole, and I had applied a firmware update through the MiHome app, I just don't remember the number.

Force2611 commented 7 years ago

Then you re almost likely The latest Version. Thanks

Am 27.05.2017 09:16 schrieb "Rebecca Senn" notifications@github.com:

I'm not sure. I have the version with the reset button instead of hole, and I had applied a firmware update through the MiHome app, I just don't remember the number.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samtap/fang-hacks/issues/122#issuecomment-304434231, or mute the thread https://github.com/notifications/unsubscribe-auth/AbdbqtRdRdiJwO76E_Kji0zneWqxq_Naks5r9826gaJpZM4NWYwZ .

samtap commented 7 years ago

Apparently there's a new version 3.0.4.20, I haven't tested it yet myself but someone reported he had to re-apply the hacks. Perhaps /etc is overwritten and fang_hacks.sh and cfg are lost? Further info welcome!

tomsbrinkis commented 7 years ago

@samtap Yes, the 3.0.4.20 is out! But i am afraid to use it!

There was also iOS app update:

  1. Optimize login intefrace
  2. Locale: Added Turkey.

(maybe i should try Turkey and it will work outside Mainland China?)

Also: in iOS app there is a new button "Resset device", but i dont think that it will work to resset device to the oldest firmware. Just to reset it from current connection or something... (havent tried)

samtap commented 7 years ago

I've updated a cam that was running fang-hacks (older version) without issues. No files are overwritten.

samtap commented 7 years ago

Reported by @sadamahan: Be careful with firmware: 3.0.4.20. Its only possible to access the fang hack url: /cgi-bin/status when on the same subnet , but not from outside the subnet. Seems like the camera is doing a source IP check. But that restriction does not exist with the previous version of the firmware: 3.0.4.9.

No NAT'ing or special routing between the two subnets.

Attached tcp dump files for: Cam1 (working): FW: 3.0.4.9 Cam2 (not working): FW:3.0.4.20

Both with MAC 34.

TCP dump for both FW: FW 3.0.4.20 - no outside subnet access.txt FW 3.0.4.9 - outiside subnet access OK.txt

Sixerito commented 7 years ago

Anybody knows a good cam viewer application for Windows10 as good as TinyCam for Android?

Thank you!!

idostern commented 7 years ago

Same problem

tarat73 commented 7 years ago

I have a 34:XX Mac Address Camera with 3.0.4.20 SW :( I tried to downgrade from 3.0.4.20 to 3.0.3.56 by this link: https://github.com/samtap/fang-hacks/wiki/HowTo:-Flash-original-Xiaomi-firmware-from-sdcard-(factory-reset)#via-sdcard without success :(

The SD is FAT with Windows format (not FAT32). The files: /FIRMWARE_660R.bin /2EE298.cramfs.swap /2EE298.cramfs /cramfs-root/bin/.... many files /cramfs-root/dev/ empty folder

I push the button and plug the cable to the camera. I pushed the button for 20 seconds. When I leave the button the yellow led is solid for 30 second and then blinking. I put the setup button and discover the device with Mi Home. It shows the newest 3.0.4.20 SW version when I check the update . :( Did anybody downgrade from 3.0.4.20? Could you write the exact downgrade process? Thank you

dorigal commented 7 years ago

I have a 34 Mac Address Camera with 3.0.4.9 SW. I can connect from the App (v4.0.1.1.), but can not apply the hack. When connecting the camera to power, I wait until the light blinks blue and then insert the card but I can not hear any "ding". I have tried several cards but none worked. I can see that many here managed to get it working, what am I doing wrong?

tarat73 commented 7 years ago

Here is the downgrade instruction page http://telegra.ph/Xiaomi-Xiaofang---Mainland-China-Error-05-30 I could downgrade from 3.0.4.20 to 3.0.3.56

TDPFlorida commented 7 years ago

HELP...I need this procedure and the link is DEAD:(

joemilan67 commented 7 years ago

The link isn't dead. Copy the URL and paste in your browser, don't click on it

TDPFlorida commented 7 years ago

AWESOME...THANKS:)

gielk commented 7 years ago

@TDPFlorida Is it working now ? or u not done ?

TDPFlorida commented 7 years ago

Thanks to everyone for listing a procedure. I've had my HDD crash so I hope to get to attempting it this weekend.

TDPFlorida commented 7 years ago

This is what I'm doing BUT it does NOT work:

  1. I have a 16gb SDCard.
  2. Format 4gb (FAT) naming that partition to "mmcblk0p1"
  3. Extract the 7z file to the SDCard. "cramfs-root", "2EE298.cramfs", "2EE298.cramfs.swap","FIRMWARE_660R.bin" in root of SDCard named "mmcblk0p1"
  4. Put the SDCard into unpowered camera.
  5. Hold down the reset button and power up the camera.
  6. Once the light STOPS blinking, release the setup button. NOTE: The light is SOLID immediately.
  7. The camera is already "paired" with the phone and once it connects (the light is SOLID blue I check the firmware via phone and it did NOT change:(

Help!

myseehong commented 7 years ago

I have two 34 Mac Address Camera with 3.0.4.20 firmware. I am a Mac user and I use ApplePi-Baker app to burn the img file to the SDCard. This is to confirm that the hack works on 3.0.4.20 firmware. I decided to try this hack after my 2 Xiao Fang cams refused to connect to the server. The other cam which refused to connect the whole day suddenly decided to connect and is running with the Mi Home app on my iPhone.

TDPFlorida commented 7 years ago

tarat73...I did the EXACT procedure you listed with NO luck downgrading the firmware.

A couple of notes: I used a 16GB SDCard and formatted a 4GB partition naming it "mmcblk0p1" When I connect the camera, The light is SOLID yellow. MAC address of camera: 5C xx xx xx xx xx

I have tried your procedure with small variations but have never got it to work. Obviously I am doing part wrong?

myseehong commented 7 years ago

I have two 34 Mac Address Camera with 3.0.4.20 firmware. I am a Mac user and I use ApplePi-Baker app to burn the img file to the SDCard. This is to confirm that the hack works on 3.0.4.20 firmware. I decided to try this hack after my 2 Xiao Fang cams refused to connect to the server. The other cam which refused to connect the whole day suddenly decided to connect and is running with the Mi Home app on my iPhone. here's an update today. The other cam which decided to work online has suddenly stopped working hanging at the (1/3) Connecting screen with a blinking blue light. I have since clone the SD card and inserted the clone into this cam and the hack works like a charm. Both my cams are MAC 34 with 3.0.4.20 firmware.

tomsbrinkis commented 7 years ago

Hey guys, for iOS there's a new app update that says:

Optimize messaging display Support U.S. natvie server login.

maybe this support ads US users to use camera normaly without hack? can someone check this out? (i am from EU, i cant do it.) Just wondering if Xiaomi are doing something to resolwe this pfoblem so users outside china can use the camera. 👍

samtap commented 7 years ago

@tomsbrinkis DId you change the locale in Mi Home to US as well (assuming iOS has this setting, I only use android)? There's no Europe locale unfortunately but Xiaomi is totally unpredictable so who knows what they have planned ;-)

iggymaphone commented 7 years ago

I tried switching the region but I couldn't connect to my device (it still appeared in the list though). Once I changed back to mainland China it worked as expected. After I updated the app I got a push message from the app too but it was in Chinese so who knows what it says :|

tomsbrinkis commented 7 years ago

@samtap no, i dont have Europe as local. Im saying that i live in Europe, so i Cant test out that "Support U.S.. native server login" - i was just wondering it this update brings camera suports for US users in hope that someday they wil bring that to Europe, because i have 3 more cameras that are useless because of "use only in mainland china" shit. (i dont have time to apply the hack, so im still waiting for good news from Xiaomi for US and EU users that have already purchased those cameras. 👍

tomsbrinkis commented 7 years ago

@iggymaphone you tried to change the server to US and conect camera from the start? or just changed locale and the camera was still in list but not working?

iggymaphone commented 7 years ago

@tomsbrinkis that makes sense, so no. I didn't do that. I'll give that a go when I'm home tonight/tomorrow, although I'm in AU with a US VPN so I might run into additional issues.

kulokoy commented 7 years ago

Hi everyone. I've been reading and tracking this thread. I bought 3 caneras an old version. Pinhole version. 2 cameras working well even on the latest version the other one updated it from the start but after updates it didnt work eversince it keeps turning off and on itself. I have read some other sites that some of these cameras only works on 2.8.3.5 FW. I tried all of the latest firmware none of them solve the problem. Is there anybody here that could give me a link to download the old FW(2.8.3.5). I'll give it a shot to downgrade. Another thing is it the same procedure as 3.0.3.56? Many thanks.

Gumballnl commented 7 years ago

Having the model with the pinhole. Don't know what firmware i have becuase i cannot connect. Blue light keeps blinking after connecting. I did apply the hack and that worked somehow, but, after i switch off the power, the hack was lost and reconnecting still does not work... Any idea's?

kulokoy commented 7 years ago

Instead of adding the camera remotely(on your wifi network), add it as an AP instead. If you manage to connect thru AP mode then you can see the firmware version of the camera have.

pointbob commented 7 years ago

" kulokoy Instead of adding the camera remotely(on your wifi network), add it as an AP instead. If you manage to connect thru AP mode then you can see the firmware version of the camera have. --" I still cannot view the camera from outside home network. I want to view it on wifi at my work. The blue light always flashes - never solid. Would adding it as AP allow me to view the camera and motion detection alerts thru the MI app? Which is really all I want.

kulokoy commented 7 years ago

@pointbob I have same problem on one of my camera. Did try different suggestions from other blog but all didnt work. Its connected to the wifi but cant view it outside. I did checked the motion recordings found only 2 video thru the whole night. But seems like the xioami is blocking the connection of this camera thru their server and sometimes it can connect that's why I can see 2 video recordings from motion. This morning there are lots of motion happening outside but there's no recordings been save. If you connect the camera on AP mode you can view it only once your connected to it. AP(Access Point) connects directly to the camera without router. So once you're not in range, there's no way you view this, its like a router to make it short. You can view it to MI Home once your in the range of the camera. Hope this help. I'm looking for an old firmware which is 2.8.3.5. This firmware may change the situation or status of this problem. But ATM cant find somebody who can dump the image of the old firmware. Hoping someday somebody will reply back and provide the image.

Gumballnl commented 7 years ago

@kulokoy dont know where the version can be found. Can only find 2.6.4. but i dont think that is the FW version

edit: for some strange reason i could install the hack without a proper connection. Even after a reboot the hack works now :)

kulokoy commented 7 years ago

@Gumballnl if you select one of your camera and tap three dots or line on the top right of the app window you can select on the menu option GENERAL SETTINGS. Then you'll see CHECK FIRMWARE UPDATES. Once you choose that it will show you the current firmware of your camera while it checks for latest firmware. Thanks for replying back by the way.

alsnow22 commented 7 years ago

I have an issue my device says it is version 3.2.0.30 does any one have this version of know how to downgrade it?

Andreaux commented 7 years ago

Is it possible to spoof the mac address of a camera that has one starting with 34? I originally bought 2 cameras and they work flawlessly, bought 2 more (they are newer, without the pinhole reset) and these don't work (only mainland China msg)... They coexist in the same app and the old ones work, the newer don't althought the FW versions are the same. My guess is that it's only a question of mac address...

On the other hand, there seems to be some way of sending in a proof of purchase and a photo of the mac address sticker to have it unlocked (link on the mainland China only message page)... has anyone tried that already? I can't read chinese, so I'm unable to tell how it should work.

It seems that Xiaomi sells 2 types of there. One for china and one for international users and sellers in china should not sell the china-only versions to international customers, hence the error message... but the form suggests there is a way to have one's mac address unlocked with Xiaomi for international use... Anyone reading chinese could confirm that??