Whited00r Forum

Development - iOS Custom Firmware => Whited00r Development - New Apps & Features => Topic started by: iTechy21 on April 01, 2014, 05:22:21 PM

Title: iTechy21's Whited00r modules -Now out of Beta!-
Post by: iTechy21 on April 01, 2014, 05:22:21 PM
These are my modules and command line tools (CLT) that need testing at this moment in time... .My modules are found under the advanced configuration in a new beta modules tab. Also you can suggest ideas for consideration :) .
My command line tools are for either team members and users that know how to use terminal as normal users shouldn't really use these as they are in early beta...
I will not be held responsible if any adverse effects occur to your device. But nothing should happen :P
. Beta modules will be marked with a green colour and finished modules will be marked with a blue colour of which the blue colour modules should eventually ( :P ) appear on repod00r.com (http://repod00r.com)

Module one - Retina remover
This module removes all retina images. This in theory should save some space :)
Downloads on my Cydia Repository
Beta Completion
100%%
-Complete

Screenshots
(http://i1235.photobucket.com/albums/ff427/tecguy214/b87b0f7e-f136-4211-aaa0-1578e1142fce.png) (http://s1235.photobucket.com/user/tecguy214/media/b87b0f7e-f136-4211-aaa0-1578e1142fce.png.html)(http://i1235.photobucket.com/albums/ff427/tecguy214/93df08e8-433d-4477-86db-3ebc7e17b3a5.png) (http://s1235.photobucket.com/user/tecguy214/media/93df08e8-433d-4477-86db-3ebc7e17b3a5.png.html)

Module two: iDevice info
This package will be up on the whited00r repo somewhen in the near future sit tight!
This package scans you whited00r settings, installed dylibs and cydia packages to help diagnose issues with whited00r :) BUT DOES NOT GRAB CRASH REPORTS!!!
Beta Complete
100%
- Complete

Module: Crash Daemon Enabler
Enables the Syslogd daemon + 2 other crash report related daemons which allows users to grab crash reports via the two Cydia packages: crash reporter and Syslogd to /var/logs to help with the debugging of whited00r. To get crash reports you need: crash reporter and Syslogd to /var/logs
Beta Completion
100%
- Complete

Installation
Add http://repo.itechy21.com to your cydia sources to get all my packages. DOWN ATMIT

All rights reserved to me :P
And Brian for his debug script (which I changed a little bit)

Thanks to Brain for all his help :) and revivaldev as well as BlackR4in you guys are amazing :D for helping me develop these tweaks as I am such as n00b to this ;) . But as you know I am getting better... Slowly. Now that these are stable Im hoping to get them into the whited00r Repo as well
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: BlackR4in on April 06, 2014, 06:07:30 PM
why creating a database?
it's useless until he using a sbalert to show users how much space they got ..
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on April 10, 2014, 02:13:01 PM
why creating a database?
it's useless until he using a sbalert to show users how much space they got ..
Kinda...
It's used to show how many images where deleted :P but I may put that into it as well. When I find out how... (Googling it as I type this)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: Bruan on April 10, 2014, 09:52:15 PM
why creating a database?
it's useless until he using a sbalert to show users how much space they got ..

Could be for expansion down the road, if he does that instead of using the find command (which is the other tool good for doing this).
I may send him some refined code, which would be better for what he is doing ;)

Anyway, if he does more cleaning things, using the locate command can be faster than the find command, as he won't need to loop through the whole file system each time but rather the database it builds once.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on April 19, 2014, 11:26:07 PM
retina remover always scan every "apply changes" even it is disabled.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on April 20, 2014, 10:49:39 AM
retina remover always scan every "apply changes" even it is disabled.
I know :) I got a fix and it is now pushed out :D
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on April 21, 2014, 12:53:10 AM
thanks
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on May 14, 2014, 05:05:27 PM
New repo url and it is my own. No myrepospace. Just the use of a program called Source maker
Source Link: http://repo-itechy21.site88.net/
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: [email protected] on May 22, 2014, 07:51:19 AM
New repo url and it is my own. No myrepospace. Just the use of a program called Source maker
Source Link: http://repo-itechy21.site88.net/
Cool! 8) this will help in catching some bugs.....
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 13, 2014, 05:36:17 PM
New URL http://cydia-itechy21.tk
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 22, 2014, 02:59:29 AM
debuger is not working for me...
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 22, 2014, 12:56:16 PM
debuger is not working for me...
I an currently looking into it...
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 22, 2014, 01:10:28 PM
I an currently looking into it...

