Page 1 of 3
Using Palera1n on porteus
Posted: 23 Jan 2023, 12:05
by alharthi6
Hello,
Im new to Linux especially porteus but I like it so much.
So wanted to use this
https://github.com/palera1n/palera1n on it but couldn’t.
I used this guide
https://ios.cfw.guide/installing-palera ... -jailbreak for Linux.
Anyone please can help me, I tried for a week now.
I’ve installed some modules to make it working but still no success.
Using Palera1n on porteus
Posted: 23 Jan 2023, 16:51
by beny
hi install
https://slackware.nl/slakfinder/index.p ... e=#results you have to convert to xzm packages and put into the porteus modules you have to activate before to use and you can follow the linked procedure, porteus do not have systemd
Code: Select all
guest@porteus:~$ sudo usbmuxd -f -p
Password:
[17:46:30.812][3] usbmuxd v1.1.2 starting up
[17:46:30.813][3] Using libusb 1.0.24
[17:46:30.822][3] Initialization complete
the git software work on a real apple device or ios version that have to match the software list,maybe you can damage your phone.
Using Palera1n on porteus
Posted: 23 Jan 2023, 23:35
by alharthi6
Hi there, still cant get it to work, do i have to install openssl? or anything else?
Ive installed a lot of modules...
Using Palera1n on porteus
Posted: 23 Jan 2023, 23:52
by Ed_P
alharthi6 wrote: ↑23 Jan 2023, 23:35
Ive installed a lot of modules..
Please post the output of these commands:
Code: Select all
uname -a
cat /etc/porteus/*
ls -l /mnt/live/memory/images
cat /proc/cmdline
so we can help you better.
Using Palera1n on porteus
Posted: 23 Jan 2023, 23:58
by beny
hi Ed_P, user have to download two packages from slackware 15 convert into the xzm and put on modules have to connect the phone and run the git script toward the phone,but if the ios version don't match the list of the allowed ios version no way do not work so
Using Palera1n on porteus
Posted: 24 Jan 2023, 19:17
by Rava
Ed_P wrote: ↑23 Jan 2023, 23:52
Please post the output of these commands:
Code: Select all
uname -a
cat /etc/porteus/*
ls -l /mnt/live/memory/images
cat /proc/cmdline
so we can help you better.
Isn't
good enough?
The size doesn't matter since it is only the folder size, not the size of the modules, and what help is the date/time info?
E.g. currently my first 3 modules are listed with
ls -l as such:
Code: Select all
drwxr-xr-x 5 root root 61 2020-04-04 22:28 000-kernel.xzm
drwxr-xr-x 20 root root 305 2022-12-11 09:47 001-core.xzm
drwxr-xr-x 10 root root 154 2022-12-11 09:50 002-xorg.xzm
what is helpful about that compared to the more simple
ls :
Code: Select all
000-kernel.xzm
001-core.xzm
002-xorg.xzm
?
Using Palera1n on porteus
Posted: 24 Jan 2023, 20:31
by Ed_P
Rava I was simply stating the commands in my syssnapshot.sh script, the number of and names of the loaded modules is all that is important at this point. For system files the cat /proc/cmdline command is more useful than the date/time info.
Using Palera1n on porteus
Posted: 24 Jan 2023, 20:35
by Rava
^
Code: Select all
root@porteus:~# syssnapshot.sh
-su: syssnapshot.sh: command not found
Anyhow, I never heard of syssnapshot.sh and standard Port not seems to include it, but you confirmed my presumption that
is sufficient.
Using Palera1n on porteus
Posted: 24 Jan 2023, 20:50
by Ed_P
My syssnapshot.sh script.
Code: Select all
#!/bin/sh
# https://forum.porteus.org/viewtopic.php?p=74926#p74926
# https://forum.porteus.org/viewtopic.php?p=74933#p74933
#set -x;
echo "~# uname -a"
uname -a
echo
echo "~# cat /etc/porteus/*"
cat /etc/porteus/*
#read
echo
echo "~# ls -l /mnt/live/memory/images"
#ls -lgh --time-style long-iso /mnt/live/memory/images | awk '{print $7,$5}'
ls -l /mnt/live/memory/images | awk '{if ($1 != "total") print $9,":",$6,$7,$8}'
#ls -l /mnt/live/memory/images | awk '{if (($2 != 0)&&($9 < "A")) print $9,":",$6,$7,$8}'
echo
echo "~# cat /proc/cmdline"
echo "`cat /proc/cmdline`"
echo
if [ ! "$1" == "" ]; then
read # sleep 10
exit
fi
ISO=`cat /proc/cmdline | sed -e 's/^.*from=//' -e 's/ .*$//'`
if [ $ISO != "quiet" ]; then
echo "ISO: $ISO"
else
if [ "$DRV" != "" ]; then
echo "Boot Drv: $DRV"
else
echo "Boot DRV: "`grep -A1 "Booting" /var/log/porteus-livedbg|tail -n1|sed 's^//^/^g'`
fi
fi
echo
MENU=`cat /proc/cmdline`
MENU=${MENU:(-5)}
if [ ${MENU:0:4} == "menu" ]; then
echo "Grub2 Menu: " "Porteus5.0 $MENU"
fi
read
Using Palera1n on porteus
Posted: 24 Jan 2023, 21:04
by Rava
What should be printed via awk print $9 ?
Code: Select all
root@porteus:/# ls -l /mnt/live/memory/images | awk '{if ($1 != "total") print $9,":",$6,$7,$8}'|head -n 3
: 2020-04-04 22:28 000-kernel.xzm
: 2022-12-11 09:47 001-core.xzm
: 2022-12-11 09:50 002-xorg.xzm
In my case, $9 seems to be empty.
Using Palera1n on porteus
Posted: 24 Jan 2023, 21:29
by Ed_P
What does ls -l /mnt/live/memory/images show you?
This is what I get:
syssnapshot's ls -l /mnt/live/memory/images | awk '{if ($1 != "total") print $9,":",$6,$7,$8}'
Code: Select all
~# ls -l /mnt/live/memory/images
000-kernel.xzm : Jul 2 2022
001-core.xzm : Dec 11 03:47
002-xorg.xzm : Dec 11 03:50
002-xtra.xzm : Dec 11 01:13
003-cinnamon.xzm : Sep 25 01:21
011-slapt-get-0.11.6-x86_64-2gv.xzm : Oct 29 13:51
07-printing-x86_64-2022-08-06.xzm : Aug 6 07:54
Dellautonet.xzm : Oct 22 01:14
Dellsound.xzm : May 14 2022
Dellwifi2.xzm : Jul 30 00:31
GETMODtweaks.xzm : Jan 20 02:16
firefox-94.0.2-x86_64-en-US.xzm : Nov 24 2021
mychanges.xzm : Jan 20 16:22
Code: Select all
guest@porteus:~$ ls -l /mnt/live/memory/images
total 0
drwxr-xr-x 5 root root 61 Jul 2 2022 000-kernel.xzm/
drwxr-xr-x 20 root root 305 Dec 11 03:47 001-core.xzm/
drwxr-xr-x 10 root root 154 Dec 11 03:50 002-xorg.xzm/
drwxr-xr-x 6 root root 72 Dec 11 01:13 002-xtra.xzm/
drwxr-xr-x 10 root root 129 Sep 25 01:21 003-cinnamon.xzm/
drwxr-xr-x 6 root root 60 Oct 29 13:51 011-slapt-get-0.11.6-x86_64-2gv.xzm/
drwxr-xr-x 7 root root 94 Aug 6 07:54 07-printing-x86_64-2022-08-06.xzm/
drwxr-xr-x 4 root root 37 Oct 22 01:14 Dellautonet.xzm/
drwxr-xr-x 3 root root 26 May 14 2022 Dellsound.xzm/
drwxr-xr-x 3 root root 26 Jul 30 00:31 Dellwifi2.xzm/
drwxr-xr-x 4 root root 37 Jan 20 02:16 GETMODtweaks.xzm/
drwxr-xr-x 4 root root 37 Nov 24 2021 firefox-94.0.2-x86_64-en-US.xzm/
drwxr-xr-x 8 root root 95 Jan 20 16:22 mychanges.xzm/
guest@porteus:~$
Using Palera1n on porteus
Posted: 24 Jan 2023, 21:41
by Rava
what does your echo $LS_OPTIONS report?
It seems to be a difference in maybe locale. I have lang=de set, therefore I have a different way date/time is displayed.
You get this:
Code: Select all
drwxr-xr-x 20 root root 305 Dec 11 03:47 001-core.xzm/
and I get his:
Code: Select all
root@porteus:/mnt/live/memory/images# ls -ld 001-core.xzm
drwxr-xr-x 20 root root 305 2022-12-11 09:47 001-core.xzm
Seems my standard is set to --time-style=long-iso it seems because my output is the same as this:
Code: Select all
root@porteus:/mnt/live/memory/images# /bin/ls -ld --color=auto --time-style=long-iso 001-core.xzm
drwxr-xr-x 20 root root 305 2022-12-11 09:47 001-core.xzm
Another reason why ls should not be used as input for its data output manipulation in scripts due to the unpredictability of local settings when a script is run on different systems.
Using Palera1n on porteus
Posted: 24 Jan 2023, 22:22
by Ed_P
Rava wrote: ↑24 Jan 2023, 21:41
what does your echo $LS_OPTIONS report?
Code: Select all
guest@porteus:~$ echo $LS_OPTIONS
-F -b -T 0 --color=auto
guest@porteus:~$
Rava wrote: ↑24 Jan 2023, 21:41
Another reason why ls should not be used as input for its data output manipulation in scripts due to the unpredictability of local settings when a script is run on different systems.
And another reason why some users should not be customizing all their settings.
Where does one customize one's LS_OPTIONS? I'm not a fan of the --color=auto option and I don't see it in Nemo's Edit>Preferences window.
Using Palera1n on porteus
Posted: 25 Jan 2023, 01:01
by Rava
Ed_P wrote: ↑24 Jan 2023, 22:22
Where does one customize one's LS_OPTIONS?
I would customize any such global settings in /etc/rc.d/rc.local.
When it should be only for a certain user, use that user's ~/.bashrc
I use the ~/.bashrc of root and guest to load my personal aliases and functions into each bash via a simple
at its end.
Of course any such file like my /usr/local/bin/aliasset should contain no errors that would bother the shell.
Therefore when editing it, I always first load it into one shell manually with the same command as in [
code
] and then test the new function or alias to make sure all is well.
Using Palera1n on porteus
Posted: 25 Jan 2023, 02:33
by Ed_P
Rava wrote: ↑25 Jan 2023, 01:01
I would customize any such global settings in /etc/rc.d/rc.local.
I like that option.
So what command sets the nemo color default option?