Skip to content

Commit

Permalink
Reorganize the repo and merge the 4k and 4k+ bitrate mods.
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Dec 3, 2017
1 parent 22bf4f3 commit 54ced7d
Show file tree
Hide file tree
Showing 36 changed files with 1,093 additions and 558 deletions.
2 changes: 1 addition & 1 deletion 4k+/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Things specific to the yi4k+.

[Bitrate Mod](bitrate/) The bitrate mod.
[Bitrate Mod](../bitrate/) The bitrate mod.

[Increased Framerate](increased_framerate/) Increases the framerate of modes on the camera.

Expand Down
8 changes: 8 additions & 0 deletions 4k/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Yi 4k

Things specific to the yi4k.

[Ultra Increased Resolution Mod](ultra_increased_resolution/) A script that increases the resolution of the 4k ultra mode to 4000x2700 and the 1080p 90p ultra mode to 2000x1500.


For older firmwares see: [1.7.17](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.7.17) [1.7.8](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.7.8) [1.6.1](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.6.1) [1.5.1](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.5.1) [1.4.23](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4.23) [1.4.14](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4.14) [1.4](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4)
4 changes: 4 additions & 0 deletions 4k/ultra_increased_resolution/1.8.9/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Increased resolution mod for the Yi 4k on firmware 1.8.9

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k/ultra_increased_resolution/1.8.9/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

File renamed without changes.
4 changes: 4 additions & 0 deletions 4k/ultra_increased_resolution/1.9.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Increased resolution mod for the Yi 4k on firmware 1.9.0

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k/ultra_increased_resolution/1.9.0/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

16 changes: 16 additions & 0 deletions 4k/ultra_increased_resolution/1.9.0/autoexec.ash
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#Yi 4k ultra 4000x2700 and 1080p ultra 90p 2000x1500 mod by irungentoo
#For firmware 1.9.0
#set 4k ultra to 4000x2700
#NTSC
writel 0xA06CFCAC 0x0A8C0FA0
writew 0xA06CFCB0 0x0403
#PAL
writel 0xA06D7EEC 0x0A8C0FA0
writew 0xA06D7EF0 0x0403
#set 1080p ultra 90p to 2000x1500
#NTSC
writel 0xA06D048C 0x05DC07D0
writew 0xA06D0490 0x0403
#PAL
writel 0xA06D86CC 0x05DC07D0
writew 0xA06D86D0 0x0403
3 changes: 3 additions & 0 deletions 4k/ultra_increased_resolution/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 4000x2700 4k ultra mod for the Yi 4k

Makes the 4k ultra mode have a resolution of 4000x2700 and the 1080p ultra mode have a resolution of 2000x1500.
File renamed without changes.
File renamed without changes.
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
# Yi 4k (and 4k+) Cameras

Current master is for firmware 1.8.9.

For older firmwares see: [1.7.17](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.7.17) [1.7.8](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.7.8) [1.6.1](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.6.1) [1.5.1](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.5.1) [1.4.23](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4.23) [1.4.14](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4.14) [1.4](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/tree/1.4)
# Yi 4k and 4k+ Cameras

It's a nice camera but it has no documentation anywhere. It uses an ambarella SOC and has two operating systems which run at the same time on it: an RTOS and Linux. The RTOS does everything (encoding, the gui on the camera, etc...) while the linux barely does anything (it hosts a web server and some software that passes commands received from the network or bluetooth to the RTOS).

In this repo there is:

[4k+](4k+/) Stuff for the yi 4k+.
[4k+](4k/) Stuff for the yi 4k.

[Firmware Unpacker](firmware_unpacker/) Firmware unpacker for the 4k and 4k+ firmwares.

[Bitrate Mod](bitrate_mod/) A script that increases the bitrate of some modes on the camera.
[4k+](4k+/) Stuff for the yi 4k+.

[Bitrate Table](bitrate_table.txt) How to set set custom bitrates.
### For both the 4k and 4k+

[Ultra Increased Resolution Mod](ultra_increased_resolution/) A script that increases the resolution of the 4k ultra mode to 4000x2700 and the 1080p 90p ultra mode to 2000x1500.
[Bitrate Mod](bitrate/) The bitrate mod.

[My autoexec.ash](my_autoexec.ash/) The autoexec script I use on my camera.
[Firmware Unpacker](firmware_unpacker/) Firmware unpacker for the 4k and 4k+ firmwares.

[Telnet](telnet/) How to enable telnet on the camera.

Expand All @@ -32,4 +26,3 @@ In this repo there is:

[Enable RTOS Logs](enable_logs/) Enable RTOS logging to sd card on the camera.

[Betas](betas/) Mods for beta firmwares.
194 changes: 0 additions & 194 deletions betas/1.5.8-beta2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions 4k+/bitrate/1.3.11/Readme.md → bitrate/4k+/1.3.11/Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Bitrate mod for the Yi 4k+ on firmware 1.3.11

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/bitrate/1.3.11/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k+/1.3.11/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
For an explanation see: [Readme.md](../../Readme.md)
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Bitrate mod for the Yi 4k+ on beta firmware 1.3.18

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/bitrate/1.3.18_beta/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k+/1.3.18_beta/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
For an explanation see: [Readme.md](../../Readme.md)
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Bitrate mod for the Yi 4k+ on beta firmware 1.3.22

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/bitrate/1.3.22_beta/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k+/1.3.22_beta/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
For an explanation see: [Readme.md](../../Readme.md)
File renamed without changes.
4 changes: 2 additions & 2 deletions 4k+/bitrate/1.3.23/Readme.md → bitrate/4k+/1.3.23/Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Bitrate mod for the Yi 4k+ on firmware 1.3.23

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/bitrate/1.3.23/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k+/1.3.23/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
For an explanation see: [Readme.md](../../Readme.md)
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions bitrate/4k/1.8.9/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Bitrate mod for the Yi 4k on firmware 1.8.9

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k/1.8.9/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../../Readme.md)
Loading

0 comments on commit 54ced7d

Please sign in to comment.