Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12528 Members
237 Forums
7811 Topics
24004 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
Bilawal, Zweistein, didond, OLIANI, sergiu75
12528 Registered Users
Who's Online
13 registered (Admin, Toysoft, Smokey, haki, bobot, karimkaki15, goode men, Franco89, OMEGA, raffsif1234, didond, gerolamo, bori), 1472 Guests and 145 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9993
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 15
OMEGA 8
samh 3
Hum@xel 1
Smokey 1
November
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
Page 1 of 2 1 2 >
Topic Options
#7115 - 03/18/16 11:14 AM OpenPLi 4.0 : Free as much as possible Flash space
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/21/10
Posts: 2649
Just a little script to free as much as possible Flash space,

Create a file "script.sh", set to "chmod 755 script.sh". Put the text below. You should gain around 6.5 Mb of Free Flash space, as on my DM800HD.

I kept only UK-English-French-Italian-Spanish-German, but it's easy to modify as you can see below with "#" to remove a line and keep it only as Remark.



Remember as well that to optimize the Flash at the best, during first config you must refuse the Internet test, and in the same time the automatic update of the box. As this uses more than 3.5 Mb of space for no much use.

TS


Code:
#!/bin/sh
#
#Remove from /usr/share/enigma2/countries
#
cd /usr/share/enigma2/countries
#
rm ad.png
rm ee.png
rm hr.png
rm lt.png
rm ro.png
rm ua.png
rm ae.png
#rm en.png
rm hu.png
rm lv.png
rm ru.png
rm yu.png
rm bg.png
#rm es.png
rm il.png
rm se.png
rm br.png
rm fi.png
rm ir.png
rm nl.png
rm si.png
rm cz.png
#rm fr.png
rm is.png
rm no.png
rm sk.png
#rm de.png
rm fy_NL.png    
#rm it.png
rm pl.png
rm th.png
rm dk.png
rm gr.png
rm ku.png
#rm pt.png
rm tr.png
rm hk.png
rm id.png
rm nn.png
rm zh.png
#rm missing.png
#
#Remove from /usr/share/enigma2/po
#
cd /usr/share/enigma2/po
#
rm -r ar
rm -r cs
rm -r el
rm -r et
#rm -r fr
rm -r hr
#rm -r it
rm -r lv
rm -r no
#rm -r pt_BR  
rm -r sk
rm -r sv
rm -r uk
rm -r bg
rm -r da
#rm -r en
rm -r fa
rm -r fy
rm -r hu
rm -r ku
rm -r nb
rm -r pl
rm -r ro
rm -r sl
rm -r th
rm -r ca
#rm -r de
#rm -r es
rm -r fi
rm -r he
rm -r is
rm -r lt
rm -r nl
#rm -r pt
rm -r ru
rm -r sr
rm -r tr
rm -r hk
rm -r id
rm -r nn
rm -r zh
#
#Remove not used Skins
#
rm -r /usr/share/enigma2/PLi-FullHD
rm -r /usr/share/enigma2/PLi-FullNightHD
rm -r /usr/share/enigma2/PLi-HD1
rm -r /usr/share/enigma2/PLi-HD2
#
#Remove Feeds Packages List
#
rm /var/lib/opkg/O*
rm /var/lib/opkg/lists/o*
#
#END
#


Uninstall not used Languages :

Code:
opkg remove --force-depends enigma2-locale-ar
opkg remove --force-depends enigma2-locale-bg
opkg remove --force-depends enigma2-locale-ca
opkg remove --force-depends enigma2-locale-cs
opkg remove --force-depends enigma2-locale-da
opkg remove --force-depends enigma2-locale-de
opkg remove --force-depends enigma2-locale-el
opkg remove --force-depends enigma2-locale-es
opkg remove --force-depends enigma2-locale-et
opkg remove --force-depends enigma2-locale-fa
opkg remove --force-depends enigma2-locale-fi
opkg remove --force-depends enigma2-locale-fy
opkg remove --force-depends enigma2-locale-he
opkg remove --force-depends enigma2-locale-hr
opkg remove --force-depends enigma2-locale-hu
opkg remove --force-depends enigma2-locale-is
opkg remove --force-depends enigma2-locale-ku
opkg remove --force-depends enigma2-locale-lt
opkg remove --force-depends enigma2-locale-lv
opkg remove --force-depends enigma2-locale-nb
opkg remove --force-depends enigma2-locale-nl
opkg remove --force-depends enigma2-locale-no
opkg remove --force-depends enigma2-locale-pl
opkg remove --force-depends enigma2-locale-pt
opkg remove --force-depends enigma2-locale-pt-br
opkg remove --force-depends enigma2-locale-ro
opkg remove --force-depends enigma2-locale-ru
opkg remove --force-depends enigma2-locale-sk
opkg remove --force-depends enigma2-locale-sl
opkg remove --force-depends enigma2-locale-sr
opkg remove --force-depends enigma2-locale-sv
opkg remove --force-depends enigma2-locale-th
opkg remove --force-depends enigma2-locale-tr
opkg remove --force-depends enigma2-locale-uk


Available 6.4 Mb !

Code:
root@dm800:/var/volatile/tmp# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                60.0M     53.6M      6.4M  89% /
tmpfs                    64.0K         0     64.0K   0% /media
tmpfs                    71.0M      5.4M     65.6M   8% /var/volatile
/dev/mtdblock2            3.8M      2.4M      1.3M  64% /boot



FYI :

Code:
root@dm800:/var/volatile/tmp# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                60.0M     53.6M      6.4M  89% /
tmpfs                    64.0K         0     64.0K   0% /media
/dev/sda1                74.5G     65.8G      8.7G  88% /media/hdd
tmpfs                    71.0M      5.1M     65.9M   7% /var/volatile
/dev/mtdblock2            3.8M      2.4M      1.3M  64% /boot
root@dm800:/var/volatile/tmp# opkg update
Downloading http://jam.japhar.com/feeds/OpenPLi-4/japhar/dm800/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/OpenPLi-all.
Downloading http://jam.japhar.com/feeds/OpenPLi-4/japhar/dm800/dm800/Packages.gz
.
Updated list of available packages in /var/lib/opkg/OpenPLi-dm800.
Downloading http://jam.japhar.com/feeds/OpenPLi-4/japhar/dm800/mips32el-nf/Packa
ges.gz.
Updated list of available packages in /var/lib/opkg/OpenPLi-mips32el-nf.
root@dm800:/var/volatile/tmp# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                60.0M     56.5M      3.5M  94% /
tmpfs                    64.0K         0     64.0K   0% /media
/dev/sda1                74.5G     65.8G      8.7G  88% /media/hdd
tmpfs                    71.0M      5.1M     65.9M   7% /var/volatile
/dev/mtdblock2            3.8M      2.4M      1.3M  64% /boot
root@dm800:/var/volatile/tmp#


Script also available on JAM 5.2


Attachments
Clean_Flash_Memory.jpg (3467 downloads)
enigma2-clean-flash-openpli4_1.0_openpli40_all.rar (190 downloads)

_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#7188 - 03/22/16 03:55 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
leenstri Offline
VIP Japhar
newbie

Registered: 03/15/16
Posts: 31
Hello,

When I try to run the script I get errors about the script cannot cd to the folders.

Any idea why that can happen?
_________________________
sab unix F solo with openAtv 4.2
DM500HD with Japhar openpli 4.0

Top
#7189 - 03/22/16 04:23 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
sinmc Offline
VIPF Panda
newbie

Registered: 02/22/16
Posts: 25
script is 755 ?

you are using openpli 4.0 image ?

Top
#7191 - 03/22/16 04:36 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
Yes, this is for OpenPli 4.0 IPTV, you can run it directly from the JAM 5.2 on the OpenPli 4.0 Section, naturally it needs to be properly loaded/Copied in the box if you want to put it yourself. Better is use the one from JAM,

Admin
_________________________

Top
#12843 - 07/13/17 02:09 AM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
pashaa Offline
VIPF Japhar
journeyman

Registered: 01/27/15
Posts: 50
/usr/share/enigma2/rc_models have many not DMM remotes with 1mb.

Top
#12844 - 07/13/17 02:13 AM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
Thank you, good idea and good point !

Admin
_________________________

Top
#16245 - 04/15/18 09:12 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
yra1976yan Offline
newbie

Registered: 02/12/17
Posts: 38
Loc: Br/Sp/Interior
Originally Posted By: pashaa
/usr/share/enigma2/rc_models have many not DMM remotes with 1mb.

Ola poderia explicar sobre um pouco +.Obrigdo !!!
_________________________
Observar !

Ler !

Aprender !

Top
#16250 - 04/16/18 04:03 AM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: yra1976yan]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
You can remove most of the files in this folder to gain more space (not the DMM...files and xml one, but all others yes if there is any),

/usr/share/enigma2/rc_models

Admin

Originally Posted By: yra1976yan
Originally Posted By: pashaa
/usr/share/enigma2/rc_models have many not DMM remotes with 1mb.

Ola poderia explicar sobre um pouco +.Obrigdo !!!
_________________________

Top
#16306 - 04/21/18 01:23 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Admin]
yra1976yan Offline
newbie

Registered: 02/12/17
Posts: 38
Loc: Br/Sp/Interior
Muitos controles.
Qual abrir a space ?
Obrigado.


Attachments
PASTA 1.png (941 downloads)
PASTA 2.png (934 downloads)

_________________________
Observar !

Ler !

Aprender !

Top
#16307 - 04/21/18 01:41 PM Re: OpenPLi 4.0 : Free as much as possible Flash space [Re: Toysoft]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
You just need these 5 files, all others RC/files can be removed.

Admin


Attachments
Remotes.jpg (924 downloads)

_________________________

Top
Page 1 of 2 1 2 >


Moderator:  fairbird, gaga24, ludo19 
New Topics
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
How to exclude ProvID & Channels from OSCam to CI+
by Admin
11/03/24 12:34 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM