Sie sind nicht angemeldet.

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

1

Sonntag, 20. Mai 2018, 15:27

Expanding H9 flash to a Micro SD card...

========================EXPANDING H9 FLASH TO MICRO SD CARD=====================

ZGEMMA H9 has a 256 MB Flash, so serious hobbyists need to expand its Flash. There are 2 ways:

1) Flash Expander E2 plugin, to a fast USB 3.0 stick (I will write in detail about it elsewhere) or

2) the following script moving it all from the flash to a fast Micro SD memory card...

Various Micro SD cards have been tested: class4, class 10 and class A1. In principle, they are all working but not all Micro SD cards will work.

HOW TO CHECK IF A MICRO SD CARD IS OK FOR FLASH EXPANSION WITH H9
==================================================================

Insert the Micro SD card into Zgemma H9 and reboot the box. Check the /var/logs/message file, using the PuTTy app. Log in by writing:

root
password - for an image you use (for example "pure2" for PurE2 image [without "" signs]).

Now, copy and paste this telnet command into PuTTy:

cat /var/log/messages | grep mmcblk0:

If you see these messages:

Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1

or

May 20 13:25:49 zgemmah9s user.info kernel: mmcblk0: mmc0:aaaa SC64G 59.5 GiB
May 20 13:25:49 zgemmah9s user.info kernel: mmcblk0: p1

...then you can proceed..

Download the "H9 SDcard Mover" attached to this message.

Extract the zip file and copy all 3 files to Zgemma H9 /tmp folder, using FileZilla Client app, for instance.

Now, right click on h9_mmc.sh file > File permissions > 755 > OK.

Warning: all data on your Micro SD card will be lost when your start this script!

Start the script by the following 2 telnet commands:

cd /tmp

./h9_mmc.sh

Reboot the box and wait for the script to move everything to Micro SD card.

Your Zgemma H9 just got a boost!

Just remember that there is a small price to pay: your flash is larger but the Zgemma H9 might be a bit slower than if everything is running from H9 flash alone.

=======================================================================

How to go back to a previous state of things (rollback to rootfs, to NAND)?

Simply flash a new image.

=======================================================================

Credit to Captain @ OpenATV

Edited by gorski, thanx to TerraJoe for the missing IT info... :)
»gorski« hat folgende Datei angehängt:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

Es hat sich bereits 1 registrierter Benutzer bedankt.

Benutzer, die sich für diesen Beitrag bedankt haben:

terrajoe (20.05.2018)

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

2

Sonntag, 20. Mai 2018, 16:57

Do not mount Micro SD card using pManager (in PurE2 or any kind of Device Manager in any other Enigma2). Then, the script can't umount it. Once I unmounted it, using pManager - it worked! -bier-


Look... :4_small16:
»gorski« hat folgende Datei angehängt:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

3

Donnerstag, 7. Juni 2018, 03:11

New images for H9 models are available, now that the Team has those models: http://pur-e2.club/OU/images/index.php?dir=6.2/airdigital/

The Flodder-like script, taken from a topic seen on OpenATV forum, which moves the whole H9 E2 to Micro SD card, is now included in the new PurE2 image for H9 models!

0) Format your Micro SD card into EXT4. Anything from 4GB upwards, I guess - mine is 64GB and it worked. Do it in your laptop, say using Mini Tool Partition Wizard or Paragon freeware.

1) Put the MicroSD card in your Zgemma H9.

2) On your Zgemma remote press: MENU > pManager > Scripts > right arrow on the remote > User Scripts > Start script > h9_mmc.sh > OK > execute once.

It will take its time and you will see it all happening in front of you, on the TV screen, all of it being copied to the Micro SD card.

Once it stops and tells you how much it copied, at which speed etc. - it is over.

3) Go to PuTTy on your PC and log in, then write on your keyboard the following commands:

username > hit ENTER on your keyboard
password > ENTER
sync > ENTER

4) Go back to your H9 remote control > exit 'till you see Standby/Restart > Restart (not Restart enigma) > OK.

5) If you want to go back to your flash only - do the same, just execute h9_nand.sh script.

Cheerio! -bier-

P.S. Logging into PuTTy and 'sync' command (step 3) might not be needed in the next version of the script.
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

Es haben sich bereits 2 registrierte Benutzer bedankt.

Benutzer, die sich für diesen Beitrag bedankt haben:

terrajoe (07.06.2018), Franc (07.06.2018)

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

4

Mittwoch, 22. August 2018, 13:11

Weird!

I tested and confirmed Delfi's discovery that even if PurE2 doesn't detect mSD card, the script to move everything to mSD card still works!!!

I just flashed a new version of H9S PurE2 and mounted USB and HDD. Then I pushed in my mSD card and I checked if PurE2 can see MicroSD card. It can't.