it says copied to clipboard...... but actually not
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 22, 2014, 01:16:43 PM
it says copied to clipboard...... but actually not
could you check to see if there is a file in /var/mobile/whitrd00r and there should be a txt file.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: Bruan on June 22, 2014, 11:25:34 PM
Specifically a text file with something in it ;)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 22, 2014, 11:27:25 PM
could you check to see if there is a file in /var/mobile/whitrd00r and there should be a txt file.

nothing.....
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: Bruan on June 22, 2014, 11:33:34 PM
@itechy21 did you modify the script on a windows machine, on on a mac with the default text editor? (Not XCode's editor, the notepad thing, I can't remember what it is called :P )
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 23, 2014, 08:42:03 AM
@itechy21 did you modify the script on a windows machine, on on a mac with the default text editor? (Not XCode's editor, the notepad thing, I can't remember what it is called :P )
It's now fixed. I changed the name of the folder the module is stored in and all I had to do was change the path to match the folder name.
It's been updated on my repo so feel free to download.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 23, 2014, 10:07:44 AM
It's now fixed. I changed the name of the folder the module is stored in and all I had to do was change the path to match the folder name.
It's been updates on my repo so feel free to download.

thanks .. I will try
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 28, 2014, 11:00:27 AM
still not working sir
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 29, 2014, 05:58:32 AM
still not working sir
Could you check and make sure you have Ericicas utilities installed in cydia. And that the copy / paste deamon is enabled.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 29, 2014, 10:58:41 AM
Could you check and make sure you have Ericicas utilities installed in cydia. And that the copy / paste deamon is enabled.

Did you mean Ericas utilities? Yes.... and copy paste is on.... It doesnt work in my both iDevices,,, my iPhone 3G and iPod Touch 1G
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on June 29, 2014, 01:45:23 PM
Did you mean Ericas utilities? Yes.... and copy paste is on.... It doesnt work in my both iDevices,,, my iPhone 3G and iPod Touch 1G
Could you try reinstalling it? As I have literally no idea what would be causing this bug  :'(
And is it creating a .txt file where I said above? or does that still not exist...
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on June 30, 2014, 12:17:33 AM
Could you try reinstalling it? As I have literally no idea what would be causing this bug  :'(
And is it creating a .txt file where I said above? or does that still not exist...

I've reinstalled it several time in my both devices..... still doesn't work..... in my ipod1g it say copied to clipboard but its not...... in my iphone 3g doesnt say copied ..... just no reaction at all
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on July 01, 2014, 02:08:56 PM
I've reinstalled it several time in my both devices..... still doesn't work..... in my ipod1g it say copied to clipboard but its not...... in my iphone 3g doesnt say copied ..... just no reaction at all
Could you create a text file in /var/mobile/whited00r and call it debug.txt and see if that works.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on July 07, 2014, 07:35:42 AM
pushed and update out for device info. Sorry for it taking so long I haven’t had a lot of time... This update SHOULD fix your issue PHJAyvee1g
Wait sorry the update just broke it  :-\ I am working on a fix...
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on July 07, 2014, 10:45:19 AM
Wait sorry the update just broke it  :-\ I am working on a fix...

yes its still do nothing
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on July 08, 2014, 06:09:34 AM
yes its still do nothing
I think I got the cause. I have pushed an update to my repo which will fix this bug.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on July 08, 2014, 01:14:29 PM
yes!! finally :D it works again...
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on July 08, 2014, 07:51:15 PM
yes!! finally :D it works again...
Glad I fixed it :) turns out it was a few syntax errors (basically invalid code :-x )
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: PHJayvee1G on July 08, 2014, 11:45:39 PM
Glad I fixed it :) turns out it was a few syntax errors (basically invalid code :-x )

Thanks.... It can Help a lot.... :)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: nyel08 on August 05, 2014, 02:33:22 PM
no package available... this is the repo right?? http://cydia-itechy21.tk/
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: nyel08 on August 05, 2014, 02:49:50 PM
opppsss.. problem solved... i readd ur repo and it fix the issue.. :)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on August 05, 2014, 04:11:23 PM
I was about to suggest that :P its all there ready to download. I hope you enjoy my packages :)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: nyel08 on August 05, 2014, 06:42:17 PM
Itechy help.. I dont know why. But I downloaded your retina remover at first it is okay.. I also turned on the "mover" in whited00r settings and then when I turned them off my phone stacks up at wd logo.. then a few minutes later my phone rebooted and now stacks up at the iphone logo and not continuing to the springboard. ::) help me ::)
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on August 06, 2014, 10:45:01 AM
Itechy help.. I dont know why. But I downloaded your retina remover at first it is okay.. I also turned on the "mover" in whited00r settings and then when I turned them off my phone stacks up at wd logo.. then a few minutes later my phone rebooted and now stacks up at the iphone logo and not continuing to the springboard. ::) help me ::)
It should turn off automatically once ran. And to run it you need to press apply changes rather than turning the device off. Also what device is this on?
But the most important question is when you installed whited00r did you restore from a backup?
As for the mover options they are not related to me but Bruan instead.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: nyel08 on August 06, 2014, 02:09:52 PM
Nope I didnt switch it off... I just applied changes.. but my phone stacked up.. anyway, I ve already reset my phone.. im using iphone 3g
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: iTechy21 on August 06, 2014, 03:23:32 PM
Nope I didnt switch it off... I just applied changes.. but my phone stacked up.. anyway, I ve already reset my phone.. im using iphone 3g
And what do you mean by "stacked up". The device crashed or turned off and then wouldn't turn on again? And what mover options did you enable as that may be why your device needed to be restored.
Title: Re: iTechy21's Whited00r beta modules -Back up now-
Post by: nyel08 on August 06, 2014, 03:40:02 PM
The "mover" settings in whited00r setting
Title: Re: iTechy21's Whited00r modules -Now out of Beta!-
Post by: iTechy21 on April 18, 2015, 08:57:18 AM
Updated repo url: repo.itechy21.com
New stable updates about to roll out in the next few days. Please be patient...
Title: Re: iTechy21's Whited00r modules -Now out of Beta!-
Post by: mrlithium on April 22, 2015, 02:38:46 PM
It wasnt working automatically for me. just grabbed it today (the 21st) from your repo - com.itechy21.deviceinfo
Update: It was my own fault. I restored a backup from itunes and it seems that this broke something. The configurator complains about it when I apply settings, and never gets to the part where it runs your mods. On a fresh install, both the debug and the retinaremover work (giving the popup messages). Thanks. Maybe this post will help someone else who also "restored" - against good advice not to :)

When running the script manually, this happens (also tested on a fresh install):

Acers-iPhone:/var/mobile/Library/Configurator/com.itechy21.deviceinfo root# ./configurator
./configurator: line 13: syntax error near unexpected token `elif'
./configurator: line 13: `elif [[ "$key" == "info" && "$value" == "disable" ]];'

I was smart enough to modify it just enough to remove that whole last elif clause (since the first part does all the real work) and then ran it manually by "./configurator info enable", and it 1) successfully wrote the "/var/mobile/Whited00r/debug.txt" 2) said it copied to clipboard (i presume it did) and 3) disabled the toggle in the GUI configurator. When the configurator detects a "restored backup from itunes" it doesnt do those 3 things.

I got to "trick" it into thinking its a normal install and that fixes the configurator with your mods, because the popup of "warning this was restored from itunes" Is blocking the config script from continuing on to process your mods.
Update: I tracked down the file that was wrong: it was: "/private/var/mobile/Library/Preferences/com.whited00r.version.plist"
Inside that, for version 7.1.4 it should say <string> and some unique identifier. This has to match up to what the only file in the root directory of /private/var is named. The version string has to match, and remember, tons of other config files could be slightly wrong. But at least the debug mod will work. Then you can at least track down your other problems. In case anyone is curious, I made a list of all files that were changed when I did a restore. Short:  http://pastebin.com/heRm8vrH , Long:  http://pastebin.com/17ghTkJi Keep in mind that a) /dev/ is created on boot, and b) about 20 files are modified on boot/login as listed here: ( http://archive.oreilly.com/pub/a/iphone/excerpts/iphone-forensics/disclosures-sourcecode.html ) C) the "Itunes restore backup" only seems to want to change "/private/var/mobile" so that has to match other locations (for example "/private/var/stash/Applications" (your system list of applications doesnt get restored) but "/private/var/mobile/Applications" (your user list of applications) does. I'm not an expert and this post is too short to go into the details, and please dont message me, I'm just sharing what i gathered in a couple of days. 


