Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yi Dome Guard support #105

Closed
artemy opened this issue Aug 4, 2020 · 14 comments
Closed

Yi Dome Guard support #105

artemy opened this issue Aug 4, 2020 · 14 comments

Comments

@artemy
Copy link

artemy commented Aug 4, 2020

Camera seems to be Allwinner-based, although markings on the chip state "QG2101B", which is ambiguous to me.

I tried adapting this firmware (with compiling custom images for camera's firmware code (which is r30gb), but that approach didn't work since mtdblock3 partition (home) is not writable.

What would be the steps to try to make the hacks in this repo work for that model?

Attached are mtd table and boot log.
mtd.txt
boot.log

I also have dumped stock firmware, can upload it if needed.

@NURIHAKIM
Copy link

Yep I'm at the same spot!

@roleoroleo
Copy link
Owner

The cam is Allwinner based but the structure is different.
The size of the flash is only 8 MB (the y20ga is 16 MB) and the partition schema is different.
I could try to study it if you can share the dump (rootfs and home are enough).

@artemy
Copy link
Author

artemy commented Aug 4, 2020

Both partitions should be in this zip archive: r30gb_fw.zip

@roleoroleo
Copy link
Owner

Ok, I'll look into this.

@roleoroleo
Copy link
Owner

As I already noticed, the flash structure is very different.
home is not a jffs2 partition, it's a read only squashfs.
And the size of the flash is too small to add other programs.
Probably it's possible to create a new hack based on SD card but it's a new project.
No chances to integrate this cam in the current project.

@roleoroleo
Copy link
Owner

Probably it's possible to save:

  • toolchain
  • sources
  • build environment (partially)

@NURIHAKIM
Copy link

Thanks for looking into it. Going to send some coffee to you!

@roleoroleo
Copy link
Owner

Thank you for your contrubution.

@roleoroleo
Copy link
Owner

@artemy
Could you send me your mtdblock4?
Probably I'm able to create a new hack for your cam, the flash content is pretty the same.
See this issue:
#157

@artemy
Copy link
Author

artemy commented Oct 7, 2020

@roleoroleo right I'll try to find time this week

@artemy
Copy link
Author

artemy commented Oct 7, 2020

There it is
mtdblock4.bin.zip --- REMOVED

@roleoroleo
Copy link
Owner

Thanks.

@roleoroleo
Copy link
Owner

Yes, your cam is r30gb suffix and the hack will be the same as y21ga model:
https://github.com/roleoroleo/yi-hack-Allwinner-v2

@roleoroleo
Copy link
Owner

If you want to try this beta, please visit this issue:
roleoroleo/yi-hack-Allwinner-v2#3

Version 0.0.6 contains beta support for r30gb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants