12534 Members
237 Forums
7811 Topics
24004 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
|
|
|
|
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
|
|
|
|
|
#7115 - 03/18/16 11:14 AM
OpenPLi 4.0 : Free as much as possible Flash space
|
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 #!/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 : 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 ! 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 : 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]
|
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]
|
VIPF Panda
newbie
Registered: 02/22/16
Posts: 25
|
script is 755 ?
you are using openpli 4.0 image ?
|
Top
|
|
|
|
|
#16245 - 04/15/18 09:12 PM
Re: OpenPLi 4.0 : Free as much as possible Flash space
[Re: Toysoft]
|
newbie
Registered: 02/12/17
Posts: 38
Loc: Br/Sp/Interior
|
/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]
|
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 /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]
|
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
|
|
|
|
|
|
|