Whited00r Forum

Support - Whited00r Custom iOS for iPhone 2G, 3G & iPod Touch 1G & 2G => Troubleshooting - iPhone & iPod Touch 1G/2G/3G, Unlock & Jailbreak Problems & Issues => Topic started by: PierreP on December 13, 2012, 01:34:48 AM

Title: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: PierreP on December 13, 2012, 01:34:48 AM
Device: iPhone 3G on whited00r 6.

Using iTools (http://www.whited00r.com/forum/index.php?topic=6899.msg67222#msg67222) 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 (http://www.whited00r.com/post-installation.php).

(http://www.whited00r.com/images/whited00r/terminal.jpg)

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 (http://www.whited00r.com/forum/index.php?topic=6844.msg67171#msg67171) or iFunbox (http://www.i-funbox.com/) or similar free iphone explorer and use iFile (free in Cydia, hit Later when asked for a license) on the phone to install it.
Title: Re: WD 6: How To Enable Cydia Autoinstall?
Post by: Bruan 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 :/ 
Title: Re: WD 6: How To Enable Cydia Autoinstall?
Post by: PierreP 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>
Title: Re: WD 6: How To Enable Cydia Autoinstall?
Post by: Bruan on December 13, 2012, 02:05:57 AM
you need to move that file to /System/Library/LaunchDaemons ;)
Title: Re: WD 6: How To Enable Cydia Autoinstall - Solved
Post by: PierreP 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.
Title: Re: WD 6: How To Enable Cydia Autoinstall?
Post by: Bruan on December 13, 2012, 03:28:26 AM
The folder is empty? D: it shouldn't be empty :(
Title: Re: WD 6: Empty /System/Library/LaunchDaemons?
Post by: PierreP 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 (http://www.whited00r.com/post-installation.php) before I checked the folder  /System/Library/LaunchDaemons?
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: Bruan on December 13, 2012, 04:48:56 PM
hmmm it should be /System/Library/LaunchDaemons, not /Library/LaunchDaemons
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: PierreP on December 13, 2012, 06:09:10 PM
hmmm it should be /System/Library/LaunchDaemons, not /Library/LaunchDaemons
Thanks, I corrected the screen capture.
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: PrplHaz4 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...
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: Bruan on December 14, 2012, 12:51:00 AM
Any time you use the setup script it disables it.
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: benben19950723 on December 14, 2012, 05:26:33 AM
Either you use the Cydia AutoInstall to install deb files or you install them with iFile.  ::)
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: tyrell123 on December 23, 2012, 12:18:47 AM
not working :( mxtube doesn't show up in the springboard
Title: Re: [Solved] WD 6: How To Enable Cydia Autoinstall Feature for deb Files
Post by: PierreP 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?