Author Topic: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files  (Read 28393 times)

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Device: iPhone 3G on whited00r 6.

Using iTools I copied some *apps*.deb files to /var/root/Media/Cydia/AutoInstall (Cydia in the image below) and rebooted but no joy, they did not autoinstall so I guess it's disabled by default in WD 6.

In WD 5.2.1 one could run Terminal and use ./Configurator to enable/disable the Cydia Autoinstall feature but I could not find that choice in the new WD 6 setup tool.



So anybody knows which command line to use in Terminal to enable the Cydia Autoinstall feature in WD 6 or a Daemon that may be edited or copied to the phone?
---------------------

Edit Solved: Thanks to bcooperizcool's replies below the solution is (see image below):

1- Using an iPhone explorer like iTools or iFunBox on your computer (or iFile on the phone for example), copy the file com.saurik.Cydia.Startup.plist from /private/var/mobile/Resources/ (or use the one I attached to this message) to /System/Library/LaunchDaemons

2- Restart the device.

Et voilą!

Now you can copy some apps*.deb or other *.deb files to /var/root/Media/Cydia/AutoInstall and after rebooting they will automatically install. To uninstall them, go to Home > App Market > swipe to Cydia > Manage > Packages > and uninstall the unwanted one(s).

But....
Any time you use the setup script it disables it.

So you have to do it again every time.  :-\  Might as well copy the deb to /var/mobile/Downloads with iTools or iFunbox or similar free iphone explorer and use iFile (free in Cydia, hit Later when asked for a license) on the phone to install it.

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: WD 6: How To Enable Cydia Autoinstall?
« Reply #1 on: December 13, 2012, 01:41:25 AM »
I *think* it is located in /private/var/mobile/Resources/com.saurik.Cydia.Startup.plist
I don't know the permissions you need to give it off the top of my head though :/ 

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Re: WD 6: How To Enable Cydia Autoinstall?
« Reply #2 on: December 13, 2012, 02:02:30 AM »
I *think* it is located in /private/var/mobile/Resources/com.saurik.Cydia.Startup.plist
I don't know the permissions you need to give it off the top of my head though :/
Thank you for the quick reply.

Using the built-in plist editor of iTools (by simple double-click) I can see this, seems that it's enabled:

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.saurik.Cydia.Startup</string>
    <key>Program</key>
    <string>/usr/libexec/cydia/startup</string>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: WD 6: How To Enable Cydia Autoinstall?
« Reply #3 on: December 13, 2012, 02:05:57 AM »
you need to move that file to /System/Library/LaunchDaemons ;)

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Re: WD 6: How To Enable Cydia Autoinstall - Solved
« Reply #4 on: December 13, 2012, 03:17:47 AM »
you need to move that file to /System/Library/LaunchDaemons ;)
Thank you that did it after copying com.saurik.Cydia.Startup.plist to /System/Library/LaunchDaemons and rebooting. That folder is empty on WD 6 stock BTW.

It should be added to the Tutorial - Post Installation: http://www.whited00r.com/post-installation.php IMO.

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: WD 6: How To Enable Cydia Autoinstall?
« Reply #5 on: December 13, 2012, 03:28:26 AM »
The folder is empty? D: it shouldn't be empty :(

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Re: WD 6: Empty /System/Library/LaunchDaemons?
« Reply #6 on: December 13, 2012, 03:45:52 AM »
The folder is empty? D: it shouldn't be empty :(
Maybe it's because I disabled some WD 6 features using the new WD 6 setup tool before I checked the folder  /System/Library/LaunchDaemons?

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #7 on: December 13, 2012, 04:48:56 PM »
hmmm it should be /System/Library/LaunchDaemons, not /Library/LaunchDaemons

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #8 on: December 13, 2012, 06:09:10 PM »
hmmm it should be /System/Library/LaunchDaemons, not /Library/LaunchDaemons
Thanks, I corrected the screen capture.

Offline PrplHaz4

  • New Member
  • *
  • Posts: 1
    • View Profile
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #9 on: December 14, 2012, 12:47:11 AM »
Thanks for posting this...I was puzzled as to why it wasn't working.  For some reason, it seems to have reset after rebooting (ie, the autoinstall worked fine, then after a few more reboots, it was no longer there)....any ideas? (in the meantime I will try to reproduce the issue...

Offline Bruan

  • Feature Developer
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 13082
  • Country: 00
  • Methuselah
    • View Profile
    • Bruan_WD Twitter
  • Device: iPhone 3G
  • My Computer: Linux
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #10 on: December 14, 2012, 12:51:00 AM »
Any time you use the setup script it disables it.

Offline benben19950723

  • Hero Member
  • ****
  • Posts: 386
  • Country: my
  • Using an Apple iPhone 5
    • View Profile
    • Answers? Here.
  • Device: iPod Touch 2G
  • My Computer: Mac
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #11 on: December 14, 2012, 05:26:33 AM »
Either you use the Cydia AutoInstall to install deb files or you install them with iFile.  ::)

Whited00r, your iDevice's reason to live.

Offline tyrell123

  • Member
  • **
  • Posts: 22
  • Whited00r User
    • View Profile
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #12 on: December 23, 2012, 12:18:47 AM »
not working :( mxtube doesn't show up in the springboard

Offline PierreP

  • WD FAQ Maker
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2027
  • Country: cr
  • Everything is Relative
    • View Profile
  • Device: iPhone 3G
  • My Computer: Windows
Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
« Reply #13 on: December 23, 2012, 02:14:46 AM »
Any time you use the setup script it disables it.

But in WD 5.2.1 it was permanently working if enabled with Configurator. How to do the same in WD 6 since there is no such switch in setup tool?