Both in pManager (nothing to be seen, in terms of mSD card) and PuTTy, with a command:

root@zgemmah9s:~# cat /var/log/messages | grep mmcblk0:
root@zgemmah9s:~#

But then I went into the pManager > Scripts and executed the h9_mmc.sh script for transfer of root ( / ) onto the mSD card - it worked!!!

Just to make sure... -bier-
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

5

Montag, 1. Oktober 2018, 21:17

Just a bit of advice: before reflashing, go back to original flash boot regime, as described above!!!

Get your mSD card out, format in EXT4, then do the usual flashing as normal... -bier-

Once flashed, add your mSD card and move the root to it, of course... :4_small16:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

6

Mittwoch, 28. November 2018, 08:22

Delfi and I worked through the night and the end result is great! :12_small35:

Btw, I only helped a bit with research (I am no coder) - all kudos to Delfi for fixing the move_to_mSD card problem AND it seems now it works properly the other way, too!!! :4_small16:

So, whatever wasn't working in H9x series scripts to move back to NAND - now it does! And now the same script also works fully for H9.2X series with small flash!!! :EVERYD~313:

For now, of course, it's in PurE2... Just do the MENU > PMANAGER > SW MANAGER > CHECK FOR UPDATE > OK... RESTART...

Then, go to PMANAGER > SCRIPTS...

index.php?page=Attachment&attachmentID=12331

index.php?page=Attachment&attachmentID=12332

Soon, as always, this will be available for all OE-A images... 1987r4tfg

I just tested it - I moved everything (/ = root) successfully from NAND/flash to Micro SD card...

index.php?page=Attachment&attachmentID=12333

index.php?page=Attachment&attachmentID=12334

So, cheap boxes can remain cheap and still work fully, with lots of plugins and tools, large settings lists and everything else one might need. IPTV plugins/streaming, playback - will not be limited by the flash size in all H9 boxes with 256MB NAND!

Moreover, maestro Delfi managed to get it all boot from a USB stick, instead of microSD card, since we all have cheap USB sticks lying around... $%&/

And in H9x series there is a fast USB 3.0 port, so this could be a great solution!!! dvfgqv1e96
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

Es haben sich bereits 3 registrierte Benutzer bedankt.

Benutzer, die sich für diesen Beitrag bedankt haben:

reißer (28.11.2018), Raze (28.11.2018), rmkk (09.02.2019)

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

7

Mittwoch, 28. November 2018, 10:52

+++++++++++++PROCEDURE++++++++++++++++

So, firstly prepare your micro SD card in your PC (Windows, in this case, I use Mini Tool Partition Manager free), by deleting its partitions (if any), then creating one and formatting it in EXT4 (make it active, too):

index.php?page=Attachment&attachmentID=12336

Then, insert it onto Zgemma H9x/H9.2x and it should be like this...

index.php?page=Attachment&attachmentID=12335

Then pManager > Scripts...

index.php?page=Attachment&attachmentID=12337

index.php?page=Attachment&attachmentID=12338

index.php?page=Attachment&attachmentID=12339

...to be continued...
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

8

Mittwoch, 28. November 2018, 10:54

...finishing the procedure...

index.php?page=Attachment&attachmentID=12340

index.php?page=Attachment&attachmentID=12341

RESTART!

If you had enough of it and wanted to go back to NAND/flash only, do the opposite script...

index.php?page=Attachment&attachmentID=12342

...and RESTART!

1987r4tfg
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

9

Donnerstag, 29. November 2018, 10:37

Maestro Delfi now shared it with the rest of the community - it's all in Zgemma GIT now... dvfgqv1e96
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

Es haben sich bereits 3 registrierte Benutzer bedankt.

Benutzer, die sich für diesen Beitrag bedankt haben:

terrajoe (29.11.2018), Raze (29.11.2018), reißer (29.11.2018)

mihaip

Anfänger

Beiträge: 50

Aktivitätspunkte: 295

Registrierungsdatum: 13. Mai 2014

Level: 25 [?]

Erfahrungspunkte: 87 234

Nächstes Level: 100 000

Danksagungen: 5 / 2

  • Nachricht senden

10

Montag, 4. Februar 2019, 06:17

Well ! well ! I'll reflash my Zgemma H9s to use ax expansion an
old 4Gb SD card ! congratulations !!!

gorski

PurE2-Supporter

  • »gorski« ist männlich
  • »gorski« ist der Autor dieses Themas

Beiträge: 237

Aktivitätspunkte: 2 500

Registrierungsdatum: 12. August 2017

Level: 27 [?]

Erfahrungspunkte: 132 176

Nächstes Level: 157 092

Danksagungen: 147 / 83

  • Nachricht senden

11

Mittwoch, 6. Februar 2019, 19:08

Do tell how it went... :4_small16:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

Ähnliche Themen