Bitcoin Forum
June 22, 2024, 11:49:38 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining software (miners) / Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost on: March 22, 2019, 12:47:35 PM
I have an S9 that was flashed through the gui and would like to return it to factory condition/OS.
I have read the braiins-os paper on how to, but must be missing something. I have also done searches but nothing is helping me.
Could someone please give me a step by step process to revert back to original state, or even point me in the right direction if those directions have been dummied down for folks like myself. Appreciate any help.
thanks.

see post #273 and before

Here are the instructions for if you do not have a backup from when you upgraded to bOS

1.) create empty directory backup
2.) create text file mac (without any file extension)
3.) write one line with MAC address to the file mac (you can obtain your MAC address from web interface Network -> Interfaces -> MAC-Address)
4.) compress the file mac with tar using gzip compression and store it to the backup directory with a name config.tar.gz
5.) create a file called uEnv.txt in the back up directory containing the following information:

Code:
recovery_mtdparts=mtdparts=pl35x-nand:32m(BOOT.bin-env-dts-kernel),144m(angstram-rootfs),80m(upgrade-rootfs)

6. Download recovery firmware from bitmain (for this example Antminer-S9-all-201812051512-autofreq-user-Update2UBI-NF.tar.gz is used)
7. install python (using information provided on Braiins page https://docs.braiins-os.org/python-install)
8. make a folder called backup
9. put the factory image in it, along with two more files: uEnv.txt and config.tar.gz (that contains mac adress)

in python You need to run:

Code:
python3 restore2factory.py path/to/backup ip_hostname --factory-image path/to/Antminer-S9-all-201812051512-autofreq-user-Update2UBI-NF.tar.gz

i ran command :

Code:
C:\python\braiins-os>python restore2factory.py backup/ 192.168.2.244 --factory-image backup/Antminer-S9-all-201711171757-autofreq-user-Update2UBI-NF.tar.gz

ps:
i heard they changed something in the last iteration so this could not work

it is stated:

Quote
Using factory firmware image
On Antminer S9, you can alternatively flash a factory firmware image from manufacturer’s website, with FACTORY_IMAGE being file path or URL to the tar.gz (not extracted!) file. Supported images with corresponding MD5 hashes are listed in the platform.py file.

Run (on Windows, use python command instead of python3):

Code:
python3 restore2factory.py --factory-image FACTORY_IMAGE your-miner-hostname-or-ip

so, i think you can skip step 9.
2  Bitcoin / Mining software (miners) / Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost on: January 01, 2019, 08:42:30 PM
thanks for your help
i have successfully restored factory firmware image by using these commands from windows
i'll put the line here so that it may help another

Code:
C:\python\braiins-os>python restore2factory.py backup/ 192.168.2.244 --factory-image backup/Antminer-S9-all-201711171757-autofreq-user-Update2UBI-NF.tar.gz

install python
make a folder called backup
put the factory image in it, along with two more files: uEnv.txt and config.tar.gz (that contains mac adress)

You need to run:

Code:
python3 restore2factory.py path/to/backup hostname --factory-image path/to/Antminer-S9-all-201812051512-autofreq-user-Update2UBI-NF.tar.gz

you may need to use an older factory firmware as I can’t remember whether the newest LPM firmwares are partial updates as opposed to full firmware images.

Here are the instructions for if you do not have a backup from when you upgraded to bOS

1.) create empty directory backup
2.) create text file mac (without any file extension)
3.) write one line with MAC address to the file mac (you can obtain your MAC address from web interface Network -> Interfaces -> MAC-Address)
4.) compress the file mac with tar using gzip compression and store it to the backup directory with a name config.tar.gz
5.) create a file called uEnv.txt in the back up directory containing the following information:

Code:
recovery_mtdparts=mtdparts=pl35x-nand:32m(BOOT.bin-env-dts-kernel),144m(angstram-rootfs),80m(upgrade-rootfs)

This is from the walkthrough given to me by Braiins support.
3  Bitcoin / Mining software (miners) / Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost on: December 28, 2018, 09:12:16 PM
this seems odd to me, running on default settings and lpm off:

voltage and frequency seem off:8.9V and  650MHZ (when should be 630MHZ), temperatures are high
and also, the hash rate on overclock doesn't get reported  pool-side to be like the S9 reports it

 https://imgur.com/a/pxkRpgg
4  Bitcoin / Mining software (miners) / Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost on: December 15, 2018, 06:32:50 AM
I'm on WIndows
I just don't get how to create a backup from my other identical s9
Thanx
5  Bitcoin / Mining software (miners) / Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost on: December 13, 2018, 08:04:28 AM
Hi guys!
so i've been using Braiins for a few days but i'm not really sure i want to stay with it right now as my S9's are not getting along with Asicboost and overclocking, basically just underperform. and give HWer.
Ok so. long story short, i changed a fw from one S9 directly from bitmains flash page to braiins with a s9.web image. fingers crossed (it worked). Howeveeeer... i didn't do a backup. so.. i can't reflash a normal bitmain image to the miner to go back again. it seems it doesn't work that way.

i've installed python but i don't know how to make a backup from another S9 with an Bitmain FW.
i didn't catch much from the help from Braiins. they say "python3 restore2factory.py backup/backup-id-date/ your-miner-hostname-or-ip" ... well... shit.
it seems i should do a nice install from SD to the other S9 and then.. restore the FW with the code above.
can it be done in some other way?
can someone please help?
thank you!
6  Economy / Invites & Accounts / Re: Selling CEX.io account on: January 12, 2018, 09:29:26 AM
how about some coherency, i didn't undestood what you said.
i didn't buy the account. it is mine since october.
7  Economy / Invites & Accounts / Selling CEX.io account on: January 12, 2018, 07:48:42 AM
Hello everyone
i am thinking of selling my CEX.IO account
the price is fixed at 1BTC.
contact mail: velles2003  @ yahoo.com
8  Economy / Services / Re: BITCOIN UNCONFIRMED TRANSACTION ACCELERATOR FOR FREE! on: December 20, 2017, 03:40:10 AM
Hi
I have a big problem
A friend of mine needed help buying bitcoin so i tried to help but the transaction îs stuck.
I say it îs a high fee, it has 392 sat /B but it îs stuck for 12 hrs. Anyway my friend îs desperate. Please help

1166877e12fbdfc3dd349707f1a195d86682aa471d8e953af351dcf476c24d78
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!