2) Unrelated but this is my main issue why i needed your debug mod: On BOTH phones (even the fresh install), i've narrowed down a crash to "libactivator" (version  1.9.2 ) that 100% crashes my springboard everytime a volume button is pressed.
Title: Re: iTechy21's Whited00r modules -Now out of Beta!-
Post by: iTechy21 on April 25, 2015, 08:28:31 PM
It wasnt working automatically for me. just grabbed it today (the 21st) from your repo - com.itechy21.deviceinfo
Update: It was my own fault. I restored a backup from itunes and it seems that this broke something. The configurator complains about it when I apply settings, and never gets to the part where it runs your mods. On a fresh install, both the debug and the retinaremover work (giving the popup messages). Thanks. Maybe this post will help someone else who also "restored" - against good advice not to :)

When running the script manually, this happens (also tested on a fresh install):

Acers-iPhone:/var/mobile/Library/Configurator/com.itechy21.deviceinfo root# ./configurator
./configurator: line 13: syntax error near unexpected token `elif'
./configurator: line 13: `elif [[ "$key" == "info" && "$value" == "disable" ]];'

I was smart enough to modify it just enough to remove that whole last elif clause (since the first part does all the real work) and then ran it manually by "./configurator info enable", and it 1) successfully wrote the "/var/mobile/Whited00r/debug.txt" 2) said it copied to clipboard (i presume it did) and 3) disabled the toggle in the GUI configurator. When the configurator detects a "restored backup from itunes" it doesnt do those 3 things.

I got to "trick" it into thinking its a normal install and that fixes the configurator with your mods, because the popup of "warning this was restored from itunes" Is blocking the config script from continuing on to process your mods.
Update: I tracked down the file that was wrong: it was: "/private/var/mobile/Library/Preferences/com.whited00r.version.plist"
Inside that, for version 7.1.4 it should say <string> and some unique identifier. This has to match up to what the only file in the root directory of /private/var is named. The version string has to match, and remember, tons of other config files could be slightly wrong. But at least the debug mod will work. Then you can at least track down your other problems. In case anyone is curious, I made a list of all files that were changed when I did a restore. Short:  http://pastebin.com/heRm8vrH , Long:  http://pastebin.com/17ghTkJi Keep in mind that a) /dev/ is created on boot, and b) about 20 files are modified on boot/login as listed here: ( http://archive.oreilly.com/pub/a/iphone/excerpts/iphone-forensics/disclosures-sourcecode.html ) C) the "Itunes restore backup" only seems to want to change "/private/var/mobile" so that has to match other locations (for example "/private/var/stash/Applications" (your system list of applications doesnt get restored) but "/private/var/mobile/Applications" (your user list of applications) does. I'm not an expert and this post is too short to go into the details, and please dont message me, I'm just sharing what i gathered in a couple of days. 


2) Unrelated but this is my main issue why i needed your debug mod: On BOTH phones (even the fresh install), i've narrowed down a crash to "libactivator" (version  1.9.2 ) that 100% crashes my springboard everytime a volume button is pressed.
Wow...
Really the main reason as why these shouldn't be ran on there own is because it runs off the modules API (the $1 and $2 arguments are built in commands for the API itself).
Thanks for the research as to what changes when you restore from a backup. We can use this to make sure nobody else does ;) and improve current methods to detect this...
Title: Re: iTechy21's Whited00r modules -Now out of Beta!-
Post by: Bruan on July 12, 2015, 06:16:45 AM
Configurator developer here (and most other things program wise in whited00r).
The popup that says you restored from a backup is more of a failsafe to prevent regular users from changing settings in the configurator that could potentially break things on the actual device and cause need for a restore. This could happen between two versions of whited00r where a preference file has changed the value for it or something like that, and it now runs different code based on it and should be enabled or disabled by default.  By not running any code on a device that has restored from a backup, we prevent anything bad happening file system modification wise.

Just generally, restoring from a backup on a jailbroken device is not a good idea and introduces tons of bugs into the system that we simply cannot account for.  Sadly we can only detect the restoring from a backup if it is a restore from a previous whited00r 7.x (and onwards) version.

I think anyone who can get it working on a restore on their own understands the device enough to know the risks ;)  It isn't a thing designed to deter people who can disable it, but more just to make sure regular users who would post here asking for help when something goes wrong on a device that has been restored from a backup get a warning telling them about it.  It is very hard and a waste of time to debug issues on devices that have not been cleanly restored.

So, to anyone else who follows the above, keep in mind we will not provide troubleshooting support to you until you do a clean restore!