[Plugin Tiers] Plugin Jailbreak

Et je rappelle que tester une action de type info ne lance pas la commande, ça ne fait qu’afficher la dernière valeur en date. Qui est mise à jour via le plugin.
Alors qu’un info de type action lance bien la commande.

J’ai renvoyé une modif en stable.

maj effectuée, je dois faire quelque chose en plus ?

Attends le cron (11h35) ou lance manuellement et regarde le log.

j’ai l’impression que seul le log Jailbreak et Jailbreak_update sont à jour.

Les autres, ont conservé le nom de l’ancien objet « iPad 4 Cuisine »
alors que mon objet actuel s’appelle « iPad test »

[2020-10-07 11:29:16][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=Jailbreak function=pre_update callInstallFunction=1
[2020-10-07 11:29:18][INFO] : Début d'activation du plugin
[2020-10-07 11:29:19][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2020-10-07 11:29:20][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=Jailbreak function=update callInstallFunction=1
[2020-10-07 11:29:56][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-07 11:29:56][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-07 11:29:56][INFO] : Durée du traitement d'envoi de commande : 0.524s
[2020-10-07 11:29:56][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile org.tihmstar.h3lix: h3lix net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud  
[2020-10-07 11:29:56][INFO] : Durée du traitement d'envoi de commande : 0.516s
[2020-10-07 11:29:56][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile org.tihmstar.h3lix: h3lix net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud  

contenu log « Jailbreak_ipad-4-cuisine_cron » :

[2020-06-06 00:13:11][DEBUG] : mv /var/root/jailed/update_github/install-apt.sh /var/root/jailed/install-apt.sh
[2020-08-27 00:10:06][DEBUG] : mv /var/root/jailed/update_github/activator_send.sh /var/root/jailed/activator_send.sh
[2020-08-27 00:10:06][DEBUG] : mv /var/root/jailed/update_github/current_page.sh /var/root/jailed/current_page.sh
[2020-08-27 00:10:07][DEBUG] : mv /var/root/jailed/update_github/install-apt.sh /var/root/jailed/install-apt.sh

Normal, pour les autres il faut les extraire manuellement depuis le menu Installation.

C’est la dernière ligne du log Jailbreak ?
Il n’y a rien à 11h35 ?

non j’ai rien, alors que j’ai relancé manuellement le cron à 11h34

Là, je sèche.

Tu pourrais m’ouvrir un accès à ton Jeedom ce soir ?

pas de problème :wink:

1 « J'aime »

Salut Flubol.
Je confirme que je n’entends rien. Existe t’il une solution pour le paquet playcli ?

Juste pour être sûr, tu as le log qui affiche toujours « null - null » ?

Tu as respring depuis l’installation du paquet playcli ?

Il y a une version 1.0.2 de playcli que je peux compiler.
Peut-être qu’elle apportera des améliorations.

Edit : Je l’ai compilé et mis sur mon repo.
Pour l’installer :

  • via Cydia, supprime playcli et installe celui de mon repo.
  • en SSH ou à mettre dans une commande action (défaut) : apt-get update && dpkg -r com.hackyouriphone.playcli && apt-get install com.artikus.playcli
  • sinon je l’inclus dans la prochaine beta.

Merci, @Julienfr38.
Le problème a été ciblé.

Je viens d’envoyer en stable un retour des dernières modifications que j’avais retirées. (principalement debug et améliorations)
(pas à faire chez toi, @Julienfr38)

PlayCLI v1.0.0 désinstallé via CYDIA.

Par SSH, message d’erreur lors de l’installation.
iPad-de-***:~ root# apt-get update && dpkg -r com.hackyouriphone.playcli && a pt-get install com.artikus.playcli
Ign:1 rpetri.ch repo ./ InRelease
Ign:2 http://cydia.zodttd.com/repo/cydia stable InRelease
Ign:3 Flobul ./ InRelease
Ign:4 udevs ./ InRelease
Hit:5 http://cydia.zodttd.com/repo/cydia stable Release
Hit:6 rpetri.ch repo ./ Release
Ign:7 https://repo.dynastic.co ./ InRelease
Get:8 http://cydia.zodttd.com/repo/cydia stable Release.gpg [181 B]
Ign:9 https://repo.chariz.com ./ InRelease
Ign:10 https://apt.xninja.xyz ./ InRelease
Get:11 https://repo.dynastic.co ./ Release [214 B]
Ign:12 rpetri.ch repo ./ Release.gpg
Get:13 udevs ./ Release [150 B]
Ign:14 http://repo.hackyouriphone.org ./ InRelease
Hit:15 https://repo.chariz.com ./ Release
Ign:16 http://apt.modmyi.com stable InRelease
Get:17 Flobul ./ Release [176 B]
Ign:18 https://repo.dynastic.co ./ Release.gpg
Hit:19 http://apt.modmyi.com stable Release
Get:20 https://repo.chariz.com ./ Release.gpg [833 B]
Hit:21 https://apt.xninja.xyz ./ Release
Hit:22 http://repo.hackyouriphone.org ./ Release
Get:23 http://apt.modmyi.com stable Release.gpg [181 B]
Ign:24 Flobul ./ Release.gpg
Ign:25 https://repo.dynastic.co ./ Packages
Ign:26 https://apt.xninja.xyz ./ Release.gpg
Ign:27 Flobul ./ Packages
Ign:28 udevs ./ Release.gpg
Ign:29 http://repo.hackyouriphone.org ./ Release.gpg
Ign:30 http://apt.thebigboss.org/repofiles/cydia stable InRelease
Ign:31 udevs ./ Packages
Ign:32 https://apt.xninja.xyz ./ Packages
Get:31 udevs ./ Packages [16.3 kB]
Get:25 https://repo.dynastic.co ./ Packages [28.8 kB]
Ign:33 http://repo.hackyouriphone.org ./ Packages
Ign:32 https://apt.xninja.xyz ./ Packages
Get:27 Flobul ./ Packages [1999 B]
Ign:32 https://apt.xninja.xyz ./ Packages
Get:33 http://repo.hackyouriphone.org ./ Packages [1453 kB]
Get:32 https://apt.xninja.xyz ./ Packages [5951 B]
Get:34 https://apt.bingner.com ./ InRelease [701 B]
Hit:35 http://apt.thebigboss.org/repofiles/cydia stable Release
Get:36 http://apt.thebigboss.org/repofiles/cydia stable Release.gpg [181 B]
Fetched 1508 kB in 4s (364 kB/s)
Reading package lists… Done
dpkg: error: dpkg frontend lock is locked by another process

Sinon via CYDIA on peut installer PlayCLI v1.0.2.
J’ai un message d’erreur lors de l’installation.
"Sub-process/usr/libexec/cydia/cydo returned an error code (2)

J’espère ne pas devoir rejailbreaker l’iPad.

En instance j’ai ça en SSH:
iPad-de-***:~ root# ps aux | grep -i apt
root 20234 0.0 1.0 4297424 42064 ?? S 7:21PM 0:00.50 apt-get install com.artikus.playcli
root 19862 0.0 0.2 4218416 6640 ?? Ss 7:21PM 0:00.02 sh -c apt-get update && dpkg -r com.hackyouriphone.playcli && apt-g et install com.artikus.playcli ; echo $?
_captiveagent 1551 0.0 0.2 4220608 6992 ?? Ss 29Sep20 0:00.03 /usr/libexec/captiveagent
root 23083 0.0 0.1 4217024 5520 s000 R+ 7:39PM 0:00.01 grep -i apt

2 instances d’apt = erreur. Soit en ligne de commanfe soit cydia.
Retente via plugin.

Ca c’est rejailbreak prochainement, à première vue. :confused:

Je pense aussi :stuck_out_tongue:
Faut-il faire quelque chose de spécifique avant de rejailbreak ? ou bien je relance la procédure du jailbreak comme pour la première fois ?

Rien de particulier.
Rejailbreak classique. (Unc0ver ? Checkr1an ?)

Unc0ver via Altstore, avec windows
Je n’ai rien à supprimer avant de re-jailbreak donc. Allez c’est parti, espérons que ton paquet PlayCLI règle le soucis :slight_smile:
A tout à l’heure haha

Les repertoires ne sont pas effacées.
Uniquement en cas de restauration.

Résultat.
Pas de changement, même avec le paquet PlayCLI en version 1.0.2
J’y croyais vraiment :frowning:

Premier test avec la commande PlayURL et ta commande fichier test (pas de son)
[2020-10-08 21:41:15][DEBUG] : Lancement action perso wget -O /var/root/jailed/songs/test.mp3 https://github.com/Flobul/Jailbreak/raw/master/sncf.mp3 --no-check-certificate && playcli « /var/root/jailed/songs/test.mp3 » ; echo $? : iPad RdC
[2020-10-08 21:41:15][DEBUG] : Valeur de retour action : 9986 : 0
[2020-10-08 21:41:15][DEBUG] : TYPE action 9986 avec option : Array

Second test avec la commande PlayURL et un fichier déposé dans l’iPAd (pas de son)
[2020-10-08 21:43:08][DEBUG] : Lancement action urlplaylien wget « Ceci est un test de message pour la commande PlayURL » -O /var/root/jailed/songs/Ceci est un test de message pour la commande PlayURL && playcli « /var/root/jailed/songs/Ceci est un test de message pour la commande PlayURL »; echo $?
[2020-10-08 21:43:08][DEBUG] : Lancement action urlplay iPad RdC
[2020-10-08 21:43:08][DEBUG] : Valeur de retour action urlplay : 4
[2020-10-08 21:43:08][DEBUG] : TYPE action urlplay avec option : Array

Troisième test avec la commande Play et un fichier déposé dans l’iPad (pas de son)
[2020-10-08 21:48:23][DEBUG] : Lancement action playlien /var/root/jailed/songs/test.mp3
[2020-10-08 21:48:23][DEBUG] : Lancement action play iPad RdC
[2020-10-08 21:48:23][DEBUG] : Valeur de retour action play : 0
[2020-10-08 21:48:23][DEBUG] : TYPE action play avec option :

Après re-jailbreak je n’ai pas renvoyé les scripts et paquets (les autres commandes fonctionnaient encore, dont le TTS)
Jeedom en mode stable
Paquet Activator sur l’iPad 1.9.13

Une autre piste Flobul ?